diff --git a/.docker/Viewer-v2.x/entrypoint.sh b/.docker/Viewer-v2.x/entrypoint.sh index 1255722cdcd..9dd5e481577 100644 --- a/.docker/Viewer-v2.x/entrypoint.sh +++ b/.docker/Viewer-v2.x/entrypoint.sh @@ -28,6 +28,12 @@ if [ -n "$CLIENT_ID" ] || [ -n "$HEALTHCARE_API_ENDPOINT" ] cp /usr/share/nginx/html/google.js /usr/share/nginx/html/app-config.js fi +if [ -n "${PORT}" ] + then + echo "Changing port to ${PORT}..." + sed -i -e "s/listen 80/listen ${PORT}/g" /etc/nginx/conf.d/default.conf +fi + echo "Starting Nginx to serve the OHIF Viewer..." exec "$@" diff --git a/extensions/cornerstone/CHANGELOG.md b/extensions/cornerstone/CHANGELOG.md index b09bdc648ef..22afc3214ad 100644 --- a/extensions/cornerstone/CHANGELOG.md +++ b/extensions/cornerstone/CHANGELOG.md @@ -3,7 +3,68 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +<<<<<<< HEAD ## [2.9.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.3...@ohif/extension-cornerstone@2.9.4) (2020-09-03) +======= +## [2.9.5](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.4...@ohif/extension-cornerstone@2.9.5) (2020-09-29) + +**Note:** Version bump only for package @ohif/extension-cornerstone + + + + + +## [2.9.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.3...@ohif/extension-cornerstone@2.9.4) (2020-09-03) + +**Note:** Version bump only for package @ohif/extension-cornerstone + + + + + +## [2.9.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.2...@ohif/extension-cornerstone@2.9.3) (2020-09-02) + +**Note:** Version bump only for package @ohif/extension-cornerstone + + + + + +## [2.9.2](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.1...@ohif/extension-cornerstone@2.9.2) (2020-08-20) + + +### Bug Fixes + +* Updated react-cornerstone-viewport to version 4.0.2 ([#2001](https://github.com/OHIF/Viewers/issues/2001)) ([59ab68b](https://github.com/OHIF/Viewers/commit/59ab68b4edbfec010170c4429c300a53f688bf94)) + + + + + +## [2.9.1](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.9.0...@ohif/extension-cornerstone@2.9.1) (2020-08-20) + + +### Performance Improvements + +* **stackPrefetch:** Added stackPrefetch config with 20 max concurrent requests ([#2000](https://github.com/OHIF/Viewers/issues/2000)) ([3b02a06](https://github.com/OHIF/Viewers/commit/3b02a06f5e250660edde4862ce44147db3dc3ab9)) + + + + + +# [2.9.0](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.8.5...@ohif/extension-cornerstone@2.9.0) (2020-08-18) + + +### Features + +* ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool ([#1984](https://github.com/OHIF/Viewers/issues/1984)) ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) + + + + + +## [2.8.5](https://github.com/OHIF/Viewers/compare/@ohif/extension-cornerstone@2.8.4...@ohif/extension-cornerstone@2.8.5) (2020-08-05) +>>>>>>> upstream/master **Note:** Version bump only for package @ohif/extension-cornerstone diff --git a/extensions/cornerstone/package.json b/extensions/cornerstone/package.json index e79a249bf3f..2edea14f58d 100644 --- a/extensions/cornerstone/package.json +++ b/extensions/cornerstone/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-cornerstone", - "version": "2.9.4", + "version": "2.9.5", "description": "OHIF extension for Cornerstone", "author": "OHIF", "license": "MIT", @@ -51,6 +51,6 @@ "classnames": "^2.2.6", "lodash.merge": "^4.6.2", "lodash.throttle": "^4.1.1", - "react-cornerstone-viewport": "4.0.2" + "react-cornerstone-viewport": "4.0.4" } } diff --git a/extensions/debugging/src/DebugReportModal.css b/extensions/debugging/src/DebugReportModal.css index ffc3b85575d..ea83312f76c 100644 --- a/extensions/debugging/src/DebugReportModal.css +++ b/extensions/debugging/src/DebugReportModal.css @@ -7,3 +7,8 @@ display: flex; flex-direction: column; } + +.debug-report-modal-buttons-container { + display: flex; + flex-direction: row; +} diff --git a/extensions/debugging/src/DebugReportModal.js b/extensions/debugging/src/DebugReportModal.js index b00988b4feb..edc7223355e 100644 --- a/extensions/debugging/src/DebugReportModal.js +++ b/extensions/debugging/src/DebugReportModal.js @@ -9,12 +9,21 @@ const DubugReportModal = ({ servers, extensionManager, mailTo, + debugModalMessage, }) => { - const mailToFunction = () => { - const StudyInstanceUID = Object.keys(studies.studyData)[0]; + const copyDebugDataToClipboard = () => { + const body = getEmailBody(); - const subject = encodeURI(`Issue with Study: ${StudyInstanceUID}`); + const textArea = document.createElement('textarea'); + + textArea.value = body; + document.body.appendChild(textArea); + textArea.select(); + document.execCommand('copy'); + document.body.removeChild(textArea); + }; + const getEmailBody = () => { let body = `Enter the description of your problem here: \n\n\n`; body += `============= SESSION INFO =============\n\n`; @@ -55,13 +64,11 @@ const DubugReportModal = ({ body += `URL\t ${window.location.href}\n\n`; // Layout - const { numRows, numColumns, viewportSpecificData } = viewports; body += '== Viewport Layout ==\n'; body += `Rows\t${numRows}\n`; body += `Columns\t${numColumns}\n\n`; - body += '== Viewports ==\n'; Object.keys(viewportSpecificData).forEach(viewportIndex => { @@ -75,6 +82,16 @@ const DubugReportModal = ({ body += `[${row},${column}]\t${vsd.SeriesInstanceUID}\n`; }); + return body; + }; + + const mailToFunction = () => { + const StudyInstanceUID = Object.keys(studies.studyData)[0]; + + const subject = encodeURI(`Issue with Study: ${StudyInstanceUID}`); + + let body = getEmailBody(); + // TODO Text dump of rest of stuff. body = encodeURI(body); @@ -84,16 +101,27 @@ const DubugReportModal = ({ return (
- {mailTo ? ( + {debugModalMessage ?

{debugModalMessage}

: null} +
+ {mailTo ? ( +
+ +
+ ) : null}
- ) : null} +
{getAppVersion()} diff --git a/extensions/debugging/src/commandsModule.js b/extensions/debugging/src/commandsModule.js index 3b77af7923b..4969a07d043 100644 --- a/extensions/debugging/src/commandsModule.js +++ b/extensions/debugging/src/commandsModule.js @@ -102,6 +102,7 @@ export function getCommands(context, servicesManager, extensionManager) { servers={servers} extensionManager={extensionManager} mailTo={state.mailTo} + debugModalMessage={state.debugModalMessage} /> ); }; diff --git a/extensions/debugging/src/index.js b/extensions/debugging/src/index.js index 568fc7c5428..9c21d0f20ca 100644 --- a/extensions/debugging/src/index.js +++ b/extensions/debugging/src/index.js @@ -36,8 +36,14 @@ export default { sharedContext.dicomWebClient = dicomWebClient; } - if (configuration && configuration.mailTo) { - state.mailTo = configuration.mailTo; + if (configuration) { + if (configuration.mailTo) { + state.mailTo = configuration.mailTo; + } + + if (configuration.debugModalMessage) { + state.debugModalMessage = configuration.debugModalMessage; + } } }, diff --git a/extensions/debugging/src/state.js b/extensions/debugging/src/state.js index 51ab1364250..e537d63b569 100644 --- a/extensions/debugging/src/state.js +++ b/extensions/debugging/src/state.js @@ -1,3 +1,3 @@ -const state = { mailTo: undefined }; +const state = { mailTo: undefined, debugModalMessage: undefined }; export default state; diff --git a/extensions/dicom-pdf/CHANGELOG.md b/extensions/dicom-pdf/CHANGELOG.md index 2a4bfbd1a73..1788ecd58b7 100644 --- a/extensions/dicom-pdf/CHANGELOG.md +++ b/extensions/dicom-pdf/CHANGELOG.md @@ -19,6 +19,18 @@ All notable changes to this project will be documented in this file. See **Note:** Version bump only for package @ohif/extension-dicom-pdf +## [1.0.5](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-pdf@1.0.4...@ohif/extension-dicom-pdf@1.0.5) (2020-09-03) + +**Note:** Version bump only for package @ohif/extension-dicom-pdf + +## [1.0.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-pdf@1.0.3...@ohif/extension-dicom-pdf@1.0.4) (2020-08-28) + +**Note:** Version bump only for package @ohif/extension-dicom-pdf + +## [1.0.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-pdf@1.0.2...@ohif/extension-dicom-pdf@1.0.3) (2020-04-02) + +**Note:** Version bump only for package @ohif/extension-dicom-pdf + ## [1.0.2](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-pdf@1.0.1...@ohif/extension-dicom-pdf@1.0.2) (2020-03-09) **Note:** Version bump only for package @ohif/extension-dicom-pdf diff --git a/extensions/dicom-rt/CHANGELOG.md b/extensions/dicom-rt/CHANGELOG.md index 93dbf073cbc..c604a7917b1 100644 --- a/extensions/dicom-rt/CHANGELOG.md +++ b/extensions/dicom-rt/CHANGELOG.md @@ -3,10 +3,69 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.6](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.5...@ohif/extension-dicom-rt@0.4.6) (2020-09-17) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + + + + + ## [0.4.5](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.4...@ohif/extension-dicom-rt@0.4.5) (2020-09-10) **Note:** Version bump only for package @ohif/extension-dicom-rt + + + + +## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.3...@ohif/extension-dicom-rt@0.4.4) (2020-09-10) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + + + + + +## [0.4.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.2...@ohif/extension-dicom-rt@0.4.3) (2020-09-03) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + + + + + +## [0.4.2](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.1...@ohif/extension-dicom-rt@0.4.2) (2020-09-02) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + + + + + +## [0.4.1](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.0...@ohif/extension-dicom-rt@0.4.1) (2020-08-28) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + + + + + +# [0.4.0](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.3.0...@ohif/extension-dicom-rt@0.4.0) (2020-08-18) + + +### Features + +* ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool ([#1984](https://github.com/OHIF/Viewers/issues/1984)) ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) + + + + + +# [0.3.0](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.2.7...@ohif/extension-dicom-rt@0.3.0) (2020-08-10) + +**Note:** Version bump only for package @ohif/extension-dicom-rt + ## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-rt@0.4.3...@ohif/extension-dicom-rt@0.4.4) (2020-09-10) **Note:** Version bump only for package @ohif/extension-dicom-rt diff --git a/extensions/dicom-rt/package.json b/extensions/dicom-rt/package.json index 723734becc1..e0d4dec18ae 100644 --- a/extensions/dicom-rt/package.json +++ b/extensions/dicom-rt/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-dicom-rt", - "version": "0.4.5", + "version": "0.4.6", "description": "OHIF extension for rendering DICOM RTSTRUCTs on top of cornerstone images.", "author": "OHIF", "license": "MIT", diff --git a/extensions/dicom-segmentation/CHANGELOG.md b/extensions/dicom-segmentation/CHANGELOG.md index 12cdfd94a9d..1d65a2e6c76 100644 --- a/extensions/dicom-segmentation/CHANGELOG.md +++ b/extensions/dicom-segmentation/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.4.6](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.5...@ohif/extension-dicom-segmentation@0.4.6) (2020-09-17) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + ## [0.4.5](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.4...@ohif/extension-dicom-segmentation@0.4.5) (2020-09-10) **Note:** Version bump only for package @ohif/extension-dicom-segmentation @@ -35,6 +39,34 @@ All notable changes to this project will be documented in this file. See **Note:** Version bump only for package @ohif/extension-dicom-segmentation +## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.3...@ohif/extension-dicom-segmentation@0.4.4) (2020-09-10) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + +## [0.4.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.2...@ohif/extension-dicom-segmentation@0.4.3) (2020-09-03) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + +## [0.4.2](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.1...@ohif/extension-dicom-segmentation@0.4.2) (2020-09-02) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + +## [0.4.1](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.4.0...@ohif/extension-dicom-segmentation@0.4.1) (2020-08-28) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + +# [0.4.0](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.3.4...@ohif/extension-dicom-segmentation@0.4.0) (2020-08-18) + +### Features + +- ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool + ([#1984](https://github.com/OHIF/Viewers/issues/1984)) + ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) + +## [0.3.4](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.3.3...@ohif/extension-dicom-segmentation@0.3.4) (2020-08-10) + +**Note:** Version bump only for package @ohif/extension-dicom-segmentation + ## [0.3.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-segmentation@0.3.2...@ohif/extension-dicom-segmentation@0.3.3) (2020-07-13) **Note:** Version bump only for package @ohif/extension-dicom-segmentation diff --git a/extensions/dicom-segmentation/package.json b/extensions/dicom-segmentation/package.json index c0cde8beafc..c63449ba46e 100644 --- a/extensions/dicom-segmentation/package.json +++ b/extensions/dicom-segmentation/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-dicom-segmentation", - "version": "0.4.5", + "version": "0.4.6", "description": "OHIF extension for viewing segmentations in the 2D MPR view", "author": "OHIF", "license": "MIT", diff --git a/extensions/dicom-tag-browser/CHANGELOG.md b/extensions/dicom-tag-browser/CHANGELOG.md index 0e8396c9a38..4af09dca9be 100644 --- a/extensions/dicom-tag-browser/CHANGELOG.md +++ b/extensions/dicom-tag-browser/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.3](https://github.com/OHIF/Viewers/compare/@ohif/extension-dicom-tag-browser@0.0.2...@ohif/extension-dicom-tag-browser@0.0.3) (2020-09-24) + +**Note:** Version bump only for package @ohif/extension-dicom-tag-browser + + + + + ## 0.0.2 (2020-09-10) **Note:** Version bump only for package @ohif/extension-dicom-tag-browser diff --git a/extensions/dicom-tag-browser/package.json b/extensions/dicom-tag-browser/package.json index 1613b6589a6..17e15d21269 100644 --- a/extensions/dicom-tag-browser/package.json +++ b/extensions/dicom-tag-browser/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-dicom-tag-browser", - "version": "0.0.2", + "version": "0.0.3", "description": "OHIF extension for checking DICOM headers.", "author": "OHIF", "license": "MIT", diff --git a/extensions/dicom-tag-browser/src/components/DicomBrowserSelect.js b/extensions/dicom-tag-browser/src/components/DicomBrowserSelect.js index f8d62f87808..35e19bd5581 100644 --- a/extensions/dicom-tag-browser/src/components/DicomBrowserSelect.js +++ b/extensions/dicom-tag-browser/src/components/DicomBrowserSelect.js @@ -39,6 +39,7 @@ const dicomBrowserSelectStyles = { }), option: (base, state) => ({ ...base, + width: '100%', cursor: 'pointer', '&:first-of-type': { borderTopLeftRadius: 5, diff --git a/extensions/dicom-tag-browser/src/components/DicomBrowserSelectItem.css b/extensions/dicom-tag-browser/src/components/DicomBrowserSelectItem.css index bc65eee35d5..b2977ac549b 100644 --- a/extensions/dicom-tag-browser/src/components/DicomBrowserSelectItem.css +++ b/extensions/dicom-tag-browser/src/components/DicomBrowserSelectItem.css @@ -2,6 +2,7 @@ display: flex; justify-content: start; margin: 0; + width: 100%; } .dcmseg-segmentation-item .segmentation-meta { diff --git a/extensions/dicom-tag-browser/src/components/DicomTagBrowser.css b/extensions/dicom-tag-browser/src/components/DicomTagBrowser.css index 3b336a1dc2a..ea2341b0a2f 100644 --- a/extensions/dicom-tag-browser/src/components/DicomTagBrowser.css +++ b/extensions/dicom-tag-browser/src/components/DicomTagBrowser.css @@ -3,7 +3,7 @@ margin-left: auto; } -.dicom-tag-browser-table td { +.dicom-tag-browser-table tr { padding-left: 10px; padding-right: 10px; color: var(--table-text-primary-color); diff --git a/extensions/dicom-tag-browser/src/components/DicomTagBrowser.js b/extensions/dicom-tag-browser/src/components/DicomTagBrowser.js index dae111451de..19455c98401 100644 --- a/extensions/dicom-tag-browser/src/components/DicomTagBrowser.js +++ b/extensions/dicom-tag-browser/src/components/DicomTagBrowser.js @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import React, { useState, useEffect } from 'react'; import { classes } from '@ohif/core'; import dcmjs from 'dcmjs'; import DicomBrowserSelect from './DicomBrowserSelect'; @@ -16,73 +16,96 @@ const DicomTagBrowser = ({ displaySets, displaySetInstanceUID }) => { setActiveDisplaySetInstanceUID, ] = useState(displaySetInstanceUID); const [activeInstance, setActiveInstance] = useState(0); + const [tags, setTags] = useState([]); + const [instanceList, setInstanceList] = useState([]); + const [displaySetList, setDisplaySetList] = useState([]); + const [isImageStack, setIsImageStack] = useState(false); + + useEffect(() => { + const activeDisplaySet = displaySets.find( + ds => ds.displaySetInstanceUID === activeDisplaySetInstanceUID + ); + + const newDisplaySetList = displaySets.map(displaySet => { + const { + displaySetInstanceUID, + SeriesDate, + SeriesTime, + SeriesNumber, + SeriesDescription, + Modality, + } = displaySet; + + /* Map to display representation */ + const dateStr = `${SeriesDate}:${SeriesTime}`.split('.')[0]; + const date = moment(dateStr, 'YYYYMMDD:HHmmss'); + const displayDate = date.format('ddd, MMM Do YYYY'); - const activeDisplaySet = displaySets.find( - ds => ds.displaySetInstanceUID === activeDisplaySetInstanceUID - ); + return { + value: displaySetInstanceUID, + title: `${SeriesNumber} (${Modality}): ${SeriesDescription}`, + description: displayDate, + onClick: () => { + setActiveDisplaySetInstanceUID(displaySetInstanceUID); + setActiveInstance(0); + }, + }; + }); - const displaySetList = displaySets.map(displaySet => { - const { - displaySetInstanceUID, - SeriesDate, - SeriesTime, - SeriesNumber, - SeriesDescription, - Modality, - } = displaySet; - - /* Map to display representation */ - const dateStr = `${SeriesDate}:${SeriesTime}`.split('.')[0]; - const date = moment(dateStr, 'YYYYMMDD:HHmmss'); - const displayDate = date.format('ddd, MMM Do YYYY'); - - return { - value: displaySetInstanceUID, - title: `${SeriesNumber} (${Modality}): ${SeriesDescription}`, - description: displayDate, - onClick: () => { - setActiveDisplaySetInstanceUID(displaySetInstanceUID); - setActiveInstance(0); - }, - }; - }); + let metadata; + const isImageStack = activeDisplaySet instanceof ImageSet; - let metadata; - const isImageStack = activeDisplaySet instanceof ImageSet; + let selectedInstanceValue; + let instanceList; - let selectedInstanceValue; - let instanceList; + if (isImageStack) { + const { images } = activeDisplaySet; + const image = images[activeInstance]; - if (isImageStack) { - const { images } = activeDisplaySet; - const image = images[activeInstance]; + instanceList = images.map((image, index) => { + const metadata = image.getData().metadata; - instanceList = images.map((image, index) => { - const metadata = image.getData().metadata; + const { InstanceNumber } = metadata; - const { InstanceNumber } = metadata; - - return { - value: index, - title: `Instance Number: ${InstanceNumber}`, - description: '', - onClick: () => { - setActiveInstance(index); - }, - }; - }); + return { + value: index, + title: `Instance Number: ${InstanceNumber}`, + description: '', + onClick: () => { + setActiveInstance(index); + }, + }; + }); - selectedInstanceValue = instanceList[activeInstance]; + metadata = image.getData().metadata; + } else { + metadata = activeDisplaySet.metadata; + } - metadata = image.getData().metadata; - } else { - metadata = activeDisplaySet.metadata; - } + setTags(getSortedTags(metadata)); + setInstanceList(instanceList); + setDisplaySetList(newDisplaySetList); + setIsImageStack(isImageStack); + }, [activeDisplaySetInstanceUID, activeInstance]); const selectedDisplaySetValue = displaySetList.find( ds => ds.value === activeDisplaySetInstanceUID ); + let instanceSelectList = null; + + if (isImageStack) { + const selectedInstanceValue = instanceList[activeInstance]; + + instanceSelectList = ( + + ); + } + return (
{ formatOptionLabel={DicomBrowserSelectItem} options={displaySetList} /> - {isImageStack ? ( - - ) : null} - + {instanceSelectList} +
); }; -function DicomTagTable({ instanceMetadata }) { - const rows = getRows(instanceMetadata); +function DicomTagTable({ tags }) { + const rows = getFormattedRowsFromTags(tags); return (
@@ -114,19 +131,71 @@ function DicomTagTable({ instanceMetadata }) {
- {rows.map(row => ( - - - - - - - ))} + {rows.map(row => { + const className = row.className ? row.className : null; + + return ( + + + + + + + ); + })}
Keyword Value
{row[0]}{row[1]}{row[2]}{row[3]}
{row[0]}{row[1]}{row[2]}{row[3]}
); } +function getFormattedRowsFromTags(tags) { + const rows = []; + + tags.forEach(tagInfo => { + if (tagInfo.vr === 'SQ') { + rows.push([ + `${tagInfo.tagIndent}${tagInfo.tag}`, + tagInfo.vr, + tagInfo.keyword, + '', + ]); + + const { values } = tagInfo; + + values.forEach((item, index) => { + const formatedRowsFromTags = getFormattedRowsFromTags(item); + + rows.push([ + `${item[0].tagIndent}(FFFE,E000)`, + '', + `Item #${index}`, + '', + ]); + + rows.push(...formatedRowsFromTags); + }); + } else { + rows.push([ + `${tagInfo.tagIndent}${tagInfo.tag}`, + tagInfo.vr, + tagInfo.keyword, + tagInfo.value, + ]); + } + }); + + return rows; +} + +function getSortedTags(metadata) { + const tagList = getRows(metadata); + + // Sort top level tags, sequence groups are sorted when created. + _sortTagList(tagList); + + return tagList; +} + function getRows(metadata, depth = 0) { // Tag, Type, Value, Keyword @@ -138,6 +207,10 @@ function getRows(metadata, depth = 0) { tagIndent += '>'; } + if (depth > 0) { + tagIndent += ' '; // If indented, add a space after the indents. + } + const rows = []; for (let i = 0; i < keywords.length; i++) { @@ -155,7 +228,16 @@ function getRows(metadata, depth = 0) { const sequenceAsArray = toArray(value); // Push line defining the sequence - rows.push([`${tagIndent}${tagInfo.tag}`, tagInfo.vr, keyword, '']); + + const sequence = { + tag: tagInfo.tag, + tagIndent, + vr: tagInfo.vr, + keyword, + values: [], + }; + + rows.push(sequence); if (value === null) { // Type 2 Sequence @@ -165,9 +247,10 @@ function getRows(metadata, depth = 0) { sequenceAsArray.forEach(item => { const sequenceRows = getRows(item, depth + 1); - sequenceRows.forEach(row => { - rows.push(row); - }); + // Sort the sequence group. + _sortTagList(sequenceRows); + + sequence.values.push(sequenceRows); }); continue; @@ -205,16 +288,30 @@ function getRows(metadata, depth = 0) { } } + // tag / vr/ keyword/ value + // Remove retired tags keyword = keyword.replace('RETIRED_', ''); if (tagInfo) { - rows.push([`${tagIndent}${tagInfo.tag}`, tagInfo.vr, keyword, value]); + rows.push({ + tag: tagInfo.tag, + tagIndent, + vr: tagInfo.vr, + keyword, + value, + }); } else { // Private tag const tag = `(${keyword.substring(0, 4)},${keyword.substring(4, 8)})`; - rows.push([`${tagIndent}${tag}`, '', 'Private Tag', value]); + rows.push({ + tag, + tagIndent, + vr: '', + keyword: 'Private Tag', + value, + }); } } @@ -225,4 +322,14 @@ function toArray(objectOrArray) { return Array.isArray(objectOrArray) ? objectOrArray : [objectOrArray]; } +function _sortTagList(tagList) { + tagList.sort((a, b) => { + if (a.tag < b.tag) { + return -1; + } + + return 1; + }); +} + export default DicomTagBrowser; diff --git a/extensions/vtk/CHANGELOG.md b/extensions/vtk/CHANGELOG.md index 727f5767365..8b34be9dd7b 100644 --- a/extensions/vtk/CHANGELOG.md +++ b/extensions/vtk/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.8](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.7.7...@ohif/extension-vtk@1.7.8) (2020-09-30) + +**Note:** Version bump only for package @ohif/extension-vtk + + + + + ## [1.7.7](https://github.com/OHIF/Viewers/compare/@ohif/extension-vtk@1.7.6...@ohif/extension-vtk@1.7.7) (2020-09-17) **Note:** Version bump only for package @ohif/extension-vtk diff --git a/extensions/vtk/package.json b/extensions/vtk/package.json index 0296c45e91a..5bf7b468ed4 100644 --- a/extensions/vtk/package.json +++ b/extensions/vtk/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-vtk", - "version": "1.7.7", + "version": "1.7.8", "description": "OHIF extension for VTK.js", "author": "OHIF", "license": "MIT", @@ -53,7 +53,7 @@ "react-vtkjs-viewport": "^0.10.4" }, "devDependencies": { - "@ohif/core": "^2.10.5", + "@ohif/core": "^2.10.6", "@ohif/ui": "^1.5.5", "cornerstone-tools": "^4.20.1", "cornerstone-wado-image-loader": "^3.1.0", diff --git a/platform/core/CHANGELOG.md b/platform/core/CHANGELOG.md index b4568fa03da..962c50bad20 100644 --- a/platform/core/CHANGELOG.md +++ b/platform/core/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.10.6](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.5...@ohif/core@2.10.6) (2020-09-30) + +### Bug Fixes + +- use SeriesMetadata method instead of property in + findMostRecentStructuredReport + ([#2038](https://github.com/OHIF/Viewers/issues/2038)) + ([91364db](https://github.com/OHIF/Viewers/commit/91364db8820efc86665db258d0044c16fb3e2c87)), + closes [#1714](https://github.com/OHIF/Viewers/issues/1714) + ## [2.10.5](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.4...@ohif/core@2.10.5) (2020-09-10) **Note:** Version bump only for package @ohif/core @@ -35,6 +45,34 @@ All notable changes to this project will be documented in this file. See **Note:** Version bump only for package @ohif/core +## [2.10.4](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.3...@ohif/core@2.10.4) (2020-09-03) + +**Note:** Version bump only for package @ohif/core + +## [2.10.3](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.2...@ohif/core@2.10.3) (2020-09-03) + +**Note:** Version bump only for package @ohif/core + +## [2.10.2](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.1...@ohif/core@2.10.2) (2020-09-02) + +**Note:** Version bump only for package @ohif/core + +## [2.10.1](https://github.com/OHIF/Viewers/compare/@ohif/core@2.10.0...@ohif/core@2.10.1) (2020-08-28) + +**Note:** Version bump only for package @ohif/core + +# [2.10.0](https://github.com/OHIF/Viewers/compare/@ohif/core@2.9.14...@ohif/core@2.10.0) (2020-08-18) + +### Features + +- ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool + ([#1984](https://github.com/OHIF/Viewers/issues/1984)) + ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) + +## [2.9.14](https://github.com/OHIF/Viewers/compare/@ohif/core@2.9.13...@ohif/core@2.9.14) (2020-08-10) + +**Note:** Version bump only for package @ohif/core + ## [2.9.13](https://github.com/OHIF/Viewers/compare/@ohif/core@2.9.12...@ohif/core@2.9.13) (2020-07-22) ### Bug Fixes diff --git a/platform/core/package.json b/platform/core/package.json index f2756ab4fc5..868943ce5f6 100644 --- a/platform/core/package.json +++ b/platform/core/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/core", - "version": "2.10.5", + "version": "2.10.6", "description": "Generic business logic for web-based medical imaging applications", "author": "OHIF Core Team", "license": "MIT", diff --git a/platform/core/src/DICOMSR/utils/findMostRecentStructuredReport.js b/platform/core/src/DICOMSR/utils/findMostRecentStructuredReport.js index 9df728ed107..75b855a990d 100644 --- a/platform/core/src/DICOMSR/utils/findMostRecentStructuredReport.js +++ b/platform/core/src/DICOMSR/utils/findMostRecentStructuredReport.js @@ -13,7 +13,7 @@ const findMostRecentStructuredReport = studies => { // Skip series that may not have instances yet // This can happen if we have retrieved just the initial // details about the series via QIDO-RS, but not the full metadata - if (!series.instances || !series.instances.length) { + if (!series || series.getInstanceCount() === 0) { return; } diff --git a/platform/ui/src/elements/Icon/getIcon.js b/platform/ui/src/elements/Icon/getIcon.js index bea2f5cac2a..f2da19ebdd3 100644 --- a/platform/ui/src/elements/Icon/getIcon.js +++ b/platform/ui/src/elements/Icon/getIcon.js @@ -19,6 +19,7 @@ import chevronDown from './icons/chevron-down.svg'; import circle from './icons/circle.svg'; import circleNotch from './icons/circle-notch.svg'; import circleO from './icons/circle-o.svg'; +import clipboard from './icons/clipboard.svg'; import cog from './icons/cog.svg'; import createComment from './icons/create-comment.svg'; import createScreenCapture from './icons/create-screen-capture.svg'; @@ -120,6 +121,7 @@ const ICONS = { check, circle, 'circle-o': circleO, + clipboard: clipboard, times, 'create-comment': createComment, 'create-screen-capture': createScreenCapture, diff --git a/platform/ui/src/elements/Icon/icons/clipboard.svg b/platform/ui/src/elements/Icon/icons/clipboard.svg new file mode 100644 index 00000000000..787d54728a1 --- /dev/null +++ b/platform/ui/src/elements/Icon/icons/clipboard.svg @@ -0,0 +1,11 @@ + + Clipboard + + diff --git a/platform/viewer/CHANGELOG.md b/platform/viewer/CHANGELOG.md index 7fb47c28740..4417e3ca652 100644 --- a/platform/viewer/CHANGELOG.md +++ b/platform/viewer/CHANGELOG.md @@ -1,1381 +1,887 @@ # Change Log -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +All notable changes to this project will be documented in this file. See +[Conventional Commits](https://conventionalcommits.org) for commit guidelines. -## [4.5.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.9...@ohif/viewer@4.5.10) (2020-09-17) +## [4.5.15](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.14...@ohif/viewer@4.5.15) (2020-09-30) **Note:** Version bump only for package @ohif/viewer +## [4.5.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.13...@ohif/viewer@4.5.14) (2020-09-30) +**Note:** Version bump only for package @ohif/viewer - - -## [4.5.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.8...@ohif/viewer@4.5.9) (2020-09-10) +## [4.5.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.12...@ohif/viewer@4.5.13) (2020-09-29) **Note:** Version bump only for package @ohif/viewer +## [4.5.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.11...@ohif/viewer@4.5.12) (2020-09-24) +**Note:** Version bump only for package @ohif/viewer +## [4.5.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.10...@ohif/viewer@4.5.11) (2020-09-17) +**Note:** Version bump only for package @ohif/viewer -## [4.5.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.7...@ohif/viewer@4.5.8) (2020-09-10) +## [4.5.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.9...@ohif/viewer@4.5.10) (2020-09-17) **Note:** Version bump only for package @ohif/viewer +## [4.5.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.8...@ohif/viewer@4.5.9) (2020-09-10) +**Note:** Version bump only for package @ohif/viewer +## [4.5.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.7...@ohif/viewer@4.5.8) (2020-09-10) +**Note:** Version bump only for package @ohif/viewer ## [4.5.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.6...@ohif/viewer@4.5.7) (2020-09-09) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.5...@ohif/viewer@4.5.6) (2020-09-03) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.4...@ohif/viewer@4.5.5) (2020-09-03) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.3...@ohif/viewer@4.5.4) (2020-09-02) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.2...@ohif/viewer@4.5.3) (2020-08-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.1...@ohif/viewer@4.5.2) (2020-08-24) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.5.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.5.0...@ohif/viewer@4.5.1) (2020-08-20) **Note:** Version bump only for package @ohif/viewer - - - - # [4.5.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.4.1...@ohif/viewer@4.5.0) (2020-08-20) - ### Features -* ๐ŸŽธ Filter/promote multiple series instances ([#1533](https://github.com/OHIF/Viewers/issues/1533)) ([5fdace1](https://github.com/OHIF/Viewers/commit/5fdace1432b4b1bd31a60c5db6bd681610ec2b8e)) - - - - +- ๐ŸŽธ Filter/promote multiple series instances + ([#1533](https://github.com/OHIF/Viewers/issues/1533)) + ([5fdace1](https://github.com/OHIF/Viewers/commit/5fdace1432b4b1bd31a60c5db6bd681610ec2b8e)) ## [4.4.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.4.0...@ohif/viewer@4.4.1) (2020-08-20) - ### Bug Fixes -* Fix incorrect command name in Percy test ([#1999](https://github.com/OHIF/Viewers/issues/1999)) ([ebdcde1](https://github.com/OHIF/Viewers/commit/ebdcde1c4d9c95393cf79cc9994f5d60f6d66fdd)) - - - - +- Fix incorrect command name in Percy test + ([#1999](https://github.com/OHIF/Viewers/issues/1999)) + ([ebdcde1](https://github.com/OHIF/Viewers/commit/ebdcde1c4d9c95393cf79cc9994f5d60f6d66fdd)) # [4.4.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.3.1...@ohif/viewer@4.4.0) (2020-08-18) - ### Features -* ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool ([#1984](https://github.com/OHIF/Viewers/issues/1984)) ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) - - - - +- ๐ŸŽธ Update react-vtkjs-viewport usage to use requestPool + ([#1984](https://github.com/OHIF/Viewers/issues/1984)) + ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9)) ## [4.3.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.3.0...@ohif/viewer@4.3.1) (2020-08-10) **Note:** Version bump only for package @ohif/viewer - - - - # [4.3.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.16...@ohif/viewer@4.3.0) (2020-08-10) - ### Features -* ๐ŸŽธ Optional disable measurements panel in app config ([#1912](https://github.com/OHIF/Viewers/issues/1912)) ([3d86b5f](https://github.com/OHIF/Viewers/commit/3d86b5f876d6481bcc57de88a0ba1f974f4ee263)), closes [#1864](https://github.com/OHIF/Viewers/issues/1864) - - - - +- ๐ŸŽธ Optional disable measurements panel in app config + ([#1912](https://github.com/OHIF/Viewers/issues/1912)) + ([3d86b5f](https://github.com/OHIF/Viewers/commit/3d86b5f876d6481bcc57de88a0ba1f974f4ee263)), + closes [#1864](https://github.com/OHIF/Viewers/issues/1864) ## [4.2.16](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.15...@ohif/viewer@4.2.16) (2020-08-10) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.2.15](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.14...@ohif/viewer@4.2.15) (2020-08-05) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.2.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.13...@ohif/viewer@4.2.14) (2020-08-05) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.2.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.12...@ohif/viewer@4.2.13) (2020-07-23) **Note:** Version bump only for package @ohif/viewer - - - - ## [4.2.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.11...@ohif/viewer@4.2.12) (2020-07-22) - ### Bug Fixes -* Switch DICOMFileUploader to use the UIModalService ([#1904](https://github.com/OHIF/Viewers/issues/1904)) ([7772fee](https://github.com/OHIF/Viewers/commit/7772fee21ae6a65994e1251e2f1d2554b47781be)) - - - - +- Switch DICOMFileUploader to use the UIModalService + ([#1904](https://github.com/OHIF/Viewers/issues/1904)) + ([7772fee](https://github.com/OHIF/Viewers/commit/7772fee21ae6a65994e1251e2f1d2554b47781be)) ## [4.2.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.10...@ohif/viewer@4.2.11) (2020-07-13) - ### Bug Fixes -* ๐Ÿ› - Put guards in all places that a cornerstone re-render ([#1899](https://github.com/OHIF/Viewers/issues/1899)) ([451f7ea](https://github.com/OHIF/Viewers/commit/451f7eab9258e7a193eb362e0926b13aedc4b3c9)) - - - - +- ๐Ÿ› - Put guards in all places that a cornerstone re-render + ([#1899](https://github.com/OHIF/Viewers/issues/1899)) + ([451f7ea](https://github.com/OHIF/Viewers/commit/451f7eab9258e7a193eb362e0926b13aedc4b3c9)) ## [4.2.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.9...@ohif/viewer@4.2.10) (2020-07-13) **Note:** Version bump only for package @ohif/viewer +## [4.2.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.8...@ohif/viewer@4.2.9) (2020-07-13) + +**Note:** Version bump only for package @ohif/viewer +## [4.2.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.7...@ohif/viewer@4.2.8) (2020-07-13) +### Bug Fixes +- ๐Ÿ› Fix RT Panel hide/show and Fix looping load errors + ([#1877](https://github.com/OHIF/Viewers/issues/1877)) + ([e7cc735](https://github.com/OHIF/Viewers/commit/e7cc735c03d02eeb0d3af4ba02c15ed4f81bbec2)) -## [4.2.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.8...@ohif/viewer@4.2.9) (2020-07-13) +## [4.2.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.6...@ohif/viewer@4.2.7) (2020-06-18) **Note:** Version bump only for package @ohif/viewer +## [4.2.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.5...@ohif/viewer@4.2.6) (2020-06-18) +**Note:** Version bump only for package @ohif/viewer +## [4.2.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.4...@ohif/viewer@4.2.5) (2020-06-15) +### Bug Fixes -## [4.2.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.7...@ohif/viewer@4.2.8) (2020-07-13) +- ๐Ÿ› Disable seg panel when data for seg unavailable + ([#1732](https://github.com/OHIF/Viewers/issues/1732)) + ([698e900](https://github.com/OHIF/Viewers/commit/698e900b85121d3c2a46747c443ef69fb7a8c95b)), + closes [#1728](https://github.com/OHIF/Viewers/issues/1728) +## [4.2.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.3...@ohif/viewer@4.2.4) (2020-06-15) ### Bug Fixes -* ๐Ÿ› Fix RT Panel hide/show and Fix looping load errors ([#1877](https://github.com/OHIF/Viewers/issues/1877)) ([e7cc735](https://github.com/OHIF/Viewers/commit/e7cc735c03d02eeb0d3af4ba02c15ed4f81bbec2)) +- OIDC Redirect erases query parameters + ([#1773](https://github.com/OHIF/Viewers/issues/1773)) + ([6123741](https://github.com/OHIF/Viewers/commit/6123741765e81d0bea8fbd5dbb0f310aaca0fb33)) +## [4.2.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.2...@ohif/viewer@4.2.3) (2020-06-05) +**Note:** Version bump only for package @ohif/viewer +## [4.2.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.1...@ohif/viewer@4.2.2) (2020-06-04) +**Note:** Version bump only for package @ohif/viewer -## [4.2.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.6...@ohif/viewer@4.2.7) (2020-06-18) +## [4.2.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.0...@ohif/viewer@4.2.1) (2020-06-04) **Note:** Version bump only for package @ohif/viewer +# [4.2.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.1.0...@ohif/viewer@4.2.0) (2020-06-04) +### Features +- ๐ŸŽธ 1729 - error boundary wrapper + ([#1764](https://github.com/OHIF/Viewers/issues/1764)) + ([c02b232](https://github.com/OHIF/Viewers/commit/c02b232b0cc24f38af5d5e3831d987d048e60ada)) +# [4.1.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.0.0...@ohif/viewer@4.1.0) (2020-05-15) -## [4.2.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.5...@ohif/viewer@4.2.6) (2020-06-18) +### Features -**Note:** Version bump only for package @ohif/viewer +- expose some app internals as window.app + ([#1735](https://github.com/OHIF/Viewers/issues/1735)) + ([63fd656](https://github.com/OHIF/Viewers/commit/63fd65690cba450721870a6222e0fb3ad71bb291)) +# [4.0.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.11...@ohif/viewer@4.0.0) (2020-05-14) +### Bug Fixes +- ๐Ÿ› Fix race condition when loading derived display sets + ([#1718](https://github.com/OHIF/Viewers/issues/1718)) + ([b1678ce](https://github.com/OHIF/Viewers/commit/b1678ce6399dde37a9878f45ccc7c63286d93fab)), + closes [#1715](https://github.com/OHIF/Viewers/issues/1715) +### BREAKING CHANGES -## [4.2.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.4...@ohif/viewer@4.2.5) (2020-06-15) +- ๐Ÿงจ However we start to load once the first set of metadata arrives. We need to + wait until all series metadata is fetched. +## [3.11.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.10...@ohif/viewer@3.11.11) (2020-05-14) ### Bug Fixes -* ๐Ÿ› Disable seg panel when data for seg unavailable ([#1732](https://github.com/OHIF/Viewers/issues/1732)) ([698e900](https://github.com/OHIF/Viewers/commit/698e900b85121d3c2a46747c443ef69fb7a8c95b)), closes [#1728](https://github.com/OHIF/Viewers/issues/1728) +- ๐Ÿ› Load default display set when no time metadata + ([#1684](https://github.com/OHIF/Viewers/issues/1684)) + ([f7b8b6a](https://github.com/OHIF/Viewers/commit/f7b8b6a41c4626084ef56b0fdf7363e914b143c4)), + closes [#1683](https://github.com/OHIF/Viewers/issues/1683) +## [3.11.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.9...@ohif/viewer@3.11.10) (2020-05-13) +**Note:** Version bump only for package @ohif/viewer +## [3.11.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.8...@ohif/viewer@3.11.9) (2020-05-12) +### Bug Fixes -## [4.2.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.3...@ohif/viewer@4.2.4) (2020-06-15) +- ๐Ÿ› Fix seg color load ([#1724](https://github.com/OHIF/Viewers/issues/1724)) + ([c4f84b1](https://github.com/OHIF/Viewers/commit/c4f84b1174d04ba84d37ed89b6d7ab541be28181)) +## [3.11.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.7...@ohif/viewer@3.11.8) (2020-05-06) -### Bug Fixes +**Note:** Version bump only for package @ohif/viewer -* OIDC Redirect erases query parameters ([#1773](https://github.com/OHIF/Viewers/issues/1773)) ([6123741](https://github.com/OHIF/Viewers/commit/6123741765e81d0bea8fbd5dbb0f310aaca0fb33)) +## [3.11.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.6...@ohif/viewer@3.11.7) (2020-05-04) +**Note:** Version bump only for package @ohif/viewer +## [3.11.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.5...@ohif/viewer@3.11.6) (2020-05-04) +### Bug Fixes +- ๐Ÿ› Proper error handling for derived display sets + ([#1708](https://github.com/OHIF/Viewers/issues/1708)) + ([5b20d8f](https://github.com/OHIF/Viewers/commit/5b20d8f323e4b3ef9988f2f2ab672d697b6da409)) -## [4.2.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.2...@ohif/viewer@4.2.3) (2020-06-05) +## [3.11.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.4...@ohif/viewer@3.11.5) (2020-05-04) **Note:** Version bump only for package @ohif/viewer +## [3.11.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.3...@ohif/viewer@3.11.4) (2020-05-04) +**Note:** Version bump only for package @ohif/viewer +## [3.11.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.2...@ohif/viewer@3.11.3) (2020-04-29) +### Bug Fixes -## [4.2.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.1...@ohif/viewer@4.2.2) (2020-06-04) +- Add IHEInvokeImageDisplay routes back into viewer + ([#1695](https://github.com/OHIF/Viewers/issues/1695)) + ([f7162ce](https://github.com/OHIF/Viewers/commit/f7162ce61708776a6c192732b0904a022bcc6b3a)) -**Note:** Version bump only for package @ohif/viewer +## [3.11.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.1...@ohif/viewer@3.11.2) (2020-04-28) +**Note:** Version bump only for package @ohif/viewer +## [3.11.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.0...@ohif/viewer@3.11.1) (2020-04-27) +**Note:** Version bump only for package @ohif/viewer +# [3.11.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.2...@ohif/viewer@3.11.0) (2020-04-24) -## [4.2.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.2.0...@ohif/viewer@4.2.1) (2020-06-04) +### Features -**Note:** Version bump only for package @ohif/viewer +- ๐ŸŽธ Seg jump to slice + show/hide + ([835f64d](https://github.com/OHIF/Viewers/commit/835f64d47a9994f6a25aaf3941a4974e215e7e7f)) +## [3.10.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.1...@ohif/viewer@3.10.2) (2020-04-23) +### Bug Fixes +- undefined `errorHandler` in cornerstoneWadoImageLoader configuration + ([#1664](https://github.com/OHIF/Viewers/issues/1664)) + ([709f147](https://github.com/OHIF/Viewers/commit/709f14708e2b0f912b5ea509114acd87af3149cb)) +## [3.10.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.0...@ohif/viewer@3.10.1) (2020-04-23) -# [4.2.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.1.0...@ohif/viewer@4.2.0) (2020-06-04) +**Note:** Version bump only for package @ohif/viewer +# [3.10.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.2...@ohif/viewer@3.10.0) (2020-04-23) ### Features -* ๐ŸŽธ 1729 - error boundary wrapper ([#1764](https://github.com/OHIF/Viewers/issues/1764)) ([c02b232](https://github.com/OHIF/Viewers/commit/c02b232b0cc24f38af5d5e3831d987d048e60ada)) +- configuration to hook into XHR Error handling + ([e96205d](https://github.com/OHIF/Viewers/commit/e96205de35e5bec14dc8a9a8509db3dd4e6ecdb6)) + +## [3.9.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.1...@ohif/viewer@3.9.2) (2020-04-22) +### Bug Fixes +- whiteLabeling should support component creation by passing React to defined fn + ([#1659](https://github.com/OHIF/Viewers/issues/1659)) + ([2093a00](https://github.com/OHIF/Viewers/commit/2093a0036584b2cc698c8f06fe62b334523b1029)) +## [3.9.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.0...@ohif/viewer@3.9.1) (2020-04-17) +### Bug Fixes -# [4.1.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@4.0.0...@ohif/viewer@4.1.0) (2020-05-15) +- `showStudyList` config ([#1647](https://github.com/OHIF/Viewers/issues/1647)) + ([d9fc7bb](https://github.com/OHIF/Viewers/commit/d9fc7bbb0e6d868f507c515f031aaf88a2353e2f)) +# [3.9.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.21...@ohif/viewer@3.9.0) (2020-04-17) ### Features -* expose some app internals as window.app ([#1735](https://github.com/OHIF/Viewers/issues/1735)) ([63fd656](https://github.com/OHIF/Viewers/commit/63fd65690cba450721870a6222e0fb3ad71bb291)) - +- set the authorization header for DICOMWeb requests if provided in query string + ([#1646](https://github.com/OHIF/Viewers/issues/1646)) + ([450c80b](https://github.com/OHIF/Viewers/commit/450c80b9d5f172be8b5713b422370360325a0afc)) +## [3.8.21](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.20...@ohif/viewer@3.8.21) (2020-04-15) +**Note:** Version bump only for package @ohif/viewer +## [3.8.20](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.19...@ohif/viewer@3.8.20) (2020-04-09) -# [4.0.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.11...@ohif/viewer@4.0.0) (2020-05-14) +### Bug Fixes +- Revert "refactor: Reduce bundle size + ([#1575](https://github.com/OHIF/Viewers/issues/1575))" + ([#1622](https://github.com/OHIF/Viewers/issues/1622)) + ([d21af3f](https://github.com/OHIF/Viewers/commit/d21af3f133492fa31492413b8782936c9ff18b44)) -### Bug Fixes +## [3.8.19](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.18...@ohif/viewer@3.8.19) (2020-04-09) -* ๐Ÿ› Fix race condition when loading derived display sets ([#1718](https://github.com/OHIF/Viewers/issues/1718)) ([b1678ce](https://github.com/OHIF/Viewers/commit/b1678ce6399dde37a9878f45ccc7c63286d93fab)), closes [#1715](https://github.com/OHIF/Viewers/issues/1715) +**Note:** Version bump only for package @ohif/viewer +# Change Log -### BREAKING CHANGES +All notable changes to this project will be documented in this file. See +[Conventional Commits](https://conventionalcommits.org) for commit guidelines. -* ๐Ÿงจ However we start to load once the first set of metadata arrives. We need -to wait until all series metadata is fetched. +## [3.8.18](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.17...@ohif/viewer@3.8.18) (2020-04-07) +**Note:** Version bump only for package @ohif/viewer +## [3.8.17](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.16...@ohif/viewer@3.8.17) (2020-04-06) +**Note:** Version bump only for package @ohif/viewer +## [3.8.16](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.15...@ohif/viewer@3.8.16) (2020-04-02) -## [3.11.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.10...@ohif/viewer@3.11.11) (2020-05-14) +**Note:** Version bump only for package @ohif/viewer +## [3.8.15](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.14...@ohif/viewer@3.8.15) (2020-04-02) -### Bug Fixes +**Note:** Version bump only for package @ohif/viewer -* ๐Ÿ› Load default display set when no time metadata ([#1684](https://github.com/OHIF/Viewers/issues/1684)) ([f7b8b6a](https://github.com/OHIF/Viewers/commit/f7b8b6a41c4626084ef56b0fdf7363e914b143c4)), closes [#1683](https://github.com/OHIF/Viewers/issues/1683) +## [3.8.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.13...@ohif/viewer@3.8.14) (2020-04-02) +**Note:** Version bump only for package @ohif/viewer +## [3.8.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.12...@ohif/viewer@3.8.13) (2020-04-01) +### Bug Fixes +- segmentation not loading + ([#1566](https://github.com/OHIF/Viewers/issues/1566)) + ([4a7ce1c](https://github.com/OHIF/Viewers/commit/4a7ce1c09324d74c61048393e3a2427757e4001a)) -## [3.11.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.9...@ohif/viewer@3.11.10) (2020-05-13) +## [3.8.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.11...@ohif/viewer@3.8.12) (2020-03-31) **Note:** Version bump only for package @ohif/viewer +## [3.8.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.10...@ohif/viewer@3.8.11) (2020-03-26) +### Bug Fixes +- [#1312](https://github.com/OHIF/Viewers/issues/1312) Cine dialog remains on + screen ([#1540](https://github.com/OHIF/Viewers/issues/1540)) + ([7d22bb7](https://github.com/OHIF/Viewers/commit/7d22bb7d5a8590cffc169725c93942f758fe13a0)) +## [3.8.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.9...@ohif/viewer@3.8.10) (2020-03-26) -## [3.11.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.8...@ohif/viewer@3.11.9) (2020-05-12) +**Note:** Version bump only for package @ohif/viewer +## [3.8.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.8...@ohif/viewer@3.8.9) (2020-03-25) ### Bug Fixes -* ๐Ÿ› Fix seg color load ([#1724](https://github.com/OHIF/Viewers/issues/1724)) ([c4f84b1](https://github.com/OHIF/Viewers/commit/c4f84b1174d04ba84d37ed89b6d7ab541be28181)) +- Load measurement in active viewport. + ([#1558](https://github.com/OHIF/Viewers/issues/1558)) + ([99022f2](https://github.com/OHIF/Viewers/commit/99022f2bac752f3cd1cedb61e222b8d411e158c8)) +## [3.8.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.7...@ohif/viewer@3.8.8) (2020-03-25) +**Note:** Version bump only for package @ohif/viewer +## [3.8.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.6...@ohif/viewer@3.8.7) (2020-03-24) +**Note:** Version bump only for package @ohif/viewer -## [3.11.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.7...@ohif/viewer@3.11.8) (2020-05-06) +## [3.8.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.5...@ohif/viewer@3.8.6) (2020-03-24) **Note:** Version bump only for package @ohif/viewer +## [3.8.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.4...@ohif/viewer@3.8.5) (2020-03-23) +### Bug Fixes +- avoid-wasteful-renders ([#1544](https://github.com/OHIF/Viewers/issues/1544)) + ([e41d339](https://github.com/OHIF/Viewers/commit/e41d339f5faef6b93700bc860f37f29f32ad5ed6)) +## [3.8.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.3...@ohif/viewer@3.8.4) (2020-03-19) -## [3.11.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.6...@ohif/viewer@3.11.7) (2020-05-04) - -**Note:** Version bump only for package @ohif/viewer +### Bug Fixes +- Only permit web workers to be initialized once. + ([#1535](https://github.com/OHIF/Viewers/issues/1535)) + ([9feadd3](https://github.com/OHIF/Viewers/commit/9feadd3c6d71c1c48f7825d024ccf95d5d82606d)) +## [3.8.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.2...@ohif/viewer@3.8.3) (2020-03-17) +**Note:** Version bump only for package @ohif/viewer +## [3.8.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.1...@ohif/viewer@3.8.2) (2020-03-17) -## [3.11.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.5...@ohif/viewer@3.11.6) (2020-05-04) +**Note:** Version bump only for package @ohif/viewer +## [3.8.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.0...@ohif/viewer@3.8.1) (2020-03-17) ### Bug Fixes -* ๐Ÿ› Proper error handling for derived display sets ([#1708](https://github.com/OHIF/Viewers/issues/1708)) ([5b20d8f](https://github.com/OHIF/Viewers/commit/5b20d8f323e4b3ef9988f2f2ab672d697b6da409)) - +- resolves [#1483](https://github.com/OHIF/Viewers/issues/1483) + ([#1527](https://github.com/OHIF/Viewers/issues/1527)) + ([2747eff](https://github.com/OHIF/Viewers/commit/2747effd9e893bd78b80ee7d0444f44676e9d632)) +# [3.8.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.8...@ohif/viewer@3.8.0) (2020-03-13) +### Features +- Segmentations Settings UI - Phase 1 + [#1391](https://github.com/OHIF/Viewers/issues/1391) + ([#1392](https://github.com/OHIF/Viewers/issues/1392)) + ([e8842cf](https://github.com/OHIF/Viewers/commit/e8842cf8aebde98db7fc123e4867c8288552331f)), + closes [#1423](https://github.com/OHIF/Viewers/issues/1423) -## [3.11.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.4...@ohif/viewer@3.11.5) (2020-05-04) +# Change Log -**Note:** Version bump only for package @ohif/viewer +All notable changes to this project will be documented in this file. See +[Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.7.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.7...@ohif/viewer@3.7.8) (2020-03-09) +**Note:** Version bump only for package @ohif/viewer +## [3.7.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.6...@ohif/viewer@3.7.7) (2020-03-09) +**Note:** Version bump only for package @ohif/viewer -## [3.11.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.3...@ohif/viewer@3.11.4) (2020-05-04) +## [3.7.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.5...@ohif/viewer@3.7.6) (2020-03-06) **Note:** Version bump only for package @ohif/viewer +## [3.7.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.4...@ohif/viewer@3.7.5) (2020-03-05) +**Note:** Version bump only for package @ohif/viewer +## [3.7.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.3...@ohif/viewer@3.7.4) (2020-03-03) +**Note:** Version bump only for package @ohif/viewer -## [3.11.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.2...@ohif/viewer@3.11.3) (2020-04-29) - +## [3.7.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.2...@ohif/viewer@3.7.3) (2020-03-02) ### Bug Fixes -* Add IHEInvokeImageDisplay routes back into viewer ([#1695](https://github.com/OHIF/Viewers/issues/1695)) ([f7162ce](https://github.com/OHIF/Viewers/commit/f7162ce61708776a6c192732b0904a022bcc6b3a)) - +- GCloud dataset picker dialog broken + ([#1453](https://github.com/OHIF/Viewers/issues/1453)) + ([64dfbea](https://github.com/OHIF/Viewers/commit/64dfbeab7af98277efefadd334df14db79e32a4f)) +## [3.7.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.1...@ohif/viewer@3.7.2) (2020-02-29) +### Bug Fixes +- prevent the native context menu from appearing when right-clicking on a + measurement or angle (https://github.com/OHIF/Viewers/issues/1406) + ([#1469](https://github.com/OHIF/Viewers/issues/1469)) + ([9b3be9b](https://github.com/OHIF/Viewers/commit/9b3be9b0c082c9a5b62f2a40f42e59381860fe73)) -## [3.11.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.1...@ohif/viewer@3.11.2) (2020-04-28) +## [3.7.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.0...@ohif/viewer@3.7.1) (2020-02-21) **Note:** Version bump only for package @ohif/viewer +# [3.7.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.3...@ohif/viewer@3.7.0) (2020-02-20) +### Features +- [#1342](https://github.com/OHIF/Viewers/issues/1342) - Window level tab + ([#1429](https://github.com/OHIF/Viewers/issues/1429)) + ([ebc01a8](https://github.com/OHIF/Viewers/commit/ebc01a8ca238d5a3437b44d81f75aa8a5e8d0574)) +## [3.6.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.2...@ohif/viewer@3.6.3) (2020-02-14) -## [3.11.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.11.0...@ohif/viewer@3.11.1) (2020-04-27) +### Bug Fixes -**Note:** Version bump only for package @ohif/viewer +- Creating 2 commands to activate zoom tool and also to move between displaySets + ([#1446](https://github.com/OHIF/Viewers/issues/1446)) + ([06a4af0](https://github.com/OHIF/Viewers/commit/06a4af06faaecf6fa06ccd90cdfa879ee8d53053)) +## [3.6.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.1...@ohif/viewer@3.6.2) (2020-02-12) +### Bug Fixes +- Combined Hotkeys for special characters + ([#1233](https://github.com/OHIF/Viewers/issues/1233)) + ([2f30e7a](https://github.com/OHIF/Viewers/commit/2f30e7a821a238144c49c56f37d8e5565540b4bd)) +## [3.6.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.0...@ohif/viewer@3.6.1) (2020-02-10) -# [3.11.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.2...@ohif/viewer@3.11.0) (2020-04-24) +**Note:** Version bump only for package @ohif/viewer +# [3.6.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.5.1...@ohif/viewer@3.6.0) (2020-02-10) ### Features -* ๐ŸŽธ Seg jump to slice + show/hide ([835f64d](https://github.com/OHIF/Viewers/commit/835f64d47a9994f6a25aaf3941a4974e215e7e7f)) - - - - - -## [3.10.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.1...@ohif/viewer@3.10.2) (2020-04-23) - - -### Bug Fixes - -* undefined `errorHandler` in cornerstoneWadoImageLoader configuration ([#1664](https://github.com/OHIF/Viewers/issues/1664)) ([709f147](https://github.com/OHIF/Viewers/commit/709f14708e2b0f912b5ea509114acd87af3149cb)) - - - - - -## [3.10.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.10.0...@ohif/viewer@3.10.1) (2020-04-23) - -**Note:** Version bump only for package @ohif/viewer - - - - - -# [3.10.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.2...@ohif/viewer@3.10.0) (2020-04-23) - - -### Features - -* configuration to hook into XHR Error handling ([e96205d](https://github.com/OHIF/Viewers/commit/e96205de35e5bec14dc8a9a8509db3dd4e6ecdb6)) - - - - - -## [3.9.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.1...@ohif/viewer@3.9.2) (2020-04-22) - - -### Bug Fixes - -* whiteLabeling should support component creation by passing React to defined fn ([#1659](https://github.com/OHIF/Viewers/issues/1659)) ([2093a00](https://github.com/OHIF/Viewers/commit/2093a0036584b2cc698c8f06fe62b334523b1029)) - - - - - -## [3.9.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.9.0...@ohif/viewer@3.9.1) (2020-04-17) - - -### Bug Fixes - -* `showStudyList` config ([#1647](https://github.com/OHIF/Viewers/issues/1647)) ([d9fc7bb](https://github.com/OHIF/Viewers/commit/d9fc7bbb0e6d868f507c515f031aaf88a2353e2f)) - - - - - -# [3.9.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.21...@ohif/viewer@3.9.0) (2020-04-17) - - -### Features - -* set the authorization header for DICOMWeb requests if provided in query string ([#1646](https://github.com/OHIF/Viewers/issues/1646)) ([450c80b](https://github.com/OHIF/Viewers/commit/450c80b9d5f172be8b5713b422370360325a0afc)) - - - - - -## [3.8.21](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.20...@ohif/viewer@3.8.21) (2020-04-15) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.20](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.19...@ohif/viewer@3.8.20) (2020-04-09) - - -### Bug Fixes - -* Revert "refactor: Reduce bundle size ([#1575](https://github.com/OHIF/Viewers/issues/1575))" ([#1622](https://github.com/OHIF/Viewers/issues/1622)) ([d21af3f](https://github.com/OHIF/Viewers/commit/d21af3f133492fa31492413b8782936c9ff18b44)) - - - - - -## [3.8.19](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.18...@ohif/viewer@3.8.19) (2020-04-09) - -**Note:** Version bump only for package @ohif/viewer - - - - - -# Change Log - -All notable changes to this project will be documented in this file. See -[Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [3.8.18](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.17...@ohif/viewer@3.8.18) (2020-04-07) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.17](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.16...@ohif/viewer@3.8.17) (2020-04-06) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.16](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.15...@ohif/viewer@3.8.16) (2020-04-02) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.15](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.14...@ohif/viewer@3.8.15) (2020-04-02) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.13...@ohif/viewer@3.8.14) (2020-04-02) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.12...@ohif/viewer@3.8.13) (2020-04-01) - - -### Bug Fixes - -* segmentation not loading ([#1566](https://github.com/OHIF/Viewers/issues/1566)) ([4a7ce1c](https://github.com/OHIF/Viewers/commit/4a7ce1c09324d74c61048393e3a2427757e4001a)) - - - - - -## [3.8.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.11...@ohif/viewer@3.8.12) (2020-03-31) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.10...@ohif/viewer@3.8.11) (2020-03-26) - - -### Bug Fixes - -* [#1312](https://github.com/OHIF/Viewers/issues/1312) Cine dialog remains on screen ([#1540](https://github.com/OHIF/Viewers/issues/1540)) ([7d22bb7](https://github.com/OHIF/Viewers/commit/7d22bb7d5a8590cffc169725c93942f758fe13a0)) - - - - - -## [3.8.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.9...@ohif/viewer@3.8.10) (2020-03-26) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.8...@ohif/viewer@3.8.9) (2020-03-25) - - -### Bug Fixes - -* Load measurement in active viewport. ([#1558](https://github.com/OHIF/Viewers/issues/1558)) ([99022f2](https://github.com/OHIF/Viewers/commit/99022f2bac752f3cd1cedb61e222b8d411e158c8)) - - - - - -## [3.8.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.7...@ohif/viewer@3.8.8) (2020-03-25) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.6...@ohif/viewer@3.8.7) (2020-03-24) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.5...@ohif/viewer@3.8.6) (2020-03-24) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.4...@ohif/viewer@3.8.5) (2020-03-23) - - -### Bug Fixes - -* avoid-wasteful-renders ([#1544](https://github.com/OHIF/Viewers/issues/1544)) ([e41d339](https://github.com/OHIF/Viewers/commit/e41d339f5faef6b93700bc860f37f29f32ad5ed6)) - - - - - -## [3.8.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.3...@ohif/viewer@3.8.4) (2020-03-19) - - -### Bug Fixes - -* Only permit web workers to be initialized once. ([#1535](https://github.com/OHIF/Viewers/issues/1535)) ([9feadd3](https://github.com/OHIF/Viewers/commit/9feadd3c6d71c1c48f7825d024ccf95d5d82606d)) - - - - - -## [3.8.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.2...@ohif/viewer@3.8.3) (2020-03-17) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.1...@ohif/viewer@3.8.2) (2020-03-17) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.8.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.8.0...@ohif/viewer@3.8.1) (2020-03-17) - - -### Bug Fixes - -* resolves [#1483](https://github.com/OHIF/Viewers/issues/1483) ([#1527](https://github.com/OHIF/Viewers/issues/1527)) ([2747eff](https://github.com/OHIF/Viewers/commit/2747effd9e893bd78b80ee7d0444f44676e9d632)) - - - - - -# [3.8.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.8...@ohif/viewer@3.8.0) (2020-03-13) - - -### Features - -* Segmentations Settings UI - Phase 1 [#1391](https://github.com/OHIF/Viewers/issues/1391) ([#1392](https://github.com/OHIF/Viewers/issues/1392)) ([e8842cf](https://github.com/OHIF/Viewers/commit/e8842cf8aebde98db7fc123e4867c8288552331f)), closes [#1423](https://github.com/OHIF/Viewers/issues/1423) - - - - - -# Change Log - -All notable changes to this project will be documented in this file. See -[Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [3.7.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.7...@ohif/viewer@3.7.8) (2020-03-09) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.7.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.6...@ohif/viewer@3.7.7) (2020-03-09) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.7.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.5...@ohif/viewer@3.7.6) (2020-03-06) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.7.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.4...@ohif/viewer@3.7.5) (2020-03-05) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.7.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.3...@ohif/viewer@3.7.4) (2020-03-03) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.7.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.2...@ohif/viewer@3.7.3) (2020-03-02) - - -### Bug Fixes - -* GCloud dataset picker dialog broken ([#1453](https://github.com/OHIF/Viewers/issues/1453)) ([64dfbea](https://github.com/OHIF/Viewers/commit/64dfbeab7af98277efefadd334df14db79e32a4f)) - - - - - -## [3.7.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.1...@ohif/viewer@3.7.2) (2020-02-29) - - -### Bug Fixes - -* prevent the native context menu from appearing when right-clicking on a measurement or angle (https://github.com/OHIF/Viewers/issues/1406) ([#1469](https://github.com/OHIF/Viewers/issues/1469)) ([9b3be9b](https://github.com/OHIF/Viewers/commit/9b3be9b0c082c9a5b62f2a40f42e59381860fe73)) - - - - - -## [3.7.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.7.0...@ohif/viewer@3.7.1) (2020-02-21) - -**Note:** Version bump only for package @ohif/viewer - - - - - -# [3.7.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.3...@ohif/viewer@3.7.0) (2020-02-20) - - -### Features - -* [#1342](https://github.com/OHIF/Viewers/issues/1342) - Window level tab ([#1429](https://github.com/OHIF/Viewers/issues/1429)) ([ebc01a8](https://github.com/OHIF/Viewers/commit/ebc01a8ca238d5a3437b44d81f75aa8a5e8d0574)) - - - - - -## [3.6.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.2...@ohif/viewer@3.6.3) (2020-02-14) - - -### Bug Fixes - -* Creating 2 commands to activate zoom tool and also to move between displaySets ([#1446](https://github.com/OHIF/Viewers/issues/1446)) ([06a4af0](https://github.com/OHIF/Viewers/commit/06a4af06faaecf6fa06ccd90cdfa879ee8d53053)) - - - - - -## [3.6.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.1...@ohif/viewer@3.6.2) (2020-02-12) - - -### Bug Fixes - -* Combined Hotkeys for special characters ([#1233](https://github.com/OHIF/Viewers/issues/1233)) ([2f30e7a](https://github.com/OHIF/Viewers/commit/2f30e7a821a238144c49c56f37d8e5565540b4bd)) - - - - - -## [3.6.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.6.0...@ohif/viewer@3.6.1) (2020-02-10) - -**Note:** Version bump only for package @ohif/viewer - - - - - -# [3.6.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.5.1...@ohif/viewer@3.6.0) (2020-02-10) - - -### Features - -* ๐ŸŽธ MeasurementService ([#1314](https://github.com/OHIF/Viewers/issues/1314)) ([0c37a40](https://github.com/OHIF/Viewers/commit/0c37a406d963569af8c3be24c697dafd42712dfc)) - - - - +- ๐ŸŽธ MeasurementService ([#1314](https://github.com/OHIF/Viewers/issues/1314)) + ([0c37a40](https://github.com/OHIF/Viewers/commit/0c37a406d963569af8c3be24c697dafd42712dfc)) ## [3.5.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.5.0...@ohif/viewer@3.5.1) (2020-02-07) **Note:** Version bump only for package @ohif/viewer +# [3.5.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.14...@ohif/viewer@3.5.0) (2020-02-06) +### Features +- lesion-tracker extension + ([#1420](https://github.com/OHIF/Viewers/issues/1420)) + ([73e4409](https://github.com/OHIF/Viewers/commit/73e440968ce4699d081a9c9f2d21dd68095b3056)) - -# [3.5.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.14...@ohif/viewer@3.5.0) (2020-02-06) - - -### Features - -* lesion-tracker extension ([#1420](https://github.com/OHIF/Viewers/issues/1420)) ([73e4409](https://github.com/OHIF/Viewers/commit/73e440968ce4699d081a9c9f2d21dd68095b3056)) - - - - - -## [3.4.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.13...@ohif/viewer@3.4.14) (2020-02-06) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.4.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.12...@ohif/viewer@3.4.13) (2020-01-30) - -**Note:** Version bump only for package @ohif/viewer - - - - - -## [3.4.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.11...@ohif/viewer@3.4.12) (2020-01-30) +## [3.4.14](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.13...@ohif/viewer@3.4.14) (2020-02-06) **Note:** Version bump only for package @ohif/viewer +## [3.4.13](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.12...@ohif/viewer@3.4.13) (2020-01-30) +**Note:** Version bump only for package @ohif/viewer +## [3.4.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.11...@ohif/viewer@3.4.12) (2020-01-30) +**Note:** Version bump only for package @ohif/viewer ## [3.4.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.10...@ohif/viewer@3.4.11) (2020-01-30) - ### Bug Fixes -* download tool fixes & improvements ([#1235](https://github.com/OHIF/Viewers/issues/1235)) ([b9574b6](https://github.com/OHIF/Viewers/commit/b9574b6efcfeb85cde35b5cae63282f8e1b35be6)) - - - - +- download tool fixes & improvements + ([#1235](https://github.com/OHIF/Viewers/issues/1235)) + ([b9574b6](https://github.com/OHIF/Viewers/commit/b9574b6efcfeb85cde35b5cae63282f8e1b35be6)) ## [3.4.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.9...@ohif/viewer@3.4.10) (2020-01-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.8...@ohif/viewer@3.4.9) (2020-01-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.7...@ohif/viewer@3.4.8) (2020-01-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.6...@ohif/viewer@3.4.7) (2020-01-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.5...@ohif/viewer@3.4.6) (2020-01-28) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.4...@ohif/viewer@3.4.5) (2020-01-27) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.3...@ohif/viewer@3.4.4) (2020-01-27) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.2...@ohif/viewer@3.4.3) (2020-01-24) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.1...@ohif/viewer@3.4.2) (2020-01-17) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.4.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.4.0...@ohif/viewer@3.4.1) (2020-01-15) - ### Bug Fixes -* ๐Ÿ› Metadata is being mistakenly purged ([#1360](https://github.com/OHIF/Viewers/issues/1360)) ([b9a66d4](https://github.com/OHIF/Viewers/commit/b9a66d44241f2896ef184511287fb4984671e16d)), closes [#1326](https://github.com/OHIF/Viewers/issues/1326) - - - - +- ๐Ÿ› Metadata is being mistakenly purged + ([#1360](https://github.com/OHIF/Viewers/issues/1360)) + ([b9a66d4](https://github.com/OHIF/Viewers/commit/b9a66d44241f2896ef184511287fb4984671e16d)), + closes [#1326](https://github.com/OHIF/Viewers/issues/1326) # [3.4.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.8...@ohif/viewer@3.4.0) (2020-01-14) - ### Features -* Custom Healthcare API endpoint ([#1367](https://github.com/OHIF/Viewers/issues/1367)) ([a5d6bc6](https://github.com/OHIF/Viewers/commit/a5d6bc6a51784ed3a8a40d4ae773de9099f116b9)) - - - - +- Custom Healthcare API endpoint + ([#1367](https://github.com/OHIF/Viewers/issues/1367)) + ([a5d6bc6](https://github.com/OHIF/Viewers/commit/a5d6bc6a51784ed3a8a40d4ae773de9099f116b9)) ## [3.3.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.7...@ohif/viewer@3.3.8) (2020-01-10) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.6...@ohif/viewer@3.3.7) (2020-01-08) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.5...@ohif/viewer@3.3.6) (2020-01-07) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.4...@ohif/viewer@3.3.5) (2020-01-06) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.3...@ohif/viewer@3.3.4) (2019-12-30) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.2...@ohif/viewer@3.3.3) (2019-12-20) - ### Bug Fixes -* ๐Ÿ› 1241: Make Plugin switch part of ToolbarModule ([#1322](https://github.com/OHIF/Viewers/issues/1322)) ([6540e36](https://github.com/OHIF/Viewers/commit/6540e36818944ac2eccc696186366ae495b33a04)), closes [#1241](https://github.com/OHIF/Viewers/issues/1241) - - - - +- ๐Ÿ› 1241: Make Plugin switch part of ToolbarModule + ([#1322](https://github.com/OHIF/Viewers/issues/1322)) + ([6540e36](https://github.com/OHIF/Viewers/commit/6540e36818944ac2eccc696186366ae495b33a04)), + closes [#1241](https://github.com/OHIF/Viewers/issues/1241) ## [3.3.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.1...@ohif/viewer@3.3.2) (2019-12-20) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.3.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.3.0...@ohif/viewer@3.3.1) (2019-12-20) **Note:** Version bump only for package @ohif/viewer - - - - # [3.3.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.2.2...@ohif/viewer@3.3.0) (2019-12-20) - ### Features -* ๐ŸŽธ Configuration so viewer tools can nix handles ([#1304](https://github.com/OHIF/Viewers/issues/1304)) ([63594d3](https://github.com/OHIF/Viewers/commit/63594d36b0bdba59f0901095aed70b75fb05172d)), closes [#1223](https://github.com/OHIF/Viewers/issues/1223) - - - - +- ๐ŸŽธ Configuration so viewer tools can nix handles + ([#1304](https://github.com/OHIF/Viewers/issues/1304)) + ([63594d3](https://github.com/OHIF/Viewers/commit/63594d36b0bdba59f0901095aed70b75fb05172d)), + closes [#1223](https://github.com/OHIF/Viewers/issues/1223) ## [3.2.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.2.1...@ohif/viewer@3.2.2) (2019-12-19) - ### Bug Fixes -* ๐Ÿ› Fix drag-n-drop of local files into OHIF ([#1319](https://github.com/OHIF/Viewers/issues/1319)) ([23305ce](https://github.com/OHIF/Viewers/commit/23305cec9c0f514e73a8dd17f984ffc87ad8d131)), closes [#1307](https://github.com/OHIF/Viewers/issues/1307) - - - - +- ๐Ÿ› Fix drag-n-drop of local files into OHIF + ([#1319](https://github.com/OHIF/Viewers/issues/1319)) + ([23305ce](https://github.com/OHIF/Viewers/commit/23305cec9c0f514e73a8dd17f984ffc87ad8d131)), + closes [#1307](https://github.com/OHIF/Viewers/issues/1307) ## [3.2.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.2.0...@ohif/viewer@3.2.1) (2019-12-18) **Note:** Version bump only for package @ohif/viewer - - - - # [3.2.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.12...@ohif/viewer@3.2.0) (2019-12-16) - ### Features -* ๐ŸŽธ Expose extension config to modules ([#1279](https://github.com/OHIF/Viewers/issues/1279)) ([4ea239a](https://github.com/OHIF/Viewers/commit/4ea239a9535ef297e23387c186e537ab273744ea)), closes [#1268](https://github.com/OHIF/Viewers/issues/1268) - - - - +- ๐ŸŽธ Expose extension config to modules + ([#1279](https://github.com/OHIF/Viewers/issues/1279)) + ([4ea239a](https://github.com/OHIF/Viewers/commit/4ea239a9535ef297e23387c186e537ab273744ea)), + closes [#1268](https://github.com/OHIF/Viewers/issues/1268) ## [3.1.12](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.11...@ohif/viewer@3.1.12) (2019-12-16) - ### Bug Fixes -* ๐Ÿ› Dismiss all dialogs if leaving viewer route [#1242](https://github.com/OHIF/Viewers/issues/1242) ([#1301](https://github.com/OHIF/Viewers/issues/1301)) ([5c3d8b3](https://github.com/OHIF/Viewers/commit/5c3d8b37b6f723fbd8edcc447c37984e7eee8d40)) - - - - +- ๐Ÿ› Dismiss all dialogs if leaving viewer route + [#1242](https://github.com/OHIF/Viewers/issues/1242) + ([#1301](https://github.com/OHIF/Viewers/issues/1301)) + ([5c3d8b3](https://github.com/OHIF/Viewers/commit/5c3d8b37b6f723fbd8edcc447c37984e7eee8d40)) ## [3.1.11](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.10...@ohif/viewer@3.1.11) (2019-12-16) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.10](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.9...@ohif/viewer@3.1.10) (2019-12-16) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.9](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.8...@ohif/viewer@3.1.9) (2019-12-16) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.7...@ohif/viewer@3.1.8) (2019-12-16) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.6...@ohif/viewer@3.1.7) (2019-12-13) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.5...@ohif/viewer@3.1.6) (2019-12-13) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.4...@ohif/viewer@3.1.5) (2019-12-13) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.3...@ohif/viewer@3.1.4) (2019-12-13) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.2...@ohif/viewer@3.1.3) (2019-12-12) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.1...@ohif/viewer@3.1.2) (2019-12-12) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.1.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.1.0...@ohif/viewer@3.1.1) (2019-12-11) **Note:** Version bump only for package @ohif/viewer - - - - # [3.1.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.0.3...@ohif/viewer@3.1.0) (2019-12-11) - ### Features -* ๐ŸŽธ DICOM SR STOW on MeasurementAPI ([#954](https://github.com/OHIF/Viewers/issues/954)) ([ebe1af8](https://github.com/OHIF/Viewers/commit/ebe1af8d4f75d2483eba869655906d7829bd9666)), closes [#758](https://github.com/OHIF/Viewers/issues/758) - - - - +- ๐ŸŽธ DICOM SR STOW on MeasurementAPI + ([#954](https://github.com/OHIF/Viewers/issues/954)) + ([ebe1af8](https://github.com/OHIF/Viewers/commit/ebe1af8d4f75d2483eba869655906d7829bd9666)), + closes [#758](https://github.com/OHIF/Viewers/issues/758) ## [3.0.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.0.2...@ohif/viewer@3.0.3) (2019-12-11) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.0.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.0.1...@ohif/viewer@3.0.2) (2019-12-11) **Note:** Version bump only for package @ohif/viewer - - - - ## [3.0.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@3.0.0...@ohif/viewer@3.0.1) (2019-12-09) **Note:** Version bump only for package @ohif/viewer - - - - # [3.0.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.8...@ohif/viewer@3.0.0) (2019-12-09) - -* feat!: Ability to configure cornerstone tools via extension configuration (#1229) ([55a5806](https://github.com/OHIF/Viewers/commit/55a580659ecb74ca6433461d8f9a05c2a2b69533)), closes [#1229](https://github.com/OHIF/Viewers/issues/1229) - +- feat!: Ability to configure cornerstone tools via extension configuration + (#1229) + ([55a5806](https://github.com/OHIF/Viewers/commit/55a580659ecb74ca6433461d8f9a05c2a2b69533)), + closes [#1229](https://github.com/OHIF/Viewers/issues/1229) ### BREAKING CHANGES -* modifies the exposed react components props. The contract for providing configuration for the app has changed. Please reference updated documentation for guidance. - - - - +- modifies the exposed react components props. The contract for + providing configuration for the app has changed. Please reference updated + documentation for guidance. ## [2.11.8](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.7...@ohif/viewer@2.11.8) (2019-12-07) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.7](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.6...@ohif/viewer@2.11.7) (2019-12-07) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.6](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.5...@ohif/viewer@2.11.6) (2019-12-07) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.4...@ohif/viewer@2.11.5) (2019-12-06) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.3...@ohif/viewer@2.11.4) (2019-12-02) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.2...@ohif/viewer@2.11.3) (2019-12-02) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.11.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.1...@ohif/viewer@2.11.2) (2019-11-28) - ### Bug Fixes -* User Preferences Issues ([#1207](https://github.com/OHIF/Viewers/issues/1207)) ([1df21a9](https://github.com/OHIF/Viewers/commit/1df21a9e075b5e6dfc10a429ae825826f46c71b8)), closes [#1161](https://github.com/OHIF/Viewers/issues/1161) [#1164](https://github.com/OHIF/Viewers/issues/1164) [#1177](https://github.com/OHIF/Viewers/issues/1177) [#1179](https://github.com/OHIF/Viewers/issues/1179) [#1180](https://github.com/OHIF/Viewers/issues/1180) [#1181](https://github.com/OHIF/Viewers/issues/1181) [#1182](https://github.com/OHIF/Viewers/issues/1182) [#1183](https://github.com/OHIF/Viewers/issues/1183) [#1184](https://github.com/OHIF/Viewers/issues/1184) [#1185](https://github.com/OHIF/Viewers/issues/1185) - - - - +- User Preferences Issues ([#1207](https://github.com/OHIF/Viewers/issues/1207)) + ([1df21a9](https://github.com/OHIF/Viewers/commit/1df21a9e075b5e6dfc10a429ae825826f46c71b8)), + closes [#1161](https://github.com/OHIF/Viewers/issues/1161) + [#1164](https://github.com/OHIF/Viewers/issues/1164) + [#1177](https://github.com/OHIF/Viewers/issues/1177) + [#1179](https://github.com/OHIF/Viewers/issues/1179) + [#1180](https://github.com/OHIF/Viewers/issues/1180) + [#1181](https://github.com/OHIF/Viewers/issues/1181) + [#1182](https://github.com/OHIF/Viewers/issues/1182) + [#1183](https://github.com/OHIF/Viewers/issues/1183) + [#1184](https://github.com/OHIF/Viewers/issues/1184) + [#1185](https://github.com/OHIF/Viewers/issues/1185) ## [2.11.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.11.0...@ohif/viewer@2.11.1) (2019-11-27) - ### Bug Fixes -* of undefined name of project ([#1231](https://github.com/OHIF/Viewers/issues/1231)) ([e34a057](https://github.com/OHIF/Viewers/commit/e34a05726319e3e70279c43d5bf976d33cdf71f7)) - - - - +- of undefined name of project + ([#1231](https://github.com/OHIF/Viewers/issues/1231)) + ([e34a057](https://github.com/OHIF/Viewers/commit/e34a05726319e3e70279c43d5bf976d33cdf71f7)) # [2.11.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.10.2...@ohif/viewer@2.11.0) (2019-11-25) - ### Features -* Add new annotate tool using new dialog service ([#1211](https://github.com/OHIF/Viewers/issues/1211)) ([8fd3af1](https://github.com/OHIF/Viewers/commit/8fd3af1e137e793f1b482760a22591c64a072047)) - - - - +- Add new annotate tool using new dialog service + ([#1211](https://github.com/OHIF/Viewers/issues/1211)) + ([8fd3af1](https://github.com/OHIF/Viewers/commit/8fd3af1e137e793f1b482760a22591c64a072047)) ## [2.10.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.10.1...@ohif/viewer@2.10.2) (2019-11-25) - ### Bug Fixes -* Issue branch from danny experimental changes pr 1128 ([#1150](https://github.com/OHIF/Viewers/issues/1150)) ([a870b3c](https://github.com/OHIF/Viewers/commit/a870b3cc6056cf824af422e46f1ad674910b534e)), closes [#1161](https://github.com/OHIF/Viewers/issues/1161) [#1164](https://github.com/OHIF/Viewers/issues/1164) [#1177](https://github.com/OHIF/Viewers/issues/1177) [#1179](https://github.com/OHIF/Viewers/issues/1179) [#1180](https://github.com/OHIF/Viewers/issues/1180) [#1181](https://github.com/OHIF/Viewers/issues/1181) [#1182](https://github.com/OHIF/Viewers/issues/1182) [#1183](https://github.com/OHIF/Viewers/issues/1183) [#1184](https://github.com/OHIF/Viewers/issues/1184) [#1185](https://github.com/OHIF/Viewers/issues/1185) - - - - +- Issue branch from danny experimental changes pr 1128 + ([#1150](https://github.com/OHIF/Viewers/issues/1150)) + ([a870b3c](https://github.com/OHIF/Viewers/commit/a870b3cc6056cf824af422e46f1ad674910b534e)), + closes [#1161](https://github.com/OHIF/Viewers/issues/1161) + [#1164](https://github.com/OHIF/Viewers/issues/1164) + [#1177](https://github.com/OHIF/Viewers/issues/1177) + [#1179](https://github.com/OHIF/Viewers/issues/1179) + [#1180](https://github.com/OHIF/Viewers/issues/1180) + [#1181](https://github.com/OHIF/Viewers/issues/1181) + [#1182](https://github.com/OHIF/Viewers/issues/1182) + [#1183](https://github.com/OHIF/Viewers/issues/1183) + [#1184](https://github.com/OHIF/Viewers/issues/1184) + [#1185](https://github.com/OHIF/Viewers/issues/1185) ## [2.10.1](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.10.0...@ohif/viewer@2.10.1) (2019-11-20) **Note:** Version bump only for package @ohif/viewer - - - - # [2.10.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.9.0...@ohif/viewer@2.10.0) (2019-11-19) - ### Features -* New dialog service ([#1202](https://github.com/OHIF/Viewers/issues/1202)) ([f65639c](https://github.com/OHIF/Viewers/commit/f65639c2b0dab01decd20cab2cef4263cb4fab37)) - - - - +- New dialog service ([#1202](https://github.com/OHIF/Viewers/issues/1202)) + ([f65639c](https://github.com/OHIF/Viewers/commit/f65639c2b0dab01decd20cab2cef4263cb4fab37)) # [2.9.0](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.8.5...@ohif/viewer@2.9.0) (2019-11-19) - ### Features -* Issue 879 viewer route query param not filtering but promoting ([#1141](https://github.com/OHIF/Viewers/issues/1141)) ([b17f753](https://github.com/OHIF/Viewers/commit/b17f753e6222045252ef885e40233681541a32e1)), closes [#1118](https://github.com/OHIF/Viewers/issues/1118) - - - - +- Issue 879 viewer route query param not filtering but promoting + ([#1141](https://github.com/OHIF/Viewers/issues/1141)) + ([b17f753](https://github.com/OHIF/Viewers/commit/b17f753e6222045252ef885e40233681541a32e1)), + closes [#1118](https://github.com/OHIF/Viewers/issues/1118) ## [2.8.5](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.8.4...@ohif/viewer@2.8.5) (2019-11-18) - ### Bug Fixes -* minor date picker UX improvements ([813ee5e](https://github.com/OHIF/Viewers/commit/813ee5ed4d78b7bda234922d5f3389efe346451c)) - - - - +- minor date picker UX improvements + ([813ee5e](https://github.com/OHIF/Viewers/commit/813ee5ed4d78b7bda234922d5f3389efe346451c)) ## [2.8.4](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.8.3...@ohif/viewer@2.8.4) (2019-11-15) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.8.3](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.8.2...@ohif/viewer@2.8.3) (2019-11-15) **Note:** Version bump only for package @ohif/viewer - - - - ## [2.8.2](https://github.com/OHIF/Viewers/compare/@ohif/viewer@2.8.1...@ohif/viewer@2.8.2) (2019-11-14) **Note:** Version bump only for package @ohif/viewer diff --git a/platform/viewer/cypress/integration/pwa/OHIFExtensionHTMLPDF.spec.js b/platform/viewer/cypress/integration/pwa/OHIFExtensionHTMLPDF.spec.js index af4d43f05ba..57d16168b9e 100644 --- a/platform/viewer/cypress/integration/pwa/OHIFExtensionHTMLPDF.spec.js +++ b/platform/viewer/cypress/integration/pwa/OHIFExtensionHTMLPDF.spec.js @@ -6,6 +6,9 @@ describe('OHIF HTML Extension', () => { cy.expectMinimumThumbnails(5); }); + // TODO -> Commented these out until we get a seperate temporary PACS running on the CI. + // As pointing these tests at a public PACS with public STOW functionality means this always breaks. + it('checks if series thumbnails are being displayed', () => { cy.get('[data-cy="thumbnail-list"]') .contains('SR') @@ -13,66 +16,66 @@ describe('OHIF HTML Extension', () => { .should('to.be.at.least', 1); }); - it('drags and drop a SR thumbnail into viewport', () => { - cy.get('[data-cy="thumbnail-list"]') - .contains('SR') - .first() - .drag('.viewport-drop-target'); + // it('drags and drop a SR thumbnail into viewport', () => { + // cy.get('[data-cy="thumbnail-list"]') + // .contains('SR') + // .first() + // .drag('.viewport-drop-target'); - cy.get(':nth-child(2) > h1').should( - 'contain.text', - 'Imaging Measurement Report' - ); - }); + // cy.get(':nth-child(2) > h1').should( + // 'contain.text', + // 'Imaging Measurement Report' + // ); + // }); - it('checks if the HTML viewport has been set to active by interaction', () => { - cy.setLayout('3', '3'); + // it('checks if the HTML viewport has been set to active by interaction', () => { + // cy.setLayout('3', '3'); - // check if viewport has been set as active by CLICKING - cy.get('[data-cy=viewprt-grid] > :nth-child(4)') - .click() - .then($viewport => { - cy.wrap($viewport).should('have.class', 'active'); - }); + // // check if viewport has been set as active by CLICKING + // cy.get('[data-cy=viewprt-grid] > :nth-child(4)') + // .click() + // .then($viewport => { + // cy.wrap($viewport).should('have.class', 'active'); + // }); - // check if viewport has been set as active by SCROLLING - cy.get('[data-cy=viewprt-grid] > :nth-child(7)').then($viewport => { - cy.wrap($viewport) - .find('[data-cy=dicom-html-viewport]') - .scrollTo('bottom'); - cy.wrap($viewport).should('have.class', 'active'); - }); + // // check if viewport has been set as active by SCROLLING + // cy.get('[data-cy=viewprt-grid] > :nth-child(7)').then($viewport => { + // cy.wrap($viewport) + // .find('[data-cy=dicom-html-viewport]') + // .scrollTo('bottom'); + // cy.wrap($viewport).should('have.class', 'active'); + // }); - cy.setLayout('1', '1'); - }); + // cy.setLayout('1', '1'); + // }); }); -describe('OHIF PDF Extension', () => { - before(() => { - cy.checkStudyRouteInViewer( - '1.2.826.0.13854362241694438965858641723883466450351448' - ); - cy.expectMinimumThumbnails(5); - }); +// describe('OHIF PDF Extension', () => { +// before(() => { +// cy.checkStudyRouteInViewer( +// '1.2.826.0.13854362241694438965858641723883466450351448' +// ); +// cy.expectMinimumThumbnails(5); +// }); - it('checks if series thumbnails are being displayed', () => { - cy.get('[data-cy="thumbnail-list"]') - .contains('DOC') - .its('length') - .should('to.be.at.least', 1); - }); +// it('checks if series thumbnails are being displayed', () => { +// cy.get('[data-cy="thumbnail-list"]') +// .contains('DOC') +// .its('length') +// .should('to.be.at.least', 1); +// }); - it('drags and drop a PDF thumbnail into viewport', () => { - cy.get('[data-cy="thumbnail-list"]') - .contains('DOC') - .scrollIntoView() - .drag('.viewport-drop-target'); +// it('drags and drop a PDF thumbnail into viewport', () => { +// cy.get('[data-cy="thumbnail-list"]') +// .contains('DOC') +// .scrollIntoView() +// .drag('.viewport-drop-target'); - cy.get('.DicomPDFViewport') - .its('length') - .should('be.eq', 1); +// cy.get('.DicomPDFViewport') +// .its('length') +// .should('to.be.at.least', 1); - //Take Screenshot - cy.screenshot('PDF Extension - Should load PDF file'); - }); -}); +// //Take Screenshot +// cy.screenshot('PDF Extension - Should load PDF file'); +// }); +// }); diff --git a/platform/viewer/package.json b/platform/viewer/package.json index c368f858be3..c9f35634db3 100644 --- a/platform/viewer/package.json +++ b/platform/viewer/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/viewer", - "version": "4.5.10", + "version": "4.5.15", "description": "OHIF Viewer", "author": "OHIF Contributors", "license": "MIT", @@ -48,16 +48,16 @@ }, "dependencies": { "@babel/runtime": "^7.5.5", - "@ohif/core": "^2.10.5", - "@ohif/extension-cornerstone": "^2.9.4", + "@ohif/core": "^2.10.6", + "@ohif/extension-cornerstone": "^2.9.5", "@ohif/extension-debugging": "^0.1.5", "@ohif/extension-dicom-html": "^1.2.8", "@ohif/extension-dicom-microscopy": "^0.51.3", "@ohif/extension-dicom-pdf": "^1.0.6", - "@ohif/extension-dicom-rt": "^0.4.5", - "@ohif/extension-dicom-segmentation": "^0.4.5", + "@ohif/extension-dicom-rt": "^0.4.6", + "@ohif/extension-dicom-segmentation": "^0.4.6", "@ohif/extension-lesion-tracker": "^0.2.1", - "@ohif/extension-vtk": "^1.7.7", + "@ohif/extension-vtk": "^1.7.8", "@ohif/i18n": "^0.52.8", "@ohif/ui": "^1.5.5", "@tanem/react-nprogress": "^1.1.25", diff --git a/platform/viewer/public/manifest.json b/platform/viewer/public/manifest.json index c5224ff061b..1936bbce0b8 100644 --- a/platform/viewer/public/manifest.json +++ b/platform/viewer/public/manifest.json @@ -52,7 +52,7 @@ "type": "image/png" } ], - "start_url": "./index.html", + "start_url": "./", "background_color": "#000000", "display": "standalone", "theme_color": "#20a5d6" diff --git a/platform/viewer/src/index.js b/platform/viewer/src/index.js index c231c71bf23..f1b30e61334 100644 --- a/platform/viewer/src/index.js +++ b/platform/viewer/src/index.js @@ -54,7 +54,10 @@ const appProps = { OHIFDicomPDFExtension, OHIFDicomSegmentationExtension, OHIFDicomRtExtension, - [OHIFDebuggingExtension, { mailTo: 'support@canceridc.dev' }], + [OHIFDebuggingExtension, { + mailTo: 'support@canceridc.dev', + debugModalMessage: 'If the Send Bug Report button does not work, copy to clipboard and e-mail support@canceridc.dev.' + }], OHIFDicomTagBrowserExtension, ], }; diff --git a/yarn.lock b/yarn.lock index 8ff5f2ced7d..dae2593c1da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15601,10 +15601,10 @@ react-codemirror2@^6.0.0: resolved "https://registry.yarnpkg.com/react-codemirror2/-/react-codemirror2-6.0.0.tgz#180065df57a64026026cde569a9708fdf7656525" integrity sha512-D7y9qZ05FbUh9blqECaJMdDwKluQiO3A9xB+fssd5jKM7YAXucRuEOlX32mJQumUvHUkHRHqXIPBjm6g0FW0Ag== -react-cornerstone-viewport@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/react-cornerstone-viewport/-/react-cornerstone-viewport-4.0.2.tgz#49bc8f8464164d8e779138dd9244d5c2524e0418" - integrity sha512-mF/piahoPG5U5TbxVMtc15bXrQZxcaPycbu4i4KD2rZkiWh1Zs24ryY1S+lFlDB/RcOAm0u+luEEt1tOg8F+UQ== +react-cornerstone-viewport@4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/react-cornerstone-viewport/-/react-cornerstone-viewport-4.0.4.tgz#0e4291d9b0fe55c003e275175b0902ced61b0c80" + integrity sha512-RjCqOtQep04dRoHtsju0USlxN/vGUI2WnEt1aN84iYU7eZ+AXnwJo1nAd0RMX2obcXaGCIqMDtMRkE/zm3oZHw== dependencies: classnames "^2.2.6" date-fns "^2.2.1"