2015-10-13 14:14:50 +02:00
|
|
|
Package.describe({
|
|
|
|
|
name: "worklist",
|
|
|
|
|
summary: "Basic worklist for web-based DICOM viewers",
|
|
|
|
|
version: '0.0.1'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
api.versionsFrom('1.2.0.2');
|
|
|
|
|
|
|
|
|
|
api.use('standard-app-packages');
|
|
|
|
|
api.use('jquery');
|
|
|
|
|
api.use('stylus');
|
2015-11-03 22:56:12 +01:00
|
|
|
api.use('http');
|
2015-10-30 12:21:59 +01:00
|
|
|
api.use('practicalmeteor:loglevel');
|
2016-01-13 16:17:32 +01:00
|
|
|
api.use('rwatts:uuid');
|
2016-03-01 17:55:58 +01:00
|
|
|
api.use('silentcicero:jszip');
|
2015-10-30 12:21:59 +01:00
|
|
|
|
2015-11-16 17:49:35 +01:00
|
|
|
// Our custom packages
|
2015-10-30 12:21:59 +01:00
|
|
|
api.use('dicomweb');
|
|
|
|
|
|
2015-11-16 17:49:35 +01:00
|
|
|
// This sets the default logging level of the package using the
|
|
|
|
|
// loglevel package. It can be overridden in the JavaScript
|
|
|
|
|
// console for debugging purposes
|
2015-10-30 12:21:59 +01:00
|
|
|
api.addFiles('log.js', 'client');
|
|
|
|
|
|
2015-10-13 14:14:50 +02:00
|
|
|
// Components
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/worklist.html', 'client');
|
|
|
|
|
api.addFiles('client/components/worklist.js', 'client');
|
|
|
|
|
api.addFiles('client/components/worklist.styl', 'client');
|
2015-10-13 14:14:50 +02:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/tabTitle/tabTitle.html', 'client');
|
|
|
|
|
api.addFiles('client/components/tabTitle/tabTitle.js', 'client');
|
|
|
|
|
api.addFiles('client/components/tabTitle/tabTitle.styl', 'client');
|
2015-10-15 15:05:41 +02:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/tabContent/tabContent.html', 'client');
|
|
|
|
|
api.addFiles('client/components/tabContent/tabContent.styl', 'client');
|
2015-10-15 15:05:41 +02:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/worklistStudy/worklistStudy.html', 'client');
|
|
|
|
|
api.addFiles('client/components/worklistStudy/worklistStudy.js', 'client');
|
|
|
|
|
api.addFiles('client/components/worklistStudy/worklistStudy.styl', 'client');
|
2015-10-13 14:14:50 +02:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/worklistResult/worklistResult.html', 'client');
|
|
|
|
|
api.addFiles('client/components/worklistResult/worklistResult.js', 'client');
|
|
|
|
|
api.addFiles('client/components/worklistResult/worklistResult.styl', 'client');
|
2015-10-13 14:14:50 +02:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
api.addFiles('client/components/studyContextMenu/studyContextMenu.html', 'client');
|
|
|
|
|
api.addFiles('client/components/studyContextMenu/studyContextMenu.js', 'client');
|
|
|
|
|
api.addFiles('client/components/studyContextMenu/studyContextMenu.styl', 'client');
|
2016-01-12 21:56:07 +01:00
|
|
|
|
2016-01-13 16:17:32 +01:00
|
|
|
// Library functions
|
|
|
|
|
api.addFiles('lib/getStudyMetadata.js', 'client');
|
|
|
|
|
api.addFiles('lib/getStudiesMetadata.js', 'client');
|
|
|
|
|
api.addFiles('lib/openNewTab.js', 'client');
|
|
|
|
|
api.addFiles('lib/switchToTab.js', 'client');
|
|
|
|
|
api.addFiles('lib/worklist.js', 'client');
|
2015-10-20 15:45:27 +02:00
|
|
|
|
2015-11-16 17:49:35 +01:00
|
|
|
// Export Worklist helper functions for usage in Routes
|
2016-01-13 16:17:32 +01:00
|
|
|
api.export('getTimepointName', 'client');
|
2015-11-03 22:56:12 +01:00
|
|
|
api.export('getStudyMetadata', 'client');
|
2016-01-13 16:17:32 +01:00
|
|
|
api.export('getStudiesMetadata', 'client');
|
2015-10-30 12:21:59 +01:00
|
|
|
api.export('openNewTab', 'client');
|
2016-01-13 16:17:32 +01:00
|
|
|
api.export('setWorklistSubscriptions', 'client');
|
2015-10-20 15:45:27 +02:00
|
|
|
api.export('switchToTab', 'client');
|
2016-01-13 16:17:32 +01:00
|
|
|
api.export('Worklist');
|
2015-11-16 17:49:35 +01:00
|
|
|
|
|
|
|
|
// Export the global ViewerData object
|
2015-10-23 14:08:51 +02:00
|
|
|
api.export('ViewerData', 'client');
|
2015-11-16 17:49:35 +01:00
|
|
|
|
2015-11-17 18:17:51 +01:00
|
|
|
// Export the Collections
|
2015-11-16 17:49:35 +01:00
|
|
|
api.export('WorklistTabs', 'client');
|
2015-11-17 18:17:51 +01:00
|
|
|
api.export('WorklistStudies', 'client');
|
2016-01-12 21:56:07 +01:00
|
|
|
api.export('WorklistSelectedStudies', 'client');
|
2016-01-13 16:17:32 +01:00
|
|
|
});
|