Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
becd208924 | ||
|
|
2258c7957a | ||
|
|
d186749c5a | ||
|
|
09093b3f0a |
No files matched your search
@@ -122,7 +122,7 @@ jobs:
|
||||
run: |
|
||||
mkdir -p packaged-test-results
|
||||
cp -r ./tests/test-results packaged-test-results/ || true
|
||||
cp ./tests/playwright-report.json packaged-test-results/ || true
|
||||
cp -r ./tests/playwright-report packaged-test-results/ || true
|
||||
- name: Upload directory of test results artifact
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **tests:** Add tests for duplicating contour segments ([#6002](https://github.com/OHIF/Viewers/issues/6002)) ([2258c79](https://github.com/OHIF/Viewers/commit/2258c7957a18ed0f1a75d2bd5d379006797b2882))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package ohif-monorepo-root
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
|
||||
|
||||
+16
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @externals/devDependencies
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @externals/devDependencies
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @externals/devDependencies
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@externals/devDependencies",
|
||||
"description": "External dev dependencies - put dev build dependencies here",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"engines": {
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @externals/dicom-microscopy-viewer
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@externals/dicom-microscopy-viewer",
|
||||
"description": "External reference to dicom-microscopy-viewer",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"dicom-microscopy-viewer": "0.48.17"
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
95251ab6709934e4ef59931379f8d9d7629f87b2
|
||||
2258c7957a18ed0f1a75d2bd5d379006797b2882
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-pmap
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone-dicom-pmap",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "DICOM Parametric Map read workflow",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -33,10 +33,10 @@
|
||||
"start": "yarn run dev"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"prop-types": "15.8.1",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-rt
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone-dicom-rt",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "DICOM RT read workflow",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -33,10 +33,10 @@
|
||||
"start": "yarn run dev"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"prop-types": "15.8.1",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-seg
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone-dicom-seg",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "DICOM SEG read workflow",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -33,10 +33,10 @@
|
||||
"start": "yarn run dev"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"prop-types": "15.8.1",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dicom-sr
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone-dicom-sr",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone-dynamic-volume
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone-dynamic-volume",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-cornerstone
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ module.exports = {
|
||||
moduleNameMapper: {
|
||||
...base.moduleNameMapper,
|
||||
'@ohif/(.*)': '<rootDir>/../../platform/$1/src',
|
||||
'^@cornerstonejs/([^/]+)/(.*)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm/$2',
|
||||
'^@cornerstonejs/([^/]+)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm',
|
||||
},
|
||||
// rootDir: "../.."
|
||||
// testMatch: [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-cornerstone",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "OHIF extension for Cornerstone",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -41,8 +41,8 @@
|
||||
"@cornerstonejs/codec-openjpeg": "1.3.0",
|
||||
"@cornerstonejs/codec-openjph": "2.4.7",
|
||||
"@cornerstonejs/dicom-image-loader": "4.22.8",
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"hammerjs": "2.0.8",
|
||||
|
||||
@@ -178,14 +178,6 @@ export default async function init({
|
||||
);
|
||||
});
|
||||
|
||||
// add metadata providers
|
||||
metaData.addProvider(
|
||||
csUtilities.calibratedPixelSpacingMetadataProvider.get.bind(
|
||||
csUtilities.calibratedPixelSpacingMetadataProvider
|
||||
)
|
||||
); // this provider is required for Calibration tool
|
||||
metaData.addProvider(metadataProvider.get.bind(metadataProvider), 9999);
|
||||
|
||||
// These are set reasonably low to allow for interleaved retrieves and slower
|
||||
// connections.
|
||||
imageLoadPoolManager.maxNumRequests = {
|
||||
@@ -197,6 +189,16 @@ export default async function init({
|
||||
|
||||
initWADOImageLoader(userAuthenticationService, appConfig, extensionManager);
|
||||
|
||||
// Add OHIF metadata providers after dicomImageLoader.init().
|
||||
// The linked metadata branch clears providers during loader init.
|
||||
metaData.addProvider(csUtilities.genericMetadataProvider.get, 9998);
|
||||
metaData.addProvider(
|
||||
csUtilities.calibratedPixelSpacingMetadataProvider.get.bind(
|
||||
csUtilities.calibratedPixelSpacingMetadataProvider
|
||||
)
|
||||
); // this provider is required for Calibration tool
|
||||
metaData.addProvider(metadataProvider.get.bind(metadataProvider), 9999);
|
||||
|
||||
/* Measurement Service */
|
||||
this.measurementServiceSource = connectToolsToMeasurementService({
|
||||
servicesManager,
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-default
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-default
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-default
|
||||
|
||||
@@ -5,7 +5,6 @@ module.exports = {
|
||||
moduleNameMapper: {
|
||||
...base.moduleNameMapper,
|
||||
'@ohif/(.*)': '<rootDir>/../../platform/$1/src',
|
||||
'^@cornerstonejs/(.*)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm',
|
||||
},
|
||||
// rootDir: "../.."
|
||||
// testMatch: [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-default",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Common/default features and functionality for basic image viewing",
|
||||
"author": "OHIF Core Team",
|
||||
"license": "MIT",
|
||||
@@ -34,8 +34,8 @@
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicomweb-client": "0.10.4",
|
||||
"prop-types": "15.8.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import OHIF from '@ohif/core';
|
||||
|
||||
import { InstanceMetadata, PhilipsPETPrivateGroup } from '@cornerstonejs/calculate-suv/src/types';
|
||||
import type { InstanceMetadata, PhilipsPETPrivateGroup } from '@cornerstonejs/calculate-suv/src/types';
|
||||
|
||||
const metadataProvider = OHIF.classes.MetadataProvider;
|
||||
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-microscopy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-dicom-microscopy",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"prop-types": "15.8.1",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-pdf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-pdf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-pdf
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-dicom-pdf",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-video
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-video
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-dicom-video
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-dicom-video",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-measurement-tracking
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-measurement-tracking
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-measurement-tracking
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-measurement-tracking",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Tracking features and functionality for basic image viewing",
|
||||
"author": "OHIF Core Team",
|
||||
"license": "MIT",
|
||||
@@ -34,10 +34,10 @@
|
||||
"peerDependencies": {
|
||||
"@cornerstonejs/core": "4.22.8",
|
||||
"@cornerstonejs/tools": "4.22.8",
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"classnames": "2.5.1",
|
||||
"dcmjs": "0.49.4",
|
||||
"lodash.debounce": "4.0.8",
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"@xstate/react": "3.2.2",
|
||||
"xstate": "4.38.3"
|
||||
}
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-test
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-test
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-test
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-test",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-tmtv
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-tmtv
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-tmtv
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-tmtv",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"dcmjs": "0.49.4",
|
||||
"dicom-parser": "1.8.21",
|
||||
"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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-ultrasound-pleura-bline
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-ultrasound-pleura-bline
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/extension-ultrasound-pleura-bline
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/extension-ultrasound-pleura-bline",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "",
|
||||
"author": "Rodrigo Basilio",
|
||||
"license": "MIT",
|
||||
@@ -44,11 +44,11 @@
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/core": "4.22.8",
|
||||
"@cornerstonejs/tools": "4.22.8",
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/ui-next": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"@ohif/ui-next": "3.13.0-beta.81"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.28.0",
|
||||
|
||||
@@ -18,6 +18,13 @@ module.exports = {
|
||||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
||||
'<rootDir>/src/__mocks__/fileMock.js',
|
||||
'\\.(css|less)$': 'identity-obj-proxy',
|
||||
// calculate-suv publishes under dist/ (not dist/esm), so map it explicitly
|
||||
// before package-specific catch-all @cornerstonejs mappings.
|
||||
'^@cornerstonejs/calculate-suv$': '<rootDir>/../../node_modules/@cornerstonejs/calculate-suv',
|
||||
'^@cornerstonejs/calculate-suv/(.*)$':
|
||||
'<rootDir>/../../node_modules/@cornerstonejs/calculate-suv/$1',
|
||||
'^@cornerstonejs/([^/]+)/(.*)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm/$2',
|
||||
'^@cornerstonejs/([^/]+)$': '<rootDir>/../../node_modules/@cornerstonejs/$1/dist/esm',
|
||||
},
|
||||
// Setup
|
||||
// setupFiles: ["jest-canvas-mock/lib/index.js"],
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"packages": ["extensions/*", "platform/*", "modes/*", "addOns/externals/*"],
|
||||
"npmClient": "yarn"
|
||||
}
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic-dev-mode
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-basic-dev-mode",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-test
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-test
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-test
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-test",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.79",
|
||||
"@ohif/extension-test": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.81",
|
||||
"@ohif/extension-test": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-basic
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-basic",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "A basic mode used to build other modes on top of",
|
||||
"author": "OHIF Contributors",
|
||||
"license": "MIT",
|
||||
@@ -21,14 +21,14 @@
|
||||
"yarn": ">=1.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2"
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-longitudinal
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-longitudinal
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-longitudinal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-longitudinal",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Longitudinal Workflow",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -34,16 +34,16 @@
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.79",
|
||||
"@ohif/mode-basic": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.81",
|
||||
"@ohif/mode-basic": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-microscopy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-microscopy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-microscopy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-microscopy",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-dicom-microscopy": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-microscopy": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-preclinical-4d
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-preclinical-4d
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-preclinical-4d
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-preclinical-4d",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "4D Workflow",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -33,12 +33,12 @@
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dynamic-volume": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-tmtv": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dynamic-volume": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-tmtv": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2"
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-segmentation
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-segmentation
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-segmentation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-segmentation",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "OHIF segmentation mode which enables labelmap segmentation read/edit/export",
|
||||
"author": "@ohif",
|
||||
"license": "MIT",
|
||||
@@ -35,15 +35,15 @@
|
||||
"test:unit:ci": "jest --ci --runInBand --collectCoverage --passWithNoTests"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79",
|
||||
"@ohif/mode-basic": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81",
|
||||
"@ohif/mode-basic": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-tmtv
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-tmtv
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-tmtv
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-tmtv",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.79"
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81",
|
||||
"@ohif/extension-measurement-tracking": "3.13.0-beta.81"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "7.28.2",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-ultrasound-pleura-bline
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-ultrasound-pleura-bline
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/mode-ultrasound-pleura-bline
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/mode-ultrasound-pleura-bline",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Allows users to annotate ultrasound images with pleura B-line annotations.",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
@@ -36,9 +36,9 @@
|
||||
"@babel/runtime": "7.28.2",
|
||||
"@cornerstonejs/core": "4.22.8",
|
||||
"@cornerstonejs/tools": "4.22.8",
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-ultrasound-pleura-bline": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-ultrasound-pleura-bline": "3.13.0-beta.81",
|
||||
"i18next": "17.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -14,6 +14,9 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const SRC_DIR = path.join(__dirname, '../src');
|
||||
const DIST_DIR = path.join(__dirname, '../dist');
|
||||
const PUBLIC_DIR = path.join(__dirname, '../public');
|
||||
|
||||
// Ignore node_modules except @cornerstonejs (symlinked local development).
|
||||
const WATCH_IGNORED = /node_modules[\\/](?!@cornerstonejs(?:[\\/]|$))/;
|
||||
// ~~ Env Vars
|
||||
const HTML_TEMPLATE = process.env.HTML_TEMPLATE || 'index.html';
|
||||
const PUBLIC_URL = process.env.PUBLIC_URL || '/';
|
||||
@@ -206,7 +209,8 @@ module.exports = (env, argv) => {
|
||||
}
|
||||
|
||||
mergedConfig.watchOptions = {
|
||||
ignored: /node_modules\/@cornerstonejs/,
|
||||
ignored: WATCH_IGNORED,
|
||||
followSymlinks: true,
|
||||
};
|
||||
|
||||
return mergedConfig;
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/app
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/app
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/app
|
||||
|
||||
+20
-20
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/app",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"productVersion": "3.4.0",
|
||||
"description": "OHIF Viewer",
|
||||
"author": "OHIF Contributors",
|
||||
@@ -56,25 +56,25 @@
|
||||
"@cornerstonejs/codec-openjph": "2.4.7",
|
||||
"@cornerstonejs/dicom-image-loader": "4.22.8",
|
||||
"@emotion/serialize": "1.3.3",
|
||||
"@ohif/core": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.79",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.79",
|
||||
"@ohif/extension-default": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-microscopy": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.79",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.79",
|
||||
"@ohif/extension-test": "3.13.0-beta.79",
|
||||
"@ohif/extension-ultrasound-pleura-bline": "3.13.0-beta.79",
|
||||
"@ohif/i18n": "3.13.0-beta.79",
|
||||
"@ohif/mode-basic-dev-mode": "3.13.0-beta.79",
|
||||
"@ohif/mode-longitudinal": "3.13.0-beta.79",
|
||||
"@ohif/mode-microscopy": "3.13.0-beta.79",
|
||||
"@ohif/mode-test": "3.13.0-beta.79",
|
||||
"@ohif/mode-ultrasound-pleura-bline": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/ui-next": "3.13.0-beta.79",
|
||||
"@ohif/core": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-seg": "3.13.0-beta.81",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.13.0-beta.81",
|
||||
"@ohif/extension-default": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-microscopy": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-pdf": "3.13.0-beta.81",
|
||||
"@ohif/extension-dicom-video": "3.13.0-beta.81",
|
||||
"@ohif/extension-test": "3.13.0-beta.81",
|
||||
"@ohif/extension-ultrasound-pleura-bline": "3.13.0-beta.81",
|
||||
"@ohif/i18n": "3.13.0-beta.81",
|
||||
"@ohif/mode-basic-dev-mode": "3.13.0-beta.81",
|
||||
"@ohif/mode-longitudinal": "3.13.0-beta.81",
|
||||
"@ohif/mode-microscopy": "3.13.0-beta.81",
|
||||
"@ohif/mode-test": "3.13.0-beta.81",
|
||||
"@ohif/mode-ultrasound-pleura-bline": "3.13.0-beta.81",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"@ohif/ui-next": "3.13.0-beta.81",
|
||||
"@svgr/webpack": "8.1.0",
|
||||
"@types/react": "18.3.23",
|
||||
"classnames": "2.5.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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/cli
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/cli",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "A CLI to bootstrap new OHIF extension or mode",
|
||||
"type": "module",
|
||||
"main": "src/index.js",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/core
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/core",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"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.7",
|
||||
"@cornerstonejs/core": "4.22.8",
|
||||
"@cornerstonejs/dicom-image-loader": "4.22.8",
|
||||
"@ohif/ui": "3.13.0-beta.79",
|
||||
"@ohif/ui": "3.13.0-beta.81",
|
||||
"cornerstone-math": "0.1.10",
|
||||
"dicom-parser": "1.8.21"
|
||||
},
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package ohif-docs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package ohif-docs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package ohif-docs
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ohif-docs",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/i18n
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/i18n
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/i18n
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/i18n",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Internationalization library for The OHIF Viewer",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui-next
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui-next
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui-next
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/ui-next",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "Next version of OHIF Viewers UI, more customizable using shadcn/ui",
|
||||
"main": "dist/ohif-ui-next.umd.js",
|
||||
"module": "src/index.ts",
|
||||
|
||||
@@ -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.13.0-beta.81](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.80...v3.13.0-beta.81) (2026-05-21)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.80](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.79...v3.13.0-beta.80) (2026-05-20)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [3.13.0-beta.79](https://github.com/OHIF/Viewers/compare/v3.13.0-beta.78...v3.13.0-beta.79) (2026-05-19)
|
||||
|
||||
**Note:** Version bump only for package @ohif/ui
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/ui",
|
||||
"version": "3.13.0-beta.79",
|
||||
"version": "3.13.0-beta.81",
|
||||
"description": "A set of React components for Medical Imaging Viewers",
|
||||
"author": "OHIF Contributors",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -4,17 +4,13 @@ export default defineConfig({
|
||||
testDir: './tests',
|
||||
fullyParallel: !!process.env.CI,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: process.env.CI ? 3 : 0,
|
||||
retries: process.env.CI ? 1 : 0,
|
||||
maxFailures: process.env.CI ? 10 : undefined,
|
||||
workers: process.env.CI ? 6 : undefined,
|
||||
snapshotPathTemplate: './tests/screenshots{/projectName}/{testFilePath}/{arg}{ext}',
|
||||
outputDir: './tests/test-results',
|
||||
reporter: [
|
||||
[
|
||||
process.env.CI ? 'json' : 'html',
|
||||
process.env.CI
|
||||
? { outputFile: './tests/playwright-report.json' }
|
||||
: { outputFolder: './tests/playwright-report' },
|
||||
],
|
||||
['html', { outputFolder: './tests/playwright-report' }],
|
||||
],
|
||||
globalTimeout: 800_000,
|
||||
timeout: 800_000,
|
||||
|
||||
+8
-1
@@ -27,7 +27,13 @@ const PROXY_PATH_REWRITE_TO = process.env.PROXY_PATH_REWRITE_TO;
|
||||
const OHIF_PORT = Number(process.env.OHIF_PORT || 3000);
|
||||
const OHIF_OPEN = process.env.OHIF_OPEN !== 'false';
|
||||
|
||||
// Ignore node_modules except @cornerstonejs (symlinked local development).
|
||||
const WATCH_IGNORED = /node_modules[\\/](?!@cornerstonejs(?:[\\/]|$))/;
|
||||
|
||||
export default defineConfig({
|
||||
dev: {
|
||||
lazyCompilation: false,
|
||||
},
|
||||
source: {
|
||||
entry: {
|
||||
index: `${SRC_DIR}/index.js`,
|
||||
@@ -83,7 +89,8 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
watchOptions: {
|
||||
ignored: /node_modules\/@cornerstonejs/,
|
||||
ignored: WATCH_IGNORED,
|
||||
followSymlinks: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { expect, test, visitStudy, getSvgPath, navigateWithViewportArrow } from './utils';
|
||||
import { expect, test, visitStudy, getSvgAttribute, navigateWithViewportArrow } from './utils';
|
||||
import { expectRowSelected } from './utils/assertions';
|
||||
|
||||
const studyInstanceUID = '1.2.840.113619.2.290.3.3767434740.226.1600859119.501';
|
||||
@@ -26,42 +26,74 @@ test('should navigate the contours when clicking each segments in the right pane
|
||||
const getSegment = (index: number) =>
|
||||
rightPanelPageObject.contourSegmentationPanel.panel.nthSegment(index);
|
||||
|
||||
const seg0 = await getSvgPath(viewportPageObject);
|
||||
const seg0 = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg0, 'Segment at index 0: expected a non-null SVG path').not.toBeNull();
|
||||
|
||||
await getSegment(3).click();
|
||||
const seg3 = await getSvgPath(viewportPageObject);
|
||||
const seg3 = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg3, 'Segment at index 3: expected a non-null SVG path').not.toBeNull();
|
||||
await expectRowSelected(getSegment(3));
|
||||
|
||||
await getSegment(2).click();
|
||||
const seg2 = await getSvgPath(viewportPageObject);
|
||||
const seg2 = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg2, 'Segment at index 2: expected a non-null SVG path').not.toBeNull();
|
||||
await expectRowSelected(getSegment(2));
|
||||
|
||||
await getSegment(1).click();
|
||||
const seg1 = await getSvgPath(viewportPageObject);
|
||||
const seg1 = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg1, 'Segment at index 1: expected a non-null SVG path').not.toBeNull();
|
||||
await expectRowSelected(getSegment(1));
|
||||
|
||||
// Clicking segments again should return the original paths
|
||||
await getSegment(2).click();
|
||||
const seg2Again = await getSvgPath(viewportPageObject);
|
||||
const seg2Again = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg2Again, 'Segment 2 again: expected to match the original segment 2 path').toBe(seg2);
|
||||
await expectRowSelected(getSegment(2));
|
||||
|
||||
await getSegment(1).click();
|
||||
const seg1Again = await getSvgPath(viewportPageObject);
|
||||
const seg1Again = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg1Again, 'Segment 1 again: expected to match the original segment 1 path').toBe(seg1);
|
||||
await expectRowSelected(getSegment(1));
|
||||
|
||||
await getSegment(0).click();
|
||||
const seg0Again = await getSvgPath(viewportPageObject);
|
||||
const seg0Again = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg0Again, 'Segment 0 again: expected to match the original segment 0 path').toBe(seg0);
|
||||
await expectRowSelected(getSegment(0));
|
||||
|
||||
await getSegment(3).click();
|
||||
const seg3Again = await getSvgPath(viewportPageObject);
|
||||
const seg3Again = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(seg3Again, 'Segment 3 again: expected to match the original segment 3 path').toBe(seg3);
|
||||
await expectRowSelected(getSegment(3));
|
||||
});
|
||||
@@ -73,29 +105,49 @@ test('should navigate the segmentations using the Viewport arrow buttons', async
|
||||
const getSegment = (index: number) =>
|
||||
rightPanelPageObject.contourSegmentationPanel.panel.nthSegment(index);
|
||||
|
||||
const initialSvgPath = await getSvgPath(viewportPageObject);
|
||||
const initialSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(initialSvgPath, 'Segment at index 0: expected a non-null SVG path').not.toBeNull();
|
||||
// Expect the correct segment to be selected in the right panel
|
||||
await expectRowSelected(getSegment(0));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'next');
|
||||
const secondSvgPath = await getSvgPath(viewportPageObject);
|
||||
const secondSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(secondSvgPath, 'Segment at index 1: expected a different SVG path from segment 0').not.toBe(initialSvgPath);
|
||||
await expectRowSelected(getSegment(1));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'next');
|
||||
const thirdSvgPath = await getSvgPath(viewportPageObject);
|
||||
const thirdSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(thirdSvgPath, 'Segment at index 2: expected a different SVG path from segment 1').not.toBe(secondSvgPath);
|
||||
await expectRowSelected(getSegment(2));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'next');
|
||||
const fourthSvgPath = await getSvgPath(viewportPageObject);
|
||||
const fourthSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(fourthSvgPath, 'Segment at index 3: expected a different SVG path from segment 2').not.toBe(thirdSvgPath);
|
||||
await expectRowSelected(getSegment(3));
|
||||
|
||||
// Wraparound test — next from last should return to first segment
|
||||
await navigateWithViewportArrow(viewportPageObject, 'next');
|
||||
const svgPathWraparoundWithNext = await getSvgPath(viewportPageObject);
|
||||
const svgPathWraparoundWithNext = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(
|
||||
svgPathWraparoundWithNext,
|
||||
'Expected svg path to match the initial svg path after wrapping around with next navigation'
|
||||
@@ -104,7 +156,11 @@ test('should navigate the segmentations using the Viewport arrow buttons', async
|
||||
|
||||
// Wraparound test — prev from first should return to last segment
|
||||
await navigateWithViewportArrow(viewportPageObject, 'prev');
|
||||
const svgPathWraparoundWithPrev = await getSvgPath(viewportPageObject);
|
||||
const svgPathWraparoundWithPrev = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(
|
||||
svgPathWraparoundWithPrev,
|
||||
'Expected svg path to match the fourth svg path after wrapping around with prev navigation'
|
||||
@@ -112,17 +168,29 @@ test('should navigate the segmentations using the Viewport arrow buttons', async
|
||||
await expectRowSelected(getSegment(3));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'prev');
|
||||
const backToThirdSvgPath = await getSvgPath(viewportPageObject);
|
||||
const backToThirdSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(backToThirdSvgPath, 'Expected path to match third segment after going prev from fourth').toBe(thirdSvgPath);
|
||||
await expectRowSelected(getSegment(2));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'prev');
|
||||
const backToSecondSvgPath = await getSvgPath(viewportPageObject);
|
||||
const backToSecondSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(backToSecondSvgPath, 'Expected path to match second segment after going prev from third').toBe(secondSvgPath);
|
||||
await expectRowSelected(getSegment(1));
|
||||
|
||||
await navigateWithViewportArrow(viewportPageObject, 'prev');
|
||||
const backToFirstSvgPath = await getSvgPath(viewportPageObject);
|
||||
const backToFirstSvgPath = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(backToFirstSvgPath, 'Expected path to match first segment after going prev from second').toBe(initialSvgPath);
|
||||
await expectRowSelected(getSegment(0));
|
||||
});
|
||||
@@ -0,0 +1,109 @@
|
||||
import {
|
||||
expect,
|
||||
test,
|
||||
visitStudy,
|
||||
waitForViewportsRendered,
|
||||
} from './utils';
|
||||
import { getSvgAttribute } from './utils/getSvgAttribute';
|
||||
|
||||
const studyInstanceUID = '1.2.840.113619.2.290.3.3767434740.226.1600859119.501';
|
||||
const defaultSegment0Name = 'Threshold';
|
||||
const defaultSegment1Name = 'Big Sphere';
|
||||
|
||||
test.beforeEach(async ({
|
||||
page,
|
||||
leftPanelPageObject,
|
||||
DOMOverlayPageObject,
|
||||
}) => {
|
||||
const mode = 'segmentation';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
|
||||
await leftPanelPageObject.loadSeriesByModality('RTSTRUCT');
|
||||
await waitForViewportsRendered(page);
|
||||
await expect(DOMOverlayPageObject.viewport.segmentationHydration.locator).toBeVisible();
|
||||
|
||||
await DOMOverlayPageObject.viewport.segmentationHydration.yes.click();
|
||||
});
|
||||
|
||||
test('should duplicate a contour segment and add a new row to the panel', async ({
|
||||
page,
|
||||
rightPanelPageObject,
|
||||
}) => {
|
||||
const panel = rightPanelPageObject.contourSegmentationPanel.panel;
|
||||
|
||||
const initialCount = await panel.getSegmentCount();
|
||||
expect(initialCount, 'Expected to load with 4 segments').toBe(4);
|
||||
|
||||
const segment0 = panel.nthSegment(0);
|
||||
await expect(segment0.title).toHaveText(defaultSegment0Name);
|
||||
|
||||
await segment0.actions.duplicate();
|
||||
|
||||
const countAfterDuplicate = await panel.getSegmentCount();
|
||||
expect(countAfterDuplicate, 'Expected one additional segment row after duplicating').toBe(5);
|
||||
|
||||
//New segment's default name is formatted as "Segment {segmentCount}"
|
||||
const newSegmentLocator = panel.nthSegment(initialCount).title;
|
||||
await expect(newSegmentLocator, 'Expected correct title for duplicated segment').toHaveText(`Segment 5`);
|
||||
|
||||
// Original segment titles should be unchanged
|
||||
await expect(panel.nthSegment(0).title).toHaveText(defaultSegment0Name);
|
||||
await expect(panel.nthSegment(1).title).toHaveText(defaultSegment1Name);
|
||||
});
|
||||
|
||||
test('should duplicate the same segment multiple times', async ({
|
||||
page,
|
||||
rightPanelPageObject,
|
||||
}) => {
|
||||
const panel = rightPanelPageObject.contourSegmentationPanel.panel;
|
||||
|
||||
const segment0 = panel.nthSegment(0);
|
||||
|
||||
await segment0.actions.duplicate();
|
||||
expect(await panel.getSegmentCount(), 'Expected one additional segment row after duplicating').toBe(5);
|
||||
|
||||
const firstDuplicateTitleLocator = panel.nthSegment(4).title;
|
||||
await expect(firstDuplicateTitleLocator, 'Expected correct title for first duplicated segment').toHaveText(`Segment 5`);
|
||||
|
||||
await segment0.actions.duplicate();
|
||||
expect(await panel.getSegmentCount(), 'Expected another segment row after duplicating the same segment again').toBe(6);
|
||||
|
||||
const secondDuplicateTitleLocator = panel.nthSegment(5).title;
|
||||
await expect(secondDuplicateTitleLocator, 'Expected correct title for second duplicated segment').toHaveText(`Segment 6`);
|
||||
});
|
||||
|
||||
test('should render the duplicated contour on the viewport', async ({
|
||||
rightPanelPageObject,
|
||||
viewportPageObject,
|
||||
}) => {
|
||||
const panel = rightPanelPageObject.contourSegmentationPanel.panel;
|
||||
|
||||
// Hide everything, to be able to grab only the SVG path of the segment to duplicate
|
||||
await rightPanelPageObject.contourSegmentationPanel.segmentsVisibilityToggle.click();
|
||||
const segment0 = panel.nthSegment(0);
|
||||
await segment0.toggleVisibility();
|
||||
await segment0.click();
|
||||
|
||||
const sourceSvgPath = await getSvgAttribute({viewportPageObject, svgInnerElement: 'path', attributeName: 'd'});
|
||||
expect(sourceSvgPath, 'Expected a visible SVG path for the source segment').not.toBeNull();
|
||||
const sourceSvgPaths = (await viewportPageObject.getById('default')).svg('path');
|
||||
expect(sourceSvgPaths, 'Expected only one SVG path element for the original segment').toHaveCount(1);
|
||||
|
||||
// New segment is at index 4
|
||||
await segment0.actions.duplicate();
|
||||
const duplicatedSegment = panel.nthSegment(4);
|
||||
|
||||
// Hide again to show duplicate only
|
||||
await segment0.toggleVisibility();
|
||||
await duplicatedSegment.click();
|
||||
|
||||
const duplicatedSvgPath = await getSvgAttribute({viewportPageObject, svgInnerElement: 'path', attributeName: 'd'});
|
||||
expect(duplicatedSvgPath, 'Expected a visible SVG path for the duplicated segment').not.toBeNull();
|
||||
const duplicatedSvgPaths = (await viewportPageObject.getById('default')).svg('path');
|
||||
expect(duplicatedSvgPaths, 'Expected only one SVG path element for the duplicated segment').toHaveCount(1);
|
||||
|
||||
expect(
|
||||
duplicatedSvgPath,
|
||||
'Expected the duplicated segment to have the same SVG path as the source'
|
||||
).toBe(sourceSvgPath);
|
||||
});
|
||||
@@ -1,4 +1,4 @@
|
||||
import { expect, test, visitStudy, getSvgPath, navigateWithViewportArrow } from './utils';
|
||||
import { expect, test, visitStudy, getSvgAttribute, navigateWithViewportArrow } from './utils';
|
||||
|
||||
const studyInstanceUID = '1.2.840.113619.2.290.3.3767434740.226.1600859119.501';
|
||||
|
||||
@@ -78,7 +78,11 @@ test('should restore svg paths when segment visibility is toggled on/off', async
|
||||
|
||||
const segment0 = rightPanelPageObject.contourSegmentationPanel.panel.nthSegment(0);
|
||||
await segment0.toggleVisibility();
|
||||
const svgPathBefore = await getSvgPath(viewportPageObject);
|
||||
const svgPathBefore = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(svgPathBefore, 'Expected a visible SVG path for segment 0').not.toBeNull();
|
||||
|
||||
await segment0.toggleVisibility();
|
||||
@@ -88,7 +92,11 @@ test('should restore svg paths when segment visibility is toggled on/off', async
|
||||
).toHaveCount(0);
|
||||
|
||||
await segment0.toggleVisibility();
|
||||
const svgPathAfter = await getSvgPath(viewportPageObject);
|
||||
const svgPathAfter = await getSvgAttribute({
|
||||
viewportPageObject,
|
||||
svgInnerElement: 'path',
|
||||
attributeName: 'd',
|
||||
});
|
||||
expect(svgPathAfter, 'Expected SVG path to be restored after toggling visibility back on').toBe(
|
||||
svgPathBefore
|
||||
);
|
||||
|
||||
@@ -11,7 +11,7 @@ import { DataOverlayPageObject } from './DataOverlayPageObject';
|
||||
import { DOMOverlayPageObject } from './DOMOverlayPageObject';
|
||||
import { MagnifyGlassPageObject } from './MagnifyGlassPageObject';
|
||||
|
||||
type SvgInnerElement = 'circle' | 'path' | 'd' | 'line' | 'g';
|
||||
export type SvgInnerElement = 'circle' | 'path' | 'line' | 'g';
|
||||
|
||||
type NormalizedDragParams = {
|
||||
start: { x: number; y: number };
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
import { SvgInnerElement, ViewportPageObject } from '../pages/ViewportPageObject';
|
||||
|
||||
const getSvgAttribute = async ({
|
||||
viewportPageObject,
|
||||
svgInnerElement,
|
||||
attributeName,
|
||||
viewportId = 'default',
|
||||
nth = 0,
|
||||
}: {
|
||||
viewportPageObject: ViewportPageObject;
|
||||
svgInnerElement: SvgInnerElement;
|
||||
attributeName: string;
|
||||
viewportId?: string;
|
||||
nth?: number;
|
||||
}) => {
|
||||
return (await viewportPageObject.getById(viewportId))
|
||||
.svg(svgInnerElement)
|
||||
.nth(nth)
|
||||
.getAttribute(attributeName);
|
||||
};
|
||||
|
||||
|
||||
export { getSvgAttribute };
|
||||
@@ -1,7 +0,0 @@
|
||||
import { ViewportPageObject } from '../pages/ViewportPageObject';
|
||||
|
||||
const getSvgPath = async (viewportPageObject: ViewportPageObject, viewportId = 'default') => {
|
||||
return (await viewportPageObject.getById(viewportId)).svg('path').first().getAttribute('d');
|
||||
};
|
||||
|
||||
export { getSvgPath };
|
||||
@@ -24,7 +24,7 @@ import { clearAllAnnotations } from './clearAllAnnotations';
|
||||
import { scrollVolumeViewport } from './scrollVolumeViewport';
|
||||
import { attemptAction } from './attemptAction';
|
||||
import { addLengthMeasurement } from './addLengthMeasurement';
|
||||
import { getSvgPath } from './getSvgPath';
|
||||
import { getSvgAttribute } from './getSvgAttribute';
|
||||
import { navigateWithViewportArrow } from './navigateWithViewportArrow';
|
||||
import { test, expect } from './fixture';
|
||||
import { subscribeToMeasurementAdded } from './subscribeToMeasurement';
|
||||
@@ -57,7 +57,7 @@ export {
|
||||
attemptAction,
|
||||
addLengthMeasurement,
|
||||
subscribeToMeasurementAdded,
|
||||
getSvgPath,
|
||||
getSvgAttribute,
|
||||
navigateWithViewportArrow,
|
||||
waitForAnyViewportNeedsRender,
|
||||
waitForViewportsRendered,
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "3.13.0-beta.79",
|
||||
"commit": "95251ab6709934e4ef59931379f8d9d7629f87b2"
|
||||
"version": "3.13.0-beta.81",
|
||||
"commit": "2258c7957a18ed0f1a75d2bd5d379006797b2882"
|
||||
}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.13.0-beta.79
|
||||
3.13.0-beta.81
|
||||
Reference in new issue
Block a user