* added utilities to get frameNumber from imageId and add frameNumber to per-frame instance copy * Fix measurements' display texts on the Measurements Panel to have the correct instance number and frame number * fixed minor React bugs (errors on console) * fixed React's console bugs that are logged for some series that doesn't have "description" * bug fix - multi-frame files was not loading frames correctly. It was loading Frame 1 twice, and not loading the last frame. Due to wrong frame number indexing (frame number begins with 1, not 0) * metadata parser fix - providing default values of imagePlaneModule * measurement SR support on multi-frame DICOM * bug fix - jumping to the selected measurment on multi-frame DICOM * upgrade dcmjs dependency to 2.8.1 * StudySummary component - allow "description" to be null * make getUIDsFromImageID() method public from MetadataProvider * imageId usage fixes to be more stable * change the variable name to be more meaningful * fix metaProvider importing * for(...of) instead of for(i=0;i<length;..) as that doesn't assume anything about the layout/design and just gets next until done. * use Array.findIndex instead of plain for loop * use ReferencedSOPSequence[0] - because the ReferencedSOPSequence is an array that happens to have attributes of child zero when of length 1, but you shouldn't count on that. * DisplaySetService.getDisplaySetForSOPInstanceUID() - added optional frameNumber parameter for future usage : now they are just ignored as we are not supporting multiframe splits * simple code refactoring * refactoring for checking undefined values - mappedAnnotations * remove unreachable code * code refactoring - prefer conditional chaining * fix how we access imageIds of viewport (StackViewport)
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "@ohif/core",
|
|
"version": "3.0.0",
|
|
"description": "Generic business logic for web-based medical imaging applications",
|
|
"author": "OHIF Core Team",
|
|
"license": "MIT",
|
|
"repository": "OHIF/Viewers",
|
|
"main": "dist/index.umd.js",
|
|
"module": "src/index.ts",
|
|
"sideEffects": "false",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"engines": {
|
|
"node": ">=14",
|
|
"npm": ">=6",
|
|
"yarn": ">=1.16.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "jest --watchAll",
|
|
"dev:core": "yarn run dev",
|
|
"build": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
|
|
"build:package": "yarn run build",
|
|
"start": "yarn run dev",
|
|
"test:unit": "jest --watchAll",
|
|
"test:unit:ci": "jest --ci --runInBand --collectCoverage"
|
|
},
|
|
"peerDependencies": {
|
|
"cornerstone-math": "0.1.9",
|
|
"cornerstone-wado-image-loader": "^4.2.1",
|
|
"dicom-parser": "^1.8.9",
|
|
"@ohif/ui": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "7.16.3",
|
|
"dcmjs": "^0.28.1",
|
|
"dicomweb-client": "^0.6.0",
|
|
"isomorphic-base64": "^1.0.2",
|
|
"lodash.merge": "^4.6.1",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"moment": "^2.24.0",
|
|
"query-string": "^6.14.0",
|
|
"object-hash": "2.1.1",
|
|
"validate.js": "^0.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"webpack-merge": "5.7.3"
|
|
}
|
|
}
|