@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,2185 @@
|
|
|
1
|
+
import { jsx as n, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as E, forwardRef as G, useState as R, useCallback as M, useEffect as z, useRef as xe, createContext as Se, useContext as we, isValidElement as Ne, cloneElement as Fe, useImperativeHandle as bt } from "react";
|
|
3
|
+
import { S as ht } from "./skeleton-CZbwyJAA.js";
|
|
4
|
+
import { E as vt } from "./empty-state-BLy7tigq.js";
|
|
5
|
+
import { c as Tt } from "./index-D2ZczOXr.js";
|
|
6
|
+
import { useTranslation as F } from "react-i18next";
|
|
7
|
+
import { useGridFilter as X, AgGridReact as yt } from "ag-grid-react";
|
|
8
|
+
import { ModuleRegistry as Ct, AllCommunityModule as xt } from "ag-grid-community";
|
|
9
|
+
import { B as j } from "./button-DD_0Xdmr.js";
|
|
10
|
+
import { I as V } from "./icon-button-LqoiKcUN.js";
|
|
11
|
+
import { P as Z } from "./popover-uJ6BvEU3.js";
|
|
12
|
+
import { C as Re } from "./checkbox-BuZ1u__2.js";
|
|
13
|
+
import { T as pe } from "./text-input-CUvCb6ST.js";
|
|
14
|
+
import { T as te } from "./tag-3wgkwwDB.js";
|
|
15
|
+
import { D as _ } from "./dropdown-menu-DU-Hrf33.js";
|
|
16
|
+
import { X as De } from "./x-B5YnXwCz.js";
|
|
17
|
+
import { R as St } from "./refresh-cw-DnI0cLFC.js";
|
|
18
|
+
import { S as fe } from "./search-QbWPlY5f.js";
|
|
19
|
+
import { C as wt } from "./columns-2-8lq4-b8e.js";
|
|
20
|
+
import { G as Nt } from "./grip-vertical-onSb1JXO.js";
|
|
21
|
+
import { P as Ft } from "./printer-rkK0T1gi.js";
|
|
22
|
+
import { F as Ie } from "./file-text-5yv6r2ls.js";
|
|
23
|
+
import { D as ae } from "./download-CfYKJO_j.js";
|
|
24
|
+
import { F as Rt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
25
|
+
import Dt from "i18next";
|
|
26
|
+
import { S as ke } from "./select-BmCbJMJS.js";
|
|
27
|
+
import { u as It } from "./registry-DvAUVLHh.js";
|
|
28
|
+
import { u as kt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
29
|
+
import { u as Et } from "./use-theme-CAuo6EYT.js";
|
|
30
|
+
import { D as Ee } from "./date-range-picker-Dw12DgV8.js";
|
|
31
|
+
import { M as At } from "./multi-select-D5QLBJM1.js";
|
|
32
|
+
import { S as Ot } from "./scroll-area-BZOvUhwQ.js";
|
|
33
|
+
import { A as Ae } from "./autocomplete-BrONKN8l.js";
|
|
34
|
+
import { N as Y } from "./number-input-DjWzmlEY.js";
|
|
35
|
+
import { B as zt } from "./badge-DCOqV9mI.js";
|
|
36
|
+
import { A as Oe } from "./avatar-BNQNhoyL.js";
|
|
37
|
+
import { T as Pt } from "./tooltip-DvmfrNvB.js";
|
|
38
|
+
import { T as he } from "./timestamp-BV2lC-wV.js";
|
|
39
|
+
import { I as Mt } from "./icon-button-group-C48khLE0.js";
|
|
40
|
+
import { E as qt } from "./ellipsis-dRo9ouSU.js";
|
|
41
|
+
function Lt(t) {
|
|
42
|
+
if (!Ne(t)) return t;
|
|
43
|
+
const e = t, a = e.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} ds:size-4`.trim();
|
|
44
|
+
return Fe(e, { className: r, size: e.props.size ?? 16 });
|
|
45
|
+
}
|
|
46
|
+
const ze = Se(null);
|
|
47
|
+
function B(t) {
|
|
48
|
+
const e = we(ze);
|
|
49
|
+
if (!e)
|
|
50
|
+
throw new Error(
|
|
51
|
+
`${t} must be rendered inside <DataTable.Toolbar> as a descendant of <DataTable>.`
|
|
52
|
+
);
|
|
53
|
+
return e;
|
|
54
|
+
}
|
|
55
|
+
function jt({
|
|
56
|
+
getApi: t,
|
|
57
|
+
selectionCount: e,
|
|
58
|
+
onPrint: a,
|
|
59
|
+
children: r
|
|
60
|
+
}) {
|
|
61
|
+
const o = E(
|
|
62
|
+
() => ({ getApi: t, selectionCount: e, onPrint: a }),
|
|
63
|
+
[t, e, a]
|
|
64
|
+
);
|
|
65
|
+
return /* @__PURE__ */ n(ze.Provider, { value: o, children: r });
|
|
66
|
+
}
|
|
67
|
+
const Gt = [
|
|
68
|
+
"data-table-toolbar",
|
|
69
|
+
// Mobile (<sm) keeps `flex-wrap` so a wide QuickSearch can flow above the
|
|
70
|
+
// Actions cluster on narrow screens. From `sm` (≥640px) we switch to
|
|
71
|
+
// `flex-nowrap` + `min-w-0` so the row stays single-line at every common
|
|
72
|
+
// desktop width (1024 / 1280 / 1440) — the QuickSearch slot shrinks via
|
|
73
|
+
// its own `min-w-0` instead of pushing the trailing Actions to a new row.
|
|
74
|
+
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
75
|
+
"ds:sm:flex-nowrap ds:min-w-0",
|
|
76
|
+
// Brand-polish: give the toolbar its own card surface so it doesn't
|
|
77
|
+
// sit flush above the grid as a bare row. The `--card` token resolves to
|
|
78
|
+
// `--background` on the default light theme (white), which makes a
|
|
79
|
+
// shadow-only chrome invisible on the page — pair the card fill with the
|
|
80
|
+
// standard `--card-border` outline (same recipe as `<Card>`) so the
|
|
81
|
+
// toolbar reads as a discrete surface in both light and dark themes.
|
|
82
|
+
"ds:bg-[var(--card)] ds:rounded-[var(--radius-md)]",
|
|
83
|
+
"ds:border ds:border-[color:var(--card-border)]",
|
|
84
|
+
"ds:shadow-[var(--shadow-sm)]",
|
|
85
|
+
"ds:py-[var(--spacing-sm)] ds:px-[var(--spacing-md)]"
|
|
86
|
+
].join(" "), Pe = G(
|
|
87
|
+
({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
ref: r,
|
|
91
|
+
role: "toolbar",
|
|
92
|
+
className: [Gt, t ?? ""].join(" ").trim(),
|
|
93
|
+
...a,
|
|
94
|
+
children: e
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
);
|
|
98
|
+
Pe.displayName = "DataTable.Toolbar";
|
|
99
|
+
const Me = G(
|
|
100
|
+
({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
|
|
101
|
+
"div",
|
|
102
|
+
{
|
|
103
|
+
ref: r,
|
|
104
|
+
className: [
|
|
105
|
+
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
106
|
+
// `grow` lets FilterBar absorb the free space; `min-w-0` lets the
|
|
107
|
+
// QuickSearch slot inside shrink below its intrinsic width when the
|
|
108
|
+
// toolbar runs `flex-nowrap` at `sm` and above, so the trailing
|
|
109
|
+
// Actions cluster stays pinned on a single row.
|
|
110
|
+
"ds:grow ds:min-w-0",
|
|
111
|
+
t ?? ""
|
|
112
|
+
].join(" ").trim(),
|
|
113
|
+
...a,
|
|
114
|
+
children: e
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
);
|
|
118
|
+
Me.displayName = "DataTable.Toolbar.FilterBar";
|
|
119
|
+
const qe = G(
|
|
120
|
+
({ className: t, children: e, ...a }, r) => /* @__PURE__ */ n(
|
|
121
|
+
"div",
|
|
122
|
+
{
|
|
123
|
+
ref: r,
|
|
124
|
+
className: [
|
|
125
|
+
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
126
|
+
"ds:ms-auto",
|
|
127
|
+
t ?? ""
|
|
128
|
+
].join(" ").trim(),
|
|
129
|
+
...a,
|
|
130
|
+
children: e
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
);
|
|
134
|
+
qe.displayName = "DataTable.Toolbar.Actions";
|
|
135
|
+
const Le = G(
|
|
136
|
+
({ label: t, onExport: e, intent: a = "outline", ...r }, o) => {
|
|
137
|
+
const { t: s } = F(), { getApi: i } = B("DataTable.Toolbar.ExportCsv"), p = M(() => {
|
|
138
|
+
const l = i();
|
|
139
|
+
l && (e ? e(l) : l.exportDataAsCsv());
|
|
140
|
+
}, [i, e]);
|
|
141
|
+
return /* @__PURE__ */ n(
|
|
142
|
+
V,
|
|
143
|
+
{
|
|
144
|
+
ref: o,
|
|
145
|
+
type: "button",
|
|
146
|
+
intent: a,
|
|
147
|
+
icon: /* @__PURE__ */ n(ae, { "aria-hidden": !0 }),
|
|
148
|
+
tooltip: t ?? s("dataTable.exportCsv"),
|
|
149
|
+
onClick: p,
|
|
150
|
+
...r
|
|
151
|
+
}
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
);
|
|
155
|
+
Le.displayName = "DataTable.Toolbar.ExportCsv";
|
|
156
|
+
function Q(t, e = [30, 30, 30]) {
|
|
157
|
+
if (typeof document > "u") return e;
|
|
158
|
+
const a = document.createElement("span");
|
|
159
|
+
a.style.color = `hsl(var(${t}))`, a.style.position = "absolute", a.style.visibility = "hidden", document.body.appendChild(a);
|
|
160
|
+
const r = getComputedStyle(a).color;
|
|
161
|
+
document.body.removeChild(a);
|
|
162
|
+
const o = r.match(/rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i);
|
|
163
|
+
return o ? [Number(o[1]), Number(o[2]), Number(o[3])] : e;
|
|
164
|
+
}
|
|
165
|
+
async function je(t, e) {
|
|
166
|
+
if (!t) return;
|
|
167
|
+
const [{ jsPDF: a }, { default: r }] = await Promise.all([
|
|
168
|
+
import("./jspdf.es.min-DaapWjR1.js").then((g) => g.j),
|
|
169
|
+
import("./jspdf.plugin.autotable-CSiDNyPn.js")
|
|
170
|
+
]), s = (t.getColumns() ?? []).filter((g) => g.isVisible()), i = [
|
|
171
|
+
s.map((g) => t.getDisplayNameForColumn(g, null) ?? "")
|
|
172
|
+
], p = [];
|
|
173
|
+
t.forEachNodeAfterFilterAndSort((g) => {
|
|
174
|
+
if (!g.data) return;
|
|
175
|
+
const T = s.map((C) => {
|
|
176
|
+
const S = t.getCellValue({
|
|
177
|
+
rowNode: g,
|
|
178
|
+
colKey: C,
|
|
179
|
+
useFormatter: !0
|
|
180
|
+
});
|
|
181
|
+
return S == null ? "" : String(S);
|
|
182
|
+
});
|
|
183
|
+
p.push(T);
|
|
184
|
+
});
|
|
185
|
+
const l = Q("--muted", [240, 240, 240]), d = Q("--foreground", [30, 30, 30]), c = Q("--card-foreground", [30, 30, 30]), u = Q("--card", [250, 250, 250]), y = new a({ orientation: "landscape" });
|
|
186
|
+
r(y, {
|
|
187
|
+
head: i,
|
|
188
|
+
body: p,
|
|
189
|
+
headStyles: { fillColor: l, textColor: d },
|
|
190
|
+
bodyStyles: { textColor: c },
|
|
191
|
+
alternateRowStyles: { fillColor: u },
|
|
192
|
+
styles: {
|
|
193
|
+
font: "helvetica",
|
|
194
|
+
fontSize: 10,
|
|
195
|
+
cellPadding: 4
|
|
196
|
+
}
|
|
197
|
+
}), y.save(e.fileName);
|
|
198
|
+
}
|
|
199
|
+
const Ge = G(
|
|
200
|
+
({ label: t, onClick: e, fileName: a, intent: r = "outline", ...o }, s) => {
|
|
201
|
+
const { t: i } = F(), { getApi: p } = B("DataTable.Toolbar.ExportPdf"), l = M(() => {
|
|
202
|
+
const d = p();
|
|
203
|
+
if (e) {
|
|
204
|
+
e(d);
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
je(d, {
|
|
208
|
+
fileName: a ?? "data-table-export.pdf"
|
|
209
|
+
});
|
|
210
|
+
}, [p, e, a]);
|
|
211
|
+
return /* @__PURE__ */ n(
|
|
212
|
+
V,
|
|
213
|
+
{
|
|
214
|
+
ref: s,
|
|
215
|
+
type: "button",
|
|
216
|
+
intent: r,
|
|
217
|
+
icon: /* @__PURE__ */ n(Ie, { "aria-hidden": !0 }),
|
|
218
|
+
tooltip: t ?? i("dataTable.exportPdf"),
|
|
219
|
+
onClick: l,
|
|
220
|
+
...o
|
|
221
|
+
}
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
Ge.displayName = "DataTable.Toolbar.ExportPdf";
|
|
226
|
+
const Be = G(
|
|
227
|
+
({ label: t, intent: e = "outline", ...a }, r) => {
|
|
228
|
+
const { t: o } = F(), { onPrint: s } = B("DataTable.Toolbar.Print");
|
|
229
|
+
return /* @__PURE__ */ n(
|
|
230
|
+
V,
|
|
231
|
+
{
|
|
232
|
+
ref: r,
|
|
233
|
+
type: "button",
|
|
234
|
+
intent: e,
|
|
235
|
+
icon: /* @__PURE__ */ n(Ft, { "aria-hidden": !0 }),
|
|
236
|
+
tooltip: t ?? o("dataTable.print"),
|
|
237
|
+
onClick: s,
|
|
238
|
+
...a
|
|
239
|
+
}
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
);
|
|
243
|
+
Be.displayName = "DataTable.Toolbar.Print";
|
|
244
|
+
const $e = ({ placeholder: t, debounceMs: e = 150 }) => {
|
|
245
|
+
const { t: a } = F(), { getApi: r } = B("DataTable.Toolbar.QuickSearch"), [o, s] = R(""), i = xe(void 0);
|
|
246
|
+
return z(() => (i.current && window.clearTimeout(i.current), i.current = window.setTimeout(() => {
|
|
247
|
+
const p = r();
|
|
248
|
+
p && p.setGridOption("quickFilterText", o);
|
|
249
|
+
}, e), () => {
|
|
250
|
+
i.current && window.clearTimeout(i.current);
|
|
251
|
+
}), [o, e, r]), // Slot wrapper caps the search at a sensible legible width on desktop —
|
|
252
|
+
// without this, TextInput's `w-full` lets the QuickSearch absorb the
|
|
253
|
+
// entire FilterBar row and push trailing Actions onto a second line at
|
|
254
|
+
// 1024 / 1280 / 1440. `min-w-0` lets the slot shrink below `24rem` when
|
|
255
|
+
// the toolbar is squeezed on narrow viewports. There is no
|
|
256
|
+
// `--toolbar-search-max` token in the kit yet — see this component's
|
|
257
|
+
// summary for a follow-up note recommending we add one.
|
|
258
|
+
/* @__PURE__ */ n("div", { className: "ds:w-full ds:max-w-[24rem] ds:min-w-0", children: /* @__PURE__ */ n(
|
|
259
|
+
pe,
|
|
260
|
+
{
|
|
261
|
+
type: "search",
|
|
262
|
+
size: "sm",
|
|
263
|
+
value: o,
|
|
264
|
+
onChange: (p) => s(p.target.value),
|
|
265
|
+
placeholder: t ?? a("dataTable.quickSearch.placeholder", "Search…"),
|
|
266
|
+
startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
267
|
+
clearable: !0,
|
|
268
|
+
onClear: () => s(""),
|
|
269
|
+
"aria-label": a("dataTable.quickSearch.label", "Quick search")
|
|
270
|
+
}
|
|
271
|
+
) });
|
|
272
|
+
};
|
|
273
|
+
$e.displayName = "DataTable.Toolbar.QuickSearch";
|
|
274
|
+
const _e = G(
|
|
275
|
+
({ onRefresh: t, label: e, intent: a = "outline", ...r }, o) => {
|
|
276
|
+
const { t: s } = F();
|
|
277
|
+
return /* @__PURE__ */ n(
|
|
278
|
+
V,
|
|
279
|
+
{
|
|
280
|
+
ref: o,
|
|
281
|
+
type: "button",
|
|
282
|
+
intent: a,
|
|
283
|
+
icon: /* @__PURE__ */ n(St, { "aria-hidden": !0 }),
|
|
284
|
+
tooltip: e ?? s("dataTable.refresh", "Refresh"),
|
|
285
|
+
onClick: t,
|
|
286
|
+
...r
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
}
|
|
290
|
+
);
|
|
291
|
+
_e.displayName = "DataTable.Toolbar.Refresh";
|
|
292
|
+
function Bt(t) {
|
|
293
|
+
if (!t || typeof t != "object") return "";
|
|
294
|
+
const e = t;
|
|
295
|
+
if (typeof e.filter == "string" || typeof e.filter == "number") {
|
|
296
|
+
const a = typeof e.type == "string" ? e.type : "", r = typeof e.filterTo == "string" || typeof e.filterTo == "number" ? String(e.filterTo) : "";
|
|
297
|
+
return a === "inRange" && r ? `${e.filter} – ${r}` : a ? `${a} ${e.filter}` : String(e.filter);
|
|
298
|
+
}
|
|
299
|
+
return typeof e.dateFrom == "string" ? typeof e.dateTo == "string" && e.dateTo ? `${e.dateFrom} – ${e.dateTo}` : String(e.dateFrom) : Array.isArray(e.values) ? e.values.map(String).join(", ") : "";
|
|
300
|
+
}
|
|
301
|
+
const Ve = () => {
|
|
302
|
+
const { t } = F(), { getApi: e } = B("DataTable.Toolbar.FilterChips"), [a, r] = R([]), [o, s] = R(""), i = M(() => {
|
|
303
|
+
const c = e();
|
|
304
|
+
if (!c) {
|
|
305
|
+
r([]), s("");
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
const u = c.getFilterModel() ?? {}, y = c.getColumns() ?? [], g = [];
|
|
309
|
+
for (const C of Object.keys(u)) {
|
|
310
|
+
const S = y.find((m) => m.getColId() === C), f = c.getDisplayNameForColumn(S, null) ?? C;
|
|
311
|
+
g.push({
|
|
312
|
+
colId: C,
|
|
313
|
+
headerName: f,
|
|
314
|
+
text: Bt(u[C])
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
r(g);
|
|
318
|
+
const T = c.getGridOption("quickFilterText");
|
|
319
|
+
s(typeof T == "string" ? T : "");
|
|
320
|
+
}, [e]);
|
|
321
|
+
if (z(() => {
|
|
322
|
+
let c;
|
|
323
|
+
const u = (T) => i(), y = (T) => {
|
|
324
|
+
T.addEventListener("filterChanged", u), i(), c = () => T.removeEventListener("filterChanged", u);
|
|
325
|
+
}, g = e();
|
|
326
|
+
if (g)
|
|
327
|
+
y(g);
|
|
328
|
+
else {
|
|
329
|
+
const T = window.setInterval(() => {
|
|
330
|
+
const C = e();
|
|
331
|
+
C && (window.clearInterval(T), y(C));
|
|
332
|
+
}, 50);
|
|
333
|
+
c = () => window.clearInterval(T);
|
|
334
|
+
}
|
|
335
|
+
return () => c == null ? void 0 : c();
|
|
336
|
+
}, [e, i]), a.length + (o ? 1 : 0) === 0) return null;
|
|
337
|
+
function l(c) {
|
|
338
|
+
const u = e();
|
|
339
|
+
u && u.destroyFilter(c);
|
|
340
|
+
}
|
|
341
|
+
function d() {
|
|
342
|
+
const c = e();
|
|
343
|
+
c && (c.setFilterModel(null), c.setGridOption("quickFilterText", ""), s(""));
|
|
344
|
+
}
|
|
345
|
+
return /* @__PURE__ */ I(
|
|
346
|
+
"div",
|
|
347
|
+
{
|
|
348
|
+
role: "group",
|
|
349
|
+
"aria-label": t("dataTable.filterChips.label", "Active filters"),
|
|
350
|
+
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
351
|
+
children: [
|
|
352
|
+
o && /* @__PURE__ */ n(
|
|
353
|
+
te,
|
|
354
|
+
{
|
|
355
|
+
label: `${t("dataTable.quickSearch.label", "Quick search")}: ${o}`,
|
|
356
|
+
size: "sm",
|
|
357
|
+
fill: "outline",
|
|
358
|
+
onRemove: () => {
|
|
359
|
+
const c = e();
|
|
360
|
+
c == null || c.setGridOption("quickFilterText", ""), s("");
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
),
|
|
364
|
+
a.map((c) => /* @__PURE__ */ n(
|
|
365
|
+
te,
|
|
366
|
+
{
|
|
367
|
+
label: c.text ? `${c.headerName}: ${c.text}` : c.headerName,
|
|
368
|
+
size: "sm",
|
|
369
|
+
fill: "outline",
|
|
370
|
+
onRemove: () => l(c.colId)
|
|
371
|
+
},
|
|
372
|
+
c.colId
|
|
373
|
+
)),
|
|
374
|
+
/* @__PURE__ */ n(
|
|
375
|
+
j,
|
|
376
|
+
{
|
|
377
|
+
type: "button",
|
|
378
|
+
intent: "ghost",
|
|
379
|
+
size: "sm",
|
|
380
|
+
onClick: d,
|
|
381
|
+
startIcon: /* @__PURE__ */ n(De, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
382
|
+
children: t("dataTable.filterChips.clearAll", "Clear all")
|
|
383
|
+
}
|
|
384
|
+
)
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
);
|
|
388
|
+
};
|
|
389
|
+
Ve.displayName = "DataTable.Toolbar.FilterChips";
|
|
390
|
+
const We = ({
|
|
391
|
+
field: t,
|
|
392
|
+
options: e,
|
|
393
|
+
label: a
|
|
394
|
+
}) => {
|
|
395
|
+
const { t: r } = F(), { getApi: o } = B("DataTable.Toolbar.FacetFilter"), [s, i] = R(null);
|
|
396
|
+
function p(l) {
|
|
397
|
+
i(l);
|
|
398
|
+
const d = o();
|
|
399
|
+
if (d) {
|
|
400
|
+
if (l === null) {
|
|
401
|
+
d.destroyFilter(t);
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
d.setColumnFilterModel(t, {
|
|
405
|
+
type: "equals",
|
|
406
|
+
filter: l
|
|
407
|
+
}), d.onFilterChanged();
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
return /* @__PURE__ */ n(
|
|
411
|
+
"div",
|
|
412
|
+
{
|
|
413
|
+
role: "group",
|
|
414
|
+
"aria-label": a ?? r("dataTable.facetFilter.label", "Filter"),
|
|
415
|
+
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
416
|
+
children: e.map((l) => {
|
|
417
|
+
const d = s === l.value;
|
|
418
|
+
return /* @__PURE__ */ n(
|
|
419
|
+
j,
|
|
420
|
+
{
|
|
421
|
+
type: "button",
|
|
422
|
+
size: "sm",
|
|
423
|
+
intent: d ? "primary" : "secondary",
|
|
424
|
+
"aria-pressed": d,
|
|
425
|
+
onClick: () => p(l.value),
|
|
426
|
+
children: l.label
|
|
427
|
+
},
|
|
428
|
+
String(l.value)
|
|
429
|
+
);
|
|
430
|
+
})
|
|
431
|
+
}
|
|
432
|
+
);
|
|
433
|
+
};
|
|
434
|
+
We.displayName = "DataTable.Toolbar.FacetFilter";
|
|
435
|
+
const $t = ["csv", "xlsx", "pdf"];
|
|
436
|
+
async function _t(t, e) {
|
|
437
|
+
if (!t) return;
|
|
438
|
+
const a = await import("./exceljs.min-DUJ-5CGx.js").then((C) => C.e), r = new a.Workbook(), o = r.addWorksheet("Sheet1"), i = (t.getColumns() ?? []).filter((C) => C.isVisible());
|
|
439
|
+
o.addRow(
|
|
440
|
+
i.map(
|
|
441
|
+
(C) => t.getDisplayNameForColumn(C, null) ?? C.getColId()
|
|
442
|
+
)
|
|
443
|
+
), t.forEachNodeAfterFilterAndSort((C) => {
|
|
444
|
+
C.data && o.addRow(
|
|
445
|
+
i.map((S) => {
|
|
446
|
+
const f = t.getCellValue({
|
|
447
|
+
rowNode: C,
|
|
448
|
+
colKey: S,
|
|
449
|
+
useFormatter: !0
|
|
450
|
+
});
|
|
451
|
+
return f ?? "";
|
|
452
|
+
})
|
|
453
|
+
);
|
|
454
|
+
});
|
|
455
|
+
const p = Q("--muted", [240, 240, 240]), l = Q("--foreground", [30, 30, 30]), d = o.getRow(1), c = ([C, S, f]) => `${C.toString(16).padStart(2, "0")}${S.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}`.toUpperCase();
|
|
456
|
+
d.eachCell((C) => {
|
|
457
|
+
C.font = { bold: !0, color: { argb: `FF${c(l)}` } }, C.fill = {
|
|
458
|
+
type: "pattern",
|
|
459
|
+
pattern: "solid",
|
|
460
|
+
fgColor: { argb: `FF${c(p)}` }
|
|
461
|
+
};
|
|
462
|
+
});
|
|
463
|
+
const u = await r.xlsx.writeBuffer(), y = new Blob([u], {
|
|
464
|
+
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
465
|
+
}), g = URL.createObjectURL(y), T = document.createElement("a");
|
|
466
|
+
T.href = g, T.download = e.fileName, document.body.appendChild(T), T.click(), document.body.removeChild(T), URL.revokeObjectURL(g);
|
|
467
|
+
}
|
|
468
|
+
const Ke = Se(null);
|
|
469
|
+
function Vt() {
|
|
470
|
+
const t = we(Ke);
|
|
471
|
+
if (!t)
|
|
472
|
+
throw new Error(
|
|
473
|
+
"DataTable.Toolbar.ExportMenu.Item must be rendered inside DataTable.Toolbar.ExportMenu."
|
|
474
|
+
);
|
|
475
|
+
return t;
|
|
476
|
+
}
|
|
477
|
+
const Ue = ({ children: t, label: e }) => {
|
|
478
|
+
const { t: a } = F(), { getApi: r } = B("DataTable.Toolbar.ExportMenu"), o = E(() => ({ getApi: r }), [r]), s = t ?? $t.map((i) => /* @__PURE__ */ n(me, { format: i }, i));
|
|
479
|
+
return /* @__PURE__ */ n(Ke.Provider, { value: o, children: /* @__PURE__ */ I(_.Root, { children: [
|
|
480
|
+
/* @__PURE__ */ n(_.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
|
|
481
|
+
V,
|
|
482
|
+
{
|
|
483
|
+
type: "button",
|
|
484
|
+
intent: "outline",
|
|
485
|
+
icon: /* @__PURE__ */ n(ae, { "aria-hidden": !0 }),
|
|
486
|
+
tooltip: e ?? a("dataTable.export.menu", "Export"),
|
|
487
|
+
"aria-label": e ?? a("dataTable.export.menu", "Export"),
|
|
488
|
+
"aria-haspopup": "menu"
|
|
489
|
+
}
|
|
490
|
+
) }),
|
|
491
|
+
/* @__PURE__ */ n(_.Content, { align: "end", sideOffset: 4, children: s })
|
|
492
|
+
] }) });
|
|
493
|
+
};
|
|
494
|
+
Ue.displayName = "DataTable.Toolbar.ExportMenu";
|
|
495
|
+
function Wt(t, e) {
|
|
496
|
+
return e === "csv" ? t("dataTable.export.csv", "Export CSV") : e === "xlsx" ? t("dataTable.export.xlsx", "Export Excel") : e === "pdf" ? t("dataTable.export.pdf", "Export PDF") : t("dataTable.export.custom", "Export");
|
|
497
|
+
}
|
|
498
|
+
function Kt(t) {
|
|
499
|
+
return t === "csv" ? /* @__PURE__ */ n(ae, { "aria-hidden": !0, className: "ds:size-4" }) : t === "xlsx" ? /* @__PURE__ */ n(Rt, { "aria-hidden": !0, className: "ds:size-4" }) : t === "pdf" ? /* @__PURE__ */ n(Ie, { "aria-hidden": !0, className: "ds:size-4" }) : /* @__PURE__ */ n(ae, { "aria-hidden": !0, className: "ds:size-4" });
|
|
500
|
+
}
|
|
501
|
+
const me = ({
|
|
502
|
+
format: t,
|
|
503
|
+
label: e,
|
|
504
|
+
onClick: a,
|
|
505
|
+
fileName: r
|
|
506
|
+
}) => {
|
|
507
|
+
const { t: o } = F(), { getApi: s } = Vt(), i = M(() => {
|
|
508
|
+
const p = s();
|
|
509
|
+
if (t === "csv") {
|
|
510
|
+
p == null || p.exportDataAsCsv();
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
if (t === "pdf") {
|
|
514
|
+
je(p, {
|
|
515
|
+
fileName: r ?? "data-table-export.pdf"
|
|
516
|
+
});
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
if (t === "xlsx") {
|
|
520
|
+
_t(p, {
|
|
521
|
+
fileName: r ?? "data-table-export.xlsx"
|
|
522
|
+
});
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
a == null || a(p);
|
|
526
|
+
}, [t, r, a, s]);
|
|
527
|
+
return /* @__PURE__ */ n(_.Item, { onSelect: i, children: /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
528
|
+
Kt(t),
|
|
529
|
+
/* @__PURE__ */ n("span", { children: e ?? Wt(o, t) })
|
|
530
|
+
] }) });
|
|
531
|
+
};
|
|
532
|
+
me.displayName = "DataTable.Toolbar.ExportMenu.Item";
|
|
533
|
+
function Ut(t) {
|
|
534
|
+
return t ? (t.getAllGridColumns() ?? []).map((a) => a.getColDef().hide === void 0 && a.getColId().startsWith("ag-Grid-") ? null : {
|
|
535
|
+
colId: a.getColId(),
|
|
536
|
+
displayName: t.getDisplayNameForColumn(a, null) || a.getColId(),
|
|
537
|
+
visible: a.isVisible()
|
|
538
|
+
}).filter((a) => a !== null) : [];
|
|
539
|
+
}
|
|
540
|
+
const He = ({ label: t, icon: e, footer: a, header: r }) => {
|
|
541
|
+
const { t: o } = F(), { getApi: s } = B("DataTable.Toolbar.ColumnToggle"), [i, p] = R(!1), [l, d] = R([]), [c, u] = R(null), [y, g] = R(null);
|
|
542
|
+
z(() => {
|
|
543
|
+
i && d(Ut(s()));
|
|
544
|
+
}, [i, s]);
|
|
545
|
+
const T = M(
|
|
546
|
+
(f, m) => {
|
|
547
|
+
const b = s();
|
|
548
|
+
b && (b.setColumnsVisible([f], m), d(
|
|
549
|
+
(h) => h.map(
|
|
550
|
+
(w) => w.colId === f ? { ...w, visible: m } : w
|
|
551
|
+
)
|
|
552
|
+
));
|
|
553
|
+
},
|
|
554
|
+
[s]
|
|
555
|
+
), C = M(
|
|
556
|
+
(f, m) => {
|
|
557
|
+
if (f === m) return;
|
|
558
|
+
const b = s();
|
|
559
|
+
if (!b) return;
|
|
560
|
+
d((w) => {
|
|
561
|
+
const A = w.findIndex((W) => W.colId === f), k = w.findIndex((W) => W.colId === m);
|
|
562
|
+
if (A < 0 || k < 0) return w;
|
|
563
|
+
const $ = [...w], [D] = $.splice(A, 1);
|
|
564
|
+
return $.splice(k, 0, D), $;
|
|
565
|
+
});
|
|
566
|
+
const h = l.findIndex((w) => w.colId === m);
|
|
567
|
+
h >= 0 && b.moveColumns([f], h);
|
|
568
|
+
},
|
|
569
|
+
[s, l]
|
|
570
|
+
), S = t ?? o("dataTable.columnToggle");
|
|
571
|
+
return /* @__PURE__ */ I(Z.Root, { open: i, onOpenChange: p, children: [
|
|
572
|
+
/* @__PURE__ */ n(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
|
|
573
|
+
V,
|
|
574
|
+
{
|
|
575
|
+
type: "button",
|
|
576
|
+
intent: "outline",
|
|
577
|
+
icon: e ?? /* @__PURE__ */ n(wt, { "aria-hidden": !0 }),
|
|
578
|
+
"aria-label": S,
|
|
579
|
+
"aria-haspopup": "dialog"
|
|
580
|
+
}
|
|
581
|
+
) }),
|
|
582
|
+
/* @__PURE__ */ I(Z.Content, { size: "sm", align: "end", children: [
|
|
583
|
+
/* @__PURE__ */ n(Z.Heading, { children: S }),
|
|
584
|
+
r ? /* @__PURE__ */ n("div", { className: "ds:mb-[var(--spacing-xs)] ds:border-b ds:border-[color:var(--border)] ds:pb-[var(--spacing-sm)]", children: r }) : null,
|
|
585
|
+
/* @__PURE__ */ n(
|
|
586
|
+
"ul",
|
|
587
|
+
{
|
|
588
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
589
|
+
"aria-label": S,
|
|
590
|
+
children: l.map((f) => {
|
|
591
|
+
const m = c === f.colId, b = y === f.colId && c !== f.colId;
|
|
592
|
+
return /* @__PURE__ */ I(
|
|
593
|
+
"li",
|
|
594
|
+
{
|
|
595
|
+
draggable: !0,
|
|
596
|
+
onDragStart: (h) => {
|
|
597
|
+
u(f.colId), h.dataTransfer.effectAllowed = "move", h.dataTransfer.setData("text/plain", f.colId);
|
|
598
|
+
},
|
|
599
|
+
onDragOver: (h) => {
|
|
600
|
+
h.preventDefault(), h.dataTransfer.dropEffect = "move", g(f.colId);
|
|
601
|
+
},
|
|
602
|
+
onDragLeave: () => {
|
|
603
|
+
g((h) => h === f.colId ? null : h);
|
|
604
|
+
},
|
|
605
|
+
onDrop: (h) => {
|
|
606
|
+
h.preventDefault();
|
|
607
|
+
const w = h.dataTransfer.getData("text/plain");
|
|
608
|
+
w && C(w, f.colId), u(null), g(null);
|
|
609
|
+
},
|
|
610
|
+
onDragEnd: () => {
|
|
611
|
+
u(null), g(null);
|
|
612
|
+
},
|
|
613
|
+
className: [
|
|
614
|
+
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-xs)] ds:py-[var(--spacing-2xs,var(--spacing-xs))] ds:transition-colors",
|
|
615
|
+
m ? "ds:opacity-50" : "",
|
|
616
|
+
b ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
|
|
617
|
+
].filter(Boolean).join(" "),
|
|
618
|
+
children: [
|
|
619
|
+
/* @__PURE__ */ n(
|
|
620
|
+
"span",
|
|
621
|
+
{
|
|
622
|
+
"aria-hidden": "true",
|
|
623
|
+
className: "ds:cursor-grab ds:text-[color:var(--muted-foreground)] ds:active:cursor-grabbing",
|
|
624
|
+
children: /* @__PURE__ */ n(Nt, { className: "ds:size-4" })
|
|
625
|
+
}
|
|
626
|
+
),
|
|
627
|
+
/* @__PURE__ */ n(
|
|
628
|
+
Re,
|
|
629
|
+
{
|
|
630
|
+
label: f.displayName,
|
|
631
|
+
checked: f.visible,
|
|
632
|
+
onCheckedChange: (h) => T(f.colId, h === !0)
|
|
633
|
+
}
|
|
634
|
+
)
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
f.colId
|
|
638
|
+
);
|
|
639
|
+
})
|
|
640
|
+
}
|
|
641
|
+
),
|
|
642
|
+
a ? /* @__PURE__ */ n("div", { className: "ds:mt-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-sm)]", children: a }) : null
|
|
643
|
+
] })
|
|
644
|
+
] });
|
|
645
|
+
};
|
|
646
|
+
He.displayName = "DataTable.Toolbar.ColumnToggle";
|
|
647
|
+
const Qe = G(
|
|
648
|
+
({ label: t, icon: e, onClick: a, variant: r = "default", size: o = "sm", ...s }, i) => {
|
|
649
|
+
const { t: p } = F(), { getApi: l, selectionCount: d } = B(
|
|
650
|
+
"DataTable.Toolbar.BulkAction"
|
|
651
|
+
);
|
|
652
|
+
return d === 0 ? null : /* @__PURE__ */ I(
|
|
653
|
+
j,
|
|
654
|
+
{
|
|
655
|
+
ref: i,
|
|
656
|
+
type: "button",
|
|
657
|
+
intent: r === "destructive" ? "destructive" : "secondary",
|
|
658
|
+
size: o,
|
|
659
|
+
startIcon: Lt(e),
|
|
660
|
+
onClick: () => a(l()),
|
|
661
|
+
"aria-label": `${t} (${p("dataTable.bulkAction", { count: d })})`,
|
|
662
|
+
...s,
|
|
663
|
+
children: [
|
|
664
|
+
/* @__PURE__ */ n("span", { children: t }),
|
|
665
|
+
/* @__PURE__ */ n(
|
|
666
|
+
"span",
|
|
667
|
+
{
|
|
668
|
+
"aria-hidden": "true",
|
|
669
|
+
className: "ds:ms-[var(--spacing-xs)] ds:opacity-80",
|
|
670
|
+
children: p("dataTable.bulkAction", { count: d })
|
|
671
|
+
}
|
|
672
|
+
)
|
|
673
|
+
]
|
|
674
|
+
}
|
|
675
|
+
);
|
|
676
|
+
}
|
|
677
|
+
);
|
|
678
|
+
Qe.displayName = "DataTable.Toolbar.BulkAction";
|
|
679
|
+
const Ht = Object.assign(Ue, {
|
|
680
|
+
Item: me
|
|
681
|
+
}), ee = Object.assign(Pe, {
|
|
682
|
+
FilterBar: Me,
|
|
683
|
+
Actions: qe,
|
|
684
|
+
/** @deprecated Use `Toolbar.ExportMenu` with a `csv` item. */
|
|
685
|
+
ExportCsv: Le,
|
|
686
|
+
/** @deprecated Use `Toolbar.ExportMenu` with a `pdf` item. */
|
|
687
|
+
ExportPdf: Ge,
|
|
688
|
+
Print: Be,
|
|
689
|
+
ColumnToggle: He,
|
|
690
|
+
BulkAction: Qe,
|
|
691
|
+
QuickSearch: $e,
|
|
692
|
+
Refresh: _e,
|
|
693
|
+
FilterChips: Ve,
|
|
694
|
+
FacetFilter: We,
|
|
695
|
+
ExportMenu: Ht
|
|
696
|
+
}), Qt = [
|
|
697
|
+
"contains",
|
|
698
|
+
"equals",
|
|
699
|
+
"startsWith",
|
|
700
|
+
"endsWith",
|
|
701
|
+
"notContains"
|
|
702
|
+
];
|
|
703
|
+
function Jt(t) {
|
|
704
|
+
const e = new Intl.Collator(t, {
|
|
705
|
+
sensitivity: "base",
|
|
706
|
+
usage: "search"
|
|
707
|
+
});
|
|
708
|
+
function a(r, o) {
|
|
709
|
+
if (o.length === 0) return 0;
|
|
710
|
+
if (o.length > r.length) return -1;
|
|
711
|
+
for (let s = 0; s <= r.length - o.length; s += 1)
|
|
712
|
+
if (e.compare(r.slice(s, s + o.length), o) === 0)
|
|
713
|
+
return s;
|
|
714
|
+
return -1;
|
|
715
|
+
}
|
|
716
|
+
return {
|
|
717
|
+
equals: (r, o) => e.compare(r, o) === 0,
|
|
718
|
+
contains: (r, o) => a(r, o) !== -1,
|
|
719
|
+
startsWith: (r, o) => o.length <= r.length && e.compare(r.slice(0, o.length), o) === 0,
|
|
720
|
+
endsWith: (r, o) => o.length <= r.length && e.compare(
|
|
721
|
+
r.slice(r.length - o.length),
|
|
722
|
+
o
|
|
723
|
+
) === 0
|
|
724
|
+
};
|
|
725
|
+
}
|
|
726
|
+
function Xt(t) {
|
|
727
|
+
return t == null ? null : typeof t == "string" ? t : String(t);
|
|
728
|
+
}
|
|
729
|
+
function Zt(t) {
|
|
730
|
+
const { model: e, onModelChange: a, getValue: r, placeholder: o, defaultOperator: s } = t, { t: i } = F("ui"), p = (e == null ? void 0 : e.type) ?? s ?? "contains", [l, d] = R(p), [c, u] = R((e == null ? void 0 : e.filter) ?? "");
|
|
731
|
+
z(() => {
|
|
732
|
+
d((e == null ? void 0 : e.type) ?? s ?? "contains"), u((e == null ? void 0 : e.filter) ?? "");
|
|
733
|
+
}, [e, s]);
|
|
734
|
+
const y = E(() => Jt(Dt.language), []);
|
|
735
|
+
X({
|
|
736
|
+
doesFilterPass: (f) => {
|
|
737
|
+
const m = e;
|
|
738
|
+
if (!m || m.filter === "") return !0;
|
|
739
|
+
const b = Xt(r(f.node));
|
|
740
|
+
if (b === null) return !1;
|
|
741
|
+
switch (m.type) {
|
|
742
|
+
case "equals":
|
|
743
|
+
return y.equals(b, m.filter);
|
|
744
|
+
case "contains":
|
|
745
|
+
return y.contains(b, m.filter);
|
|
746
|
+
case "startsWith":
|
|
747
|
+
return y.startsWith(b, m.filter);
|
|
748
|
+
case "endsWith":
|
|
749
|
+
return y.endsWith(b, m.filter);
|
|
750
|
+
case "notContains":
|
|
751
|
+
return !y.contains(b, m.filter);
|
|
752
|
+
default:
|
|
753
|
+
return !0;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
function g() {
|
|
758
|
+
if (c.trim() === "") {
|
|
759
|
+
a(null);
|
|
760
|
+
return;
|
|
761
|
+
}
|
|
762
|
+
a({ type: l, filter: c });
|
|
763
|
+
}
|
|
764
|
+
function T() {
|
|
765
|
+
u(""), d(s ?? "contains"), a(null);
|
|
766
|
+
}
|
|
767
|
+
const C = Qt.map(
|
|
768
|
+
(f) => ({
|
|
769
|
+
value: f,
|
|
770
|
+
label: i(`dataTable.textFilter.operators.${f}`)
|
|
771
|
+
})
|
|
772
|
+
), S = o ?? i("dataTable.textFilter.placeholder");
|
|
773
|
+
return /* @__PURE__ */ I(
|
|
774
|
+
"div",
|
|
775
|
+
{
|
|
776
|
+
"data-component": "text-filter",
|
|
777
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
778
|
+
children: [
|
|
779
|
+
/* @__PURE__ */ n(
|
|
780
|
+
ke,
|
|
781
|
+
{
|
|
782
|
+
size: "sm",
|
|
783
|
+
options: C,
|
|
784
|
+
value: l,
|
|
785
|
+
onValueChange: (f) => {
|
|
786
|
+
f !== "" && d(f);
|
|
787
|
+
},
|
|
788
|
+
"aria-label": i("dataTable.textFilter.operators.contains")
|
|
789
|
+
}
|
|
790
|
+
),
|
|
791
|
+
/* @__PURE__ */ n(
|
|
792
|
+
pe,
|
|
793
|
+
{
|
|
794
|
+
size: "sm",
|
|
795
|
+
value: c,
|
|
796
|
+
onChange: (f) => u(f.target.value),
|
|
797
|
+
onKeyDown: (f) => {
|
|
798
|
+
f.key === "Enter" && (f.preventDefault(), g());
|
|
799
|
+
},
|
|
800
|
+
placeholder: S,
|
|
801
|
+
"aria-label": S,
|
|
802
|
+
startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": "true", className: "ds:size-4" })
|
|
803
|
+
}
|
|
804
|
+
),
|
|
805
|
+
/* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
|
|
806
|
+
/* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: T, type: "button", children: i("dataTable.textFilter.clear") }),
|
|
807
|
+
/* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: g, type: "button", children: i("dataTable.textFilter.apply") })
|
|
808
|
+
] })
|
|
809
|
+
]
|
|
810
|
+
}
|
|
811
|
+
);
|
|
812
|
+
}
|
|
813
|
+
function Yt(t) {
|
|
814
|
+
var u, y;
|
|
815
|
+
const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((y = (u = r == null ? void 0 : r.getColDef) == null ? void 0 : u.call(r)) == null ? void 0 : y.filterParams) ?? {}, i = s.defaultOperator ?? "contains", p = s.placeholder ?? o("dataTable.textFilter.placeholder"), [l, d] = R((e == null ? void 0 : e.filter) ?? "");
|
|
816
|
+
z(() => {
|
|
817
|
+
d((e == null ? void 0 : e.filter) ?? "");
|
|
818
|
+
}, [e == null ? void 0 : e.filter]), z(() => {
|
|
819
|
+
if (l === ((e == null ? void 0 : e.filter) ?? "")) return;
|
|
820
|
+
const g = setTimeout(() => {
|
|
821
|
+
if (l === "") {
|
|
822
|
+
e && a(null);
|
|
823
|
+
return;
|
|
824
|
+
}
|
|
825
|
+
a({ type: i, filter: l });
|
|
826
|
+
}, 200);
|
|
827
|
+
return () => clearTimeout(g);
|
|
828
|
+
}, [l, i, e, a]);
|
|
829
|
+
function c() {
|
|
830
|
+
d(""), e && a(null);
|
|
831
|
+
}
|
|
832
|
+
return /* @__PURE__ */ n("div", { "data-component": "text-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
|
|
833
|
+
pe,
|
|
834
|
+
{
|
|
835
|
+
size: "sm",
|
|
836
|
+
value: l,
|
|
837
|
+
onChange: (g) => d(g.target.value),
|
|
838
|
+
placeholder: p,
|
|
839
|
+
"aria-label": p,
|
|
840
|
+
startAdornment: /* @__PURE__ */ n(fe, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
841
|
+
endAdornment: l.length > 0 ? /* @__PURE__ */ n(
|
|
842
|
+
"button",
|
|
843
|
+
{
|
|
844
|
+
type: "button",
|
|
845
|
+
"aria-label": o("dataTable.textFilter.clear"),
|
|
846
|
+
onClick: c,
|
|
847
|
+
className: "ds:pointer-events-auto ds:flex ds:items-center ds:text-[var(--muted-foreground)] ds:hover:text-[var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
848
|
+
children: /* @__PURE__ */ n(De, { "aria-hidden": "true", className: "ds:size-4" })
|
|
849
|
+
}
|
|
850
|
+
) : void 0
|
|
851
|
+
}
|
|
852
|
+
) });
|
|
853
|
+
}
|
|
854
|
+
const ea = {
|
|
855
|
+
id: "data-table",
|
|
856
|
+
capabilities: [
|
|
857
|
+
"select_single",
|
|
858
|
+
"select_multiple",
|
|
859
|
+
"range_pick",
|
|
860
|
+
"filter",
|
|
861
|
+
"sort",
|
|
862
|
+
"paginate"
|
|
863
|
+
],
|
|
864
|
+
state: {
|
|
865
|
+
selection: {
|
|
866
|
+
type: "string[]",
|
|
867
|
+
descriptionKey: "ui.agent.dataTable.state.selection",
|
|
868
|
+
description: "Row ids of currently-selected rows.",
|
|
869
|
+
read: (t) => t.getSelection()
|
|
870
|
+
},
|
|
871
|
+
filter: {
|
|
872
|
+
type: "object",
|
|
873
|
+
descriptionKey: "ui.agent.dataTable.state.filter",
|
|
874
|
+
description: "Current ag-grid filter model, keyed by column id.",
|
|
875
|
+
read: (t) => t.getFilter()
|
|
876
|
+
},
|
|
877
|
+
sort: {
|
|
878
|
+
type: "Array<{ colId, sort }>",
|
|
879
|
+
descriptionKey: "ui.agent.dataTable.state.sort",
|
|
880
|
+
description: "Active sort, in priority order.",
|
|
881
|
+
read: (t) => t.getSort()
|
|
882
|
+
},
|
|
883
|
+
currentPage: {
|
|
884
|
+
type: "number",
|
|
885
|
+
descriptionKey: "ui.agent.dataTable.state.currentPage",
|
|
886
|
+
description: "Zero-indexed page number.",
|
|
887
|
+
read: (t) => t.getCurrentPage()
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
actions: {
|
|
891
|
+
select_rows: {
|
|
892
|
+
// Transient grid selection (data-table convention) — stays read.
|
|
893
|
+
safety: "read",
|
|
894
|
+
argsType: "{ ids: string[] }",
|
|
895
|
+
argsSchema: {
|
|
896
|
+
type: "object",
|
|
897
|
+
properties: {
|
|
898
|
+
ids: {
|
|
899
|
+
type: "array",
|
|
900
|
+
items: { type: "string" },
|
|
901
|
+
description: "Row ids to select (replaces the current selection)."
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
required: ["ids"]
|
|
905
|
+
},
|
|
906
|
+
idempotent: !0,
|
|
907
|
+
descriptionKey: "ui.agent.dataTable.actions.selectRows",
|
|
908
|
+
description: "Replace the current selection with the given row ids.",
|
|
909
|
+
examples: [
|
|
910
|
+
{ args: { ids: ["r-1", "r-2"] }, note: "Select the first two rows." }
|
|
911
|
+
],
|
|
912
|
+
invoke: (t, e) => {
|
|
913
|
+
t.setSelection(e.ids);
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
select_range: {
|
|
917
|
+
safety: "read",
|
|
918
|
+
argsType: "{ fromId: string, toId: string }",
|
|
919
|
+
argsSchema: {
|
|
920
|
+
type: "object",
|
|
921
|
+
properties: {
|
|
922
|
+
fromId: { type: "string", description: "Start row id (inclusive)." },
|
|
923
|
+
toId: { type: "string", description: "End row id (inclusive)." }
|
|
924
|
+
},
|
|
925
|
+
required: ["fromId", "toId"]
|
|
926
|
+
},
|
|
927
|
+
idempotent: !0,
|
|
928
|
+
descriptionKey: "ui.agent.dataTable.actions.selectRange",
|
|
929
|
+
description: "Select every row between fromId and toId, inclusive, in current sort order.",
|
|
930
|
+
invoke: (t, e) => {
|
|
931
|
+
t.selectRange(e.fromId, e.toId);
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
clear_selection: {
|
|
935
|
+
safety: "read",
|
|
936
|
+
idempotent: !0,
|
|
937
|
+
descriptionKey: "ui.agent.dataTable.actions.clearSelection",
|
|
938
|
+
description: "Deselect all rows.",
|
|
939
|
+
invoke: (t) => {
|
|
940
|
+
t.clearSelection();
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
get_selection: {
|
|
944
|
+
safety: "read",
|
|
945
|
+
returns: "string[]",
|
|
946
|
+
returnsSchema: { type: "array", items: { type: "string" } },
|
|
947
|
+
idempotent: !0,
|
|
948
|
+
descriptionKey: "ui.agent.dataTable.actions.getSelection",
|
|
949
|
+
description: "Return the row ids of the currently-selected rows.",
|
|
950
|
+
invoke: (t) => t.getSelection()
|
|
951
|
+
},
|
|
952
|
+
apply_filter: {
|
|
953
|
+
safety: "read",
|
|
954
|
+
argsType: "{ model: Record<string, unknown> }",
|
|
955
|
+
argsSchema: {
|
|
956
|
+
type: "object",
|
|
957
|
+
properties: {
|
|
958
|
+
model: {
|
|
959
|
+
type: "object",
|
|
960
|
+
description: "ag-grid filter model keyed by column id. Opaque per-column filter shapes; replaces the current model.",
|
|
961
|
+
additionalProperties: !0
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
required: ["model"]
|
|
965
|
+
},
|
|
966
|
+
idempotent: !0,
|
|
967
|
+
descriptionKey: "ui.agent.dataTable.actions.applyFilter",
|
|
968
|
+
description: "Replace the filter model with the given object.",
|
|
969
|
+
invoke: (t, e) => {
|
|
970
|
+
t.setFilter(e.model);
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
sort_by: {
|
|
974
|
+
safety: "read",
|
|
975
|
+
argsType: "{ model: DataTableSortEntry[] }",
|
|
976
|
+
argsSchema: {
|
|
977
|
+
type: "object",
|
|
978
|
+
properties: {
|
|
979
|
+
model: {
|
|
980
|
+
type: "array",
|
|
981
|
+
description: "Sort entries in priority order.",
|
|
982
|
+
items: {
|
|
983
|
+
type: "object",
|
|
984
|
+
properties: {
|
|
985
|
+
colId: { type: "string", description: "Column id to sort by." },
|
|
986
|
+
sort: { enum: ["asc", "desc"], description: "Sort direction." }
|
|
987
|
+
},
|
|
988
|
+
required: ["colId", "sort"]
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
required: ["model"]
|
|
993
|
+
},
|
|
994
|
+
idempotent: !0,
|
|
995
|
+
descriptionKey: "ui.agent.dataTable.actions.sortBy",
|
|
996
|
+
description: "Replace the active sort with the given list (priority order).",
|
|
997
|
+
examples: [
|
|
998
|
+
{
|
|
999
|
+
args: { model: [{ colId: "name", sort: "asc" }] },
|
|
1000
|
+
note: "Sort by name ascending."
|
|
1001
|
+
}
|
|
1002
|
+
],
|
|
1003
|
+
invoke: (t, e) => {
|
|
1004
|
+
t.setSort(e.model);
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
go_to_page: {
|
|
1008
|
+
safety: "read",
|
|
1009
|
+
argsType: "{ page: number }",
|
|
1010
|
+
argsSchema: {
|
|
1011
|
+
type: "object",
|
|
1012
|
+
properties: {
|
|
1013
|
+
page: {
|
|
1014
|
+
type: "integer",
|
|
1015
|
+
minimum: 0,
|
|
1016
|
+
description: "Zero-indexed page number."
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
required: ["page"]
|
|
1020
|
+
},
|
|
1021
|
+
idempotent: !0,
|
|
1022
|
+
descriptionKey: "ui.agent.dataTable.actions.goToPage",
|
|
1023
|
+
description: "Navigate to the given zero-indexed page.",
|
|
1024
|
+
invoke: (t, e) => {
|
|
1025
|
+
t.goToPage(e.page);
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
domHooks: {
|
|
1030
|
+
root: {
|
|
1031
|
+
attr: "data-component",
|
|
1032
|
+
value: "data-table",
|
|
1033
|
+
description: "Marks the DataTable wrapper."
|
|
1034
|
+
},
|
|
1035
|
+
instanceId: {
|
|
1036
|
+
attr: "data-component-id",
|
|
1037
|
+
sourceProp: "gridId",
|
|
1038
|
+
description: "Sourced from the gridId prop. Required to address a specific table from the agent."
|
|
1039
|
+
},
|
|
1040
|
+
item: {
|
|
1041
|
+
attr: "row-id",
|
|
1042
|
+
description: "Native ag-grid row-id attribute on each rendered row. Selection is performed via the curated handle, not by DOM mutation."
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
};
|
|
1046
|
+
Ct.registerModules([xt]);
|
|
1047
|
+
const ta = Tt("ag-theme-alfadocs ds:w-full", {
|
|
1048
|
+
variants: {
|
|
1049
|
+
density: {
|
|
1050
|
+
default: "",
|
|
1051
|
+
compact: "data-table-compact",
|
|
1052
|
+
expanded: "data-table-expanded"
|
|
1053
|
+
},
|
|
1054
|
+
bordered: {
|
|
1055
|
+
true: "",
|
|
1056
|
+
false: "ds:[--ag-borders:none]"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
defaultVariants: {
|
|
1060
|
+
density: "default",
|
|
1061
|
+
bordered: !0
|
|
1062
|
+
}
|
|
1063
|
+
});
|
|
1064
|
+
function aa() {
|
|
1065
|
+
const { t } = F();
|
|
1066
|
+
return E(
|
|
1067
|
+
() => ({
|
|
1068
|
+
// Filter strings
|
|
1069
|
+
contains: t("dataTable.agGrid.contains"),
|
|
1070
|
+
notContains: t("dataTable.agGrid.notContains"),
|
|
1071
|
+
equals: t("dataTable.agGrid.equals"),
|
|
1072
|
+
notEqual: t("dataTable.agGrid.notEqual"),
|
|
1073
|
+
startsWith: t("dataTable.agGrid.startsWith"),
|
|
1074
|
+
endsWith: t("dataTable.agGrid.endsWith"),
|
|
1075
|
+
lessThan: t("dataTable.agGrid.lessThan"),
|
|
1076
|
+
greaterThan: t("dataTable.agGrid.greaterThan"),
|
|
1077
|
+
inRange: t("dataTable.agGrid.inRange"),
|
|
1078
|
+
blank: t("dataTable.agGrid.blank"),
|
|
1079
|
+
notBlank: t("dataTable.agGrid.notBlank"),
|
|
1080
|
+
filterOoo: t("dataTable.agGrid.filterOoo"),
|
|
1081
|
+
applyFilter: t("dataTable.agGrid.applyFilter"),
|
|
1082
|
+
resetFilter: t("dataTable.agGrid.resetFilter"),
|
|
1083
|
+
noRowsToShow: t("dataTable.agGrid.noRowsToShow"),
|
|
1084
|
+
selectAll: t("dataTable.agGrid.selectAll"),
|
|
1085
|
+
// Pagination
|
|
1086
|
+
page: t("dataTable.page"),
|
|
1087
|
+
of: t("dataTable.of"),
|
|
1088
|
+
to: t("dataTable.to"),
|
|
1089
|
+
nextPage: t("dataTable.nextPage"),
|
|
1090
|
+
previousPage: t("dataTable.previousPage"),
|
|
1091
|
+
firstPage: t("dataTable.firstPage"),
|
|
1092
|
+
lastPage: t("dataTable.lastPage"),
|
|
1093
|
+
pageSize: t("dataTable.pageSize")
|
|
1094
|
+
}),
|
|
1095
|
+
[t]
|
|
1096
|
+
);
|
|
1097
|
+
}
|
|
1098
|
+
function ra() {
|
|
1099
|
+
return /* @__PURE__ */ n(
|
|
1100
|
+
"div",
|
|
1101
|
+
{
|
|
1102
|
+
role: "status",
|
|
1103
|
+
"aria-live": "polite",
|
|
1104
|
+
className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
|
|
1105
|
+
children: Array.from({ length: 5 }).map((t, e) => /* @__PURE__ */ n(
|
|
1106
|
+
ht,
|
|
1107
|
+
{
|
|
1108
|
+
variant: "rectangular",
|
|
1109
|
+
className: "ds:h-[var(--min-target-size)] ds:w-full"
|
|
1110
|
+
},
|
|
1111
|
+
e
|
|
1112
|
+
))
|
|
1113
|
+
}
|
|
1114
|
+
);
|
|
1115
|
+
}
|
|
1116
|
+
function na() {
|
|
1117
|
+
const { t } = F();
|
|
1118
|
+
return /* @__PURE__ */ n(
|
|
1119
|
+
vt,
|
|
1120
|
+
{
|
|
1121
|
+
variant: "no-results",
|
|
1122
|
+
size: "sm",
|
|
1123
|
+
title: t("dataTable.noRows"),
|
|
1124
|
+
description: t("dataTable.noRowsDescription")
|
|
1125
|
+
}
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
function oa(t) {
|
|
1129
|
+
try {
|
|
1130
|
+
const e = localStorage.getItem(`data-table-col-state:${t}`);
|
|
1131
|
+
return e ? JSON.parse(e) : null;
|
|
1132
|
+
} catch {
|
|
1133
|
+
return null;
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
function sa(t, e) {
|
|
1137
|
+
try {
|
|
1138
|
+
localStorage.setItem(
|
|
1139
|
+
`data-table-col-state:${t}`,
|
|
1140
|
+
JSON.stringify(e.getColumnState())
|
|
1141
|
+
);
|
|
1142
|
+
} catch {
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
function ia(t, e) {
|
|
1146
|
+
const {
|
|
1147
|
+
columnDefs: a,
|
|
1148
|
+
rowData: r,
|
|
1149
|
+
rowSelection: o,
|
|
1150
|
+
pagination: s = !1,
|
|
1151
|
+
paginationPageSize: i = 25,
|
|
1152
|
+
paginationPageSizeSelector: p = [10, 25, 50, 100],
|
|
1153
|
+
gridId: l,
|
|
1154
|
+
onSelectionChanged: d,
|
|
1155
|
+
onSortChanged: c,
|
|
1156
|
+
onFilterChanged: u,
|
|
1157
|
+
noRowsOverlay: y,
|
|
1158
|
+
loadingOverlay: g,
|
|
1159
|
+
gridOptions: T,
|
|
1160
|
+
density: C,
|
|
1161
|
+
bordered: S,
|
|
1162
|
+
heightClass: f = "ds:h-[500px]",
|
|
1163
|
+
className: m,
|
|
1164
|
+
getRowClass: b,
|
|
1165
|
+
pinnedBottomRowData: h,
|
|
1166
|
+
printMode: w = !1,
|
|
1167
|
+
children: A
|
|
1168
|
+
} = t, { t: k, i18n: $ } = F(), D = xe(null), [W, Xe] = R(0), [ne, oe] = R(""), Ze = aa(), se = E(
|
|
1169
|
+
() => ({
|
|
1170
|
+
getSelection: () => {
|
|
1171
|
+
var N;
|
|
1172
|
+
const v = (N = D.current) == null ? void 0 : N.api;
|
|
1173
|
+
if (!v) return [];
|
|
1174
|
+
const x = [];
|
|
1175
|
+
for (const P of v.getSelectedNodes())
|
|
1176
|
+
P.id != null && x.push(P.id);
|
|
1177
|
+
return x;
|
|
1178
|
+
},
|
|
1179
|
+
setSelection: (v) => {
|
|
1180
|
+
var P;
|
|
1181
|
+
const x = (P = D.current) == null ? void 0 : P.api;
|
|
1182
|
+
if (!x) return;
|
|
1183
|
+
const N = new Set(v);
|
|
1184
|
+
x.forEachNode((O) => {
|
|
1185
|
+
O.id != null && O.setSelected(N.has(O.id));
|
|
1186
|
+
});
|
|
1187
|
+
},
|
|
1188
|
+
selectRange: (v, x) => {
|
|
1189
|
+
var be;
|
|
1190
|
+
const N = (be = D.current) == null ? void 0 : be.api;
|
|
1191
|
+
if (!N) return;
|
|
1192
|
+
const P = [];
|
|
1193
|
+
N.forEachNodeAfterFilterAndSort((U) => {
|
|
1194
|
+
U.id != null && P.push(U.id);
|
|
1195
|
+
});
|
|
1196
|
+
const O = P.indexOf(v), q = P.indexOf(x);
|
|
1197
|
+
if (O < 0 || q < 0) return;
|
|
1198
|
+
const [K, le] = O <= q ? [O, q] : [q, O], ce = new Set(P.slice(K, le + 1));
|
|
1199
|
+
N.forEachNode((U) => {
|
|
1200
|
+
U.id != null && U.setSelected(ce.has(U.id));
|
|
1201
|
+
});
|
|
1202
|
+
},
|
|
1203
|
+
clearSelection: () => {
|
|
1204
|
+
var v, x;
|
|
1205
|
+
(x = (v = D.current) == null ? void 0 : v.api) == null || x.deselectAll();
|
|
1206
|
+
},
|
|
1207
|
+
getFilter: () => {
|
|
1208
|
+
var v, x;
|
|
1209
|
+
return ((x = (v = D.current) == null ? void 0 : v.api) == null ? void 0 : x.getFilterModel()) ?? {};
|
|
1210
|
+
},
|
|
1211
|
+
setFilter: (v) => {
|
|
1212
|
+
var x, N;
|
|
1213
|
+
(N = (x = D.current) == null ? void 0 : x.api) == null || N.setFilterModel(v);
|
|
1214
|
+
},
|
|
1215
|
+
getSort: () => {
|
|
1216
|
+
var x;
|
|
1217
|
+
const v = (x = D.current) == null ? void 0 : x.api;
|
|
1218
|
+
return v ? v.getColumnState().filter((N) => N.sort === "asc" || N.sort === "desc").map((N) => ({ colId: N.colId, sort: N.sort })) : [];
|
|
1219
|
+
},
|
|
1220
|
+
setSort: (v) => {
|
|
1221
|
+
var P;
|
|
1222
|
+
const x = (P = D.current) == null ? void 0 : P.api;
|
|
1223
|
+
if (!x) return;
|
|
1224
|
+
const N = x.getColumnState().map((O) => {
|
|
1225
|
+
const q = v.find((K) => K.colId === O.colId);
|
|
1226
|
+
return { ...O, sort: q ? q.sort : null };
|
|
1227
|
+
});
|
|
1228
|
+
x.applyColumnState({ state: N, defaultState: { sort: null } });
|
|
1229
|
+
},
|
|
1230
|
+
getCurrentPage: () => {
|
|
1231
|
+
var v, x;
|
|
1232
|
+
return ((x = (v = D.current) == null ? void 0 : v.api) == null ? void 0 : x.paginationGetCurrentPage()) ?? 0;
|
|
1233
|
+
},
|
|
1234
|
+
goToPage: (v) => {
|
|
1235
|
+
var x, N;
|
|
1236
|
+
(N = (x = D.current) == null ? void 0 : x.api) == null || N.paginationGoToPage(v);
|
|
1237
|
+
},
|
|
1238
|
+
getRawApi: () => {
|
|
1239
|
+
var v;
|
|
1240
|
+
return (v = D.current) == null ? void 0 : v.api;
|
|
1241
|
+
}
|
|
1242
|
+
}),
|
|
1243
|
+
[]
|
|
1244
|
+
);
|
|
1245
|
+
bt(e, () => se, [se]), It(ea, se, l);
|
|
1246
|
+
const Ye = $.dir() === "rtl", et = r === void 0, tt = kt(), { resolvedTheme: ge } = Et(), at = (ge === "light-accessible" || ge === "dark-accessible") && C === "compact" ? "default" : C, rt = E(() => {
|
|
1247
|
+
if (o)
|
|
1248
|
+
return o === "single" ? { mode: "singleRow" } : {
|
|
1249
|
+
mode: "multiRow",
|
|
1250
|
+
headerCheckbox: !0,
|
|
1251
|
+
checkboxes: !0
|
|
1252
|
+
};
|
|
1253
|
+
}, [o]), nt = M(() => {
|
|
1254
|
+
var x;
|
|
1255
|
+
if (!l || !((x = D.current) != null && x.api)) return;
|
|
1256
|
+
const v = oa(l);
|
|
1257
|
+
v && D.current.api.applyColumnState({
|
|
1258
|
+
state: v,
|
|
1259
|
+
applyOrder: !0
|
|
1260
|
+
});
|
|
1261
|
+
}, [l]), ie = M(() => {
|
|
1262
|
+
var v;
|
|
1263
|
+
l && ((v = D.current) != null && v.api) && sa(l, D.current.api);
|
|
1264
|
+
}, [l]), ot = E(() => {
|
|
1265
|
+
if (!T) return;
|
|
1266
|
+
const v = { ...T };
|
|
1267
|
+
return delete v.defaultColDef, v;
|
|
1268
|
+
}, [T]), st = M(() => {
|
|
1269
|
+
var N;
|
|
1270
|
+
const v = (N = D.current) == null ? void 0 : N.api;
|
|
1271
|
+
if (!v) return;
|
|
1272
|
+
const x = v.getSelectedRows();
|
|
1273
|
+
Xe(x.length), d == null || d(x);
|
|
1274
|
+
}, [d]), it = M(
|
|
1275
|
+
(v) => {
|
|
1276
|
+
var N;
|
|
1277
|
+
const x = (N = D.current) == null ? void 0 : N.api;
|
|
1278
|
+
if (x) {
|
|
1279
|
+
const O = x.getColumnState().find((q) => q.sort);
|
|
1280
|
+
if (O) {
|
|
1281
|
+
const q = O.colId, K = x.getColumnDef(q), le = (K == null ? void 0 : K.headerName) ?? q, ce = O.sort === "asc" ? "dataTable.sortAscending" : "dataTable.sortDescending";
|
|
1282
|
+
oe(
|
|
1283
|
+
k("dataTable.sortAnnounce", {
|
|
1284
|
+
column: le,
|
|
1285
|
+
direction: k(ce)
|
|
1286
|
+
})
|
|
1287
|
+
);
|
|
1288
|
+
} else
|
|
1289
|
+
oe("");
|
|
1290
|
+
}
|
|
1291
|
+
c == null || c(v);
|
|
1292
|
+
},
|
|
1293
|
+
[c, k]
|
|
1294
|
+
), lt = M(
|
|
1295
|
+
(v) => {
|
|
1296
|
+
u == null || u(v);
|
|
1297
|
+
},
|
|
1298
|
+
[u]
|
|
1299
|
+
);
|
|
1300
|
+
z(() => {
|
|
1301
|
+
if (!ne) return;
|
|
1302
|
+
const v = setTimeout(() => oe(""), 3e3);
|
|
1303
|
+
return () => clearTimeout(v);
|
|
1304
|
+
}, [ne]);
|
|
1305
|
+
const ct = y ?? na, dt = g ?? ra, ut = M(
|
|
1306
|
+
() => {
|
|
1307
|
+
var v;
|
|
1308
|
+
return (v = D.current) == null ? void 0 : v.api;
|
|
1309
|
+
},
|
|
1310
|
+
[]
|
|
1311
|
+
), pt = M(() => {
|
|
1312
|
+
typeof window < "u" && window.print();
|
|
1313
|
+
}, []), ft = ta({
|
|
1314
|
+
density: at,
|
|
1315
|
+
bordered: S,
|
|
1316
|
+
className: m
|
|
1317
|
+
}), mt = A ?? /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(ee.Actions, { children: /* @__PURE__ */ n(ee.ExportMenu, {}) }) }), gt = w ? !1 : s;
|
|
1318
|
+
return /* @__PURE__ */ I(
|
|
1319
|
+
"div",
|
|
1320
|
+
{
|
|
1321
|
+
className: "ds:flex ds:w-full ds:min-h-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
1322
|
+
"aria-busy": et ? "true" : void 0,
|
|
1323
|
+
"data-component": "data-table",
|
|
1324
|
+
"data-component-id": l,
|
|
1325
|
+
"data-print-mode": w ? "true" : void 0,
|
|
1326
|
+
children: [
|
|
1327
|
+
!w && /* @__PURE__ */ n(
|
|
1328
|
+
jt,
|
|
1329
|
+
{
|
|
1330
|
+
getApi: ut,
|
|
1331
|
+
selectionCount: W,
|
|
1332
|
+
onPrint: pt,
|
|
1333
|
+
children: mt
|
|
1334
|
+
}
|
|
1335
|
+
),
|
|
1336
|
+
/* @__PURE__ */ n(
|
|
1337
|
+
"div",
|
|
1338
|
+
{
|
|
1339
|
+
className: [ft, w ? "" : f].join(" ").trim(),
|
|
1340
|
+
children: /* @__PURE__ */ n(
|
|
1341
|
+
yt,
|
|
1342
|
+
{
|
|
1343
|
+
ref: D,
|
|
1344
|
+
theme: "legacy",
|
|
1345
|
+
columnDefs: a,
|
|
1346
|
+
rowData: r,
|
|
1347
|
+
defaultColDef: {
|
|
1348
|
+
sortable: !0,
|
|
1349
|
+
// Default filter = DS-styled text filter so untyped columns
|
|
1350
|
+
// (no explicit `filter:` override) inherit the kit's form
|
|
1351
|
+
// language instead of AG Grid's stock browser-skinned input.
|
|
1352
|
+
// Number / date / select columns opt into their dedicated
|
|
1353
|
+
// wrapper per-column.
|
|
1354
|
+
filter: Zt,
|
|
1355
|
+
floatingFilterComponent: Yt,
|
|
1356
|
+
resizable: !0,
|
|
1357
|
+
floatingFilter: !0,
|
|
1358
|
+
// §13d — faint sort icon advertises which columns are
|
|
1359
|
+
// sortable. v33+ moved this from grid-level to defaultColDef.
|
|
1360
|
+
unSortIcon: !0,
|
|
1361
|
+
...T == null ? void 0 : T.defaultColDef
|
|
1362
|
+
},
|
|
1363
|
+
rowSelection: rt,
|
|
1364
|
+
pagination: gt,
|
|
1365
|
+
paginationPageSize: i,
|
|
1366
|
+
paginationPageSizeSelector: p,
|
|
1367
|
+
paginationNumberFormatter: (v) => new Intl.NumberFormat($.language).format(v.value),
|
|
1368
|
+
animateRows: !tt,
|
|
1369
|
+
enableRtl: Ye,
|
|
1370
|
+
ensureDomOrder: !0,
|
|
1371
|
+
enableCellSpan: !0,
|
|
1372
|
+
enableCellTextSelection: !0,
|
|
1373
|
+
copyHeadersToClipboard: !0,
|
|
1374
|
+
accentedSort: !0,
|
|
1375
|
+
multiSortKey: "ctrl",
|
|
1376
|
+
suppressDragLeaveHidesColumns: !0,
|
|
1377
|
+
suppressRowClickSelection: o ? !0 : void 0,
|
|
1378
|
+
tooltipShowDelay: 500,
|
|
1379
|
+
tooltipHideDelay: 5e3,
|
|
1380
|
+
tooltipInteraction: !0,
|
|
1381
|
+
stopEditingWhenCellsLoseFocus: !0,
|
|
1382
|
+
maintainColumnOrder: !0,
|
|
1383
|
+
undoRedoCellEditing: !0,
|
|
1384
|
+
undoRedoCellEditingLimit: 20,
|
|
1385
|
+
suppressCellFocus: !1,
|
|
1386
|
+
rowBuffer: 10,
|
|
1387
|
+
localeText: Ze,
|
|
1388
|
+
noRowsOverlayComponent: ct,
|
|
1389
|
+
loadingOverlayComponent: dt,
|
|
1390
|
+
getRowClass: b,
|
|
1391
|
+
pinnedBottomRowData: h,
|
|
1392
|
+
domLayout: w ? "autoHeight" : void 0,
|
|
1393
|
+
onGridReady: nt,
|
|
1394
|
+
onColumnMoved: ie,
|
|
1395
|
+
onColumnResized: ie,
|
|
1396
|
+
onColumnPinned: ie,
|
|
1397
|
+
onSortChanged: it,
|
|
1398
|
+
onFilterChanged: lt,
|
|
1399
|
+
onSelectionChanged: st,
|
|
1400
|
+
...ot
|
|
1401
|
+
}
|
|
1402
|
+
)
|
|
1403
|
+
}
|
|
1404
|
+
),
|
|
1405
|
+
!w && /* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:justify-between type-body-sm ds:text-[color:var(--muted-foreground)]", children: W > 0 ? /* @__PURE__ */ n("span", { children: k("dataTable.selected", { count: W }) }) : /* @__PURE__ */ n("span", {}) }),
|
|
1406
|
+
/* @__PURE__ */ n("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: ne })
|
|
1407
|
+
]
|
|
1408
|
+
}
|
|
1409
|
+
);
|
|
1410
|
+
}
|
|
1411
|
+
const Je = G(ia);
|
|
1412
|
+
Je.displayName = "DataTable";
|
|
1413
|
+
const sr = Object.assign(Je, {
|
|
1414
|
+
Toolbar: ee
|
|
1415
|
+
});
|
|
1416
|
+
function re(t) {
|
|
1417
|
+
return t ? t.toISOString().slice(0, 10) : null;
|
|
1418
|
+
}
|
|
1419
|
+
function L(t) {
|
|
1420
|
+
if (!t) return;
|
|
1421
|
+
const e = new Date(t);
|
|
1422
|
+
return Number.isNaN(e.getTime()) ? void 0 : e;
|
|
1423
|
+
}
|
|
1424
|
+
function ir(t) {
|
|
1425
|
+
const { model: e, onModelChange: a, getValue: r, doesRowPassOtherFilter: o } = t, [s, i] = R(() => ({
|
|
1426
|
+
from: L(e == null ? void 0 : e.dateFrom),
|
|
1427
|
+
to: L(e == null ? void 0 : e.dateTo)
|
|
1428
|
+
}));
|
|
1429
|
+
z(() => {
|
|
1430
|
+
i({
|
|
1431
|
+
from: L(e == null ? void 0 : e.dateFrom),
|
|
1432
|
+
to: L(e == null ? void 0 : e.dateTo)
|
|
1433
|
+
});
|
|
1434
|
+
}, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]), X({
|
|
1435
|
+
doesFilterPass: (l) => {
|
|
1436
|
+
const d = L(e == null ? void 0 : e.dateFrom), c = L(e == null ? void 0 : e.dateTo);
|
|
1437
|
+
if (!d && !c) return !0;
|
|
1438
|
+
const u = r(l.node);
|
|
1439
|
+
if (!u) return !1;
|
|
1440
|
+
const y = u instanceof Date ? u : L(String(u));
|
|
1441
|
+
return !(!y || d && y < d || c && y > c);
|
|
1442
|
+
}
|
|
1443
|
+
});
|
|
1444
|
+
function p(l) {
|
|
1445
|
+
if (i(l), !l.from && !l.to) {
|
|
1446
|
+
a(null);
|
|
1447
|
+
return;
|
|
1448
|
+
}
|
|
1449
|
+
a({
|
|
1450
|
+
type: "inRange",
|
|
1451
|
+
dateFrom: re(l.from),
|
|
1452
|
+
dateTo: re(l.to)
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
return /* @__PURE__ */ n("div", { className: "ds:p-[var(--spacing-sm)] ds:min-w-[280px]", children: /* @__PURE__ */ n(Ee, { value: s, onChange: p, size: "sm" }) });
|
|
1456
|
+
}
|
|
1457
|
+
function lr(t) {
|
|
1458
|
+
var l, d;
|
|
1459
|
+
const { model: e, onModelChange: a, column: r } = t, o = ((d = (l = r == null ? void 0 : r.getColDef) == null ? void 0 : l.call(r)) == null ? void 0 : d.filterParams) ?? {}, [s, i] = R(() => ({
|
|
1460
|
+
from: L(e == null ? void 0 : e.dateFrom),
|
|
1461
|
+
to: L(e == null ? void 0 : e.dateTo)
|
|
1462
|
+
}));
|
|
1463
|
+
z(() => {
|
|
1464
|
+
i({
|
|
1465
|
+
from: L(e == null ? void 0 : e.dateFrom),
|
|
1466
|
+
to: L(e == null ? void 0 : e.dateTo)
|
|
1467
|
+
});
|
|
1468
|
+
}, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]);
|
|
1469
|
+
function p(c) {
|
|
1470
|
+
if (i(c), !c.from && !c.to) {
|
|
1471
|
+
a(null);
|
|
1472
|
+
return;
|
|
1473
|
+
}
|
|
1474
|
+
a({
|
|
1475
|
+
type: "inRange",
|
|
1476
|
+
dateFrom: re(c.from),
|
|
1477
|
+
dateTo: re(c.to)
|
|
1478
|
+
});
|
|
1479
|
+
}
|
|
1480
|
+
return /* @__PURE__ */ n("div", { "data-component": "date-range-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
|
|
1481
|
+
Ee,
|
|
1482
|
+
{
|
|
1483
|
+
value: s,
|
|
1484
|
+
onChange: p,
|
|
1485
|
+
size: "sm",
|
|
1486
|
+
placeholder: o.placeholder
|
|
1487
|
+
}
|
|
1488
|
+
) });
|
|
1489
|
+
}
|
|
1490
|
+
function H(t) {
|
|
1491
|
+
return typeof t == "number" ? `n:${t}` : `s:${t}`;
|
|
1492
|
+
}
|
|
1493
|
+
function cr(t) {
|
|
1494
|
+
const { model: e, onModelChange: a, getValue: r, api: o, column: s, options: i, placeholder: p } = t, { t: l } = F("ui"), d = E(() => {
|
|
1495
|
+
if (i && i.length > 0) return i;
|
|
1496
|
+
if (!o || !s) return [];
|
|
1497
|
+
const f = /* @__PURE__ */ new Map();
|
|
1498
|
+
return o.forEachNode((m) => {
|
|
1499
|
+
const b = r(m);
|
|
1500
|
+
if (b == null) return;
|
|
1501
|
+
const h = typeof b == "string" || typeof b == "number" ? b : String(b), w = H(h);
|
|
1502
|
+
f.has(w) || f.set(w, { value: h, label: String(h) });
|
|
1503
|
+
}), Array.from(f.values()).sort(
|
|
1504
|
+
(m, b) => String(m.label).localeCompare(String(b.label))
|
|
1505
|
+
);
|
|
1506
|
+
}, [i, o, s, r]), c = E(() => {
|
|
1507
|
+
const f = /* @__PURE__ */ new Set(), m = (e == null ? void 0 : e.values) ?? [];
|
|
1508
|
+
for (const b of m) f.add(H(b));
|
|
1509
|
+
return f;
|
|
1510
|
+
}, [e]), [u, y] = R(c);
|
|
1511
|
+
z(() => {
|
|
1512
|
+
y(c);
|
|
1513
|
+
}, [c]), X({
|
|
1514
|
+
doesFilterPass: (f) => {
|
|
1515
|
+
const m = e == null ? void 0 : e.values;
|
|
1516
|
+
if (!m || m.length === 0) return !0;
|
|
1517
|
+
const b = r(f.node);
|
|
1518
|
+
if (b == null) return !1;
|
|
1519
|
+
const h = typeof b == "string" || typeof b == "number" ? b : String(b), w = H(h);
|
|
1520
|
+
return m.some((A) => H(A) === w);
|
|
1521
|
+
}
|
|
1522
|
+
});
|
|
1523
|
+
function g(f) {
|
|
1524
|
+
y((m) => {
|
|
1525
|
+
const b = new Set(m);
|
|
1526
|
+
return b.has(f) ? b.delete(f) : b.add(f), b;
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
function T() {
|
|
1530
|
+
if (u.size === 0) {
|
|
1531
|
+
a(null);
|
|
1532
|
+
return;
|
|
1533
|
+
}
|
|
1534
|
+
const f = [];
|
|
1535
|
+
for (const m of d)
|
|
1536
|
+
u.has(H(m.value)) && f.push(m.value);
|
|
1537
|
+
a({ type: "set", values: f });
|
|
1538
|
+
}
|
|
1539
|
+
function C() {
|
|
1540
|
+
y(/* @__PURE__ */ new Set()), a(null);
|
|
1541
|
+
}
|
|
1542
|
+
const S = p ?? l("dataTable.selectFilter.all");
|
|
1543
|
+
return /* @__PURE__ */ I(
|
|
1544
|
+
"div",
|
|
1545
|
+
{
|
|
1546
|
+
"data-component": "select-filter",
|
|
1547
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[200px] ds:max-w-[260px]",
|
|
1548
|
+
children: [
|
|
1549
|
+
/* @__PURE__ */ n(Ot, { orientation: "vertical", className: "ds:max-h-[240px]", children: /* @__PURE__ */ n(
|
|
1550
|
+
"div",
|
|
1551
|
+
{
|
|
1552
|
+
role: "group",
|
|
1553
|
+
"aria-label": S,
|
|
1554
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
1555
|
+
children: d.length === 0 ? /* @__PURE__ */ n("p", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:py-[var(--spacing-xs)]", children: l("dataTable.agGrid.noRowsToShow") }) : d.map((f) => {
|
|
1556
|
+
const m = H(f.value);
|
|
1557
|
+
return /* @__PURE__ */ n(
|
|
1558
|
+
Re,
|
|
1559
|
+
{
|
|
1560
|
+
size: "sm",
|
|
1561
|
+
label: f.label,
|
|
1562
|
+
checked: u.has(m),
|
|
1563
|
+
onCheckedChange: () => g(m)
|
|
1564
|
+
},
|
|
1565
|
+
m
|
|
1566
|
+
);
|
|
1567
|
+
})
|
|
1568
|
+
}
|
|
1569
|
+
) }),
|
|
1570
|
+
/* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
|
|
1571
|
+
/* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: C, type: "button", children: l("dataTable.selectFilter.clear") }),
|
|
1572
|
+
/* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: T, type: "button", children: l("dataTable.selectFilter.apply") })
|
|
1573
|
+
] })
|
|
1574
|
+
]
|
|
1575
|
+
}
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
function dr(t) {
|
|
1579
|
+
var y;
|
|
1580
|
+
const { model: e, onModelChange: a, column: r } = t, o = (y = r == null ? void 0 : r.getColDef) == null ? void 0 : y.call(r), s = (o == null ? void 0 : o.filterParams) ?? {}, i = s.options ?? [], p = s.placeholder ?? (typeof (o == null ? void 0 : o.headerName) == "string" ? o.headerName : void 0), l = E(() => {
|
|
1581
|
+
const g = /* @__PURE__ */ new Map();
|
|
1582
|
+
for (const T of i) g.set(String(T.value), T.value);
|
|
1583
|
+
return g;
|
|
1584
|
+
}, [i]), d = E(
|
|
1585
|
+
() => i.map((g) => ({
|
|
1586
|
+
value: String(g.value),
|
|
1587
|
+
label: g.label
|
|
1588
|
+
})),
|
|
1589
|
+
[i]
|
|
1590
|
+
), c = E(
|
|
1591
|
+
() => ((e == null ? void 0 : e.values) ?? []).map((g) => String(g)),
|
|
1592
|
+
[e]
|
|
1593
|
+
);
|
|
1594
|
+
function u(g) {
|
|
1595
|
+
if (g.length === 0) {
|
|
1596
|
+
a(null);
|
|
1597
|
+
return;
|
|
1598
|
+
}
|
|
1599
|
+
const T = [];
|
|
1600
|
+
for (const C of g) {
|
|
1601
|
+
const S = l.get(C);
|
|
1602
|
+
S !== void 0 && T.push(S);
|
|
1603
|
+
}
|
|
1604
|
+
a({ type: "set", values: T });
|
|
1605
|
+
}
|
|
1606
|
+
return /* @__PURE__ */ n("div", { "data-component": "select-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
|
|
1607
|
+
At,
|
|
1608
|
+
{
|
|
1609
|
+
size: "sm",
|
|
1610
|
+
options: d,
|
|
1611
|
+
value: c,
|
|
1612
|
+
onChange: u,
|
|
1613
|
+
placeholder: s.placeholder,
|
|
1614
|
+
"aria-label": p,
|
|
1615
|
+
allowClear: !0
|
|
1616
|
+
}
|
|
1617
|
+
) });
|
|
1618
|
+
}
|
|
1619
|
+
function J(t) {
|
|
1620
|
+
return t.trim().toLocaleLowerCase();
|
|
1621
|
+
}
|
|
1622
|
+
function ur(t) {
|
|
1623
|
+
const {
|
|
1624
|
+
model: e,
|
|
1625
|
+
onModelChange: a,
|
|
1626
|
+
getValue: r,
|
|
1627
|
+
api: o,
|
|
1628
|
+
column: s,
|
|
1629
|
+
options: i,
|
|
1630
|
+
loadOptions: p,
|
|
1631
|
+
placeholder: l
|
|
1632
|
+
} = t, { t: d } = F("ui"), c = E(() => {
|
|
1633
|
+
if (i && i.length > 0) return i;
|
|
1634
|
+
if (!o || !s) return [];
|
|
1635
|
+
const m = /* @__PURE__ */ new Map();
|
|
1636
|
+
return o.forEachNode((b) => {
|
|
1637
|
+
const h = r(b);
|
|
1638
|
+
if (h == null) return;
|
|
1639
|
+
const w = typeof h == "string" ? h : String(h);
|
|
1640
|
+
m.has(w) || m.set(w, { value: w, label: w });
|
|
1641
|
+
}), Array.from(m.values()).sort(
|
|
1642
|
+
(b, h) => b.label.localeCompare(h.label)
|
|
1643
|
+
);
|
|
1644
|
+
}, [i, o, s, r]), u = E(() => async (m, b) => {
|
|
1645
|
+
if (p)
|
|
1646
|
+
return (await p(m, b)).map((k) => ({ value: k.value, label: k.label }));
|
|
1647
|
+
const h = J(m);
|
|
1648
|
+
return (h ? c.filter((A) => J(A.label).includes(h)) : c).slice(0, 50).map((A) => ({ value: A.value, label: A.label }));
|
|
1649
|
+
}, [p, c]), [y, g] = R((e == null ? void 0 : e.value) ?? "");
|
|
1650
|
+
z(() => {
|
|
1651
|
+
g((e == null ? void 0 : e.value) ?? "");
|
|
1652
|
+
}, [e == null ? void 0 : e.value]), X({
|
|
1653
|
+
doesFilterPass: (m) => {
|
|
1654
|
+
const b = e == null ? void 0 : e.value;
|
|
1655
|
+
if (!b) return !0;
|
|
1656
|
+
const h = r(m.node);
|
|
1657
|
+
if (h == null) return !1;
|
|
1658
|
+
const w = typeof h == "string" ? h : String(h);
|
|
1659
|
+
return J(w) === J(b);
|
|
1660
|
+
}
|
|
1661
|
+
});
|
|
1662
|
+
function T(m) {
|
|
1663
|
+
g(m.label), a({ type: "equals", value: m.value });
|
|
1664
|
+
}
|
|
1665
|
+
function C(m) {
|
|
1666
|
+
g(m), m === "" && e && a(null);
|
|
1667
|
+
}
|
|
1668
|
+
function S() {
|
|
1669
|
+
g(""), a(null);
|
|
1670
|
+
}
|
|
1671
|
+
const f = l ?? d("dataTable.typeaheadFilter.placeholder");
|
|
1672
|
+
return /* @__PURE__ */ I(
|
|
1673
|
+
"div",
|
|
1674
|
+
{
|
|
1675
|
+
"data-component": "typeahead-filter",
|
|
1676
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
1677
|
+
children: [
|
|
1678
|
+
/* @__PURE__ */ n(
|
|
1679
|
+
Ae,
|
|
1680
|
+
{
|
|
1681
|
+
size: "sm",
|
|
1682
|
+
value: y,
|
|
1683
|
+
onChange: C,
|
|
1684
|
+
onSelect: T,
|
|
1685
|
+
loadOptions: u,
|
|
1686
|
+
placeholder: f,
|
|
1687
|
+
"aria-label": f
|
|
1688
|
+
}
|
|
1689
|
+
),
|
|
1690
|
+
/* @__PURE__ */ n("div", { className: "ds:flex ds:items-center ds:justify-end ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: /* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: S, type: "button", children: d("dataTable.typeaheadFilter.clear") }) })
|
|
1691
|
+
]
|
|
1692
|
+
}
|
|
1693
|
+
);
|
|
1694
|
+
}
|
|
1695
|
+
function pr(t) {
|
|
1696
|
+
var T, C;
|
|
1697
|
+
const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((C = (T = r == null ? void 0 : r.getColDef) == null ? void 0 : T.call(r)) == null ? void 0 : C.filterParams) ?? {}, i = s.options ?? [], p = s.loadOptions, l = s.placeholder ?? o("dataTable.typeaheadFilter.placeholder"), d = E(() => async (S, f) => {
|
|
1698
|
+
if (p)
|
|
1699
|
+
return (await p(S, f)).map((w) => ({ value: w.value, label: w.label }));
|
|
1700
|
+
const m = J(S);
|
|
1701
|
+
return (m ? i.filter((h) => J(h.label).includes(m)) : i).slice(0, 50).map((h) => ({ value: h.value, label: h.label }));
|
|
1702
|
+
}, [p, i]), [c, u] = R((e == null ? void 0 : e.value) ?? "");
|
|
1703
|
+
z(() => {
|
|
1704
|
+
u((e == null ? void 0 : e.value) ?? "");
|
|
1705
|
+
}, [e == null ? void 0 : e.value]);
|
|
1706
|
+
function y(S) {
|
|
1707
|
+
u(S.label), a({ type: "equals", value: S.value });
|
|
1708
|
+
}
|
|
1709
|
+
function g(S) {
|
|
1710
|
+
u(S), S === "" && e && a(null);
|
|
1711
|
+
}
|
|
1712
|
+
return /* @__PURE__ */ n("div", { "data-component": "typeahead-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
|
|
1713
|
+
Ae,
|
|
1714
|
+
{
|
|
1715
|
+
size: "sm",
|
|
1716
|
+
value: c,
|
|
1717
|
+
onChange: g,
|
|
1718
|
+
onSelect: y,
|
|
1719
|
+
loadOptions: d,
|
|
1720
|
+
placeholder: l,
|
|
1721
|
+
"aria-label": l
|
|
1722
|
+
}
|
|
1723
|
+
) });
|
|
1724
|
+
}
|
|
1725
|
+
const la = [
|
|
1726
|
+
"equals",
|
|
1727
|
+
"notEqual",
|
|
1728
|
+
"greaterThan",
|
|
1729
|
+
"greaterThanOrEqual",
|
|
1730
|
+
"lessThan",
|
|
1731
|
+
"lessThanOrEqual",
|
|
1732
|
+
"inRange",
|
|
1733
|
+
"blank",
|
|
1734
|
+
"notBlank"
|
|
1735
|
+
];
|
|
1736
|
+
function ve(t) {
|
|
1737
|
+
return t !== "blank" && t !== "notBlank";
|
|
1738
|
+
}
|
|
1739
|
+
function Te(t) {
|
|
1740
|
+
return t === "inRange";
|
|
1741
|
+
}
|
|
1742
|
+
function ca(t, e, a, r) {
|
|
1743
|
+
if (t === "blank") return e === null;
|
|
1744
|
+
if (t === "notBlank") return e !== null;
|
|
1745
|
+
if (e === null) return !1;
|
|
1746
|
+
if (a === null) return !0;
|
|
1747
|
+
switch (t) {
|
|
1748
|
+
case "equals":
|
|
1749
|
+
return e === a;
|
|
1750
|
+
case "notEqual":
|
|
1751
|
+
return e !== a;
|
|
1752
|
+
case "greaterThan":
|
|
1753
|
+
return e > a;
|
|
1754
|
+
case "greaterThanOrEqual":
|
|
1755
|
+
return e >= a;
|
|
1756
|
+
case "lessThan":
|
|
1757
|
+
return e < a;
|
|
1758
|
+
case "lessThanOrEqual":
|
|
1759
|
+
return e <= a;
|
|
1760
|
+
case "inRange": {
|
|
1761
|
+
if (r === null) return e >= a;
|
|
1762
|
+
const o = Math.min(a, r), s = Math.max(a, r);
|
|
1763
|
+
return e >= o && e <= s;
|
|
1764
|
+
}
|
|
1765
|
+
default:
|
|
1766
|
+
return !0;
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
function da(t) {
|
|
1770
|
+
if (t == null || t === "") return null;
|
|
1771
|
+
const e = typeof t == "number" ? t : Number(t);
|
|
1772
|
+
return Number.isNaN(e) ? null : e;
|
|
1773
|
+
}
|
|
1774
|
+
function fr(t) {
|
|
1775
|
+
const {
|
|
1776
|
+
model: e,
|
|
1777
|
+
onModelChange: a,
|
|
1778
|
+
getValue: r,
|
|
1779
|
+
defaultOperator: o,
|
|
1780
|
+
min: s,
|
|
1781
|
+
max: i,
|
|
1782
|
+
step: p,
|
|
1783
|
+
placeholder: l
|
|
1784
|
+
} = t, { t: d } = F("ui"), c = (e == null ? void 0 : e.type) ?? o ?? "equals", [u, y] = R(c), [g, T] = R((e == null ? void 0 : e.filter) ?? null), [C, S] = R(
|
|
1785
|
+
(e == null ? void 0 : e.filterTo) ?? null
|
|
1786
|
+
);
|
|
1787
|
+
z(() => {
|
|
1788
|
+
if (e === null) {
|
|
1789
|
+
y(o ?? "equals"), T(null), S(null);
|
|
1790
|
+
return;
|
|
1791
|
+
}
|
|
1792
|
+
y(e.type), T(e.filter ?? null), S(e.filterTo ?? null);
|
|
1793
|
+
}, [e, o]), X({
|
|
1794
|
+
doesFilterPass: (k) => {
|
|
1795
|
+
if (!e) return !0;
|
|
1796
|
+
const $ = da(r(k.node));
|
|
1797
|
+
return ca(
|
|
1798
|
+
e.type,
|
|
1799
|
+
$,
|
|
1800
|
+
e.filter ?? null,
|
|
1801
|
+
e.filterTo ?? null
|
|
1802
|
+
);
|
|
1803
|
+
}
|
|
1804
|
+
});
|
|
1805
|
+
const f = E(
|
|
1806
|
+
() => la.map((k) => ({
|
|
1807
|
+
value: k,
|
|
1808
|
+
label: d(`dataTable.numberFilter.operators.${k}`)
|
|
1809
|
+
})),
|
|
1810
|
+
[d]
|
|
1811
|
+
), m = l ?? d("dataTable.numberFilter.placeholder");
|
|
1812
|
+
function b() {
|
|
1813
|
+
if (!ve(u)) {
|
|
1814
|
+
a({ type: u, filter: 0 });
|
|
1815
|
+
return;
|
|
1816
|
+
}
|
|
1817
|
+
if (g === null) {
|
|
1818
|
+
a(null);
|
|
1819
|
+
return;
|
|
1820
|
+
}
|
|
1821
|
+
if (Te(u)) {
|
|
1822
|
+
a({
|
|
1823
|
+
type: u,
|
|
1824
|
+
filter: g,
|
|
1825
|
+
filterTo: C ?? void 0
|
|
1826
|
+
});
|
|
1827
|
+
return;
|
|
1828
|
+
}
|
|
1829
|
+
a({ type: u, filter: g });
|
|
1830
|
+
}
|
|
1831
|
+
function h() {
|
|
1832
|
+
y(o ?? "equals"), T(null), S(null), a(null);
|
|
1833
|
+
}
|
|
1834
|
+
const w = ve(u), A = Te(u);
|
|
1835
|
+
return /* @__PURE__ */ I(
|
|
1836
|
+
"div",
|
|
1837
|
+
{
|
|
1838
|
+
"data-component": "number-filter",
|
|
1839
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
1840
|
+
children: [
|
|
1841
|
+
/* @__PURE__ */ n(
|
|
1842
|
+
ke,
|
|
1843
|
+
{
|
|
1844
|
+
size: "sm",
|
|
1845
|
+
options: f,
|
|
1846
|
+
value: u,
|
|
1847
|
+
onValueChange: (k) => {
|
|
1848
|
+
k !== "" && y(k);
|
|
1849
|
+
},
|
|
1850
|
+
"aria-label": d("dataTable.numberFilter.operators.equals")
|
|
1851
|
+
}
|
|
1852
|
+
),
|
|
1853
|
+
w && !A && /* @__PURE__ */ n(
|
|
1854
|
+
Y,
|
|
1855
|
+
{
|
|
1856
|
+
size: "sm",
|
|
1857
|
+
value: g,
|
|
1858
|
+
onChange: T,
|
|
1859
|
+
min: s,
|
|
1860
|
+
max: i,
|
|
1861
|
+
step: p,
|
|
1862
|
+
placeholder: m,
|
|
1863
|
+
"aria-label": m
|
|
1864
|
+
}
|
|
1865
|
+
),
|
|
1866
|
+
A && /* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1867
|
+
/* @__PURE__ */ n(
|
|
1868
|
+
Y,
|
|
1869
|
+
{
|
|
1870
|
+
size: "sm",
|
|
1871
|
+
value: g,
|
|
1872
|
+
onChange: T,
|
|
1873
|
+
min: s,
|
|
1874
|
+
max: i,
|
|
1875
|
+
step: p,
|
|
1876
|
+
placeholder: d("dataTable.numberFilter.from"),
|
|
1877
|
+
"aria-label": d("dataTable.numberFilter.from")
|
|
1878
|
+
}
|
|
1879
|
+
),
|
|
1880
|
+
/* @__PURE__ */ n(
|
|
1881
|
+
Y,
|
|
1882
|
+
{
|
|
1883
|
+
size: "sm",
|
|
1884
|
+
value: C,
|
|
1885
|
+
onChange: S,
|
|
1886
|
+
min: s,
|
|
1887
|
+
max: i,
|
|
1888
|
+
step: p,
|
|
1889
|
+
placeholder: d("dataTable.numberFilter.to"),
|
|
1890
|
+
"aria-label": d("dataTable.numberFilter.to")
|
|
1891
|
+
}
|
|
1892
|
+
)
|
|
1893
|
+
] }),
|
|
1894
|
+
/* @__PURE__ */ I("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
|
|
1895
|
+
/* @__PURE__ */ n(j, { intent: "ghost", size: "sm", onClick: h, type: "button", children: d("dataTable.numberFilter.clear") }),
|
|
1896
|
+
/* @__PURE__ */ n(j, { intent: "primary", size: "sm", onClick: b, type: "button", children: d("dataTable.numberFilter.apply") })
|
|
1897
|
+
] })
|
|
1898
|
+
]
|
|
1899
|
+
}
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
function mr(t) {
|
|
1903
|
+
var c, u;
|
|
1904
|
+
const { model: e, onModelChange: a, column: r } = t, { t: o } = F("ui"), s = ((u = (c = r == null ? void 0 : r.getColDef) == null ? void 0 : c.call(r)) == null ? void 0 : u.filterParams) ?? {}, i = s.defaultOperator ?? "equals", p = s.placeholder ?? o("dataTable.numberFilter.placeholder"), [l, d] = R((e == null ? void 0 : e.filter) ?? null);
|
|
1905
|
+
return z(() => {
|
|
1906
|
+
d((e == null ? void 0 : e.filter) ?? null);
|
|
1907
|
+
}, [e == null ? void 0 : e.filter]), z(() => {
|
|
1908
|
+
if (l === ((e == null ? void 0 : e.filter) ?? null)) return;
|
|
1909
|
+
const y = setTimeout(() => {
|
|
1910
|
+
if (l === null || Number.isNaN(l)) {
|
|
1911
|
+
a(null);
|
|
1912
|
+
return;
|
|
1913
|
+
}
|
|
1914
|
+
a({ type: i, filter: l });
|
|
1915
|
+
}, 200);
|
|
1916
|
+
return () => clearTimeout(y);
|
|
1917
|
+
}, [l, i]), /* @__PURE__ */ n("div", { "data-component": "number-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ n(
|
|
1918
|
+
Y,
|
|
1919
|
+
{
|
|
1920
|
+
size: "sm",
|
|
1921
|
+
value: l,
|
|
1922
|
+
onChange: d,
|
|
1923
|
+
min: s.min,
|
|
1924
|
+
max: s.max,
|
|
1925
|
+
step: s.step,
|
|
1926
|
+
placeholder: p,
|
|
1927
|
+
"aria-label": p
|
|
1928
|
+
}
|
|
1929
|
+
) });
|
|
1930
|
+
}
|
|
1931
|
+
function gr(t) {
|
|
1932
|
+
const { value: e, variantMap: a } = t, r = (a == null ? void 0 : a[e]) ?? "neutral";
|
|
1933
|
+
return /* @__PURE__ */ n(zt, { variant: r, withDot: !0, size: "sm", children: String(e ?? "") });
|
|
1934
|
+
}
|
|
1935
|
+
function br(t) {
|
|
1936
|
+
const { value: e } = t;
|
|
1937
|
+
return e ? /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
1938
|
+
/* @__PURE__ */ n(Oe, { name: e.name, src: e.src, size: "sm" }),
|
|
1939
|
+
/* @__PURE__ */ n("span", { children: e.name })
|
|
1940
|
+
] }) : null;
|
|
1941
|
+
}
|
|
1942
|
+
const ua = {
|
|
1943
|
+
sm: "ds:size-8",
|
|
1944
|
+
md: "ds:size-10",
|
|
1945
|
+
lg: "ds:size-12"
|
|
1946
|
+
}, pa = {
|
|
1947
|
+
square: "ds:rounded-none",
|
|
1948
|
+
rounded: "ds:rounded-[var(--radius-md)]",
|
|
1949
|
+
circle: "ds:rounded-[var(--radius-full)]"
|
|
1950
|
+
};
|
|
1951
|
+
function de(t, e) {
|
|
1952
|
+
if (!t || typeof t != "object") return;
|
|
1953
|
+
const a = t[e];
|
|
1954
|
+
return typeof a == "string" ? a : void 0;
|
|
1955
|
+
}
|
|
1956
|
+
const fa = /^(?:https?:|data:image\/)/i;
|
|
1957
|
+
function ma(t) {
|
|
1958
|
+
if (!t) return;
|
|
1959
|
+
const e = t.trim();
|
|
1960
|
+
if (e.length !== 0)
|
|
1961
|
+
return fa.test(e) ? e : void 0;
|
|
1962
|
+
}
|
|
1963
|
+
function hr(t) {
|
|
1964
|
+
const {
|
|
1965
|
+
data: e,
|
|
1966
|
+
srcField: a,
|
|
1967
|
+
altField: r,
|
|
1968
|
+
fallbackField: o,
|
|
1969
|
+
size: s = "md",
|
|
1970
|
+
shape: i = "rounded"
|
|
1971
|
+
} = t;
|
|
1972
|
+
if (!e) return null;
|
|
1973
|
+
const p = de(e, a), l = ma(p), d = r ? de(e, r) ?? "" : "", c = o ? de(e, o) : void 0;
|
|
1974
|
+
return l ? /* @__PURE__ */ n(
|
|
1975
|
+
"img",
|
|
1976
|
+
{
|
|
1977
|
+
src: l,
|
|
1978
|
+
alt: d,
|
|
1979
|
+
loading: "lazy",
|
|
1980
|
+
decoding: "async",
|
|
1981
|
+
className: ["ds:object-cover", ua[s], pa[i]].join(
|
|
1982
|
+
" "
|
|
1983
|
+
)
|
|
1984
|
+
}
|
|
1985
|
+
) : c ? /* @__PURE__ */ n(Oe, { name: c, size: s }) : null;
|
|
1986
|
+
}
|
|
1987
|
+
function vr(t) {
|
|
1988
|
+
const { value: e, maxVisible: a = 3 } = t, { t: r } = F();
|
|
1989
|
+
if (!Array.isArray(e) || e.length === 0) return null;
|
|
1990
|
+
const o = e.slice(0, a), s = e.length - a;
|
|
1991
|
+
return /* @__PURE__ */ I("span", { className: "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1992
|
+
o.map((i) => /* @__PURE__ */ n(te, { label: i, size: "sm" }, i)),
|
|
1993
|
+
s > 0 && /* @__PURE__ */ n(Pt, { label: e.slice(a).join(", "), children: /* @__PURE__ */ n(
|
|
1994
|
+
te,
|
|
1995
|
+
{
|
|
1996
|
+
label: r("inputs.multiSelect.overflow", { count: s }),
|
|
1997
|
+
size: "sm",
|
|
1998
|
+
variant: "neutral",
|
|
1999
|
+
fill: "outline"
|
|
2000
|
+
}
|
|
2001
|
+
) })
|
|
2002
|
+
] });
|
|
2003
|
+
}
|
|
2004
|
+
const ga = {
|
|
2005
|
+
date: { year: "numeric", month: "short", day: "numeric" },
|
|
2006
|
+
time: { hour: "2-digit", minute: "2-digit" },
|
|
2007
|
+
datetime: {
|
|
2008
|
+
year: "numeric",
|
|
2009
|
+
month: "short",
|
|
2010
|
+
day: "numeric",
|
|
2011
|
+
hour: "2-digit",
|
|
2012
|
+
minute: "2-digit"
|
|
2013
|
+
}
|
|
2014
|
+
};
|
|
2015
|
+
function Tr(t) {
|
|
2016
|
+
const { value: e, format: a = "date", options: r } = t;
|
|
2017
|
+
return e == null || e === "" ? null : a === "relative" && !r ? /* @__PURE__ */ n(he, { value: e, shape: "bare" }) : /* @__PURE__ */ n(
|
|
2018
|
+
he,
|
|
2019
|
+
{
|
|
2020
|
+
value: e,
|
|
2021
|
+
format: "absolute",
|
|
2022
|
+
shape: "bare",
|
|
2023
|
+
absoluteFormat: r ?? ga[a === "relative" ? "date" : a]
|
|
2024
|
+
}
|
|
2025
|
+
);
|
|
2026
|
+
}
|
|
2027
|
+
function ba(t) {
|
|
2028
|
+
if (t == null || t === "") return null;
|
|
2029
|
+
const e = typeof t == "number" ? t : Number(t);
|
|
2030
|
+
return Number.isFinite(e) ? e : null;
|
|
2031
|
+
}
|
|
2032
|
+
function yr(t) {
|
|
2033
|
+
const {
|
|
2034
|
+
value: e,
|
|
2035
|
+
currency: a = "EUR",
|
|
2036
|
+
colorNegative: r,
|
|
2037
|
+
strikethrough: o,
|
|
2038
|
+
options: s
|
|
2039
|
+
} = t, { i18n: i } = F(), p = ba(e);
|
|
2040
|
+
if (p === null) return null;
|
|
2041
|
+
const l = i.language || "en", d = new Intl.NumberFormat(l, {
|
|
2042
|
+
style: "currency",
|
|
2043
|
+
currency: a,
|
|
2044
|
+
...s
|
|
2045
|
+
}).format(p), c = ["ds:tabular-nums"];
|
|
2046
|
+
return r && p < 0 && c.push("ds:text-[color:var(--destructive)]"), o && c.push("line-through"), /* @__PURE__ */ n("span", { className: c.join(" "), children: d });
|
|
2047
|
+
}
|
|
2048
|
+
function ye(t) {
|
|
2049
|
+
if (!Ne(t)) return t;
|
|
2050
|
+
const e = t, a = e.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} size-4`.trim();
|
|
2051
|
+
return Fe(e, { className: r, size: e.props.size ?? 16 });
|
|
2052
|
+
}
|
|
2053
|
+
function Cr(t) {
|
|
2054
|
+
return Math.max(1, t) * 32 + 26;
|
|
2055
|
+
}
|
|
2056
|
+
function ue(t, e) {
|
|
2057
|
+
return typeof t == "function" ? t(e) : !!t;
|
|
2058
|
+
}
|
|
2059
|
+
const ha = "ds:text-[color:var(--destructive)] ds:hover:text-[color:var(--destructive-hover)]";
|
|
2060
|
+
function xr(t) {
|
|
2061
|
+
const { data: e, actions: a, intent: r = "ghost", group: o, label: s, collapsed: i } = t, { t: p } = F();
|
|
2062
|
+
if (!e) return null;
|
|
2063
|
+
const l = a.filter((u) => !ue(u.hidden, e));
|
|
2064
|
+
if (typeof i == "function" ? i() : !!i)
|
|
2065
|
+
return /* @__PURE__ */ I(_.Root, { children: [
|
|
2066
|
+
/* @__PURE__ */ n(_.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
|
|
2067
|
+
V,
|
|
2068
|
+
{
|
|
2069
|
+
size: "sm",
|
|
2070
|
+
intent: r,
|
|
2071
|
+
icon: /* @__PURE__ */ n(qt, { "aria-hidden": !0 }),
|
|
2072
|
+
"aria-label": s ?? p("dataTable.actions", "Actions")
|
|
2073
|
+
}
|
|
2074
|
+
) }),
|
|
2075
|
+
/* @__PURE__ */ n(_.Content, { align: "end", children: l.map((u, y) => /* @__PURE__ */ n(
|
|
2076
|
+
_.Item,
|
|
2077
|
+
{
|
|
2078
|
+
startIcon: ye(u.icon),
|
|
2079
|
+
disabled: ue(u.disabled, e),
|
|
2080
|
+
onSelect: () => u.onClick(e),
|
|
2081
|
+
className: u.variant === "destructive" ? "ds:text-[color:var(--destructive)]" : void 0,
|
|
2082
|
+
children: u.label
|
|
2083
|
+
},
|
|
2084
|
+
y
|
|
2085
|
+
)) })
|
|
2086
|
+
] });
|
|
2087
|
+
const c = l.map((u, y) => {
|
|
2088
|
+
const g = ue(u.disabled, e), T = g && u.disabledReason ? u.disabledReason : u.label;
|
|
2089
|
+
return /* @__PURE__ */ n(
|
|
2090
|
+
V,
|
|
2091
|
+
{
|
|
2092
|
+
size: "sm",
|
|
2093
|
+
intent: r,
|
|
2094
|
+
icon: ye(u.icon),
|
|
2095
|
+
tooltip: T,
|
|
2096
|
+
"aria-label": u.label,
|
|
2097
|
+
disabled: g,
|
|
2098
|
+
onClick: (C) => {
|
|
2099
|
+
C.stopPropagation(), u.onClick(e);
|
|
2100
|
+
},
|
|
2101
|
+
className: u.variant === "destructive" ? ha : void 0
|
|
2102
|
+
},
|
|
2103
|
+
y
|
|
2104
|
+
);
|
|
2105
|
+
});
|
|
2106
|
+
return o ? /* @__PURE__ */ n(
|
|
2107
|
+
Mt,
|
|
2108
|
+
{
|
|
2109
|
+
"aria-label": s ?? p("dataTable.actions", "Actions"),
|
|
2110
|
+
size: "sm",
|
|
2111
|
+
children: c
|
|
2112
|
+
}
|
|
2113
|
+
) : /* @__PURE__ */ n("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: c });
|
|
2114
|
+
}
|
|
2115
|
+
function Ce(t, e) {
|
|
2116
|
+
return typeof t == "function" ? t(e) : t;
|
|
2117
|
+
}
|
|
2118
|
+
function va(t) {
|
|
2119
|
+
return /^(https?:\/\/|\/|#|mailto:|tel:)/i.test(t) ? t : "#";
|
|
2120
|
+
}
|
|
2121
|
+
function Sr(t) {
|
|
2122
|
+
const { value: e, data: a, href: r, onClick: o, secondary: s } = t;
|
|
2123
|
+
if (!a) return null;
|
|
2124
|
+
const i = Ce(r, a), p = Ce(s, a), l = e == null || e === "" ? "" : String(e), d = [
|
|
2125
|
+
"ds:text-[color:var(--primary)]",
|
|
2126
|
+
"ds:hover:underline",
|
|
2127
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
2128
|
+
"ds:focus-visible:outline-solid",
|
|
2129
|
+
"ds:focus-visible:outline-[color:var(--ring)]",
|
|
2130
|
+
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
2131
|
+
"ds:rounded-[var(--radius-sm)]"
|
|
2132
|
+
].join(" "), c = (u) => {
|
|
2133
|
+
o && (i || u.preventDefault(), u.stopPropagation(), o(a));
|
|
2134
|
+
};
|
|
2135
|
+
return /* @__PURE__ */ I("span", { className: "ds:flex ds:flex-col ds:leading-tight", children: [
|
|
2136
|
+
i ? /* @__PURE__ */ n(
|
|
2137
|
+
"a",
|
|
2138
|
+
{
|
|
2139
|
+
href: va(i),
|
|
2140
|
+
onClick: c,
|
|
2141
|
+
className: d,
|
|
2142
|
+
children: l
|
|
2143
|
+
}
|
|
2144
|
+
) : /* @__PURE__ */ n(
|
|
2145
|
+
"button",
|
|
2146
|
+
{
|
|
2147
|
+
type: "button",
|
|
2148
|
+
onClick: c,
|
|
2149
|
+
className: [
|
|
2150
|
+
"ds:appearance-none ds:bg-transparent ds:p-0 ds:text-start",
|
|
2151
|
+
d
|
|
2152
|
+
].join(" "),
|
|
2153
|
+
children: l
|
|
2154
|
+
}
|
|
2155
|
+
),
|
|
2156
|
+
p ? /* @__PURE__ */ n("span", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: p }) : null
|
|
2157
|
+
] });
|
|
2158
|
+
}
|
|
2159
|
+
export {
|
|
2160
|
+
xr as A,
|
|
2161
|
+
yr as C,
|
|
2162
|
+
sr as D,
|
|
2163
|
+
hr as I,
|
|
2164
|
+
Sr as L,
|
|
2165
|
+
fr as N,
|
|
2166
|
+
cr as S,
|
|
2167
|
+
vr as T,
|
|
2168
|
+
br as U,
|
|
2169
|
+
Tr as a,
|
|
2170
|
+
ir as b,
|
|
2171
|
+
lr as c,
|
|
2172
|
+
mr as d,
|
|
2173
|
+
dr as e,
|
|
2174
|
+
gr as f,
|
|
2175
|
+
Zt as g,
|
|
2176
|
+
Yt as h,
|
|
2177
|
+
ee as i,
|
|
2178
|
+
jt as j,
|
|
2179
|
+
ur as k,
|
|
2180
|
+
pr as l,
|
|
2181
|
+
Cr as m,
|
|
2182
|
+
ea as n,
|
|
2183
|
+
je as o
|
|
2184
|
+
};
|
|
2185
|
+
//# sourceMappingURL=link-cell-renderer-BCppbMec.js.map
|