Compare commits

..
66 changed files with 731 additions and 190 deletions

No files matched your search

+22
View File
@@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
### Bug Fixes
* **action-corners:** check hideWhenDisabled at both the evaluator and prop levels ([#5149](https://github.com/OHIF/Viewers/issues/5149)) ([d6d3fa7](https://github.com/OHIF/Viewers/commit/d6d3fa7ef47cc56ad5c9d0e577023358a0c26381))
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
### Bug Fixes
* **UnitTest:** run was failing due to JS tests importing TS modules ([#5145](https://github.com/OHIF/Viewers/issues/5145)) ([268d62e](https://github.com/OHIF/Viewers/commit/268d62e9913f6ade375e663ba5736b8ebd0c1075))
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @externals/devDependencies
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @externals/devDependencies
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @externals/devDependencies
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@externals/devDependencies",
"description": "External dev dependencies - put dev build dependencies here",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"license": "MIT",
"private": true,
"engines": {
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@externals/dicom-microscopy-viewer",
"description": "External reference to dicom-microscopy-viewer",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"license": "MIT",
"dependencies": {
"dicom-microscopy-viewer": "^0.46.1"
+1 -1
View File
@@ -1 +1 @@
dc829c8fcad1ce1fc2e9aef446cc474d08e00835
d6d3fa7ef47cc56ad5c9d0e577023358a0c26381
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-pmap",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "DICOM Parametric Map read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-rt",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "DICOM RT read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-seg",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "DICOM SEG read workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,10 +33,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dicom-sr",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for an SR Cornerstone Viewport",
"author": "OHIF",
"license": "MIT",
@@ -34,10 +34,10 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-measurement-tracking": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-measurement-tracking": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone-dynamic-volume",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for 4D volumes data",
"author": "OHIF",
"license": "MIT",
@@ -29,11 +29,11 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.21",
"hammerjs": "^2.0.8",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-cornerstone
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-cornerstone
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for Cornerstone",
"author": "OHIF",
"license": "MIT",
@@ -39,8 +39,8 @@
"@cornerstonejs/codec-openjpeg": "^1.2.4",
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/dicom-image-loader": "^3.15.6",
"@ohif/core": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.21",
"hammerjs": "^2.0.8",
+19
View File
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-default
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
### Bug Fixes
* **UnitTest:** run was failing due to JS tests importing TS modules ([#5145](https://github.com/OHIF/Viewers/issues/5145)) ([268d62e](https://github.com/OHIF/Viewers/commit/268d62e9913f6ade375e663ba5736b8ebd0c1075))
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-default
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-default",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Common/default features and functionality for basic image viewing",
"author": "OHIF Core Team",
"license": "MIT",
@@ -32,8 +32,8 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"dcmjs": "*",
"dicomweb-client": "^0.10.4",
"prop-types": "^15.6.2",
@@ -1,49 +1,54 @@
import { DicomMetadataStore, IWebApiDataSource } from '@ohif/core';
import { DicomMetadataStore } from '@ohif/core';
import {
mergeMap,
callForAllDataSourcesAsync,
callForAllDataSources,
callForDefaultDataSource,
callByRetrieveAETitle,
createMergeDataSourceApi,
} from './index';
jest.mock('@ohif/core');
/** Those types aren't exported by their respective modules, thus defined here */
type DataSourceDefinition = {
sourceName: string;
configuration: object;
};
type SeriesData = Record<string, unknown>;
type DataSourceAndSeriesMap = Record<string, SeriesData>;
type DisplaySet = {
StudyInstanceUID: string;
SeriesInstanceUID: string;
};
type DataSourceAndDSMap = Record<string, { displaySet: DisplaySet }>;
type QuerySeriesSearchMock = jest.Mock<Promise<SeriesData[]>, []>;
type GetImageIdsForInstanceFn = () => string[];
type DataSourceInstance = {
[key: string]: QuerySeriesSearchMock | GetImageIdsForInstanceFn;
};
describe('MergeDataSource', () => {
let path,
sourceName,
mergeConfig,
extensionManager,
series1,
series2,
series3,
series4,
mergeKey,
tagFunc,
dataSourceAndSeriesMap,
dataSourceAndUIDsMap,
dataSourceAndDSMap,
pathSync;
let path: string, pathSync: string;
let extensionManager: {
dataSourceDefs: Record<string, DataSourceDefinition>;
getDataSources: jest.Mock<DataSourceInstance[], [string]>;
},
series1: SeriesData,
series2: SeriesData,
series3: SeriesData,
mergeKey: string,
dataSourceAndSeriesMap: DataSourceAndSeriesMap,
dataSourceAndUIDsMap: Record<string, string[]>,
dataSourceAndDSMap: DataSourceAndDSMap;
beforeAll(() => {
path = 'query.series.search';
pathSync = 'getImageIdsForInstance';
tagFunc = jest.fn((data, sourceName) =>
data.map(item => ({ ...item, RetrieveAETitle: sourceName }))
);
sourceName = 'dicomweb1';
mergeKey = 'seriesInstanceUid';
series1 = { [mergeKey]: '123' };
series2 = { [mergeKey]: '234' };
series3 = { [mergeKey]: '345' };
series4 = { [mergeKey]: '456' };
mergeConfig = {
seriesMerge: {
dataSourceNames: ['dicomweb1', 'dicomweb2'],
defaultDataSourceName: 'dicomweb1',
},
};
dataSourceAndSeriesMap = {
dataSource1: series1,
dataSource2: series2,
@@ -115,8 +120,9 @@ describe('MergeDataSource', () => {
mergeMap,
path,
args: [],
extensionManager,
extensionManager: extensionManager as any,
dataSourceNames: ['dataSource1', 'dataSource2'],
defaultDataSourceName: 'dataSource1',
});
/** Assert */
@@ -140,8 +146,9 @@ describe('MergeDataSource', () => {
const data = callForAllDataSources({
path: pathSync,
args: [],
extensionManager,
extensionManager: extensionManager as any,
dataSourceNames: ['dataSource2', 'dataSource3'],
defaultDataSourceName: 'dataSource1',
});
/** Assert */
@@ -165,7 +172,7 @@ describe('MergeDataSource', () => {
const data = callForDefaultDataSource({
path: pathSync,
args: [],
extensionManager,
extensionManager: extensionManager as any,
defaultDataSourceName: 'dataSource2',
});
@@ -178,8 +185,10 @@ describe('MergeDataSource', () => {
describe('callByRetrieveAETitle', () => {
it('should call the correct function and return the data', () => {
const mockedGetSeries = DicomMetadataStore.getSeries as jest.Mock;
/** Arrange */
DicomMetadataStore.getSeries.mockImplementationOnce(() => [series2]);
mockedGetSeries.mockImplementationOnce(() => [series2]);
extensionManager.getDataSources = jest.fn(dataSourceName => [
{
[pathSync]: () => dataSourceAndUIDsMap[dataSourceName],
@@ -190,7 +199,7 @@ describe('MergeDataSource', () => {
const data = callByRetrieveAETitle({
path: pathSync,
args: [dataSourceAndDSMap['dataSource2']],
extensionManager,
extensionManager: extensionManager as any,
defaultDataSourceName: 'dataSource2',
});
@@ -2,19 +2,39 @@ import getDirectURL from './getDirectURL';
import getBulkdataValue from './getBulkdataValue';
import createRenderedRetrieve from './createRenderedRetrieve';
const mockedGetBulkdataValue = getBulkdataValue as jest.Mock;
const mockedCreateRenderedRetrieve = createRenderedRetrieve as jest.Mock;
jest.mock('@ohif/core');
jest.mock('./getBulkdataValue');
jest.mock('./createRenderedRetrieve');
global.URL.createObjectURL = jest.fn(() => 'blob:');
global.URL.createObjectURL = jest.fn(() => 'blob:') as jest.Mock;
describe('getDirectURL', () => {
const config = {
interface GetDirectURLConfig {
singlepart: boolean | string[];
defaultType: string;
}
interface GetDirectURLParams {
tag: string;
defaultPath: string;
instance: {
StudyInstanceUID: string;
SeriesInstanceUID: string;
SOPInstanceUID: string;
[key: string]: unknown;
};
url?: string;
}
const config: GetDirectURLConfig = {
singlepart: true,
defaultType: 'video/mp4',
};
const params = {
const params: GetDirectURLParams = {
tag: 'PixelData',
defaultPath: '/path/to/pixeldata',
instance: {
@@ -24,6 +44,12 @@ describe('getDirectURL', () => {
},
};
beforeEach(() => {
mockedGetBulkdataValue.mockClear();
mockedCreateRenderedRetrieve.mockClear();
(global.URL.createObjectURL as jest.Mock).mockClear();
});
it('should return the provided URL if it exists', () => {
const url = 'https://example.com/direct-retrieve';
@@ -46,7 +72,7 @@ describe('getDirectURL', () => {
instance: {
...params.instance,
PixelData: value,
},
} as GetDirectURLParams['instance'],
});
expect(result).toBe(value.DirectRetrieveURL);
@@ -63,7 +89,7 @@ describe('getDirectURL', () => {
instance: {
...params.instance,
PixelData: value,
},
} as GetDirectURLParams['instance'],
});
expect(result).toContain('blob:');
@@ -85,7 +111,7 @@ describe('getDirectURL', () => {
instance: {
...params.instance,
PixelData: value,
},
} as GetDirectURLParams['instance'],
}
);
@@ -93,7 +119,12 @@ describe('getDirectURL', () => {
});
it('should return the BulkDataURI with defaultType if singlepart is false with retrieveBulkData', async () => {
const value = {
interface PixelDataValueWithRetrieveBulkData {
BulkDataURI: string;
retrieveBulkData: jest.Mock<Promise<Uint8Array>, []>;
}
const value: PixelDataValueWithRetrieveBulkData = {
BulkDataURI: 'https://example.com/bulkdata',
retrieveBulkData: jest.fn().mockResolvedValueOnce(new Uint8Array([0, 1, 2])),
};
@@ -109,7 +140,7 @@ describe('getDirectURL', () => {
instance: {
...params.instance,
PixelData: value,
},
} as GetDirectURLParams['instance'],
}
);
@@ -119,7 +150,12 @@ describe('getDirectURL', () => {
it('should return the BulkDataURI with defaultType if singlepart does not include fetchPart', async () => {
const arr = new Uint8Array([0, 1, 2]);
const value = {
interface PixelDataValueWithRetrieveBulkData {
BulkDataURI: string;
retrieveBulkData: jest.Mock<Promise<Uint8Array>, []>;
}
const value: PixelDataValueWithRetrieveBulkData = {
BulkDataURI: 'https://example.com/bulkdata',
retrieveBulkData: jest.fn().mockResolvedValueOnce(arr),
};
@@ -135,35 +171,37 @@ describe('getDirectURL', () => {
instance: {
...params.instance,
PixelData: value,
},
} as GetDirectURLParams['instance'],
}
);
expect(result).toContain('blob:');
expect(URL.createObjectURL).toHaveBeenCalledWith(new Blob([arr], { type: 'accept=video/mp4' }));
expect(global.URL.createObjectURL).toHaveBeenCalledWith(
new Blob([arr], { type: 'accept=video/mp4' })
);
});
it('should return the URL from getBulkdataValue if it exists', () => {
const bulkDataURL = 'https://example.com/bulkdata';
getBulkdataValue.mockReturnValueOnce(bulkDataURL);
mockedGetBulkdataValue.mockReturnValueOnce(bulkDataURL);
const result = getDirectURL(config, params);
expect(getBulkdataValue).toHaveBeenCalledWith(config, params);
expect(mockedGetBulkdataValue).toHaveBeenCalledWith(config, params);
expect(result).toBe(bulkDataURL);
});
it('should return the URL from createRenderedRetrieve if getBulkdataValue returns falsy', () => {
const renderedRetrieveURL = 'https://example.com/rendered-retrieve';
getBulkdataValue.mockReturnValueOnce(null);
createRenderedRetrieve.mockReturnValueOnce(renderedRetrieveURL);
mockedGetBulkdataValue.mockReturnValueOnce(null);
mockedCreateRenderedRetrieve.mockReturnValueOnce(renderedRetrieveURL);
const result = getDirectURL(config, params);
expect(getBulkdataValue).toHaveBeenCalledWith(config, params);
expect(createRenderedRetrieve).toHaveBeenCalledWith(config, params);
expect(mockedGetBulkdataValue).toHaveBeenCalledWith(config, params);
expect(mockedCreateRenderedRetrieve).toHaveBeenCalledWith(config, params);
expect(result).toBe(renderedRetrieveURL);
});
});
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-microscopy",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for DICOM microscopy",
"author": "Bill Wallace, md-prog",
"license": "MIT",
@@ -30,10 +30,10 @@
"start": "yarn run dev"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"prop-types": "^15.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-dicom-pdf
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-pdf
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-pdf
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-pdf",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for PDF display",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-dicom-video
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-video
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-dicom-video
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-video",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for video display",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-measurement-tracking
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-measurement-tracking
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-measurement-tracking
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-measurement-tracking",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Tracking features and functionality for basic image viewing",
"author": "OHIF Core Team",
"license": "MIT",
@@ -34,10 +34,10 @@
"peerDependencies": {
"@cornerstonejs/core": "^3.15.6",
"@cornerstonejs/tools": "^3.15.6",
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"classnames": "^2.3.2",
"dcmjs": "*",
"lodash.debounce": "^4.0.8",
@@ -49,7 +49,7 @@
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.59",
"@xstate/react": "^3.2.2",
"xstate": "^4.10.0"
}
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-test
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-test
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-test
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-test",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension used inside e2e testing",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "0.38.0",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/extension-tmtv
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-tmtv
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/extension-tmtv
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-tmtv",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF extension for Total Metabolic Tumor Volume",
"author": "OHIF",
"license": "MIT",
@@ -30,8 +30,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"dcmjs": "*",
"dicom-parser": "^1.8.9",
"hammerjs": "^2.0.8",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"packages": ["extensions/*", "platform/*", "modes/*", "addOns/externals/*"],
"npmClient": "yarn"
}
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-basic-dev-mode",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Basic OHIF Viewer Using Cornerstone",
"author": "OHIF",
"license": "MIT",
@@ -31,12 +31,12 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-test
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-test
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-test
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-test",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Basic mode for testing",
"author": "OHIF",
"license": "MIT",
@@ -34,14 +34,14 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57",
"@ohif/extension-measurement-tracking": "3.11.0-beta.57",
"@ohif/extension-test": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59",
"@ohif/extension-measurement-tracking": "3.11.0-beta.59",
"@ohif/extension-test": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-longitudinal
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-longitudinal
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-longitudinal
+10 -10
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-longitudinal",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Longitudinal Workflow",
"author": "OHIF",
"license": "MIT",
@@ -34,15 +34,15 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57",
"@ohif/extension-measurement-tracking": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59",
"@ohif/extension-measurement-tracking": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-microscopy
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-microscopy
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-microscopy
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-microscopy",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF mode for DICOM microscopy",
"author": "OHIF",
"license": "MIT",
@@ -35,8 +35,8 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-preclinical-4d
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-preclinical-4d
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-preclinical-4d
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-preclinical-4d",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "4D Workflow",
"author": "OHIF",
"license": "MIT",
@@ -33,12 +33,12 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dynamic-volume": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-tmtv": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dynamic-volume": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-tmtv": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13"
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-segmentation
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-segmentation
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-segmentation
+9 -9
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-segmentation",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "OHIF segmentation mode which enables labelmap segmentation read/edit/export",
"author": "@ohif",
"license": "MIT",
@@ -35,14 +35,14 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/mode-tmtv
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-tmtv
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/mode-tmtv
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/mode-tmtv",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Total Metabolic Tumor Volume Workflow",
"author": "OHIF",
"license": "MIT",
@@ -34,13 +34,13 @@
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
},
"peerDependencies": {
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57",
"@ohif/extension-measurement-tracking": "3.11.0-beta.57"
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59",
"@ohif/extension-measurement-tracking": "3.11.0-beta.59"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/app
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/app
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/app
+18 -18
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/app",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"productVersion": "3.4.0",
"description": "OHIF Viewer",
"author": "OHIF Contributors",
@@ -55,23 +55,23 @@
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/dicom-image-loader": "^3.15.6",
"@emotion/serialize": "^1.1.3",
"@ohif/core": "3.11.0-beta.57",
"@ohif/extension-cornerstone": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.57",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.57",
"@ohif/extension-default": "3.11.0-beta.57",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.57",
"@ohif/extension-dicom-pdf": "3.11.0-beta.57",
"@ohif/extension-dicom-video": "3.11.0-beta.57",
"@ohif/extension-test": "3.11.0-beta.57",
"@ohif/i18n": "3.11.0-beta.57",
"@ohif/mode-basic-dev-mode": "3.11.0-beta.57",
"@ohif/mode-longitudinal": "3.11.0-beta.57",
"@ohif/mode-microscopy": "3.11.0-beta.57",
"@ohif/mode-test": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/ui-next": "3.11.0-beta.57",
"@ohif/core": "3.11.0-beta.59",
"@ohif/extension-cornerstone": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-rt": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-seg": "3.11.0-beta.59",
"@ohif/extension-cornerstone-dicom-sr": "3.11.0-beta.59",
"@ohif/extension-default": "3.11.0-beta.59",
"@ohif/extension-dicom-microscopy": "3.11.0-beta.59",
"@ohif/extension-dicom-pdf": "3.11.0-beta.59",
"@ohif/extension-dicom-video": "3.11.0-beta.59",
"@ohif/extension-test": "3.11.0-beta.59",
"@ohif/i18n": "3.11.0-beta.59",
"@ohif/mode-basic-dev-mode": "3.11.0-beta.59",
"@ohif/mode-longitudinal": "3.11.0-beta.59",
"@ohif/mode-microscopy": "3.11.0-beta.59",
"@ohif/mode-test": "3.11.0-beta.59",
"@ohif/ui": "3.11.0-beta.59",
"@ohif/ui-next": "3.11.0-beta.59",
"@svgr/webpack": "^8.1.0",
"@types/react": "^18.3.3",
"classnames": "^2.3.2",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/cli
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/cli
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/cli
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/cli",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "A CLI to bootstrap new OHIF extension or mode",
"type": "module",
"main": "src/index.js",
+19
View File
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
### Bug Fixes
* **action-corners:** check hideWhenDisabled at both the evaluator and prop levels ([#5149](https://github.com/OHIF/Viewers/issues/5149)) ([d6d3fa7](https://github.com/OHIF/Viewers/commit/d6d3fa7ef47cc56ad5c9d0e577023358a0c26381))
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/core
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/core
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/core",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Generic business logic for web-based medical imaging applications",
"author": "OHIF Core Team",
"license": "MIT",
@@ -39,7 +39,7 @@
"@cornerstonejs/codec-openjph": "^2.4.5",
"@cornerstonejs/core": "^3.15.6",
"@cornerstonejs/dicom-image-loader": "^3.15.6",
"@ohif/ui": "3.11.0-beta.57",
"@ohif/ui": "3.11.0-beta.59",
"cornerstone-math": "0.1.9",
"dicom-parser": "^1.8.21"
},
@@ -310,11 +310,13 @@ export default class ToolbarService extends PubSubService {
typeof props.evaluate === 'function'
? props.evaluate({ ...refreshProps, button })
: undefined;
// Check hideWhenDisabled at both evaluateProps level and props level
const hideWhenDisabled = evaluateProps?.hideWhenDisabled || props.hideWhenDisabled;
const updatedProps = {
...props,
...evaluated,
disabled: evaluated?.disabled || false,
visible: evaluateProps?.hideWhenDisabled && evaluated?.disabled ? false : true,
visible: hideWhenDisabled && evaluated?.disabled ? false : true,
className: evaluated?.className || '',
isActive: evaluated?.isActive, // isActive will be undefined for buttons without this prop
};
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package ohif-docs
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package ohif-docs
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package ohif-docs
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ohif-docs",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/i18n
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/i18n
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/i18n
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/i18n",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Internationalization library for The OHIF Viewer",
"author": "OHIF",
"license": "MIT",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/ui-next
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/ui-next
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/ui-next
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/ui-next",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "Next version of OHIF Viewers UI, more customizable using shadcn/ui",
"main": "dist/ohif-ui-next.umd.js",
"module": "src/index.ts",
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.11.0-beta.59](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.58...v3.11.0-beta.59) (2025-06-20)
**Note:** Version bump only for package @ohif/ui
# [3.11.0-beta.58](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.57...v3.11.0-beta.58) (2025-06-18)
**Note:** Version bump only for package @ohif/ui
# [3.11.0-beta.57](https://github.com/OHIF/Viewers/compare/v3.11.0-beta.56...v3.11.0-beta.57) (2025-06-18)
**Note:** Version bump only for package @ohif/ui
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ohif/ui",
"version": "3.11.0-beta.57",
"version": "3.11.0-beta.59",
"description": "A set of React components for Medical Imaging Viewers",
"author": "OHIF Contributors",
"license": "MIT",
+2 -2
View File
@@ -1,4 +1,4 @@
{
"version": "3.11.0-beta.57",
"commit": "dc829c8fcad1ce1fc2e9aef446cc474d08e00835"
"version": "3.11.0-beta.59",
"commit": "d6d3fa7ef47cc56ad5c9d0e577023358a0c26381"
}
+1 -1
View File
@@ -1 +1 @@
3.11.0-beta.57
3.11.0-beta.59