port html extension
This commit is contained in:
parent
d1f7431af6
commit
b542ce4437
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ohif-dicom-html-extension",
|
"name": "@ohif/extension-dicom-html",
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"description": "OHIF extension for rendering structured reports to HTML",
|
"description": "OHIF extension for rendering structured reports to HTML",
|
||||||
"author": "OHIF",
|
"author": "OHIF",
|
||||||
@ -25,6 +25,9 @@
|
|||||||
"react": "^15.0.0 || ^16.0.0",
|
"react": "^15.0.0 || ^16.0.0",
|
||||||
"react-dom": "^15.0.0 || ^16.0.0"
|
"react-dom": "^15.0.0 || ^16.0.0"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime": "^7.2.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.2.2",
|
"@babel/core": "^7.2.2",
|
||||||
"@babel/plugin-external-helpers": "^7.2.0",
|
"@babel/plugin-external-helpers": "^7.2.0",
|
||||||
@ -80,7 +83,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"publishConfig": {
|
||||||
"@babel/runtime": "^7.2.0"
|
"access": "public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,19 +1,16 @@
|
|||||||
import OHIFDicomHtmlSopClassHandler from './OHIFDicomHtmlSopClassHandler.js';
|
import OHIFDicomHtmlSopClassHandler from './OHIFDicomHtmlSopClassHandler.js';
|
||||||
import OHIFDicomHtmlViewport from './OHIFDicomHtmlViewport.js';
|
import OHIFDicomHtmlViewport from './OHIFDicomHtmlViewport.js';
|
||||||
|
|
||||||
export default class OHIFDicomHtmlExtension {
|
export default {
|
||||||
/**
|
/**
|
||||||
* Extension ID is a unique id, might be used for namespacing extension specific redux actions/reducers (?)
|
* Only required property. Should be a unique value across all extensions.
|
||||||
*/
|
*/
|
||||||
getExtensionId() {
|
id: 'html',
|
||||||
return 'html';
|
|
||||||
}
|
|
||||||
|
|
||||||
getViewportModule() {
|
getViewportModule() {
|
||||||
return OHIFDicomHtmlViewport;
|
return OHIFDicomHtmlViewport;
|
||||||
}
|
},
|
||||||
|
|
||||||
getSopClassHandlerModule() {
|
getSopClassHandlerModule() {
|
||||||
return OHIFDicomHtmlSopClassHandler;
|
return OHIFDicomHtmlSopClassHandler;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|||||||
@ -67,7 +67,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.4.5",
|
"@babel/runtime": "^7.4.5",
|
||||||
"@ohif/extension-cornerstone": "file:.yalc/@ohif/extension-cornerstone",
|
"@ohif/extension-cornerstone": "file:.yalc/@ohif/extension-cornerstone",
|
||||||
"@ohif/extension-dicom-microscopy": "0.0.6",
|
|
||||||
"@ohif/extension-vtk": "file:.yalc/@ohif/extension-vtk",
|
"@ohif/extension-vtk": "file:.yalc/@ohif/extension-vtk",
|
||||||
"@ohif/i18n": "0.0.4",
|
"@ohif/i18n": "0.0.4",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
@ -84,8 +83,6 @@
|
|||||||
"lodash.isequal": "4.5.0",
|
"lodash.isequal": "4.5.0",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"ohif-core": "file:.yalc/ohif-core",
|
"ohif-core": "file:.yalc/ohif-core",
|
||||||
"ohif-dicom-html-extension": "^0.0.2",
|
|
||||||
"ohif-dicom-pdf-extension": "^0.0.6",
|
|
||||||
"oidc-client": "1.7.x",
|
"oidc-client": "1.7.x",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react-i18next": "^10.11.0",
|
"react-i18next": "^10.11.0",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user