@alfadocs/ui-kit-debug 0.71.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/accordion-C11v9ouP.js +250 -0
- package/dist/_chunks/accordion-C11v9ouP.js.map +1 -0
- package/dist/_chunks/address-autocomplete-Bq-1n1UX.js +496 -0
- package/dist/_chunks/address-autocomplete-Bq-1n1UX.js.map +1 -0
- package/dist/_chunks/address-fields-COyjgqxA.js +246 -0
- package/dist/_chunks/address-fields-COyjgqxA.js.map +1 -0
- package/dist/_chunks/agenda-card-BCGaQazD.js +147 -0
- package/dist/_chunks/agenda-card-BCGaQazD.js.map +1 -0
- package/dist/_chunks/agenda-tray-loL2A3Cx.js +215 -0
- package/dist/_chunks/agenda-tray-loL2A3Cx.js.map +1 -0
- package/dist/_chunks/ai-consent-banner-Bke9m8VS.js +170 -0
- package/dist/_chunks/ai-consent-banner-Bke9m8VS.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-TVI95hJD.js +500 -0
- package/dist/_chunks/ai-prompt-input-TVI95hJD.js.map +1 -0
- package/dist/_chunks/alert-KJbsPYkI.js +314 -0
- package/dist/_chunks/alert-KJbsPYkI.js.map +1 -0
- package/dist/_chunks/alia-sidebar-BV5lBSFR.js +1183 -0
- package/dist/_chunks/alia-sidebar-BV5lBSFR.js.map +1 -0
- package/dist/_chunks/anamnesis-card-CWO4Ui9c.js +156 -0
- package/dist/_chunks/anamnesis-card-CWO4Ui9c.js.map +1 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -1
- package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js +413 -0
- package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js.map +1 -0
- package/dist/_chunks/appointment-card-Cy4FOkGP.js +311 -0
- package/dist/_chunks/appointment-card-Cy4FOkGP.js.map +1 -0
- package/dist/_chunks/appointment-timeline-BWAPPk8F.js +388 -0
- package/dist/_chunks/appointment-timeline-BWAPPk8F.js.map +1 -0
- package/dist/_chunks/appointment-tray-D3mk04TT.js +193 -0
- package/dist/_chunks/appointment-tray-D3mk04TT.js.map +1 -0
- package/dist/_chunks/ar-BOqyIfoY.js +399 -0
- package/dist/_chunks/ar-BOqyIfoY.js.map +1 -0
- package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
- package/dist/_chunks/astroid-BN4f5VXU.js.map +1 -0
- package/dist/_chunks/audio-recorder-BbjG55dP.js +450 -0
- package/dist/_chunks/audio-recorder-BbjG55dP.js.map +1 -0
- package/dist/_chunks/bishop-score-C6eoak_j.js +304 -0
- package/dist/_chunks/bishop-score-C6eoak_j.js.map +1 -0
- package/dist/_chunks/bmi-calculator-BmQfoEGP.js +434 -0
- package/dist/_chunks/bmi-calculator-BmQfoEGP.js.map +1 -0
- package/dist/_chunks/booking-B62CMY5k.js +2695 -0
- package/dist/_chunks/booking-B62CMY5k.js.map +1 -0
- package/dist/_chunks/breadcrumb-agut0PwN.js +393 -0
- package/dist/_chunks/breadcrumb-agut0PwN.js.map +1 -0
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js +40 -0
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js.map +1 -0
- package/dist/_chunks/calendar-DeAlFPsF.js +1050 -0
- package/dist/_chunks/calendar-DeAlFPsF.js.map +1 -0
- package/dist/_chunks/calendar-clock-hbObjfGY.js +19 -0
- package/dist/_chunks/calendar-clock-hbObjfGY.js.map +1 -0
- package/dist/_chunks/calendar-days-BGWklvE-.js +23 -0
- package/dist/_chunks/calendar-days-BGWklvE-.js.map +1 -0
- package/dist/_chunks/care-plan-card-DhXbfGzE.js +256 -0
- package/dist/_chunks/care-plan-card-DhXbfGzE.js.map +1 -0
- package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js +322 -0
- package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js.map +1 -0
- package/dist/_chunks/care-plan-header-DtQxyfOb.js +198 -0
- package/dist/_chunks/care-plan-header-DtQxyfOb.js.map +1 -0
- package/dist/_chunks/carousel.agent-j7hWxJWr.js +1754 -0
- package/dist/_chunks/carousel.agent-j7hWxJWr.js.map +1 -0
- package/dist/_chunks/chat-container-BVCoN06N.js +234 -0
- package/dist/_chunks/chat-container-BVCoN06N.js.map +1 -0
- package/dist/_chunks/chat-input-Btq_uuMZ.js +368 -0
- package/dist/_chunks/chat-input-Btq_uuMZ.js.map +1 -0
- package/dist/_chunks/chat-message-DXjjM8z9.js +239 -0
- package/dist/_chunks/chat-message-DXjjM8z9.js.map +1 -0
- package/dist/_chunks/check-DrFSN__t.js +12 -0
- package/dist/_chunks/check-DrFSN__t.js.map +1 -0
- package/dist/_chunks/checkbox-group-CfqMv57d.js +213 -0
- package/dist/_chunks/checkbox-group-CfqMv57d.js.map +1 -0
- package/dist/_chunks/chevron-down-DWE7GSq9.js +12 -0
- package/dist/_chunks/chevron-down-DWE7GSq9.js.map +1 -0
- package/dist/_chunks/chevron-left-B8cOyH-V.js +12 -0
- package/dist/_chunks/chevron-left-B8cOyH-V.js.map +1 -0
- package/dist/_chunks/chevron-right-I9AeSxH2.js +12 -0
- package/dist/_chunks/chevron-right-I9AeSxH2.js.map +1 -0
- package/dist/_chunks/chevron-up-umRGgtJA.js +12 -0
- package/dist/_chunks/chevron-up-umRGgtJA.js.map +1 -0
- package/dist/_chunks/chevrons-right-DIHg7Xqi.js +26 -0
- package/dist/_chunks/chevrons-right-DIHg7Xqi.js.map +1 -0
- package/dist/_chunks/circle-alert-rGDZ73Wh.js +16 -0
- package/dist/_chunks/circle-alert-rGDZ73Wh.js.map +1 -0
- package/dist/_chunks/circle-check-BN6rz4NV.js +15 -0
- package/dist/_chunks/circle-check-BN6rz4NV.js.map +1 -0
- package/dist/_chunks/circle-j7oZoouK.js +12 -0
- package/dist/_chunks/circle-j7oZoouK.js.map +1 -0
- package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
- package/dist/_chunks/circle-x-W8Enq3i4.js.map +1 -0
- package/dist/_chunks/city-input-towzBenY.js +169 -0
- package/dist/_chunks/city-input-towzBenY.js.map +1 -0
- package/dist/_chunks/clinical-note-card-C7F_24IC.js +436 -0
- package/dist/_chunks/clinical-note-card-C7F_24IC.js.map +1 -0
- package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
- package/dist/_chunks/clipboard-check-BeAGxDVT.js.map +1 -0
- package/dist/_chunks/clock-Drd4Wtis.js +15 -0
- package/dist/_chunks/clock-Drd4Wtis.js.map +1 -0
- package/dist/_chunks/code-block-Cwi7e3HM.js +106 -0
- package/dist/_chunks/code-block-Cwi7e3HM.js.map +1 -0
- package/dist/_chunks/color-picker-D-tUwxxT.js +718 -0
- package/dist/_chunks/color-picker-D-tUwxxT.js.map +1 -0
- package/dist/_chunks/columns-2-8lq4-b8e.js +15 -0
- package/dist/_chunks/columns-2-8lq4-b8e.js.map +1 -0
- package/dist/_chunks/combobox-DiMLItyu.js +513 -0
- package/dist/_chunks/combobox-DiMLItyu.js.map +1 -0
- package/dist/_chunks/command-palette-DQl_SNEv.js +473 -0
- package/dist/_chunks/command-palette-DQl_SNEv.js.map +1 -0
- package/dist/_chunks/connection-status-0HajXMXM.js +108 -0
- package/dist/_chunks/connection-status-0HajXMXM.js.map +1 -0
- package/dist/_chunks/contact-card-0hnFJwrz.js +121 -0
- package/dist/_chunks/contact-card-0hnFJwrz.js.map +1 -0
- package/dist/_chunks/contact-profile-card-IggiUVpN.js +333 -0
- package/dist/_chunks/contact-profile-card-IggiUVpN.js.map +1 -0
- package/dist/_chunks/control-room-rail-DaGcsdZ6.js +333 -0
- package/dist/_chunks/control-room-rail-DaGcsdZ6.js.map +1 -0
- package/dist/_chunks/copy-field-PAp0-Wr5.js +268 -0
- package/dist/_chunks/copy-field-PAp0-Wr5.js.map +1 -0
- package/dist/_chunks/copy-vRpqqHtY.js +15 -0
- package/dist/_chunks/copy-vRpqqHtY.js.map +1 -0
- package/dist/_chunks/country-select-DYHDLEjG.js +709 -0
- package/dist/_chunks/country-select-DYHDLEjG.js.map +1 -0
- package/dist/_chunks/createLucideIcon-DhHxpK9K.js +117 -0
- package/dist/_chunks/createLucideIcon-DhHxpK9K.js.map +1 -0
- package/dist/_chunks/cycle-calculator-BNILyVas.js +252 -0
- package/dist/_chunks/cycle-calculator-BNILyVas.js.map +1 -0
- package/dist/_chunks/date-picker-CVkD_lOi.js +1845 -0
- package/dist/_chunks/date-picker-CVkD_lOi.js.map +1 -0
- package/dist/_chunks/date-picker-variants-DLg-ZrIo.js +3224 -0
- package/dist/_chunks/date-picker-variants-DLg-ZrIo.js.map +1 -0
- package/dist/_chunks/date-range-picker-Dw12DgV8.js +324 -0
- package/dist/_chunks/date-range-picker-Dw12DgV8.js.map +1 -0
- package/dist/_chunks/date-time-picker-Cd_OJtOy.js +336 -0
- package/dist/_chunks/date-time-picker-Cd_OJtOy.js.map +1 -0
- package/dist/_chunks/de-DFLsUxeV.js +477 -0
- package/dist/_chunks/de-DFLsUxeV.js.map +1 -0
- package/dist/_chunks/dependent-selector-DyFpdzZV.js +338 -0
- package/dist/_chunks/dependent-selector-DyFpdzZV.js.map +1 -0
- package/dist/_chunks/description-list-CmBVxIF5.js +319 -0
- package/dist/_chunks/description-list-CmBVxIF5.js.map +1 -0
- package/dist/_chunks/dialog-UbKJCi1X.js +230 -0
- package/dist/_chunks/dialog-UbKJCi1X.js.map +1 -0
- package/dist/_chunks/document-scanner-B23j4w7X.js +711 -0
- package/dist/_chunks/document-scanner-B23j4w7X.js.map +1 -0
- package/dist/_chunks/download-CfYKJO_j.js +16 -0
- package/dist/_chunks/download-CfYKJO_j.js.map +1 -0
- package/dist/_chunks/dropdown-menu-DU-Hrf33.js +355 -0
- package/dist/_chunks/dropdown-menu-DU-Hrf33.js.map +1 -0
- package/dist/_chunks/due-date-calculator-CmdAl_JO.js +256 -0
- package/dist/_chunks/due-date-calculator-CmdAl_JO.js.map +1 -0
- package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js +410 -0
- package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js.map +1 -0
- package/dist/_chunks/editor-overlay-BIOzr8v7.js +88 -0
- package/dist/_chunks/editor-overlay-BIOzr8v7.js.map +1 -0
- package/dist/_chunks/el-OVjBKytp.js +373 -0
- package/dist/_chunks/el-OVjBKytp.js.map +1 -0
- package/dist/_chunks/ellipsis-dRo9ouSU.js +16 -0
- package/dist/_chunks/ellipsis-dRo9ouSU.js.map +1 -0
- package/dist/_chunks/email-input-Dpe63k0K.js +397 -0
- package/dist/_chunks/email-input-Dpe63k0K.js.map +1 -0
- package/dist/_chunks/entity-card-9_62gY7l.js +87 -0
- package/dist/_chunks/entity-card-9_62gY7l.js.map +1 -0
- package/dist/_chunks/entity-summary-DpGziDv5.js +277 -0
- package/dist/_chunks/entity-summary-DpGziDv5.js.map +1 -0
- package/dist/_chunks/es-DKDNrHXG.js +373 -0
- package/dist/_chunks/es-DKDNrHXG.js.map +1 -0
- package/dist/_chunks/external-link-CY6zAXXU.js +16 -0
- package/dist/_chunks/external-link-CY6zAXXU.js.map +1 -0
- package/dist/_chunks/eye-BjhN2nYf.js +21 -0
- package/dist/_chunks/eye-BjhN2nYf.js.map +1 -0
- package/dist/_chunks/eye-off-C_4xkbRP.js +29 -0
- package/dist/_chunks/eye-off-C_4xkbRP.js.map +1 -0
- package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
- package/dist/_chunks/face-scheme-DOZO3M_c.js.map +1 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js.map +1 -0
- package/dist/_chunks/fetal-weight-CVAH8sJ3.js +122 -0
- package/dist/_chunks/fetal-weight-CVAH8sJ3.js.map +1 -0
- package/dist/_chunks/field-array-CDzc3hTM.js +146 -0
- package/dist/_chunks/field-array-CDzc3hTM.js.map +1 -0
- package/dist/_chunks/field-value-Dj3i52H2.js +415 -0
- package/dist/_chunks/field-value-Dj3i52H2.js.map +1 -0
- package/dist/_chunks/file-spreadsheet-DmwyfV4O.js +25 -0
- package/dist/_chunks/file-spreadsheet-DmwyfV4O.js.map +1 -0
- package/dist/_chunks/file-text-5yv6r2ls.js +24 -0
- package/dist/_chunks/file-text-5yv6r2ls.js.map +1 -0
- package/dist/_chunks/file-upload-Kw1rdvFw.js +819 -0
- package/dist/_chunks/file-upload-Kw1rdvFw.js.map +1 -0
- package/dist/_chunks/finished-terminal-Di4gtZ50.js +122 -0
- package/dist/_chunks/finished-terminal-Di4gtZ50.js.map +1 -0
- package/dist/_chunks/fiscal-code-input-DKNXFXs3.js +553 -0
- package/dist/_chunks/fiscal-code-input-DKNXFXs3.js.map +1 -0
- package/dist/_chunks/form-field-M5UpX65Z.js +123 -0
- package/dist/_chunks/form-field-M5UpX65Z.js.map +1 -0
- package/dist/_chunks/fr-BfMvQh-v.js +338 -0
- package/dist/_chunks/fr-BfMvQh-v.js.map +1 -0
- package/dist/_chunks/freemium-paywall-DFoeedwh.js +275 -0
- package/dist/_chunks/freemium-paywall-DFoeedwh.js.map +1 -0
- package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js +311 -0
- package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js.map +1 -0
- package/dist/_chunks/globe-sHBW1JN5.js +16 -0
- package/dist/_chunks/globe-sHBW1JN5.js.map +1 -0
- package/dist/_chunks/grip-vertical-onSb1JXO.js +19 -0
- package/dist/_chunks/grip-vertical-onSb1JXO.js.map +1 -0
- package/dist/_chunks/hash-CSQ9SChR.js +17 -0
- package/dist/_chunks/hash-CSQ9SChR.js.map +1 -0
- package/dist/_chunks/hcg-doubling-CSsWxEJc.js +170 -0
- package/dist/_chunks/hcg-doubling-CSsWxEJc.js.map +1 -0
- package/dist/_chunks/header-DaXWDw0M.js +297 -0
- package/dist/_chunks/header-DaXWDw0M.js.map +1 -0
- package/dist/_chunks/header-settings-B0G_u-wV.js +284 -0
- package/dist/_chunks/header-settings-B0G_u-wV.js.map +1 -0
- package/dist/_chunks/heart--qCA4ffe.js +20 -0
- package/dist/_chunks/heart--qCA4ffe.js.map +1 -0
- package/dist/_chunks/heart-pulse-BCppJyN2.js +21 -0
- package/dist/_chunks/heart-pulse-BCppJyN2.js.map +1 -0
- package/dist/_chunks/hi-C0GEMwlD.js +433 -0
- package/dist/_chunks/hi-C0GEMwlD.js.map +1 -0
- package/dist/_chunks/iban-input-DXIA8Ln_.js +436 -0
- package/dist/_chunks/iban-input-DXIA8Ln_.js.map +1 -0
- package/dist/_chunks/icon-picker-Di6uYDG-.js +272 -0
- package/dist/_chunks/icon-picker-Di6uYDG-.js.map +1 -0
- package/dist/_chunks/image-B_5MNK0x.js +16 -0
- package/dist/_chunks/image-B_5MNK0x.js.map +1 -0
- package/dist/_chunks/image-cropper-CdmWFrMC.js +367 -0
- package/dist/_chunks/image-cropper-CdmWFrMC.js.map +1 -0
- package/dist/_chunks/info-CGn22peZ.js +16 -0
- package/dist/_chunks/info-CGn22peZ.js.map +1 -0
- package/dist/_chunks/insert-result-C7xSDb8q.js +742 -0
- package/dist/_chunks/insert-result-C7xSDb8q.js.map +1 -0
- package/dist/_chunks/isSameWeek-HddDAyJG.js +14 -0
- package/dist/_chunks/isSameWeek-HddDAyJG.js.map +1 -0
- package/dist/_chunks/it-5f4hiT2e.js +401 -0
- package/dist/_chunks/it-5f4hiT2e.js.map +1 -0
- package/dist/_chunks/ja-U0_2inl_.js +366 -0
- package/dist/_chunks/ja-U0_2inl_.js.map +1 -0
- package/dist/_chunks/key-value-pair-Byyyc_9J.js +144 -0
- package/dist/_chunks/key-value-pair-Byyyc_9J.js.map +1 -0
- package/dist/_chunks/languages-CGLX6Qpe.js +19 -0
- package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
- package/dist/_chunks/layers-DcAENmsZ.js +34 -0
- package/dist/_chunks/layers-DcAENmsZ.js.map +1 -0
- package/dist/_chunks/link-CPb_pZPr.js +129 -0
- package/dist/_chunks/link-CPb_pZPr.js.map +1 -0
- package/dist/_chunks/link-cell-renderer-BCppbMec.js +2185 -0
- package/dist/_chunks/link-cell-renderer-BCppbMec.js.map +1 -0
- package/dist/_chunks/locale-picker-DzF7Q5Y8.js +739 -0
- package/dist/_chunks/locale-picker-DzF7Q5Y8.js.map +1 -0
- package/dist/_chunks/lock-ClAFG1gy.js +15 -0
- package/dist/_chunks/lock-ClAFG1gy.js.map +1 -0
- package/dist/_chunks/log-out-oDS6zO5d.js +16 -0
- package/dist/_chunks/log-out-oDS6zO5d.js.map +1 -0
- package/dist/_chunks/mail-BqXVF2zH.js +15 -0
- package/dist/_chunks/mail-BqXVF2zH.js.map +1 -0
- package/dist/_chunks/map-pin-BaY37-Km.js +21 -0
- package/dist/_chunks/map-pin-BaY37-Km.js.map +1 -0
- package/dist/_chunks/map-view-ByPvWG_9.js +378 -0
- package/dist/_chunks/map-view-ByPvWG_9.js.map +1 -0
- package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js +513 -0
- package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js.map +1 -0
- package/dist/_chunks/maximize-2-BYd2Kti7.js +17 -0
- package/dist/_chunks/maximize-2-BYd2Kti7.js.map +1 -0
- package/dist/_chunks/menu-Op71AWIC.js +16 -0
- package/dist/_chunks/menu-Op71AWIC.js.map +1 -0
- package/dist/_chunks/message-card-BZnnffyB.js +319 -0
- package/dist/_chunks/message-card-BZnnffyB.js.map +1 -0
- package/dist/_chunks/message-circle-Bepl9JT5.js +20 -0
- package/dist/_chunks/message-circle-Bepl9JT5.js.map +1 -0
- package/dist/_chunks/message-tray-cUHOCdU0.js +494 -0
- package/dist/_chunks/message-tray-cUHOCdU0.js.map +1 -0
- package/dist/_chunks/mic-CUklMZGF.js +16 -0
- package/dist/_chunks/mic-CUklMZGF.js.map +1 -0
- package/dist/_chunks/monitor-xXSrufmP.js +16 -0
- package/dist/_chunks/monitor-xXSrufmP.js.map +1 -0
- package/dist/_chunks/multi-select-D5QLBJM1.js +614 -0
- package/dist/_chunks/multi-select-D5QLBJM1.js.map +1 -0
- package/dist/_chunks/muscle-scheme-B9MIkuj0.js +1714 -0
- package/dist/_chunks/muscle-scheme-B9MIkuj0.js.map +1 -0
- package/dist/_chunks/nav-grid-gRudLsPX.js +169 -0
- package/dist/_chunks/nav-grid-gRudLsPX.js.map +1 -0
- package/dist/_chunks/navigation-menu-D3VndouD.js +310 -0
- package/dist/_chunks/navigation-menu-D3VndouD.js.map +1 -0
- package/dist/_chunks/nl-CDVnnx1U.js +326 -0
- package/dist/_chunks/nl-CDVnnx1U.js.map +1 -0
- package/dist/_chunks/notes-panel-CMyjUXD4.js +324 -0
- package/dist/_chunks/notes-panel-CMyjUXD4.js.map +1 -0
- package/dist/_chunks/notification-card-BHJ07FkH.js +290 -0
- package/dist/_chunks/notification-card-BHJ07FkH.js.map +1 -0
- package/dist/_chunks/notification-tray-Dzm1c3Wy.js +499 -0
- package/dist/_chunks/notification-tray-Dzm1c3Wy.js.map +1 -0
- package/dist/_chunks/number-input-DjWzmlEY.js +350 -0
- package/dist/_chunks/number-input-DjWzmlEY.js.map +1 -0
- package/dist/_chunks/operator-hero-DVy0RGoD.js +202 -0
- package/dist/_chunks/operator-hero-DVy0RGoD.js.map +1 -0
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/optical-prescription-Bmlbuopi.js.map +1 -0
- package/dist/_chunks/pagination-EkD5SiCK.js +486 -0
- package/dist/_chunks/pagination-EkD5SiCK.js.map +1 -0
- package/dist/_chunks/patient-details-pU_E5xM2.js +778 -0
- package/dist/_chunks/patient-details-pU_E5xM2.js.map +1 -0
- package/dist/_chunks/patient-search-X9SUZGpy.js +1167 -0
- package/dist/_chunks/patient-search-X9SUZGpy.js.map +1 -0
- package/dist/_chunks/patient-shell-oiIRqEAl.js +162 -0
- package/dist/_chunks/patient-shell-oiIRqEAl.js.map +1 -0
- package/dist/_chunks/patient-summary-card--t3BjTdU.js +452 -0
- package/dist/_chunks/patient-summary-card--t3BjTdU.js.map +1 -0
- package/dist/_chunks/patient-table-BgWgNIMf.js +1110 -0
- package/dist/_chunks/patient-table-BgWgNIMf.js.map +1 -0
- package/dist/_chunks/payment-form-DL9xk9BA.js +690 -0
- package/dist/_chunks/payment-form-DL9xk9BA.js.map +1 -0
- package/dist/_chunks/payment-request-card-2ts7ITxd.js +467 -0
- package/dist/_chunks/payment-request-card-2ts7ITxd.js.map +1 -0
- package/dist/_chunks/pdf-viewer-DF3VMaPo.js +1005 -0
- package/dist/_chunks/pdf-viewer-DF3VMaPo.js.map +1 -0
- package/dist/_chunks/pencil-B1sKKyuT.js +21 -0
- package/dist/_chunks/pencil-B1sKKyuT.js.map +1 -0
- package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js +455 -0
- package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js.map +1 -0
- package/dist/_chunks/permission-matrix-BIJrGEmz.js +174 -0
- package/dist/_chunks/permission-matrix-BIJrGEmz.js.map +1 -0
- package/dist/_chunks/phone-FceYcIFQ.js +20 -0
- package/dist/_chunks/phone-FceYcIFQ.js.map +1 -0
- package/dist/_chunks/phone-input-dtnrvnZf.js +580 -0
- package/dist/_chunks/phone-input-dtnrvnZf.js.map +1 -0
- package/dist/_chunks/pl-BWNumNrg.js +514 -0
- package/dist/_chunks/pl-BWNumNrg.js.map +1 -0
- package/dist/_chunks/plus-DzMQ_c6b.js +15 -0
- package/dist/_chunks/plus-DzMQ_c6b.js.map +1 -0
- package/dist/_chunks/popover-uJ6BvEU3.js +302 -0
- package/dist/_chunks/popover-uJ6BvEU3.js.map +1 -0
- package/dist/_chunks/postal-code-input-BznBxVxf.js +192 -0
- package/dist/_chunks/postal-code-input-BznBxVxf.js.map +1 -0
- package/dist/_chunks/practice-results-CSEHTH2V.js +1609 -0
- package/dist/_chunks/practice-results-CSEHTH2V.js.map +1 -0
- package/dist/_chunks/pregnancy-dating-CxVAA6_4.js +421 -0
- package/dist/_chunks/pregnancy-dating-CxVAA6_4.js.map +1 -0
- package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js +322 -0
- package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js.map +1 -0
- package/dist/_chunks/printer-rkK0T1gi.js +22 -0
- package/dist/_chunks/printer-rkK0T1gi.js.map +1 -0
- package/dist/_chunks/privacy-lock-DrRmK8C7.js +197 -0
- package/dist/_chunks/privacy-lock-DrRmK8C7.js.map +1 -0
- package/dist/_chunks/product-hub-panel-CaZqttvm.js +678 -0
- package/dist/_chunks/product-hub-panel-CaZqttvm.js.map +1 -0
- package/dist/_chunks/province-select-BDywtmL-.js +261 -0
- package/dist/_chunks/province-select-BDywtmL-.js.map +1 -0
- package/dist/_chunks/pt-zqdQuryr.js +370 -0
- package/dist/_chunks/pt-zqdQuryr.js.map +1 -0
- package/dist/_chunks/public-footer.agent-BKkK3T3V.js +596 -0
- package/dist/_chunks/public-footer.agent-BKkK3T3V.js.map +1 -0
- package/dist/_chunks/public-header.agent-C-opZaOw.js +597 -0
- package/dist/_chunks/public-header.agent-C-opZaOw.js.map +1 -0
- package/dist/_chunks/radio-group-CI-6SmSw.js +167 -0
- package/dist/_chunks/radio-group-CI-6SmSw.js.map +1 -0
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js +553 -0
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js.map +1 -0
- package/dist/_chunks/rating-BYbUowdK.js +171 -0
- package/dist/_chunks/rating-BYbUowdK.js.map +1 -0
- package/dist/_chunks/refresh-cw-DnI0cLFC.js +17 -0
- package/dist/_chunks/refresh-cw-DnI0cLFC.js.map +1 -0
- package/dist/_chunks/reviews-panel-liUj6OPX.js +559 -0
- package/dist/_chunks/reviews-panel-liUj6OPX.js.map +1 -0
- package/dist/_chunks/rich-text-editor-DUgznqOf.js +2621 -0
- package/dist/_chunks/rich-text-editor-DUgznqOf.js.map +1 -0
- package/dist/_chunks/ro-CornQr64.js +361 -0
- package/dist/_chunks/ro-CornQr64.js.map +1 -0
- package/dist/_chunks/rotate-ccw-BBQnIVTr.js +15 -0
- package/dist/_chunks/rotate-ccw-BBQnIVTr.js.map +1 -0
- package/dist/_chunks/ru-CKAXNYVD.js +561 -0
- package/dist/_chunks/ru-CKAXNYVD.js.map +1 -0
- package/dist/_chunks/scan-line-CNseIHQ0.js +18 -0
- package/dist/_chunks/scan-line-CNseIHQ0.js.map +1 -0
- package/dist/_chunks/search-QbWPlY5f.js +15 -0
- package/dist/_chunks/search-QbWPlY5f.js.map +1 -0
- package/dist/_chunks/search-bar-CJj6sI9m.js +612 -0
- package/dist/_chunks/search-bar-CJj6sI9m.js.map +1 -0
- package/dist/_chunks/search-input-B7GmlPIE.js +237 -0
- package/dist/_chunks/search-input-B7GmlPIE.js.map +1 -0
- package/dist/_chunks/select-BmCbJMJS.js +442 -0
- package/dist/_chunks/select-BmCbJMJS.js.map +1 -0
- package/dist/_chunks/send-C5kDJ-Mz.js +21 -0
- package/dist/_chunks/send-C5kDJ-Mz.js.map +1 -0
- package/dist/_chunks/session-countdown-qr8EO5QY.js +214 -0
- package/dist/_chunks/session-countdown-qr8EO5QY.js.map +1 -0
- package/dist/_chunks/settings-d25ju_6L.js +21 -0
- package/dist/_chunks/settings-d25ju_6L.js.map +1 -0
- package/dist/_chunks/sheet-B_X54aZo.js +296 -0
- package/dist/_chunks/sheet-B_X54aZo.js.map +1 -0
- package/dist/_chunks/shield-check-DCJALLVh.js +21 -0
- package/dist/_chunks/shield-check-DCJALLVh.js.map +1 -0
- package/dist/_chunks/sidebar-B0OBmJrC.js +1311 -0
- package/dist/_chunks/sidebar-B0OBmJrC.js.map +1 -0
- package/dist/_chunks/sign-document-nK03S73h.js +370 -0
- package/dist/_chunks/sign-document-nK03S73h.js.map +1 -0
- package/dist/_chunks/signature-field-jgwYgUhO.js +197 -0
- package/dist/_chunks/signature-field-jgwYgUhO.js.map +1 -0
- package/dist/_chunks/smart-date-CsPlilQA.js +114 -0
- package/dist/_chunks/smart-date-CsPlilQA.js.map +1 -0
- package/dist/_chunks/sq-CIIvqXZv.js +355 -0
- package/dist/_chunks/sq-CIIvqXZv.js.map +1 -0
- package/dist/_chunks/square-DASBRZ0U.js +14 -0
- package/dist/_chunks/square-DASBRZ0U.js.map +1 -0
- package/dist/_chunks/square-check-big-dj0o8yA3.js +18 -0
- package/dist/_chunks/square-check-big-dj0o8yA3.js.map +1 -0
- package/dist/_chunks/star-Bf9L2Uot.js +20 -0
- package/dist/_chunks/star-Bf9L2Uot.js.map +1 -0
- package/dist/_chunks/stepper-accordion-BeVMZPuG.js +247 -0
- package/dist/_chunks/stepper-accordion-BeVMZPuG.js.map +1 -0
- package/dist/_chunks/stethoscope-sZXGC43m.js +18 -0
- package/dist/_chunks/stethoscope-sZXGC43m.js.map +1 -0
- package/dist/_chunks/streaming-text-Cedc05ya.js +131 -0
- package/dist/_chunks/streaming-text-Cedc05ya.js.map +1 -0
- package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
- package/dist/_chunks/subDays-DGSOp9d9.js.map +1 -0
- package/dist/_chunks/sun-Bj9Mr553.js +38 -0
- package/dist/_chunks/sun-Bj9Mr553.js.map +1 -0
- package/dist/_chunks/sv-Kpk1pzjz.js +376 -0
- package/dist/_chunks/sv-Kpk1pzjz.js.map +1 -0
- package/dist/_chunks/tab-bar-Axhk6xzx.js +262 -0
- package/dist/_chunks/tab-bar-Axhk6xzx.js.map +1 -0
- package/dist/_chunks/tabs-DVQ941Sj.js +408 -0
- package/dist/_chunks/tabs-DVQ941Sj.js.map +1 -0
- package/dist/_chunks/tag-3wgkwwDB.js +258 -0
- package/dist/_chunks/tag-3wgkwwDB.js.map +1 -0
- package/dist/_chunks/task-card-BUgK6yZT.js +189 -0
- package/dist/_chunks/task-card-BUgK6yZT.js.map +1 -0
- package/dist/_chunks/task-tray-DP5A3Qnc.js +251 -0
- package/dist/_chunks/task-tray-DP5A3Qnc.js.map +1 -0
- package/dist/_chunks/tasks-panel-BuxaYtEF.js +757 -0
- package/dist/_chunks/tasks-panel-BuxaYtEF.js.map +1 -0
- package/dist/_chunks/text-input-CUvCb6ST.js +283 -0
- package/dist/_chunks/text-input-CUvCb6ST.js.map +1 -0
- package/dist/_chunks/theme-toggle-dtdy5EaL.js +367 -0
- package/dist/_chunks/theme-toggle-dtdy5EaL.js.map +1 -0
- package/dist/_chunks/timeline-r-8IUoBS.js +294 -0
- package/dist/_chunks/timeline-r-8IUoBS.js.map +1 -0
- package/dist/_chunks/toast.agent-BSxl057x.js +1005 -0
- package/dist/_chunks/toast.agent-BSxl057x.js.map +1 -0
- package/dist/_chunks/token-insert-menu-Pok4nExI.js +147 -0
- package/dist/_chunks/token-insert-menu-Pok4nExI.js.map +1 -0
- package/dist/_chunks/tooth-scheme-D_rso4uu.js +2133 -0
- package/dist/_chunks/tooth-scheme-D_rso4uu.js.map +1 -0
- package/dist/_chunks/tr-DHaeLFxG.js +378 -0
- package/dist/_chunks/tr-DHaeLFxG.js.map +1 -0
- package/dist/_chunks/transaction-chip-B6iWoVmU.js +225 -0
- package/dist/_chunks/transaction-chip-B6iWoVmU.js.map +1 -0
- package/dist/_chunks/transcript-panel-BGkEhvHO.js +374 -0
- package/dist/_chunks/transcript-panel-BGkEhvHO.js.map +1 -0
- package/dist/_chunks/trash-2-uumy3fy1.js +18 -0
- package/dist/_chunks/trash-2-uumy3fy1.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBnO6nq_.js +22 -0
- package/dist/_chunks/triangle-alert-CBnO6nq_.js.map +1 -0
- package/dist/_chunks/unit-converter-fEqluT8b.js +337 -0
- package/dist/_chunks/unit-converter-fEqluT8b.js.map +1 -0
- package/dist/_chunks/use-password-requirements-Bwtqx1qN.js +453 -0
- package/dist/_chunks/use-password-requirements-Bwtqx1qN.js.map +1 -0
- package/dist/_chunks/user-B12p7bVF.js +15 -0
- package/dist/_chunks/user-B12p7bVF.js.map +1 -0
- package/dist/_chunks/user-cog-BTn98Arm.js +24 -0
- package/dist/_chunks/user-cog-BTn98Arm.js.map +1 -0
- package/dist/_chunks/users-BjS_Gg1E.js +17 -0
- package/dist/_chunks/users-BjS_Gg1E.js.map +1 -0
- package/dist/_chunks/video-BheNGvsu.js +21 -0
- package/dist/_chunks/video-BheNGvsu.js.map +1 -0
- package/dist/_chunks/warning-stack-BaMI7-n7.js +268 -0
- package/dist/_chunks/warning-stack-BaMI7-n7.js.map +1 -0
- package/dist/_chunks/workflow-map-qWsgCldq.js +1356 -0
- package/dist/_chunks/workflow-map-qWsgCldq.js.map +1 -0
- package/dist/_chunks/x-B5YnXwCz.js +15 -0
- package/dist/_chunks/x-B5YnXwCz.js.map +1 -0
- package/dist/_chunks/zh-CN-BncsTBwM.js +388 -0
- package/dist/_chunks/zh-CN-BncsTBwM.js.map +1 -0
- package/dist/_chunks/zoom-out-Dnif4kJx.js +29 -0
- package/dist/_chunks/zoom-out-Dnif4kJx.js.map +1 -0
- package/dist/agent-catalog.json +1473 -317
- package/dist/agent-i18n/en.json +107 -15
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/chat-message.d.ts +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
- package/dist/components/face-scheme/detect-face-landmarks.d.ts.map +1 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme.d.ts +144 -0
- package/dist/components/face-scheme/face-scheme.d.ts.map +1 -0
- package/dist/components/face-scheme/index.d.ts +7 -0
- package/dist/components/face-scheme/index.d.ts.map +1 -0
- package/dist/components/face-scheme/index.js +17 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.d.ts +6 -0
- package/dist/components/muscle-scheme/index.d.ts.map +1 -0
- package/dist/components/muscle-scheme/index.js +16 -0
- package/dist/components/muscle-scheme/index.js.map +1 -0
- package/dist/components/muscle-scheme/muscle-paths.d.ts +22 -0
- package/dist/components/muscle-scheme/muscle-paths.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme.d.ts +66 -0
- package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -0
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.d.ts +6 -0
- package/dist/components/optical-prescription/index.d.ts.map +1 -0
- package/dist/components/optical-prescription/index.js +38 -0
- package/dist/components/optical-prescription/index.js.map +1 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts.map +1 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +139 -98
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +141 -107
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +139 -98
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +141 -107
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +139 -98
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +141 -107
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +139 -98
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +141 -107
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +139 -98
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +141 -107
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +139 -98
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +141 -107
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +139 -98
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +141 -107
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +139 -98
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +141 -107
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +139 -98
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +141 -107
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +139 -98
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +141 -107
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +139 -98
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +141 -107
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +139 -98
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +141 -107
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +139 -98
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +141 -107
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +139 -98
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +141 -107
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +139 -98
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +141 -107
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +139 -98
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +141 -107
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +139 -98
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +141 -107
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +139 -98
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +141 -107
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +710 -662
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +141 -100
- package/dist/locales/de.json +141 -100
- package/dist/locales/el.json +141 -100
- package/dist/locales/en.json +141 -100
- package/dist/locales/es.json +141 -100
- package/dist/locales/fr.json +141 -100
- package/dist/locales/hi.json +141 -100
- package/dist/locales/it.json +141 -100
- package/dist/locales/ja.json +141 -100
- package/dist/locales/nl.json +141 -100
- package/dist/locales/pl.json +141 -100
- package/dist/locales/pt.json +141 -100
- package/dist/locales/ro.json +141 -100
- package/dist/locales/ru.json +141 -100
- package/dist/locales/sq.json +141 -100
- package/dist/locales/sv.json +141 -100
- package/dist/locales/tr.json +141 -100
- package/dist/locales/zh.json +141 -100
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -0
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-sidebar.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +7 -1
- package/package.json +13 -5
- package/dist/_chunks/accordion-DnIa7OHX.js +0 -250
- package/dist/_chunks/accordion-DnIa7OHX.js.map +0 -1
- package/dist/_chunks/address-autocomplete-BEX9PXty.js +0 -496
- package/dist/_chunks/address-autocomplete-BEX9PXty.js.map +0 -1
- package/dist/_chunks/address-fields-CPbFJ8e8.js +0 -246
- package/dist/_chunks/address-fields-CPbFJ8e8.js.map +0 -1
- package/dist/_chunks/agenda-card-BQ-IKAru.js +0 -147
- package/dist/_chunks/agenda-card-BQ-IKAru.js.map +0 -1
- package/dist/_chunks/agenda-tray-CGXRk58j.js +0 -215
- package/dist/_chunks/agenda-tray-CGXRk58j.js.map +0 -1
- package/dist/_chunks/ai-consent-banner-Be-h9mRI.js +0 -170
- package/dist/_chunks/ai-consent-banner-Be-h9mRI.js.map +0 -1
- package/dist/_chunks/ai-prompt-input-V4DdOeqv.js +0 -500
- package/dist/_chunks/ai-prompt-input-V4DdOeqv.js.map +0 -1
- package/dist/_chunks/alert-CHYZ96tR.js +0 -314
- package/dist/_chunks/alert-CHYZ96tR.js.map +0 -1
- package/dist/_chunks/alia-sidebar-DvIUzIX9.js +0 -1127
- package/dist/_chunks/alia-sidebar-DvIUzIX9.js.map +0 -1
- package/dist/_chunks/anamnesis-card-DvYCa16e.js +0 -156
- package/dist/_chunks/anamnesis-card-DvYCa16e.js.map +0 -1
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +0 -2445
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js.map +0 -1
- package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js +0 -413
- package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js.map +0 -1
- package/dist/_chunks/appointment-card-DVaeJNVB.js +0 -294
- package/dist/_chunks/appointment-card-DVaeJNVB.js.map +0 -1
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js +0 -388
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js.map +0 -1
- package/dist/_chunks/appointment-tray-B16QPGbm.js +0 -193
- package/dist/_chunks/appointment-tray-B16QPGbm.js.map +0 -1
- package/dist/_chunks/ar-Cn5Fq48Z.js +0 -399
- package/dist/_chunks/ar-Cn5Fq48Z.js.map +0 -1
- package/dist/_chunks/audio-recorder-DNDsOLqO.js +0 -450
- package/dist/_chunks/audio-recorder-DNDsOLqO.js.map +0 -1
- package/dist/_chunks/bishop-score-Cym_TeQY.js +0 -304
- package/dist/_chunks/bishop-score-Cym_TeQY.js.map +0 -1
- package/dist/_chunks/bmi-calculator-zjeY4E7J.js +0 -434
- package/dist/_chunks/bmi-calculator-zjeY4E7J.js.map +0 -1
- package/dist/_chunks/booking-C7do4vaR.js +0 -2711
- package/dist/_chunks/booking-C7do4vaR.js.map +0 -1
- package/dist/_chunks/breadcrumb-CchdeG7d.js +0 -393
- package/dist/_chunks/breadcrumb-CchdeG7d.js.map +0 -1
- package/dist/_chunks/calculator-dialog-BR5iU0kf.js +0 -40
- package/dist/_chunks/calculator-dialog-BR5iU0kf.js.map +0 -1
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/calendar-B6soK1Yb.js.map +0 -1
- package/dist/_chunks/calendar-CZUjL8SZ.js +0 -1050
- package/dist/_chunks/calendar-CZUjL8SZ.js.map +0 -1
- package/dist/_chunks/calendar-clock-CYkcqdwl.js +0 -19
- package/dist/_chunks/calendar-clock-CYkcqdwl.js.map +0 -1
- package/dist/_chunks/calendar-days-C4BmpCZg.js +0 -23
- package/dist/_chunks/calendar-days-C4BmpCZg.js.map +0 -1
- package/dist/_chunks/care-plan-card-DzPDYgtK.js +0 -256
- package/dist/_chunks/care-plan-card-DzPDYgtK.js.map +0 -1
- package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js +0 -322
- package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js.map +0 -1
- package/dist/_chunks/care-plan-header-DcXFXWit.js +0 -198
- package/dist/_chunks/care-plan-header-DcXFXWit.js.map +0 -1
- package/dist/_chunks/carousel.agent-4v8Emr9E.js +0 -1754
- package/dist/_chunks/carousel.agent-4v8Emr9E.js.map +0 -1
- package/dist/_chunks/chat-container-DWho5hPR.js +0 -234
- package/dist/_chunks/chat-container-DWho5hPR.js.map +0 -1
- package/dist/_chunks/chat-input-BcXTetgM.js +0 -368
- package/dist/_chunks/chat-input-BcXTetgM.js.map +0 -1
- package/dist/_chunks/chat-message-DzpcJR-q.js +0 -239
- package/dist/_chunks/chat-message-DzpcJR-q.js.map +0 -1
- package/dist/_chunks/check-DPdL_Sm7.js +0 -12
- package/dist/_chunks/check-DPdL_Sm7.js.map +0 -1
- package/dist/_chunks/checkbox-group-PqNmQ-cE.js +0 -213
- package/dist/_chunks/checkbox-group-PqNmQ-cE.js.map +0 -1
- package/dist/_chunks/chevron-down-BX_NP2Yh.js +0 -12
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +0 -1
- package/dist/_chunks/chevron-left-CX1jqD2M.js +0 -12
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +0 -1
- package/dist/_chunks/chevron-right-BrpYejk0.js +0 -12
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +0 -1
- package/dist/_chunks/chevron-up-zOEDrmBB.js +0 -12
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +0 -1
- package/dist/_chunks/chevrons-right-d9MwesPG.js +0 -26
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +0 -1
- package/dist/_chunks/circle-BkqTgYmt.js +0 -12
- package/dist/_chunks/circle-BkqTgYmt.js.map +0 -1
- package/dist/_chunks/circle-alert-ChA9opNA.js +0 -16
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +0 -1
- package/dist/_chunks/circle-check-9AeSgJD_.js +0 -15
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +0 -1
- package/dist/_chunks/circle-x-Du2CmjaU.js +0 -16
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +0 -1
- package/dist/_chunks/city-input-Dkgaak7I.js +0 -169
- package/dist/_chunks/city-input-Dkgaak7I.js.map +0 -1
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +0 -436
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +0 -1
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
- package/dist/_chunks/clipboard-list-S7s-MXQq.js.map +0 -1
- package/dist/_chunks/clock-21AGPWJ5.js +0 -15
- package/dist/_chunks/clock-21AGPWJ5.js.map +0 -1
- package/dist/_chunks/code-block-BBWHhIc8.js +0 -106
- package/dist/_chunks/code-block-BBWHhIc8.js.map +0 -1
- package/dist/_chunks/color-picker-C_fZl6sA.js +0 -718
- package/dist/_chunks/color-picker-C_fZl6sA.js.map +0 -1
- package/dist/_chunks/columns-2-BTOBZbep.js +0 -15
- package/dist/_chunks/columns-2-BTOBZbep.js.map +0 -1
- package/dist/_chunks/combobox-DnqSF0IH.js +0 -513
- package/dist/_chunks/combobox-DnqSF0IH.js.map +0 -1
- package/dist/_chunks/command-palette-CJzmc5pC.js +0 -473
- package/dist/_chunks/command-palette-CJzmc5pC.js.map +0 -1
- package/dist/_chunks/connection-status-CY1HV8Wg.js +0 -108
- package/dist/_chunks/connection-status-CY1HV8Wg.js.map +0 -1
- package/dist/_chunks/contact-card-Cf8Ktyt3.js +0 -121
- package/dist/_chunks/contact-card-Cf8Ktyt3.js.map +0 -1
- package/dist/_chunks/contact-profile-card-DDPwRFiP.js +0 -333
- package/dist/_chunks/contact-profile-card-DDPwRFiP.js.map +0 -1
- package/dist/_chunks/control-room-rail-FAQZrGVL.js +0 -333
- package/dist/_chunks/control-room-rail-FAQZrGVL.js.map +0 -1
- package/dist/_chunks/copy-B00HK7tj.js +0 -15
- package/dist/_chunks/copy-B00HK7tj.js.map +0 -1
- package/dist/_chunks/copy-field-Bjw9u2cV.js +0 -268
- package/dist/_chunks/copy-field-Bjw9u2cV.js.map +0 -1
- package/dist/_chunks/country-select-BwUZQvTa.js +0 -709
- package/dist/_chunks/country-select-BwUZQvTa.js.map +0 -1
- package/dist/_chunks/createLucideIcon-CrFbzy84.js +0 -117
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +0 -1
- package/dist/_chunks/cycle-calculator-CCmPwcBl.js +0 -252
- package/dist/_chunks/cycle-calculator-CCmPwcBl.js.map +0 -1
- package/dist/_chunks/date-picker-Dl9RKxaV.js +0 -1845
- package/dist/_chunks/date-picker-Dl9RKxaV.js.map +0 -1
- package/dist/_chunks/date-picker-variants-DAcSLTua.js +0 -3224
- package/dist/_chunks/date-picker-variants-DAcSLTua.js.map +0 -1
- package/dist/_chunks/date-range-picker-CTUeR6Bj.js +0 -324
- package/dist/_chunks/date-range-picker-CTUeR6Bj.js.map +0 -1
- package/dist/_chunks/date-time-picker-BhoogS5Q.js +0 -336
- package/dist/_chunks/date-time-picker-BhoogS5Q.js.map +0 -1
- package/dist/_chunks/de-CrJs4ZsX.js +0 -477
- package/dist/_chunks/de-CrJs4ZsX.js.map +0 -1
- package/dist/_chunks/dependent-selector-DUV4thxX.js +0 -338
- package/dist/_chunks/dependent-selector-DUV4thxX.js.map +0 -1
- package/dist/_chunks/description-list-gkNGWk5G.js +0 -319
- package/dist/_chunks/description-list-gkNGWk5G.js.map +0 -1
- package/dist/_chunks/dialog-ZNuboNmy.js +0 -230
- package/dist/_chunks/dialog-ZNuboNmy.js.map +0 -1
- package/dist/_chunks/document-scanner-C_AxLooF.js +0 -711
- package/dist/_chunks/document-scanner-C_AxLooF.js.map +0 -1
- package/dist/_chunks/download-CDF1sbL9.js +0 -16
- package/dist/_chunks/download-CDF1sbL9.js.map +0 -1
- package/dist/_chunks/dropdown-menu-qrxjymfw.js +0 -355
- package/dist/_chunks/dropdown-menu-qrxjymfw.js.map +0 -1
- package/dist/_chunks/due-date-calculator-Brdj-euS.js +0 -256
- package/dist/_chunks/due-date-calculator-Brdj-euS.js.map +0 -1
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +0 -410
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js.map +0 -1
- package/dist/_chunks/editor-overlay-wYm22wZK.js +0 -88
- package/dist/_chunks/editor-overlay-wYm22wZK.js.map +0 -1
- package/dist/_chunks/el-DHdMOIhL.js +0 -373
- package/dist/_chunks/el-DHdMOIhL.js.map +0 -1
- package/dist/_chunks/ellipsis-rgGdiK_9.js +0 -16
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +0 -1
- package/dist/_chunks/email-input-DJ7EXklP.js +0 -397
- package/dist/_chunks/email-input-DJ7EXklP.js.map +0 -1
- package/dist/_chunks/entity-card-DmrgYSEX.js +0 -87
- package/dist/_chunks/entity-card-DmrgYSEX.js.map +0 -1
- package/dist/_chunks/entity-summary-CaM1Y-xE.js +0 -291
- package/dist/_chunks/entity-summary-CaM1Y-xE.js.map +0 -1
- package/dist/_chunks/es-DCATCfqo.js +0 -373
- package/dist/_chunks/es-DCATCfqo.js.map +0 -1
- package/dist/_chunks/external-link-C6F25E6k.js +0 -16
- package/dist/_chunks/external-link-C6F25E6k.js.map +0 -1
- package/dist/_chunks/eye-LHlSU38h.js +0 -21
- package/dist/_chunks/eye-LHlSU38h.js.map +0 -1
- package/dist/_chunks/eye-off-xEXDAh5z.js +0 -29
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +0 -1
- package/dist/_chunks/fetal-weight-DNCkyeVo.js +0 -122
- package/dist/_chunks/fetal-weight-DNCkyeVo.js.map +0 -1
- package/dist/_chunks/field-array-siUZzfYe.js +0 -146
- package/dist/_chunks/field-array-siUZzfYe.js.map +0 -1
- package/dist/_chunks/field-value-3jMM0uDx.js +0 -415
- package/dist/_chunks/field-value-3jMM0uDx.js.map +0 -1
- package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js +0 -25
- package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js.map +0 -1
- package/dist/_chunks/file-text-DSNuv2B8.js +0 -24
- package/dist/_chunks/file-text-DSNuv2B8.js.map +0 -1
- package/dist/_chunks/file-upload-DwZcAK8D.js +0 -819
- package/dist/_chunks/file-upload-DwZcAK8D.js.map +0 -1
- package/dist/_chunks/finished-terminal-VjZ_-eDD.js +0 -122
- package/dist/_chunks/finished-terminal-VjZ_-eDD.js.map +0 -1
- package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js +0 -553
- package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js.map +0 -1
- package/dist/_chunks/form-field-BOm9hK35.js +0 -123
- package/dist/_chunks/form-field-BOm9hK35.js.map +0 -1
- package/dist/_chunks/fr-BfGEMshF.js +0 -338
- package/dist/_chunks/fr-BfGEMshF.js.map +0 -1
- package/dist/_chunks/freemium-paywall-WYlNO7yT.js +0 -275
- package/dist/_chunks/freemium-paywall-WYlNO7yT.js.map +0 -1
- package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js +0 -311
- package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js.map +0 -1
- package/dist/_chunks/globe-BkEFMNSg.js +0 -16
- package/dist/_chunks/globe-BkEFMNSg.js.map +0 -1
- package/dist/_chunks/grip-vertical-Dlg0_k5C.js +0 -19
- package/dist/_chunks/grip-vertical-Dlg0_k5C.js.map +0 -1
- package/dist/_chunks/hash-CysBBS_N.js +0 -17
- package/dist/_chunks/hash-CysBBS_N.js.map +0 -1
- package/dist/_chunks/hcg-doubling-C7bmuaU3.js +0 -170
- package/dist/_chunks/hcg-doubling-C7bmuaU3.js.map +0 -1
- package/dist/_chunks/header-CNszv2WQ.js +0 -297
- package/dist/_chunks/header-CNszv2WQ.js.map +0 -1
- package/dist/_chunks/header-settings-DJqoAl5m.js +0 -284
- package/dist/_chunks/header-settings-DJqoAl5m.js.map +0 -1
- package/dist/_chunks/heart-C0faivFf.js +0 -20
- package/dist/_chunks/heart-C0faivFf.js.map +0 -1
- package/dist/_chunks/heart-pulse-CvuyFKHB.js +0 -21
- package/dist/_chunks/heart-pulse-CvuyFKHB.js.map +0 -1
- package/dist/_chunks/hi-CBFRXEIm.js +0 -433
- package/dist/_chunks/hi-CBFRXEIm.js.map +0 -1
- package/dist/_chunks/iban-input-B0TWzR1R.js +0 -436
- package/dist/_chunks/iban-input-B0TWzR1R.js.map +0 -1
- package/dist/_chunks/icon-picker-0B7KhrF1.js +0 -272
- package/dist/_chunks/icon-picker-0B7KhrF1.js.map +0 -1
- package/dist/_chunks/image-C6RM5hfF.js +0 -16
- package/dist/_chunks/image-C6RM5hfF.js.map +0 -1
- package/dist/_chunks/image-cropper-D9jqJy19.js +0 -367
- package/dist/_chunks/image-cropper-D9jqJy19.js.map +0 -1
- package/dist/_chunks/info-B9XNKn05.js +0 -16
- package/dist/_chunks/info-B9XNKn05.js.map +0 -1
- package/dist/_chunks/insert-result-njqBthzT.js +0 -742
- package/dist/_chunks/insert-result-njqBthzT.js.map +0 -1
- package/dist/_chunks/isSameWeek-I3DfXUp1.js +0 -14
- package/dist/_chunks/isSameWeek-I3DfXUp1.js.map +0 -1
- package/dist/_chunks/it-nz6vAKwG.js +0 -401
- package/dist/_chunks/it-nz6vAKwG.js.map +0 -1
- package/dist/_chunks/ja-DQcqdAEJ.js +0 -366
- package/dist/_chunks/ja-DQcqdAEJ.js.map +0 -1
- package/dist/_chunks/key-value-pair-BrgbMfbF.js +0 -144
- package/dist/_chunks/key-value-pair-BrgbMfbF.js.map +0 -1
- package/dist/_chunks/languages-DsVf_WzT.js +0 -19
- package/dist/_chunks/languages-DsVf_WzT.js.map +0 -1
- package/dist/_chunks/layers-pzGcbLPj.js +0 -34
- package/dist/_chunks/layers-pzGcbLPj.js.map +0 -1
- package/dist/_chunks/link-DrD_cRUg.js +0 -129
- package/dist/_chunks/link-DrD_cRUg.js.map +0 -1
- package/dist/_chunks/link-cell-renderer-De_SLjSq.js +0 -2185
- package/dist/_chunks/link-cell-renderer-De_SLjSq.js.map +0 -1
- package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
- package/dist/_chunks/list-checks-BUs75d_o.js.map +0 -1
- package/dist/_chunks/locale-picker-ChYYSX2N.js +0 -739
- package/dist/_chunks/locale-picker-ChYYSX2N.js.map +0 -1
- package/dist/_chunks/lock-CKOIn0IK.js +0 -15
- package/dist/_chunks/lock-CKOIn0IK.js.map +0 -1
- package/dist/_chunks/log-out-616hnn2-.js +0 -16
- package/dist/_chunks/log-out-616hnn2-.js.map +0 -1
- package/dist/_chunks/mail-C8irm52s.js +0 -15
- package/dist/_chunks/mail-C8irm52s.js.map +0 -1
- package/dist/_chunks/map-pin-B8STOPMJ.js +0 -21
- package/dist/_chunks/map-pin-B8STOPMJ.js.map +0 -1
- package/dist/_chunks/map-view-BkOoGoX2.js +0 -378
- package/dist/_chunks/map-view-BkOoGoX2.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-BGqkywsi.js +0 -513
- package/dist/_chunks/marketplace-app-shell-BGqkywsi.js.map +0 -1
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js +0 -17
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js.map +0 -1
- package/dist/_chunks/menu-XRhW3_99.js +0 -16
- package/dist/_chunks/menu-XRhW3_99.js.map +0 -1
- package/dist/_chunks/message-card-DsHFFiL1.js +0 -319
- package/dist/_chunks/message-card-DsHFFiL1.js.map +0 -1
- package/dist/_chunks/message-circle-C23eicgb.js +0 -20
- package/dist/_chunks/message-circle-C23eicgb.js.map +0 -1
- package/dist/_chunks/message-tray-C0a6CL1_.js +0 -494
- package/dist/_chunks/message-tray-C0a6CL1_.js.map +0 -1
- package/dist/_chunks/mic-B4Gog3Gi.js +0 -16
- package/dist/_chunks/mic-B4Gog3Gi.js.map +0 -1
- package/dist/_chunks/monitor-D-SFdbrU.js +0 -16
- package/dist/_chunks/monitor-D-SFdbrU.js.map +0 -1
- package/dist/_chunks/multi-select-WE4S9FIF.js +0 -614
- package/dist/_chunks/multi-select-WE4S9FIF.js.map +0 -1
- package/dist/_chunks/nav-grid-9xphY3FM.js +0 -169
- package/dist/_chunks/nav-grid-9xphY3FM.js.map +0 -1
- package/dist/_chunks/navigation-menu-DRUi6sSj.js +0 -310
- package/dist/_chunks/navigation-menu-DRUi6sSj.js.map +0 -1
- package/dist/_chunks/nl-L5SuDjyl.js +0 -326
- package/dist/_chunks/nl-L5SuDjyl.js.map +0 -1
- package/dist/_chunks/notes-panel-DXiMfuvp.js +0 -320
- package/dist/_chunks/notes-panel-DXiMfuvp.js.map +0 -1
- package/dist/_chunks/notification-card-BMqNzCIt.js +0 -290
- package/dist/_chunks/notification-card-BMqNzCIt.js.map +0 -1
- package/dist/_chunks/notification-tray-BmUlCx3g.js +0 -499
- package/dist/_chunks/notification-tray-BmUlCx3g.js.map +0 -1
- package/dist/_chunks/number-input-DxphVG_A.js +0 -350
- package/dist/_chunks/number-input-DxphVG_A.js.map +0 -1
- package/dist/_chunks/operator-hero-BO8TqzX2.js +0 -202
- package/dist/_chunks/operator-hero-BO8TqzX2.js.map +0 -1
- package/dist/_chunks/pagination-D58kglCr.js +0 -486
- package/dist/_chunks/pagination-D58kglCr.js.map +0 -1
- package/dist/_chunks/patient-details-DgfTJimE.js +0 -759
- package/dist/_chunks/patient-details-DgfTJimE.js.map +0 -1
- package/dist/_chunks/patient-search-CSWQKOSP.js +0 -1167
- package/dist/_chunks/patient-search-CSWQKOSP.js.map +0 -1
- package/dist/_chunks/patient-shell-BMwsIKlW.js +0 -162
- package/dist/_chunks/patient-shell-BMwsIKlW.js.map +0 -1
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js +0 -452
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js.map +0 -1
- package/dist/_chunks/patient-table-CERknpd8.js +0 -1110
- package/dist/_chunks/patient-table-CERknpd8.js.map +0 -1
- package/dist/_chunks/payment-form-CxqIXqw7.js +0 -690
- package/dist/_chunks/payment-form-CxqIXqw7.js.map +0 -1
- package/dist/_chunks/payment-request-card-Blf-MFNY.js +0 -467
- package/dist/_chunks/payment-request-card-Blf-MFNY.js.map +0 -1
- package/dist/_chunks/pdf-viewer-QfebdLOd.js +0 -1005
- package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +0 -1
- package/dist/_chunks/pencil-CfQX-0Qc.js +0 -21
- package/dist/_chunks/pencil-CfQX-0Qc.js.map +0 -1
- package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js +0 -455
- package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js.map +0 -1
- package/dist/_chunks/permission-matrix-Bw5oexUt.js +0 -174
- package/dist/_chunks/permission-matrix-Bw5oexUt.js.map +0 -1
- package/dist/_chunks/phone-Bi5yUm4I.js +0 -20
- package/dist/_chunks/phone-Bi5yUm4I.js.map +0 -1
- package/dist/_chunks/phone-input-DjU-XmO_.js +0 -580
- package/dist/_chunks/phone-input-DjU-XmO_.js.map +0 -1
- package/dist/_chunks/pl-YAn5z2wR.js +0 -514
- package/dist/_chunks/pl-YAn5z2wR.js.map +0 -1
- package/dist/_chunks/plus-CYKNmfuA.js +0 -15
- package/dist/_chunks/plus-CYKNmfuA.js.map +0 -1
- package/dist/_chunks/popover-B2qCDhJC.js +0 -302
- package/dist/_chunks/popover-B2qCDhJC.js.map +0 -1
- package/dist/_chunks/postal-code-input-UCOYuRY2.js +0 -192
- package/dist/_chunks/postal-code-input-UCOYuRY2.js.map +0 -1
- package/dist/_chunks/practice-results-El5Z-oVp.js +0 -1609
- package/dist/_chunks/practice-results-El5Z-oVp.js.map +0 -1
- package/dist/_chunks/pregnancy-dating-CunHrOpO.js +0 -421
- package/dist/_chunks/pregnancy-dating-CunHrOpO.js.map +0 -1
- package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js +0 -322
- package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js.map +0 -1
- package/dist/_chunks/printer-CeVEWfQq.js +0 -22
- package/dist/_chunks/printer-CeVEWfQq.js.map +0 -1
- package/dist/_chunks/privacy-lock-BzMLQu-j.js +0 -197
- package/dist/_chunks/privacy-lock-BzMLQu-j.js.map +0 -1
- package/dist/_chunks/product-hub-panel-DtU7KXxm.js +0 -678
- package/dist/_chunks/product-hub-panel-DtU7KXxm.js.map +0 -1
- package/dist/_chunks/province-select-D_TZvix3.js +0 -261
- package/dist/_chunks/province-select-D_TZvix3.js.map +0 -1
- package/dist/_chunks/pt-D9xdT5KQ.js +0 -370
- package/dist/_chunks/pt-D9xdT5KQ.js.map +0 -1
- package/dist/_chunks/public-footer.agent-D0cFbjWl.js +0 -596
- package/dist/_chunks/public-footer.agent-D0cFbjWl.js.map +0 -1
- package/dist/_chunks/public-header.agent-TxmC_x1I.js +0 -597
- package/dist/_chunks/public-header.agent-TxmC_x1I.js.map +0 -1
- package/dist/_chunks/radio-group-BPt7pKZW.js +0 -167
- package/dist/_chunks/radio-group-BPt7pKZW.js.map +0 -1
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +0 -553
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js.map +0 -1
- package/dist/_chunks/rating-BRD7O74e.js +0 -171
- package/dist/_chunks/rating-BRD7O74e.js.map +0 -1
- package/dist/_chunks/refresh-cw-CC8jSKMr.js +0 -17
- package/dist/_chunks/refresh-cw-CC8jSKMr.js.map +0 -1
- package/dist/_chunks/reviews-panel-DxkSrgMl.js +0 -559
- package/dist/_chunks/reviews-panel-DxkSrgMl.js.map +0 -1
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js +0 -2621
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js.map +0 -1
- package/dist/_chunks/ro-Cp--52bT.js +0 -361
- package/dist/_chunks/ro-Cp--52bT.js.map +0 -1
- package/dist/_chunks/rotate-ccw-BWANpitO.js +0 -15
- package/dist/_chunks/rotate-ccw-BWANpitO.js.map +0 -1
- package/dist/_chunks/ru-BM8eX_Zz.js +0 -561
- package/dist/_chunks/ru-BM8eX_Zz.js.map +0 -1
- package/dist/_chunks/scan-line-lGioFwLC.js +0 -18
- package/dist/_chunks/scan-line-lGioFwLC.js.map +0 -1
- package/dist/_chunks/search-BonnQsHv.js +0 -15
- package/dist/_chunks/search-BonnQsHv.js.map +0 -1
- package/dist/_chunks/search-bar-C_T3pBJn.js +0 -612
- package/dist/_chunks/search-bar-C_T3pBJn.js.map +0 -1
- package/dist/_chunks/search-input-DQvGxR74.js +0 -237
- package/dist/_chunks/search-input-DQvGxR74.js.map +0 -1
- package/dist/_chunks/select-KsyRr8WH.js +0 -442
- package/dist/_chunks/select-KsyRr8WH.js.map +0 -1
- package/dist/_chunks/send-CySZIRPJ.js +0 -21
- package/dist/_chunks/send-CySZIRPJ.js.map +0 -1
- package/dist/_chunks/session-countdown-X1Ki6i0M.js +0 -214
- package/dist/_chunks/session-countdown-X1Ki6i0M.js.map +0 -1
- package/dist/_chunks/settings-ca2Yi9R8.js +0 -21
- package/dist/_chunks/settings-ca2Yi9R8.js.map +0 -1
- package/dist/_chunks/sheet-umkfZjF6.js +0 -296
- package/dist/_chunks/sheet-umkfZjF6.js.map +0 -1
- package/dist/_chunks/shield-check-BjCGH_Sr.js +0 -21
- package/dist/_chunks/shield-check-BjCGH_Sr.js.map +0 -1
- package/dist/_chunks/sidebar-QCp9wHNP.js +0 -1311
- package/dist/_chunks/sidebar-QCp9wHNP.js.map +0 -1
- package/dist/_chunks/sign-document-By6hMOra.js +0 -370
- package/dist/_chunks/sign-document-By6hMOra.js.map +0 -1
- package/dist/_chunks/signature-field-Dy1JRjzE.js +0 -197
- package/dist/_chunks/signature-field-Dy1JRjzE.js.map +0 -1
- package/dist/_chunks/smart-date-CWikAqZx.js +0 -114
- package/dist/_chunks/smart-date-CWikAqZx.js.map +0 -1
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/sparkles-CuYXqQLg.js.map +0 -1
- package/dist/_chunks/sq-XRpr0r49.js +0 -355
- package/dist/_chunks/sq-XRpr0r49.js.map +0 -1
- package/dist/_chunks/square-CZoGU14v.js +0 -14
- package/dist/_chunks/square-CZoGU14v.js.map +0 -1
- package/dist/_chunks/square-check-big-Jr-0202D.js +0 -18
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +0 -1
- package/dist/_chunks/star-vav0SJ9e.js +0 -20
- package/dist/_chunks/star-vav0SJ9e.js.map +0 -1
- package/dist/_chunks/stepper-accordion-DC-H-8v4.js +0 -247
- package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +0 -1
- package/dist/_chunks/stethoscope-DT5qCW8Y.js +0 -18
- package/dist/_chunks/stethoscope-DT5qCW8Y.js.map +0 -1
- package/dist/_chunks/streaming-text-BB9mvK4m.js +0 -131
- package/dist/_chunks/streaming-text-BB9mvK4m.js.map +0 -1
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- package/dist/_chunks/subDays-BcYv1Lxi.js.map +0 -1
- package/dist/_chunks/sun-BuXE0xUS.js +0 -38
- package/dist/_chunks/sun-BuXE0xUS.js.map +0 -1
- package/dist/_chunks/sv-Z3APomE8.js +0 -376
- package/dist/_chunks/sv-Z3APomE8.js.map +0 -1
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +0 -262
- package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +0 -1
- package/dist/_chunks/tabs-CYZVKKDl.js +0 -408
- package/dist/_chunks/tabs-CYZVKKDl.js.map +0 -1
- package/dist/_chunks/tag-BQXwuJq1.js +0 -258
- package/dist/_chunks/tag-BQXwuJq1.js.map +0 -1
- package/dist/_chunks/task-card-DCdsI0ZT.js +0 -189
- package/dist/_chunks/task-card-DCdsI0ZT.js.map +0 -1
- package/dist/_chunks/task-tray-DNVejijD.js +0 -251
- package/dist/_chunks/task-tray-DNVejijD.js.map +0 -1
- package/dist/_chunks/tasks-panel-C9odmawT.js +0 -757
- package/dist/_chunks/tasks-panel-C9odmawT.js.map +0 -1
- package/dist/_chunks/text-input-B-OWQ1Je.js +0 -283
- package/dist/_chunks/text-input-B-OWQ1Je.js.map +0 -1
- package/dist/_chunks/theme-toggle-XB6o_lgs.js +0 -367
- package/dist/_chunks/theme-toggle-XB6o_lgs.js.map +0 -1
- package/dist/_chunks/timeline-CqA4nKTI.js +0 -294
- package/dist/_chunks/timeline-CqA4nKTI.js.map +0 -1
- package/dist/_chunks/toast.agent-57UzyR9U.js +0 -1005
- package/dist/_chunks/toast.agent-57UzyR9U.js.map +0 -1
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js +0 -147
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js.map +0 -1
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js +0 -2133
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js.map +0 -1
- package/dist/_chunks/tr-e0-P4FON.js +0 -378
- package/dist/_chunks/tr-e0-P4FON.js.map +0 -1
- package/dist/_chunks/transaction-chip-CscoQbxF.js +0 -225
- package/dist/_chunks/transaction-chip-CscoQbxF.js.map +0 -1
- package/dist/_chunks/transcript-panel-CHGHHHdT.js +0 -374
- package/dist/_chunks/transcript-panel-CHGHHHdT.js.map +0 -1
- package/dist/_chunks/trash-2-rPAKaRgB.js +0 -18
- package/dist/_chunks/trash-2-rPAKaRgB.js.map +0 -1
- package/dist/_chunks/triangle-alert-CBPUIzQo.js +0 -22
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +0 -1
- package/dist/_chunks/unit-converter-CwlZbfdn.js +0 -337
- package/dist/_chunks/unit-converter-CwlZbfdn.js.map +0 -1
- package/dist/_chunks/use-password-requirements-BXvS2MBS.js +0 -453
- package/dist/_chunks/use-password-requirements-BXvS2MBS.js.map +0 -1
- package/dist/_chunks/user-CPxpqFjJ.js +0 -15
- package/dist/_chunks/user-CPxpqFjJ.js.map +0 -1
- package/dist/_chunks/user-cog-BS_qc8nA.js +0 -24
- package/dist/_chunks/user-cog-BS_qc8nA.js.map +0 -1
- package/dist/_chunks/users-MBVtUzwd.js +0 -17
- package/dist/_chunks/users-MBVtUzwd.js.map +0 -1
- package/dist/_chunks/video-BAeICxCT.js +0 -21
- package/dist/_chunks/video-BAeICxCT.js.map +0 -1
- package/dist/_chunks/warning-stack--sTrrBDA.js +0 -268
- package/dist/_chunks/warning-stack--sTrrBDA.js.map +0 -1
- package/dist/_chunks/workflow-map-M8MBBHQm.js +0 -1356
- package/dist/_chunks/workflow-map-M8MBBHQm.js.map +0 -1
- package/dist/_chunks/x-CCcI3eJp.js +0 -15
- package/dist/_chunks/x-CCcI3eJp.js.map +0 -1
- package/dist/_chunks/zh-CN-B-igM5gY.js +0 -388
- package/dist/_chunks/zh-CN-B-igM5gY.js.map +0 -1
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +0 -29
- package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +0 -20
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +0 -69
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/index.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/index.js +0 -17
- /package/dist/components/{anatomy-scheme → face-scheme}/index.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optical-prescription-Bmlbuopi.js","sources":["../../src/components/optical-prescription/optical-prescription.agent.ts","../../src/components/optical-prescription/optical-prescription-data.ts","../../src/components/optical-prescription/optical-prescription.tsx"],"sourcesContent":["import type { AgentAdapter } from '../../agent/types';\nimport type { OpticalPrescriptionHandle } from './optical-prescription';\nimport type {\n DistanceBand,\n Eye,\n OpticalPrescriptionValue,\n PrismBase,\n RefractionRow,\n} from './optical-prescription-data';\n\n// JSON-Schema fragments derived from the data-model unions. Kept inline so the\n// adapter stays a pure module with no runtime import of the unions.\nconst EYE_SCHEMA = {\n enum: ['od', 'os'],\n description: 'Eye — `od` (right eye) or `os` (left eye).',\n} as const;\nconst BAND_SCHEMA = {\n enum: ['far', 'intermediate', 'near'],\n description:\n 'Distance band — `far` (per lontano), `intermediate`, `near` (per vicino).',\n} as const;\nconst FIELD_SCHEMA = {\n enum: ['sphere', 'cylinder', 'axis', 'add', 'prism', 'base'],\n description:\n 'Refraction column — dioptric `sphere` / `cylinder` / `add` (0.25 steps), `axis` (0–180°), `prism`, or `base` (a direction enum).',\n} as const;\nconst ROW_SCHEMA = {\n type: 'object',\n properties: {\n sphere: { type: 'number' },\n cylinder: { type: 'number' },\n axis: { type: 'number', minimum: 0, maximum: 180 },\n add: { type: 'number' },\n prism: { type: 'number' },\n base: { enum: ['up', 'down', 'in', 'out'] },\n },\n} as const;\nconst VALUE_SCHEMA = {\n type: 'object',\n properties: {\n bands: {\n type: 'object',\n description:\n 'Refraction rows keyed by band (`far` / `intermediate` / `near`) then eye (`od` / `os`).',\n },\n pd: { type: 'number', description: 'Interpupillary distance, mm.' },\n lensType: { enum: ['single-vision', 'bifocal', 'progressive'] },\n axisSystem: { enum: ['tabo', 'int'] },\n notes: { type: 'string', description: 'Free-text note — PHI.' },\n },\n required: ['bands'],\n} as const;\n\nexport const opticalPrescriptionAgent: AgentAdapter<OpticalPrescriptionHandle> =\n {\n id: 'optical-prescription',\n // pick — focus an eye row (`focus_eye`, transient, not persisted);\n // edit_inline — `set_cell` edits one refraction cell; set_value — `set_value`\n // replaces the whole prescription.\n capabilities: ['pick', 'edit_inline', 'set_value'],\n state: {\n prescription: {\n // A9: the always-on snapshot carries the refraction numbers + view\n // metadata (PD, lens type, axis system) only — NEVER the free-text\n // clinical note (PHI). The note is fetched deliberately via get_notes\n // (safety: 'phi').\n type: 'object',\n descriptionKey: 'ui.agent.opticalPrescription.state.prescription',\n description:\n '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.',\n read: (handle) => {\n // Explicitly project the note-free fields so the PHI note can never\n // leak into the always-on snapshot, even as the value model grows.\n const v = handle.getValue();\n return {\n bands: v.bands,\n pd: v.pd,\n lensType: v.lensType,\n axisSystem: v.axisSystem,\n };\n },\n },\n bands: {\n type: 'string[]',\n descriptionKey: 'ui.agent.opticalPrescription.state.bands',\n description:\n 'Distance bands carrying at least one refraction value (far / intermediate / near).',\n read: (handle) => handle.getBands(),\n },\n },\n actions: {\n focus_eye: {\n safety: 'read',\n argsType: '{ eye: Eye; band?: DistanceBand }',\n argsSchema: {\n type: 'object',\n properties: { eye: EYE_SCHEMA, band: BAND_SCHEMA },\n required: ['eye'],\n },\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.focusEye',\n description:\n \"Move focus to an eye's row (first editable cell in interactive mode), optionally within a specific band.\",\n invoke: (handle, args: { eye: Eye; band?: DistanceBand }) => {\n handle.focusEye(args.eye, args.band);\n },\n },\n get_row: {\n safety: 'read',\n argsType: '{ band: DistanceBand; eye: Eye }',\n argsSchema: {\n type: 'object',\n properties: { band: BAND_SCHEMA, eye: EYE_SCHEMA },\n required: ['band', 'eye'],\n },\n returns: 'RefractionRow | undefined',\n returnsSchema: ROW_SCHEMA,\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.getRow',\n description: \"Read one eye's refraction row at a distance band.\",\n invoke: (handle, args: { band: DistanceBand; eye: Eye }) =>\n handle.getRow(args.band, args.eye),\n },\n get_notes: {\n // phi (not read): resolves the free-text clinical note, which is PHI.\n // PRS §26 — phi outranks read so the host gates it behind stricter\n // confirm + audit. The always-on state.prescription snapshot stays\n // note-free.\n safety: 'phi',\n returns: 'string',\n returnsSchema: { type: 'string' },\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.getNotes',\n description: 'Read the free-text clinical note on the prescription.',\n invoke: (handle) => handle.getValue().notes ?? '',\n },\n set_cell: {\n safety: 'write',\n argsType:\n '{ band: DistanceBand; eye: Eye; field: keyof RefractionRow; value: number | PrismBase | null }',\n argsSchema: {\n type: 'object',\n properties: {\n band: BAND_SCHEMA,\n eye: EYE_SCHEMA,\n field: FIELD_SCHEMA,\n value: {\n description:\n 'New cell value — a number for the dioptric/axis/prism columns, a base-direction string for `base`, or null to clear.',\n },\n },\n required: ['band', 'eye', 'field', 'value'],\n },\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.setCell',\n description:\n 'Set (or clear, with null) a single refraction cell — sphere / cylinder / axis / add / prism / base.',\n invoke: (\n handle,\n args: {\n band: DistanceBand;\n eye: Eye;\n field: keyof RefractionRow;\n value: number | PrismBase | null;\n },\n ) => {\n handle.setCell(args.band, args.eye, args.field, args.value);\n },\n },\n set_value: {\n safety: 'write',\n argsType: '{ value: OpticalPrescriptionValue }',\n argsSchema: {\n type: 'object',\n properties: { value: VALUE_SCHEMA },\n required: ['value'],\n },\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.setValue',\n description: 'Replace the entire prescription value.',\n invoke: (handle, args: { value: OpticalPrescriptionValue }) => {\n handle.setValue(args.value);\n },\n },\n clear_band: {\n safety: 'destructive',\n argsType: '{ band: DistanceBand }',\n argsSchema: {\n type: 'object',\n properties: { band: BAND_SCHEMA },\n required: ['band'],\n },\n idempotent: true,\n descriptionKey: 'ui.agent.opticalPrescription.actions.clearBand',\n description: 'Clear every refraction row in a distance band.',\n invoke: (handle, args: { band: DistanceBand }) => {\n handle.clearBand(args.band);\n },\n },\n },\n domHooks: {\n root: { attr: 'data-component', value: 'optical-prescription' },\n instanceId: {\n attr: 'data-component-id',\n sourceProp: 'id',\n description: 'Sourced from the id prop.',\n },\n item: {\n attr: 'data-eye',\n description:\n '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.',\n },\n },\n };\n\n// Re-exported for callers building typed args against the adapter.\nexport type {\n DistanceBand,\n Eye,\n OpticalPrescriptionValue,\n PrismBase,\n RefractionRow,\n};\n","/* ------------------------------------------------------------------ */\n/* OpticalPrescription — value model + formatters. */\n/* */\n/* The kit's glasses optical-prescription (\"prescrizione oculistica */\n/* occhiali\") value model. A prescription is a set of refraction rows */\n/* keyed by distance BAND (far / intermediate / near) and EYE */\n/* (od / os) plus a metadata strip (PD, lens type, axis system, free */\n/* text note). The numeric fields are dioptric (sphere / cylinder / */\n/* add, in 0.25 steps with explicit ± sign) and the axis is 0–180°. */\n/* This module is a pure data/helpers module — no React, no i18n; the */\n/* component resolves every user-visible label via `useTranslation`. */\n/* ------------------------------------------------------------------ */\n\n/* ------------------------------------------------------------------ */\n/* Core vocabulary */\n/* ------------------------------------------------------------------ */\n\n/** International Latin eye abbreviations — `od` = right eye, `os` = left eye. */\nexport type Eye = 'od' | 'os';\n\n/** Distance band — `far` (per lontano), `intermediate`, `near` (per vicino). */\nexport type DistanceBand = 'far' | 'intermediate' | 'near';\n\n/** Prism base direction. */\nexport type PrismBase = 'up' | 'down' | 'in' | 'out';\n\n/** Lens construction. */\nexport type LensType = 'single-vision' | 'bifocal' | 'progressive';\n\n/** Axis notation system — TABO (European) or INT (international). */\nexport type AxisSystem = 'tabo' | 'int';\n\n/** `'interactive'` renders editable inputs; `'display'` is a read-only grid. */\nexport type OpticalPrescriptionMode = 'interactive' | 'display';\n\n/** One eye's refraction at one distance band. All fields optional. */\nexport interface RefractionRow {\n /** Spherical power, dioptres (±, 0.25 steps). */\n sphere?: number;\n /** Cylindrical power, dioptres (±, 0.25 steps). */\n cylinder?: number;\n /** Cylinder axis, 0–180°. */\n axis?: number;\n /** Reading addition, dioptres (+, 0.25 steps). */\n add?: number;\n /** Prismatic power, prism dioptres. */\n prism?: number;\n /** Prism base direction. */\n base?: PrismBase;\n}\n\n/** A full glasses prescription. */\nexport interface OpticalPrescriptionValue {\n /** Refraction rows, keyed by band then eye. */\n bands: Partial<Record<DistanceBand, Partial<Record<Eye, RefractionRow>>>>;\n /** Interpupillary distance (DIP / PD), millimetres. */\n pd?: number;\n /** Lens construction. */\n lensType?: LensType;\n /** Axis notation system. */\n axisSystem?: AxisSystem;\n /** Free-text clinical note. PHI — never bundle real notes in stories. */\n notes?: string;\n}\n\n/* ------------------------------------------------------------------ */\n/* Closed sets + ranges */\n/* ------------------------------------------------------------------ */\n\nexport const EYES: readonly Eye[] = ['od', 'os'];\nexport const DISTANCE_BANDS: readonly DistanceBand[] = [\n 'far',\n 'intermediate',\n 'near',\n];\nexport const PRISM_BASES: readonly PrismBase[] = ['up', 'down', 'in', 'out'];\nexport const LENS_TYPES: readonly LensType[] = [\n 'single-vision',\n 'bifocal',\n 'progressive',\n];\nexport const AXIS_SYSTEMS: readonly AxisSystem[] = ['tabo', 'int'];\n\n/** The dioptric columns, in display order. `base` pairs with `prism`. */\nexport const REFRACTION_COLUMNS: readonly (keyof RefractionRow)[] = [\n 'sphere',\n 'cylinder',\n 'axis',\n 'add',\n 'prism',\n 'base',\n];\n\n/** Dioptric step for sphere / cylinder / add. */\nexport const DIOPTRE_STEP = 0.25;\n/** Sphere range, dioptres. */\nexport const SPHERE_MIN = -30;\nexport const SPHERE_MAX = 30;\n/** Cylinder range, dioptres. */\nexport const CYLINDER_MIN = -12;\nexport const CYLINDER_MAX = 12;\n/** Reading addition range, dioptres. */\nexport const ADD_MIN = 0;\nexport const ADD_MAX = 6;\n/** Axis range, degrees. */\nexport const AXIS_MIN = 0;\nexport const AXIS_MAX = 180;\nexport const AXIS_STEP = 1;\n/** Interpupillary distance range, millimetres. */\nexport const PD_MIN = 40;\nexport const PD_MAX = 85;\n/** Prism range, prism dioptres. */\nexport const PRISM_MIN = 0;\nexport const PRISM_MAX = 20;\n\n/* ------------------------------------------------------------------ */\n/* Formatters */\n/* ------------------------------------------------------------------ */\n\n/**\n * Format a number with an explicit leading sign — `+1.50`, `-2.25`. Zero is\n * rendered unsigned (`0.00`). Used for sphere and cylinder, where optometry\n * convention always shows the sign.\n */\nexport function formatSigned(value: number, fractionDigits = 2): string {\n const fixed = Math.abs(value).toFixed(fractionDigits);\n if (value > 0) return `+${fixed}`;\n if (value < 0) return `-${fixed}`;\n return fixed;\n}\n\n/** Sphere power, explicit sign, 2 dp (`+2.00` / `-1.25`). */\nexport function formatSphere(value: number): string {\n return formatSigned(value, 2);\n}\n\n/** Cylinder power, explicit sign, 2 dp. */\nexport function formatCylinder(value: number): string {\n return formatSigned(value, 2);\n}\n\n/** Reading addition — always positive, 2 dp (`+2.00`). */\nexport function formatAdd(value: number): string {\n return `+${Math.abs(value).toFixed(2)}`;\n}\n\n/** Axis, integer degrees with the degree symbol (`90°`). */\nexport function formatAxis(value: number): string {\n const clamped = Math.min(AXIS_MAX, Math.max(AXIS_MIN, Math.round(value)));\n return `${clamped}°`;\n}\n\n/** Prism, 2 dp (`2.00`). */\nexport function formatPrism(value: number): string {\n return value.toFixed(2);\n}\n\n/**\n * Format the numeric value of one refraction column for the read-only grid.\n * `base` is a string enum the component resolves through i18n separately, so it\n * never reaches this numeric formatter; any unhandled field falls through the\n * default branch and is coerced with `String(value)`.\n */\nexport function formatRefraction(\n field: keyof RefractionRow,\n value: number,\n): string {\n switch (field) {\n case 'sphere':\n return formatSphere(value);\n case 'cylinder':\n return formatCylinder(value);\n case 'add':\n return formatAdd(value);\n case 'axis':\n return formatAxis(value);\n case 'prism':\n return formatPrism(value);\n default:\n return String(value);\n }\n}\n\n/* ------------------------------------------------------------------ */\n/* Immutable helpers */\n/* ------------------------------------------------------------------ */\n\n/** An empty prescription. */\nexport function emptyValue(): OpticalPrescriptionValue {\n return { bands: {} };\n}\n\n/** Read one eye's row at one band (undefined when absent). */\nexport function getRow(\n value: OpticalPrescriptionValue,\n band: DistanceBand,\n eye: Eye,\n): RefractionRow | undefined {\n return value.bands[band]?.[eye];\n}\n\n/**\n * Immutably set (or clear) a single cell. Passing `undefined` / `null` removes\n * the field; emptying a row removes the row, and emptying a band removes the\n * band — so `bandsInValue` and the agent state snapshot stay tight.\n */\nexport function setCell<K extends keyof RefractionRow>(\n value: OpticalPrescriptionValue,\n band: DistanceBand,\n eye: Eye,\n field: K,\n fieldValue: RefractionRow[K] | undefined,\n): OpticalPrescriptionValue {\n const bands = { ...value.bands };\n const bandRows = { ...(bands[band] ?? {}) };\n const row: RefractionRow = { ...(bandRows[eye] ?? {}) };\n\n if (fieldValue === undefined || fieldValue === null) {\n delete row[field];\n } else {\n row[field] = fieldValue;\n }\n\n if (Object.keys(row).length === 0) {\n delete bandRows[eye];\n } else {\n bandRows[eye] = row;\n }\n\n if (Object.keys(bandRows).length === 0) {\n delete bands[band];\n } else {\n bands[band] = bandRows;\n }\n\n return { ...value, bands };\n}\n\n/** Immutably remove every row in a band. */\nexport function clearBand(\n value: OpticalPrescriptionValue,\n band: DistanceBand,\n): OpticalPrescriptionValue {\n if (!value.bands[band]) return value;\n const bands = { ...value.bands };\n delete bands[band];\n return { ...value, bands };\n}\n\n/** The distance bands carrying at least one refraction value, in order. */\nexport function bandsInValue(value: OpticalPrescriptionValue): DistanceBand[] {\n return DISTANCE_BANDS.filter((band) => {\n const rows = value.bands[band];\n if (!rows) return false;\n return EYES.some((eye) => {\n const row = rows[eye];\n return row !== undefined && Object.keys(row).length > 0;\n });\n });\n}\n","/* ------------------------------------------------------------------ */\n/* OpticalPrescription — the kit's glasses prescription grid. */\n/* */\n/* The ophthalmology equivalent of ToothScheme: a first-class shipped */\n/* component with an editable (`interactive`) and a read-only */\n/* (`display`) mode over a shared value model. A prescription is laid */\n/* out as one small grid per distance BAND (far / intermediate / near) */\n/* with an OD (right eye) and an OS (left eye) row, plus a metadata */\n/* strip (PD, lens type, axis system, free-text note). */\n/* */\n/* It is NOT an HTML <table>: the grid is a CSS grid of ARIA-table */\n/* cells, so the editable mode lays kit NumberInputs / Selects out in */\n/* the same column tracks as the read-only formatted values. OD / OS */\n/* keep the international Latin abbreviations; the full eye name is the */\n/* accessible label. */\n/* ------------------------------------------------------------------ */\n\nimport {\n forwardRef,\n useCallback,\n useId,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n type ChangeEvent,\n type ReactElement,\n} from 'react';\nimport { cva } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport { useAgentRegistration } from '../../agent/registry';\nimport { NumberInput } from '../number-input';\nimport { Select } from '../select';\nimport { TextArea } from '../text-area';\nimport { DescriptionList } from '../description-list';\nimport { opticalPrescriptionAgent } from './optical-prescription.agent';\nimport {\n ADD_MAX,\n ADD_MIN,\n AXIS_MAX,\n AXIS_MIN,\n AXIS_STEP,\n AXIS_SYSTEMS,\n CYLINDER_MAX,\n CYLINDER_MIN,\n DIOPTRE_STEP,\n EYES,\n LENS_TYPES,\n PD_MAX,\n PD_MIN,\n PRISM_BASES,\n PRISM_MAX,\n PRISM_MIN,\n SPHERE_MAX,\n SPHERE_MIN,\n bandsInValue,\n emptyValue,\n formatRefraction,\n getRow as getRowData,\n setCell as setCellData,\n clearBand as clearBandData,\n type AxisSystem,\n type DistanceBand,\n type Eye,\n type LensType,\n type OpticalPrescriptionMode,\n type OpticalPrescriptionValue,\n type PrismBase,\n type RefractionRow,\n} from './optical-prescription-data';\n\n/* ------------------------------------------------------------------ */\n/* Public types */\n/* ------------------------------------------------------------------ */\n\nexport interface OpticalPrescriptionProps {\n /** Opaque instance id — emitted as `data-component-id` for the agent registry. */\n id?: string;\n /** `'interactive'` enables editing; `'display'` is a read-only grid. Default `'interactive'`. */\n mode?: OpticalPrescriptionMode;\n /** Controlled prescription value. */\n value?: OpticalPrescriptionValue;\n /** Uncontrolled initial value. */\n defaultValue?: OpticalPrescriptionValue;\n /** Fired whenever the prescription changes. */\n onChange?: (next: OpticalPrescriptionValue) => void;\n /** Distance bands to render, in order. Default `['far', 'near']`. */\n bands?: DistanceBand[];\n /** Render the prism + base columns. Default `false`. */\n showPrism?: boolean;\n /** Render the metadata strip (PD, lens type, axis system, note). Default `true`. */\n metadata?: boolean;\n /** Vertical rhythm. Default `'comfortable'`. */\n density?: 'comfortable' | 'compact';\n /** Accessible label override for the prescription region. */\n ariaLabel?: string;\n /** Extra class names on the wrapper. */\n className?: string;\n}\n\nexport interface OpticalPrescriptionHandle {\n /** Focus an eye's row (first editable cell in interactive mode), optionally within a band. */\n focusEye: (eye: Eye, band?: DistanceBand) => void;\n /** Read the current prescription value. */\n getValue: () => OpticalPrescriptionValue;\n /** Replace the prescription value. */\n setValue: (next: OpticalPrescriptionValue) => void;\n /** Read one eye's refraction row at a band (undefined when absent). */\n getRow: (band: DistanceBand, eye: Eye) => RefractionRow | undefined;\n /** Set (or clear, with null) a single refraction cell. */\n setCell: (\n band: DistanceBand,\n eye: Eye,\n field: keyof RefractionRow,\n value: number | PrismBase | null,\n ) => void;\n /** Clear every refraction row in a band. */\n clearBand: (band: DistanceBand) => void;\n /** The distance bands carrying at least one value. */\n getBands: () => DistanceBand[];\n}\n\n/* ------------------------------------------------------------------ */\n/* CVA */\n/* ------------------------------------------------------------------ */\n\nconst containerVariants = cva('ds:flex ds:flex-col', {\n variants: {\n density: {\n comfortable: 'ds:gap-4',\n compact: 'ds:gap-2',\n },\n },\n defaultVariants: { density: 'comfortable' },\n});\n\n// Literal class strings so Tailwind compiles each grid template (it cannot see\n// a dynamically built class name). Keyed by data-column count (eye column +\n// N refraction columns).\nconst GRID_TEMPLATE: Record<number, string> = {\n 4: 'ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(4,minmax(0,1fr))]',\n 5: 'ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(5,minmax(0,1fr))]',\n 6: 'ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(6,minmax(0,1fr))]',\n};\n\nconst headerCell =\n 'ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]';\nconst numericCell =\n 'ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]';\n\n/* ------------------------------------------------------------------ */\n/* OpticalPrescription */\n/* ------------------------------------------------------------------ */\n\nexport const OpticalPrescription = forwardRef<\n OpticalPrescriptionHandle,\n OpticalPrescriptionProps\n>(\n (\n {\n id,\n mode = 'interactive',\n value,\n defaultValue,\n onChange,\n bands = ['far', 'near'],\n showPrism = false,\n metadata = true,\n density = 'comfortable',\n ariaLabel,\n className,\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const reactId = useId();\n const instanceId = id ?? reactId;\n const rootRef = useRef<HTMLDivElement>(null);\n\n const interactive = mode === 'interactive';\n\n const isControlled = value !== undefined;\n const [internal, setInternal] = useState<OpticalPrescriptionValue>(\n defaultValue ?? emptyValue(),\n );\n const current = isControlled ? value : internal;\n const valueRef = useRef<OpticalPrescriptionValue>(current);\n valueRef.current = current;\n\n const commit = useCallback(\n (next: OpticalPrescriptionValue) => {\n if (!isControlled) setInternal(next);\n onChange?.(next);\n },\n [isControlled, onChange],\n );\n\n const setCellFn = useCallback(\n (\n band: DistanceBand,\n eye: Eye,\n field: keyof RefractionRow,\n v: number | PrismBase | null,\n ) => {\n commit(setCellData(valueRef.current, band, eye, field, v ?? undefined));\n },\n [commit],\n );\n\n const setMeta = useCallback(\n (patch: Partial<OpticalPrescriptionValue>) => {\n commit({ ...valueRef.current, ...patch });\n },\n [commit],\n );\n\n const renderedBands = bands;\n const renderedBandsRef = useRef<DistanceBand[]>(renderedBands);\n renderedBandsRef.current = renderedBands;\n\n const columns = useMemo<(keyof RefractionRow)[]>(\n () =>\n showPrism\n ? ['sphere', 'cylinder', 'axis', 'add', 'prism', 'base']\n : ['sphere', 'cylinder', 'axis', 'add'],\n [showPrism],\n );\n\n const focusEye = useCallback((eye: Eye, band?: DistanceBand) => {\n const root = rootRef.current;\n if (!root) return;\n const targetBand = band ?? renderedBandsRef.current[0];\n if (!targetBand) return;\n const row = root.querySelector<HTMLElement>(\n `[data-band=\"${targetBand}\"][data-eye=\"${eye}\"]`,\n );\n if (!row) return;\n // Editable controls win: in interactive mode the first cell's NumberInput /\n // Select is the focus target, NOT the static rowheader (which also matches\n // `[tabindex]`). The NumberInput's decorative spinner buttons carry\n // `tabindex=\"-1\"`, so excluding them lands focus on the real input. Only\n // when the row has no editable control (display mode) do we fall back to\n // the `[tabindex]` rowheader, then the row itself.\n const focusable =\n row.querySelector<HTMLElement>(\n 'input, textarea, button:not([tabindex=\"-1\"])',\n ) ?? row.querySelector<HTMLElement>('[tabindex]');\n (focusable ?? row).focus();\n }, []);\n\n /* ---- Imperative handle + agent registration ---- */\n const handle = useMemo<OpticalPrescriptionHandle>(\n () => ({\n focusEye,\n getValue: () => valueRef.current,\n setValue: (next) => commit(next),\n getRow: (band, eye) => getRowData(valueRef.current, band, eye),\n setCell: setCellFn,\n clearBand: (band) => commit(clearBandData(valueRef.current, band)),\n getBands: () => bandsInValue(valueRef.current),\n }),\n [focusEye, commit, setCellFn],\n );\n useImperativeHandle(ref, () => handle, [handle]);\n useAgentRegistration(opticalPrescriptionAgent, handle, instanceId);\n\n /* ---- Labels ---- */\n const eyeName = useCallback(\n (eye: Eye): string => t(`opticalPrescription.eye.${eye}Name`),\n [t],\n );\n const columnLabel = useCallback(\n (col: keyof RefractionRow): string =>\n t(`opticalPrescription.column.${col}`),\n [t],\n );\n const bandLabel = useCallback(\n (band: DistanceBand): string => t(`opticalPrescription.band.${band}`),\n [t],\n );\n\n /* ---- Cell renderers ---- */\n const renderEditableCell = useCallback(\n (\n band: DistanceBand,\n eye: Eye,\n col: keyof RefractionRow,\n ): ReactElement => {\n const row = getRowData(valueRef.current, band, eye);\n const raw = row?.[col];\n const cellAria = t('opticalPrescription.cellLabel', {\n eye: eyeName(eye),\n column: columnLabel(col),\n band: bandLabel(band),\n });\n\n if (col === 'base') {\n const baseValue: PrismBase | '' = typeof raw === 'string' ? raw : '';\n return (\n <div role=\"cell\" data-field={col} className=\"ds:min-w-0\">\n <Select<PrismBase>\n size=\"md\"\n clearable\n aria-label={cellAria}\n value={baseValue}\n options={PRISM_BASES.map((b) => ({\n value: b,\n label: t(`opticalPrescription.base.${b}`),\n }))}\n onValueChange={(next) =>\n setCellFn(band, eye, 'base', next === '' ? null : next)\n }\n />\n </div>\n );\n }\n\n const numeric = typeof raw === 'number' ? raw : null;\n const numberProps =\n col === 'axis'\n ? {\n mode: 'integer' as const,\n step: AXIS_STEP,\n min: AXIS_MIN,\n max: AXIS_MAX,\n }\n : col === 'add'\n ? {\n mode: 'decimal' as const,\n step: DIOPTRE_STEP,\n min: ADD_MIN,\n max: ADD_MAX,\n }\n : col === 'prism'\n ? {\n mode: 'decimal' as const,\n step: DIOPTRE_STEP,\n min: PRISM_MIN,\n max: PRISM_MAX,\n }\n : col === 'cylinder'\n ? {\n mode: 'decimal' as const,\n step: DIOPTRE_STEP,\n min: CYLINDER_MIN,\n max: CYLINDER_MAX,\n }\n : {\n mode: 'decimal' as const,\n step: DIOPTRE_STEP,\n min: SPHERE_MIN,\n max: SPHERE_MAX,\n };\n\n return (\n <div role=\"cell\" data-field={col} className=\"ds:min-w-0\">\n <NumberInput\n size=\"md\"\n aria-label={cellAria}\n value={numeric}\n {...numberProps}\n onChange={(n) => setCellFn(band, eye, col, n)}\n />\n </div>\n );\n },\n [t, eyeName, columnLabel, bandLabel, setCellFn],\n );\n\n const renderDisplayCell = useCallback(\n (\n band: DistanceBand,\n eye: Eye,\n col: keyof RefractionRow,\n ): ReactElement => {\n const row = getRowData(valueRef.current, band, eye);\n const raw = row?.[col];\n let text: string;\n if (raw === undefined) {\n text = t('opticalPrescription.empty');\n } else if (col === 'base' && typeof raw === 'string') {\n text = t(`opticalPrescription.base.${raw}`);\n } else if (typeof raw === 'number') {\n text = formatRefraction(col, raw);\n } else {\n text = t('opticalPrescription.empty');\n }\n return (\n <span role=\"cell\" data-field={col} className={numericCell}>\n {text}\n </span>\n );\n },\n [t],\n );\n\n const renderBand = useCallback(\n (band: DistanceBand): ReactElement => {\n const titleId = `${instanceId}-band-${band}`;\n const template = GRID_TEMPLATE[columns.length + 1] ?? GRID_TEMPLATE[4];\n return (\n <section\n key={band}\n className=\"ds:flex ds:flex-col ds:gap-1\"\n aria-labelledby={titleId}\n >\n {/* Band label is a CAPTION, not a document heading: each band is a\n role=\"table\" with this text as its accessible name, so emitting it\n as an <h4> would inject a spurious heading level (and an h2→h4 skip\n when a host page mounts the grid under an h2 section). A <p>\n caption keeps the visual label and the section's accessible name\n without entering the heading outline. */}\n <p\n id={titleId}\n className=\"ds:m-0 ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]\"\n >\n {bandLabel(band)}\n </p>\n <div\n role=\"table\"\n aria-label={bandLabel(band)}\n className={`ds:grid ds:items-center ds:gap-x-2 ds:gap-y-1 ${template}`}\n >\n {/* Header row */}\n <div role=\"row\" className=\"ds:contents\">\n <span\n role=\"columnheader\"\n className={`${headerCell} ds:text-start`}\n >\n {t('opticalPrescription.column.eye')}\n </span>\n {columns.map((col) => (\n <span\n key={col}\n role=\"columnheader\"\n className={`${headerCell} ds:text-end`}\n >\n {columnLabel(col)}\n </span>\n ))}\n </div>\n {/* Eye rows */}\n {EYES.map((eye) => (\n <div\n key={eye}\n role=\"row\"\n data-eye={eye}\n data-band={band}\n className=\"ds:contents\"\n >\n <span\n role=\"rowheader\"\n tabIndex={-1}\n aria-label={eyeName(eye)}\n 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)]\"\n >\n {t(`opticalPrescription.eye.${eye}`)}\n </span>\n {columns.map((col) =>\n interactive\n ? renderEditableCell(band, eye, col)\n : renderDisplayCell(band, eye, col),\n )}\n </div>\n ))}\n </div>\n </section>\n );\n },\n [\n instanceId,\n columns,\n interactive,\n bandLabel,\n columnLabel,\n eyeName,\n renderEditableCell,\n renderDisplayCell,\n t,\n ],\n );\n\n /* ---- Metadata strip ---- */\n const renderMetadata = useCallback((): ReactElement | null => {\n if (!metadata) return null;\n const v = current;\n\n if (interactive) {\n return (\n <div\n role=\"group\"\n aria-label={t('opticalPrescription.metaLabel')}\n className=\"ds:grid ds:gap-3 ds:grid-cols-[repeat(auto-fit,minmax(8rem,1fr))]\"\n >\n <div className=\"ds:flex ds:flex-col ds:gap-1\">\n <span className={headerCell}>\n {t('opticalPrescription.pd.label')}\n </span>\n <NumberInput\n size=\"md\"\n mode=\"decimal\"\n step={0.5}\n min={PD_MIN}\n max={PD_MAX}\n aria-label={t('opticalPrescription.pd.full')}\n value={v.pd ?? null}\n onChange={(n) => setMeta({ pd: n ?? undefined })}\n />\n </div>\n <div className=\"ds:flex ds:flex-col ds:gap-1\">\n <span className={headerCell}>\n {t('opticalPrescription.lensType.label')}\n </span>\n <Select<LensType>\n size=\"md\"\n clearable\n aria-label={t('opticalPrescription.lensType.label')}\n value={v.lensType ?? ''}\n options={LENS_TYPES.map((lt) => ({\n value: lt,\n label: t(`opticalPrescription.lensType.${lt}`),\n }))}\n onValueChange={(next) =>\n setMeta({ lensType: next === '' ? undefined : next })\n }\n />\n </div>\n <div className=\"ds:flex ds:flex-col ds:gap-1\">\n <span className={headerCell}>\n {t('opticalPrescription.axisSystem.label')}\n </span>\n <Select<AxisSystem>\n size=\"md\"\n clearable\n aria-label={t('opticalPrescription.axisSystem.label')}\n value={v.axisSystem ?? ''}\n options={AXIS_SYSTEMS.map((as) => ({\n value: as,\n label: t(`opticalPrescription.axisSystem.${as}`),\n }))}\n onValueChange={(next) =>\n setMeta({ axisSystem: next === '' ? undefined : next })\n }\n />\n </div>\n <div className=\"ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]\">\n <span className={headerCell}>\n {t('opticalPrescription.notes.label')}\n </span>\n <TextArea\n size=\"md\"\n minRows={2}\n aria-label={t('opticalPrescription.notes.label')}\n placeholder={t('opticalPrescription.notes.placeholder')}\n value={v.notes ?? ''}\n onChange={(e: ChangeEvent<HTMLTextAreaElement>) =>\n setMeta({ notes: e.target.value || undefined })\n }\n />\n </div>\n </div>\n );\n }\n\n // Display mode — read-only metadata via DescriptionList.\n const hasAny =\n v.pd !== undefined ||\n v.lensType !== undefined ||\n v.axisSystem !== undefined ||\n (v.notes !== undefined && v.notes !== '');\n if (!hasAny) return null;\n\n return (\n <DescriptionList\n layout=\"inline\"\n labelWidth=\"fixed\"\n density=\"compact\"\n aria-label={t('opticalPrescription.metaLabel')}\n >\n {v.pd !== undefined && (\n <DescriptionList.Row>\n <DescriptionList.Term>\n {t('opticalPrescription.pd.label')}\n </DescriptionList.Term>\n <DescriptionList.Detail numeric>\n {t('opticalPrescription.pd.value', { value: v.pd })}\n </DescriptionList.Detail>\n </DescriptionList.Row>\n )}\n {v.lensType !== undefined && (\n <DescriptionList.Row>\n <DescriptionList.Term>\n {t('opticalPrescription.lensType.label')}\n </DescriptionList.Term>\n <DescriptionList.Detail>\n {t(`opticalPrescription.lensType.${v.lensType}`)}\n </DescriptionList.Detail>\n </DescriptionList.Row>\n )}\n {v.axisSystem !== undefined && (\n <DescriptionList.Row>\n <DescriptionList.Term>\n {t('opticalPrescription.axisSystem.label')}\n </DescriptionList.Term>\n <DescriptionList.Detail>\n {t(`opticalPrescription.axisSystem.${v.axisSystem}`)}\n </DescriptionList.Detail>\n </DescriptionList.Row>\n )}\n {v.notes !== undefined && v.notes !== '' && (\n <DescriptionList.Row>\n <DescriptionList.Term>\n {t('opticalPrescription.notes.label')}\n </DescriptionList.Term>\n <DescriptionList.Detail>{v.notes}</DescriptionList.Detail>\n </DescriptionList.Row>\n )}\n </DescriptionList>\n );\n }, [metadata, current, interactive, t, setMeta]);\n\n return (\n <div\n ref={rootRef}\n data-component=\"optical-prescription\"\n data-component-id={instanceId}\n data-mode={mode}\n role=\"group\"\n aria-label={ariaLabel ?? t('opticalPrescription.ariaLabel')}\n className={containerVariants({ density, className })}\n >\n {renderedBands.map((band) => renderBand(band))}\n {renderMetadata()}\n </div>\n );\n },\n);\n\nOpticalPrescription.displayName = 'OpticalPrescription';\n"],"names":["EYE_SCHEMA","BAND_SCHEMA","FIELD_SCHEMA","ROW_SCHEMA","VALUE_SCHEMA","opticalPrescriptionAgent","handle","v","args","EYES","DISTANCE_BANDS","PRISM_BASES","LENS_TYPES","AXIS_SYSTEMS","REFRACTION_COLUMNS","DIOPTRE_STEP","SPHERE_MIN","SPHERE_MAX","CYLINDER_MIN","CYLINDER_MAX","ADD_MIN","ADD_MAX","AXIS_MIN","AXIS_MAX","AXIS_STEP","PD_MIN","PD_MAX","PRISM_MIN","PRISM_MAX","formatSigned","value","fractionDigits","fixed","formatSphere","formatCylinder","formatAdd","formatAxis","formatPrism","formatRefraction","field","emptyValue","getRow","band","eye","_a","setCell","fieldValue","bands","bandRows","row","clearBand","bandsInValue","rows","containerVariants","cva","GRID_TEMPLATE","headerCell","numericCell","OpticalPrescription","forwardRef","id","mode","defaultValue","onChange","showPrism","metadata","density","ariaLabel","className","ref","t","useTranslation","reactId","useId","instanceId","rootRef","useRef","interactive","isControlled","internal","setInternal","useState","current","valueRef","commit","useCallback","next","setCellFn","setCellData","setMeta","patch","renderedBands","renderedBandsRef","columns","useMemo","focusEye","root","targetBand","getRowData","clearBandData","useImperativeHandle","useAgentRegistration","eyeName","columnLabel","col","bandLabel","renderEditableCell","raw","cellAria","jsx","Select","b","NumberInput","n","renderDisplayCell","text","renderBand","titleId","template","jsxs","renderMetadata","lt","as","TextArea","e","DescriptionList"],"mappings":";;;;;;;;;AAYA,MAAMA,IAAa;AAAA,EACjB,MAAM,CAAC,MAAM,IAAI;AAAA,EACjB,aAAa;AACf,GACMC,IAAc;AAAA,EAClB,MAAM,CAAC,OAAO,gBAAgB,MAAM;AAAA,EACpC,aACE;AACJ,GACMC,KAAe;AAAA,EACnB,MAAM,CAAC,UAAU,YAAY,QAA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A;AAAA,QAAe;AAAA,MAAA;AAAA,IAAA;AAAA,EAGtB;AACF;AAEA9D,GAAoB,cAAc;"}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g, useEffect as j, useCallback as V, useMemo as K, useRef as A, useId as Z } from "react";
|
|
3
|
+
import { u as D } from "./use-controllable-state-BiY4xTzM.js";
|
|
4
|
+
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
5
|
+
import * as p from "@radix-ui/react-select";
|
|
6
|
+
import { c as ae } from "./index-D2ZczOXr.js";
|
|
7
|
+
import { useTranslation as b } from "react-i18next";
|
|
8
|
+
import { E as se } from "./ellipsis-dRo9ouSU.js";
|
|
9
|
+
import { C as _ } from "./chevron-right-I9AeSxH2.js";
|
|
10
|
+
import { C as ie } from "./chevron-left-B8cOyH-V.js";
|
|
11
|
+
import { C as te, a as ne } from "./chevrons-right-DIHg7Xqi.js";
|
|
12
|
+
import { C as re } from "./check-DrFSN__t.js";
|
|
13
|
+
const oe = {
|
|
14
|
+
id: "pagination",
|
|
15
|
+
capabilities: ["paginate", "range_navigate"],
|
|
16
|
+
state: {
|
|
17
|
+
currentPage: {
|
|
18
|
+
type: "number",
|
|
19
|
+
descriptionKey: "ui.agent.pagination.state.currentPage",
|
|
20
|
+
description: "Current page index (1-based).",
|
|
21
|
+
read: (e) => e.getCurrentPage()
|
|
22
|
+
},
|
|
23
|
+
totalPages: {
|
|
24
|
+
type: "number",
|
|
25
|
+
descriptionKey: "ui.agent.pagination.state.totalPages",
|
|
26
|
+
description: "Total number of pages.",
|
|
27
|
+
read: (e) => e.getTotalPages()
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
actions: {
|
|
31
|
+
go_to_page: {
|
|
32
|
+
safety: "read",
|
|
33
|
+
argsType: "{ page: number }",
|
|
34
|
+
argsSchema: {
|
|
35
|
+
type: "object",
|
|
36
|
+
properties: {
|
|
37
|
+
page: {
|
|
38
|
+
type: "integer",
|
|
39
|
+
minimum: 1,
|
|
40
|
+
description: "1-indexed target page."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
required: ["page"]
|
|
44
|
+
},
|
|
45
|
+
idempotent: !0,
|
|
46
|
+
errors: ["Page is out of range (clamped to [1, totalPages])."],
|
|
47
|
+
examples: [{ args: { page: 3 } }],
|
|
48
|
+
descriptionKey: "ui.agent.pagination.actions.goToPage",
|
|
49
|
+
description: "Navigate to a specific 1-indexed page.",
|
|
50
|
+
invoke: (e, a) => {
|
|
51
|
+
e.goToPage(a.page);
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
next: {
|
|
55
|
+
safety: "read",
|
|
56
|
+
descriptionKey: "ui.agent.pagination.actions.next",
|
|
57
|
+
description: "Advance to the next page.",
|
|
58
|
+
invoke: (e) => {
|
|
59
|
+
e.next();
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
previous: {
|
|
63
|
+
safety: "read",
|
|
64
|
+
descriptionKey: "ui.agent.pagination.actions.previous",
|
|
65
|
+
description: "Step back to the previous page.",
|
|
66
|
+
invoke: (e) => {
|
|
67
|
+
e.previous();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
domHooks: {
|
|
72
|
+
root: { attr: "data-component", value: "pagination" },
|
|
73
|
+
instanceId: {
|
|
74
|
+
attr: "data-component-id",
|
|
75
|
+
sourceProp: "id",
|
|
76
|
+
description: "Sourced from the id prop."
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, de = [
|
|
80
|
+
"ds:inline-flex ds:items-center ds:justify-center",
|
|
81
|
+
"ds:rounded-[var(--radius-sm)]",
|
|
82
|
+
"ds:border ds:border-transparent",
|
|
83
|
+
"ds:font-[var(--font-weight-medium)]",
|
|
84
|
+
"ds:text-[var(--foreground)]",
|
|
85
|
+
"ds:select-none",
|
|
86
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
87
|
+
"ds:hover:bg-[var(--muted)]/20",
|
|
88
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
89
|
+
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
90
|
+
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
|
|
91
|
+
"ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
|
|
92
|
+
].join(" "), y = ae(de, {
|
|
93
|
+
variants: {
|
|
94
|
+
size: {
|
|
95
|
+
sm: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:text-[length:var(--font-size-sm)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
|
|
96
|
+
md: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
97
|
+
lg: "ds:min-w-[3rem] ds:min-h-[3rem] ds:text-[length:var(--font-size-lg)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
98
|
+
},
|
|
99
|
+
active: {
|
|
100
|
+
true: "ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)] ds:font-[var(--font-weight-bold)] ds:outline ds:outline-1 ds:outline-[var(--primary)] ds:hover:bg-[var(--primary-hover)]",
|
|
101
|
+
false: ""
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
defaultVariants: { size: "md", active: !1 }
|
|
105
|
+
});
|
|
106
|
+
function N(e, a) {
|
|
107
|
+
const t = [];
|
|
108
|
+
for (let s = e; s <= a; s++) t.push(s);
|
|
109
|
+
return t;
|
|
110
|
+
}
|
|
111
|
+
function le(e, a, t = 1, s = 1) {
|
|
112
|
+
if (a <= 0) return [];
|
|
113
|
+
if (t = Math.max(0, t), s = Math.max(1, s), s * 2 + t * 2 + 3 >= a) return N(1, a);
|
|
114
|
+
const r = N(1, s), n = N(a - s + 1, a), u = Math.max(
|
|
115
|
+
Math.min(
|
|
116
|
+
e - t,
|
|
117
|
+
a - s - t * 2 - 1
|
|
118
|
+
),
|
|
119
|
+
s + 2
|
|
120
|
+
), h = Math.min(
|
|
121
|
+
Math.max(e + t, s + t * 2 + 2),
|
|
122
|
+
n[0] - 2
|
|
123
|
+
), l = [...r];
|
|
124
|
+
return u > s + 2 ? l.push("ellipsis-start") : s + 1 < a - s && l.push(s + 1), l.push(...N(u, h)), h < a - s - 1 ? l.push("ellipsis-end") : a - s > s && l.push(a - s), l.push(...n), l;
|
|
125
|
+
}
|
|
126
|
+
const ce = g(
|
|
127
|
+
({
|
|
128
|
+
totalPages: e,
|
|
129
|
+
page: a,
|
|
130
|
+
defaultPage: t = 1,
|
|
131
|
+
onPageChange: s,
|
|
132
|
+
siblingCount: d = 1,
|
|
133
|
+
boundaryCount: r = 1,
|
|
134
|
+
size: n = "md",
|
|
135
|
+
showEndpoints: u = !1,
|
|
136
|
+
align: h = "center",
|
|
137
|
+
pageSize: l,
|
|
138
|
+
useLocaleDigits: k = !1,
|
|
139
|
+
locale: T,
|
|
140
|
+
className: J,
|
|
141
|
+
id: w,
|
|
142
|
+
...O
|
|
143
|
+
}, Q) => {
|
|
144
|
+
const { t: R, i18n: C } = b(), [U, M] = D({
|
|
145
|
+
value: a,
|
|
146
|
+
defaultValue: t,
|
|
147
|
+
onChange: s
|
|
148
|
+
}), c = U ?? t;
|
|
149
|
+
j(() => {
|
|
150
|
+
a !== void 0 && t !== 1 && console.warn(
|
|
151
|
+
"[Pagination] Both `page` and `defaultPage` were supplied. The `page` prop wins; remove `defaultPage` for controlled usage."
|
|
152
|
+
);
|
|
153
|
+
}, [a, t]);
|
|
154
|
+
const m = V(
|
|
155
|
+
(o) => {
|
|
156
|
+
const P = Math.min(Math.max(o, 1), Math.max(1, e));
|
|
157
|
+
M(P);
|
|
158
|
+
},
|
|
159
|
+
[M, e]
|
|
160
|
+
), S = V(
|
|
161
|
+
(o) => {
|
|
162
|
+
if (!k) return String(o);
|
|
163
|
+
try {
|
|
164
|
+
return new Intl.NumberFormat(T ?? C.language).format(o);
|
|
165
|
+
} catch {
|
|
166
|
+
return String(o);
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
[C.language, T, k]
|
|
170
|
+
), W = K(
|
|
171
|
+
() => le(c, e, d, r),
|
|
172
|
+
[c, e, d, r]
|
|
173
|
+
), E = c <= 1, B = c >= e, x = A(c);
|
|
174
|
+
j(() => {
|
|
175
|
+
x.current = c;
|
|
176
|
+
}, [c]);
|
|
177
|
+
const L = A(e);
|
|
178
|
+
j(() => {
|
|
179
|
+
L.current = e;
|
|
180
|
+
}, [e]);
|
|
181
|
+
const X = K(
|
|
182
|
+
() => ({
|
|
183
|
+
getCurrentPage: () => x.current,
|
|
184
|
+
getTotalPages: () => L.current,
|
|
185
|
+
goToPage: (o) => m(o),
|
|
186
|
+
next: () => m(x.current + 1),
|
|
187
|
+
previous: () => m(x.current - 1)
|
|
188
|
+
}),
|
|
189
|
+
[m]
|
|
190
|
+
);
|
|
191
|
+
ee(oe, X, w);
|
|
192
|
+
const Y = h === "start" ? "ds:justify-start" : h === "end" ? "ds:justify-end" : "ds:justify-center";
|
|
193
|
+
return /* @__PURE__ */ f(
|
|
194
|
+
"nav",
|
|
195
|
+
{
|
|
196
|
+
ref: Q,
|
|
197
|
+
"aria-label": R("navigation.pagination.label"),
|
|
198
|
+
id: w,
|
|
199
|
+
"data-component": "pagination",
|
|
200
|
+
"data-component-id": w,
|
|
201
|
+
className: [
|
|
202
|
+
"ds:flex ds:items-center",
|
|
203
|
+
Y,
|
|
204
|
+
"ds:gap-[var(--spacing-sm)]",
|
|
205
|
+
"ds:flex-wrap",
|
|
206
|
+
J ?? ""
|
|
207
|
+
].filter(Boolean).join(" "),
|
|
208
|
+
...O,
|
|
209
|
+
children: [
|
|
210
|
+
/* @__PURE__ */ f(F, { size: n, children: [
|
|
211
|
+
u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
|
|
212
|
+
z,
|
|
213
|
+
{
|
|
214
|
+
type: "first",
|
|
215
|
+
size: n,
|
|
216
|
+
disabled: E,
|
|
217
|
+
onClick: () => m(1)
|
|
218
|
+
}
|
|
219
|
+
) }) : null,
|
|
220
|
+
/* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
|
|
221
|
+
$,
|
|
222
|
+
{
|
|
223
|
+
size: n,
|
|
224
|
+
disabled: E,
|
|
225
|
+
onClick: () => m(c - 1)
|
|
226
|
+
}
|
|
227
|
+
) }),
|
|
228
|
+
W.map((o, P) => o === "ellipsis-start" || o === "ellipsis-end" ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(G, {}) }, `e-${P}`) : /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
|
|
229
|
+
H,
|
|
230
|
+
{
|
|
231
|
+
size: n,
|
|
232
|
+
isActive: o === c,
|
|
233
|
+
"aria-label": R("navigation.pagination.pageN", { n: o }),
|
|
234
|
+
onClick: () => m(o),
|
|
235
|
+
children: S(o)
|
|
236
|
+
}
|
|
237
|
+
) }, `p-${o}`)),
|
|
238
|
+
/* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
|
|
239
|
+
q,
|
|
240
|
+
{
|
|
241
|
+
size: n,
|
|
242
|
+
disabled: B,
|
|
243
|
+
onClick: () => m(c + 1)
|
|
244
|
+
}
|
|
245
|
+
) }),
|
|
246
|
+
u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
|
|
247
|
+
z,
|
|
248
|
+
{
|
|
249
|
+
type: "last",
|
|
250
|
+
size: n,
|
|
251
|
+
disabled: B,
|
|
252
|
+
onClick: () => m(e)
|
|
253
|
+
}
|
|
254
|
+
) }) : null
|
|
255
|
+
] }),
|
|
256
|
+
l ? /* @__PURE__ */ i(
|
|
257
|
+
ue,
|
|
258
|
+
{
|
|
259
|
+
size: n,
|
|
260
|
+
value: l.value,
|
|
261
|
+
options: l.options ?? [10, 25, 50, 100],
|
|
262
|
+
onChange: l.onChange,
|
|
263
|
+
formatNumber: S
|
|
264
|
+
}
|
|
265
|
+
) : null
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
);
|
|
271
|
+
ce.displayName = "Pagination";
|
|
272
|
+
const F = g(
|
|
273
|
+
({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i(
|
|
274
|
+
"ul",
|
|
275
|
+
{
|
|
276
|
+
ref: s,
|
|
277
|
+
className: [
|
|
278
|
+
"ds:flex ds:items-center",
|
|
279
|
+
"ds:gap-[var(--spacing-xs)]",
|
|
280
|
+
"ds:m-0 ds:ps-0",
|
|
281
|
+
"ds:list-none",
|
|
282
|
+
a ?? ""
|
|
283
|
+
].filter(Boolean).join(" "),
|
|
284
|
+
...t,
|
|
285
|
+
children: e
|
|
286
|
+
}
|
|
287
|
+
)
|
|
288
|
+
);
|
|
289
|
+
F.displayName = "PaginationList";
|
|
290
|
+
const v = g(
|
|
291
|
+
({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i("li", { ref: s, className: a, ...t, children: e })
|
|
292
|
+
);
|
|
293
|
+
v.displayName = "PaginationItem";
|
|
294
|
+
const H = g(
|
|
295
|
+
({ isActive: e = !1, size: a = "md", className: t, children: s, ...d }, r) => /* @__PURE__ */ i(
|
|
296
|
+
"button",
|
|
297
|
+
{
|
|
298
|
+
ref: r,
|
|
299
|
+
type: "button",
|
|
300
|
+
"aria-current": e ? "page" : void 0,
|
|
301
|
+
className: y({
|
|
302
|
+
size: a,
|
|
303
|
+
active: e,
|
|
304
|
+
className: t
|
|
305
|
+
}),
|
|
306
|
+
...d,
|
|
307
|
+
children: s
|
|
308
|
+
}
|
|
309
|
+
)
|
|
310
|
+
);
|
|
311
|
+
H.displayName = "PaginationLink";
|
|
312
|
+
const I = "ds:size-4 ds:rtl:-scale-x-100", $ = g(
|
|
313
|
+
({ size: e = "md", disabled: a, onClick: t }, s) => {
|
|
314
|
+
const { t: d } = b(), r = d("navigation.pagination.previous");
|
|
315
|
+
return /* @__PURE__ */ i(
|
|
316
|
+
"button",
|
|
317
|
+
{
|
|
318
|
+
ref: s,
|
|
319
|
+
type: "button",
|
|
320
|
+
"aria-label": r,
|
|
321
|
+
"aria-disabled": a || void 0,
|
|
322
|
+
disabled: a,
|
|
323
|
+
onClick: t,
|
|
324
|
+
className: y({ size: e }),
|
|
325
|
+
children: /* @__PURE__ */ i(ie, { "aria-hidden": "true", className: I })
|
|
326
|
+
}
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
);
|
|
330
|
+
$.displayName = "PaginationPrevious";
|
|
331
|
+
const q = g(
|
|
332
|
+
({ size: e = "md", disabled: a, onClick: t }, s) => {
|
|
333
|
+
const { t: d } = b(), r = d("navigation.pagination.next");
|
|
334
|
+
return /* @__PURE__ */ i(
|
|
335
|
+
"button",
|
|
336
|
+
{
|
|
337
|
+
ref: s,
|
|
338
|
+
type: "button",
|
|
339
|
+
"aria-label": r,
|
|
340
|
+
"aria-disabled": a || void 0,
|
|
341
|
+
disabled: a,
|
|
342
|
+
onClick: t,
|
|
343
|
+
className: y({ size: e }),
|
|
344
|
+
children: /* @__PURE__ */ i(_, { "aria-hidden": "true", className: I })
|
|
345
|
+
}
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
);
|
|
349
|
+
q.displayName = "PaginationNext";
|
|
350
|
+
const z = g(
|
|
351
|
+
({ type: e, size: a = "md", disabled: t, onClick: s }, d) => {
|
|
352
|
+
const { t: r } = b(), n = r(e === "first" ? "navigation.pagination.first" : "navigation.pagination.last"), u = e === "first" ? te : ne;
|
|
353
|
+
return /* @__PURE__ */ i(
|
|
354
|
+
"button",
|
|
355
|
+
{
|
|
356
|
+
ref: d,
|
|
357
|
+
type: "button",
|
|
358
|
+
"aria-label": n,
|
|
359
|
+
"aria-disabled": t || void 0,
|
|
360
|
+
disabled: t,
|
|
361
|
+
onClick: s,
|
|
362
|
+
className: y({ size: a }),
|
|
363
|
+
children: /* @__PURE__ */ i(u, { "aria-hidden": "true", className: I })
|
|
364
|
+
}
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
);
|
|
368
|
+
z.displayName = "PaginationEndpoint";
|
|
369
|
+
const G = g(
|
|
370
|
+
({ className: e, ...a }, t) => /* @__PURE__ */ i(
|
|
371
|
+
"span",
|
|
372
|
+
{
|
|
373
|
+
ref: t,
|
|
374
|
+
"aria-hidden": "true",
|
|
375
|
+
role: "presentation",
|
|
376
|
+
className: [
|
|
377
|
+
"ds:inline-flex ds:items-center ds:justify-center",
|
|
378
|
+
"ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
|
|
379
|
+
"ds:text-[var(--muted-foreground)]",
|
|
380
|
+
e ?? ""
|
|
381
|
+
].filter(Boolean).join(" "),
|
|
382
|
+
...a,
|
|
383
|
+
children: /* @__PURE__ */ i(se, { "aria-hidden": "true", className: "ds:size-4" })
|
|
384
|
+
}
|
|
385
|
+
)
|
|
386
|
+
);
|
|
387
|
+
G.displayName = "PaginationEllipsis";
|
|
388
|
+
const pe = [
|
|
389
|
+
"ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-xs)]",
|
|
390
|
+
"ds:rounded-[var(--radius-sm)] ds:border ds:border-[var(--border)] ds:bg-[var(--background)]",
|
|
391
|
+
"ds:text-[var(--foreground)]",
|
|
392
|
+
"ds:min-h-[var(--min-target-size)] ds:min-w-[6rem]",
|
|
393
|
+
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
394
|
+
"ds:text-[var(--font-size-sm)]",
|
|
395
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
396
|
+
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
397
|
+
].join(" "), me = [
|
|
398
|
+
"ds:z-[var(--z-dropdown)] ds:overflow-hidden",
|
|
399
|
+
"ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)]",
|
|
400
|
+
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
401
|
+
"ds:shadow-[var(--shadow-lg)]",
|
|
402
|
+
"ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
|
|
403
|
+
].join(" "), ge = [
|
|
404
|
+
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
405
|
+
"ds:min-h-[var(--min-target-size)]",
|
|
406
|
+
"ds:ps-[var(--spacing-xl)] ds:pe-[var(--spacing-sm)]",
|
|
407
|
+
"ds:rounded-[var(--radius-sm)]",
|
|
408
|
+
"ds:text-[var(--foreground)] ds:outline-none ds:select-none",
|
|
409
|
+
"ds:data-[highlighted]:bg-[var(--muted)]/20",
|
|
410
|
+
"ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
|
|
411
|
+
].join(" ");
|
|
412
|
+
function ue({
|
|
413
|
+
value: e,
|
|
414
|
+
options: a,
|
|
415
|
+
onChange: t,
|
|
416
|
+
formatNumber: s
|
|
417
|
+
}) {
|
|
418
|
+
const { t: d } = b(), r = Z();
|
|
419
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
420
|
+
/* @__PURE__ */ i(
|
|
421
|
+
"span",
|
|
422
|
+
{
|
|
423
|
+
id: r,
|
|
424
|
+
className: "type-label ds:text-[var(--muted-foreground)]",
|
|
425
|
+
children: d("navigation.pagination.rowsPerPage")
|
|
426
|
+
}
|
|
427
|
+
),
|
|
428
|
+
/* @__PURE__ */ f(
|
|
429
|
+
p.Root,
|
|
430
|
+
{
|
|
431
|
+
value: String(e),
|
|
432
|
+
onValueChange: (n) => t(Number(n)),
|
|
433
|
+
children: [
|
|
434
|
+
/* @__PURE__ */ f(
|
|
435
|
+
p.Trigger,
|
|
436
|
+
{
|
|
437
|
+
"aria-labelledby": r,
|
|
438
|
+
className: pe,
|
|
439
|
+
children: [
|
|
440
|
+
/* @__PURE__ */ i(p.Value, {}),
|
|
441
|
+
/* @__PURE__ */ i(p.Icon, { asChild: !0, children: /* @__PURE__ */ i(
|
|
442
|
+
_,
|
|
443
|
+
{
|
|
444
|
+
"aria-hidden": "true",
|
|
445
|
+
className: "ds:size-3 ds:rotate-90"
|
|
446
|
+
}
|
|
447
|
+
) })
|
|
448
|
+
]
|
|
449
|
+
}
|
|
450
|
+
),
|
|
451
|
+
/* @__PURE__ */ i(p.Portal, { children: /* @__PURE__ */ i(
|
|
452
|
+
p.Content,
|
|
453
|
+
{
|
|
454
|
+
className: me,
|
|
455
|
+
position: "popper",
|
|
456
|
+
children: /* @__PURE__ */ i(p.Viewport, { className: "ds:p-[var(--spacing-xs)]", children: a.map((n) => /* @__PURE__ */ f(
|
|
457
|
+
p.Item,
|
|
458
|
+
{
|
|
459
|
+
value: String(n),
|
|
460
|
+
className: ge,
|
|
461
|
+
children: [
|
|
462
|
+
/* @__PURE__ */ i(p.ItemIndicator, { className: "ds:absolute ds:inline-flex ds:items-center ds:justify-center ds:start-[var(--spacing-sm)]", children: /* @__PURE__ */ i(re, { "aria-hidden": "true", className: "ds:size-3.5" }) }),
|
|
463
|
+
/* @__PURE__ */ i(p.ItemText, { children: s(n) })
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
n
|
|
467
|
+
)) })
|
|
468
|
+
}
|
|
469
|
+
) })
|
|
470
|
+
]
|
|
471
|
+
}
|
|
472
|
+
)
|
|
473
|
+
] });
|
|
474
|
+
}
|
|
475
|
+
export {
|
|
476
|
+
ce as P,
|
|
477
|
+
G as a,
|
|
478
|
+
v as b,
|
|
479
|
+
H as c,
|
|
480
|
+
F as d,
|
|
481
|
+
q as e,
|
|
482
|
+
$ as f,
|
|
483
|
+
le as g,
|
|
484
|
+
oe as p
|
|
485
|
+
};
|
|
486
|
+
//# sourceMappingURL=pagination-EkD5SiCK.js.map
|