@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
|
@@ -8,17 +8,13 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export { PatientTable } from './patient-table';
|
|
10
10
|
export type { PatientTableProps } from './patient-table';
|
|
11
|
-
export { buildPatientColumns, getResponsiveTier, type BuildPatientColumnsOptions, type PatientColDefWithTier, } from './columns';
|
|
11
|
+
export { buildPatientColumns, getResponsiveTier, PATIENT_ROW_ACTION_COUNT, type BuildPatientColumnsOptions, type PatientColDefWithTier, } from './columns';
|
|
12
12
|
export { useResponsiveColumns, type UseResponsiveColumnsOptions, type UseResponsiveColumnsResult, } from './use-responsive-columns';
|
|
13
|
-
export type { PatientRow, PatientPhoneNumber, PatientGender, PatientMarketingConsent, PatientCarePlanStatus, PatientColumnId, ResponsiveTier, PatientRowActionKey, PatientRowAction, PatientBulkActionKey, PatientBulkAction, PatientView, PatientTableHandle, PatientColDef, PatientColGroupDef, PatientColumnDef, } from './types';
|
|
14
|
-
export { PatientIdentityCell } from './cell-renderers/patient-identity-cell';
|
|
15
|
-
export type { PatientIdentityCellParams } from './cell-renderers/patient-identity-cell';
|
|
13
|
+
export type { PatientRow, PatientPhoneNumber, PatientGender, PatientMarketingConsent, PatientCarePlanStatus, PatientCustomFieldDef, PatientColumnId, ResponsiveTier, PatientRowActionKey, PatientRowAction, PatientBulkActionKey, PatientBulkAction, PatientView, PatientTableHandle, PatientColDef, PatientColGroupDef, PatientColumnDef, } from './types';
|
|
16
14
|
export { NextAppointmentCell } from './cell-renderers/next-appointment-cell';
|
|
17
15
|
export type { NextAppointmentCellParams } from './cell-renderers/next-appointment-cell';
|
|
18
16
|
export { BalanceBadgeCell } from './cell-renderers/balance-badge-cell';
|
|
19
17
|
export type { BalanceBadgeCellParams } from './cell-renderers/balance-badge-cell';
|
|
20
18
|
export { CarePlanStatusCell } from './cell-renderers/care-plan-status-cell';
|
|
21
19
|
export type { CarePlanStatusCellParams } from './cell-renderers/care-plan-status-cell';
|
|
22
|
-
export { ContactCell } from './cell-renderers/contact-cell';
|
|
23
|
-
export type { ContactCellParams } from './cell-renderers/contact-cell';
|
|
24
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,GAC3B,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,YAAY,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,GAC3B,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,YAAY,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAElF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,YAAY,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { B as s, C as
|
|
1
|
+
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-CHxf3Oqk.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
n as
|
|
7
|
-
C as
|
|
8
|
-
i as
|
|
9
|
-
o as
|
|
10
|
-
u as
|
|
11
|
-
p as useResponsiveColumns
|
|
4
|
+
l as CarePlanStatusCell,
|
|
5
|
+
t as NextAppointmentCell,
|
|
6
|
+
n as PATIENT_ROW_ACTION_COUNT,
|
|
7
|
+
C as PatientTable,
|
|
8
|
+
i as buildPatientColumns,
|
|
9
|
+
o as getResponsiveTier,
|
|
10
|
+
u as useResponsiveColumns
|
|
12
11
|
};
|
|
13
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* `PatientTable` is a thin composition over the kit's `data-table` engine
|
|
5
5
|
* (AG Grid Community) specialised for the AlfaDocs patient list. It bakes in:
|
|
6
6
|
*
|
|
7
|
-
* • `buildPatientColumns(t, …)` (
|
|
7
|
+
* • `buildPatientColumns(t, …)` (one field per column — split identity,
|
|
8
|
+
* grouped hidden columns, dynamic custom fields) merged with a
|
|
8
9
|
* consumer-supplied `columns` override.
|
|
9
|
-
* • the
|
|
10
|
-
*
|
|
10
|
+
* • the kit data-table built-in renderers (Image / Link / Date / Currency /
|
|
11
|
+
* Status / TagList / User) plus the three patient renderers kept for the
|
|
12
|
+
* domain columns (NextAppointment / BalanceBadge / CarePlanStatus).
|
|
11
13
|
* • a default toolbar — `QuickSearch` + `FilterChips` + `ColumnToggle` +
|
|
12
14
|
* `ExportMenu` + a `BulkAction` per `props.bulkActions` — overridable
|
|
13
15
|
* wholesale via `props.toolbar`.
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
*/
|
|
36
38
|
import { type ReactNode } from 'react';
|
|
37
39
|
import { type BuildPatientColumnsOptions } from './columns';
|
|
38
|
-
import type { PatientBulkAction, PatientColumnDef, PatientRow, PatientRowAction, PatientTableHandle, PatientView } from './types';
|
|
40
|
+
import type { PatientBulkAction, PatientColumnDef, PatientCustomFieldDef, PatientRow, PatientRowAction, PatientTableHandle, PatientView } from './types';
|
|
39
41
|
export interface PatientTableProps {
|
|
40
42
|
/**
|
|
41
43
|
* Row data. `undefined` ⇒ the grid renders its loading overlay (the
|
|
@@ -59,6 +61,24 @@ export interface PatientTableProps {
|
|
|
59
61
|
gridId: string;
|
|
60
62
|
/** Row-height preset. Defaults to the engine default (`'default'`). */
|
|
61
63
|
density?: 'compact' | 'default' | 'expanded';
|
|
64
|
+
/**
|
|
65
|
+
* Collapse the per-row actions column into a single "…" overflow trigger
|
|
66
|
+
* independently of row `density`. When `true` the actions cells render the
|
|
67
|
+
* collapsed menu and the column shrinks to its 88px compact footprint; when
|
|
68
|
+
* `false` they render the inline button group at the full expanded width.
|
|
69
|
+
* When `undefined` (the default) compactness FOLLOWS `density` — `compact`
|
|
70
|
+
* density collapses the actions, every other density keeps them inline — so
|
|
71
|
+
* existing consumers are unaffected. Flipping this at runtime re-reads the
|
|
72
|
+
* actions cells via a stable ref-backed getter (no `columnDefs` rebuild, so
|
|
73
|
+
* column state is preserved) and resizes the actions column to match.
|
|
74
|
+
*/
|
|
75
|
+
actionsCompact?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Grid height — forwarded to the underlying `DataTable.heightClass` (a Tailwind
|
|
78
|
+
* height class). Pass `"ds:h-full"` to fill a sized parent, or an explicit
|
|
79
|
+
* value like `"ds:h-[75vh]"`. Omit to use the engine default (`ds:h-[500px]`).
|
|
80
|
+
*/
|
|
81
|
+
heightClass?: string;
|
|
62
82
|
/**
|
|
63
83
|
* Enable container-width column-priority responsiveness (lower-priority
|
|
64
84
|
* columns hide as the grid narrows). Default `true`. Set `false` to leave
|
|
@@ -109,6 +129,13 @@ export interface PatientTableProps {
|
|
|
109
129
|
* affordance elsewhere on the page.
|
|
110
130
|
*/
|
|
111
131
|
hideQuickSearch?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Enable the grid's client-side pagination. When `false`, every row loads into
|
|
134
|
+
* a single virtualised, scrollable view and filter / sort act over the WHOLE
|
|
135
|
+
* set (no pager) — the right model for a "load and filter all" list. Default
|
|
136
|
+
* `true`.
|
|
137
|
+
*/
|
|
138
|
+
pagination?: boolean;
|
|
112
139
|
/**
|
|
113
140
|
* Page-size dropdown options shown in the pagination panel — forwarded to the
|
|
114
141
|
* underlying `DataTable.paginationPageSizeSelector`. Pass `false` to hide the
|
|
@@ -129,6 +156,13 @@ export interface PatientTableProps {
|
|
|
129
156
|
* its click through `onRowAction` with the `show` action.
|
|
130
157
|
*/
|
|
131
158
|
identityHref?: BuildPatientColumnsOptions['identityHref'];
|
|
159
|
+
/**
|
|
160
|
+
* Per-practice custom-field descriptors. Each appends one dynamic `custom:*`
|
|
161
|
+
* column (hidden by default, toggleable via ColumnToggle) after the standard
|
|
162
|
+
* columns. Forwarded to `buildPatientColumns`. Ignored when `columns` is
|
|
163
|
+
* supplied (the consumer owns their columns then).
|
|
164
|
+
*/
|
|
165
|
+
customFields?: PatientCustomFieldDef[];
|
|
132
166
|
/** Override the default region aria-label (`ui.patientTable.regionLabel`). */
|
|
133
167
|
'aria-label'?: string;
|
|
134
168
|
/** Extra class names merged onto the inner grid wrapper. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patient-table.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/patient-table.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"patient-table.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/patient-table.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EAQL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAWf,OAAO,EAIL,KAAK,0BAA0B,EAChC,MAAM,WAAW,CAAC;AAKnB,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,EACZ,MAAM,SAAS,CAAC;AAMjB,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC7B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC7C;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;IACtE;;;;OAIG;IACH,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAClC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,0BAA0B,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC9C;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC1D;;;;;OAKG;IACH,YAAY,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACvC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqJD,eAAO,MAAM,YAAY,kHAyOxB,CAAC"}
|
|
@@ -31,6 +31,23 @@ import type { DataTableHandle, DataTableSortEntry } from '../data-table';
|
|
|
31
31
|
export type PatientMarketingConsent = 0 | 1 | 2;
|
|
32
32
|
/** Biological-sex marker used for the demographic column / gender filter. */
|
|
33
33
|
export type PatientGender = 'm' | 'f' | 'x';
|
|
34
|
+
/**
|
|
35
|
+
* A per-practice custom field descriptor. Drives the dynamic `custom:*` columns
|
|
36
|
+
* appended after the standard ones by `buildPatientColumns`. The `label` is
|
|
37
|
+
* practice-defined display copy — NOT i18n-keyed (it is the header verbatim).
|
|
38
|
+
*/
|
|
39
|
+
export interface PatientCustomFieldDef {
|
|
40
|
+
/** Stable descriptor id. */
|
|
41
|
+
id: string;
|
|
42
|
+
/** Key into {@link PatientRow.customFields}. */
|
|
43
|
+
fieldName: string;
|
|
44
|
+
/** Practice-defined header label — rendered verbatim, never i18n-keyed. */
|
|
45
|
+
label: string;
|
|
46
|
+
/** Renderer + filter shape: plain text, a yes/no checkbox, or a chip. */
|
|
47
|
+
type: 'text' | 'checkbox' | 'dropdown';
|
|
48
|
+
/** Closed value set for `dropdown` fields (feeds the SelectFilter options). */
|
|
49
|
+
options?: string[];
|
|
50
|
+
}
|
|
34
51
|
/** Care-plan acceptance state surfaced by `CarePlanStatusCell`. */
|
|
35
52
|
export type PatientCarePlanStatus = 'accepted' | 'estimate' | 'none';
|
|
36
53
|
/** A single phone number plus its SMS-reminder eligibility. */
|
|
@@ -59,20 +76,47 @@ export interface PatientRow {
|
|
|
59
76
|
emailEnabled: boolean;
|
|
60
77
|
/** Whether the stored email passed validation. */
|
|
61
78
|
emailValid?: boolean;
|
|
79
|
+
/** PEC (certified email) address. */
|
|
80
|
+
pecAddress?: string;
|
|
62
81
|
phoneNumbers: PatientPhoneNumber[];
|
|
82
|
+
/** Whether the patient is eligible to receive SMS reminders. */
|
|
83
|
+
smsReminderEligible?: boolean;
|
|
84
|
+
/** Whether the patient is eligible to receive email reminders. */
|
|
85
|
+
emailReminderEligible?: boolean;
|
|
63
86
|
/** ISO-8601 date string. Age is computed at the render boundary. */
|
|
64
87
|
dateOfBirth?: string;
|
|
65
88
|
gender?: PatientGender;
|
|
89
|
+
/** Place (comune) of birth. */
|
|
90
|
+
placeOfBirth?: string;
|
|
91
|
+
/** ISO-3166-1 alpha-2 country of birth. */
|
|
92
|
+
countryOfBirth?: string;
|
|
93
|
+
street?: string;
|
|
94
|
+
postcode?: string;
|
|
66
95
|
city?: string;
|
|
67
96
|
province?: string;
|
|
68
|
-
/** ISO-3166-1 alpha-2 country code. */
|
|
97
|
+
/** ISO-3166-1 alpha-2 country code (residence). */
|
|
69
98
|
countryCode?: string;
|
|
70
99
|
italianFiscalCode?: string;
|
|
100
|
+
/** Acquisition source (the practice-configured channel). */
|
|
71
101
|
source?: string;
|
|
102
|
+
/** Free-text source override when `source` is `'Other'`. */
|
|
103
|
+
customSource?: string;
|
|
72
104
|
defaultInsurance?: string;
|
|
105
|
+
/** Default discount percentage applied to this patient's plans. */
|
|
106
|
+
defaultDiscount?: number;
|
|
107
|
+
/** Primary clinical diagnosis note. */
|
|
108
|
+
diagnosis?: string;
|
|
109
|
+
/** Patient's occupation. */
|
|
110
|
+
job?: string;
|
|
73
111
|
/** Operator / personal assistant the patient is assigned to. */
|
|
74
112
|
personalAssistant?: string;
|
|
75
113
|
marketingConsent: PatientMarketingConsent;
|
|
114
|
+
/** Year component of the yearly patient numbering (`YYYY`). */
|
|
115
|
+
yearlyNumberingYear?: number;
|
|
116
|
+
/** Sequence component of the yearly patient numbering (`N`). */
|
|
117
|
+
yearlyNumberingNumber?: number;
|
|
118
|
+
/** Whether the patient has a MyDentista portal account. */
|
|
119
|
+
mydentista?: boolean;
|
|
76
120
|
nextAppointment?: string;
|
|
77
121
|
lastAppointment?: string;
|
|
78
122
|
/** Outstanding balance in cents. */
|
|
@@ -84,13 +128,19 @@ export interface PatientRow {
|
|
|
84
128
|
/** ISO-8601 creation timestamp. */
|
|
85
129
|
createdAt: string;
|
|
86
130
|
isArchived?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Per-practice custom-field values, keyed by `PatientCustomFieldDef.fieldName`.
|
|
133
|
+
* Strings for text/dropdown fields; booleans for checkbox fields. Surfaced by
|
|
134
|
+
* the dynamic `custom:*` columns. Never a DOM attribute (PHI rule).
|
|
135
|
+
*/
|
|
136
|
+
customFields?: Record<string, string | boolean>;
|
|
87
137
|
}
|
|
88
138
|
/**
|
|
89
139
|
* Stable column ids for the patient grid. Drives `ColumnToggle`, the
|
|
90
140
|
* responsive-priority map, view presets and the agent column address.
|
|
91
141
|
* Keep in sync with `buildPatientColumns(t)`.
|
|
92
142
|
*/
|
|
93
|
-
export type PatientColumnId = 'select' | '
|
|
143
|
+
export type PatientColumnId = 'select' | 'avatar' | 'lastName' | 'actions' | 'firstName' | 'fiscalCode' | 'age' | 'gender' | 'dateOfBirth' | 'placeOfBirth' | 'countryOfBirth' | 'phone' | 'email' | 'smsReminders' | 'emailReminders' | 'pec' | 'nextAppointment' | 'lastVisit' | 'unpaidBalance' | 'billableAmount' | 'discount' | 'carePlanStatus' | 'diagnosis' | 'insurance' | 'assignedTo' | 'job' | 'source' | 'marketingConsent' | 'patientNumber' | 'portal' | 'createdAt' | 'city' | 'province' | 'postcode' | 'country' | 'street' | `custom:${string}`;
|
|
94
144
|
/**
|
|
95
145
|
* Responsive priority tier. Lower numbers survive longer as the grid narrows:
|
|
96
146
|
* `P0` always visible, `P3` first to hide. The responsive hook toggles
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMzE,6EAA6E;AAC7E,MAAM,MAAM,uBAAuB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEhD,6EAA6E;AAC7E,MAAM,MAAM,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE5C,m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AAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,OAAO,EAAE,SAAS,CAAC;IACjC,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,2DAA2D;IAC3D,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC3C;AAMD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,sDAAsD;IACtD,SAAS,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAMD;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE7D,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAE/C,sEAAsE;AACtE,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;AAEzD,qFAAqF;AACrF,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG,kBAAkB,CAAC"}
|
|
@@ -9,13 +9,15 @@
|
|
|
9
9
|
*
|
|
10
10
|
* BREAKPOINTS (container inline-size → highest tier kept visible):
|
|
11
11
|
*
|
|
12
|
-
* < 640px → P0 only (
|
|
13
|
-
* < 900px → P0 + P1
|
|
14
|
-
* < 1200px → P0 + P1 + P2
|
|
15
|
-
* ≥ 1200px → all tiers (P0–P3)
|
|
12
|
+
* < 640px → P0 only (pinned avatar / firstName / lastName / actions)
|
|
13
|
+
* < 900px → P0 + P1 (+ phone, nextAppointment, balance)
|
|
14
|
+
* < 1200px → P0 + P1 + P2 (+ email, carePlanStatus)
|
|
15
|
+
* ≥ 1200px → all tiers (P0–P3) (+ fiscalCode, age, gender, source)
|
|
16
16
|
*
|
|
17
|
-
* Columns without a tier (the pinned
|
|
18
|
-
*
|
|
17
|
+
* Columns without a tier (the pinned avatar / firstName / lastName / actions
|
|
18
|
+
* anchors, and every grouped `hide: true` column) are never touched — the
|
|
19
|
+
* anchors stay visible at every width; the grouped columns are owned by
|
|
20
|
+
* ColumnToggle only.
|
|
19
21
|
*
|
|
20
22
|
* RESPONSIVE ↔ PERSISTENCE RECONCILIATION
|
|
21
23
|
* ---------------------------------------
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-responsive-columns.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/use-responsive-columns.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"use-responsive-columns.d.ts","sourceRoot":"","sources":["../../../src/components/patient-table/use-responsive-columns.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,OAAO,EAAkC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvE,OAAO,KAAK,EAAc,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAM9E;;;;GAIG;AACH,UAAU,UAAU;IAClB,oEAAoE;IACpE,QAAQ,EAAE,MAAM,CAAC;IACjB,wCAAwC;IACxC,IAAI,EAAE,cAAc,CAAC;CACtB;AA2BD,MAAM,WAAW,2BAA2B;IAC1C;;;;OAIG;IACH,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,UAAU,EAAE,CAAC;CACrC;AAMD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;;;;OAQG;IACH,WAAW,EAAE,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CAAC;CAClD;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,SAAS,CAAC,kBAAkB,GAAG,IAAI,CAAC,EAC/C,IAAI,EAAE,2BAA2B,GAChC,0BAA0B,CAgJ5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-
|
|
1
|
+
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-CxqIXqw7.js";
|
|
2
2
|
export {
|
|
3
3
|
r as PaymentForm,
|
|
4
4
|
s as formatPaymentAmount,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/radiograph-panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,YAAY,EACV,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AgentAdapter } from '../../agent/types';
|
|
2
|
+
import type { RadiographPanelHandle } from './radiograph-panel';
|
|
3
|
+
import type { Radiograph } from '../tooth-scheme';
|
|
4
|
+
/**
|
|
5
|
+
* The Imaging panel for the Control Room rail. It DISPLAYS the selected tooth's
|
|
6
|
+
* radiographs and drives the fullscreen viewer; uploads and deletes are the
|
|
7
|
+
* host's responsibility (the `onAddRadiograph` / `onDeleteRadiograph` props),
|
|
8
|
+
* so they are not exposed here — the consuming pattern/app owns those `write` /
|
|
9
|
+
* `destructive` workflows and their `radiograph.*` API contracts.
|
|
10
|
+
*/
|
|
11
|
+
export declare const radiographPanelAgent: AgentAdapter<RadiographPanelHandle>;
|
|
12
|
+
export type { Radiograph };
|
|
13
|
+
//# sourceMappingURL=radiograph-panel.agent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radiograph-panel.agent.d.ts","sourceRoot":"","sources":["../../../src/components/radiograph-panel/radiograph-panel.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,YAAY,CAAC,qBAAqB,CA0DpE,CAAC;AAGF,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
import { Radiation } from 'lucide-react';
|
|
3
|
+
import type { FdiId, Radiograph } from '../tooth-scheme';
|
|
4
|
+
export interface RadiographPanelHandle {
|
|
5
|
+
/** Read the films currently shown (after the host's `radiographs` prop). */
|
|
6
|
+
getRadiographs: () => Radiograph[];
|
|
7
|
+
/** Open the fullscreen viewer on a film by id. */
|
|
8
|
+
openViewer: (id: string) => void;
|
|
9
|
+
/** Close the fullscreen viewer. */
|
|
10
|
+
closeViewer: () => void;
|
|
11
|
+
}
|
|
12
|
+
export interface RadiographPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'children'> {
|
|
13
|
+
/** Instance id — emitted as `data-component-id` for the agent registry. */
|
|
14
|
+
id?: string;
|
|
15
|
+
/** The tooth whose films are shown (FDI id). Null → a "select a tooth" prompt. */
|
|
16
|
+
toothId?: FdiId | null;
|
|
17
|
+
/** Display label for the selected tooth. Defaults to the localised "Tooth {{id}}". */
|
|
18
|
+
toothLabel?: string;
|
|
19
|
+
/** The selected tooth's films. The panel sorts + filters; order in is irrelevant. */
|
|
20
|
+
radiographs?: Radiograph[];
|
|
21
|
+
/** Commit a new film (the host persists it). Omit to hide the upload composer. */
|
|
22
|
+
onAddRadiograph?: (draft: {
|
|
23
|
+
fileName: string;
|
|
24
|
+
date?: string;
|
|
25
|
+
note?: string;
|
|
26
|
+
}) => void;
|
|
27
|
+
/** Remove a film by id. Omit to hide the delete affordance. */
|
|
28
|
+
onDeleteRadiograph?: (id: string) => void;
|
|
29
|
+
/** Panel heading. Defaults to the localised "Imaging". */
|
|
30
|
+
title?: string;
|
|
31
|
+
/** Accessible name for the panel region (defaults to `title`). */
|
|
32
|
+
'aria-label'?: string;
|
|
33
|
+
}
|
|
34
|
+
export declare const RadiographPanel: import("react").ForwardRefExoticComponent<RadiographPanelProps & import("react").RefAttributes<RadiographPanelHandle>>;
|
|
35
|
+
export { Radiation as RadiographPanelIcon };
|
|
36
|
+
//# sourceMappingURL=radiograph-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radiograph-panel.d.ts","sourceRoot":"","sources":["../../../src/components/radiograph-panel/radiograph-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAEf,OAAO,EASL,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAkB,MAAM,iBAAiB,CAAC;AA2DzE,MAAM,WAAW,qBAAqB;IACpC,4EAA4E;IAC5E,cAAc,EAAE,MAAM,UAAU,EAAE,CAAC;IACnC,kDAAkD;IAClD,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,mCAAmC;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,cAAc,CAAC,WAAW,CAAC,EAC3B,OAAO,GAAG,UAAU,CACrB;IACC,2EA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AM,GACN,QAAQ,GACR,eAAe,GACf,cAAc,GACd,cAAc,GACd,SAAS,GACT,OAAO,GACP,WAAW,CAAC;AAchB,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB,wDAAwD;IACxD,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB,wEAAwE;IACxE,WAAW,EAAE,MAAM,MAAM,CAAC;IAC1B,4DAA4D;IAC5D,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;;OAKG;IACH,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IACvE,sEAAsE;IACtE,WAAW,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAmBD,QAAA,MAAM,eAAe,oFAEpB,CAAC;AA6CF,eAAO,MAAM,cAAc,sHA4nC1B,CAAC;AAIF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-DY9jGjgt.js";
|
|
2
|
-
import { u as k } from "../../_chunks/use-persistent-state-
|
|
2
|
+
import { u as k } from "../../_chunks/use-persistent-state-nZwZAnE9.js";
|
|
3
3
|
export {
|
|
4
4
|
r as Sidebar,
|
|
5
5
|
i as SidebarBody,
|
|
@@ -14,13 +14,18 @@
|
|
|
14
14
|
* Use this when the tab set is open-ended (e.g. a marketplace app's routes).
|
|
15
15
|
* - `fill`: equal-width tabs that fill the bar and always stack the label under
|
|
16
16
|
* the icon — a fixed, always-visible set that fits any column width without
|
|
17
|
-
* scrolling (e.g. a patient portal's
|
|
17
|
+
* scrolling (e.g. a patient portal's handful of sections).
|
|
18
18
|
*
|
|
19
19
|
* Tabs render as links when given an `href` (real navigation) or as buttons
|
|
20
20
|
* otherwise (in-app view switching via `onSelect`). Use it as a header (top,
|
|
21
21
|
* default) for section navigation; `position="bottom"` floats it from the
|
|
22
22
|
* bottom edge for a footer.
|
|
23
23
|
*
|
|
24
|
+
* With `collapseToMenu`, the strip folds into a single DropdownMenu whenever the
|
|
25
|
+
* tabs don't fit — below the `sm` breakpoint OR when they overflow their
|
|
26
|
+
* container at any width (a narrow column on a wide screen, e.g. a page squeezed
|
|
27
|
+
* between two sidebars, clips the tabs just the same as a small viewport).
|
|
28
|
+
*
|
|
24
29
|
* SPA / consumer-router links: pass `renderLink` and TabBar hands each `href`
|
|
25
30
|
* tab off to your router's `<Link>` instead of rendering its own `<a>` — the
|
|
26
31
|
* embedded MarketplaceAppShell strip uses this so a tab click is a client-side
|
|
@@ -97,6 +102,18 @@ export interface TabBarProps {
|
|
|
97
102
|
* `'bottom'` gutters from the bottom edge for a footer.
|
|
98
103
|
*/
|
|
99
104
|
position?: 'top' | 'bottom';
|
|
105
|
+
/**
|
|
106
|
+
* Collapse the tab strip into a single DropdownMenu whenever the tabs don't
|
|
107
|
+
* fit — below the `sm` breakpoint (≤640px) OR when they overflow their
|
|
108
|
+
* container at any viewport width (a narrow column between two sidebars clips
|
|
109
|
+
* the tabs the same as a small screen). The trigger shows the active tab; the
|
|
110
|
+
* menu lists them all. Off (default) keeps the content-width / scroll
|
|
111
|
+
* behaviour at every width, so existing consumers are unaffected. Designed for
|
|
112
|
+
* button (`onSelect`) tabs; in the collapsed menu an `href` tab navigates with
|
|
113
|
+
* a full page load, so `renderLink` (SPA routing) and a per-item `onClick`
|
|
114
|
+
* apply only to the expanded strip.
|
|
115
|
+
*/
|
|
116
|
+
collapseToMenu?: boolean;
|
|
100
117
|
/** Extra classes merged onto the outer strip (e.g. sticky/fixed positioning). */
|
|
101
118
|
className?: string;
|
|
102
119
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAAwB,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW9E,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,4FAA4F;IAC5F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAC1D;AAED;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;IACpB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAC1D;AAED,MAAM,WAAW,WAAW;IAC1B,0BAA0B;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,SAAS,CAAC;IACzD;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0HD,eAAO,MAAM,MAAM,wGA2NlB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './tooth-scheme';
|
|
2
|
-
export { FDI_TO_META, FDI_TO_UNIVERSAL, FDI_TO_PALMER, CONDITION_COLORS, CONDITION_TOKENS, CONDITION_SIDE_SYMBOL, CONDITION_PLAN_FOLDER, SURFACE_ASSET_NAME, toothImageUrl, conditionSymbolUrl, surfaceSymbolUrl, zonesForTooth, zoneSurface, zonePath, chartFromConditions, emptyChart, labelFor, layoutTeeth, } from './tooth-data';
|
|
3
|
-
export type { Anatomy, Arch, Quadrant, Side, Surface, SurfaceZone, Projection, SideSymbolSpec, ToothMeta, PositionedTooth, } from './tooth-data';
|
|
2
|
+
export { FDI_TO_META, FDI_TO_UNIVERSAL, FDI_TO_PALMER, CONDITION_COLORS, CONDITION_TOKENS, CONDITION_SIDE_SYMBOL, CONDITION_PLAN_FOLDER, SURFACE_ASSET_NAME, toothImageUrl, conditionSymbolUrl, surfaceSymbolUrl, zonesForTooth, zoneSurface, zonePath, chartFromConditions, emptyChart, labelFor, layoutTeeth, layoutSpecials, specialsForRow, specialIconUrl, generalElement, isSpecialElement, SPECIAL_ELEMENTS, SPECIAL_BY_ID, } from './tooth-data';
|
|
3
|
+
export type { Anatomy, Arch, Quadrant, Side, Surface, SurfaceZone, Projection, Radiograph, RadiographKind, SideSymbolSpec, SpecialElement, SpecialElementKind, PositionedSpecial, ToothMeta, PositionedTooth, } from './tooth-data';
|
|
4
4
|
export { toothSchemeAgent } from './tooth-scheme.agent';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooth-scheme/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACV,QAAQ,EACR,WAAW,EACX,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,WAAW,EACX,UAAU,EACV,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
-
import { C as o, a as
|
|
1
|
+
import { C as o, a as e, b as t, c as E, F as S, d as T, e as I, P as _, f as l, S as r, g as O, h as N, T as n, i as c, j as h, k as m, l as A, m as i, n as C, o as D, p as F, s as L, q as R, r as P, t as p, u as M, v as U, z as u, w as y, x as b } from "../../_chunks/tooth-scheme-BhQoPNBD.js";
|
|
2
2
|
export {
|
|
3
3
|
o as CONDITION_COLORS,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
r as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
4
|
+
e as CONDITION_PLAN_FOLDER,
|
|
5
|
+
t as CONDITION_SIDE_SYMBOL,
|
|
6
|
+
E as CONDITION_TOKENS,
|
|
7
|
+
S as FDI_TO_META,
|
|
8
|
+
T as FDI_TO_PALMER,
|
|
9
|
+
I as FDI_TO_UNIVERSAL,
|
|
10
|
+
_ as PERMANENT_TEETH,
|
|
11
|
+
l as PRIMARY_TEETH,
|
|
12
|
+
r as SPECIAL_BY_ID,
|
|
13
|
+
O as SPECIAL_ELEMENTS,
|
|
14
|
+
N as SURFACE_ASSET_NAME,
|
|
15
|
+
n as ToothScheme,
|
|
16
|
+
c as chartFromConditions,
|
|
17
|
+
h as conditionSymbolUrl,
|
|
18
|
+
m as emptyChart,
|
|
19
|
+
A as generalElement,
|
|
20
|
+
i as isSpecialElement,
|
|
21
|
+
C as labelFor,
|
|
22
|
+
D as layoutSpecials,
|
|
23
|
+
F as layoutTeeth,
|
|
24
|
+
L as specialIconUrl,
|
|
25
|
+
R as specialsForRow,
|
|
26
|
+
P as surfaceSymbolUrl,
|
|
27
|
+
p as toothImageUrl,
|
|
28
|
+
M as toothSchemeAgent,
|
|
29
|
+
U as toothSchemeVariants,
|
|
30
|
+
u as zonePath,
|
|
31
|
+
y as zoneSurface,
|
|
32
|
+
b as zonesForTooth
|
|
26
33
|
};
|
|
27
34
|
//# sourceMappingURL=index.js.map
|