* Replaced legacy Button * Updated Dialog width * Restore text and spacing fixes * Updated drop zone styling * Migrated to ui-next colors
23 lines
771 B
TypeScript
23 lines
771 B
TypeScript
import { CinePlayer } from '@ohif/ui-next';
|
|
import DicomUpload from '../components/DicomUpload/DicomUpload';
|
|
|
|
// Provide a wider default container for the DICOM Upload modal, without
|
|
// affecting other dialogs. We attach a static property that WorkList reads.
|
|
const DicomUploadWithSize = Object.assign(DicomUpload, {
|
|
containerClassName: 'max-w-3xl',
|
|
});
|
|
|
|
export default {
|
|
cinePlayer: CinePlayer,
|
|
autoCineModalities: ['OT', 'US'],
|
|
'panelMeasurement.disableEditing': false,
|
|
onBeforeSRAddMeasurement: ({ measurement, StudyInstanceUID, SeriesInstanceUID }) => {
|
|
return measurement;
|
|
},
|
|
onBeforeDicomStore: ({ dicomDict, measurementData, naturalizedReport }) => {
|
|
return dicomDict;
|
|
},
|
|
dicomUploadComponent: DicomUploadWithSize,
|
|
codingValues: {},
|
|
};
|