@alfadocs/ui-kit-debug 0.72.2 → 0.75.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/actions-cell-renderer-DLrcSTK_.js +1546 -0
- package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js.map +1 -0
- package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
- package/dist/_chunks/{agenda-tray-loL2A3Cx.js.map → agenda-tray-CVf-jfWU.js.map} +1 -1
- package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js.map → ai-consent-banner-DUhr1yNj.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DziJCGLe.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-TVI95hJD.js.map → ai-prompt-input-DziJCGLe.js.map} +1 -1
- package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
- package/dist/_chunks/{alia-sidebar-BV5lBSFR.js.map → alia-sidebar-w6B0TEx7.js.map} +1 -1
- package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
- package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js.map → anamnesis-card-CJ5MNbkc.js.map} +1 -1
- package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
- package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js.map → antenatal-schedule-timeline-BzJZqS-8.js.map} +1 -1
- package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
- package/dist/_chunks/{appointment-card-Cy4FOkGP.js.map → appointment-card-DgKI5QKD.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
- package/dist/_chunks/{appointment-timeline-BWAPPk8F.js.map → appointment-timeline-DQTG0btW.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
- package/dist/_chunks/{appointment-tray-D3mk04TT.js.map → appointment-tray-ezyCZN8v.js.map} +1 -1
- package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
- package/dist/_chunks/{ar-BOqyIfoY.js.map → ar-B1GhtlBP.js.map} +1 -1
- package/dist/_chunks/{columns-2-8lq4-b8e.js → arrow-up-right-C2v_MKsK.js} +5 -5
- package/dist/_chunks/arrow-up-right-C2v_MKsK.js.map +1 -0
- package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-Cc3KuL9y.js} +4 -4
- package/dist/_chunks/{audio-recorder-BbjG55dP.js.map → audio-recorder-Cc3KuL9y.js.map} +1 -1
- package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
- package/dist/_chunks/benefit-card-DB1Kdrmc.js.map +1 -0
- package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-DDW5-gb9.js} +3 -3
- package/dist/_chunks/{bishop-score-C6eoak_j.js.map → bishop-score-DDW5-gb9.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BmQfoEGP.js.map → bmi-calculator-Bk2GAju7.js.map} +1 -1
- package/dist/_chunks/{booking-B62CMY5k.js → booking-B1Qkcl3c.js} +9 -9
- package/dist/_chunks/{booking-B62CMY5k.js.map → booking-B1Qkcl3c.js.map} +1 -1
- package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
- package/dist/_chunks/button-CPGiR_bH.js.map +1 -0
- package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
- package/dist/_chunks/button-group-DzV5wgnx.js.map +1 -0
- package/dist/_chunks/camera-VSklPDCv.js +21 -0
- package/dist/_chunks/camera-VSklPDCv.js.map +1 -0
- package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-BrwhyIJI.js} +3 -3
- package/dist/_chunks/{care-plan-card-DhXbfGzE.js.map → care-plan-card-BrwhyIJI.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-DWEdCQM3.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js.map → care-plan-entry-card-DWEdCQM3.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
- package/dist/_chunks/{care-plan-header-DtQxyfOb.js.map → care-plan-header-BXvRpGG8.js.map} +1 -1
- package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
- package/dist/_chunks/{carousel.agent-j7hWxJWr.js.map → carousel.agent-CtAAdsAd.js.map} +1 -1
- package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
- package/dist/_chunks/{chat-container-BVCoN06N.js.map → chat-container-HlFnoEIl.js.map} +1 -1
- package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
- package/dist/_chunks/{chat-input-Btq_uuMZ.js.map → chat-input-BTCDqUDX.js.map} +1 -1
- package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
- package/dist/_chunks/{chat-message-DXjjM8z9.js.map → chat-message-CdjWqZjo.js.map} +1 -1
- package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
- package/dist/_chunks/{code-block-Cwi7e3HM.js.map → code-block-BwanBjRh.js.map} +1 -1
- package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
- package/dist/_chunks/{connection-status-0HajXMXM.js.map → connection-status-oEUyrvev.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
- package/dist/_chunks/{contact-profile-card-IggiUVpN.js.map → contact-profile-card-veMV3W4J.js.map} +1 -1
- package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
- package/dist/_chunks/{control-room-rail-DaGcsdZ6.js.map → control-room-rail-CdfrZ6Vr.js.map} +1 -1
- package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
- package/dist/_chunks/{copy-field-PAp0-Wr5.js.map → copy-field-DBc9QquW.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
- package/dist/_chunks/{cycle-calculator-BNILyVas.js.map → cycle-calculator-OQp8Ik5U.js.map} +1 -1
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js.map +1 -0
- package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
- package/dist/_chunks/{date-picker-CVkD_lOi.js.map → date-picker-DzQS8mvt.js.map} +1 -1
- package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
- package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js.map → date-picker-variants-CYQAm1Gk.js.map} +1 -1
- package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
- package/dist/_chunks/{date-range-picker-Dw12DgV8.js.map → date-range-picker-Cbz1SKhm.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
- package/dist/_chunks/{date-time-picker-Cd_OJtOy.js.map → date-time-picker-B5IpU-nd.js.map} +1 -1
- package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
- package/dist/_chunks/{de-DFLsUxeV.js.map → de-DETDHQ0o.js.map} +1 -1
- package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
- package/dist/_chunks/{description-list-CmBVxIF5.js.map → description-list-ClNLdRMy.js.map} +1 -1
- package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
- package/dist/_chunks/document-preview-CGSM_au9.js.map +1 -0
- package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-B6h1Ir56.js} +198 -230
- package/dist/_chunks/document-scanner-B6h1Ir56.js.map +1 -0
- package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
- package/dist/_chunks/{due-date-calculator-CmdAl_JO.js.map → due-date-calculator-DASNRgnH.js.map} +1 -1
- package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js.map → editable-currency-cell-renderer-GwfA9tTR.js.map} +1 -1
- package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
- package/dist/_chunks/{editor-overlay-BIOzr8v7.js.map → editor-overlay-DE3esyio.js.map} +1 -1
- package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
- package/dist/_chunks/{el-OVjBKytp.js.map → el-HV3jOI0z.js.map} +1 -1
- package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
- package/dist/_chunks/{empty-state-BLy7tigq.js.map → empty-state-CrLsi0XI.js.map} +1 -1
- package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
- package/dist/_chunks/{entity-summary-DpGziDv5.js.map → entity-summary--vP698Jn.js.map} +1 -1
- package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
- package/dist/_chunks/eraser-CHOGQfVv.js.map +1 -0
- package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
- package/dist/_chunks/{es-DKDNrHXG.js.map → es-Dpo7Olwo.js.map} +1 -1
- package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
- package/dist/_chunks/face-scheme-C0rk21gg.js.map +1 -0
- package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
- package/dist/_chunks/{fetal-weight-CVAH8sJ3.js.map → fetal-weight-1F9N4IMx.js.map} +1 -1
- package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
- package/dist/_chunks/{field-array-CDzc3hTM.js.map → field-array-DH3Mb1i8.js.map} +1 -1
- package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DHG6gEKS.js} +5 -5
- package/dist/_chunks/{field-value-Dj3i52H2.js.map → field-value-DHG6gEKS.js.map} +1 -1
- package/dist/_chunks/file-Cwe9VC1A.js +40 -0
- package/dist/_chunks/file-Cwe9VC1A.js.map +1 -0
- package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
- package/dist/_chunks/file-manager-UF8dkQF1.js.map +1 -0
- package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-DENvuhfs.js} +101 -139
- package/dist/_chunks/file-upload-DENvuhfs.js.map +1 -0
- package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
- package/dist/_chunks/finished-terminal-C0_mefrf.js.map +1 -0
- package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js.map → fiscal-code-input-DWA6C8x8.js.map} +1 -1
- package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
- package/dist/_chunks/{fr-BfMvQh-v.js.map → fr-CgD4Jvtq.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
- package/dist/_chunks/freemium-paywall-CmV642PA.js.map +1 -0
- package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-BpYw-WF-.js} +7 -7
- package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js.map → gestational-age-calculator-BpYw-WF-.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
- package/dist/_chunks/{hcg-doubling-CSsWxEJc.js.map → hcg-doubling-Dqj-EqMT.js.map} +1 -1
- package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
- package/dist/_chunks/header-CjwasYnn.js.map +1 -0
- package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-4cwQzeFc.js} +4 -4
- package/dist/_chunks/{header-settings-B0G_u-wV.js.map → header-settings-4cwQzeFc.js.map} +1 -1
- package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
- package/dist/_chunks/{hi-C0GEMwlD.js.map → hi-Bf8CAP6b.js.map} +1 -1
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/highlighter-DSkckT2Q.js.map +1 -0
- package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
- package/dist/_chunks/{icon-button-LqoiKcUN.js.map → icon-button-C_kbcd7I.js.map} +1 -1
- package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
- package/dist/_chunks/icon-button-group-C_lqXTAj.js.map +1 -0
- package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-CM9ubkew.js} +3 -3
- package/dist/_chunks/{icon-picker-Di6uYDG-.js.map → icon-picker-CM9ubkew.js.map} +1 -1
- package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
- package/dist/_chunks/{image-cropper-CdmWFrMC.js.map → image-cropper-DKe4AORY.js.map} +1 -1
- package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
- package/dist/_chunks/insert-result-D074GtHX.js.map +1 -0
- package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
- package/dist/_chunks/{isSameWeek-HddDAyJG.js.map → isSameWeek-BYl5poz_.js.map} +1 -1
- package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
- package/dist/_chunks/{it-5f4hiT2e.js.map → it-mt1V2DFS.js.map} +1 -1
- package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
- package/dist/_chunks/{ja-U0_2inl_.js.map → ja-CbOHn2TO.js.map} +1 -1
- package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
- package/dist/_chunks/{key-value-pair-Byyyc_9J.js.map → key-value-pair-LHKfDT_9.js.map} +1 -1
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js.map +1 -0
- package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-GNF3lo8K.js} +3 -3
- package/dist/_chunks/{locale-picker-DzF7Q5Y8.js.map → locale-picker-GNF3lo8K.js.map} +1 -1
- package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
- package/dist/_chunks/{map-view-ByPvWG_9.js.map → map-view-CsaHfoo6.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-D_1tF4La.js} +6 -6
- package/dist/_chunks/marketplace-app-shell-D_1tF4La.js.map +1 -0
- package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
- package/dist/_chunks/{message-card-BZnnffyB.js.map → message-card-ievotOFa.js.map} +1 -1
- package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
- package/dist/_chunks/{message-tray-cUHOCdU0.js.map → message-tray-BFlu8clI.js.map} +1 -1
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js.map → muscle-scheme-CFBE2dme.js.map} +1 -1
- package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
- package/dist/_chunks/{nl-CDVnnx1U.js.map → nl-C6Y0QXnm.js.map} +1 -1
- package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-Cvdp818a.js} +3 -3
- package/dist/_chunks/{notes-panel-CMyjUXD4.js.map → notes-panel-Cvdp818a.js.map} +1 -1
- package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
- package/dist/_chunks/{notification-card-BHJ07FkH.js.map → notification-card-D29_sVA1.js.map} +1 -1
- package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
- package/dist/_chunks/{notification-tray-Dzm1c3Wy.js.map → notification-tray-CzIzz3bX.js.map} +1 -1
- package/dist/_chunks/optical-prescription-BEjYQjiO.js +1260 -0
- package/dist/_chunks/optical-prescription-BEjYQjiO.js.map +1 -0
- package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-DP4wKyq4.js} +7 -7
- package/dist/_chunks/{patient-details-pU_E5xM2.js.map → patient-details-DP4wKyq4.js.map} +1 -1
- package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
- package/dist/_chunks/patient-search-BaUJ_Y-N.js.map +1 -0
- package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-D6kgdTNn.js} +4 -4
- package/dist/_chunks/{patient-summary-card--t3BjTdU.js.map → patient-summary-card-D6kgdTNn.js.map} +1 -1
- package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-DweKjiXg.js} +122 -118
- package/dist/_chunks/patient-table-DweKjiXg.js.map +1 -0
- package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
- package/dist/_chunks/{payment-request-card-2ts7ITxd.js.map → payment-request-card-C0fqlKqO.js.map} +1 -1
- package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
- package/dist/_chunks/pen-line-D0De5zdl.js.map +1 -0
- package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
- package/dist/_chunks/periodontal-chart-D8hOFmde.js.map +1 -0
- package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js.map → periodontal-chart-card-WVjJAheq.js.map} +1 -1
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js.map +1 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js.map +1 -0
- package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
- package/dist/_chunks/{pl-BWNumNrg.js.map → pl-BdazJAOp.js.map} +1 -1
- package/dist/_chunks/{popover-uJ6BvEU3.js → popover-Cc0a69sw.js} +32 -29
- package/dist/_chunks/{popover-uJ6BvEU3.js.map → popover-Cc0a69sw.js.map} +1 -1
- package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
- package/dist/_chunks/{practice-results-CSEHTH2V.js.map → practice-results-BCr7jMt1.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-msMl_6wz.js} +7 -7
- package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js.map → pregnancy-dating-msMl_6wz.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js.map → pregnancy-weight-gain-B-CkVYnU.js.map} +1 -1
- package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
- package/dist/_chunks/{privacy-lock-DrRmK8C7.js.map → privacy-lock-YYBiI_bY.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
- package/dist/_chunks/{product-hub-panel-CaZqttvm.js.map → product-hub-panel-CTld1r5V.js.map} +1 -1
- package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
- package/dist/_chunks/{pt-zqdQuryr.js.map → pt-B3UKvhHp.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
- package/dist/_chunks/public-header.agent-rX_VA6hd.js.map +1 -0
- package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-CxF9pVxd.js} +40 -57
- package/dist/_chunks/radiograph-panel.agent-CxF9pVxd.js.map +1 -0
- package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
- package/dist/_chunks/{reviews-panel-liUj6OPX.js.map → reviews-panel-DmOjvmyH.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CCWjNkbx.js} +26 -26
- package/dist/_chunks/rich-text-editor-CCWjNkbx.js.map +1 -0
- package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
- package/dist/_chunks/{ro-CornQr64.js.map → ro-DVTEQpPK.js.map} +1 -1
- package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
- package/dist/_chunks/{ru-CKAXNYVD.js.map → ru-C-Mp40SC.js.map} +1 -1
- package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
- package/dist/_chunks/{select-BmCbJMJS.js.map → select-BW5ecXlX.js.map} +1 -1
- package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
- package/dist/_chunks/{session-countdown-qr8EO5QY.js.map → session-countdown-C8AsE072.js.map} +1 -1
- package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
- package/dist/_chunks/{sheet-B_X54aZo.js.map → sheet-D5K0LB3q.js.map} +1 -1
- package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-C0PbwJBc.js} +375 -335
- package/dist/_chunks/sidebar-C0PbwJBc.js.map +1 -0
- package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
- package/dist/_chunks/{sign-document-nK03S73h.js.map → sign-document-Bfk0WpWV.js.map} +1 -1
- package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js.map → sign-in-with-alfadocs-button-UlYefZpI.js.map} +1 -1
- package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
- package/dist/_chunks/signature-capture-DN52VNKL.js.map +1 -0
- package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
- package/dist/_chunks/signature-field-0rFODJlW.js.map +1 -0
- package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
- package/dist/_chunks/signature-request-C-mskXwi.js.map +1 -0
- package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
- package/dist/_chunks/{slot-grid-FsqumOaS.js.map → slot-grid-CQSULZjd.js.map} +1 -1
- package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
- package/dist/_chunks/{sq-CIIvqXZv.js.map → sq-DierVlw-.js.map} +1 -1
- package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
- package/dist/_chunks/{streaming-text-Cedc05ya.js.map → streaming-text-C5bYz7LL.js.map} +1 -1
- package/dist/_chunks/subDays-DIKRViZm.js +8 -0
- package/dist/_chunks/{subDays-DGSOp9d9.js.map → subDays-DIKRViZm.js.map} +1 -1
- package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
- package/dist/_chunks/{sv-Kpk1pzjz.js.map → sv-gQWo_19z.js.map} +1 -1
- package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
- package/dist/_chunks/{tabs-DVQ941Sj.js.map → tabs-CVTukWRD.js.map} +1 -1
- package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
- package/dist/_chunks/{task-tray-DP5A3Qnc.js.map → task-tray-Br3vc0O1.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-CjGAhIN8.js} +6 -6
- package/dist/_chunks/{tasks-panel-BuxaYtEF.js.map → tasks-panel-CjGAhIN8.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
- package/dist/_chunks/{theme-toggle-dtdy5EaL.js.map → theme-toggle-BJCz_UOi.js.map} +1 -1
- package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
- package/dist/_chunks/{toast.agent-BSxl057x.js.map → toast.agent-uV8CeAy6.js.map} +1 -1
- package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
- package/dist/_chunks/{token-insert-menu-Pok4nExI.js.map → token-insert-menu-BYv6yoZI.js.map} +1 -1
- package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
- package/dist/_chunks/{tool-rail-BZx0-yIr.js.map → tool-rail-AaTqxkIM.js.map} +1 -1
- package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
- package/dist/_chunks/tooth-data-BwuoKFf4.js.map +1 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js.map +1 -0
- package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
- package/dist/_chunks/{tr-DHaeLFxG.js.map → tr-Btm6M3Km.js.map} +1 -1
- package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
- package/dist/_chunks/transaction-chip-DJCstquX.js.map +1 -0
- package/dist/_chunks/type-ggmfVs23.js +16 -0
- package/dist/_chunks/type-ggmfVs23.js.map +1 -0
- package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-CSLWFDQh.js} +3 -3
- package/dist/_chunks/{unit-converter-fEqluT8b.js.map → unit-converter-CSLWFDQh.js.map} +1 -1
- package/dist/_chunks/upload-BfT2hzMg.js +16 -0
- package/dist/_chunks/upload-BfT2hzMg.js.map +1 -0
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js.map +1 -0
- package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
- package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js.map +1 -0
- package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
- package/dist/_chunks/{warning-stack-BaMI7-n7.js.map → warning-stack-BlG_Ujy3.js.map} +1 -1
- package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
- package/dist/_chunks/{workflow-map-qWsgCldq.js.map → workflow-map-C643Q43h.js.map} +1 -1
- package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
- package/dist/_chunks/{zh-CN-BncsTBwM.js.map → zh-CN-DkVN4vsB.js.map} +1 -1
- package/dist/agent-catalog.json +4081 -3201
- package/dist/agent-i18n/en.json +121 -69
- package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
- package/dist/components/_shared/calendar-class-names.d.ts.map +1 -1
- package/dist/components/_shared/entity-card/entity-card.d.ts +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/anamnesis-card/anamnesis-card.d.ts +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.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/benefit-card/benefit-card.d.ts.map +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +8 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts +16 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/card/card.d.ts +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/chat-container.d.ts.map +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +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/counter/counter.d.ts +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +2 -8
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/filters/number-filter.d.ts.map +1 -1
- package/dist/components/data-table/index.js +35 -34
- package/dist/components/data-table/index.js.map +1 -1
- package/dist/components/data-table/toolbar.d.ts +5 -11
- package/dist/components/data-table/toolbar.d.ts.map +1 -1
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts.map +1 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts.map +1 -0
- package/dist/components/data-table-tabs/index.d.ts +5 -0
- package/dist/components/data-table-tabs/index.d.ts.map +1 -0
- package/dist/components/data-table-tabs/index.js +8 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts.map +1 -0
- 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/description-list/index.js +1 -1
- package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
- package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -0
- package/dist/components/document-preview/document-preview.d.ts +41 -0
- package/dist/components/document-preview/document-preview.d.ts.map +1 -0
- package/dist/components/document-preview/index.d.ts +4 -0
- package/dist/components/document-preview/index.d.ts.map +1 -0
- package/dist/components/document-preview/index.js +6 -0
- package/dist/components/document-preview/index.js.map +1 -0
- package/dist/components/document-scanner/document-scanner.d.ts.map +1 -1
- package/dist/components/document-scanner/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/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/face-scheme-data.d.ts +167 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts.map +1 -1
- package/dist/components/face-scheme/face-scheme.agent.d.ts.map +1 -1
- package/dist/components/face-scheme/face-scheme.d.ts +112 -2
- package/dist/components/face-scheme/face-scheme.d.ts.map +1 -1
- package/dist/components/face-scheme/index.d.ts +2 -2
- package/dist/components/face-scheme/index.d.ts.map +1 -1
- package/dist/components/face-scheme/index.js +25 -14
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/dialogs.d.ts +48 -0
- package/dist/components/file-manager/dialogs.d.ts.map +1 -0
- package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
- package/dist/components/file-manager/file-manager.agent.d.ts.map +1 -0
- package/dist/components/file-manager/file-manager.d.ts +82 -0
- package/dist/components/file-manager/file-manager.d.ts.map +1 -0
- package/dist/components/file-manager/folder-tree.d.ts +12 -0
- package/dist/components/file-manager/folder-tree.d.ts.map +1 -0
- package/dist/components/file-manager/index.d.ts +5 -0
- package/dist/components/file-manager/index.d.ts.map +1 -0
- package/dist/components/file-manager/index.js +6 -0
- package/dist/components/file-manager/index.js.map +1 -0
- package/dist/components/file-manager/list-view.d.ts +49 -0
- package/dist/components/file-manager/list-view.d.ts.map +1 -0
- package/dist/components/file-manager/toolbar.d.ts +15 -0
- package/dist/components/file-manager/toolbar.d.ts.map +1 -0
- package/dist/components/file-manager/types.d.ts +167 -0
- package/dist/components/file-manager/types.d.ts.map +1 -0
- package/dist/components/file-manager/utils.d.ts +34 -0
- package/dist/components/file-manager/utils.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +1 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.d.ts.map +1 -1
- package/dist/components/file-upload/index.js +4 -3
- package/dist/components/finished-terminal/finished-terminal.d.ts.map +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/flag/flag.d.ts +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +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/header.d.ts.map +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +7 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.d.ts +4 -2
- package/dist/components/optical-prescription/index.d.ts.map +1 -1
- package/dist/components/optical-prescription/index.js +29 -26
- package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
- package/dist/components/optical-prescription/optical-prescription-charts.d.ts.map +1 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -1
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts.map +1 -1
- package/dist/components/optical-prescription/optical-prescription.d.ts +9 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts.map +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/columns.d.ts.map +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-card/payment-card.d.ts +1 -1
- package/dist/components/payment-card/payment-request-card.d.ts +1 -1
- package/dist/components/periodontal-chart/index.d.ts +6 -0
- package/dist/components/periodontal-chart/index.d.ts.map +1 -0
- package/dist/components/periodontal-chart/index.js +22 -0
- package/dist/components/periodontal-chart/index.js.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts.map +1 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
- package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
- package/dist/components/periodontal-diagnosis/index.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/index.js +13 -0
- package/dist/components/periodontal-diagnosis/index.js.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts.map +1 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
- package/dist/components/periodontal-risk-chart/index.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/index.js +9 -0
- package/dist/components/periodontal-risk-chart/index.js.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts.map +1 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -0
- package/dist/components/popover/popover.d.ts.map +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/product-hub-tray/product-hub-panel.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/public-header/public-header.d.ts.map +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
- package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +9 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +7 -0
- package/dist/components/signature-field/signature-field.d.ts.map +1 -1
- package/dist/components/skeleton-scheme/index.js +1186 -0
- package/dist/components/skeleton-scheme/index.js.map +1 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tabs/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/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +29 -28
- package/dist/components/tooth-scheme/index.js.map +1 -1
- package/dist/components/transaction-chip/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/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +40 -35
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/use-priority-overflow.d.ts +63 -0
- package/dist/hooks/use-priority-overflow.d.ts.map +1 -0
- package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
- package/dist/hooks/use-visual-viewport-pin.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +490 -9
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +493 -12
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +490 -9
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +493 -12
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +490 -9
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +493 -12
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +490 -9
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +493 -12
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +490 -9
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +493 -12
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +490 -9
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +493 -12
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +490 -9
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +493 -12
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +490 -9
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +493 -12
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +490 -9
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +493 -12
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +490 -9
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +493 -12
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +490 -9
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +493 -12
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +490 -9
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +493 -12
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +490 -9
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +493 -12
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +490 -9
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +493 -12
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +490 -9
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +493 -12
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +490 -9
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +493 -12
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +490 -9
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +493 -12
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +490 -9
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +493 -12
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +872 -809
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +493 -12
- package/dist/locales/de.json +493 -12
- package/dist/locales/el.json +493 -12
- package/dist/locales/en.json +493 -12
- package/dist/locales/es.json +493 -12
- package/dist/locales/fr.json +493 -12
- package/dist/locales/hi.json +493 -12
- package/dist/locales/it.json +493 -12
- package/dist/locales/ja.json +493 -12
- package/dist/locales/nl.json +493 -12
- package/dist/locales/pl.json +493 -12
- package/dist/locales/pt.json +493 -12
- package/dist/locales/ro.json +493 -12
- package/dist/locales/ru.json +493 -12
- package/dist/locales/sq.json +493 -12
- package/dist/locales/sv.json +493 -12
- package/dist/locales/tr.json +493 -12
- package/dist/locales/zh.json +493 -12
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +1 -1
- package/dist/patterns/signature-request/index.d.ts +3 -0
- package/dist/patterns/signature-request/index.d.ts.map +1 -0
- package/dist/patterns/signature-request/index.js +5 -0
- package/dist/patterns/signature-request/index.js.map +1 -0
- package/dist/patterns/signature-request/signature-request.d.ts +81 -0
- package/dist/patterns/signature-request/signature-request.d.ts.map +1 -0
- package/dist/tokens.css +2 -2
- package/package.json +32 -4
- package/dist/_chunks/benefit-card-Xnxj4Gmo.js.map +0 -1
- package/dist/_chunks/button-DD_0Xdmr.js.map +0 -1
- package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
- package/dist/_chunks/button-group-CvEnVzY7.js.map +0 -1
- package/dist/_chunks/columns-2-8lq4-b8e.js.map +0 -1
- package/dist/_chunks/document-scanner-B23j4w7X.js.map +0 -1
- package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
- package/dist/_chunks/face-scheme-BT9_KdL0.js.map +0 -1
- package/dist/_chunks/file-upload-Kw1rdvFw.js.map +0 -1
- package/dist/_chunks/finished-terminal-Di4gtZ50.js.map +0 -1
- package/dist/_chunks/freemium-paywall-DFoeedwh.js.map +0 -1
- package/dist/_chunks/header-DaXWDw0M.js.map +0 -1
- package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
- package/dist/_chunks/icon-button-group-C48khLE0.js.map +0 -1
- package/dist/_chunks/insert-result-C7xSDb8q.js.map +0 -1
- package/dist/_chunks/link-cell-renderer-BCppbMec.js +0 -2185
- package/dist/_chunks/link-cell-renderer-BCppbMec.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js.map +0 -1
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
- package/dist/_chunks/optical-prescription-Bmlbuopi.js.map +0 -1
- package/dist/_chunks/patient-search-X9SUZGpy.js.map +0 -1
- package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
- package/dist/_chunks/patient-shell-oiIRqEAl.js.map +0 -1
- package/dist/_chunks/patient-table-BgWgNIMf.js.map +0 -1
- package/dist/_chunks/public-header.agent-C-opZaOw.js.map +0 -1
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js.map +0 -1
- package/dist/_chunks/rich-text-editor-DUgznqOf.js.map +0 -1
- package/dist/_chunks/sidebar-B0OBmJrC.js.map +0 -1
- package/dist/_chunks/signature-capture-Ct_4Md4e.js.map +0 -1
- package/dist/_chunks/signature-field-jgwYgUhO.js.map +0 -1
- package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
- package/dist/_chunks/tooth-scheme-D_rso4uu.js +0 -2133
- package/dist/_chunks/tooth-scheme-D_rso4uu.js.map +0 -1
- package/dist/_chunks/transaction-chip-B6iWoVmU.js.map +0 -1
- package/dist/patterns/patient-shell/index.d.ts +0 -12
- package/dist/patterns/patient-shell/index.d.ts.map +0 -1
- package/dist/patterns/patient-shell/index.js +0 -5
- package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +0 -1
- /package/dist/{patterns/patient-shell → components/data-table-tabs}/index.js.map +0 -0
|
@@ -0,0 +1,1260 @@
|
|
|
1
|
+
import { jsx as i, jsxs as l, Fragment as Ve } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as We, useId as je, useRef as ue, useState as Xe, useCallback as R, useMemo as fe, useImperativeHandle as Ye } from "react";
|
|
3
|
+
import { c as He } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Fe } from "react-i18next";
|
|
5
|
+
import { u as qe } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { N as se } from "./number-input-DjWzmlEY.js";
|
|
7
|
+
import { S as he } from "./select-BW5ecXlX.js";
|
|
8
|
+
import { T as Ke } from "./text-area-Bt3p7Pt0.js";
|
|
9
|
+
import { D as v } from "./description-list-ClNLdRMy.js";
|
|
10
|
+
const ye = {
|
|
11
|
+
enum: ["od", "os"],
|
|
12
|
+
description: "Eye — `od` (right eye) or `os` (left eye)."
|
|
13
|
+
}, ae = {
|
|
14
|
+
enum: ["far", "intermediate", "near"],
|
|
15
|
+
description: "Distance band — `far` (per lontano), `intermediate`, `near` (per vicino)."
|
|
16
|
+
}, Ue = {
|
|
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
|
+
}, Je = {
|
|
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
|
+
pdRight: {
|
|
38
|
+
type: "number",
|
|
39
|
+
description: "Monocular PD, nose centre → OD pupil, mm."
|
|
40
|
+
},
|
|
41
|
+
pdLeft: {
|
|
42
|
+
type: "number",
|
|
43
|
+
description: "Monocular PD, nose centre → OS pupil, mm."
|
|
44
|
+
},
|
|
45
|
+
lensType: { enum: ["single-vision", "bifocal", "progressive"] },
|
|
46
|
+
axisSystem: { enum: ["tabo", "int"] },
|
|
47
|
+
notes: { type: "string", description: "Free-text note — PHI." }
|
|
48
|
+
},
|
|
49
|
+
required: ["bands"]
|
|
50
|
+
}, Qe = {
|
|
51
|
+
id: "optical-prescription",
|
|
52
|
+
// pick — focus an eye row (`focus_eye`, transient, not persisted);
|
|
53
|
+
// edit_inline — `set_cell` edits one refraction cell; set_value — `set_value`
|
|
54
|
+
// replaces the whole prescription.
|
|
55
|
+
capabilities: ["pick", "edit_inline", "set_value"],
|
|
56
|
+
state: {
|
|
57
|
+
prescription: {
|
|
58
|
+
// A9: the always-on snapshot carries the refraction numbers + view
|
|
59
|
+
// metadata (PD, lens type, axis system) only — NEVER the free-text
|
|
60
|
+
// clinical note (PHI). The note is fetched deliberately via get_notes
|
|
61
|
+
// (safety: 'phi').
|
|
62
|
+
type: "object",
|
|
63
|
+
descriptionKey: "ui.agent.opticalPrescription.state.prescription",
|
|
64
|
+
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.",
|
|
65
|
+
read: (t) => {
|
|
66
|
+
const s = t.getValue();
|
|
67
|
+
return {
|
|
68
|
+
bands: s.bands,
|
|
69
|
+
pd: s.pd,
|
|
70
|
+
pdRight: s.pdRight,
|
|
71
|
+
pdLeft: s.pdLeft,
|
|
72
|
+
lensType: s.lensType,
|
|
73
|
+
axisSystem: s.axisSystem
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
bands: {
|
|
78
|
+
type: "string[]",
|
|
79
|
+
descriptionKey: "ui.agent.opticalPrescription.state.bands",
|
|
80
|
+
description: "Distance bands carrying at least one refraction value (far / intermediate / near).",
|
|
81
|
+
read: (t) => t.getBands()
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
actions: {
|
|
85
|
+
focus_eye: {
|
|
86
|
+
safety: "read",
|
|
87
|
+
argsType: "{ eye: Eye; band?: DistanceBand }",
|
|
88
|
+
argsSchema: {
|
|
89
|
+
type: "object",
|
|
90
|
+
properties: { eye: ye, band: ae },
|
|
91
|
+
required: ["eye"]
|
|
92
|
+
},
|
|
93
|
+
idempotent: !0,
|
|
94
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.focusEye",
|
|
95
|
+
description: "Move focus to an eye's row (first editable cell in interactive mode), optionally within a specific band.",
|
|
96
|
+
invoke: (t, s) => {
|
|
97
|
+
t.focusEye(s.eye, s.band);
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
get_row: {
|
|
101
|
+
safety: "read",
|
|
102
|
+
argsType: "{ band: DistanceBand; eye: Eye }",
|
|
103
|
+
argsSchema: {
|
|
104
|
+
type: "object",
|
|
105
|
+
properties: { band: ae, eye: ye },
|
|
106
|
+
required: ["band", "eye"]
|
|
107
|
+
},
|
|
108
|
+
returns: "RefractionRow | undefined",
|
|
109
|
+
returnsSchema: Ge,
|
|
110
|
+
idempotent: !0,
|
|
111
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.getRow",
|
|
112
|
+
description: "Read one eye's refraction row at a distance band.",
|
|
113
|
+
invoke: (t, s) => t.getRow(s.band, s.eye)
|
|
114
|
+
},
|
|
115
|
+
get_notes: {
|
|
116
|
+
// phi (not read): resolves the free-text clinical note, which is PHI.
|
|
117
|
+
// PRS §26 — phi outranks read so the host gates it behind stricter
|
|
118
|
+
// confirm + audit. The always-on state.prescription snapshot stays
|
|
119
|
+
// note-free.
|
|
120
|
+
safety: "phi",
|
|
121
|
+
returns: "string",
|
|
122
|
+
returnsSchema: { type: "string" },
|
|
123
|
+
idempotent: !0,
|
|
124
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.getNotes",
|
|
125
|
+
description: "Read the free-text clinical note on the prescription.",
|
|
126
|
+
invoke: (t) => t.getValue().notes ?? ""
|
|
127
|
+
},
|
|
128
|
+
set_cell: {
|
|
129
|
+
safety: "write",
|
|
130
|
+
argsType: "{ band: DistanceBand; eye: Eye; field: keyof RefractionRow; value: number | PrismBase | null }",
|
|
131
|
+
argsSchema: {
|
|
132
|
+
type: "object",
|
|
133
|
+
properties: {
|
|
134
|
+
band: ae,
|
|
135
|
+
eye: ye,
|
|
136
|
+
field: Ue,
|
|
137
|
+
value: {
|
|
138
|
+
description: "New cell value — a number for the dioptric/axis/prism columns, a base-direction string for `base`, or null to clear."
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
required: ["band", "eye", "field", "value"]
|
|
142
|
+
},
|
|
143
|
+
idempotent: !0,
|
|
144
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.setCell",
|
|
145
|
+
description: "Set (or clear, with null) a single refraction cell — sphere / cylinder / axis / add / prism / base.",
|
|
146
|
+
invoke: (t, s) => {
|
|
147
|
+
t.setCell(s.band, s.eye, s.field, s.value);
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
set_value: {
|
|
151
|
+
safety: "write",
|
|
152
|
+
argsType: "{ value: OpticalPrescriptionValue }",
|
|
153
|
+
argsSchema: {
|
|
154
|
+
type: "object",
|
|
155
|
+
properties: { value: Je },
|
|
156
|
+
required: ["value"]
|
|
157
|
+
},
|
|
158
|
+
idempotent: !0,
|
|
159
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.setValue",
|
|
160
|
+
description: "Replace the entire prescription value.",
|
|
161
|
+
invoke: (t, s) => {
|
|
162
|
+
t.setValue(s.value);
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
clear_band: {
|
|
166
|
+
safety: "destructive",
|
|
167
|
+
argsType: "{ band: DistanceBand }",
|
|
168
|
+
argsSchema: {
|
|
169
|
+
type: "object",
|
|
170
|
+
properties: { band: ae },
|
|
171
|
+
required: ["band"]
|
|
172
|
+
},
|
|
173
|
+
idempotent: !0,
|
|
174
|
+
descriptionKey: "ui.agent.opticalPrescription.actions.clearBand",
|
|
175
|
+
description: "Clear every refraction row in a distance band.",
|
|
176
|
+
invoke: (t, s) => {
|
|
177
|
+
t.clearBand(s.band);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
domHooks: {
|
|
182
|
+
root: { attr: "data-component", value: "optical-prescription" },
|
|
183
|
+
instanceId: {
|
|
184
|
+
attr: "data-component-id",
|
|
185
|
+
sourceProp: "id",
|
|
186
|
+
description: "Sourced from the id prop."
|
|
187
|
+
},
|
|
188
|
+
item: {
|
|
189
|
+
attr: "data-eye",
|
|
190
|
+
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. Standard chart figures carry `data-chart` (`tabo` / `powerCross` / `pd` / `prismBase`) plus `data-eye` on the per-eye ones."
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}, Z = ["od", "os"], Ze = [
|
|
194
|
+
"far",
|
|
195
|
+
"intermediate",
|
|
196
|
+
"near"
|
|
197
|
+
], et = ["up", "down", "in", "out"], tt = [
|
|
198
|
+
"single-vision",
|
|
199
|
+
"bifocal",
|
|
200
|
+
"progressive"
|
|
201
|
+
], rt = ["tabo", "int"], Yt = [
|
|
202
|
+
"sphere",
|
|
203
|
+
"cylinder",
|
|
204
|
+
"axis",
|
|
205
|
+
"add",
|
|
206
|
+
"prism",
|
|
207
|
+
"base"
|
|
208
|
+
], ne = 0.25, it = -30, st = 30, at = -12, nt = 12, ot = 0, ct = 6, Ne = 0, we = 180, lt = 1, be = 40, xe = 85, dt = 0, pt = 20;
|
|
209
|
+
function M(t, s = 2) {
|
|
210
|
+
const n = Math.abs(t).toFixed(s);
|
|
211
|
+
return t > 0 ? `+${n}` : t < 0 ? `-${n}` : n;
|
|
212
|
+
}
|
|
213
|
+
function mt(t) {
|
|
214
|
+
return M(t, 2);
|
|
215
|
+
}
|
|
216
|
+
function ut(t) {
|
|
217
|
+
return M(t, 2);
|
|
218
|
+
}
|
|
219
|
+
function ft(t) {
|
|
220
|
+
return `+${Math.abs(t).toFixed(2)}`;
|
|
221
|
+
}
|
|
222
|
+
function W(t) {
|
|
223
|
+
return `${Math.min(we, Math.max(Ne, Math.round(t)))}°`;
|
|
224
|
+
}
|
|
225
|
+
function Se(t) {
|
|
226
|
+
return t.toFixed(2);
|
|
227
|
+
}
|
|
228
|
+
function ht(t, s) {
|
|
229
|
+
switch (t) {
|
|
230
|
+
case "sphere":
|
|
231
|
+
return mt(s);
|
|
232
|
+
case "cylinder":
|
|
233
|
+
return ut(s);
|
|
234
|
+
case "add":
|
|
235
|
+
return ft(s);
|
|
236
|
+
case "axis":
|
|
237
|
+
return W(s);
|
|
238
|
+
case "prism":
|
|
239
|
+
return Se(s);
|
|
240
|
+
default:
|
|
241
|
+
return String(s);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
function Re(t) {
|
|
245
|
+
return t >= Ne && t <= we ? t : (t % 180 + 180) % 180;
|
|
246
|
+
}
|
|
247
|
+
function yt(t) {
|
|
248
|
+
if (!t || t.sphere === void 0 && t.cylinder === void 0)
|
|
249
|
+
return;
|
|
250
|
+
const s = t.sphere ?? 0, n = t.cylinder ?? 0, p = Re(t.axis ?? 0);
|
|
251
|
+
return {
|
|
252
|
+
primary: { deg: p, power: s },
|
|
253
|
+
secondary: { deg: (p + 90) % 180, power: s + n }
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
function bt() {
|
|
257
|
+
return { bands: {} };
|
|
258
|
+
}
|
|
259
|
+
function oe(t, s, n) {
|
|
260
|
+
var p;
|
|
261
|
+
return (p = t.bands[s]) == null ? void 0 : p[n];
|
|
262
|
+
}
|
|
263
|
+
function xt(t, s, n, p, u) {
|
|
264
|
+
const y = { ...t.bands }, x = { ...y[s] ?? {} }, f = { ...x[n] ?? {} };
|
|
265
|
+
return u == null ? delete f[p] : f[p] = u, Object.keys(f).length === 0 ? delete x[n] : x[n] = f, Object.keys(x).length === 0 ? delete y[s] : y[s] = x, { ...t, bands: y };
|
|
266
|
+
}
|
|
267
|
+
function vt(t, s) {
|
|
268
|
+
if (!t.bands[s]) return t;
|
|
269
|
+
const n = { ...t.bands };
|
|
270
|
+
return delete n[s], { ...t, bands: n };
|
|
271
|
+
}
|
|
272
|
+
function Ee(t) {
|
|
273
|
+
return Ze.filter((s) => {
|
|
274
|
+
const n = t.bands[s];
|
|
275
|
+
return n ? Z.some((p) => {
|
|
276
|
+
const u = n[p];
|
|
277
|
+
return u !== void 0 && Object.keys(u).length > 0;
|
|
278
|
+
}) : !1;
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
const gt = ["tabo", "powerCross", "pd", "prismBase"], j = "ds:[stroke:var(--muted-foreground)] ds:[fill:none]", q = "ds:[fill:var(--muted-foreground)]", ee = "ds:[stroke:var(--foreground)] ds:[fill:none]", ce = "ds:[fill:var(--foreground)]", Me = "ds:[stroke:var(--primary)] ds:[fill:none]", le = "ds:[fill:var(--primary)]", Pt = "ds:m-0 ds:flex ds:flex-col ds:items-center ds:gap-1", St = "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)] ds:text-center";
|
|
282
|
+
function _(t, s, n, p) {
|
|
283
|
+
const u = p * Math.PI / 180;
|
|
284
|
+
return [t + n * Math.cos(u), s - n * Math.sin(u)];
|
|
285
|
+
}
|
|
286
|
+
function de({
|
|
287
|
+
chart: t,
|
|
288
|
+
eye: s,
|
|
289
|
+
caption: n,
|
|
290
|
+
detail: p,
|
|
291
|
+
children: u
|
|
292
|
+
}) {
|
|
293
|
+
return /* @__PURE__ */ l("figure", { className: Pt, "data-chart": t, "data-eye": s, children: [
|
|
294
|
+
u,
|
|
295
|
+
/* @__PURE__ */ l("figcaption", { dir: "auto", className: St, children: [
|
|
296
|
+
n,
|
|
297
|
+
p !== void 0 && /* @__PURE__ */ i("span", { className: "ds:block ds:text-[var(--foreground)]", children: p })
|
|
298
|
+
] })
|
|
299
|
+
] });
|
|
300
|
+
}
|
|
301
|
+
const C = 60, $ = 62, T = 48, Nt = [
|
|
302
|
+
[0, 7],
|
|
303
|
+
[30, 4],
|
|
304
|
+
[45, 5],
|
|
305
|
+
[60, 4],
|
|
306
|
+
[90, 7],
|
|
307
|
+
[120, 4],
|
|
308
|
+
[135, 5],
|
|
309
|
+
[150, 4],
|
|
310
|
+
[180, 7]
|
|
311
|
+
], wt = [0, 45, 90, 135, 180];
|
|
312
|
+
function Rt({ eye: t, axisDeg: s, ariaLabel: n, caption: p }) {
|
|
313
|
+
const u = Re(s), [y, x] = _(C, $, T - 6, u);
|
|
314
|
+
return /* @__PURE__ */ i(de, { chart: "tabo", eye: t, caption: p, children: /* @__PURE__ */ l(
|
|
315
|
+
"svg",
|
|
316
|
+
{
|
|
317
|
+
role: "img",
|
|
318
|
+
"aria-label": n,
|
|
319
|
+
viewBox: "-4 0 128 76",
|
|
320
|
+
className: "ds:w-36",
|
|
321
|
+
children: [
|
|
322
|
+
/* @__PURE__ */ i(
|
|
323
|
+
"line",
|
|
324
|
+
{
|
|
325
|
+
x1: C - T,
|
|
326
|
+
y1: $,
|
|
327
|
+
x2: C + T,
|
|
328
|
+
y2: $,
|
|
329
|
+
strokeWidth: "1",
|
|
330
|
+
className: j
|
|
331
|
+
}
|
|
332
|
+
),
|
|
333
|
+
/* @__PURE__ */ i(
|
|
334
|
+
"path",
|
|
335
|
+
{
|
|
336
|
+
d: `M ${C - T} ${$} A ${T} ${T} 0 0 1 ${C + T} ${$}`,
|
|
337
|
+
strokeWidth: "1",
|
|
338
|
+
className: j
|
|
339
|
+
}
|
|
340
|
+
),
|
|
341
|
+
Nt.map(([f, b]) => {
|
|
342
|
+
const [g, k] = _(C, $, T, f), [I, B] = _(C, $, T - b, f);
|
|
343
|
+
return /* @__PURE__ */ i(
|
|
344
|
+
"line",
|
|
345
|
+
{
|
|
346
|
+
x1: g,
|
|
347
|
+
y1: k,
|
|
348
|
+
x2: I,
|
|
349
|
+
y2: B,
|
|
350
|
+
strokeWidth: "1",
|
|
351
|
+
className: j
|
|
352
|
+
},
|
|
353
|
+
f
|
|
354
|
+
);
|
|
355
|
+
}),
|
|
356
|
+
wt.map((f) => {
|
|
357
|
+
const [b, g] = _(C, $, T + 7, f);
|
|
358
|
+
return /* @__PURE__ */ i(
|
|
359
|
+
"text",
|
|
360
|
+
{
|
|
361
|
+
x: b,
|
|
362
|
+
y: g + 2,
|
|
363
|
+
fontSize: "7",
|
|
364
|
+
textAnchor: "middle",
|
|
365
|
+
className: q,
|
|
366
|
+
children: f
|
|
367
|
+
},
|
|
368
|
+
f
|
|
369
|
+
);
|
|
370
|
+
}),
|
|
371
|
+
/* @__PURE__ */ i(
|
|
372
|
+
"line",
|
|
373
|
+
{
|
|
374
|
+
x1: C,
|
|
375
|
+
y1: $,
|
|
376
|
+
x2: y,
|
|
377
|
+
y2: x,
|
|
378
|
+
strokeWidth: "2.5",
|
|
379
|
+
strokeLinecap: "round",
|
|
380
|
+
className: Me
|
|
381
|
+
}
|
|
382
|
+
),
|
|
383
|
+
/* @__PURE__ */ i("circle", { cx: C, cy: $, r: "2.5", className: le })
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
) });
|
|
387
|
+
}
|
|
388
|
+
const ve = 75, ge = 56, De = 32, At = 44;
|
|
389
|
+
function _t({
|
|
390
|
+
eye: t,
|
|
391
|
+
primary: s,
|
|
392
|
+
secondary: n,
|
|
393
|
+
primaryText: p,
|
|
394
|
+
secondaryText: u,
|
|
395
|
+
ariaLabel: y,
|
|
396
|
+
caption: x,
|
|
397
|
+
detail: f
|
|
398
|
+
}) {
|
|
399
|
+
const b = [
|
|
400
|
+
{ ...s, text: p },
|
|
401
|
+
{ ...n, text: u }
|
|
402
|
+
];
|
|
403
|
+
return /* @__PURE__ */ i(de, { chart: "powerCross", eye: t, caption: x, detail: f, children: /* @__PURE__ */ i(
|
|
404
|
+
"svg",
|
|
405
|
+
{
|
|
406
|
+
role: "img",
|
|
407
|
+
"aria-label": y,
|
|
408
|
+
viewBox: "0 0 150 104",
|
|
409
|
+
className: "ds:w-40",
|
|
410
|
+
children: b.map(({ deg: g, text: k }) => {
|
|
411
|
+
const [I, B] = _(ve, ge, De, g + 180), [K, r] = _(ve, ge, De, g), [X, O] = _(ve, ge, At, g);
|
|
412
|
+
return /* @__PURE__ */ l("g", { children: [
|
|
413
|
+
/* @__PURE__ */ i(
|
|
414
|
+
"line",
|
|
415
|
+
{
|
|
416
|
+
x1: I,
|
|
417
|
+
y1: B,
|
|
418
|
+
x2: K,
|
|
419
|
+
y2: r,
|
|
420
|
+
strokeWidth: "1.5",
|
|
421
|
+
className: ee
|
|
422
|
+
}
|
|
423
|
+
),
|
|
424
|
+
/* @__PURE__ */ i(
|
|
425
|
+
"text",
|
|
426
|
+
{
|
|
427
|
+
x: X,
|
|
428
|
+
y: O - 4,
|
|
429
|
+
fontSize: "9",
|
|
430
|
+
textAnchor: "middle",
|
|
431
|
+
className: ce,
|
|
432
|
+
children: k
|
|
433
|
+
}
|
|
434
|
+
),
|
|
435
|
+
/* @__PURE__ */ l(
|
|
436
|
+
"text",
|
|
437
|
+
{
|
|
438
|
+
x: X,
|
|
439
|
+
y: O + 5,
|
|
440
|
+
fontSize: "7",
|
|
441
|
+
textAnchor: "middle",
|
|
442
|
+
className: q,
|
|
443
|
+
children: [
|
|
444
|
+
g,
|
|
445
|
+
"°"
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
)
|
|
449
|
+
] }, g);
|
|
450
|
+
})
|
|
451
|
+
}
|
|
452
|
+
) });
|
|
453
|
+
}
|
|
454
|
+
const Ct = [
|
|
455
|
+
["od", 60],
|
|
456
|
+
["os", 160]
|
|
457
|
+
], Pe = 24, P = 50;
|
|
458
|
+
function $t({
|
|
459
|
+
totalText: t,
|
|
460
|
+
rightText: s,
|
|
461
|
+
leftText: n,
|
|
462
|
+
ariaLabel: p,
|
|
463
|
+
caption: u,
|
|
464
|
+
detail: y
|
|
465
|
+
}) {
|
|
466
|
+
const x = s !== void 0 && n !== void 0;
|
|
467
|
+
return /* @__PURE__ */ i(de, { chart: "pd", caption: u, detail: y, children: /* @__PURE__ */ l(
|
|
468
|
+
"svg",
|
|
469
|
+
{
|
|
470
|
+
role: "img",
|
|
471
|
+
"aria-label": p,
|
|
472
|
+
viewBox: "0 0 220 64",
|
|
473
|
+
className: "ds:w-52",
|
|
474
|
+
children: [
|
|
475
|
+
Ct.map(([f, b]) => /* @__PURE__ */ l("g", { children: [
|
|
476
|
+
/* @__PURE__ */ i(
|
|
477
|
+
"ellipse",
|
|
478
|
+
{
|
|
479
|
+
cx: b,
|
|
480
|
+
cy: Pe,
|
|
481
|
+
rx: "17",
|
|
482
|
+
ry: "9",
|
|
483
|
+
strokeWidth: "1",
|
|
484
|
+
className: j
|
|
485
|
+
}
|
|
486
|
+
),
|
|
487
|
+
/* @__PURE__ */ i("circle", { cx: b, cy: Pe, r: "3.5", className: le }),
|
|
488
|
+
/* @__PURE__ */ i(
|
|
489
|
+
"line",
|
|
490
|
+
{
|
|
491
|
+
x1: b,
|
|
492
|
+
y1: Pe + 10,
|
|
493
|
+
x2: b,
|
|
494
|
+
y2: P + 4,
|
|
495
|
+
strokeWidth: "1",
|
|
496
|
+
strokeDasharray: "2 2",
|
|
497
|
+
className: j
|
|
498
|
+
}
|
|
499
|
+
)
|
|
500
|
+
] }, f)),
|
|
501
|
+
/* @__PURE__ */ i(
|
|
502
|
+
"line",
|
|
503
|
+
{
|
|
504
|
+
x1: "60",
|
|
505
|
+
y1: P,
|
|
506
|
+
x2: "160",
|
|
507
|
+
y2: P,
|
|
508
|
+
strokeWidth: "1",
|
|
509
|
+
className: ee
|
|
510
|
+
}
|
|
511
|
+
),
|
|
512
|
+
/* @__PURE__ */ i(
|
|
513
|
+
"path",
|
|
514
|
+
{
|
|
515
|
+
d: `M 66 ${P - 3} L 60 ${P} L 66 ${P + 3}`,
|
|
516
|
+
strokeWidth: "1",
|
|
517
|
+
className: ee
|
|
518
|
+
}
|
|
519
|
+
),
|
|
520
|
+
/* @__PURE__ */ i(
|
|
521
|
+
"path",
|
|
522
|
+
{
|
|
523
|
+
d: `M 154 ${P - 3} L 160 ${P} L 154 ${P + 3}`,
|
|
524
|
+
strokeWidth: "1",
|
|
525
|
+
className: ee
|
|
526
|
+
}
|
|
527
|
+
),
|
|
528
|
+
x ? /* @__PURE__ */ l(Ve, { children: [
|
|
529
|
+
/* @__PURE__ */ i(
|
|
530
|
+
"line",
|
|
531
|
+
{
|
|
532
|
+
x1: "110",
|
|
533
|
+
y1: P - 4,
|
|
534
|
+
x2: "110",
|
|
535
|
+
y2: P + 4,
|
|
536
|
+
strokeWidth: "1",
|
|
537
|
+
className: ee
|
|
538
|
+
}
|
|
539
|
+
),
|
|
540
|
+
/* @__PURE__ */ i(
|
|
541
|
+
"text",
|
|
542
|
+
{
|
|
543
|
+
x: "85",
|
|
544
|
+
y: P - 6,
|
|
545
|
+
fontSize: "8",
|
|
546
|
+
textAnchor: "middle",
|
|
547
|
+
className: ce,
|
|
548
|
+
children: s
|
|
549
|
+
}
|
|
550
|
+
),
|
|
551
|
+
/* @__PURE__ */ i(
|
|
552
|
+
"text",
|
|
553
|
+
{
|
|
554
|
+
x: "135",
|
|
555
|
+
y: P - 6,
|
|
556
|
+
fontSize: "8",
|
|
557
|
+
textAnchor: "middle",
|
|
558
|
+
className: ce,
|
|
559
|
+
children: n
|
|
560
|
+
}
|
|
561
|
+
)
|
|
562
|
+
] }) : /* @__PURE__ */ i(
|
|
563
|
+
"text",
|
|
564
|
+
{
|
|
565
|
+
x: "110",
|
|
566
|
+
y: P - 6,
|
|
567
|
+
fontSize: "8",
|
|
568
|
+
textAnchor: "middle",
|
|
569
|
+
className: ce,
|
|
570
|
+
children: t
|
|
571
|
+
}
|
|
572
|
+
)
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
) });
|
|
576
|
+
}
|
|
577
|
+
const S = 60, N = 52, A = 28;
|
|
578
|
+
function Tt(t, s) {
|
|
579
|
+
switch (s) {
|
|
580
|
+
case "up":
|
|
581
|
+
return 90;
|
|
582
|
+
case "down":
|
|
583
|
+
return 270;
|
|
584
|
+
case "in":
|
|
585
|
+
return t === "od" ? 0 : 180;
|
|
586
|
+
case "out":
|
|
587
|
+
return t === "od" ? 180 : 0;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
function Et({
|
|
591
|
+
eye: t,
|
|
592
|
+
base: s,
|
|
593
|
+
labels: n,
|
|
594
|
+
ariaLabel: p,
|
|
595
|
+
caption: u
|
|
596
|
+
}) {
|
|
597
|
+
const y = Tt(t, s), [x, f] = _(S, N, A - 6, y), [b, g] = _(S, N, A, y), [k, I] = _(S, N, A - 7, y + 8), [B, K] = _(S, N, A - 7, y - 8), r = t === "od" ? n.in : n.out, X = t === "od" ? n.out : n.in;
|
|
598
|
+
return /* @__PURE__ */ i(de, { chart: "prismBase", eye: t, caption: u, children: /* @__PURE__ */ l(
|
|
599
|
+
"svg",
|
|
600
|
+
{
|
|
601
|
+
role: "img",
|
|
602
|
+
"aria-label": p,
|
|
603
|
+
viewBox: "0 0 120 104",
|
|
604
|
+
className: "ds:w-32",
|
|
605
|
+
children: [
|
|
606
|
+
/* @__PURE__ */ i(
|
|
607
|
+
"line",
|
|
608
|
+
{
|
|
609
|
+
x1: S - A,
|
|
610
|
+
y1: N,
|
|
611
|
+
x2: S + A,
|
|
612
|
+
y2: N,
|
|
613
|
+
strokeWidth: "1",
|
|
614
|
+
className: j
|
|
615
|
+
}
|
|
616
|
+
),
|
|
617
|
+
/* @__PURE__ */ i(
|
|
618
|
+
"line",
|
|
619
|
+
{
|
|
620
|
+
x1: S,
|
|
621
|
+
y1: N - A,
|
|
622
|
+
x2: S,
|
|
623
|
+
y2: N + A,
|
|
624
|
+
strokeWidth: "1",
|
|
625
|
+
className: j
|
|
626
|
+
}
|
|
627
|
+
),
|
|
628
|
+
/* @__PURE__ */ i(
|
|
629
|
+
"text",
|
|
630
|
+
{
|
|
631
|
+
x: S,
|
|
632
|
+
y: N - A - 5,
|
|
633
|
+
fontSize: "7",
|
|
634
|
+
textAnchor: "middle",
|
|
635
|
+
className: q,
|
|
636
|
+
children: n.up
|
|
637
|
+
}
|
|
638
|
+
),
|
|
639
|
+
/* @__PURE__ */ i(
|
|
640
|
+
"text",
|
|
641
|
+
{
|
|
642
|
+
x: S,
|
|
643
|
+
y: N + A + 11,
|
|
644
|
+
fontSize: "7",
|
|
645
|
+
textAnchor: "middle",
|
|
646
|
+
className: q,
|
|
647
|
+
children: n.down
|
|
648
|
+
}
|
|
649
|
+
),
|
|
650
|
+
/* @__PURE__ */ i(
|
|
651
|
+
"text",
|
|
652
|
+
{
|
|
653
|
+
x: S + A + 10,
|
|
654
|
+
y: N + 2,
|
|
655
|
+
fontSize: "7",
|
|
656
|
+
textAnchor: "middle",
|
|
657
|
+
className: q,
|
|
658
|
+
children: r
|
|
659
|
+
}
|
|
660
|
+
),
|
|
661
|
+
/* @__PURE__ */ i(
|
|
662
|
+
"text",
|
|
663
|
+
{
|
|
664
|
+
x: S - A - 10,
|
|
665
|
+
y: N + 2,
|
|
666
|
+
fontSize: "7",
|
|
667
|
+
textAnchor: "middle",
|
|
668
|
+
className: q,
|
|
669
|
+
children: X
|
|
670
|
+
}
|
|
671
|
+
),
|
|
672
|
+
/* @__PURE__ */ i(
|
|
673
|
+
"line",
|
|
674
|
+
{
|
|
675
|
+
x1: S,
|
|
676
|
+
y1: N,
|
|
677
|
+
x2: x,
|
|
678
|
+
y2: f,
|
|
679
|
+
strokeWidth: "2.5",
|
|
680
|
+
strokeLinecap: "round",
|
|
681
|
+
className: Me
|
|
682
|
+
}
|
|
683
|
+
),
|
|
684
|
+
/* @__PURE__ */ i(
|
|
685
|
+
"polygon",
|
|
686
|
+
{
|
|
687
|
+
points: `${b},${g} ${k},${I} ${B},${K}`,
|
|
688
|
+
className: le
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ i("circle", { cx: S, cy: N, r: "2.5", className: le })
|
|
692
|
+
]
|
|
693
|
+
}
|
|
694
|
+
) });
|
|
695
|
+
}
|
|
696
|
+
const Dt = He("ds:flex ds:flex-col", {
|
|
697
|
+
variants: {
|
|
698
|
+
density: {
|
|
699
|
+
comfortable: "ds:gap-4",
|
|
700
|
+
compact: "ds:gap-2"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
defaultVariants: { density: "comfortable" }
|
|
704
|
+
}), Le = {
|
|
705
|
+
4: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(4,minmax(0,1fr))]",
|
|
706
|
+
6: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(6,minmax(0,1fr))]"
|
|
707
|
+
}, L = "ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]", Lt = "ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]", Mt = We(
|
|
708
|
+
({
|
|
709
|
+
id: t,
|
|
710
|
+
mode: s = "interactive",
|
|
711
|
+
value: n,
|
|
712
|
+
defaultValue: p,
|
|
713
|
+
onChange: u,
|
|
714
|
+
bands: y = ["far", "near"],
|
|
715
|
+
showPrism: x = !1,
|
|
716
|
+
metadata: f = !0,
|
|
717
|
+
charts: b = !0,
|
|
718
|
+
chartsBand: g,
|
|
719
|
+
density: k = "comfortable",
|
|
720
|
+
ariaLabel: I,
|
|
721
|
+
className: B
|
|
722
|
+
}, K) => {
|
|
723
|
+
const { t: r } = Fe(), X = je(), O = t ?? X, Ae = ue(null), te = s === "interactive", pe = n !== void 0, [ke, Ie] = Xe(
|
|
724
|
+
p ?? bt()
|
|
725
|
+
), Y = pe ? n : ke, E = ue(Y);
|
|
726
|
+
E.current = Y;
|
|
727
|
+
const z = R(
|
|
728
|
+
(e) => {
|
|
729
|
+
pe || Ie(e), u == null || u(e);
|
|
730
|
+
},
|
|
731
|
+
[pe, u]
|
|
732
|
+
), U = R(
|
|
733
|
+
(e, h, a, d) => {
|
|
734
|
+
z(xt(E.current, e, h, a, d ?? void 0));
|
|
735
|
+
},
|
|
736
|
+
[z]
|
|
737
|
+
), V = R(
|
|
738
|
+
(e) => {
|
|
739
|
+
z({ ...E.current, ...e });
|
|
740
|
+
},
|
|
741
|
+
[z]
|
|
742
|
+
), G = y, _e = ue(G);
|
|
743
|
+
_e.current = G;
|
|
744
|
+
const re = fe(
|
|
745
|
+
() => x ? ["sphere", "cylinder", "axis", "add", "prism", "base"] : ["sphere", "cylinder", "axis", "add"],
|
|
746
|
+
[x]
|
|
747
|
+
), Ce = R((e, h) => {
|
|
748
|
+
const a = Ae.current;
|
|
749
|
+
if (!a) return;
|
|
750
|
+
const d = h ?? _e.current[0];
|
|
751
|
+
if (!d) return;
|
|
752
|
+
const m = a.querySelector(
|
|
753
|
+
`[data-band="${d}"][data-eye="${e}"]`
|
|
754
|
+
);
|
|
755
|
+
if (!m) return;
|
|
756
|
+
(m.querySelector(
|
|
757
|
+
'input, textarea, button:not([tabindex="-1"])'
|
|
758
|
+
) ?? m.querySelector("[tabindex]") ?? m).focus();
|
|
759
|
+
}, []), me = fe(
|
|
760
|
+
() => ({
|
|
761
|
+
focusEye: Ce,
|
|
762
|
+
getValue: () => E.current,
|
|
763
|
+
setValue: (e) => z(e),
|
|
764
|
+
getRow: (e, h) => oe(E.current, e, h),
|
|
765
|
+
setCell: U,
|
|
766
|
+
clearBand: (e) => z(vt(E.current, e)),
|
|
767
|
+
getBands: () => Ee(E.current)
|
|
768
|
+
}),
|
|
769
|
+
[Ce, z, U]
|
|
770
|
+
);
|
|
771
|
+
Ye(K, () => me, [me]), qe(Qe, me, O);
|
|
772
|
+
const D = R(
|
|
773
|
+
(e) => r(`opticalPrescription.eye.${e}Name`),
|
|
774
|
+
[r]
|
|
775
|
+
), ie = R(
|
|
776
|
+
(e) => r(`opticalPrescription.column.${e}`),
|
|
777
|
+
[r]
|
|
778
|
+
), J = R(
|
|
779
|
+
(e) => r(`opticalPrescription.band.${e}`),
|
|
780
|
+
[r]
|
|
781
|
+
), $e = R(
|
|
782
|
+
(e, h, a) => {
|
|
783
|
+
const d = oe(E.current, e, h), m = d == null ? void 0 : d[a], w = r("opticalPrescription.cellLabel", {
|
|
784
|
+
eye: D(h),
|
|
785
|
+
column: ie(a),
|
|
786
|
+
band: J(e)
|
|
787
|
+
});
|
|
788
|
+
return a === "base" ? /* @__PURE__ */ i("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ i(
|
|
789
|
+
he,
|
|
790
|
+
{
|
|
791
|
+
size: "md",
|
|
792
|
+
clearable: !0,
|
|
793
|
+
"aria-label": w,
|
|
794
|
+
value: typeof m == "string" ? m : "",
|
|
795
|
+
options: et.map((Q) => ({
|
|
796
|
+
value: Q,
|
|
797
|
+
label: r(`opticalPrescription.base.${Q}`)
|
|
798
|
+
})),
|
|
799
|
+
onValueChange: (Q) => U(e, h, "base", Q === "" ? null : Q)
|
|
800
|
+
}
|
|
801
|
+
) }, a) : /* @__PURE__ */ i("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ i(
|
|
802
|
+
se,
|
|
803
|
+
{
|
|
804
|
+
size: "md",
|
|
805
|
+
"aria-label": w,
|
|
806
|
+
value: typeof m == "number" ? m : null,
|
|
807
|
+
...a === "axis" ? {
|
|
808
|
+
mode: "integer",
|
|
809
|
+
step: lt,
|
|
810
|
+
min: Ne,
|
|
811
|
+
max: we
|
|
812
|
+
} : a === "add" ? {
|
|
813
|
+
mode: "decimal",
|
|
814
|
+
step: ne,
|
|
815
|
+
min: ot,
|
|
816
|
+
max: ct
|
|
817
|
+
} : a === "prism" ? {
|
|
818
|
+
mode: "decimal",
|
|
819
|
+
step: ne,
|
|
820
|
+
min: dt,
|
|
821
|
+
max: pt
|
|
822
|
+
} : a === "cylinder" ? {
|
|
823
|
+
mode: "decimal",
|
|
824
|
+
step: ne,
|
|
825
|
+
min: at,
|
|
826
|
+
max: nt
|
|
827
|
+
} : {
|
|
828
|
+
mode: "decimal",
|
|
829
|
+
step: ne,
|
|
830
|
+
min: it,
|
|
831
|
+
max: st
|
|
832
|
+
},
|
|
833
|
+
onChange: (F) => U(e, h, a, F)
|
|
834
|
+
}
|
|
835
|
+
) }, a);
|
|
836
|
+
},
|
|
837
|
+
[r, D, ie, J, U]
|
|
838
|
+
), Te = R(
|
|
839
|
+
(e, h, a) => {
|
|
840
|
+
const d = oe(E.current, e, h), m = d == null ? void 0 : d[a];
|
|
841
|
+
let w;
|
|
842
|
+
return m === void 0 ? w = r("opticalPrescription.empty") : a === "base" && typeof m == "string" ? w = r(`opticalPrescription.base.${m}`) : typeof m == "number" ? w = ht(a, m) : w = r("opticalPrescription.empty"), /* @__PURE__ */ i("span", { role: "cell", "data-field": a, className: Lt, children: w }, a);
|
|
843
|
+
},
|
|
844
|
+
[r]
|
|
845
|
+
), Be = R(
|
|
846
|
+
(e) => {
|
|
847
|
+
const h = `${O}-band-${e}`, a = Le[re.length] ?? Le[4];
|
|
848
|
+
return /* @__PURE__ */ l(
|
|
849
|
+
"section",
|
|
850
|
+
{
|
|
851
|
+
className: "ds:flex ds:flex-col ds:gap-1",
|
|
852
|
+
"aria-labelledby": h,
|
|
853
|
+
children: [
|
|
854
|
+
/* @__PURE__ */ i(
|
|
855
|
+
"p",
|
|
856
|
+
{
|
|
857
|
+
id: h,
|
|
858
|
+
className: "ds:m-0 ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]",
|
|
859
|
+
children: J(e)
|
|
860
|
+
}
|
|
861
|
+
),
|
|
862
|
+
/* @__PURE__ */ l(
|
|
863
|
+
"div",
|
|
864
|
+
{
|
|
865
|
+
role: "table",
|
|
866
|
+
"aria-label": J(e),
|
|
867
|
+
className: `ds:grid ds:items-center ds:gap-x-2 ds:gap-y-1 ${a}`,
|
|
868
|
+
children: [
|
|
869
|
+
/* @__PURE__ */ l("div", { role: "row", className: "ds:contents", children: [
|
|
870
|
+
/* @__PURE__ */ i(
|
|
871
|
+
"span",
|
|
872
|
+
{
|
|
873
|
+
role: "columnheader",
|
|
874
|
+
className: `${L} ds:text-start`,
|
|
875
|
+
children: r("opticalPrescription.column.eye")
|
|
876
|
+
}
|
|
877
|
+
),
|
|
878
|
+
re.map((d) => /* @__PURE__ */ i(
|
|
879
|
+
"span",
|
|
880
|
+
{
|
|
881
|
+
role: "columnheader",
|
|
882
|
+
className: `${L} ds:text-end`,
|
|
883
|
+
children: ie(d)
|
|
884
|
+
},
|
|
885
|
+
d
|
|
886
|
+
))
|
|
887
|
+
] }),
|
|
888
|
+
Z.map((d) => /* @__PURE__ */ l(
|
|
889
|
+
"div",
|
|
890
|
+
{
|
|
891
|
+
role: "row",
|
|
892
|
+
"data-eye": d,
|
|
893
|
+
"data-band": e,
|
|
894
|
+
className: "ds:contents",
|
|
895
|
+
children: [
|
|
896
|
+
/* @__PURE__ */ i(
|
|
897
|
+
"span",
|
|
898
|
+
{
|
|
899
|
+
role: "rowheader",
|
|
900
|
+
tabIndex: -1,
|
|
901
|
+
"aria-label": D(d),
|
|
902
|
+
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)]",
|
|
903
|
+
children: r(`opticalPrescription.eye.${d}`)
|
|
904
|
+
}
|
|
905
|
+
),
|
|
906
|
+
re.map(
|
|
907
|
+
(m) => te ? $e(e, d, m) : Te(e, d, m)
|
|
908
|
+
)
|
|
909
|
+
]
|
|
910
|
+
},
|
|
911
|
+
d
|
|
912
|
+
))
|
|
913
|
+
]
|
|
914
|
+
}
|
|
915
|
+
)
|
|
916
|
+
]
|
|
917
|
+
},
|
|
918
|
+
e
|
|
919
|
+
);
|
|
920
|
+
},
|
|
921
|
+
[
|
|
922
|
+
O,
|
|
923
|
+
re,
|
|
924
|
+
te,
|
|
925
|
+
J,
|
|
926
|
+
ie,
|
|
927
|
+
D,
|
|
928
|
+
$e,
|
|
929
|
+
Te,
|
|
930
|
+
r
|
|
931
|
+
]
|
|
932
|
+
), H = fe(() => b === !1 ? [] : b === !0 ? gt : b, [b]), Oe = R(() => {
|
|
933
|
+
var w;
|
|
934
|
+
if (H.length === 0) return null;
|
|
935
|
+
const e = Y, h = Ee(e), a = g ?? G.find((o) => h.includes(o)), d = (o) => a ? oe(e, a, o) : void 0, m = [];
|
|
936
|
+
if (H.includes("tabo"))
|
|
937
|
+
for (const o of Z) {
|
|
938
|
+
const c = (w = d(o)) == null ? void 0 : w.axis;
|
|
939
|
+
if (c === void 0) continue;
|
|
940
|
+
const F = Re(c);
|
|
941
|
+
m.push(
|
|
942
|
+
/* @__PURE__ */ i(
|
|
943
|
+
Rt,
|
|
944
|
+
{
|
|
945
|
+
eye: o,
|
|
946
|
+
axisDeg: F,
|
|
947
|
+
ariaLabel: r("opticalPrescription.charts.tabo.aria", {
|
|
948
|
+
eye: D(o),
|
|
949
|
+
axis: W(F)
|
|
950
|
+
}),
|
|
951
|
+
caption: r("opticalPrescription.charts.tabo.caption", {
|
|
952
|
+
eye: r(`opticalPrescription.eye.${o}`),
|
|
953
|
+
axis: W(F)
|
|
954
|
+
})
|
|
955
|
+
},
|
|
956
|
+
`tabo-${o}`
|
|
957
|
+
)
|
|
958
|
+
);
|
|
959
|
+
}
|
|
960
|
+
if (H.includes("powerCross"))
|
|
961
|
+
for (const o of Z) {
|
|
962
|
+
const c = yt(d(o));
|
|
963
|
+
c && m.push(
|
|
964
|
+
/* @__PURE__ */ i(
|
|
965
|
+
_t,
|
|
966
|
+
{
|
|
967
|
+
eye: o,
|
|
968
|
+
primary: c.primary,
|
|
969
|
+
secondary: c.secondary,
|
|
970
|
+
primaryText: M(c.primary.power, 2),
|
|
971
|
+
secondaryText: M(c.secondary.power, 2),
|
|
972
|
+
ariaLabel: r("opticalPrescription.charts.powerCross.aria", {
|
|
973
|
+
eye: D(o),
|
|
974
|
+
primary: M(c.primary.power, 2),
|
|
975
|
+
primaryDeg: W(c.primary.deg),
|
|
976
|
+
secondary: M(c.secondary.power, 2),
|
|
977
|
+
secondaryDeg: W(c.secondary.deg)
|
|
978
|
+
}),
|
|
979
|
+
caption: r("opticalPrescription.charts.powerCross.caption", {
|
|
980
|
+
eye: r(`opticalPrescription.eye.${o}`)
|
|
981
|
+
}),
|
|
982
|
+
detail: `${M(c.primary.power, 2)} @ ${W(c.primary.deg)} · ${M(c.secondary.power, 2)} @ ${W(c.secondary.deg)}`
|
|
983
|
+
},
|
|
984
|
+
`cross-${o}`
|
|
985
|
+
)
|
|
986
|
+
);
|
|
987
|
+
}
|
|
988
|
+
if (H.includes("pd")) {
|
|
989
|
+
const o = e.pdRight !== void 0 && e.pdLeft !== void 0;
|
|
990
|
+
(o || e.pd !== void 0) && m.push(
|
|
991
|
+
/* @__PURE__ */ i(
|
|
992
|
+
$t,
|
|
993
|
+
{
|
|
994
|
+
totalText: e.pd !== void 0 ? r("opticalPrescription.pd.value", { value: e.pd }) : void 0,
|
|
995
|
+
rightText: o ? r("opticalPrescription.pd.value", { value: e.pdRight }) : void 0,
|
|
996
|
+
leftText: o ? r("opticalPrescription.pd.value", { value: e.pdLeft }) : void 0,
|
|
997
|
+
ariaLabel: o ? r("opticalPrescription.charts.pd.ariaSplit", {
|
|
998
|
+
right: e.pdRight,
|
|
999
|
+
left: e.pdLeft
|
|
1000
|
+
}) : r("opticalPrescription.charts.pd.aria", { value: e.pd }),
|
|
1001
|
+
caption: r("opticalPrescription.charts.pd.caption"),
|
|
1002
|
+
detail: o ? r("opticalPrescription.pd.monocularValue", {
|
|
1003
|
+
right: e.pdRight,
|
|
1004
|
+
left: e.pdLeft
|
|
1005
|
+
}) : r("opticalPrescription.pd.value", { value: e.pd })
|
|
1006
|
+
},
|
|
1007
|
+
"pd"
|
|
1008
|
+
)
|
|
1009
|
+
);
|
|
1010
|
+
}
|
|
1011
|
+
if (H.includes("prismBase"))
|
|
1012
|
+
for (const o of Z) {
|
|
1013
|
+
const c = d(o);
|
|
1014
|
+
!c || c.prism === void 0 || c.prism <= 0 || !c.base || m.push(
|
|
1015
|
+
/* @__PURE__ */ i(
|
|
1016
|
+
Et,
|
|
1017
|
+
{
|
|
1018
|
+
eye: o,
|
|
1019
|
+
base: c.base,
|
|
1020
|
+
labels: {
|
|
1021
|
+
up: r("opticalPrescription.charts.prism.baseShort.up"),
|
|
1022
|
+
down: r("opticalPrescription.charts.prism.baseShort.down"),
|
|
1023
|
+
in: r("opticalPrescription.charts.prism.baseShort.in"),
|
|
1024
|
+
out: r("opticalPrescription.charts.prism.baseShort.out")
|
|
1025
|
+
},
|
|
1026
|
+
ariaLabel: r("opticalPrescription.charts.prism.aria", {
|
|
1027
|
+
eye: D(o),
|
|
1028
|
+
value: Se(c.prism),
|
|
1029
|
+
base: r(`opticalPrescription.base.${c.base}`)
|
|
1030
|
+
}),
|
|
1031
|
+
caption: r("opticalPrescription.charts.prism.caption", {
|
|
1032
|
+
eye: r(`opticalPrescription.eye.${o}`),
|
|
1033
|
+
value: Se(c.prism),
|
|
1034
|
+
base: r(
|
|
1035
|
+
`opticalPrescription.charts.prism.baseShort.${c.base}`
|
|
1036
|
+
)
|
|
1037
|
+
})
|
|
1038
|
+
},
|
|
1039
|
+
`prism-${o}`
|
|
1040
|
+
)
|
|
1041
|
+
);
|
|
1042
|
+
}
|
|
1043
|
+
return m.length === 0 ? null : (
|
|
1044
|
+
// Examiner-view clinical diagrams (OD drawn to the left of OS, nasal
|
|
1045
|
+
// towards the other eye) — physical order like the odontogram, so the
|
|
1046
|
+
// strip is pinned LTR and does not mirror in RTL.
|
|
1047
|
+
/* @__PURE__ */ i(
|
|
1048
|
+
"div",
|
|
1049
|
+
{
|
|
1050
|
+
role: "group",
|
|
1051
|
+
"aria-label": r("opticalPrescription.charts.label"),
|
|
1052
|
+
dir: "ltr",
|
|
1053
|
+
className: "ds:flex ds:flex-wrap ds:items-end ds:gap-4",
|
|
1054
|
+
children: m
|
|
1055
|
+
}
|
|
1056
|
+
)
|
|
1057
|
+
);
|
|
1058
|
+
}, [H, Y, g, G, D, r]), ze = R(() => {
|
|
1059
|
+
if (!f) return null;
|
|
1060
|
+
const e = Y;
|
|
1061
|
+
return te ? /* @__PURE__ */ l(
|
|
1062
|
+
"div",
|
|
1063
|
+
{
|
|
1064
|
+
role: "group",
|
|
1065
|
+
"aria-label": r("opticalPrescription.metaLabel"),
|
|
1066
|
+
className: "ds:grid ds:gap-3 ds:grid-cols-[repeat(auto-fit,minmax(8rem,1fr))]",
|
|
1067
|
+
children: [
|
|
1068
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1069
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.label") }),
|
|
1070
|
+
/* @__PURE__ */ i(
|
|
1071
|
+
se,
|
|
1072
|
+
{
|
|
1073
|
+
size: "md",
|
|
1074
|
+
mode: "decimal",
|
|
1075
|
+
step: 0.5,
|
|
1076
|
+
min: be,
|
|
1077
|
+
max: xe,
|
|
1078
|
+
"aria-label": r("opticalPrescription.pd.full"),
|
|
1079
|
+
value: e.pd ?? null,
|
|
1080
|
+
onChange: (a) => V({ pd: a ?? void 0 })
|
|
1081
|
+
}
|
|
1082
|
+
)
|
|
1083
|
+
] }),
|
|
1084
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1085
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.right") }),
|
|
1086
|
+
/* @__PURE__ */ i(
|
|
1087
|
+
se,
|
|
1088
|
+
{
|
|
1089
|
+
size: "md",
|
|
1090
|
+
mode: "decimal",
|
|
1091
|
+
step: 0.5,
|
|
1092
|
+
min: be / 2,
|
|
1093
|
+
max: xe / 2,
|
|
1094
|
+
"aria-label": r("opticalPrescription.pd.right"),
|
|
1095
|
+
value: e.pdRight ?? null,
|
|
1096
|
+
onChange: (a) => V({ pdRight: a ?? void 0 })
|
|
1097
|
+
}
|
|
1098
|
+
)
|
|
1099
|
+
] }),
|
|
1100
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1101
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.left") }),
|
|
1102
|
+
/* @__PURE__ */ i(
|
|
1103
|
+
se,
|
|
1104
|
+
{
|
|
1105
|
+
size: "md",
|
|
1106
|
+
mode: "decimal",
|
|
1107
|
+
step: 0.5,
|
|
1108
|
+
min: be / 2,
|
|
1109
|
+
max: xe / 2,
|
|
1110
|
+
"aria-label": r("opticalPrescription.pd.left"),
|
|
1111
|
+
value: e.pdLeft ?? null,
|
|
1112
|
+
onChange: (a) => V({ pdLeft: a ?? void 0 })
|
|
1113
|
+
}
|
|
1114
|
+
)
|
|
1115
|
+
] }),
|
|
1116
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1117
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.lensType.label") }),
|
|
1118
|
+
/* @__PURE__ */ i(
|
|
1119
|
+
he,
|
|
1120
|
+
{
|
|
1121
|
+
size: "md",
|
|
1122
|
+
clearable: !0,
|
|
1123
|
+
"aria-label": r("opticalPrescription.lensType.label"),
|
|
1124
|
+
value: e.lensType ?? "",
|
|
1125
|
+
options: tt.map((a) => ({
|
|
1126
|
+
value: a,
|
|
1127
|
+
label: r(`opticalPrescription.lensType.${a}`)
|
|
1128
|
+
})),
|
|
1129
|
+
onValueChange: (a) => V({ lensType: a === "" ? void 0 : a })
|
|
1130
|
+
}
|
|
1131
|
+
)
|
|
1132
|
+
] }),
|
|
1133
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1134
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.axisSystem.label") }),
|
|
1135
|
+
/* @__PURE__ */ i(
|
|
1136
|
+
he,
|
|
1137
|
+
{
|
|
1138
|
+
size: "md",
|
|
1139
|
+
clearable: !0,
|
|
1140
|
+
"aria-label": r("opticalPrescription.axisSystem.label"),
|
|
1141
|
+
value: e.axisSystem ?? "",
|
|
1142
|
+
options: rt.map((a) => ({
|
|
1143
|
+
value: a,
|
|
1144
|
+
label: r(`opticalPrescription.axisSystem.${a}`)
|
|
1145
|
+
})),
|
|
1146
|
+
onValueChange: (a) => V({ axisSystem: a === "" ? void 0 : a })
|
|
1147
|
+
}
|
|
1148
|
+
)
|
|
1149
|
+
] }),
|
|
1150
|
+
/* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]", children: [
|
|
1151
|
+
/* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.notes.label") }),
|
|
1152
|
+
/* @__PURE__ */ i(
|
|
1153
|
+
Ke,
|
|
1154
|
+
{
|
|
1155
|
+
size: "md",
|
|
1156
|
+
minRows: 2,
|
|
1157
|
+
"aria-label": r("opticalPrescription.notes.label"),
|
|
1158
|
+
placeholder: r("opticalPrescription.notes.placeholder"),
|
|
1159
|
+
value: e.notes ?? "",
|
|
1160
|
+
onChange: (a) => V({ notes: a.target.value || void 0 })
|
|
1161
|
+
}
|
|
1162
|
+
)
|
|
1163
|
+
] })
|
|
1164
|
+
]
|
|
1165
|
+
}
|
|
1166
|
+
) : e.pd !== void 0 || e.pdRight !== void 0 && e.pdLeft !== void 0 || e.lensType !== void 0 || e.axisSystem !== void 0 || e.notes !== void 0 && e.notes !== "" ? /* @__PURE__ */ l(
|
|
1167
|
+
v,
|
|
1168
|
+
{
|
|
1169
|
+
layout: "inline",
|
|
1170
|
+
labelWidth: "fixed",
|
|
1171
|
+
density: "compact",
|
|
1172
|
+
"aria-label": r("opticalPrescription.metaLabel"),
|
|
1173
|
+
children: [
|
|
1174
|
+
e.pd !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
|
|
1175
|
+
/* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.pd.label") }),
|
|
1176
|
+
/* @__PURE__ */ i(v.Detail, { numeric: !0, children: r("opticalPrescription.pd.value", { value: e.pd }) })
|
|
1177
|
+
] }),
|
|
1178
|
+
e.pdRight !== void 0 && e.pdLeft !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
|
|
1179
|
+
/* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.pd.monocular") }),
|
|
1180
|
+
/* @__PURE__ */ i(v.Detail, { numeric: !0, children: r("opticalPrescription.pd.monocularValue", {
|
|
1181
|
+
right: e.pdRight,
|
|
1182
|
+
left: e.pdLeft
|
|
1183
|
+
}) })
|
|
1184
|
+
] }),
|
|
1185
|
+
e.lensType !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
|
|
1186
|
+
/* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.lensType.label") }),
|
|
1187
|
+
/* @__PURE__ */ i(v.Detail, { children: r(`opticalPrescription.lensType.${e.lensType}`) })
|
|
1188
|
+
] }),
|
|
1189
|
+
e.axisSystem !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
|
|
1190
|
+
/* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.axisSystem.label") }),
|
|
1191
|
+
/* @__PURE__ */ i(v.Detail, { children: r(`opticalPrescription.axisSystem.${e.axisSystem}`) })
|
|
1192
|
+
] }),
|
|
1193
|
+
e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */ l(v.Row, { children: [
|
|
1194
|
+
/* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.notes.label") }),
|
|
1195
|
+
/* @__PURE__ */ i(v.Detail, { children: e.notes })
|
|
1196
|
+
] })
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
) : null;
|
|
1200
|
+
}, [f, Y, te, r, V]);
|
|
1201
|
+
return /* @__PURE__ */ l(
|
|
1202
|
+
"div",
|
|
1203
|
+
{
|
|
1204
|
+
ref: Ae,
|
|
1205
|
+
"data-component": "optical-prescription",
|
|
1206
|
+
"data-component-id": O,
|
|
1207
|
+
"data-mode": s,
|
|
1208
|
+
role: "group",
|
|
1209
|
+
"aria-label": I ?? r("opticalPrescription.ariaLabel"),
|
|
1210
|
+
className: Dt({ density: k, className: B }),
|
|
1211
|
+
children: [
|
|
1212
|
+
G.map((e) => Be(e)),
|
|
1213
|
+
Oe(),
|
|
1214
|
+
ze()
|
|
1215
|
+
]
|
|
1216
|
+
}
|
|
1217
|
+
);
|
|
1218
|
+
}
|
|
1219
|
+
);
|
|
1220
|
+
Mt.displayName = "OpticalPrescription";
|
|
1221
|
+
export {
|
|
1222
|
+
ct as A,
|
|
1223
|
+
Qe as B,
|
|
1224
|
+
gt as C,
|
|
1225
|
+
ne as D,
|
|
1226
|
+
Z as E,
|
|
1227
|
+
xt as F,
|
|
1228
|
+
tt as L,
|
|
1229
|
+
Mt as O,
|
|
1230
|
+
xe as P,
|
|
1231
|
+
Yt as R,
|
|
1232
|
+
st as S,
|
|
1233
|
+
ot as a,
|
|
1234
|
+
we as b,
|
|
1235
|
+
Ne as c,
|
|
1236
|
+
lt as d,
|
|
1237
|
+
rt as e,
|
|
1238
|
+
nt as f,
|
|
1239
|
+
at as g,
|
|
1240
|
+
Ze as h,
|
|
1241
|
+
be as i,
|
|
1242
|
+
et as j,
|
|
1243
|
+
pt as k,
|
|
1244
|
+
dt as l,
|
|
1245
|
+
it as m,
|
|
1246
|
+
Ee as n,
|
|
1247
|
+
vt as o,
|
|
1248
|
+
bt as p,
|
|
1249
|
+
ft as q,
|
|
1250
|
+
W as r,
|
|
1251
|
+
ut as s,
|
|
1252
|
+
Se as t,
|
|
1253
|
+
ht as u,
|
|
1254
|
+
M as v,
|
|
1255
|
+
mt as w,
|
|
1256
|
+
oe as x,
|
|
1257
|
+
yt as y,
|
|
1258
|
+
Re as z
|
|
1259
|
+
};
|
|
1260
|
+
//# sourceMappingURL=optical-prescription-BEjYQjiO.js.map
|