ohif-viewer/platform/core/src/index.ts
Bill Wallace f6bbd5c779
fix: A couple of changes to enable cs3d integration build (#5944)
* fix: A couple of changes to enable cs3d integration build

* Bun update

* fix: Crosshairs tests due to order changes

* Fix a race in DicomTagBrowser.spec.ts and update the comparison for the screenshot for seg hydration.

* Fix sorting issues by using consistent sort

* fix: Inconsistency in scoord loader.  Will need an update to screenshot

* Fix crosshairs stability issues and random order issues in Scoord

* Update the comparison image

* Update navigate image

* fix: Axios issue

* Update to current CS3D
2026-04-10 16:51:37 -04:00

151 lines
3.2 KiB
TypeScript

import { ExtensionManager, MODULE_TYPES } from './extensions';
import { ServiceProvidersManager, ServicesManager } from './services';
import classes, { CommandsManager, HotkeysManager } from './classes';
import { SystemContextProvider, useSystem } from './contextProviders/SystemProvider';
import { ViewportRefsProvider } from './hooks/useViewportRef';
import DICOMWeb from './DICOMWeb';
import errorHandler from './errorHandler.js';
import log from './log.js';
import object from './object.js';
import string from './string.js';
import user from './user';
import utils from './utils';
import defaults from './defaults';
import * as Types from './types';
import * as Enums from './enums';
import {
CineService,
UIDialogService,
UIModalService,
UINotificationService,
UIViewportDialogService,
//
DicomMetadataStore,
DisplaySetService,
ToolbarService,
MeasurementService,
ViewportGridService,
HangingProtocolService,
pubSubServiceInterface,
PubSubService,
UserAuthenticationService,
CustomizationService,
PanelService,
WorkflowStepsService,
StudyPrefetcherService,
MultiMonitorService,
} from './services';
import { DisplaySetMessage, DisplaySetMessageList } from './services/DisplaySetService';
import IWebApiDataSource from './DataSources/IWebApiDataSource';
import useActiveViewportDisplaySets from './hooks/useActiveViewportDisplaySets';
export * from './hooks';
const hotkeys = {
...utils.hotkeys,
defaults: { hotkeyBindings: defaults.hotkeyBindings },
};
const OHIF = {
MODULE_TYPES,
//
CommandsManager,
ExtensionManager,
HotkeysManager,
ServicesManager,
ServiceProvidersManager,
//
defaults,
utils,
hotkeys,
classes,
string,
user,
errorHandler,
object,
log,
DICOMWeb,
viewer: {},
//
CineService,
CustomizationService,
UIDialogService,
UIModalService,
UINotificationService,
UIViewportDialogService,
DisplaySetService,
MeasurementService,
ToolbarService,
ViewportGridService,
HangingProtocolService,
UserAuthenticationService,
MultiMonitorService,
IWebApiDataSource,
DicomMetadataStore,
pubSubServiceInterface,
PubSubService,
PanelService,
useActiveViewportDisplaySets,
WorkflowStepsService,
StudyPrefetcherService,
};
export {
MODULE_TYPES,
//
CommandsManager,
ExtensionManager,
HotkeysManager,
ServicesManager,
ServiceProvidersManager,
SystemContextProvider,
ViewportRefsProvider,
//
defaults,
utils,
hotkeys,
classes,
string,
user,
errorHandler,
object,
log,
DICOMWeb,
//
CineService,
CustomizationService,
UIDialogService,
UIModalService,
UINotificationService,
UIViewportDialogService,
DisplaySetService,
DisplaySetMessage,
DisplaySetMessageList,
MeasurementService,
MultiMonitorService,
ToolbarService,
ViewportGridService,
HangingProtocolService,
UserAuthenticationService,
IWebApiDataSource,
DicomMetadataStore,
pubSubServiceInterface,
PubSubService,
Enums,
PanelService,
WorkflowStepsService,
StudyPrefetcherService,
useSystem,
useActiveViewportDisplaySets,
};
export { OHIF };
export type { Types };
export type { SortDisplaySetsCopyOptions } from './utils/sortStudy';
export default OHIF;