@alfadocs/ui-kit-debug 1.67.0 → 1.68.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/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
- package/dist/_chunks/{address-fields-CJtu7LQU.js.map → address-fields-BUPRs3n-.js.map} +1 -1
- package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-card-DR9gDdKp.js.map → agenda-card-BDuvreCe.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js.map → agenda-tray-CfwylhWf.js.map} +1 -1
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js.map → ai-credits-exhausted-notice-Bg8NpW2K.js.map} +1 -1
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js.map → ai-permission-notice-C00i6VhY.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/ai-prompt-input-DzgyoKyk.js.map +1 -0
- package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/alert-9kEwDza3.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js.map → alia-sidebar-B06ZSOaF.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js.map → anamnesis-summary-card-DQ3iE1gD.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
- package/dist/_chunks/anamnesis-summary-rows-CNK0fIJk.js.map +1 -0
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-card-CL32sux-.js.map → appointment-card-5JMWi9_f.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js.map → appointment-peek-D5XCfYKu.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js.map → appointment-timeline-VFP6HoXT.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js.map → appointment-tray-B3PDER3I.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{audio-recorder-B11RR-rC.js.map → audio-recorder-4Ll0pwYK.js.map} +1 -1
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js.map → auth-form-parts-B40zvD-a.js.map} +1 -1
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/avatar-BPiPL7ND.js.map +1 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js.map → balance-badge-cell-BG3DMly4.js.map} +1 -1
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{bishop-score-CaNTrikJ.js.map → bishop-score-Df8nF1qg.js.map} +1 -1
- package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/booking-B1pDbERi.js.map +1 -0
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-BhN-jisv.js.map → calendar-BvOM8rG3.js.map} +1 -1
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js.map → calendar-workspace-CYK1M83j.js.map} +1 -1
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
- package/dist/_chunks/{chat-message-fRLZ95O5.js.map → chat-message-Be-9vIIQ.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js.map → clinical-note-card-Caidqcwa.js.map} +1 -1
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/color-picker-AcaWuKah.js.map +1 -0
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/combobox-vF9O-QoG.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/contact-profile-card-CAwwOqHl.js.map +1 -0
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{control-room-rail-DUerqHeo.js.map → control-room-rail-BB6rCDWI.js.map} +1 -1
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/{country-select-DF5Bd_mn.js.map → country-select-CSE2Zm_s.js.map} +1 -1
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js.map +1 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{data-table-COoCQ4n_.js.map → data-table-Cty4-Jht.js.map} +1 -1
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js.map → dependent-selector-C4kOgO8b.js.map} +1 -1
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-preview-VyQOjFVL.js.map → document-preview-513f3iPn.js.map} +1 -1
- package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{document-scanner-CXH_GYh4.js.map → document-scanner-Bd3wbzpI.js.map} +1 -1
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js.map → editable-description-DnAFi360.js.map} +1 -1
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js.map → entity-summary-C2B8yNmc.js.map} +1 -1
- package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{error-summary-PUE5Zxp9.js.map → error-summary-mGxIyDAY.js.map} +1 -1
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{face-scheme-DAD-mXzM.js.map → face-scheme-CSJdRNad.js.map} +1 -1
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{file-manager-RiV7-OEE.js.map → file-manager-D4cPnRhL.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js.map → forgot-password-form-Dqi7R-NL.js.map} +1 -1
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/format-number-DdzqwMs1.js.map +1 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js.map → freemium-paywall-C73C8Rgd.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js.map → gestational-age-calculator-Du53p8MH.js.map} +1 -1
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/header-settings-DlUbvAUx.js.map +1 -0
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/{heatmap-C1TeC7wT.js.map → heatmap-DbZIQg14.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js.map → help-me-write-templates-5WkUfvc_.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js.map → kit-extensions-CYvLL4ee.js.map} +1 -1
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/length-token-DwMnGEYT.js.map +1 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js.map → link-cell-renderer-DtIsQWDO.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js.map → login-dev-card-vEL-o5wq.js.map} +1 -1
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/map-view-CtohteZD.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js.map → marketplace-app-shell-CcLQ0Dn-.js.map} +1 -1
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-card-A3mJNqfy.js.map → message-card-C_ksqIYM.js.map} +1 -1
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{message-tray-Ft6vSr71.js.map → message-tray-DCoQ4GQb.js.map} +1 -1
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/multi-select-BOad3za9.js.map +1 -0
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js.map → muscle-scheme-C66WlCxG.js.map} +1 -1
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js.map → note-timeline-KzL52MmB.js.map} +1 -1
- package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/{notes-panel-IdsmqRFC.js.map → notes-panel-BXN46XkF.js.map} +1 -1
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/notice-group-DkYzKyAZ.js.map +1 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{notification-tray-BR3seWA7.js.map → notification-tray-Cp18MW5b.js.map} +1 -1
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/operator-hero-6aAIQaFZ.js.map +1 -0
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
- package/dist/_chunks/optical-prescription-ulXnDbBe.js.map +1 -0
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/panel-header-CbtlTe85.js.map +1 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{panel-subview-yP4qIbKS.js.map → panel-subview-BPU7220K.js.map} +1 -1
- package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-details-C-EWQTms.js.map → patient-details-C4Dyo7Ck.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js.map → patient-field-row-DROvUkFu.js.map} +1 -1
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-search-DpAKidZ5.js.map → patient-search-BADdx3M1.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js.map → patient-summary-card-CAimxbuI.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js.map → payment-automation-upsell-CiwF5UrC.js.map} +1 -1
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js.map → payment-form-PBuh8PIa.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js.map → pdf-viewer-gAsNUsA8.js.map} +1 -1
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/periodontal-risk-chart-B7S9OmPC.js.map +1 -0
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js.map +1 -0
- package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/practice-results-BzThnpnm.js.map +1 -0
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js.map → pregnancy-dating-EFcFUJkQ.js.map} +1 -1
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js.map → privacy-mask-CCz9zuIh.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js.map → product-hub-panel-YuFbNPlT.js.map} +1 -1
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js.map +1 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{province-select-Bd20Z9Br.js.map → province-select-CDjs5obD.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js.map → radiograph-panel.agent-4UllIoTQ.js.map} +1 -1
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/rating-CGYpg5dj.js.map +1 -0
- package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{registration-form-BxwqUZzk.js.map → registration-form-1B0PTDal.js.map} +1 -1
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
- package/dist/_chunks/reviews-panel-CosDZyow.js.map +1 -0
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js.map → rich-text-editor-56dSsyZI.js.map} +1 -1
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/select-4S-eYZUf.js.map +1 -0
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{sign-document-D1P1nUQA.js.map → sign-document-BiOTs1P4.js.map} +1 -1
- package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/{signature-request-3u6TvRt2.js.map → signature-request-DAmNj_uq.js.map} +1 -1
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/skeleton-tTWJpvAq.js.map +1 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{slot-grid-dj5f6R2w.js.map → slot-grid-D_gix9mJ.js.map} +1 -1
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js.map → tabs-BTj-2qMZ.js.map} +1 -1
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js.map → task-card-Ci2XbLmq.js.map} +1 -1
- package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-editor-Bb5MMcid.js.map → task-editor-BomyxGoZ.js.map} +1 -1
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{task-tray-eQU4KJcA.js.map → task-tray-Dnc72nl-.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js.map → tasks-panel-ATz9JDy8.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/theme-toggle-DT_Jn4DC.js.map +1 -0
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{timeline-DEIuHrWz.js.map → timeline-wUuTDFY_.js.map} +1 -1
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js.map → tool-rail-C-M3eVdY.js.map} +1 -1
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js.map → transcript-panel-CoHHpcFg.js.map} +1 -1
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js.map → treatment-receipt-pFqWFyD_.js.map} +1 -1
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js.map → unit-converter-CIoTmCmP.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js.map → use-appointment-details-read-CUGfE0hV.js.map} +1 -1
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/use-dismissed-CTOWqA0e.js.map +1 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js.map → voice-control-panel-B8Lrk0C4.js.map} +1 -1
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{warning-stack-BdY-0bd3.js.map → warning-stack-BhHUmRiD.js.map} +1 -1
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js.map → workflow-map-ln4_OG8A.js.map} +1 -1
- package/dist/agent-catalog.json +172 -4
- package/dist/agent-i18n/en.json +25 -1
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/format-number.d.ts.map +1 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/length-token.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts +1 -0
- package/dist/components/_shared/option.d.ts.map +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-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +26 -0
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/details-form.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/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/country-select/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-summary/index.js +1 -1
- package/dist/components/face-scheme/face-scheme.d.ts.map +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/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/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.d.ts.map +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +51 -0
- package/dist/components/map-view/map-view.d.ts.map +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/multi-select/multi-select.d.ts.map +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.d.ts.map +1 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/index.js.map +1 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.agent.d.ts.map +1 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notice-group/notice-group.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -1
- package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -1
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- package/dist/components/panel-header/panel-header.d.ts.map +1 -1
- package/dist/components/panel-subview/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-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- package/dist/components/practice-results/practice-results.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress-notice/index.d.ts +3 -0
- package/dist/components/progress-notice/index.d.ts.map +1 -0
- package/dist/components/progress-notice/index.js +6 -0
- package/dist/components/progress-notice/index.js.map +1 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts.map +1 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -0
- package/dist/components/progress-notice/progress-notice.d.ts.map +1 -0
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/rating/rating.d.ts.map +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -0
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts.map +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -1
- package/dist/components/skeleton/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/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/theme-toggle/theme-toggle.d.ts.map +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/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 +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +81 -76
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/hooks/use-dismissed.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +22 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +22 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +22 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +22 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +22 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +22 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +22 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +22 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +22 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +22 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +22 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +22 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +22 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +22 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +22 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +22 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +22 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +22 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +22 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +22 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +22 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +22 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +22 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +22 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +22 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +22 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +22 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +22 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +22 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +22 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +22 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +22 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +22 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +22 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +22 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +22 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +1194 -1183
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +22 -0
- package/dist/locales/de.json +22 -0
- package/dist/locales/el.json +22 -0
- package/dist/locales/en.json +22 -0
- package/dist/locales/es.json +22 -0
- package/dist/locales/fr.json +22 -0
- package/dist/locales/hi.json +22 -0
- package/dist/locales/it.json +22 -0
- package/dist/locales/ja.json +22 -0
- package/dist/locales/nl.json +22 -0
- package/dist/locales/pl.json +22 -0
- package/dist/locales/pt.json +22 -0
- package/dist/locales/ro.json +22 -0
- package/dist/locales/ru.json +22 -0
- package/dist/locales/sq.json +22 -0
- package/dist/locales/sv.json +22 -0
- package/dist/locales/tr.json +22 -0
- package/dist/locales/zh.json +22 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-export-pdf.d.ts.map +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -1
- package/dist/_chunks/ai-prompt-input-DSGSe4LH.js.map +0 -1
- package/dist/_chunks/alert-DjsJMGRE.js.map +0 -1
- package/dist/_chunks/anamnesis-summary-rows-BQ_EokKz.js.map +0 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/avatar-WZY3eGE7.js.map +0 -1
- package/dist/_chunks/booking-tTVxKPQY.js.map +0 -1
- package/dist/_chunks/color-picker-BsggJovx.js.map +0 -1
- package/dist/_chunks/combobox-U5yfO6o0.js.map +0 -1
- package/dist/_chunks/contact-profile-card-C4-OCshj.js.map +0 -1
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js.map +0 -1
- package/dist/_chunks/header-settings-BSH9Gk0J.js.map +0 -1
- package/dist/_chunks/map-view-BuVfJMEa.js.map +0 -1
- package/dist/_chunks/multi-select-CMaAQQgb.js.map +0 -1
- package/dist/_chunks/operator-hero-3_RG4Dkj.js.map +0 -1
- package/dist/_chunks/optical-prescription-CxfMsbxi.js.map +0 -1
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/panel-header-BJkaUwnl.js.map +0 -1
- package/dist/_chunks/periodontal-risk-chart-CPy7CNFe.js.map +0 -1
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js.map +0 -1
- package/dist/_chunks/practice-results-BrUDDMXC.js.map +0 -1
- package/dist/_chunks/rating-C1Vrmpsi.js.map +0 -1
- package/dist/_chunks/reviews-panel-AvsVgtJu.js.map +0 -1
- package/dist/_chunks/select-k4gBdS8N.js.map +0 -1
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
- package/dist/_chunks/skeleton-B1KTdJ4N.js.map +0 -1
- package/dist/_chunks/theme-toggle-Ctb77x6O.js.map +0 -1
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { N as
|
|
7
|
-
import { S as
|
|
8
|
-
import { T as
|
|
1
|
+
import { jsx as s, jsxs as d, Fragment as Xe } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ye, useId as He, useRef as fe, useState as qe, useCallback as A, useMemo as he, useImperativeHandle as Fe } from "react";
|
|
3
|
+
import { c as Ke } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Ge } from "react-i18next";
|
|
5
|
+
import { u as Ue } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { N as ae } from "./number-input-CVwI1ltI.js";
|
|
7
|
+
import { S as ye } from "./select-4S-eYZUf.js";
|
|
8
|
+
import { T as Je } from "./text-area-COMVJ1yE.js";
|
|
9
9
|
import { D as v } from "./description-list-Q8640NHu.js";
|
|
10
|
-
|
|
10
|
+
import { a as Qe } from "./format-number-DdzqwMs1.js";
|
|
11
|
+
const be = {
|
|
11
12
|
enum: ["od", "os"],
|
|
12
13
|
description: "Eye — `od` (right eye) or `os` (left eye)."
|
|
13
|
-
},
|
|
14
|
+
}, ne = {
|
|
14
15
|
enum: ["far", "intermediate", "near"],
|
|
15
16
|
description: "Distance band — `far` (per lontano), `intermediate`, `near` (per vicino)."
|
|
16
|
-
},
|
|
17
|
+
}, Ze = {
|
|
17
18
|
enum: ["sphere", "cylinder", "axis", "add", "prism", "base"],
|
|
18
19
|
description: "Refraction column — dioptric `sphere` / `cylinder` / `add` (0.25 steps), `axis` (0–180°), `prism`, or `base` (a direction enum)."
|
|
19
|
-
},
|
|
20
|
+
}, et = {
|
|
20
21
|
type: "object",
|
|
21
22
|
properties: {
|
|
22
23
|
sphere: { type: "number" },
|
|
@@ -26,7 +27,7 @@ const ye = {
|
|
|
26
27
|
prism: { type: "number" },
|
|
27
28
|
base: { enum: ["up", "down", "in", "out"] }
|
|
28
29
|
}
|
|
29
|
-
},
|
|
30
|
+
}, tt = {
|
|
30
31
|
type: "object",
|
|
31
32
|
properties: {
|
|
32
33
|
bands: {
|
|
@@ -47,7 +48,7 @@ const ye = {
|
|
|
47
48
|
notes: { type: "string", description: "Free-text note — PHI." }
|
|
48
49
|
},
|
|
49
50
|
required: ["bands"]
|
|
50
|
-
},
|
|
51
|
+
}, rt = {
|
|
51
52
|
id: "optical-prescription",
|
|
52
53
|
// pick — focus an eye row (`focus_eye`, transient, not persisted);
|
|
53
54
|
// edit_inline — `set_cell` edits one refraction cell; set_value — `set_value`
|
|
@@ -63,14 +64,14 @@ const ye = {
|
|
|
63
64
|
descriptionKey: "ui.agent.opticalPrescription.state.prescription",
|
|
64
65
|
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
66
|
read: (t) => {
|
|
66
|
-
const
|
|
67
|
+
const r = t.getValue();
|
|
67
68
|
return {
|
|
68
|
-
bands:
|
|
69
|
-
pd:
|
|
70
|
-
pdRight:
|
|
71
|
-
pdLeft:
|
|
72
|
-
lensType:
|
|
73
|
-
axisSystem:
|
|
69
|
+
bands: r.bands,
|
|
70
|
+
pd: r.pd,
|
|
71
|
+
pdRight: r.pdRight,
|
|
72
|
+
pdLeft: r.pdLeft,
|
|
73
|
+
lensType: r.lensType,
|
|
74
|
+
axisSystem: r.axisSystem
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
77
|
},
|
|
@@ -87,14 +88,14 @@ const ye = {
|
|
|
87
88
|
argsType: "{ eye: Eye; band?: DistanceBand }",
|
|
88
89
|
argsSchema: {
|
|
89
90
|
type: "object",
|
|
90
|
-
properties: { eye:
|
|
91
|
+
properties: { eye: be, band: ne },
|
|
91
92
|
required: ["eye"]
|
|
92
93
|
},
|
|
93
94
|
idempotent: !0,
|
|
94
95
|
descriptionKey: "ui.agent.opticalPrescription.actions.focusEye",
|
|
95
96
|
description: "Move focus to an eye's row (first editable cell in interactive mode), optionally within a specific band.",
|
|
96
|
-
invoke: (t,
|
|
97
|
-
t.focusEye(
|
|
97
|
+
invoke: (t, r) => {
|
|
98
|
+
t.focusEye(r.eye, r.band);
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
101
|
get_row: {
|
|
@@ -102,15 +103,15 @@ const ye = {
|
|
|
102
103
|
argsType: "{ band: DistanceBand; eye: Eye }",
|
|
103
104
|
argsSchema: {
|
|
104
105
|
type: "object",
|
|
105
|
-
properties: { band:
|
|
106
|
+
properties: { band: ne, eye: be },
|
|
106
107
|
required: ["band", "eye"]
|
|
107
108
|
},
|
|
108
109
|
returns: "RefractionRow | undefined",
|
|
109
|
-
returnsSchema:
|
|
110
|
+
returnsSchema: et,
|
|
110
111
|
idempotent: !0,
|
|
111
112
|
descriptionKey: "ui.agent.opticalPrescription.actions.getRow",
|
|
112
113
|
description: "Read one eye's refraction row at a distance band.",
|
|
113
|
-
invoke: (t,
|
|
114
|
+
invoke: (t, r) => t.getRow(r.band, r.eye)
|
|
114
115
|
},
|
|
115
116
|
get_notes: {
|
|
116
117
|
// phi (not read): resolves the free-text clinical note, which is PHI.
|
|
@@ -131,9 +132,9 @@ const ye = {
|
|
|
131
132
|
argsSchema: {
|
|
132
133
|
type: "object",
|
|
133
134
|
properties: {
|
|
134
|
-
band:
|
|
135
|
-
eye:
|
|
136
|
-
field:
|
|
135
|
+
band: ne,
|
|
136
|
+
eye: be,
|
|
137
|
+
field: Ze,
|
|
137
138
|
value: {
|
|
138
139
|
description: "New cell value — a number for the dioptric/axis/prism columns, a base-direction string for `base`, or null to clear."
|
|
139
140
|
}
|
|
@@ -143,8 +144,8 @@ const ye = {
|
|
|
143
144
|
idempotent: !0,
|
|
144
145
|
descriptionKey: "ui.agent.opticalPrescription.actions.setCell",
|
|
145
146
|
description: "Set (or clear, with null) a single refraction cell — sphere / cylinder / axis / add / prism / base.",
|
|
146
|
-
invoke: (t,
|
|
147
|
-
t.setCell(
|
|
147
|
+
invoke: (t, r) => {
|
|
148
|
+
t.setCell(r.band, r.eye, r.field, r.value);
|
|
148
149
|
}
|
|
149
150
|
},
|
|
150
151
|
set_value: {
|
|
@@ -152,14 +153,14 @@ const ye = {
|
|
|
152
153
|
argsType: "{ value: OpticalPrescriptionValue }",
|
|
153
154
|
argsSchema: {
|
|
154
155
|
type: "object",
|
|
155
|
-
properties: { value:
|
|
156
|
+
properties: { value: tt },
|
|
156
157
|
required: ["value"]
|
|
157
158
|
},
|
|
158
159
|
idempotent: !0,
|
|
159
160
|
descriptionKey: "ui.agent.opticalPrescription.actions.setValue",
|
|
160
161
|
description: "Replace the entire prescription value.",
|
|
161
|
-
invoke: (t,
|
|
162
|
-
t.setValue(
|
|
162
|
+
invoke: (t, r) => {
|
|
163
|
+
t.setValue(r.value);
|
|
163
164
|
}
|
|
164
165
|
},
|
|
165
166
|
clear_band: {
|
|
@@ -167,14 +168,14 @@ const ye = {
|
|
|
167
168
|
argsType: "{ band: DistanceBand }",
|
|
168
169
|
argsSchema: {
|
|
169
170
|
type: "object",
|
|
170
|
-
properties: { band:
|
|
171
|
+
properties: { band: ne },
|
|
171
172
|
required: ["band"]
|
|
172
173
|
},
|
|
173
174
|
idempotent: !0,
|
|
174
175
|
descriptionKey: "ui.agent.opticalPrescription.actions.clearBand",
|
|
175
176
|
description: "Clear every refraction row in a distance band.",
|
|
176
|
-
invoke: (t,
|
|
177
|
-
t.clearBand(
|
|
177
|
+
invoke: (t, r) => {
|
|
178
|
+
t.clearBand(r.band);
|
|
178
179
|
}
|
|
179
180
|
}
|
|
180
181
|
},
|
|
@@ -190,115 +191,122 @@ const ye = {
|
|
|
190
191
|
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
|
}
|
|
192
193
|
}
|
|
193
|
-
}, Z = ["od", "os"],
|
|
194
|
+
}, Z = ["od", "os"], it = [
|
|
194
195
|
"far",
|
|
195
196
|
"intermediate",
|
|
196
197
|
"near"
|
|
197
|
-
],
|
|
198
|
+
], st = ["up", "down", "in", "out"], at = [
|
|
198
199
|
"single-vision",
|
|
199
200
|
"bifocal",
|
|
200
201
|
"progressive"
|
|
201
|
-
],
|
|
202
|
+
], nt = ["tabo", "int"], Gt = [
|
|
202
203
|
"sphere",
|
|
203
204
|
"cylinder",
|
|
204
205
|
"axis",
|
|
205
206
|
"add",
|
|
206
207
|
"prism",
|
|
207
208
|
"base"
|
|
208
|
-
],
|
|
209
|
-
function
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
], oe = 0.25, ot = -30, ct = 30, lt = -12, dt = 12, pt = 0, mt = 6, we = 0, Re = 180, ut = 1, xe = 40, ve = 85, ft = 0, ht = 20;
|
|
210
|
+
function Ae(t, r, n) {
|
|
211
|
+
return Qe(t, n, {
|
|
212
|
+
minimumFractionDigits: r,
|
|
213
|
+
maximumFractionDigits: r,
|
|
214
|
+
useGrouping: !1
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
function k(t, r = 2, n = "en") {
|
|
218
|
+
const o = Ae(Math.abs(t), r, n);
|
|
219
|
+
return t > 0 ? `+${o}` : t < 0 ? `-${o}` : o;
|
|
212
220
|
}
|
|
213
|
-
function
|
|
214
|
-
return
|
|
221
|
+
function yt(t, r = "en") {
|
|
222
|
+
return k(t, 2, r);
|
|
215
223
|
}
|
|
216
|
-
function
|
|
217
|
-
return
|
|
224
|
+
function bt(t, r = "en") {
|
|
225
|
+
return k(t, 2, r);
|
|
218
226
|
}
|
|
219
|
-
function
|
|
220
|
-
return `+${Math.abs(t)
|
|
227
|
+
function xt(t, r = "en") {
|
|
228
|
+
return `+${Ae(Math.abs(t), 2, r)}`;
|
|
221
229
|
}
|
|
222
230
|
function W(t) {
|
|
223
|
-
return `${Math.min(
|
|
231
|
+
return `${Math.min(Re, Math.max(we, Math.round(t)))}°`;
|
|
224
232
|
}
|
|
225
|
-
function
|
|
226
|
-
return t
|
|
233
|
+
function Ne(t, r = "en") {
|
|
234
|
+
return Ae(t, 2, r);
|
|
227
235
|
}
|
|
228
|
-
function
|
|
236
|
+
function vt(t, r, n = "en") {
|
|
229
237
|
switch (t) {
|
|
230
238
|
case "sphere":
|
|
231
|
-
return
|
|
239
|
+
return yt(r, n);
|
|
232
240
|
case "cylinder":
|
|
233
|
-
return
|
|
241
|
+
return bt(r, n);
|
|
234
242
|
case "add":
|
|
235
|
-
return
|
|
243
|
+
return xt(r, n);
|
|
236
244
|
case "axis":
|
|
237
|
-
return W(
|
|
245
|
+
return W(r);
|
|
238
246
|
case "prism":
|
|
239
|
-
return
|
|
247
|
+
return Ne(r, n);
|
|
240
248
|
default:
|
|
241
|
-
return String(
|
|
249
|
+
return String(r);
|
|
242
250
|
}
|
|
243
251
|
}
|
|
244
|
-
function
|
|
245
|
-
return t >=
|
|
252
|
+
function _e(t) {
|
|
253
|
+
return t >= we && t <= Re ? t : (t % 180 + 180) % 180;
|
|
246
254
|
}
|
|
247
|
-
function
|
|
255
|
+
function gt(t) {
|
|
248
256
|
if (!t || t.sphere === void 0 && t.cylinder === void 0)
|
|
249
257
|
return;
|
|
250
|
-
const
|
|
258
|
+
const r = t.sphere ?? 0, n = t.cylinder ?? 0, o = _e(t.axis ?? 0);
|
|
251
259
|
return {
|
|
252
|
-
primary: { deg:
|
|
253
|
-
secondary: { deg: (
|
|
260
|
+
primary: { deg: o, power: r },
|
|
261
|
+
secondary: { deg: (o + 90) % 180, power: r + n }
|
|
254
262
|
};
|
|
255
263
|
}
|
|
256
|
-
function
|
|
264
|
+
function Pt() {
|
|
257
265
|
return { bands: {} };
|
|
258
266
|
}
|
|
259
|
-
function
|
|
260
|
-
var
|
|
261
|
-
return (
|
|
267
|
+
function ce(t, r, n) {
|
|
268
|
+
var o;
|
|
269
|
+
return (o = t.bands[r]) == null ? void 0 : o[n];
|
|
262
270
|
}
|
|
263
|
-
function
|
|
264
|
-
const y = { ...t.bands }, x = { ...y[
|
|
265
|
-
return u == null ? delete f[
|
|
271
|
+
function St(t, r, n, o, u) {
|
|
272
|
+
const y = { ...t.bands }, x = { ...y[r] ?? {} }, f = { ...x[n] ?? {} };
|
|
273
|
+
return u == null ? delete f[o] : f[o] = u, Object.keys(f).length === 0 ? delete x[n] : x[n] = f, Object.keys(x).length === 0 ? delete y[r] : y[r] = x, { ...t, bands: y };
|
|
266
274
|
}
|
|
267
|
-
function
|
|
268
|
-
if (!t.bands[
|
|
275
|
+
function Nt(t, r) {
|
|
276
|
+
if (!t.bands[r]) return t;
|
|
269
277
|
const n = { ...t.bands };
|
|
270
|
-
return delete n[
|
|
278
|
+
return delete n[r], { ...t, bands: n };
|
|
271
279
|
}
|
|
272
|
-
function
|
|
273
|
-
return
|
|
274
|
-
const n = t.bands[
|
|
275
|
-
return n ? Z.some((
|
|
276
|
-
const u = n[
|
|
280
|
+
function Le(t) {
|
|
281
|
+
return it.filter((r) => {
|
|
282
|
+
const n = t.bands[r];
|
|
283
|
+
return n ? Z.some((o) => {
|
|
284
|
+
const u = n[o];
|
|
277
285
|
return u !== void 0 && Object.keys(u).length > 0;
|
|
278
286
|
}) : !1;
|
|
279
287
|
});
|
|
280
288
|
}
|
|
281
|
-
const
|
|
282
|
-
function
|
|
283
|
-
const u =
|
|
284
|
-
return [t + n * Math.cos(u),
|
|
289
|
+
const wt = ["tabo", "powerCross", "pd", "prismBase"], j = "ds:[stroke:var(--muted-foreground)] ds:[fill:none]", F = "ds:[fill:var(--muted-foreground)]", ee = "ds:[stroke:var(--foreground)] ds:[fill:none]", le = "ds:[fill:var(--foreground)]", Ie = "ds:[stroke:var(--primary)] ds:[fill:none]", de = "ds:[fill:var(--primary)]", Rt = "ds:m-0 ds:flex ds:flex-col ds:items-center ds:gap-1", At = "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)] ds:text-center";
|
|
290
|
+
function C(t, r, n, o) {
|
|
291
|
+
const u = o * Math.PI / 180;
|
|
292
|
+
return [t + n * Math.cos(u), r - n * Math.sin(u)];
|
|
285
293
|
}
|
|
286
|
-
function
|
|
294
|
+
function pe({
|
|
287
295
|
chart: t,
|
|
288
|
-
eye:
|
|
296
|
+
eye: r,
|
|
289
297
|
caption: n,
|
|
290
|
-
detail:
|
|
298
|
+
detail: o,
|
|
291
299
|
children: u
|
|
292
300
|
}) {
|
|
293
|
-
return /* @__PURE__ */
|
|
301
|
+
return /* @__PURE__ */ d("figure", { className: Rt, "data-chart": t, "data-eye": r, children: [
|
|
294
302
|
u,
|
|
295
|
-
/* @__PURE__ */
|
|
303
|
+
/* @__PURE__ */ d("figcaption", { dir: "auto", className: At, children: [
|
|
296
304
|
n,
|
|
297
|
-
|
|
305
|
+
o !== void 0 && /* @__PURE__ */ s("span", { className: "ds:block ds:text-[var(--foreground)]", children: o })
|
|
298
306
|
] })
|
|
299
307
|
] });
|
|
300
308
|
}
|
|
301
|
-
const
|
|
309
|
+
const $ = 60, T = 62, E = 48, _t = [
|
|
302
310
|
[0, 7],
|
|
303
311
|
[30, 4],
|
|
304
312
|
[45, 5],
|
|
@@ -308,10 +316,10 @@ const C = 60, $ = 62, T = 48, Nt = [
|
|
|
308
316
|
[135, 5],
|
|
309
317
|
[150, 4],
|
|
310
318
|
[180, 7]
|
|
311
|
-
],
|
|
312
|
-
function
|
|
313
|
-
const u =
|
|
314
|
-
return /* @__PURE__ */
|
|
319
|
+
], Ct = [0, 45, 90, 135, 180];
|
|
320
|
+
function $t({ eye: t, axisDeg: r, ariaLabel: n, caption: o }) {
|
|
321
|
+
const u = _e(r), [y, x] = C($, T, E - 6, u);
|
|
322
|
+
return /* @__PURE__ */ s(pe, { chart: "tabo", eye: t, caption: o, children: /* @__PURE__ */ d(
|
|
315
323
|
"svg",
|
|
316
324
|
{
|
|
317
325
|
role: "img",
|
|
@@ -319,127 +327,127 @@ function Rt({ eye: t, axisDeg: s, ariaLabel: n, caption: p }) {
|
|
|
319
327
|
viewBox: "-4 0 128 76",
|
|
320
328
|
className: "ds:w-36",
|
|
321
329
|
children: [
|
|
322
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ s(
|
|
323
331
|
"line",
|
|
324
332
|
{
|
|
325
|
-
x1:
|
|
326
|
-
y1:
|
|
327
|
-
x2:
|
|
328
|
-
y2:
|
|
333
|
+
x1: $ - E,
|
|
334
|
+
y1: T,
|
|
335
|
+
x2: $ + E,
|
|
336
|
+
y2: T,
|
|
329
337
|
strokeWidth: "1",
|
|
330
338
|
className: j
|
|
331
339
|
}
|
|
332
340
|
),
|
|
333
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ s(
|
|
334
342
|
"path",
|
|
335
343
|
{
|
|
336
|
-
d: `M ${
|
|
344
|
+
d: `M ${$ - E} ${T} A ${E} ${E} 0 0 1 ${$ + E} ${T}`,
|
|
337
345
|
strokeWidth: "1",
|
|
338
346
|
className: j
|
|
339
347
|
}
|
|
340
348
|
),
|
|
341
|
-
|
|
342
|
-
const [g,
|
|
343
|
-
return /* @__PURE__ */
|
|
349
|
+
_t.map(([f, b]) => {
|
|
350
|
+
const [g, I] = C($, T, E, f), [B, O] = C($, T, E - b, f);
|
|
351
|
+
return /* @__PURE__ */ s(
|
|
344
352
|
"line",
|
|
345
353
|
{
|
|
346
354
|
x1: g,
|
|
347
|
-
y1:
|
|
348
|
-
x2:
|
|
349
|
-
y2:
|
|
355
|
+
y1: I,
|
|
356
|
+
x2: B,
|
|
357
|
+
y2: O,
|
|
350
358
|
strokeWidth: "1",
|
|
351
359
|
className: j
|
|
352
360
|
},
|
|
353
361
|
f
|
|
354
362
|
);
|
|
355
363
|
}),
|
|
356
|
-
|
|
357
|
-
const [b, g] =
|
|
358
|
-
return /* @__PURE__ */
|
|
364
|
+
Ct.map((f) => {
|
|
365
|
+
const [b, g] = C($, T, E + 7, f);
|
|
366
|
+
return /* @__PURE__ */ s(
|
|
359
367
|
"text",
|
|
360
368
|
{
|
|
361
369
|
x: b,
|
|
362
370
|
y: g + 2,
|
|
363
371
|
fontSize: "7",
|
|
364
372
|
textAnchor: "middle",
|
|
365
|
-
className:
|
|
373
|
+
className: F,
|
|
366
374
|
children: f
|
|
367
375
|
},
|
|
368
376
|
f
|
|
369
377
|
);
|
|
370
378
|
}),
|
|
371
|
-
/* @__PURE__ */
|
|
379
|
+
/* @__PURE__ */ s(
|
|
372
380
|
"line",
|
|
373
381
|
{
|
|
374
|
-
x1:
|
|
375
|
-
y1:
|
|
382
|
+
x1: $,
|
|
383
|
+
y1: T,
|
|
376
384
|
x2: y,
|
|
377
385
|
y2: x,
|
|
378
386
|
strokeWidth: "2.5",
|
|
379
387
|
strokeLinecap: "round",
|
|
380
|
-
className:
|
|
388
|
+
className: Ie
|
|
381
389
|
}
|
|
382
390
|
),
|
|
383
|
-
/* @__PURE__ */
|
|
391
|
+
/* @__PURE__ */ s("circle", { cx: $, cy: T, r: "2.5", className: de })
|
|
384
392
|
]
|
|
385
393
|
}
|
|
386
394
|
) });
|
|
387
395
|
}
|
|
388
|
-
const
|
|
389
|
-
function
|
|
396
|
+
const ge = 75, Pe = 56, Me = 32, Tt = 44;
|
|
397
|
+
function Et({
|
|
390
398
|
eye: t,
|
|
391
|
-
primary:
|
|
399
|
+
primary: r,
|
|
392
400
|
secondary: n,
|
|
393
|
-
primaryText:
|
|
401
|
+
primaryText: o,
|
|
394
402
|
secondaryText: u,
|
|
395
403
|
ariaLabel: y,
|
|
396
404
|
caption: x,
|
|
397
405
|
detail: f
|
|
398
406
|
}) {
|
|
399
407
|
const b = [
|
|
400
|
-
{ ...
|
|
408
|
+
{ ...r, text: o },
|
|
401
409
|
{ ...n, text: u }
|
|
402
410
|
];
|
|
403
|
-
return /* @__PURE__ */
|
|
411
|
+
return /* @__PURE__ */ s(pe, { chart: "powerCross", eye: t, caption: x, detail: f, children: /* @__PURE__ */ s(
|
|
404
412
|
"svg",
|
|
405
413
|
{
|
|
406
414
|
role: "img",
|
|
407
415
|
"aria-label": y,
|
|
408
416
|
viewBox: "0 0 150 104",
|
|
409
417
|
className: "ds:w-40",
|
|
410
|
-
children: b.map(({ deg: g, text:
|
|
411
|
-
const [
|
|
412
|
-
return /* @__PURE__ */
|
|
413
|
-
/* @__PURE__ */
|
|
418
|
+
children: b.map(({ deg: g, text: I }) => {
|
|
419
|
+
const [B, O] = C(ge, Pe, Me, g + 180), [K, i] = C(ge, Pe, Me, g), [X, P] = C(ge, Pe, Tt, g);
|
|
420
|
+
return /* @__PURE__ */ d("g", { children: [
|
|
421
|
+
/* @__PURE__ */ s(
|
|
414
422
|
"line",
|
|
415
423
|
{
|
|
416
|
-
x1:
|
|
417
|
-
y1:
|
|
424
|
+
x1: B,
|
|
425
|
+
y1: O,
|
|
418
426
|
x2: K,
|
|
419
|
-
y2:
|
|
427
|
+
y2: i,
|
|
420
428
|
strokeWidth: "1.5",
|
|
421
429
|
className: ee
|
|
422
430
|
}
|
|
423
431
|
),
|
|
424
|
-
/* @__PURE__ */
|
|
432
|
+
/* @__PURE__ */ s(
|
|
425
433
|
"text",
|
|
426
434
|
{
|
|
427
435
|
x: X,
|
|
428
|
-
y:
|
|
436
|
+
y: P - 4,
|
|
429
437
|
fontSize: "9",
|
|
430
438
|
textAnchor: "middle",
|
|
431
|
-
className:
|
|
432
|
-
children:
|
|
439
|
+
className: le,
|
|
440
|
+
children: I
|
|
433
441
|
}
|
|
434
442
|
),
|
|
435
|
-
/* @__PURE__ */
|
|
443
|
+
/* @__PURE__ */ d(
|
|
436
444
|
"text",
|
|
437
445
|
{
|
|
438
446
|
x: X,
|
|
439
|
-
y:
|
|
447
|
+
y: P + 5,
|
|
440
448
|
fontSize: "7",
|
|
441
449
|
textAnchor: "middle",
|
|
442
|
-
className:
|
|
450
|
+
className: F,
|
|
443
451
|
children: [
|
|
444
452
|
g,
|
|
445
453
|
"°"
|
|
@@ -451,122 +459,122 @@ function _t({
|
|
|
451
459
|
}
|
|
452
460
|
) });
|
|
453
461
|
}
|
|
454
|
-
const
|
|
462
|
+
const Dt = [
|
|
455
463
|
["od", 60],
|
|
456
464
|
["os", 160]
|
|
457
|
-
],
|
|
458
|
-
function
|
|
465
|
+
], Se = 24, S = 50;
|
|
466
|
+
function Lt({
|
|
459
467
|
totalText: t,
|
|
460
|
-
rightText:
|
|
468
|
+
rightText: r,
|
|
461
469
|
leftText: n,
|
|
462
|
-
ariaLabel:
|
|
470
|
+
ariaLabel: o,
|
|
463
471
|
caption: u,
|
|
464
472
|
detail: y
|
|
465
473
|
}) {
|
|
466
|
-
const x =
|
|
467
|
-
return /* @__PURE__ */
|
|
474
|
+
const x = r !== void 0 && n !== void 0;
|
|
475
|
+
return /* @__PURE__ */ s(pe, { chart: "pd", caption: u, detail: y, children: /* @__PURE__ */ d(
|
|
468
476
|
"svg",
|
|
469
477
|
{
|
|
470
478
|
role: "img",
|
|
471
|
-
"aria-label":
|
|
479
|
+
"aria-label": o,
|
|
472
480
|
viewBox: "0 0 220 64",
|
|
473
481
|
className: "ds:w-52",
|
|
474
482
|
children: [
|
|
475
|
-
|
|
476
|
-
/* @__PURE__ */
|
|
483
|
+
Dt.map(([f, b]) => /* @__PURE__ */ d("g", { children: [
|
|
484
|
+
/* @__PURE__ */ s(
|
|
477
485
|
"ellipse",
|
|
478
486
|
{
|
|
479
487
|
cx: b,
|
|
480
|
-
cy:
|
|
488
|
+
cy: Se,
|
|
481
489
|
rx: "17",
|
|
482
490
|
ry: "9",
|
|
483
491
|
strokeWidth: "1",
|
|
484
492
|
className: j
|
|
485
493
|
}
|
|
486
494
|
),
|
|
487
|
-
/* @__PURE__ */
|
|
488
|
-
/* @__PURE__ */
|
|
495
|
+
/* @__PURE__ */ s("circle", { cx: b, cy: Se, r: "3.5", className: de }),
|
|
496
|
+
/* @__PURE__ */ s(
|
|
489
497
|
"line",
|
|
490
498
|
{
|
|
491
499
|
x1: b,
|
|
492
|
-
y1:
|
|
500
|
+
y1: Se + 10,
|
|
493
501
|
x2: b,
|
|
494
|
-
y2:
|
|
502
|
+
y2: S + 4,
|
|
495
503
|
strokeWidth: "1",
|
|
496
504
|
strokeDasharray: "2 2",
|
|
497
505
|
className: j
|
|
498
506
|
}
|
|
499
507
|
)
|
|
500
508
|
] }, f)),
|
|
501
|
-
/* @__PURE__ */
|
|
509
|
+
/* @__PURE__ */ s(
|
|
502
510
|
"line",
|
|
503
511
|
{
|
|
504
512
|
x1: "60",
|
|
505
|
-
y1:
|
|
513
|
+
y1: S,
|
|
506
514
|
x2: "160",
|
|
507
|
-
y2:
|
|
515
|
+
y2: S,
|
|
508
516
|
strokeWidth: "1",
|
|
509
517
|
className: ee
|
|
510
518
|
}
|
|
511
519
|
),
|
|
512
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ s(
|
|
513
521
|
"path",
|
|
514
522
|
{
|
|
515
|
-
d: `M 66 ${
|
|
523
|
+
d: `M 66 ${S - 3} L 60 ${S} L 66 ${S + 3}`,
|
|
516
524
|
strokeWidth: "1",
|
|
517
525
|
className: ee
|
|
518
526
|
}
|
|
519
527
|
),
|
|
520
|
-
/* @__PURE__ */
|
|
528
|
+
/* @__PURE__ */ s(
|
|
521
529
|
"path",
|
|
522
530
|
{
|
|
523
|
-
d: `M 154 ${
|
|
531
|
+
d: `M 154 ${S - 3} L 160 ${S} L 154 ${S + 3}`,
|
|
524
532
|
strokeWidth: "1",
|
|
525
533
|
className: ee
|
|
526
534
|
}
|
|
527
535
|
),
|
|
528
|
-
x ? /* @__PURE__ */
|
|
529
|
-
/* @__PURE__ */
|
|
536
|
+
x ? /* @__PURE__ */ d(Xe, { children: [
|
|
537
|
+
/* @__PURE__ */ s(
|
|
530
538
|
"line",
|
|
531
539
|
{
|
|
532
540
|
x1: "110",
|
|
533
|
-
y1:
|
|
541
|
+
y1: S - 4,
|
|
534
542
|
x2: "110",
|
|
535
|
-
y2:
|
|
543
|
+
y2: S + 4,
|
|
536
544
|
strokeWidth: "1",
|
|
537
545
|
className: ee
|
|
538
546
|
}
|
|
539
547
|
),
|
|
540
|
-
/* @__PURE__ */
|
|
548
|
+
/* @__PURE__ */ s(
|
|
541
549
|
"text",
|
|
542
550
|
{
|
|
543
551
|
x: "85",
|
|
544
|
-
y:
|
|
552
|
+
y: S - 6,
|
|
545
553
|
fontSize: "8",
|
|
546
554
|
textAnchor: "middle",
|
|
547
|
-
className:
|
|
548
|
-
children:
|
|
555
|
+
className: le,
|
|
556
|
+
children: r
|
|
549
557
|
}
|
|
550
558
|
),
|
|
551
|
-
/* @__PURE__ */
|
|
559
|
+
/* @__PURE__ */ s(
|
|
552
560
|
"text",
|
|
553
561
|
{
|
|
554
562
|
x: "135",
|
|
555
|
-
y:
|
|
563
|
+
y: S - 6,
|
|
556
564
|
fontSize: "8",
|
|
557
565
|
textAnchor: "middle",
|
|
558
|
-
className:
|
|
566
|
+
className: le,
|
|
559
567
|
children: n
|
|
560
568
|
}
|
|
561
569
|
)
|
|
562
|
-
] }) : /* @__PURE__ */
|
|
570
|
+
] }) : /* @__PURE__ */ s(
|
|
563
571
|
"text",
|
|
564
572
|
{
|
|
565
573
|
x: "110",
|
|
566
|
-
y:
|
|
574
|
+
y: S - 6,
|
|
567
575
|
fontSize: "8",
|
|
568
576
|
textAnchor: "middle",
|
|
569
|
-
className:
|
|
577
|
+
className: le,
|
|
570
578
|
children: t
|
|
571
579
|
}
|
|
572
580
|
)
|
|
@@ -574,9 +582,9 @@ function $t({
|
|
|
574
582
|
}
|
|
575
583
|
) });
|
|
576
584
|
}
|
|
577
|
-
const
|
|
578
|
-
function
|
|
579
|
-
switch (
|
|
585
|
+
const N = 60, w = 52, _ = 28;
|
|
586
|
+
function Mt(t, r) {
|
|
587
|
+
switch (r) {
|
|
580
588
|
case "up":
|
|
581
589
|
return 90;
|
|
582
590
|
case "down":
|
|
@@ -587,113 +595,113 @@ function Tt(t, s) {
|
|
|
587
595
|
return t === "od" ? 180 : 0;
|
|
588
596
|
}
|
|
589
597
|
}
|
|
590
|
-
function
|
|
598
|
+
function kt({
|
|
591
599
|
eye: t,
|
|
592
|
-
base:
|
|
600
|
+
base: r,
|
|
593
601
|
labels: n,
|
|
594
|
-
ariaLabel:
|
|
602
|
+
ariaLabel: o,
|
|
595
603
|
caption: u
|
|
596
604
|
}) {
|
|
597
|
-
const y =
|
|
598
|
-
return /* @__PURE__ */
|
|
605
|
+
const y = Mt(t, r), [x, f] = C(N, w, _ - 6, y), [b, g] = C(N, w, _, y), [I, B] = C(N, w, _ - 7, y + 8), [O, K] = C(N, w, _ - 7, y - 8), i = t === "od" ? n.in : n.out, X = t === "od" ? n.out : n.in;
|
|
606
|
+
return /* @__PURE__ */ s(pe, { chart: "prismBase", eye: t, caption: u, children: /* @__PURE__ */ d(
|
|
599
607
|
"svg",
|
|
600
608
|
{
|
|
601
609
|
role: "img",
|
|
602
|
-
"aria-label":
|
|
610
|
+
"aria-label": o,
|
|
603
611
|
viewBox: "0 0 120 104",
|
|
604
612
|
className: "ds:w-32",
|
|
605
613
|
children: [
|
|
606
|
-
/* @__PURE__ */
|
|
614
|
+
/* @__PURE__ */ s(
|
|
607
615
|
"line",
|
|
608
616
|
{
|
|
609
|
-
x1:
|
|
610
|
-
y1:
|
|
611
|
-
x2:
|
|
612
|
-
y2:
|
|
617
|
+
x1: N - _,
|
|
618
|
+
y1: w,
|
|
619
|
+
x2: N + _,
|
|
620
|
+
y2: w,
|
|
613
621
|
strokeWidth: "1",
|
|
614
622
|
className: j
|
|
615
623
|
}
|
|
616
624
|
),
|
|
617
|
-
/* @__PURE__ */
|
|
625
|
+
/* @__PURE__ */ s(
|
|
618
626
|
"line",
|
|
619
627
|
{
|
|
620
|
-
x1:
|
|
621
|
-
y1:
|
|
622
|
-
x2:
|
|
623
|
-
y2:
|
|
628
|
+
x1: N,
|
|
629
|
+
y1: w - _,
|
|
630
|
+
x2: N,
|
|
631
|
+
y2: w + _,
|
|
624
632
|
strokeWidth: "1",
|
|
625
633
|
className: j
|
|
626
634
|
}
|
|
627
635
|
),
|
|
628
|
-
/* @__PURE__ */
|
|
636
|
+
/* @__PURE__ */ s(
|
|
629
637
|
"text",
|
|
630
638
|
{
|
|
631
|
-
x:
|
|
632
|
-
y:
|
|
639
|
+
x: N,
|
|
640
|
+
y: w - _ - 5,
|
|
633
641
|
fontSize: "7",
|
|
634
642
|
textAnchor: "middle",
|
|
635
|
-
className:
|
|
643
|
+
className: F,
|
|
636
644
|
children: n.up
|
|
637
645
|
}
|
|
638
646
|
),
|
|
639
|
-
/* @__PURE__ */
|
|
647
|
+
/* @__PURE__ */ s(
|
|
640
648
|
"text",
|
|
641
649
|
{
|
|
642
|
-
x:
|
|
643
|
-
y:
|
|
650
|
+
x: N,
|
|
651
|
+
y: w + _ + 11,
|
|
644
652
|
fontSize: "7",
|
|
645
653
|
textAnchor: "middle",
|
|
646
|
-
className:
|
|
654
|
+
className: F,
|
|
647
655
|
children: n.down
|
|
648
656
|
}
|
|
649
657
|
),
|
|
650
|
-
/* @__PURE__ */
|
|
658
|
+
/* @__PURE__ */ s(
|
|
651
659
|
"text",
|
|
652
660
|
{
|
|
653
|
-
x:
|
|
654
|
-
y:
|
|
661
|
+
x: N + _ + 10,
|
|
662
|
+
y: w + 2,
|
|
655
663
|
fontSize: "7",
|
|
656
664
|
textAnchor: "middle",
|
|
657
|
-
className:
|
|
658
|
-
children:
|
|
665
|
+
className: F,
|
|
666
|
+
children: i
|
|
659
667
|
}
|
|
660
668
|
),
|
|
661
|
-
/* @__PURE__ */
|
|
669
|
+
/* @__PURE__ */ s(
|
|
662
670
|
"text",
|
|
663
671
|
{
|
|
664
|
-
x:
|
|
665
|
-
y:
|
|
672
|
+
x: N - _ - 10,
|
|
673
|
+
y: w + 2,
|
|
666
674
|
fontSize: "7",
|
|
667
675
|
textAnchor: "middle",
|
|
668
|
-
className:
|
|
676
|
+
className: F,
|
|
669
677
|
children: X
|
|
670
678
|
}
|
|
671
679
|
),
|
|
672
|
-
/* @__PURE__ */
|
|
680
|
+
/* @__PURE__ */ s(
|
|
673
681
|
"line",
|
|
674
682
|
{
|
|
675
|
-
x1:
|
|
676
|
-
y1:
|
|
683
|
+
x1: N,
|
|
684
|
+
y1: w,
|
|
677
685
|
x2: x,
|
|
678
686
|
y2: f,
|
|
679
687
|
strokeWidth: "2.5",
|
|
680
688
|
strokeLinecap: "round",
|
|
681
|
-
className:
|
|
689
|
+
className: Ie
|
|
682
690
|
}
|
|
683
691
|
),
|
|
684
|
-
/* @__PURE__ */
|
|
692
|
+
/* @__PURE__ */ s(
|
|
685
693
|
"polygon",
|
|
686
694
|
{
|
|
687
|
-
points: `${b},${g} ${
|
|
688
|
-
className:
|
|
695
|
+
points: `${b},${g} ${I},${B} ${O},${K}`,
|
|
696
|
+
className: de
|
|
689
697
|
}
|
|
690
698
|
),
|
|
691
|
-
/* @__PURE__ */
|
|
699
|
+
/* @__PURE__ */ s("circle", { cx: N, cy: w, r: "2.5", className: de })
|
|
692
700
|
]
|
|
693
701
|
}
|
|
694
702
|
) });
|
|
695
703
|
}
|
|
696
|
-
const
|
|
704
|
+
const It = Ke("ds:flex ds:flex-col", {
|
|
697
705
|
variants: {
|
|
698
706
|
density: {
|
|
699
707
|
comfortable: "ds:gap-4",
|
|
@@ -701,157 +709,157 @@ const Dt = He("ds:flex ds:flex-col", {
|
|
|
701
709
|
}
|
|
702
710
|
},
|
|
703
711
|
defaultVariants: { density: "comfortable" }
|
|
704
|
-
}),
|
|
712
|
+
}), ke = {
|
|
705
713
|
4: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(4,minmax(0,1fr))]",
|
|
706
714
|
6: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(6,minmax(0,1fr))]"
|
|
707
|
-
},
|
|
715
|
+
}, M = "ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]", Bt = "ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]", Ot = Ye(
|
|
708
716
|
({
|
|
709
717
|
id: t,
|
|
710
|
-
mode:
|
|
718
|
+
mode: r = "interactive",
|
|
711
719
|
value: n,
|
|
712
|
-
defaultValue:
|
|
720
|
+
defaultValue: o,
|
|
713
721
|
onChange: u,
|
|
714
722
|
bands: y = ["far", "near"],
|
|
715
723
|
showPrism: x = !1,
|
|
716
724
|
metadata: f = !0,
|
|
717
725
|
charts: b = !0,
|
|
718
726
|
chartsBand: g,
|
|
719
|
-
density:
|
|
720
|
-
ariaLabel:
|
|
721
|
-
className:
|
|
727
|
+
density: I = "comfortable",
|
|
728
|
+
ariaLabel: B,
|
|
729
|
+
className: O
|
|
722
730
|
}, K) => {
|
|
723
|
-
const { t:
|
|
724
|
-
|
|
725
|
-
), Y =
|
|
726
|
-
|
|
727
|
-
const z =
|
|
731
|
+
const { t: i, i18n: X } = Ge("ui"), P = X.language, Be = He(), te = t ?? Be, Ce = fe(null), re = r === "interactive", me = n !== void 0, [Oe, ze] = qe(
|
|
732
|
+
o ?? Pt()
|
|
733
|
+
), Y = me ? n : Oe, D = fe(Y);
|
|
734
|
+
D.current = Y;
|
|
735
|
+
const z = A(
|
|
728
736
|
(e) => {
|
|
729
|
-
|
|
737
|
+
me || ze(e), u == null || u(e);
|
|
730
738
|
},
|
|
731
|
-
[
|
|
732
|
-
),
|
|
733
|
-
(e, h, a,
|
|
734
|
-
z(
|
|
739
|
+
[me, u]
|
|
740
|
+
), G = A(
|
|
741
|
+
(e, h, a, p) => {
|
|
742
|
+
z(St(D.current, e, h, a, p ?? void 0));
|
|
735
743
|
},
|
|
736
744
|
[z]
|
|
737
|
-
), V =
|
|
745
|
+
), V = A(
|
|
738
746
|
(e) => {
|
|
739
|
-
z({ ...
|
|
747
|
+
z({ ...D.current, ...e });
|
|
740
748
|
},
|
|
741
749
|
[z]
|
|
742
|
-
),
|
|
743
|
-
|
|
744
|
-
const
|
|
750
|
+
), U = y, $e = fe(U);
|
|
751
|
+
$e.current = U;
|
|
752
|
+
const ie = he(
|
|
745
753
|
() => x ? ["sphere", "cylinder", "axis", "add", "prism", "base"] : ["sphere", "cylinder", "axis", "add"],
|
|
746
754
|
[x]
|
|
747
|
-
),
|
|
748
|
-
const a =
|
|
755
|
+
), Te = A((e, h) => {
|
|
756
|
+
const a = Ce.current;
|
|
749
757
|
if (!a) return;
|
|
750
|
-
const
|
|
751
|
-
if (!
|
|
758
|
+
const p = h ?? $e.current[0];
|
|
759
|
+
if (!p) return;
|
|
752
760
|
const m = a.querySelector(
|
|
753
|
-
`[data-band="${
|
|
761
|
+
`[data-band="${p}"][data-eye="${e}"]`
|
|
754
762
|
);
|
|
755
763
|
if (!m) return;
|
|
756
764
|
(m.querySelector(
|
|
757
765
|
'input, textarea, button:not([tabindex="-1"])'
|
|
758
766
|
) ?? m.querySelector("[tabindex]") ?? m).focus();
|
|
759
|
-
}, []),
|
|
767
|
+
}, []), ue = he(
|
|
760
768
|
() => ({
|
|
761
|
-
focusEye:
|
|
762
|
-
getValue: () =>
|
|
769
|
+
focusEye: Te,
|
|
770
|
+
getValue: () => D.current,
|
|
763
771
|
setValue: (e) => z(e),
|
|
764
|
-
getRow: (e, h) =>
|
|
765
|
-
setCell:
|
|
766
|
-
clearBand: (e) => z(
|
|
767
|
-
getBands: () =>
|
|
772
|
+
getRow: (e, h) => ce(D.current, e, h),
|
|
773
|
+
setCell: G,
|
|
774
|
+
clearBand: (e) => z(Nt(D.current, e)),
|
|
775
|
+
getBands: () => Le(D.current)
|
|
768
776
|
}),
|
|
769
|
-
[
|
|
777
|
+
[Te, z, G]
|
|
770
778
|
);
|
|
771
|
-
|
|
772
|
-
const
|
|
773
|
-
(e) =>
|
|
774
|
-
[
|
|
775
|
-
),
|
|
776
|
-
(e) =>
|
|
777
|
-
[
|
|
778
|
-
), J =
|
|
779
|
-
(e) =>
|
|
780
|
-
[
|
|
781
|
-
),
|
|
779
|
+
Fe(K, () => ue, [ue]), Ue(rt, ue, te);
|
|
780
|
+
const L = A(
|
|
781
|
+
(e) => i(`opticalPrescription.eye.${e}Name`),
|
|
782
|
+
[i]
|
|
783
|
+
), se = A(
|
|
784
|
+
(e) => i(`opticalPrescription.column.${e}`),
|
|
785
|
+
[i]
|
|
786
|
+
), J = A(
|
|
787
|
+
(e) => i(`opticalPrescription.band.${e}`),
|
|
788
|
+
[i]
|
|
789
|
+
), Ee = A(
|
|
782
790
|
(e, h, a) => {
|
|
783
|
-
const
|
|
784
|
-
eye:
|
|
785
|
-
column:
|
|
791
|
+
const p = ce(D.current, e, h), m = p == null ? void 0 : p[a], R = i("opticalPrescription.cellLabel", {
|
|
792
|
+
eye: L(h),
|
|
793
|
+
column: se(a),
|
|
786
794
|
band: J(e)
|
|
787
795
|
});
|
|
788
|
-
return a === "base" ? /* @__PURE__ */
|
|
789
|
-
|
|
796
|
+
return a === "base" ? /* @__PURE__ */ s("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ s(
|
|
797
|
+
ye,
|
|
790
798
|
{
|
|
791
799
|
size: "md",
|
|
792
800
|
clearable: !0,
|
|
793
|
-
"aria-label":
|
|
801
|
+
"aria-label": R,
|
|
794
802
|
value: typeof m == "string" ? m : "",
|
|
795
|
-
options:
|
|
803
|
+
options: st.map((Q) => ({
|
|
796
804
|
value: Q,
|
|
797
|
-
label:
|
|
805
|
+
label: i(`opticalPrescription.base.${Q}`)
|
|
798
806
|
})),
|
|
799
|
-
onValueChange: (Q) =>
|
|
807
|
+
onValueChange: (Q) => G(e, h, "base", Q === "" ? null : Q)
|
|
800
808
|
}
|
|
801
|
-
) }, a) : /* @__PURE__ */
|
|
802
|
-
|
|
809
|
+
) }, a) : /* @__PURE__ */ s("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ s(
|
|
810
|
+
ae,
|
|
803
811
|
{
|
|
804
812
|
size: "md",
|
|
805
|
-
"aria-label":
|
|
813
|
+
"aria-label": R,
|
|
806
814
|
value: typeof m == "number" ? m : null,
|
|
807
815
|
...a === "axis" ? {
|
|
808
816
|
mode: "integer",
|
|
809
|
-
step:
|
|
810
|
-
min:
|
|
811
|
-
max:
|
|
817
|
+
step: ut,
|
|
818
|
+
min: we,
|
|
819
|
+
max: Re
|
|
812
820
|
} : a === "add" ? {
|
|
813
821
|
mode: "decimal",
|
|
814
|
-
step:
|
|
815
|
-
min:
|
|
816
|
-
max:
|
|
822
|
+
step: oe,
|
|
823
|
+
min: pt,
|
|
824
|
+
max: mt
|
|
817
825
|
} : a === "prism" ? {
|
|
818
826
|
mode: "decimal",
|
|
819
|
-
step:
|
|
820
|
-
min:
|
|
821
|
-
max:
|
|
827
|
+
step: oe,
|
|
828
|
+
min: ft,
|
|
829
|
+
max: ht
|
|
822
830
|
} : a === "cylinder" ? {
|
|
823
831
|
mode: "decimal",
|
|
824
|
-
step:
|
|
825
|
-
min:
|
|
826
|
-
max:
|
|
832
|
+
step: oe,
|
|
833
|
+
min: lt,
|
|
834
|
+
max: dt
|
|
827
835
|
} : {
|
|
828
836
|
mode: "decimal",
|
|
829
|
-
step:
|
|
830
|
-
min:
|
|
831
|
-
max:
|
|
837
|
+
step: oe,
|
|
838
|
+
min: ot,
|
|
839
|
+
max: ct
|
|
832
840
|
},
|
|
833
|
-
onChange: (
|
|
841
|
+
onChange: (q) => G(e, h, a, q)
|
|
834
842
|
}
|
|
835
843
|
) }, a);
|
|
836
844
|
},
|
|
837
|
-
[
|
|
838
|
-
),
|
|
845
|
+
[i, L, se, J, G]
|
|
846
|
+
), De = A(
|
|
839
847
|
(e, h, a) => {
|
|
840
|
-
const
|
|
841
|
-
let
|
|
842
|
-
return m === void 0 ?
|
|
848
|
+
const p = ce(D.current, e, h), m = p == null ? void 0 : p[a];
|
|
849
|
+
let R;
|
|
850
|
+
return m === void 0 ? R = i("opticalPrescription.empty") : a === "base" && typeof m == "string" ? R = i(`opticalPrescription.base.${m}`) : typeof m == "number" ? R = vt(a, m, P) : R = i("opticalPrescription.empty"), /* @__PURE__ */ s("span", { role: "cell", "data-field": a, className: Bt, children: R }, a);
|
|
843
851
|
},
|
|
844
|
-
[
|
|
845
|
-
),
|
|
852
|
+
[i, P]
|
|
853
|
+
), Ve = A(
|
|
846
854
|
(e) => {
|
|
847
|
-
const h = `${
|
|
848
|
-
return /* @__PURE__ */
|
|
855
|
+
const h = `${te}-band-${e}`, a = ke[ie.length] ?? ke[4];
|
|
856
|
+
return /* @__PURE__ */ d(
|
|
849
857
|
"section",
|
|
850
858
|
{
|
|
851
859
|
className: "ds:flex ds:flex-col ds:gap-1",
|
|
852
860
|
"aria-labelledby": h,
|
|
853
861
|
children: [
|
|
854
|
-
/* @__PURE__ */
|
|
862
|
+
/* @__PURE__ */ s(
|
|
855
863
|
"p",
|
|
856
864
|
{
|
|
857
865
|
id: h,
|
|
@@ -859,56 +867,56 @@ const Dt = He("ds:flex ds:flex-col", {
|
|
|
859
867
|
children: J(e)
|
|
860
868
|
}
|
|
861
869
|
),
|
|
862
|
-
/* @__PURE__ */
|
|
870
|
+
/* @__PURE__ */ d(
|
|
863
871
|
"div",
|
|
864
872
|
{
|
|
865
873
|
role: "table",
|
|
866
874
|
"aria-label": J(e),
|
|
867
875
|
className: `ds:grid ds:items-center ds:gap-x-2 ds:gap-y-1 ${a}`,
|
|
868
876
|
children: [
|
|
869
|
-
/* @__PURE__ */
|
|
870
|
-
/* @__PURE__ */
|
|
877
|
+
/* @__PURE__ */ d("div", { role: "row", className: "ds:contents", children: [
|
|
878
|
+
/* @__PURE__ */ s(
|
|
871
879
|
"span",
|
|
872
880
|
{
|
|
873
881
|
role: "columnheader",
|
|
874
|
-
className: `${
|
|
875
|
-
children:
|
|
882
|
+
className: `${M} ds:text-start`,
|
|
883
|
+
children: i("opticalPrescription.column.eye")
|
|
876
884
|
}
|
|
877
885
|
),
|
|
878
|
-
|
|
886
|
+
ie.map((p) => /* @__PURE__ */ s(
|
|
879
887
|
"span",
|
|
880
888
|
{
|
|
881
889
|
role: "columnheader",
|
|
882
|
-
className: `${
|
|
883
|
-
children:
|
|
890
|
+
className: `${M} ds:text-end`,
|
|
891
|
+
children: se(p)
|
|
884
892
|
},
|
|
885
|
-
|
|
893
|
+
p
|
|
886
894
|
))
|
|
887
895
|
] }),
|
|
888
|
-
Z.map((
|
|
896
|
+
Z.map((p) => /* @__PURE__ */ d(
|
|
889
897
|
"div",
|
|
890
898
|
{
|
|
891
899
|
role: "row",
|
|
892
|
-
"data-eye":
|
|
900
|
+
"data-eye": p,
|
|
893
901
|
"data-band": e,
|
|
894
902
|
className: "ds:contents",
|
|
895
903
|
children: [
|
|
896
|
-
/* @__PURE__ */
|
|
904
|
+
/* @__PURE__ */ s(
|
|
897
905
|
"span",
|
|
898
906
|
{
|
|
899
907
|
role: "rowheader",
|
|
900
908
|
tabIndex: -1,
|
|
901
|
-
"aria-label":
|
|
909
|
+
"aria-label": L(p),
|
|
902
910
|
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:
|
|
911
|
+
children: i(`opticalPrescription.eye.${p}`)
|
|
904
912
|
}
|
|
905
913
|
),
|
|
906
|
-
|
|
907
|
-
(m) =>
|
|
914
|
+
ie.map(
|
|
915
|
+
(m) => re ? Ee(e, p, m) : De(e, p, m)
|
|
908
916
|
)
|
|
909
917
|
]
|
|
910
918
|
},
|
|
911
|
-
|
|
919
|
+
p
|
|
912
920
|
))
|
|
913
921
|
]
|
|
914
922
|
}
|
|
@@ -919,124 +927,124 @@ const Dt = He("ds:flex ds:flex-col", {
|
|
|
919
927
|
);
|
|
920
928
|
},
|
|
921
929
|
[
|
|
922
|
-
O,
|
|
923
|
-
re,
|
|
924
930
|
te,
|
|
925
|
-
J,
|
|
926
931
|
ie,
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
932
|
+
re,
|
|
933
|
+
J,
|
|
934
|
+
se,
|
|
935
|
+
L,
|
|
936
|
+
Ee,
|
|
937
|
+
De,
|
|
938
|
+
i
|
|
931
939
|
]
|
|
932
|
-
), H =
|
|
933
|
-
var
|
|
940
|
+
), H = he(() => b === !1 ? [] : b === !0 ? wt : b, [b]), We = A(() => {
|
|
941
|
+
var R;
|
|
934
942
|
if (H.length === 0) return null;
|
|
935
|
-
const e = Y, h =
|
|
943
|
+
const e = Y, h = Le(e), a = g ?? U.find((c) => h.includes(c)), p = (c) => a ? ce(e, a, c) : void 0, m = [];
|
|
936
944
|
if (H.includes("tabo"))
|
|
937
|
-
for (const
|
|
938
|
-
const
|
|
939
|
-
if (
|
|
940
|
-
const
|
|
945
|
+
for (const c of Z) {
|
|
946
|
+
const l = (R = p(c)) == null ? void 0 : R.axis;
|
|
947
|
+
if (l === void 0) continue;
|
|
948
|
+
const q = _e(l);
|
|
941
949
|
m.push(
|
|
942
|
-
/* @__PURE__ */
|
|
943
|
-
|
|
950
|
+
/* @__PURE__ */ s(
|
|
951
|
+
$t,
|
|
944
952
|
{
|
|
945
|
-
eye:
|
|
946
|
-
axisDeg:
|
|
947
|
-
ariaLabel:
|
|
948
|
-
eye:
|
|
949
|
-
axis: W(
|
|
953
|
+
eye: c,
|
|
954
|
+
axisDeg: q,
|
|
955
|
+
ariaLabel: i("opticalPrescription.charts.tabo.aria", {
|
|
956
|
+
eye: L(c),
|
|
957
|
+
axis: W(q)
|
|
950
958
|
}),
|
|
951
|
-
caption:
|
|
952
|
-
eye:
|
|
953
|
-
axis: W(
|
|
959
|
+
caption: i("opticalPrescription.charts.tabo.caption", {
|
|
960
|
+
eye: i(`opticalPrescription.eye.${c}`),
|
|
961
|
+
axis: W(q)
|
|
954
962
|
})
|
|
955
963
|
},
|
|
956
|
-
`tabo-${
|
|
964
|
+
`tabo-${c}`
|
|
957
965
|
)
|
|
958
966
|
);
|
|
959
967
|
}
|
|
960
968
|
if (H.includes("powerCross"))
|
|
961
|
-
for (const
|
|
962
|
-
const
|
|
963
|
-
|
|
964
|
-
/* @__PURE__ */
|
|
965
|
-
|
|
969
|
+
for (const c of Z) {
|
|
970
|
+
const l = gt(p(c));
|
|
971
|
+
l && m.push(
|
|
972
|
+
/* @__PURE__ */ s(
|
|
973
|
+
Et,
|
|
966
974
|
{
|
|
967
|
-
eye:
|
|
968
|
-
primary:
|
|
969
|
-
secondary:
|
|
970
|
-
primaryText:
|
|
971
|
-
secondaryText:
|
|
972
|
-
ariaLabel:
|
|
973
|
-
eye:
|
|
974
|
-
primary:
|
|
975
|
-
primaryDeg: W(
|
|
976
|
-
secondary:
|
|
977
|
-
secondaryDeg: W(
|
|
975
|
+
eye: c,
|
|
976
|
+
primary: l.primary,
|
|
977
|
+
secondary: l.secondary,
|
|
978
|
+
primaryText: k(l.primary.power, 2, P),
|
|
979
|
+
secondaryText: k(l.secondary.power, 2, P),
|
|
980
|
+
ariaLabel: i("opticalPrescription.charts.powerCross.aria", {
|
|
981
|
+
eye: L(c),
|
|
982
|
+
primary: k(l.primary.power, 2, P),
|
|
983
|
+
primaryDeg: W(l.primary.deg),
|
|
984
|
+
secondary: k(l.secondary.power, 2, P),
|
|
985
|
+
secondaryDeg: W(l.secondary.deg)
|
|
978
986
|
}),
|
|
979
|
-
caption:
|
|
980
|
-
eye:
|
|
987
|
+
caption: i("opticalPrescription.charts.powerCross.caption", {
|
|
988
|
+
eye: i(`opticalPrescription.eye.${c}`)
|
|
981
989
|
}),
|
|
982
|
-
detail: `${
|
|
990
|
+
detail: `${k(l.primary.power, 2, P)} @ ${W(l.primary.deg)} · ${k(l.secondary.power, 2, P)} @ ${W(l.secondary.deg)}`
|
|
983
991
|
},
|
|
984
|
-
`cross-${
|
|
992
|
+
`cross-${c}`
|
|
985
993
|
)
|
|
986
994
|
);
|
|
987
995
|
}
|
|
988
996
|
if (H.includes("pd")) {
|
|
989
|
-
const
|
|
990
|
-
(
|
|
991
|
-
/* @__PURE__ */
|
|
992
|
-
|
|
997
|
+
const c = e.pdRight !== void 0 && e.pdLeft !== void 0;
|
|
998
|
+
(c || e.pd !== void 0) && m.push(
|
|
999
|
+
/* @__PURE__ */ s(
|
|
1000
|
+
Lt,
|
|
993
1001
|
{
|
|
994
|
-
totalText: e.pd !== void 0 ?
|
|
995
|
-
rightText:
|
|
996
|
-
leftText:
|
|
997
|
-
ariaLabel:
|
|
1002
|
+
totalText: e.pd !== void 0 ? i("opticalPrescription.pd.value", { value: e.pd }) : void 0,
|
|
1003
|
+
rightText: c ? i("opticalPrescription.pd.value", { value: e.pdRight }) : void 0,
|
|
1004
|
+
leftText: c ? i("opticalPrescription.pd.value", { value: e.pdLeft }) : void 0,
|
|
1005
|
+
ariaLabel: c ? i("opticalPrescription.charts.pd.ariaSplit", {
|
|
998
1006
|
right: e.pdRight,
|
|
999
1007
|
left: e.pdLeft
|
|
1000
|
-
}) :
|
|
1001
|
-
caption:
|
|
1002
|
-
detail:
|
|
1008
|
+
}) : i("opticalPrescription.charts.pd.aria", { value: e.pd }),
|
|
1009
|
+
caption: i("opticalPrescription.charts.pd.caption"),
|
|
1010
|
+
detail: c ? i("opticalPrescription.pd.monocularValue", {
|
|
1003
1011
|
right: e.pdRight,
|
|
1004
1012
|
left: e.pdLeft
|
|
1005
|
-
}) :
|
|
1013
|
+
}) : i("opticalPrescription.pd.value", { value: e.pd })
|
|
1006
1014
|
},
|
|
1007
1015
|
"pd"
|
|
1008
1016
|
)
|
|
1009
1017
|
);
|
|
1010
1018
|
}
|
|
1011
1019
|
if (H.includes("prismBase"))
|
|
1012
|
-
for (const
|
|
1013
|
-
const
|
|
1014
|
-
!
|
|
1015
|
-
/* @__PURE__ */
|
|
1016
|
-
|
|
1020
|
+
for (const c of Z) {
|
|
1021
|
+
const l = p(c);
|
|
1022
|
+
!l || l.prism === void 0 || l.prism <= 0 || !l.base || m.push(
|
|
1023
|
+
/* @__PURE__ */ s(
|
|
1024
|
+
kt,
|
|
1017
1025
|
{
|
|
1018
|
-
eye:
|
|
1019
|
-
base:
|
|
1026
|
+
eye: c,
|
|
1027
|
+
base: l.base,
|
|
1020
1028
|
labels: {
|
|
1021
|
-
up:
|
|
1022
|
-
down:
|
|
1023
|
-
in:
|
|
1024
|
-
out:
|
|
1029
|
+
up: i("opticalPrescription.charts.prism.baseShort.up"),
|
|
1030
|
+
down: i("opticalPrescription.charts.prism.baseShort.down"),
|
|
1031
|
+
in: i("opticalPrescription.charts.prism.baseShort.in"),
|
|
1032
|
+
out: i("opticalPrescription.charts.prism.baseShort.out")
|
|
1025
1033
|
},
|
|
1026
|
-
ariaLabel:
|
|
1027
|
-
eye:
|
|
1028
|
-
value:
|
|
1029
|
-
base:
|
|
1034
|
+
ariaLabel: i("opticalPrescription.charts.prism.aria", {
|
|
1035
|
+
eye: L(c),
|
|
1036
|
+
value: Ne(l.prism, P),
|
|
1037
|
+
base: i(`opticalPrescription.base.${l.base}`)
|
|
1030
1038
|
}),
|
|
1031
|
-
caption:
|
|
1032
|
-
eye:
|
|
1033
|
-
value:
|
|
1034
|
-
base:
|
|
1035
|
-
`opticalPrescription.charts.prism.baseShort.${
|
|
1039
|
+
caption: i("opticalPrescription.charts.prism.caption", {
|
|
1040
|
+
eye: i(`opticalPrescription.eye.${c}`),
|
|
1041
|
+
value: Ne(l.prism, P),
|
|
1042
|
+
base: i(
|
|
1043
|
+
`opticalPrescription.charts.prism.baseShort.${l.base}`
|
|
1036
1044
|
)
|
|
1037
1045
|
})
|
|
1038
1046
|
},
|
|
1039
|
-
`prism-${
|
|
1047
|
+
`prism-${c}`
|
|
1040
1048
|
)
|
|
1041
1049
|
);
|
|
1042
1050
|
}
|
|
@@ -1044,118 +1052,126 @@ const Dt = He("ds:flex ds:flex-col", {
|
|
|
1044
1052
|
// Examiner-view clinical diagrams (OD drawn to the left of OS, nasal
|
|
1045
1053
|
// towards the other eye) — physical order like the odontogram, so the
|
|
1046
1054
|
// strip is pinned LTR and does not mirror in RTL.
|
|
1047
|
-
/* @__PURE__ */
|
|
1055
|
+
/* @__PURE__ */ s(
|
|
1048
1056
|
"div",
|
|
1049
1057
|
{
|
|
1050
1058
|
role: "group",
|
|
1051
|
-
"aria-label":
|
|
1059
|
+
"aria-label": i("opticalPrescription.charts.label"),
|
|
1052
1060
|
dir: "ltr",
|
|
1053
1061
|
className: "ds:flex ds:flex-wrap ds:items-end ds:gap-4",
|
|
1054
1062
|
children: m
|
|
1055
1063
|
}
|
|
1056
1064
|
)
|
|
1057
1065
|
);
|
|
1058
|
-
}, [
|
|
1066
|
+
}, [
|
|
1067
|
+
H,
|
|
1068
|
+
Y,
|
|
1069
|
+
g,
|
|
1070
|
+
U,
|
|
1071
|
+
L,
|
|
1072
|
+
i,
|
|
1073
|
+
P
|
|
1074
|
+
]), je = A(() => {
|
|
1059
1075
|
if (!f) return null;
|
|
1060
1076
|
const e = Y;
|
|
1061
|
-
return
|
|
1077
|
+
return re ? /* @__PURE__ */ d(
|
|
1062
1078
|
"div",
|
|
1063
1079
|
{
|
|
1064
1080
|
role: "group",
|
|
1065
|
-
"aria-label":
|
|
1081
|
+
"aria-label": i("opticalPrescription.metaLabel"),
|
|
1066
1082
|
className: "ds:grid ds:gap-3 ds:grid-cols-[repeat(auto-fit,minmax(8rem,1fr))]",
|
|
1067
1083
|
children: [
|
|
1068
|
-
/* @__PURE__ */
|
|
1069
|
-
/* @__PURE__ */
|
|
1070
|
-
/* @__PURE__ */
|
|
1071
|
-
|
|
1084
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1085
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.label") }),
|
|
1086
|
+
/* @__PURE__ */ s(
|
|
1087
|
+
ae,
|
|
1072
1088
|
{
|
|
1073
1089
|
size: "md",
|
|
1074
1090
|
mode: "decimal",
|
|
1075
1091
|
step: 0.5,
|
|
1076
|
-
min:
|
|
1077
|
-
max:
|
|
1078
|
-
"aria-label":
|
|
1092
|
+
min: xe,
|
|
1093
|
+
max: ve,
|
|
1094
|
+
"aria-label": i("opticalPrescription.pd.full"),
|
|
1079
1095
|
value: e.pd ?? null,
|
|
1080
1096
|
onChange: (a) => V({ pd: a ?? void 0 })
|
|
1081
1097
|
}
|
|
1082
1098
|
)
|
|
1083
1099
|
] }),
|
|
1084
|
-
/* @__PURE__ */
|
|
1085
|
-
/* @__PURE__ */
|
|
1086
|
-
/* @__PURE__ */
|
|
1087
|
-
|
|
1100
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1101
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.right") }),
|
|
1102
|
+
/* @__PURE__ */ s(
|
|
1103
|
+
ae,
|
|
1088
1104
|
{
|
|
1089
1105
|
size: "md",
|
|
1090
1106
|
mode: "decimal",
|
|
1091
1107
|
step: 0.5,
|
|
1092
|
-
min:
|
|
1093
|
-
max:
|
|
1094
|
-
"aria-label":
|
|
1108
|
+
min: xe / 2,
|
|
1109
|
+
max: ve / 2,
|
|
1110
|
+
"aria-label": i("opticalPrescription.pd.right"),
|
|
1095
1111
|
value: e.pdRight ?? null,
|
|
1096
1112
|
onChange: (a) => V({ pdRight: a ?? void 0 })
|
|
1097
1113
|
}
|
|
1098
1114
|
)
|
|
1099
1115
|
] }),
|
|
1100
|
-
/* @__PURE__ */
|
|
1101
|
-
/* @__PURE__ */
|
|
1102
|
-
/* @__PURE__ */
|
|
1103
|
-
|
|
1116
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1117
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.left") }),
|
|
1118
|
+
/* @__PURE__ */ s(
|
|
1119
|
+
ae,
|
|
1104
1120
|
{
|
|
1105
1121
|
size: "md",
|
|
1106
1122
|
mode: "decimal",
|
|
1107
1123
|
step: 0.5,
|
|
1108
|
-
min:
|
|
1109
|
-
max:
|
|
1110
|
-
"aria-label":
|
|
1124
|
+
min: xe / 2,
|
|
1125
|
+
max: ve / 2,
|
|
1126
|
+
"aria-label": i("opticalPrescription.pd.left"),
|
|
1111
1127
|
value: e.pdLeft ?? null,
|
|
1112
1128
|
onChange: (a) => V({ pdLeft: a ?? void 0 })
|
|
1113
1129
|
}
|
|
1114
1130
|
)
|
|
1115
1131
|
] }),
|
|
1116
|
-
/* @__PURE__ */
|
|
1117
|
-
/* @__PURE__ */
|
|
1118
|
-
/* @__PURE__ */
|
|
1119
|
-
|
|
1132
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1133
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.lensType.label") }),
|
|
1134
|
+
/* @__PURE__ */ s(
|
|
1135
|
+
ye,
|
|
1120
1136
|
{
|
|
1121
1137
|
size: "md",
|
|
1122
1138
|
clearable: !0,
|
|
1123
|
-
"aria-label":
|
|
1139
|
+
"aria-label": i("opticalPrescription.lensType.label"),
|
|
1124
1140
|
value: e.lensType ?? "",
|
|
1125
|
-
options:
|
|
1141
|
+
options: at.map((a) => ({
|
|
1126
1142
|
value: a,
|
|
1127
|
-
label:
|
|
1143
|
+
label: i(`opticalPrescription.lensType.${a}`)
|
|
1128
1144
|
})),
|
|
1129
1145
|
onValueChange: (a) => V({ lensType: a === "" ? void 0 : a })
|
|
1130
1146
|
}
|
|
1131
1147
|
)
|
|
1132
1148
|
] }),
|
|
1133
|
-
/* @__PURE__ */
|
|
1134
|
-
/* @__PURE__ */
|
|
1135
|
-
/* @__PURE__ */
|
|
1136
|
-
|
|
1149
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
|
|
1150
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.axisSystem.label") }),
|
|
1151
|
+
/* @__PURE__ */ s(
|
|
1152
|
+
ye,
|
|
1137
1153
|
{
|
|
1138
1154
|
size: "md",
|
|
1139
1155
|
clearable: !0,
|
|
1140
|
-
"aria-label":
|
|
1156
|
+
"aria-label": i("opticalPrescription.axisSystem.label"),
|
|
1141
1157
|
value: e.axisSystem ?? "",
|
|
1142
|
-
options:
|
|
1158
|
+
options: nt.map((a) => ({
|
|
1143
1159
|
value: a,
|
|
1144
|
-
label:
|
|
1160
|
+
label: i(`opticalPrescription.axisSystem.${a}`)
|
|
1145
1161
|
})),
|
|
1146
1162
|
onValueChange: (a) => V({ axisSystem: a === "" ? void 0 : a })
|
|
1147
1163
|
}
|
|
1148
1164
|
)
|
|
1149
1165
|
] }),
|
|
1150
|
-
/* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */
|
|
1152
|
-
/* @__PURE__ */
|
|
1153
|
-
|
|
1166
|
+
/* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]", children: [
|
|
1167
|
+
/* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.notes.label") }),
|
|
1168
|
+
/* @__PURE__ */ s(
|
|
1169
|
+
Je,
|
|
1154
1170
|
{
|
|
1155
1171
|
size: "md",
|
|
1156
1172
|
minRows: 2,
|
|
1157
|
-
"aria-label":
|
|
1158
|
-
placeholder:
|
|
1173
|
+
"aria-label": i("opticalPrescription.notes.label"),
|
|
1174
|
+
placeholder: i("opticalPrescription.notes.placeholder"),
|
|
1159
1175
|
value: e.notes ?? "",
|
|
1160
1176
|
onChange: (a) => V({ notes: a.target.value || void 0 })
|
|
1161
1177
|
}
|
|
@@ -1163,98 +1179,98 @@ const Dt = He("ds:flex ds:flex-col", {
|
|
|
1163
1179
|
] })
|
|
1164
1180
|
]
|
|
1165
1181
|
}
|
|
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__ */
|
|
1182
|
+
) : 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__ */ d(
|
|
1167
1183
|
v,
|
|
1168
1184
|
{
|
|
1169
1185
|
layout: "inline",
|
|
1170
1186
|
labelWidth: "fixed",
|
|
1171
1187
|
density: "compact",
|
|
1172
|
-
"aria-label":
|
|
1188
|
+
"aria-label": i("opticalPrescription.metaLabel"),
|
|
1173
1189
|
children: [
|
|
1174
|
-
e.pd !== void 0 && /* @__PURE__ */
|
|
1175
|
-
/* @__PURE__ */
|
|
1176
|
-
/* @__PURE__ */
|
|
1190
|
+
e.pd !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
|
|
1191
|
+
/* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.pd.label") }),
|
|
1192
|
+
/* @__PURE__ */ s(v.Detail, { numeric: !0, children: i("opticalPrescription.pd.value", { value: e.pd }) })
|
|
1177
1193
|
] }),
|
|
1178
|
-
e.pdRight !== void 0 && e.pdLeft !== void 0 && /* @__PURE__ */
|
|
1179
|
-
/* @__PURE__ */
|
|
1180
|
-
/* @__PURE__ */
|
|
1194
|
+
e.pdRight !== void 0 && e.pdLeft !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
|
|
1195
|
+
/* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.pd.monocular") }),
|
|
1196
|
+
/* @__PURE__ */ s(v.Detail, { numeric: !0, children: i("opticalPrescription.pd.monocularValue", {
|
|
1181
1197
|
right: e.pdRight,
|
|
1182
1198
|
left: e.pdLeft
|
|
1183
1199
|
}) })
|
|
1184
1200
|
] }),
|
|
1185
|
-
e.lensType !== void 0 && /* @__PURE__ */
|
|
1186
|
-
/* @__PURE__ */
|
|
1187
|
-
/* @__PURE__ */
|
|
1201
|
+
e.lensType !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
|
|
1202
|
+
/* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.lensType.label") }),
|
|
1203
|
+
/* @__PURE__ */ s(v.Detail, { children: i(`opticalPrescription.lensType.${e.lensType}`) })
|
|
1188
1204
|
] }),
|
|
1189
|
-
e.axisSystem !== void 0 && /* @__PURE__ */
|
|
1190
|
-
/* @__PURE__ */
|
|
1191
|
-
/* @__PURE__ */
|
|
1205
|
+
e.axisSystem !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
|
|
1206
|
+
/* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.axisSystem.label") }),
|
|
1207
|
+
/* @__PURE__ */ s(v.Detail, { children: i(`opticalPrescription.axisSystem.${e.axisSystem}`) })
|
|
1192
1208
|
] }),
|
|
1193
|
-
e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */
|
|
1194
|
-
/* @__PURE__ */
|
|
1195
|
-
/* @__PURE__ */
|
|
1209
|
+
e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */ d(v.Row, { children: [
|
|
1210
|
+
/* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.notes.label") }),
|
|
1211
|
+
/* @__PURE__ */ s(v.Detail, { children: e.notes })
|
|
1196
1212
|
] })
|
|
1197
1213
|
]
|
|
1198
1214
|
}
|
|
1199
1215
|
) : null;
|
|
1200
|
-
}, [f, Y,
|
|
1201
|
-
return /* @__PURE__ */
|
|
1216
|
+
}, [f, Y, re, i, V]);
|
|
1217
|
+
return /* @__PURE__ */ d(
|
|
1202
1218
|
"div",
|
|
1203
1219
|
{
|
|
1204
|
-
ref:
|
|
1220
|
+
ref: Ce,
|
|
1205
1221
|
"data-component": "optical-prescription",
|
|
1206
|
-
"data-component-id":
|
|
1207
|
-
"data-mode":
|
|
1222
|
+
"data-component-id": te,
|
|
1223
|
+
"data-mode": r,
|
|
1208
1224
|
role: "group",
|
|
1209
|
-
"aria-label":
|
|
1210
|
-
className:
|
|
1225
|
+
"aria-label": B ?? i("opticalPrescription.ariaLabel"),
|
|
1226
|
+
className: It({ density: I, className: O }),
|
|
1211
1227
|
children: [
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1228
|
+
U.map((e) => Ve(e)),
|
|
1229
|
+
We(),
|
|
1230
|
+
je()
|
|
1215
1231
|
]
|
|
1216
1232
|
}
|
|
1217
1233
|
);
|
|
1218
1234
|
}
|
|
1219
1235
|
);
|
|
1220
|
-
|
|
1236
|
+
Ot.displayName = "OpticalPrescription";
|
|
1221
1237
|
export {
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1238
|
+
mt as A,
|
|
1239
|
+
rt as B,
|
|
1240
|
+
wt as C,
|
|
1241
|
+
oe as D,
|
|
1226
1242
|
Z as E,
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1243
|
+
St as F,
|
|
1244
|
+
at as L,
|
|
1245
|
+
Ot as O,
|
|
1246
|
+
ve as P,
|
|
1247
|
+
Gt as R,
|
|
1248
|
+
ct as S,
|
|
1249
|
+
pt as a,
|
|
1250
|
+
Re as b,
|
|
1251
|
+
we as c,
|
|
1252
|
+
ut as d,
|
|
1253
|
+
nt as e,
|
|
1254
|
+
dt as f,
|
|
1255
|
+
lt as g,
|
|
1256
|
+
it as h,
|
|
1257
|
+
xe as i,
|
|
1258
|
+
st as j,
|
|
1259
|
+
ht as k,
|
|
1260
|
+
ft as l,
|
|
1261
|
+
ot as m,
|
|
1262
|
+
Le as n,
|
|
1263
|
+
Nt as o,
|
|
1264
|
+
Pt as p,
|
|
1265
|
+
xt as q,
|
|
1250
1266
|
W as r,
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1267
|
+
bt as s,
|
|
1268
|
+
Ne as t,
|
|
1269
|
+
vt as u,
|
|
1270
|
+
k as v,
|
|
1271
|
+
yt as w,
|
|
1272
|
+
ce as x,
|
|
1273
|
+
gt as y,
|
|
1274
|
+
_e as z
|
|
1259
1275
|
};
|
|
1260
|
-
//# sourceMappingURL=optical-prescription-
|
|
1276
|
+
//# sourceMappingURL=optical-prescription-ulXnDbBe.js.map
|