@alfadocs/ui-kit-debug 0.69.0 → 0.70.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/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
- package/dist/_chunks/{agenda-card-BxSFkqgY.js.map → agenda-card-BQ-IKAru.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
- package/dist/_chunks/{agenda-tray-g0kg7HwB.js.map → agenda-tray-CGXRk58j.js.map} +1 -1
- package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js.map → ai-consent-banner-Be-h9mRI.js.map} +1 -1
- package/dist/_chunks/ai-tools-rail-B5NEghsp.js +511 -0
- package/dist/_chunks/ai-tools-rail-B5NEghsp.js.map +1 -0
- package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
- package/dist/_chunks/alert-CHYZ96tR.js.map +1 -0
- package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
- package/dist/_chunks/{anamnesis-card-DRmE24OQ.js.map → anamnesis-card-DvYCa16e.js.map} +1 -1
- package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +2445 -0
- package/dist/_chunks/anatomy-scheme-CJB6dI6p.js.map +1 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -0
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js.map → antenatal-schedule-timeline-CwXrQRm1.js.map} +1 -1
- package/dist/_chunks/appointment-card-C06aZqA7.js +310 -0
- package/dist/_chunks/appointment-card-C06aZqA7.js.map +1 -0
- package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +386 -0
- package/dist/_chunks/appointment-timeline-BJM0S_Fg.js.map +1 -0
- package/dist/_chunks/appointment-tray-DRRw5ROi.js +193 -0
- package/dist/_chunks/appointment-tray-DRRw5ROi.js.map +1 -0
- package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-Cpdk5qpQ.js} +2 -2
- package/dist/_chunks/{audio-recorder-DYXXnGug.js.map → audio-recorder-Cpdk5qpQ.js.map} +1 -1
- package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
- package/dist/_chunks/badge-DCOqV9mI.js.map +1 -0
- package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-DnYWtZa_.js} +2 -2
- package/dist/_chunks/{bishop-score-PJI3AXzA.js.map → bishop-score-DnYWtZa_.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BZtIJ53x.js.map → bmi-calculator-zjeY4E7J.js.map} +1 -1
- package/dist/_chunks/{booking-C3VqFReX.js → booking-DUBI0oqt.js} +4 -4
- package/dist/_chunks/{booking-C3VqFReX.js.map → booking-DUBI0oqt.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-C5sTfY9G.js} +5 -5
- package/dist/_chunks/{care-plan-card-CvFGXa2z.js.map → care-plan-card-C5sTfY9G.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CXnxGCWA.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js.map → care-plan-entry-card-CXnxGCWA.js.map} +1 -1
- package/dist/_chunks/care-plan-header-BUwqDTtz.js +206 -0
- package/dist/_chunks/care-plan-header-BUwqDTtz.js.map +1 -0
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Dramqa9C.js.map → contact-profile-card-DDPwRFiP.js.map} +1 -1
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js +229 -0
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js.map +1 -0
- package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
- package/dist/_chunks/{cycle-calculator-DmRGJNaT.js.map → cycle-calculator-CCmPwcBl.js.map} +1 -1
- package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
- package/dist/_chunks/{dependent-selector-CG_FOHya.js.map → dependent-selector-DUV4thxX.js.map} +1 -1
- package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
- package/dist/_chunks/{document-scanner-CTubA0-N.js.map → document-scanner-C_AxLooF.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
- package/dist/_chunks/{due-date-calculator-BTmsIQqD.js.map → due-date-calculator-Brdj-euS.js.map} +1 -1
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +328 -0
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js.map +1 -0
- package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
- package/dist/_chunks/{email-input-B_Y55f5G.js.map → email-input-DJ7EXklP.js.map} +1 -1
- package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-9_62gY7l.js} +38 -20
- package/dist/_chunks/{entity-card-COhmqHly.js.map → entity-card-9_62gY7l.js.map} +1 -1
- package/dist/_chunks/entity-summary-BxRjFh_4.js +138 -0
- package/dist/_chunks/entity-summary-BxRjFh_4.js.map +1 -0
- package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
- package/dist/_chunks/{fetal-weight-CRz7KE2D.js.map → fetal-weight-DNCkyeVo.js.map} +1 -1
- package/dist/_chunks/field-value-NXYczdpO.js +415 -0
- package/dist/_chunks/field-value-NXYczdpO.js.map +1 -0
- package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
- package/dist/_chunks/{file-upload-5ScQd4fE.js.map → file-upload-DwZcAK8D.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js.map → freemium-paywall-WYlNO7yT.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-CF2ISaYQ.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js.map → gestational-age-calculator-CF2ISaYQ.js.map} +1 -1
- package/dist/_chunks/hash-CysBBS_N.js +17 -0
- package/dist/_chunks/hash-CysBBS_N.js.map +1 -0
- package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
- package/dist/_chunks/{hcg-doubling-CnjDXX6U.js.map → hcg-doubling-C7bmuaU3.js.map} +1 -1
- package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-CTXqtXV-.js} +715 -592
- package/dist/_chunks/link-cell-renderer-CTXqtXV-.js.map +1 -0
- package/dist/_chunks/lock-CKOIn0IK.js +15 -0
- package/dist/_chunks/lock-CKOIn0IK.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-Skhfp6vK.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js.map → marketplace-app-shell-Skhfp6vK.js.map} +1 -1
- package/dist/_chunks/notes-panel-ay8_lPrA.js +158 -0
- package/dist/_chunks/notes-panel-ay8_lPrA.js.map +1 -0
- package/dist/_chunks/{notification-card-BiESdm8q.js → notification-card-D2jiKSJJ.js} +27 -23
- package/dist/_chunks/notification-card-D2jiKSJJ.js.map +1 -0
- package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-AEun6DN2.js} +2 -2
- package/dist/_chunks/{notification-tray-Btb9oQeZ.js.map → notification-tray-AEun6DN2.js.map} +1 -1
- package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-CR0Rqh4-.js} +3 -3
- package/dist/_chunks/{operator-hero-CP2Nhupm.js.map → operator-hero-CR0Rqh4-.js.map} +1 -1
- package/dist/_chunks/patient-details-Dlhqb5ig.js +675 -0
- package/dist/_chunks/patient-details-Dlhqb5ig.js.map +1 -0
- package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-Be6cLrHR.js} +2 -2
- package/dist/_chunks/{patient-search-CBC_ySF6.js.map → patient-search-Be6cLrHR.js.map} +1 -1
- package/dist/_chunks/patient-summary-card-WySCMwwA.js +437 -0
- package/dist/_chunks/patient-summary-card-WySCMwwA.js.map +1 -0
- package/dist/_chunks/patient-table-CHxf3Oqk.js +1110 -0
- package/dist/_chunks/patient-table-CHxf3Oqk.js.map +1 -0
- package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
- package/dist/_chunks/{payment-form-DvjwYVIT.js.map → payment-form-CxqIXqw7.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-BcZJwu9z.js} +125 -136
- package/dist/_chunks/payment-request-card-BcZJwu9z.js.map +1 -0
- package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
- package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +1 -0
- package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js.map → periodontal-chart-card-hRRJY1NN.js.map} +1 -1
- package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-C6qDfxos.js} +3 -3
- package/dist/_chunks/{practice-results-KrTHqZua.js.map → practice-results-C6qDfxos.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CRVWswD-.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-DORUAOHB.js.map → pregnancy-dating-CRVWswD-.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js.map → pregnancy-weight-gain-BUNpTsH-.js.map} +1 -1
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +558 -0
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js.map +1 -0
- package/dist/_chunks/{rich-text-editor-BsV7zUdg.js → rich-text-editor-DlCqPixb.js} +410 -394
- package/dist/_chunks/{rich-text-editor-BsV7zUdg.js.map → rich-text-editor-DlCqPixb.js.map} +1 -1
- package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
- package/dist/_chunks/{sign-document-B4DeRhTe.js.map → sign-document-By6hMOra.js.map} +1 -1
- package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
- package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +1 -0
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
- package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +1 -0
- package/dist/_chunks/tooth-scheme-BhQoPNBD.js +2131 -0
- package/dist/_chunks/tooth-scheme-BhQoPNBD.js.map +1 -0
- package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
- package/dist/_chunks/transaction-chip-CscoQbxF.js.map +1 -0
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js.map +1 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js.map +1 -0
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js.map +1 -0
- package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
- package/dist/_chunks/warning-stack--sTrrBDA.js.map +1 -0
- package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-Dy8mLCqF.js} +3 -3
- package/dist/_chunks/{workflow-map-Bdam9pGp.js.map → workflow-map-Dy8mLCqF.js.map} +1 -1
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
- package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +1 -0
- package/dist/agent/index.js +5 -4
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/types.d.ts +19 -2
- package/dist/agent/types.d.ts.map +1 -1
- package/dist/agent-catalog.json +1253 -86
- package/dist/agent-i18n/en.json +108 -6
- package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -1
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/entity-card/index.d.ts.map +1 -1
- package/dist/components/_shared/field-value.d.ts +21 -0
- package/dist/components/_shared/field-value.d.ts.map +1 -0
- package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
- package/dist/components/_shared/field-visibility-cog.d.ts.map +1 -0
- package/dist/components/_shared/field-visibility.d.ts +36 -0
- package/dist/components/_shared/field-visibility.d.ts.map +1 -0
- package/dist/components/_shared/patient-fields.d.ts +119 -0
- package/dist/components/_shared/patient-fields.d.ts.map +1 -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-tools-rail/ai-tools-rail.d.ts +75 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -1
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/alert.d.ts.map +1 -1
- 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-face-paths.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/index.d.ts +6 -0
- package/dist/components/anatomy-scheme/index.d.ts.map +1 -0
- package/dist/components/anatomy-scheme/index.js +17 -0
- package/dist/components/anatomy-scheme/index.js.map +1 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts.map +1 -0
- package/dist/components/annotation-marker/index.d.ts +3 -0
- package/dist/components/annotation-marker/index.d.ts.map +1 -0
- package/dist/components/annotation-marker/index.js +7 -0
- package/dist/components/annotation-marker/index.js.map +1 -0
- package/dist/components/appointment-card/appointment-card.d.ts +25 -1
- package/dist/components/appointment-card/appointment-card.d.ts.map +1 -1
- package/dist/components/appointment-card/index.js +6 -5
- package/dist/components/appointment-card/index.js.map +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts.map +1 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts.map +1 -0
- package/dist/components/appointment-timeline/index.d.ts +4 -0
- package/dist/components/appointment-timeline/index.d.ts.map +1 -0
- package/dist/components/appointment-timeline/index.js +6 -0
- package/dist/components/appointment-timeline/index.js.map +1 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/badge.d.ts +6 -2
- package/dist/components/badge/badge.d.ts.map +1 -1
- 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/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.agent.d.ts.map +1 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts +100 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts.map +1 -0
- package/dist/components/care-plan-header/index.d.ts +4 -0
- package/dist/components/care-plan-header/index.d.ts.map +1 -0
- package/dist/components/care-plan-header/index.js +6 -0
- package/dist/components/care-plan-header/index.js.map +1 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- 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-context.d.ts.map +1 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts.map +1 -0
- package/dist/components/control-room-rail/index.d.ts +5 -0
- package/dist/components/control-room-rail/index.d.ts.map +1 -0
- package/dist/components/control-room-rail/index.js +9 -0
- package/dist/components/control-room-rail/index.js.map +1 -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/actions-cell-renderer.d.ts.map +1 -1
- package/dist/components/data-table/index.d.ts +1 -1
- package/dist/components/data-table/index.d.ts.map +1 -1
- package/dist/components/data-table/index.js +32 -31
- 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/email-input.d.ts.map +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.d.ts +43 -0
- package/dist/components/entity-summary/entity-summary.d.ts.map +1 -0
- package/dist/components/entity-summary/index.d.ts +3 -0
- package/dist/components/entity-summary/index.d.ts.map +1 -0
- package/dist/components/entity-summary/index.js +5 -0
- package/dist/components/entity-summary/index.js.map +1 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-upload/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/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/notes-panel/index.d.ts +3 -0
- package/dist/components/notes-panel/index.d.ts.map +1 -0
- package/dist/components/notes-panel/index.js +5 -0
- package/dist/components/notes-panel/index.js.map +1 -0
- package/dist/components/notes-panel/notes-panel.d.ts +64 -0
- package/dist/components/notes-panel/notes-panel.d.ts.map +1 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts.map +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.d.ts +5 -0
- package/dist/components/patient-details/index.d.ts.map +1 -0
- package/dist/components/patient-details/index.js +6 -0
- package/dist/components/patient-details/index.js.map +1 -0
- package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
- package/dist/components/patient-details/patient-details.agent.d.ts.map +1 -0
- package/dist/components/patient-details/patient-details.d.ts +96 -0
- package/dist/components/patient-details/patient-details.d.ts.map +1 -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.agent.d.ts.map +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -1
- package/dist/components/patient-table/columns.d.ts +69 -40
- package/dist/components/patient-table/columns.d.ts.map +1 -1
- package/dist/components/patient-table/index.d.ts +2 -6
- package/dist/components/patient-table/index.d.ts.map +1 -1
- 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/patient-table.d.ts.map +1 -1
- package/dist/components/patient-table/types.d.ts +52 -2
- package/dist/components/patient-table/types.d.ts.map +1 -1
- package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
- package/dist/components/patient-table/use-responsive-columns.d.ts.map +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/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/radiograph-panel/index.d.ts +4 -0
- package/dist/components/radiograph-panel/index.d.ts.map +1 -0
- package/dist/components/radiograph-panel/index.js +7 -0
- package/dist/components/radiograph-panel/index.js.map +1 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts.map +1 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +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/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.d.ts.map +1 -1
- 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-data.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +75 -11
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
- package/dist/components/transaction-chip/transaction-chip.d.ts.map +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/warning-stack/warning-stack.d.ts.map +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +24 -22
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/use-clamp-overflow.d.ts +19 -0
- package/dist/hooks/use-clamp-overflow.d.ts.map +1 -0
- package/dist/hooks/use-overflow-collapse.d.ts +46 -0
- package/dist/hooks/use-overflow-collapse.d.ts.map +1 -0
- package/dist/hooks/use-persistent-state.d.ts +7 -1
- package/dist/hooks/use-persistent-state.d.ts.map +1 -1
- package/dist/hooks/use-scroll-overflow.d.ts +36 -0
- package/dist/hooks/use-scroll-overflow.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +308 -24
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +322 -27
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +308 -24
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +322 -27
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +308 -24
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +322 -27
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +309 -32
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +323 -35
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +308 -24
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +322 -27
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +308 -24
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +322 -27
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +308 -24
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +322 -27
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +308 -24
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +322 -27
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +308 -24
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +322 -27
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +308 -24
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +322 -27
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +308 -24
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +322 -27
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +308 -24
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +322 -27
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +308 -24
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +322 -27
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +308 -24
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +322 -27
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +308 -24
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +322 -27
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +308 -24
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +322 -27
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +308 -24
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +322 -27
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +308 -24
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +322 -27
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +672 -623
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +311 -27
- package/dist/locales/de.json +311 -27
- package/dist/locales/el.json +311 -27
- package/dist/locales/en.json +311 -27
- package/dist/locales/es.json +311 -27
- package/dist/locales/fr.json +311 -27
- package/dist/locales/hi.json +311 -27
- package/dist/locales/it.json +311 -27
- package/dist/locales/ja.json +311 -27
- package/dist/locales/nl.json +311 -27
- package/dist/locales/pl.json +311 -27
- package/dist/locales/pt.json +311 -27
- package/dist/locales/ro.json +311 -27
- package/dist/locales/ru.json +311 -27
- package/dist/locales/sq.json +311 -27
- package/dist/locales/sv.json +311 -27
- package/dist/locales/tr.json +311 -27
- package/dist/locales/zh.json +311 -27
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +37 -1
- package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js.map +0 -1
- package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
- package/dist/_chunks/ai-tools-rail-BA_sqy1A.js.map +0 -1
- package/dist/_chunks/alert-_mUKLmwA.js.map +0 -1
- package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
- package/dist/_chunks/appointment-tray-CZtvtaH-.js.map +0 -1
- package/dist/_chunks/badge-CqGsX32l.js.map +0 -1
- package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
- package/dist/_chunks/clinical-note-card-DqQYf_D4.js.map +0 -1
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js.map +0 -1
- package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
- package/dist/_chunks/notification-card-BiESdm8q.js.map +0 -1
- package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
- package/dist/_chunks/patient-summary-card-B836_fDB.js.map +0 -1
- package/dist/_chunks/patient-table-CDuosVru.js +0 -889
- package/dist/_chunks/patient-table-CDuosVru.js.map +0 -1
- package/dist/_chunks/payment-request-card-DioWKBUq.js.map +0 -1
- package/dist/_chunks/pdf-viewer-D6BPfW2D.js.map +0 -1
- package/dist/_chunks/stepper-accordion-Dki6r9ZE.js.map +0 -1
- package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
- package/dist/_chunks/tab-bar-B1ovILzh.js.map +0 -1
- package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
- package/dist/_chunks/tooth-scheme-yBr53cvv.js.map +0 -1
- package/dist/_chunks/transaction-chip-DK84XCBU.js.map +0 -1
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
- package/dist/_chunks/use-persistent-state-i23OWy6G.js.map +0 -1
- package/dist/_chunks/warning-stack-BsgaEbL8.js.map +0 -1
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts.map +0 -1
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts.map +0 -1
|
@@ -45,6 +45,7 @@ export * from './text-input';
|
|
|
45
45
|
export * from './time-picker';
|
|
46
46
|
export { InsertButton, svgCardToPngDataUri, svgCardToPng, type InsertButtonProps, type InsertVariant, type InsertPayload, type InsertPngResult, type InsertMode, type InsertCardData, type InsertCardField, type InsertCardGauge, type SvgCardToPngOptions, } from './_shared/insert-result';
|
|
47
47
|
export * from './accordion';
|
|
48
|
+
export * from './annotation-marker';
|
|
48
49
|
export * from './avatar';
|
|
49
50
|
export * from './badge';
|
|
50
51
|
export * from './benefit-card';
|
|
@@ -75,6 +76,7 @@ export * from './tag';
|
|
|
75
76
|
export * from './timeline';
|
|
76
77
|
export * from './timestamp';
|
|
77
78
|
export * from './ai-tools-rail';
|
|
79
|
+
export * from './control-room-rail';
|
|
78
80
|
export * from './breadcrumb';
|
|
79
81
|
export * from './command-palette';
|
|
80
82
|
export * from './header';
|
|
@@ -96,6 +98,7 @@ export * from './agenda-tray';
|
|
|
96
98
|
export * from './ai-consent-banner';
|
|
97
99
|
export * from './alert';
|
|
98
100
|
export * from './appointment-card';
|
|
101
|
+
export * from './appointment-timeline';
|
|
99
102
|
export * from './dialog';
|
|
100
103
|
export * from './dropdown-menu';
|
|
101
104
|
export * from './finished-terminal';
|
|
@@ -105,7 +108,9 @@ export * from './message-card';
|
|
|
105
108
|
export * from './message-tray';
|
|
106
109
|
export * from './notification-card';
|
|
107
110
|
export * from './notification-tray';
|
|
111
|
+
export * from './notes-panel';
|
|
108
112
|
export * from './popover';
|
|
113
|
+
export * from './radiograph-panel';
|
|
109
114
|
export * from './pregnancy-weight-gain';
|
|
110
115
|
export * from './privacy-lock';
|
|
111
116
|
export * from './product-hub-tray';
|
|
@@ -133,17 +138,21 @@ export * from './audio-visualiser';
|
|
|
133
138
|
export * from './chat-container';
|
|
134
139
|
export * from './chat-input';
|
|
135
140
|
export * from './chat-message';
|
|
141
|
+
export * from './entity-summary';
|
|
136
142
|
export * from './freemium-paywall';
|
|
137
143
|
export * from './streaming-text';
|
|
138
144
|
export * from './suggestion-chip';
|
|
139
145
|
export * from './transcript-panel';
|
|
140
146
|
export * from './typing-indicator';
|
|
141
147
|
export * from './anamnesis-card';
|
|
148
|
+
export * from './anatomy-scheme';
|
|
142
149
|
export * from './booking';
|
|
143
150
|
export * from './calendar';
|
|
144
151
|
export * from './care-plan-card';
|
|
145
152
|
export * from './care-plan-entry-card';
|
|
153
|
+
export * from './care-plan-header';
|
|
146
154
|
export * from './operator-hero';
|
|
155
|
+
export * from './patient-details';
|
|
147
156
|
export * from './patient-search';
|
|
148
157
|
export * from './patient-summary-card';
|
|
149
158
|
export * from './patient-table';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,SAAS,EACT,eAAe,EACf,4BAA4B,EAC5B,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAGlB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;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AC1C,cAAc,mCAAmC,CAAC;AAGlD,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/notes-panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import type { ClinicalNoteCardProps } from '../clinical-note-card';
|
|
3
|
+
import type { RichTextEditorProps, RichTextEditorToolbar, RedactorFactory } from '../rich-text-editor';
|
|
4
|
+
/** One note in the panel — the data subset of `ClinicalNoteCard`. */
|
|
5
|
+
export type NotesPanelNote = Pick<ClinicalNoteCardProps, 'id' | 'dateIso' | 'createdAtIso' | 'author' | 'clinical' | 'attachedTo' | 'content' | 'contentFormat' | 'pinned' | 'flagged'>;
|
|
6
|
+
/** Payload handed to `onAddNote` when the composer commits. */
|
|
7
|
+
export interface NotesPanelSubmission {
|
|
8
|
+
/** The note body — rich HTML (`composer='rich'`) or plain text. */
|
|
9
|
+
content: string;
|
|
10
|
+
/** Whether the "clinical note" toggle was set. */
|
|
11
|
+
clinical: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
|
|
14
|
+
/** Notes to render, newest-first by convention. Pinned notes lead. */
|
|
15
|
+
notes: NotesPanelNote[];
|
|
16
|
+
/** Commit a new note. Omit to hide the composer (read-only timeline). */
|
|
17
|
+
onAddNote?: (submission: NotesPanelSubmission) => void;
|
|
18
|
+
/**
|
|
19
|
+
* `'rich'` (default) mounts the kit `RichTextEditor` (Redactor; degrades to a
|
|
20
|
+
* textarea where Redactor is absent). `'plain'` keeps a simple `TextArea` for
|
|
21
|
+
* lightweight surfaces / deterministic tests.
|
|
22
|
+
*/
|
|
23
|
+
composer?: 'rich' | 'plain';
|
|
24
|
+
/** Toolbar preset for the rich composer. Defaults to `'standard'`. */
|
|
25
|
+
editorToolbar?: RichTextEditorToolbar;
|
|
26
|
+
/** Inject the Redactor factory for the rich composer (else `window.$R`). */
|
|
27
|
+
redactor?: RedactorFactory;
|
|
28
|
+
/** Consumer image-upload endpoint for the rich composer. */
|
|
29
|
+
imageUploadUrl?: string;
|
|
30
|
+
/** Show the "clinical note" toggle in the composer. Default `true`. */
|
|
31
|
+
showClinicalToggle?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Permission gate — when `false` the clinical toggle is disabled and shows
|
|
34
|
+
* `clinicalGatedReason` on hover/focus. Mirrors platform's
|
|
35
|
+
* `practice_add_clinical_note` permission. Default `true`.
|
|
36
|
+
*/
|
|
37
|
+
canAddClinicalNote?: boolean;
|
|
38
|
+
/** Tooltip shown when the clinical toggle is gated off. */
|
|
39
|
+
clinicalGatedReason?: string;
|
|
40
|
+
/** Initial state of the clinical toggle. Default `false`. */
|
|
41
|
+
defaultClinical?: boolean;
|
|
42
|
+
onRequestAiDraft?: RichTextEditorProps['onRequestAiDraft'];
|
|
43
|
+
aiDraftFormat?: RichTextEditorProps['aiDraftFormat'];
|
|
44
|
+
aiPrivacyNotice?: RichTextEditorProps['aiPrivacyNotice'];
|
|
45
|
+
onDictate?: RichTextEditorProps['onDictate'];
|
|
46
|
+
onProofread?: RichTextEditorProps['onProofread'];
|
|
47
|
+
onAutoFormat?: RichTextEditorProps['onAutoFormat'];
|
|
48
|
+
/** Toggle a note's pinned state — renders an inline pin button per note. */
|
|
49
|
+
onTogglePin?: (id: string) => void;
|
|
50
|
+
/** Toggle a note's flagged state — renders an inline flag button per note. */
|
|
51
|
+
onToggleFlag?: (id: string) => void;
|
|
52
|
+
/** Panel heading. Defaults to the localised "Notes". */
|
|
53
|
+
title?: string;
|
|
54
|
+
/** Composer placeholder. */
|
|
55
|
+
composerPlaceholder?: string;
|
|
56
|
+
/** Save-button label. */
|
|
57
|
+
addNoteLabel?: string;
|
|
58
|
+
/** Rendered when there are no notes. */
|
|
59
|
+
emptyState?: ReactNode;
|
|
60
|
+
/** Accessible name for the panel region (defaults to `title`). */
|
|
61
|
+
'aria-label'?: string;
|
|
62
|
+
}
|
|
63
|
+
export declare const NotesPanel: import("react").ForwardRefExoticComponent<NotesPanelProps & import("react").RefAttributes<HTMLElement>>;
|
|
64
|
+
//# sourceMappingURL=notes-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notes-panel.d.ts","sourceRoot":"","sources":["../../../src/components/notes-panel/notes-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,KAAK,EAEV,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAmB7B,qEAAqE;AACrE,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,qBAAqB,EACnB,IAAI,GACJ,SAAS,GACT,cAAc,GACd,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,SAAS,GACT,eAAe,GACf,QAAQ,GACR,SAAS,CACZ,CAAC;AAEF,+DAA+D;AAC/D,MAAM,WAAW,oBAAoB;IACnC,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAA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IACf,4BAA4B;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wCAAwC;IACxC,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAcD,eAAO,MAAM,UAAU,yGAiMtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-card.d.ts","sourceRoot":"","sources":["../../../src/components/notification-card/notification-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,MAAM,WAAW,gBAAgB;IAC/B,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sEAAsE;IACtE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qBACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,sBAAsB;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,qDAAqD;IACrD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,mDAAmD;IACnD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAMD,QAAA,MAAM,YAAY;;;;
|
|
1
|
+
{"version":3,"file":"notification-card.d.ts","sourceRoot":"","sources":["../../../src/components/notification-card/notification-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,MAAM,WAAW,gBAAgB;IAC/B,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sEAAsE;IACtE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qBACf,SACE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,EAClE,YAAY,CAAC,OAAO,YAAY,CAAC;IACnC,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,sBAAsB;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,qDAAqD;IACrD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,mDAAmD;IACnD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAMD,QAAA,MAAM,YAAY;;;;8EAgEjB,CAAC;AAiBF,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAI1D;AAMD,eAAO,MAAM,gBAAgB,kHA6Q5B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { PatientDetails } from './patient-details';
|
|
2
|
+
export type { PatientDetailsProps, PatientDetailsHandle, PatientDetailsField, PatientDetailsSection, PatientDetailsFieldOption, PatientDetailsEditType, PatientDetailsEditValue, PatientDetailsDensity, } from './patient-details';
|
|
3
|
+
export type { PatientField, PatientFieldSection, PatientFieldOption, PatientFieldEditType, PatientFieldEditValue, } from '../_shared/patient-fields';
|
|
4
|
+
export { patientDetailsAgent } from './patient-details.agent';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/patient-details/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAG3B,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-details.agent.d.ts","sourceRoot":"","sources":["../../../src/components/patient-details/patient-details.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAmB9D,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,oBAAoB,CA+GlE,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type PatientField, type PatientFieldEditType, type PatientFieldEditValue, type PatientFieldOption, type PatientFieldSection } from '../_shared/patient-fields';
|
|
4
|
+
declare const rootVariants: (props?: ({
|
|
5
|
+
density?: "compact" | "comfortable" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
export type { PatientField, PatientFieldSection, PatientFieldOption, PatientFieldEditType, PatientFieldEditValue, } from '../_shared/patient-fields';
|
|
8
|
+
/** A label→value patient field. Alias of the shared {@link PatientField}. */
|
|
9
|
+
export type PatientDetailsField = PatientField;
|
|
10
|
+
/** A labelled, collapsible group of fields. Alias of {@link PatientFieldSection}. */
|
|
11
|
+
export type PatientDetailsSection = PatientFieldSection;
|
|
12
|
+
/** Alias of the shared {@link PatientFieldOption}. */
|
|
13
|
+
export type PatientDetailsFieldOption = PatientFieldOption;
|
|
14
|
+
/** Alias of the shared {@link PatientFieldEditType}. */
|
|
15
|
+
export type PatientDetailsEditType = PatientFieldEditType;
|
|
16
|
+
/** Alias of the shared {@link PatientFieldEditValue}. */
|
|
17
|
+
export type PatientDetailsEditValue = PatientFieldEditValue;
|
|
18
|
+
/**
|
|
19
|
+
* Imperative handle the agent adapter drives. Exposes only field KEYS and
|
|
20
|
+
* an opaque `patientId` for reads; `updateField` routes writes through the
|
|
21
|
+
* same `onFieldSave` path as a human inline edit (no second channel).
|
|
22
|
+
*/
|
|
23
|
+
export interface PatientDetailsHandle {
|
|
24
|
+
/** The current ordered list of visible field ids. */
|
|
25
|
+
getVisibleFieldOrder: () => string[];
|
|
26
|
+
/** Opaque patient id (no PHI). */
|
|
27
|
+
getPatientId: () => string | undefined;
|
|
28
|
+
/** Replace the visible set, preserving the given order (filtered to known fields). */
|
|
29
|
+
setVisibleFields: (fieldIds: string[]) => void;
|
|
30
|
+
/** Replace the full ordered visible list (filtered to known fields). */
|
|
31
|
+
setFieldOrder: (orderedIds: string[]) => void;
|
|
32
|
+
/** Write a field value — delegates to `onFieldSave`. Rejects if no handler. */
|
|
33
|
+
updateField: (fieldId: string, value: unknown) => Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
export interface PatientDetailsProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
|
|
36
|
+
/** Patient display name — the panel heading. */
|
|
37
|
+
title: ReactNode;
|
|
38
|
+
/** The sectioned field catalogue (consumer-mapped from DoctorPatient). */
|
|
39
|
+
sections: PatientDetailsSection[];
|
|
40
|
+
/**
|
|
41
|
+
* Header avatar photo / initials override. The panel always fronts the name
|
|
42
|
+
* with an Avatar — initials derive from a string `title` by default; pass
|
|
43
|
+
* `src` for a photo, or `name` to override the initials source.
|
|
44
|
+
*/
|
|
45
|
+
avatar?: {
|
|
46
|
+
src?: string;
|
|
47
|
+
name?: string;
|
|
48
|
+
};
|
|
49
|
+
/** At-a-glance chips under the name (consumer-composed Badge/Tag/Chip row). */
|
|
50
|
+
headerChips?: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Frame the identity header and each section in its own elevated `Card`,
|
|
53
|
+
* for a "control-room" rail that reads as a stack of cards rather than one
|
|
54
|
+
* flat panel. Default `false` (the flat panel with a header rule + eyebrow
|
|
55
|
+
* section headings). When framed, the header rule is dropped — the cards
|
|
56
|
+
* provide the separation.
|
|
57
|
+
*/
|
|
58
|
+
framed?: boolean;
|
|
59
|
+
/** Master switch — show edit affordances on `editable` fields. */
|
|
60
|
+
editable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Persist a field edit. Resolve ⇒ committed; reject(Error) ⇒ the message
|
|
63
|
+
* is shown inline and the row stays in edit mode. Also the single channel
|
|
64
|
+
* the agent's `update_field` uses.
|
|
65
|
+
*/
|
|
66
|
+
onFieldSave?: (fieldId: string, value: unknown) => Promise<void>;
|
|
67
|
+
/** Domain validation — return an error message, or `null` when valid. */
|
|
68
|
+
validate?: (fieldId: string, value: unknown) => string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Controlled ordered list of visible field ids. `undefined` ⇒ every field
|
|
71
|
+
* visible; an explicit `[]` ⇒ none (a panel that starts collapsed).
|
|
72
|
+
*/
|
|
73
|
+
visibleFieldOrder?: string[];
|
|
74
|
+
/** Uncontrolled initial order. Omit both ⇒ every field visible, in declaration order. */
|
|
75
|
+
defaultVisibleFieldOrder?: string[];
|
|
76
|
+
/** Fired whenever the user shows/hides/reorders fields via the cog. */
|
|
77
|
+
onVisibleFieldsChange?: (orderedIds: string[]) => void;
|
|
78
|
+
/** Render the loading skeleton. */
|
|
79
|
+
loading?: boolean;
|
|
80
|
+
/** Shown when there are no sections / no patient. Defaults to a localised hint. */
|
|
81
|
+
emptyState?: ReactNode;
|
|
82
|
+
/** Opaque patient id — emitted as `data-patient-id` + agent stateRead. No PHI. */
|
|
83
|
+
patientId?: string;
|
|
84
|
+
/** Agent-readiness instance id, surfaced as `data-component-id`. */
|
|
85
|
+
id?: string;
|
|
86
|
+
/** BCP-47 locale override (currency / number editors). */
|
|
87
|
+
locale?: string;
|
|
88
|
+
/** Override the cog trigger's accessible name. */
|
|
89
|
+
cogLabel?: string;
|
|
90
|
+
/** Override the panel region's accessible name (defaults to the heading). */
|
|
91
|
+
'aria-label'?: string;
|
|
92
|
+
}
|
|
93
|
+
export declare const PatientDetails: import("react").ForwardRefExoticComponent<PatientDetailsProps & import("react").RefAttributes<HTMLElement>>;
|
|
94
|
+
/** Density variant union re-exported for downstream typing. */
|
|
95
|
+
export type PatientDetailsDensity = NonNullable<VariantProps<typeof rootVariants>['density']>;
|
|
96
|
+
//# sourceMappingURL=patient-details.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-details.d.ts","sourceRoot":"","sources":["../../../src/components/patient-details/patient-details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuBlE,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AA+BnC,QAAA,MAAM,YAAY;;8EAejB,CAAC;AAYF,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AAEnC,6EAA6E;AAC7E,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAC/C,qFAAqF;AACrF,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AACxD,sDAAsD;AACtD,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CAAC;AAC3D,wDAAwD;AACxD,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;AAC1D,yDAAyD;AACzD,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;AAE5D;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,qDAAqD;IACrD,oBAAoB,EAAE,MAAM,MAAM,EAAE,CAA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AAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAIvD,mCAAmC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IACnF,UAAU,CAAC,EAAE,SAAS,CAAC;IAIvB,kFAAkF;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,eAAO,MAAM,cAAc,6GA0M1B,CAAC;AAkgBF,+DAA+D;AAC/D,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient-summary-card.agent.d.ts","sourceRoot":"","sources":["../../../src/components/patient-summary-card/patient-summary-card.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAavE,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,wBAAwB,
|
|
1
|
+
{"version":3,"file":"patient-summary-card.agent.d.ts","sourceRoot":"","sources":["../../../src/components/patient-summary-card/patient-summary-card.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAavE,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,wBAAwB,CA8B1E,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type PatientFieldSection } from '../_shared/patient-fields';
|
|
3
4
|
declare const rootVariants: (props?: ({
|
|
4
5
|
surface?: "flat" | "elevated" | null | undefined;
|
|
5
6
|
density?: "compact" | "comfortable" | null | undefined;
|
|
@@ -75,7 +76,45 @@ export interface PatientSummaryCardProps extends Omit<ComponentPropsWithoutRef<'
|
|
|
75
76
|
* dropped and the heading renders as plain text.
|
|
76
77
|
*/
|
|
77
78
|
patientUrl?: string;
|
|
78
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Patient fields in the shared model — the SAME `sections` shape
|
|
81
|
+
* `PatientDetails` consumes (`@alfadocs/ui-kit` `PatientFieldSection`).
|
|
82
|
+
* When provided, the card renders these (honouring `visibleFieldOrder`)
|
|
83
|
+
* instead of the legacy contact props, so a consumer defines its patient-
|
|
84
|
+
* field registry once and reuses it across every patient surface.
|
|
85
|
+
*
|
|
86
|
+
* The card renders each field's `label`, `value`, and `icon` only — it is
|
|
87
|
+
* flat (section headings are not shown in the body) and never inline-edits;
|
|
88
|
+
* `sensitive` / `copyable` / `mono` / `editable` are honoured by
|
|
89
|
+
* `PatientDetails`, not the card (so the PHI lock glyph does not appear here).
|
|
90
|
+
*
|
|
91
|
+
* Pass `onVisibleFieldsChange` alongside `sections` to make THIS placement
|
|
92
|
+
* self-curating (a "Customize fields" cog appears — show/hide + drag-and-drop
|
|
93
|
+
* reorder).
|
|
94
|
+
*/
|
|
95
|
+
sections?: PatientFieldSection[];
|
|
96
|
+
/**
|
|
97
|
+
* Ordered visible field ids for THIS placement. The order is a
|
|
98
|
+
* per-INSTANCE, per-CONTEXT preference the kit never persists — wire it to
|
|
99
|
+
* whatever scope the consumer wants (e.g. a global per-user setting, or a
|
|
100
|
+
* different config in the care-plan view vs the patient folder). The same
|
|
101
|
+
* field vocabulary can therefore display differently in different parts of
|
|
102
|
+
* the app. Omit (`undefined`) ⇒ show every field; an explicit empty array
|
|
103
|
+
* `[]` ⇒ show none (a card that starts collapsed to name + identity chips and
|
|
104
|
+
* reveals fields via the cog). Also applied to the legacy contact rows (ids
|
|
105
|
+
* `email` / `phone` / `cityProvince` / `marketingConsent` / `aiConsent` /
|
|
106
|
+
* `assignedTo`).
|
|
107
|
+
*/
|
|
108
|
+
visibleFieldOrder?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* Make this card's field set user-customizable. When provided alongside
|
|
111
|
+
* `sections`, a "Customize fields" cog renders in the header (show/hide +
|
|
112
|
+
* drag-and-drop / Alt+Arrow reorder), and this fires with the next ordered
|
|
113
|
+
* visible set. The consumer owns persistence + its scope — editing here
|
|
114
|
+
* writes only THIS context's preference, never a shared/global one.
|
|
115
|
+
*/
|
|
116
|
+
onVisibleFieldsChange?: (orderedIds: string[]) => void;
|
|
117
|
+
/** @deprecated Pass via `sections`. Patient email — `mailto:` link when `emailEnabled`. */
|
|
79
118
|
email?: string;
|
|
80
119
|
/** Whether email contact is enabled — gates the `mailto:` link. */
|
|
81
120
|
emailEnabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient-summary-card.d.ts","sourceRoot":"","sources":["../../../src/components/patient-summary-card/patient-summary-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"patient-summary-card.d.ts","sourceRoot":"","sources":["../../../src/components/patient-summary-card/patient-summary-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuBlE,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAC;AAuCnC,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AM,CAAC;IAClB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAIxB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAIpC,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oEAAoE;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAgDD,eAAO,MAAM,kBAAkB,oHA+f9B,CAAC;AAIF,wDAAwD;AACxD,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAC7C,CAAC"}
|
|
@@ -2,44 +2,55 @@
|
|
|
2
2
|
* patient-table — column definitions
|
|
3
3
|
* ----------------------------------------------------------------------------
|
|
4
4
|
* `buildPatientColumns(t, opts)` returns the ordered `ColDef<PatientRow>[]` for
|
|
5
|
-
* the patient grid
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* the patient grid. Every patient field is its OWN column — sortable, filterable
|
|
6
|
+
* and individually hideable via ColumnToggle — rather than several fields jumbled
|
|
7
|
+
* into one composite cell. Each column wires the right kit cell renderer + the
|
|
8
|
+
* right kit filter + floatingFilter, a localised `headerName` (from
|
|
9
|
+
* `ui.patientTable.column.*`) and a stable `colId`.
|
|
10
|
+
*
|
|
11
|
+
* Identity is SPLIT across three pinned-start columns (the spec's
|
|
12
|
+
* "Avatar · First · Last"):
|
|
13
|
+
* • `avatar` — ImageCellRenderer (photo, initials fallback), sr-only header.
|
|
14
|
+
* • `firstName` — plain text.
|
|
15
|
+
* • `lastName` — LinkCellRenderer (the patient-detail link, `identityHref`).
|
|
16
|
+
* All three are pinned-start P0 anchors and never auto-hide.
|
|
17
|
+
*
|
|
18
|
+
* COLUMN VISIBILITY
|
|
19
|
+
* -----------------
|
|
20
|
+
* `●` default-visible columns carry a `responsiveTier`; the responsive hook hides
|
|
21
|
+
* them by tier as the grid narrows. Every other (grouped) column ships
|
|
22
|
+
* `hide: true` and NO tier, so the hook leaves it alone and a user ColumnToggle
|
|
23
|
+
* override wins. The anchors (avatar / firstName / lastName / actions) omit a
|
|
24
|
+
* tier so they are never auto-hidden.
|
|
8
25
|
*
|
|
9
26
|
* RESPONSIVE TIER MECHANISM
|
|
10
27
|
* -------------------------
|
|
11
|
-
* Each column
|
|
12
|
-
* `ColDef` is an open/extensible shape — extra properties
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* (`
|
|
16
|
-
* via the exported {@link getResponsiveTier} helper rather than through AG Grid's
|
|
17
|
-
* loosely-typed `context: any` field — so the tier is fully typed end-to-end with
|
|
18
|
-
* no `any`. The `useResponsiveColumns` hook consumes these tiers to toggle column
|
|
19
|
-
* visibility by grid-container width.
|
|
28
|
+
* Each column may carry a custom `responsiveTier` (`P0`–`P3`) property. AG Grid's
|
|
29
|
+
* `ColDef` is an open/extensible shape — extra properties pass through untouched
|
|
30
|
+
* at runtime — but its TS type is closed, so we type each entry as
|
|
31
|
+
* `PatientColDefWithTier` and read the tier back via {@link getResponsiveTier}
|
|
32
|
+
* (no `any`, no reliance on AG Grid's loose `context`).
|
|
20
33
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* •
|
|
35
|
-
* `cellStyle`/`cellClass` here — only token-bound `ds:` utility classes — so
|
|
36
|
-
* the AG Grid theme bridge (`ag-grid-theme.css`) stays in control of theming.
|
|
34
|
+
* CUSTOM FIELDS
|
|
35
|
+
* -------------
|
|
36
|
+
* `opts.customFields` appends one dynamic column per descriptor after the
|
|
37
|
+
* standard columns: `colId: \`custom:${fieldName}\``, a LITERAL `headerName`
|
|
38
|
+
* (the practice-defined label — never i18n-keyed), a `valueGetter` reading
|
|
39
|
+
* `row.customFields?.[fieldName]`, and a renderer + filter chosen by `type`
|
|
40
|
+
* (`text` → plain text · `checkbox` → ✓/— · `dropdown` → Tag chip). All ship
|
|
41
|
+
* `hide: true` and no tier.
|
|
42
|
+
*
|
|
43
|
+
* CONSTRAINTS:
|
|
44
|
+
* • No colour / spacing / radius / font literal in any `cellStyle`/`cellClass`
|
|
45
|
+
* here — only token-bound `ds:` utility classes — so the AG Grid theme bridge
|
|
46
|
+
* stays in control of theming.
|
|
47
|
+
* • CSS logical properties only.
|
|
37
48
|
* • PHI rule (PRS 26 §6): no `PatientRow` field other than `id` is ever placed
|
|
38
49
|
* in a DOM `data-*` attribute. Renderers surface name/contact/DOB as text
|
|
39
50
|
* content only; these defs pass values, not attributes.
|
|
40
51
|
*/
|
|
41
52
|
import type { TFunction } from 'i18next';
|
|
42
|
-
import type { PatientColDef, PatientColumnDef, PatientRow, PatientRowAction, ResponsiveTier } from './types';
|
|
53
|
+
import type { PatientColDef, PatientColumnDef, PatientCustomFieldDef, PatientRow, PatientRowAction, ResponsiveTier } from './types';
|
|
43
54
|
/**
|
|
44
55
|
* A patient leaf column carrying its responsive-priority tier. AG Grid passes
|
|
45
56
|
* the extra `responsiveTier` key through untouched; we keep it strongly typed
|
|
@@ -55,15 +66,17 @@ export type PatientColDefWithTier = PatientColDef & {
|
|
|
55
66
|
};
|
|
56
67
|
/**
|
|
57
68
|
* Read the responsive tier off a column definition. Returns `undefined` for
|
|
58
|
-
* columns that opt out of responsive toggling
|
|
59
|
-
*
|
|
69
|
+
* columns that opt out of responsive toggling — the pinned anchors and every
|
|
70
|
+
* `hide: true` grouped column deliberately omit a tier so they are never
|
|
71
|
+
* auto-managed by the responsive hook.
|
|
60
72
|
*/
|
|
61
73
|
export declare function getResponsiveTier(colDef: PatientColumnDef): ResponsiveTier | undefined;
|
|
62
74
|
/** Options threaded into {@link buildPatientColumns}. */
|
|
63
75
|
export interface BuildPatientColumnsOptions {
|
|
64
76
|
/**
|
|
65
|
-
* Mask sensitive contact details (email)
|
|
66
|
-
*
|
|
77
|
+
* Mask sensitive contact details (email) — when `true` the `email` column
|
|
78
|
+
* ships hidden. Forwarded from `PatientTable`'s `hidePatientDetails`. Default
|
|
79
|
+
* `false`.
|
|
67
80
|
*/
|
|
68
81
|
hideDetails?: boolean;
|
|
69
82
|
/**
|
|
@@ -82,21 +95,37 @@ export interface BuildPatientColumnsOptions {
|
|
|
82
95
|
*/
|
|
83
96
|
onRowAction?: (action: PatientRowAction, patient: PatientRow) => void;
|
|
84
97
|
/**
|
|
85
|
-
* Derive the patient-detail href for the
|
|
86
|
-
* `(row) => \`/patients/${row.id}\``. When omitted the
|
|
98
|
+
* Derive the patient-detail href for the `lastName` link column, e.g.
|
|
99
|
+
* `(row) => \`/patients/${row.id}\``. When omitted the lastName cell renders a
|
|
87
100
|
* button that calls `onRowAction` with the `show` action instead.
|
|
88
101
|
*/
|
|
89
102
|
identityHref?: string | ((row: PatientRow) => string | undefined);
|
|
103
|
+
/**
|
|
104
|
+
* Per-practice custom-field descriptors. Each appends one dynamic `custom:*`
|
|
105
|
+
* column (hidden by default) after the standard columns. See
|
|
106
|
+
* {@link PatientCustomFieldDef}.
|
|
107
|
+
*/
|
|
108
|
+
customFields?: PatientCustomFieldDef[];
|
|
90
109
|
}
|
|
91
110
|
/**
|
|
92
|
-
*
|
|
111
|
+
* The fixed number of per-row actions the patient grid builds (show · edit ·
|
|
112
|
+
* email reminder · sms reminder · reassign · delete — see {@link buildRowActions}).
|
|
113
|
+
* Exposed so the component can size the actions column to its EXPANDED footprint
|
|
114
|
+
* (`actionsColumnWidth(PATIENT_ROW_ACTION_COUNT)`) when flipping the runtime
|
|
115
|
+
* compact-actions toggle off, without rebuilding the column defs. Keep in sync
|
|
116
|
+
* with the array {@link buildRowActions} returns.
|
|
117
|
+
*/
|
|
118
|
+
export declare const PATIENT_ROW_ACTION_COUNT = 6;
|
|
119
|
+
/**
|
|
120
|
+
* Build the ordered patient-grid column definitions — one field per column.
|
|
93
121
|
*
|
|
94
122
|
* @param t `react-i18next` translation fn (default `ui` namespace).
|
|
95
123
|
* @param opts See {@link BuildPatientColumnsOptions} — density getter, row-action
|
|
96
|
-
* callback, detail masking, identity href.
|
|
97
|
-
* @returns Ordered `PatientColumnDef[]`.
|
|
98
|
-
* (read via {@link getResponsiveTier}); the pinned
|
|
99
|
-
*
|
|
124
|
+
* callback, detail masking, identity href, custom fields.
|
|
125
|
+
* @returns Ordered `PatientColumnDef[]`. Default-visible columns carry a
|
|
126
|
+
* `responsiveTier` (read via {@link getResponsiveTier}); the pinned
|
|
127
|
+
* anchors and every grouped (`hide: true`) column omit it so they are
|
|
128
|
+
* never auto-hidden.
|
|
100
129
|
*/
|
|
101
130
|
export declare function buildPatientColumns(t: TFunction, opts?: BuildPatientColumnsOptions): PatientColumnDef[];
|
|
102
131
|
//# sourceMappingURL=columns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/columns.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"columns.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/columns.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA8BzC,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAEhB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACf,MAAM,SAAS,CAAC;AAMjB;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,aAAa,GAAG;IAClD;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,gBAAgB,GACvB,cAAc,GAAG,SAAS,CAE5B;AAMD,yDAAyD;AACzD,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;IACtE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,UAAU,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC;IAClE;;;;OAIG;IACH,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACxC;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AA+M1C;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,EAAE,SAAS,EACZ,IAAI,GAAE,0BAA+B,GACpC,gBAAgB,EAAE,CA2lBpB"}
|