@alfadocs/ui-kit 0.69.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/address-fields-CPbFJ8e8.js +246 -0
- package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
- package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-V4DdOeqv.js} +2 -2
- package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
- package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-DvIUzIX9.js} +107 -106
- package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +2445 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
- package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
- package/dist/_chunks/appointment-card-DVaeJNVB.js +294 -0
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js +388 -0
- package/dist/_chunks/appointment-tray-B16QPGbm.js +193 -0
- package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-DNDsOLqO.js} +3 -3
- package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
- package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
- package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-Cym_TeQY.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
- package/dist/_chunks/{booking-C3VqFReX.js → booking-C7do4vaR.js} +7 -7
- package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
- package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-DzPDYgtK.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CEnQy7YP.js} +5 -5
- package/dist/_chunks/care-plan-header-DcXFXWit.js +198 -0
- package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DzpcJR-q.js} +25 -23
- package/dist/_chunks/city-input-Dkgaak7I.js +169 -0
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +25 -0
- package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DnqSF0IH.js} +131 -114
- package/dist/_chunks/connection-status-CY1HV8Wg.js +108 -0
- package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
- package/dist/_chunks/control-room-rail-FAQZrGVL.js +333 -0
- package/dist/_chunks/country-select-BwUZQvTa.js +709 -0
- package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
- package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
- package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
- package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +410 -0
- package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
- package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-DmrgYSEX.js} +38 -20
- package/dist/_chunks/entity-summary-CaM1Y-xE.js +291 -0
- package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
- package/dist/_chunks/field-array-siUZzfYe.js +146 -0
- package/dist/_chunks/field-value-3jMM0uDx.js +415 -0
- package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
- package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-DKzEV5Qi.js} +4 -4
- package/dist/_chunks/hash-CysBBS_N.js +17 -0
- package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
- package/dist/_chunks/iban-input-B0TWzR1R.js +436 -0
- package/dist/_chunks/icon-picker-0B7KhrF1.js +272 -0
- package/dist/_chunks/image-cropper-D9jqJy19.js +367 -0
- package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-De_SLjSq.js} +792 -668
- package/dist/_chunks/list-checks-BUs75d_o.js +18 -0
- package/dist/_chunks/lock-CKOIn0IK.js +15 -0
- package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-BGqkywsi.js} +5 -5
- package/dist/_chunks/message-card-DsHFFiL1.js +319 -0
- package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-C0a6CL1_.js} +172 -135
- package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-WE4S9FIF.js} +75 -63
- package/dist/_chunks/nav-grid-9xphY3FM.js +169 -0
- package/dist/_chunks/notes-panel-DXiMfuvp.js +320 -0
- package/dist/_chunks/notification-card-BMqNzCIt.js +290 -0
- package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-BmUlCx3g.js} +201 -166
- package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-BO8TqzX2.js} +3 -3
- package/dist/_chunks/panel-header-D313n_9-.js +105 -0
- package/dist/_chunks/patient-details-DgfTJimE.js +759 -0
- package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-CSWQKOSP.js} +3 -3
- package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-BMwsIKlW.js} +3 -3
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js +452 -0
- package/dist/_chunks/patient-table-CERknpd8.js +1110 -0
- package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
- package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-Blf-MFNY.js} +125 -136
- package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
- package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
- package/dist/_chunks/permission-matrix-Bw5oexUt.js +174 -0
- package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
- package/dist/_chunks/postal-code-input-UCOYuRY2.js +192 -0
- package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-El5Z-oVp.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CunHrOpO.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
- package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-DtU7KXxm.js} +257 -217
- package/dist/_chunks/province-select-D_TZvix3.js +261 -0
- package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-TxmC_x1I.js} +2 -2
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +553 -0
- package/dist/_chunks/reviews-panel-DxkSrgMl.js +559 -0
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js +2621 -0
- package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
- package/dist/_chunks/{select-DMLG44F5.js → select-KsyRr8WH.js} +114 -102
- package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-umkfZjF6.js} +53 -42
- package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-QCp9wHNP.js} +125 -113
- package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
- package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
- package/dist/_chunks/{tabs-BxcOziCo.js → tabs-CYZVKKDl.js} +2 -2
- package/dist/_chunks/task-card-DCdsI0ZT.js +189 -0
- package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DNVejijD.js} +2 -2
- package/dist/_chunks/tasks-panel-C9odmawT.js +757 -0
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js +147 -0
- package/dist/_chunks/tool-rail-BZx0-yIr.js +524 -0
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js +2133 -0
- package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
- package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-CHGHHHdT.js} +95 -83
- package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-CwlZbfdn.js} +2 -2
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
- package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
- package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-M8MBBHQm.js} +107 -119
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
- package/dist/agent/index.js +5 -4
- package/dist/agent/types.d.ts +19 -2
- package/dist/agent-catalog.json +3325 -322
- package/dist/agent-i18n/en.json +314 -14
- package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/field-value.d.ts +21 -0
- package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
- package/dist/components/_shared/field-visibility.d.ts +36 -0
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/patient-fields.d.ts +119 -0
- package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
- package/dist/components/address-fields/address-fields.d.ts +29 -0
- package/dist/components/address-fields/index.d.ts +5 -0
- package/dist/components/address-fields/index.js +6 -0
- 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/alert.d.ts +5 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
- package/dist/components/anatomy-scheme/index.d.ts +6 -0
- package/dist/components/anatomy-scheme/index.js +17 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
- package/dist/components/annotation-marker/index.d.ts +3 -0
- package/dist/components/annotation-marker/index.js +7 -0
- package/dist/components/app-frame/app-frame.d.ts +2 -2
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +25 -1
- package/dist/components/appointment-card/index.js +6 -5
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
- package/dist/components/appointment-timeline/index.d.ts +4 -0
- package/dist/components/appointment-timeline/index.js +6 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/badge/badge.d.ts +6 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/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/care-plan-header.agent.d.ts +4 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts +111 -0
- package/dist/components/care-plan-header/index.d.ts +4 -0
- package/dist/components/care-plan-header/index.js +6 -0
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/city-input.agent.d.ts +8 -0
- package/dist/components/city-input/city-input.d.ts +57 -0
- package/dist/components/city-input/index.d.ts +5 -0
- package/dist/components/city-input/index.js +6 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +17 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
- package/dist/components/connection-status/connection-status.d.ts +36 -0
- package/dist/components/connection-status/index.d.ts +4 -0
- package/dist/components/connection-status/index.js +6 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
- package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
- package/dist/components/control-room-rail/index.d.ts +6 -0
- package/dist/components/control-room-rail/index.js +10 -0
- package/dist/components/counter/counter.d.ts +1 -1
- package/dist/components/country-select/country-select.agent.d.ts +8 -0
- package/dist/components/country-select/country-select.d.ts +51 -0
- package/dist/components/country-select/index.d.ts +6 -0
- package/dist/components/country-select/index.js +9 -0
- package/dist/components/country-select/iso-3166.d.ts +15 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
- package/dist/components/data-table/index.d.ts +3 -1
- package/dist/components/data-table/index.js +35 -32
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
- package/dist/components/entity-summary/entity-summary.d.ts +92 -0
- package/dist/components/entity-summary/index.d.ts +3 -0
- package/dist/components/entity-summary/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/field-array.agent.d.ts +4 -0
- package/dist/components/field-array/field-array.d.ts +45 -0
- package/dist/components/field-array/index.d.ts +4 -0
- package/dist/components/field-array/index.js +6 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +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/iban-input/iban-input.agent.d.ts +4 -0
- package/dist/components/iban-input/iban-input.d.ts +51 -0
- package/dist/components/iban-input/index.d.ts +5 -0
- package/dist/components/iban-input/index.js +13 -0
- package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
- package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
- package/dist/components/icon-picker/icon-picker.d.ts +41 -0
- package/dist/components/icon-picker/index.d.ts +4 -0
- package/dist/components/icon-picker/index.js +6 -0
- package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
- package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
- package/dist/components/image-cropper/image-cropper.d.ts +32 -0
- package/dist/components/image-cropper/index.d.ts +5 -0
- package/dist/components/image-cropper/index.js +11 -0
- package/dist/components/index.d.ts +25 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +14 -0
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +4 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/nav-grid/index.d.ts +4 -0
- package/dist/components/nav-grid/index.js +7 -0
- package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
- package/dist/components/nav-grid/nav-grid.d.ts +41 -0
- package/dist/components/notes-panel/index.d.ts +3 -0
- package/dist/components/notes-panel/index.js +5 -0
- package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
- package/dist/components/notes-panel/notes-panel.d.ts +94 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +15 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +4 -0
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/panel-header/index.d.ts +3 -0
- package/dist/components/panel-header/index.js +7 -0
- package/dist/components/panel-header/panel-header.d.ts +41 -0
- package/dist/components/patient-details/index.d.ts +5 -0
- package/dist/components/patient-details/index.js +6 -0
- package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
- package/dist/components/patient-details/patient-details.d.ts +96 -0
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
- package/dist/components/patient-table/columns.d.ts +69 -40
- package/dist/components/patient-table/index.d.ts +2 -6
- package/dist/components/patient-table/index.js +8 -9
- package/dist/components/patient-table/patient-table.d.ts +38 -4
- package/dist/components/patient-table/types.d.ts +52 -2
- package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
- 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.d.ts +4 -0
- package/dist/components/permission-matrix/index.js +7 -0
- package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
- package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
- package/dist/components/position-grid/index.d.ts +4 -0
- package/dist/components/position-grid/index.js +7 -0
- package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
- package/dist/components/position-grid/position-grid.d.ts +39 -0
- package/dist/components/postal-code-input/index.d.ts +5 -0
- package/dist/components/postal-code-input/index.js +6 -0
- package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
- package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
- 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/product-hub-tray/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-tray.d.ts +13 -1
- package/dist/components/province-select/index.d.ts +6 -0
- package/dist/components/province-select/index.js +7 -0
- package/dist/components/province-select/it-provinces.d.ts +8 -0
- package/dist/components/province-select/province-select.agent.d.ts +8 -0
- package/dist/components/province-select/province-select.d.ts +38 -0
- package/dist/components/public-footer/public-footer.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.d.ts +4 -0
- package/dist/components/radiograph-panel/index.js +7 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +18 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +14 -6
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +4 -0
- package/dist/components/tasks-panel/index.js +6 -0
- package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
- package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
- package/dist/components/token-insert-menu/index.d.ts +4 -0
- package/dist/components/token-insert-menu/index.js +6 -0
- package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
- package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
- package/dist/components/tool-rail/index.d.ts +4 -0
- package/dist/components/tool-rail/index.js +6 -0
- package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
- package/dist/components/tool-rail/tool-rail.d.ts +160 -0
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.js +30 -23
- package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +84 -11
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +10 -7
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +24 -22
- package/dist/hooks/use-clamp-overflow.d.ts +19 -0
- package/dist/hooks/use-edge-resize.d.ts +2 -2
- package/dist/hooks/use-overflow-collapse.d.ts +46 -0
- package/dist/hooks/use-persistent-state.d.ts +7 -1
- package/dist/hooks/use-scroll-overflow.d.ts +36 -0
- package/dist/i18n/locales/ar.d.ts +475 -26
- package/dist/i18n/locales/ar.js +478 -31
- package/dist/i18n/locales/de.d.ts +475 -26
- package/dist/i18n/locales/de.js +480 -31
- package/dist/i18n/locales/el.d.ts +475 -26
- package/dist/i18n/locales/el.js +485 -31
- package/dist/i18n/locales/en.d.ts +476 -34
- package/dist/i18n/locales/en.js +492 -39
- package/dist/i18n/locales/es.d.ts +475 -26
- package/dist/i18n/locales/es.js +477 -31
- package/dist/i18n/locales/fr.d.ts +475 -26
- package/dist/i18n/locales/fr.js +480 -31
- package/dist/i18n/locales/hi.d.ts +475 -26
- package/dist/i18n/locales/hi.js +476 -31
- package/dist/i18n/locales/it.d.ts +475 -26
- package/dist/i18n/locales/it.js +480 -31
- package/dist/i18n/locales/ja.d.ts +475 -26
- package/dist/i18n/locales/ja.js +481 -31
- package/dist/i18n/locales/nl.d.ts +475 -26
- package/dist/i18n/locales/nl.js +473 -31
- package/dist/i18n/locales/pl.d.ts +475 -26
- package/dist/i18n/locales/pl.js +481 -31
- package/dist/i18n/locales/pt.d.ts +475 -26
- package/dist/i18n/locales/pt.js +485 -31
- package/dist/i18n/locales/ro.d.ts +475 -26
- package/dist/i18n/locales/ro.js +485 -31
- package/dist/i18n/locales/ru.d.ts +475 -26
- package/dist/i18n/locales/ru.js +478 -31
- package/dist/i18n/locales/sq.d.ts +475 -26
- package/dist/i18n/locales/sq.js +482 -31
- package/dist/i18n/locales/sv.d.ts +475 -26
- package/dist/i18n/locales/sv.js +480 -31
- package/dist/i18n/locales/tr.d.ts +475 -26
- package/dist/i18n/locales/tr.js +478 -31
- package/dist/i18n/locales/zh.d.ts +475 -26
- package/dist/i18n/locales/zh.js +473 -31
- package/dist/index.js +826 -709
- package/dist/locales/ar.json +480 -31
- package/dist/locales/de.json +480 -31
- package/dist/locales/el.json +480 -31
- package/dist/locales/en.json +480 -31
- package/dist/locales/es.json +480 -31
- package/dist/locales/fr.json +480 -31
- package/dist/locales/hi.json +480 -31
- package/dist/locales/it.json +480 -31
- package/dist/locales/ja.json +480 -31
- package/dist/locales/nl.json +480 -31
- package/dist/locales/pl.json +480 -31
- package/dist/locales/pt.json +480 -31
- package/dist/locales/ro.json +480 -31
- package/dist/locales/ru.json +480 -31
- package/dist/locales/sq.json +480 -31
- package/dist/locales/sv.json +480 -31
- package/dist/locales/tr.json +480 -31
- package/dist/locales/zh.json +480 -31
- package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +9 -1
- package/package.json +101 -5
- package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
- package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
- package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
- package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
- package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
- package/dist/_chunks/notification-card-BiESdm8q.js +0 -255
- package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
- package/dist/_chunks/patient-table-CDuosVru.js +0 -889
- package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
- package/dist/_chunks/rich-text-editor-BsV7zUdg.js +0 -2142
- package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
- package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
- package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +0 -68
- package/dist/components/ai-tools-rail/index.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.js +0 -6
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ToolRailHandle, type ToolRailProps, type ToolRailTool } from '../tool-rail';
|
|
2
|
+
/** A Control Room tool — the rail tool descriptor, `scope`-aware. */
|
|
3
|
+
export type ControlRoomTool = ToolRailTool;
|
|
4
|
+
/** Imperative handle — open / collapse a tool panel without the DOM. */
|
|
5
|
+
export type ControlRoomRailHandle = ToolRailHandle;
|
|
6
|
+
export interface ControlRoomRailProps extends Omit<ToolRailProps, 'tools' | 'onReorder' | 'formatReorderAnnouncement' | 'renderToolAffordance' | 'renderPanelHeader'> {
|
|
7
|
+
/**
|
|
8
|
+
* Explicit tool set. Omit to read the merged global + contextual tools from
|
|
9
|
+
* the nearest `<ControlRoomProvider>` (+ `useControlRoomTools`).
|
|
10
|
+
*/
|
|
11
|
+
tools?: ControlRoomTool[];
|
|
12
|
+
/**
|
|
13
|
+
* Enable the favourites model: a pinned top group, drag / `Alt`+Arrow
|
|
14
|
+
* reordering, and the panel-header add / remove control. Default `true`. Set
|
|
15
|
+
* `false` for the legacy flat strip (tools render in the order / `scope` you
|
|
16
|
+
* pass, no drag, no panel-header control).
|
|
17
|
+
*/
|
|
18
|
+
reorderable?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Controlled favourite tool ids, in pinned order. When set, the rail does not
|
|
21
|
+
* persist — the host owns the value and is notified via `onFavoriteIdsChange`.
|
|
22
|
+
*/
|
|
23
|
+
favoriteIds?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* Uncontrolled initial favourites. Defaults to the ids of the tools the host
|
|
26
|
+
* marked `scope: 'global'` (Alia, Inbox) — pinning them on top by default.
|
|
27
|
+
*/
|
|
28
|
+
defaultFavoriteIds?: string[];
|
|
29
|
+
/** Fires with the next favourites order whenever the user pins / reorders. */
|
|
30
|
+
onFavoriteIdsChange?: (next: string[]) => void;
|
|
31
|
+
/** localStorage key for the uncontrolled favourites. */
|
|
32
|
+
persistFavoritesKey?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const ControlRoomRail: import("react").ForwardRefExoticComponent<ControlRoomRailProps & import("react").RefAttributes<ToolRailHandle>>;
|
|
35
|
+
//# sourceMappingURL=control-room-rail.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ControlRoomRail } from './control-room-rail';
|
|
2
|
+
export type { ControlRoomRailProps, ControlRoomRailHandle, ControlRoomTool, } from './control-room-rail';
|
|
3
|
+
export { controlRoomRailAgent } from './control-room-rail.agent';
|
|
4
|
+
export { ControlRoomProvider, useControlRoomTools, useControlRoomMergedTools, useControlRoomActions, } from './control-room-context';
|
|
5
|
+
export type { ControlRoomProviderProps } from './control-room-context';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as r, a as l, c as a, u as t, b as e, d as n } from "../../_chunks/control-room-rail-FAQZrGVL.js";
|
|
2
|
+
export {
|
|
3
|
+
r as ControlRoomProvider,
|
|
4
|
+
l as ControlRoomRail,
|
|
5
|
+
a as controlRoomRailAgent,
|
|
6
|
+
t as useControlRoomActions,
|
|
7
|
+
e as useControlRoomMergedTools,
|
|
8
|
+
n as useControlRoomTools
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const counterVariants: (props?: ({
|
|
4
|
-
variant?: "outline" | "neutral" | "
|
|
4
|
+
variant?: "outline" | "neutral" | "solid" | "notification" | null | undefined;
|
|
5
5
|
size?: "sm" | "md" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export interface CounterProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'>, VariantProps<typeof counterVariants> {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AgentAdapter } from '../../agent/types';
|
|
2
|
+
export interface CountrySelectHandle {
|
|
3
|
+
getValue: () => string | null;
|
|
4
|
+
setValue: (value: string | null) => void;
|
|
5
|
+
clear: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const countrySelectAgent: AgentAdapter<CountrySelectHandle>;
|
|
8
|
+
//# sourceMappingURL=country-select.agent.d.ts.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface CountrySelectProps {
|
|
2
|
+
/** Selected country — ISO 3166-1 alpha-2, lowercased (e.g. `'it'`). */
|
|
3
|
+
value?: string;
|
|
4
|
+
/** Uncontrolled initial value. Ignored once `value` is set. */
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
/** Fires with the new lowercased alpha-2 code (or `''` when cleared). */
|
|
7
|
+
onValueChange?: (code: string) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Restrict the list to these codes (lowercase alpha-2). Default: every
|
|
10
|
+
* ISO 3166-1 alpha-2 country.
|
|
11
|
+
*/
|
|
12
|
+
countries?: string[];
|
|
13
|
+
/**
|
|
14
|
+
* Float these countries to the top under a "Popular" heading, in the
|
|
15
|
+
* given order (lowercase alpha-2). They are removed from their region
|
|
16
|
+
* group so they never appear twice.
|
|
17
|
+
*/
|
|
18
|
+
popularCountries?: string[];
|
|
19
|
+
/** Group the remaining countries by world region. Default `true`. */
|
|
20
|
+
grouped?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Override the localized display name for specific codes — e.g. to pin
|
|
23
|
+
* politically-sensitive wording. Keyed by lowercase alpha-2.
|
|
24
|
+
*/
|
|
25
|
+
nameOverrides?: Record<string, string>;
|
|
26
|
+
/** Show a flag before each country name. Default `true`. */
|
|
27
|
+
showFlag?: boolean;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
clearable?: boolean;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
readOnly?: boolean;
|
|
32
|
+
required?: boolean;
|
|
33
|
+
name?: string;
|
|
34
|
+
id?: string;
|
|
35
|
+
size?: 'sm' | 'md' | 'lg';
|
|
36
|
+
tone?: 'default' | 'error';
|
|
37
|
+
/**
|
|
38
|
+
* Accessible name. REQUIRED when used inside a `<FormField>`: cmdk labels
|
|
39
|
+
* the input through its own hidden element, so the visible FormField label
|
|
40
|
+
* is not the computed accessible name unless this is passed. Set it to the
|
|
41
|
+
* visible label text (e.g. `"Country"`).
|
|
42
|
+
*/
|
|
43
|
+
'aria-label'?: string;
|
|
44
|
+
/** Invalid-state fallback for use outside a `<FormField>` (inline editors). */
|
|
45
|
+
'aria-invalid'?: boolean;
|
|
46
|
+
/** Error-message id fallback for use outside a `<FormField>`. */
|
|
47
|
+
'aria-describedby'?: string;
|
|
48
|
+
className?: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const CountrySelect: import("react").ForwardRefExoticComponent<CountrySelectProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
51
|
+
//# sourceMappingURL=country-select.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CountrySelect } from './country-select';
|
|
2
|
+
export type { CountrySelectProps } from './country-select';
|
|
3
|
+
export { countrySelectAgent } from './country-select.agent';
|
|
4
|
+
export type { CountrySelectHandle } from './country-select.agent';
|
|
5
|
+
export { ISO_3166_ALPHA2, ISO_3166_REGIONS, regionForCountry, type CountryRegion, } from './iso-3166';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { C as o, I as t, a, c as n, r as s } from "../../_chunks/country-select-BwUZQvTa.js";
|
|
2
|
+
export {
|
|
3
|
+
o as CountrySelect,
|
|
4
|
+
t as ISO_3166_ALPHA2,
|
|
5
|
+
a as ISO_3166_REGIONS,
|
|
6
|
+
n as countrySelectAgent,
|
|
7
|
+
s as regionForCountry
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bundled closed dataset for CountrySelect — ISO 3166-1 alpha-2 codes mapped to
|
|
3
|
+
* UN geoscheme continental region. Localised country *names* are resolved at render
|
|
4
|
+
* via Intl.DisplayNames and are never bundled here.
|
|
5
|
+
*
|
|
6
|
+
* Source: ISO 3166-1 (249 entries, current as of 2025).
|
|
7
|
+
* Region assignment follows the UN M.49 geoscheme with the following project-level
|
|
8
|
+
* overrides: Russia → 'Europe'; Turkey and Cyprus → 'Asia'; Greenland → 'Americas';
|
|
9
|
+
* Antarctica territories (aq, bv, gs, hm, tf) → 'Antarctica'.
|
|
10
|
+
*/
|
|
11
|
+
export type CountryRegion = 'Africa' | 'Americas' | 'Asia' | 'Europe' | 'Oceania' | 'Antarctica';
|
|
12
|
+
export declare const ISO_3166_REGIONS: Record<string, CountryRegion>;
|
|
13
|
+
export declare const ISO_3166_ALPHA2: readonly string[];
|
|
14
|
+
export declare function regionForCountry(code: string): CountryRegion | undefined;
|
|
15
|
+
//# sourceMappingURL=iso-3166.d.ts.map
|
|
@@ -35,5 +35,23 @@ export interface ActionsCellRendererParams<TData = unknown> {
|
|
|
35
35
|
*/
|
|
36
36
|
collapsed?: boolean | (() => boolean);
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Pixel width an actions column needs so `count` inline `sm` IconButtons (32px
|
|
40
|
+
* each — whether segmented via `group` or loose) plus the data-table cell's
|
|
41
|
+
* inline padding never clip. AG Grid gives a column ONE width for every row, so
|
|
42
|
+
* pass the TOTAL number of actions (the worst case where a single row shows them
|
|
43
|
+
* all) — not the per-row visible count, which varies with `hidden` predicates.
|
|
44
|
+
*
|
|
45
|
+
* Use it as the column `width` so a fully-actioned row can't overflow:
|
|
46
|
+
*
|
|
47
|
+
* {
|
|
48
|
+
* colId: 'actions',
|
|
49
|
+
* cellRenderer: ActionsCellRenderer,
|
|
50
|
+
* cellRendererParams: { actions, group: true },
|
|
51
|
+
* width: actionsColumnWidth(actions.length),
|
|
52
|
+
* // minWidth stays at the collapsed footprint when `collapsed` is used.
|
|
53
|
+
* }
|
|
54
|
+
*/
|
|
55
|
+
export declare function actionsColumnWidth(count: number): number;
|
|
38
56
|
export declare function ActionsCellRenderer<TData = unknown>(props: CustomCellRendererProps<TData> & ActionsCellRendererParams<TData>): import("react/jsx-runtime").JSX.Element | null;
|
|
39
57
|
//# sourceMappingURL=actions-cell-renderer.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CustomCellRendererProps } from 'ag-grid-react';
|
|
2
|
+
/**
|
|
3
|
+
* Keyboard-accessible row-reorder cell. AG Grid's native row dragging is
|
|
4
|
+
* mouse/touch only; this renderer adds move-up / move-down buttons so the order
|
|
5
|
+
* is reachable by keyboard too (the missing accessible half of the
|
|
6
|
+
* "drag-sortable column" primitive). The consumer owns `rowData` order and
|
|
7
|
+
* reorders it in `onMove` — the same controlled contract as the editable cells.
|
|
8
|
+
*/
|
|
9
|
+
export interface ReorderCellRendererParams<TData = unknown> {
|
|
10
|
+
/** Move the row one step in the given direction (consumer reorders rowData). */
|
|
11
|
+
onMove: (data: TData, direction: 'up' | 'down') => void;
|
|
12
|
+
/** Accessible name for the move-up button (defaults to a kit string). */
|
|
13
|
+
moveUpLabel?: string;
|
|
14
|
+
/** Accessible name for the move-down button (defaults to a kit string). */
|
|
15
|
+
moveDownLabel?: string;
|
|
16
|
+
/** Button intent (default `ghost`). */
|
|
17
|
+
intent?: 'ghost' | 'outline';
|
|
18
|
+
/** Render the two buttons as a connected `IconButtonGroup` (default true). */
|
|
19
|
+
group?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Disable move-up on the first displayed row and move-down on the last
|
|
22
|
+
* (default true). Turn off when the grid is filtered/sorted and the ends are
|
|
23
|
+
* not meaningful.
|
|
24
|
+
*/
|
|
25
|
+
disableAtEnds?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Pixel width a reorder column needs for the two `sm` IconButtons (32px each)
|
|
29
|
+
* plus the data-table cell's inline padding so the controls never clip. Mirrors
|
|
30
|
+
* {@link actionsColumnWidth}.
|
|
31
|
+
*/
|
|
32
|
+
export declare function reorderColumnWidth(): number;
|
|
33
|
+
export declare function ReorderCellRenderer<TData = unknown>(props: CustomCellRendererProps<TData> & ReorderCellRendererParams<TData>): import("react/jsx-runtime").JSX.Element | null;
|
|
34
|
+
//# sourceMappingURL=reorder-cell-renderer.d.ts.map
|
|
@@ -28,8 +28,10 @@ export { DateCellRenderer } from './cell-renderers/date-cell-renderer';
|
|
|
28
28
|
export type { DateCellFormat, DateCellRendererParams, } from './cell-renderers/date-cell-renderer';
|
|
29
29
|
export { CurrencyCellRenderer } from './cell-renderers/currency-cell-renderer';
|
|
30
30
|
export type { CurrencyCellRendererParams } from './cell-renderers/currency-cell-renderer';
|
|
31
|
-
export { ActionsCellRenderer } from './cell-renderers/actions-cell-renderer';
|
|
31
|
+
export { ActionsCellRenderer, actionsColumnWidth, } from './cell-renderers/actions-cell-renderer';
|
|
32
32
|
export type { ActionDef, ActionsCellRendererParams, } from './cell-renderers/actions-cell-renderer';
|
|
33
|
+
export { ReorderCellRenderer, reorderColumnWidth, } from './cell-renderers/reorder-cell-renderer';
|
|
34
|
+
export type { ReorderCellRendererParams } from './cell-renderers/reorder-cell-renderer';
|
|
33
35
|
export { LinkCellRenderer } from './cell-renderers/link-cell-renderer';
|
|
34
36
|
export type { LinkCellRendererParams } from './cell-renderers/link-cell-renderer';
|
|
35
37
|
export { ToggleCellRenderer } from './cell-renderers/toggle-cell-renderer';
|
|
@@ -1,35 +1,38 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { B as
|
|
1
|
+
import { A as r, C as l, D as t, a as s, b as n, c as o, I as d, L as i, N as C, d as R, S as F, e as T, f as g, T as b, g as u, h as c, i as m, j as h, k as x, l as D, U as f, m as p, n as y, o as E } from "../../_chunks/link-cell-renderer-De_SLjSq.js";
|
|
2
|
+
import { B as A, C as L, E as N, a as k, R as B, T as I, b as P, r as U, u as W } from "../../_chunks/editable-currency-cell-renderer-CGELrkIj.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
4
|
+
r as ActionsCellRenderer,
|
|
5
|
+
A as BalanceCellRenderer,
|
|
6
|
+
L as ColorDotCellRenderer,
|
|
7
|
+
l as CurrencyCellRenderer,
|
|
8
|
+
t as DataTable,
|
|
9
|
+
s as DateCellRenderer,
|
|
10
|
+
n as DateRangeFilter,
|
|
11
|
+
o as DateRangeFloatingFilter,
|
|
12
|
+
N as EditableCurrencyCellRenderer,
|
|
13
|
+
k as EditableTextCellRenderer,
|
|
14
|
+
d as ImageCellRenderer,
|
|
15
|
+
i as LinkCellRenderer,
|
|
16
|
+
C as NumberFilter,
|
|
17
|
+
R as NumberFloatingFilter,
|
|
18
|
+
B as ReorderCellRenderer,
|
|
19
|
+
F as SelectFilter,
|
|
20
|
+
T as SelectFloatingFilter,
|
|
21
|
+
g as StatusCellRenderer,
|
|
22
|
+
b as TagListCellRenderer,
|
|
23
|
+
u as TextFilter,
|
|
24
|
+
c as TextFloatingFilter,
|
|
25
|
+
I as ToggleCellRenderer,
|
|
26
|
+
m as Toolbar,
|
|
27
|
+
h as ToolbarProvider,
|
|
28
|
+
P as ToothCellRenderer,
|
|
29
|
+
x as TypeaheadFilter,
|
|
30
|
+
D as TypeaheadFloatingFilter,
|
|
31
|
+
f as UserCellRenderer,
|
|
32
|
+
p as actionsColumnWidth,
|
|
33
|
+
y as dataTableAgent,
|
|
34
|
+
E as defaultExportPdf,
|
|
35
|
+
U as reorderColumnWidth,
|
|
36
|
+
W as useTotalRow
|
|
34
37
|
};
|
|
35
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
2
|
-
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-Brdj-euS.js";
|
|
2
|
+
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-CwXrQRm1.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
5
5
|
o as CRL_DATING_MIN_MM,
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
/** A corpus stat shown in the header (e.g. `{ value: 5, label: 'care plans' }`). */
|
|
3
|
+
export interface EntitySummaryStat {
|
|
4
|
+
value: string | number;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
/** One narrative section — a heading over a list of bullet items. */
|
|
8
|
+
export interface EntitySummarySection {
|
|
9
|
+
id: string;
|
|
10
|
+
heading: string;
|
|
11
|
+
/**
|
|
12
|
+
* Leading glyph for the section. On default sections it's the scannability
|
|
13
|
+
* anchor shown in a `--primary`-tinted medallion beside the heading (e.g. a
|
|
14
|
+
* calendar for "Scheduled", a wallet for "Financial"); omit it to render no
|
|
15
|
+
* medallion. On `attention` sections it overrides the warning Alert's icon
|
|
16
|
+
* (which defaults to an alert triangle).
|
|
17
|
+
*/
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* `attention` renders the section as the kit's warning `Alert` — the
|
|
21
|
+
* standard risk-flag treatment (border, warning surface, alert glyph,
|
|
22
|
+
* `--warning-foreground` text) — for clinically important callouts.
|
|
23
|
+
*/
|
|
24
|
+
tone?: 'default' | 'attention';
|
|
25
|
+
/** Bullet items — `ReactNode` so consumers compose inline entity links. */
|
|
26
|
+
items: ReactNode[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Curated agent handle for EntitySummary. Exposes structural state only —
|
|
30
|
+
* never the entity name or the section items (both PHI). See
|
|
31
|
+
* `entity-summary.agent.ts`.
|
|
32
|
+
*/
|
|
33
|
+
export interface EntitySummaryHandle {
|
|
34
|
+
/** Structural snapshot — generated-at + section ids/headings/tone/count. No PHI. */
|
|
35
|
+
getState: () => {
|
|
36
|
+
generatedAtIso?: string;
|
|
37
|
+
sections: Array<{
|
|
38
|
+
id: string;
|
|
39
|
+
heading: string;
|
|
40
|
+
tone: 'default' | 'attention';
|
|
41
|
+
itemCount: number;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
44
|
+
/** Whether the regenerate affordance is available. */
|
|
45
|
+
canRegenerate: () => boolean;
|
|
46
|
+
/** Request the host to regenerate the brief (mirrors onRegenerate). */
|
|
47
|
+
regenerate: () => void;
|
|
48
|
+
/** Whether the close affordance is available. */
|
|
49
|
+
canClose: () => boolean;
|
|
50
|
+
/** Dismiss the panel (mirrors onClose). */
|
|
51
|
+
close: () => void;
|
|
52
|
+
}
|
|
53
|
+
export interface EntitySummaryProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
|
|
54
|
+
/**
|
|
55
|
+
* Stable instance id. Surfaced on the root as `data-component-id` so an
|
|
56
|
+
* agent / MCP UI bridge can address this specific summary panel.
|
|
57
|
+
*/
|
|
58
|
+
id?: string;
|
|
59
|
+
/** Panel title. Defaults to the localised "AI summary". */
|
|
60
|
+
title?: string;
|
|
61
|
+
/** Entity name shown beside its avatar in the header (links when `entityHref` is set). */
|
|
62
|
+
entityName?: string;
|
|
63
|
+
/** Entity href for the name link. */
|
|
64
|
+
entityHref?: string;
|
|
65
|
+
/** Avatar image URL for the entity. Falls back to initials derived from `entityName`. */
|
|
66
|
+
entityAvatarSrc?: string;
|
|
67
|
+
/** ISO-8601 instant the brief was generated. */
|
|
68
|
+
generatedAtIso?: string;
|
|
69
|
+
/** Corpus the brief was built from, shown as a compact KPI card. */
|
|
70
|
+
stats?: EntitySummaryStat[];
|
|
71
|
+
/** The narrative sections, in order. */
|
|
72
|
+
sections: EntitySummarySection[];
|
|
73
|
+
/** Regenerate the brief. Omit to hide the affordance. */
|
|
74
|
+
onRegenerate?: () => void;
|
|
75
|
+
/** Regenerate-button label. */
|
|
76
|
+
regenerateLabel?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Dismiss the panel. Renders a close button in the panel header for
|
|
79
|
+
* STANDALONE use (outside the rail). When docked in `ControlRoomRail`, omit
|
|
80
|
+
* this — the rail injects its own close via `PanelHeaderActionsProvider`
|
|
81
|
+
* (passing it while docked would render a duplicate close control).
|
|
82
|
+
*/
|
|
83
|
+
onClose?: () => void;
|
|
84
|
+
/** Footer disclaimer. Defaults to the BETA clinical-judgement note. */
|
|
85
|
+
disclaimer?: ReactNode;
|
|
86
|
+
/** BCP-47 locale for the generated-at timestamp. */
|
|
87
|
+
locale?: string;
|
|
88
|
+
/** Accessible name for the panel region (defaults to `title`). */
|
|
89
|
+
'aria-label'?: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const EntitySummary: import("react").ForwardRefExoticComponent<EntitySummaryProps & import("react").RefAttributes<HTMLElement>>;
|
|
92
|
+
//# sourceMappingURL=entity-summary.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Agent-readiness curated handle for FieldArray. Non-generic on purpose — the
|
|
4
|
+
* adapter is typed `AgentAdapter<FieldArrayHandle>` and never sees `T`, so the
|
|
5
|
+
* handle exposes only the structural surface (row count + add/remove).
|
|
6
|
+
*/
|
|
7
|
+
export interface FieldArrayHandle {
|
|
8
|
+
getCount: () => number;
|
|
9
|
+
add: () => void;
|
|
10
|
+
remove: (index: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface FieldArrayProps<T> {
|
|
13
|
+
/** The current rows. The consumer owns this array. */
|
|
14
|
+
items: T[];
|
|
15
|
+
/** Renders one row's fields. Called once per item. */
|
|
16
|
+
renderItem: (item: T, index: number) => ReactNode;
|
|
17
|
+
/** Append a new (consumer-shaped) row. */
|
|
18
|
+
onAdd: () => void;
|
|
19
|
+
/** Remove the row at `index`. */
|
|
20
|
+
onRemove: (index: number) => void;
|
|
21
|
+
/** Visible text on the add control. Consumer supplies localised text. */
|
|
22
|
+
addLabel: string;
|
|
23
|
+
/**
|
|
24
|
+
* Per-row accessible name for the remove control, e.g.
|
|
25
|
+
* `(i) => \`Remove rule ${i + 1}\``. Defaults to the kit's localised
|
|
26
|
+
* `Remove` string so the control always has an accessible name.
|
|
27
|
+
*/
|
|
28
|
+
removeItemLabel?: (index: number) => string;
|
|
29
|
+
/** Group accessible name, rendered as a visible `<legend>` when provided. */
|
|
30
|
+
legend?: string;
|
|
31
|
+
/** Minimum rows — remove is disabled once `items.length <= min`. */
|
|
32
|
+
min?: number;
|
|
33
|
+
/** Maximum rows — add is disabled once `items.length >= max`. */
|
|
34
|
+
max?: number;
|
|
35
|
+
/** Stable id, used to address this instance from the agent runtime. */
|
|
36
|
+
id?: string;
|
|
37
|
+
className?: string;
|
|
38
|
+
/** Accessible name used when no `legend` is supplied. */
|
|
39
|
+
'aria-label'?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function FieldArray<T>({ items, renderItem, onAdd, onRemove, addLabel, removeItemLabel, legend, min, max, id, className, 'aria-label': ariaLabel, }: FieldArrayProps<T>): ReactElement;
|
|
42
|
+
export declare namespace FieldArray {
|
|
43
|
+
var displayName: string;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=field-array.d.ts.map
|
|
@@ -15,7 +15,7 @@ export interface FreemiumPlan {
|
|
|
15
15
|
}
|
|
16
16
|
declare const contentVariants: (props?: ({
|
|
17
17
|
layout?: "sheet" | "centered" | null | undefined;
|
|
18
|
-
density?: "
|
|
18
|
+
density?: "full" | "compact" | null | undefined;
|
|
19
19
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
20
20
|
/** Curated imperative handle for agent / external automation. */
|
|
21
21
|
export interface FreemiumPaywallHandle {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type IbanReason } from './is-valid-iban';
|
|
2
|
+
/** Agent-readiness curated handle for IbanInput. */
|
|
3
|
+
export interface IbanInputHandle {
|
|
4
|
+
getValue: () => string;
|
|
5
|
+
setValue: (value: string) => void;
|
|
6
|
+
clear: () => void;
|
|
7
|
+
focus: () => void;
|
|
8
|
+
isValid: () => boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Structured payload emitted on every keystroke alongside the raw value. */
|
|
11
|
+
export interface IbanChangeMeta {
|
|
12
|
+
/** Structurally complete AND the mod-97-10 checksum matches. */
|
|
13
|
+
isValid: boolean;
|
|
14
|
+
/** Whether the value has reached its country's expected length. */
|
|
15
|
+
isComplete: boolean;
|
|
16
|
+
/** Why the value is (in)valid — drives consumer messaging. */
|
|
17
|
+
reason: IbanReason;
|
|
18
|
+
}
|
|
19
|
+
export interface IbanInputProps {
|
|
20
|
+
/** Controlled value (raw, uppercased, no spaces). Pair with onChange. */
|
|
21
|
+
value?: string;
|
|
22
|
+
/** Uncontrolled initial value. Normalised on mount. */
|
|
23
|
+
defaultValue?: string;
|
|
24
|
+
/** Fires on every keystroke with the normalised raw string + meta. */
|
|
25
|
+
onChange?: (raw: string, meta: IbanChangeMeta) => void;
|
|
26
|
+
size?: 'sm' | 'md' | 'lg';
|
|
27
|
+
tone?: 'default' | 'error';
|
|
28
|
+
/** When the invalid tone + error string surface. Never marks partial input invalid. */
|
|
29
|
+
validateOn?: 'change' | 'blur' | 'submit';
|
|
30
|
+
/** Controlled escape hatch to force the invalid state (e.g. bank rejection). */
|
|
31
|
+
showError?: boolean;
|
|
32
|
+
/** Overrides the kit's default i18n error string. */
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
readOnly?: boolean;
|
|
36
|
+
required?: boolean;
|
|
37
|
+
placeholder?: string;
|
|
38
|
+
/** Render the format caption when NOT inside a FormField. */
|
|
39
|
+
showFormatHint?: boolean;
|
|
40
|
+
id?: string;
|
|
41
|
+
name?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
'aria-label'?: string;
|
|
44
|
+
}
|
|
45
|
+
declare const wrapperVariants: (props?: ({
|
|
46
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
47
|
+
tone?: "default" | "error" | null | undefined;
|
|
48
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
49
|
+
export declare const IbanInput: import("react").ForwardRefExoticComponent<IbanInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
50
|
+
export { wrapperVariants as ibanWrapperVariants };
|
|
51
|
+
//# sourceMappingURL=iban-input.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { IbanInput, ibanWrapperVariants } from './iban-input';
|
|
2
|
+
export type { IbanInputProps, IbanInputHandle, IbanChangeMeta, } from './iban-input';
|
|
3
|
+
export { ibanInputAgent } from './iban-input.agent';
|
|
4
|
+
export { classifyIban, isValidIban, ibanMod97, IBAN_LENGTHS, MIN_IBAN_LENGTH, MAX_IBAN_LENGTH, type IbanReason, } from './is-valid-iban';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|