@ohif/app 3.0.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/151.bundle.07bac9172580a60fae7a.js +2579 -0
  2. package/dist/192.bundle.62be5f0ef9705a485071.js +894 -0
  3. package/dist/199.bundle.2286f24cf0a068e7f50c.js +480 -0
  4. package/dist/205.bundle.39e6c847d618ad2b1b7a.js +62 -0
  5. package/dist/208.bundle.23748a85dfdc79c05d3a.js +864 -0
  6. package/dist/270.bundle.abbdb5348274bae3e8bc.js +23906 -0
  7. package/dist/283.bundle.33f99a75a5e2d9333da2.js +2939 -0
  8. package/dist/295.bundle.5105ce962be15c92484d.js +48 -0
  9. package/dist/331.bundle.7ac7b142d249d14fd99e.js +73034 -0
  10. package/dist/351.bundle.c5d7279ef42e30f61e08.js +1471 -0
  11. package/dist/351.css +3 -0
  12. package/dist/36785fbd89b0e17f6099.wasm +0 -0
  13. package/dist/381.bundle.0905e683605fcbc0895f.js +1009 -0
  14. package/dist/404.bundle.0f7a500421f246153d89.js +706 -0
  15. package/dist/50.bundle.4cb103cd20f5ffccf927.js +324 -0
  16. package/dist/5004fdc02f329ce53b69.wasm +0 -0
  17. package/dist/531.bundle.1bc152c87c7e2e987d2b.js +5935 -0
  18. package/dist/55.bundle.a5a215e13a8511f7aee7.js +685 -0
  19. package/dist/55.css +3 -0
  20. package/dist/569.bundle.d147c0aa0604f8ea2094.js +514 -0
  21. package/dist/581.bundle.646c89c5c3e3ee096363.js +508 -0
  22. package/dist/606.bundle.5d876f5f3dd8287f0a28.js +4939 -0
  23. package/dist/610.min.worker.js +2 -0
  24. package/dist/610.min.worker.js.map +1 -0
  25. package/dist/616.bundle.bec4736d8c9513e62856.js +686 -0
  26. package/dist/62ab5d58a2bea7b5a1dc.wasm +0 -0
  27. package/dist/642.bundle.030d908e22c8ff5611f3.js +169 -0
  28. package/dist/65916ef3def695744bda.wasm +0 -0
  29. package/dist/664.bundle.4792c88ae0d6d4b5ed13.js +901 -0
  30. package/dist/707.bundle.0a74aa3e61ed002eb3c6.js +9049 -0
  31. package/dist/707.css +1 -0
  32. package/dist/728.bundle.d13856835357400fef82.js +26221 -0
  33. package/dist/744.bundle.53b07e48e07a11e920ac.js +2355 -0
  34. package/dist/75788f12450d4c5ed494.wasm +0 -0
  35. package/dist/75a0c2dfe07b824c7d21.wasm +0 -0
  36. package/dist/780.bundle.f60ac1906e0ae080dee8.js +4769 -0
  37. package/dist/790.bundle.b4df2c5d78a2a565b150.js +454 -0
  38. package/dist/799.bundle.3fff638815e355b0bdfd.js +271 -0
  39. package/dist/806.css +1 -0
  40. package/dist/82.bundle.a24015533196e05d190e.js +6104 -0
  41. package/dist/917.bundle.a094ae9e9de6df4119ae.js +196 -0
  42. package/dist/926.bundle.dbc9d0e591cb9217fda2.js +72552 -0
  43. package/dist/935.bundle.deeffff0e4f7b528e3c3.js +1849 -0
  44. package/dist/945.min.worker.js +2 -0
  45. package/dist/945.min.worker.js.map +1 -0
  46. package/dist/953.bundle.c14d9eb6400f697019ee.js +449 -0
  47. package/dist/973.bundle.4100cf103686b64938d1.js +261 -0
  48. package/dist/976.bundle.2720eb892514e1818018.js +2725 -0
  49. package/dist/984.bundle.157fc66ea5040e1364af.js +1842 -0
  50. package/dist/_headers +6 -0
  51. package/dist/_redirects +6 -0
  52. package/dist/app-config.js +215 -0
  53. package/dist/app.bundle.253eeb2a7ee986e89c50.js +154621 -0
  54. package/dist/app.bundle.css +21 -0
  55. package/dist/assets/android-chrome-144x144.png +0 -0
  56. package/dist/assets/android-chrome-192x192.png +0 -0
  57. package/dist/assets/android-chrome-256x256.png +0 -0
  58. package/dist/assets/android-chrome-36x36.png +0 -0
  59. package/dist/assets/android-chrome-384x384.png +0 -0
  60. package/dist/assets/android-chrome-48x48.png +0 -0
  61. package/dist/assets/android-chrome-512x512.png +0 -0
  62. package/dist/assets/android-chrome-72x72.png +0 -0
  63. package/dist/assets/android-chrome-96x96.png +0 -0
  64. package/dist/assets/apple-touch-icon-1024x1024.png +0 -0
  65. package/dist/assets/apple-touch-icon-114x114.png +0 -0
  66. package/dist/assets/apple-touch-icon-120x120.png +0 -0
  67. package/dist/assets/apple-touch-icon-144x144.png +0 -0
  68. package/dist/assets/apple-touch-icon-152x152.png +0 -0
  69. package/dist/assets/apple-touch-icon-167x167.png +0 -0
  70. package/dist/assets/apple-touch-icon-180x180.png +0 -0
  71. package/dist/assets/apple-touch-icon-57x57.png +0 -0
  72. package/dist/assets/apple-touch-icon-60x60.png +0 -0
  73. package/dist/assets/apple-touch-icon-72x72.png +0 -0
  74. package/dist/assets/apple-touch-icon-76x76.png +0 -0
  75. package/dist/assets/apple-touch-icon-precomposed.png +0 -0
  76. package/dist/assets/apple-touch-icon.png +0 -0
  77. package/dist/assets/apple-touch-startup-image-1182x2208.png +0 -0
  78. package/dist/assets/apple-touch-startup-image-1242x2148.png +0 -0
  79. package/dist/assets/apple-touch-startup-image-1496x2048.png +0 -0
  80. package/dist/assets/apple-touch-startup-image-1536x2008.png +0 -0
  81. package/dist/assets/apple-touch-startup-image-320x460.png +0 -0
  82. package/dist/assets/apple-touch-startup-image-640x1096.png +0 -0
  83. package/dist/assets/apple-touch-startup-image-640x920.png +0 -0
  84. package/dist/assets/apple-touch-startup-image-748x1024.png +0 -0
  85. package/dist/assets/apple-touch-startup-image-750x1294.png +0 -0
  86. package/dist/assets/apple-touch-startup-image-768x1004.png +0 -0
  87. package/dist/assets/browserconfig.xml +12 -0
  88. package/dist/assets/coast-228x228.png +0 -0
  89. package/dist/assets/favicon-16x16.png +0 -0
  90. package/dist/assets/favicon-32x32.png +0 -0
  91. package/dist/assets/favicon.ico +0 -0
  92. package/dist/assets/firefox_app_128x128.png +0 -0
  93. package/dist/assets/firefox_app_512x512.png +0 -0
  94. package/dist/assets/firefox_app_60x60.png +0 -0
  95. package/dist/assets/manifest.webapp +14 -0
  96. package/dist/assets/mstile-144x144.png +0 -0
  97. package/dist/assets/mstile-150x150.png +0 -0
  98. package/dist/assets/mstile-310x150.png +0 -0
  99. package/dist/assets/mstile-310x310.png +0 -0
  100. package/dist/assets/mstile-70x70.png +0 -0
  101. package/dist/assets/yandex-browser-50x50.png +0 -0
  102. package/dist/assets/yandex-browser-manifest.json +9 -0
  103. package/dist/b6b803111e2d06a825bd.wasm +0 -0
  104. package/dist/c22b37c3488e1d6c3aa4.wasm +0 -0
  105. package/dist/cornerstoneDICOMImageLoader.min.js +2 -0
  106. package/dist/cornerstoneDICOMImageLoader.min.js.map +1 -0
  107. package/dist/dicom-microscopy-viewer.bundle.aa60bdf008c32c39cfd7.js +12 -0
  108. package/dist/dicomMicroscopyViewer.min.js +3 -0
  109. package/dist/dicomMicroscopyViewer.min.js.LICENSE.txt +29 -0
  110. package/dist/es6-shim.min.js +12 -0
  111. package/dist/google.js +75 -0
  112. package/dist/index.html +1 -0
  113. package/dist/index.worker.ea71efba2ce63c499055.worker.js +2 -0
  114. package/dist/index.worker.ea71efba2ce63c499055.worker.js.map +1 -0
  115. package/dist/index.worker.min.worker.js +2 -0
  116. package/dist/index.worker.min.worker.js.map +1 -0
  117. package/dist/init-service-worker.js +59 -0
  118. package/dist/manifest.json +59 -0
  119. package/dist/ohif-logo-light.svg +15 -0
  120. package/dist/ohif-logo.svg +15 -0
  121. package/dist/oidc-client.min.js +46 -0
  122. package/dist/polyfill.min.js +1 -0
  123. package/dist/silent-refresh.html +16 -0
  124. package/dist/sw.js +56 -0
  125. package/package.json +24 -23
@@ -0,0 +1,454 @@
1
+ "use strict";
2
+ (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[790],{
3
+
4
+ /***/ 17790:
5
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
+
7
+ // ESM COMPAT FLAG
8
+ __webpack_require__.r(__webpack_exports__);
9
+
10
+ // EXPORTS
11
+ __webpack_require__.d(__webpack_exports__, {
12
+ "default": () => (/* binding */ basic_dev_mode_src)
13
+ });
14
+
15
+ // EXTERNAL MODULE: ../../ui/src/index.js + 449 modules
16
+ var src = __webpack_require__(43803);
17
+ // EXTERNAL MODULE: ../../core/src/index.ts + 101 modules
18
+ var core_src = __webpack_require__(48501);
19
+ ;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/toolbarButtons.js
20
+ // TODO: torn, can either bake this here; or have to create a whole new button type
21
+ // Only ways that you can pass in a custom React component for render :l
22
+
23
+
24
+ const {
25
+ windowLevelPresets
26
+ } = core_src.defaults;
27
+ /**
28
+ *
29
+ * @param {*} type - 'tool' | 'action' | 'toggle'
30
+ * @param {*} id
31
+ * @param {*} icon
32
+ * @param {*} label
33
+ */
34
+ function _createButton(type, id, icon, label, commands, tooltip) {
35
+ return {
36
+ id,
37
+ icon,
38
+ label,
39
+ type,
40
+ commands,
41
+ tooltip
42
+ };
43
+ }
44
+ const _createActionButton = _createButton.bind(null, 'action');
45
+ const _createToggleButton = _createButton.bind(null, 'toggle');
46
+ const _createToolButton = _createButton.bind(null, 'tool');
47
+
48
+ /**
49
+ *
50
+ * @param {*} preset - preset number (from above import)
51
+ * @param {*} title
52
+ * @param {*} subtitle
53
+ */
54
+ function _createWwwcPreset(preset, title, subtitle) {
55
+ return {
56
+ id: preset.toString(),
57
+ title,
58
+ subtitle,
59
+ type: 'action',
60
+ commands: [{
61
+ commandName: 'setWindowLevel',
62
+ commandOptions: {
63
+ ...windowLevelPresets[preset]
64
+ },
65
+ context: 'CORNERSTONE'
66
+ }]
67
+ };
68
+ }
69
+ const toolbarButtons = [
70
+ // Measurement
71
+ {
72
+ id: 'MeasurementTools',
73
+ type: 'ohif.splitButton',
74
+ props: {
75
+ groupId: 'MeasurementTools',
76
+ isRadio: true,
77
+ // ?
78
+ // Switch?
79
+ primary: _createToolButton('Length', 'tool-length', 'Length', [{
80
+ commandName: 'setToolActive',
81
+ commandOptions: {
82
+ toolName: 'Length'
83
+ },
84
+ context: 'CORNERSTONE'
85
+ }], 'Length'),
86
+ secondary: {
87
+ icon: 'chevron-down',
88
+ label: '',
89
+ isActive: true,
90
+ tooltip: 'More Measure Tools'
91
+ },
92
+ items: [_createToolButton('Length', 'tool-length', 'Length', [{
93
+ commandName: 'setToolActive',
94
+ commandOptions: {
95
+ toolName: 'Length'
96
+ },
97
+ context: 'CORNERSTONE'
98
+ }], 'Length Tool'), _createToolButton('Bidirectional', 'tool-bidirectional', 'Bidirectional', [{
99
+ commandName: 'setToolActive',
100
+ commandOptions: {
101
+ toolName: 'Bidirectional'
102
+ },
103
+ context: 'CORNERSTONE'
104
+ }], 'Bidirectional Tool'), _createToolButton('EllipticalROI', 'tool-elipse', 'Ellipse', [{
105
+ commandName: 'setToolActive',
106
+ commandOptions: {
107
+ toolName: 'EllipticalROI'
108
+ },
109
+ context: 'CORNERSTONE'
110
+ }], 'Ellipse Tool'), _createToolButton('CircleROI', 'tool-circle', 'Circle', [{
111
+ commandName: 'setToolActive',
112
+ commandOptions: {
113
+ toolName: 'CircleROI'
114
+ },
115
+ context: 'CORNERSTONE'
116
+ }], 'Circle Tool')]
117
+ }
118
+ },
119
+ // Zoom..
120
+ {
121
+ id: 'Zoom',
122
+ type: 'ohif.radioGroup',
123
+ props: {
124
+ type: 'tool',
125
+ icon: 'tool-zoom',
126
+ label: 'Zoom',
127
+ commands: [{
128
+ commandName: 'setToolActive',
129
+ commandOptions: {
130
+ toolName: 'Zoom'
131
+ },
132
+ context: 'CORNERSTONE'
133
+ }]
134
+ }
135
+ },
136
+ // Window Level + Presets...
137
+ {
138
+ id: 'WindowLevel',
139
+ type: 'ohif.splitButton',
140
+ props: {
141
+ groupId: 'WindowLevel',
142
+ primary: _createToolButton('WindowLevel', 'tool-window-level', 'Window Level', [{
143
+ commandName: 'setToolActive',
144
+ commandOptions: {
145
+ toolName: 'WindowLevel'
146
+ },
147
+ context: 'CORNERSTONE'
148
+ }], 'Window Level'),
149
+ secondary: {
150
+ icon: 'chevron-down',
151
+ label: 'W/L Manual',
152
+ isActive: true,
153
+ tooltip: 'W/L Presets'
154
+ },
155
+ isAction: true,
156
+ // ?
157
+ renderer: src/* WindowLevelMenuItem */.eJ,
158
+ items: [_createWwwcPreset(1, 'Soft tissue', '400 / 40'), _createWwwcPreset(2, 'Lung', '1500 / -600'), _createWwwcPreset(3, 'Liver', '150 / 90'), _createWwwcPreset(4, 'Bone', '2500 / 480'), _createWwwcPreset(5, 'Brain', '80 / 40')]
159
+ }
160
+ },
161
+ // Pan...
162
+ {
163
+ id: 'Pan',
164
+ type: 'ohif.radioGroup',
165
+ props: {
166
+ type: 'tool',
167
+ icon: 'tool-move',
168
+ label: 'Pan',
169
+ commands: [{
170
+ commandName: 'setToolActive',
171
+ commandOptions: {
172
+ toolName: 'Pan'
173
+ },
174
+ context: 'CORNERSTONE'
175
+ }]
176
+ }
177
+ }, {
178
+ id: 'Capture',
179
+ type: 'ohif.action',
180
+ props: {
181
+ icon: 'tool-capture',
182
+ label: 'Capture',
183
+ type: 'action',
184
+ commands: [{
185
+ commandName: 'showDownloadViewportModal',
186
+ commandOptions: {},
187
+ context: 'CORNERSTONE'
188
+ }]
189
+ }
190
+ }, {
191
+ id: 'Layout',
192
+ type: 'ohif.layoutSelector'
193
+ },
194
+ // More...
195
+ {
196
+ id: 'MoreTools',
197
+ type: 'ohif.splitButton',
198
+ props: {
199
+ isRadio: true,
200
+ // ?
201
+ groupId: 'MoreTools',
202
+ primary: _createActionButton('Reset', 'tool-reset', 'Reset View', [{
203
+ commandName: 'resetViewport',
204
+ commandOptions: {},
205
+ context: 'CORNERSTONE'
206
+ }], 'Reset'),
207
+ secondary: {
208
+ icon: 'chevron-down',
209
+ label: '',
210
+ isActive: true,
211
+ tooltip: 'More Tools'
212
+ },
213
+ items: [_createActionButton('Reset', 'tool-reset', 'Reset View', [{
214
+ commandName: 'resetViewport',
215
+ commandOptions: {},
216
+ context: 'CORNERSTONE'
217
+ }], 'Reset'), _createActionButton('rotate-right', 'tool-rotate-right', 'Rotate Right', [{
218
+ commandName: 'rotateViewportCW',
219
+ commandOptions: {},
220
+ context: 'CORNERSTONE'
221
+ }], 'Rotate +90'), _createActionButton('flip-horizontal', 'tool-flip-horizontal', 'Flip Horizontally', [{
222
+ commandName: 'flipViewportHorizontal',
223
+ commandOptions: {},
224
+ context: 'CORNERSTONE'
225
+ }], 'Flip Horizontal'), _createToolButton('StackScroll', 'tool-stack-scroll', 'Stack Scroll', [{
226
+ commandName: 'setToolActive',
227
+ commandOptions: {
228
+ toolName: 'StackScroll'
229
+ },
230
+ context: 'CORNERSTONE'
231
+ }], 'Stack Scroll'), _createActionButton('invert', 'tool-invert', 'Invert', [{
232
+ commandName: 'invertViewport',
233
+ commandOptions: {},
234
+ context: 'CORNERSTONE'
235
+ }], 'Invert Colors'), _createToolButton('CalibrationLine', 'tool-calibration', 'Calibration', [{
236
+ commandName: 'setToolActive',
237
+ commandOptions: {
238
+ toolName: 'CalibrationLine'
239
+ },
240
+ context: 'CORNERSTONE'
241
+ }], 'Calibration Line')]
242
+ }
243
+ }];
244
+ /* harmony default export */ const src_toolbarButtons = (toolbarButtons);
245
+ ;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/package.json
246
+ const package_namespaceObject = JSON.parse('{"u2":"@ohif/mode-basic-dev-mode"}');
247
+ ;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/id.js
248
+
249
+ const id = package_namespaceObject.u2;
250
+
251
+ ;// CONCATENATED MODULE: ../../../modes/basic-dev-mode/src/index.js
252
+
253
+
254
+
255
+ const configs = {
256
+ Length: {}
257
+ //
258
+ };
259
+
260
+ const ohif = {
261
+ layout: '@ohif/extension-default.layoutTemplateModule.viewerLayout',
262
+ sopClassHandler: '@ohif/extension-default.sopClassHandlerModule.stack',
263
+ measurements: '@ohif/extension-default.panelModule.measure',
264
+ thumbnailList: '@ohif/extension-default.panelModule.seriesList'
265
+ };
266
+ const cs3d = {
267
+ viewport: '@ohif/extension-cornerstone.viewportModule.cornerstone'
268
+ };
269
+ const dicomsr = {
270
+ sopClassHandler: '@ohif/extension-cornerstone-dicom-sr.sopClassHandlerModule.dicom-sr',
271
+ viewport: '@ohif/extension-cornerstone-dicom-sr.viewportModule.dicom-sr'
272
+ };
273
+ const dicomvideo = {
274
+ sopClassHandler: '@ohif/extension-dicom-video.sopClassHandlerModule.dicom-video',
275
+ viewport: '@ohif/extension-dicom-video.viewportModule.dicom-video'
276
+ };
277
+ const dicompdf = {
278
+ sopClassHandler: '@ohif/extension-dicom-pdf.sopClassHandlerModule.dicom-pdf',
279
+ viewport: '@ohif/extension-dicom-pdf.viewportModule.dicom-pdf'
280
+ };
281
+ const extensionDependencies = {
282
+ '@ohif/extension-default': '^3.0.0',
283
+ '@ohif/extension-cornerstone': '^3.0.0',
284
+ '@ohif/extension-cornerstone-dicom-sr': '^3.0.0',
285
+ '@ohif/extension-dicom-pdf': '^3.0.1',
286
+ '@ohif/extension-dicom-video': '^3.0.1'
287
+ };
288
+ function modeFactory(_ref) {
289
+ let {
290
+ modeConfiguration
291
+ } = _ref;
292
+ return {
293
+ id: id,
294
+ routeName: 'dev',
295
+ displayName: 'Basic Dev Viewer',
296
+ /**
297
+ * Lifecycle hooks
298
+ */
299
+ onModeEnter: _ref2 => {
300
+ let {
301
+ servicesManager,
302
+ extensionManager
303
+ } = _ref2;
304
+ const {
305
+ toolbarService,
306
+ toolGroupService
307
+ } = servicesManager.services;
308
+ const utilityModule = extensionManager.getModuleEntry('@ohif/extension-cornerstone.utilityModule.tools');
309
+ const {
310
+ toolNames,
311
+ Enums
312
+ } = utilityModule.exports;
313
+ const tools = {
314
+ active: [{
315
+ toolName: toolNames.WindowLevel,
316
+ bindings: [{
317
+ mouseButton: Enums.MouseBindings.Primary
318
+ }]
319
+ }, {
320
+ toolName: toolNames.Pan,
321
+ bindings: [{
322
+ mouseButton: Enums.MouseBindings.Auxiliary
323
+ }]
324
+ }, {
325
+ toolName: toolNames.Zoom,
326
+ bindings: [{
327
+ mouseButton: Enums.MouseBindings.Secondary
328
+ }]
329
+ }, {
330
+ toolName: toolNames.StackScrollMouseWheel,
331
+ bindings: []
332
+ }],
333
+ passive: [{
334
+ toolName: toolNames.Length
335
+ }, {
336
+ toolName: toolNames.Bidirectional
337
+ }, {
338
+ toolName: toolNames.Probe
339
+ }, {
340
+ toolName: toolNames.EllipticalROI
341
+ }, {
342
+ toolName: toolNames.CircleROI
343
+ }, {
344
+ toolName: toolNames.RectangleROI
345
+ }, {
346
+ toolName: toolNames.StackScroll
347
+ }, {
348
+ toolName: toolNames.CalibrationLine
349
+ }]
350
+ // enabled
351
+ // disabled
352
+ };
353
+
354
+ const toolGroupId = 'default';
355
+ toolGroupService.createToolGroupAndAddTools(toolGroupId, tools, configs);
356
+ let unsubscribe;
357
+ const activateTool = () => {
358
+ toolbarService.recordInteraction({
359
+ groupId: 'WindowLevel',
360
+ itemId: 'WindowLevel',
361
+ interactionType: 'tool',
362
+ commands: [{
363
+ commandName: 'setToolActive',
364
+ commandOptions: {
365
+ toolName: 'WindowLevel'
366
+ },
367
+ context: 'CORNERSTONE'
368
+ }]
369
+ });
370
+
371
+ // We don't need to reset the active tool whenever a viewport is getting
372
+ // added to the toolGroup.
373
+ unsubscribe();
374
+ };
375
+
376
+ // Since we only have one viewport for the basic cs3d mode and it has
377
+ // only one hanging protocol, we can just use the first viewport
378
+ ({
379
+ unsubscribe
380
+ } = toolGroupService.subscribe(toolGroupService.EVENTS.VIEWPORT_ADDED, activateTool));
381
+ toolbarService.init(extensionManager);
382
+ toolbarService.addButtons(src_toolbarButtons);
383
+ toolbarService.createButtonSection('primary', ['MeasurementTools', 'Zoom', 'WindowLevel', 'Pan', 'Layout', 'MoreTools']);
384
+ },
385
+ onModeExit: _ref3 => {
386
+ let {
387
+ servicesManager
388
+ } = _ref3;
389
+ const {
390
+ toolGroupService,
391
+ measurementService,
392
+ toolbarService
393
+ } = servicesManager.services;
394
+ toolGroupService.destroy();
395
+ },
396
+ validationTags: {
397
+ study: [],
398
+ series: []
399
+ },
400
+ isValidMode: _ref4 => {
401
+ let {
402
+ modalities
403
+ } = _ref4;
404
+ const modalities_list = modalities.split('\\');
405
+
406
+ // Slide Microscopy modality not supported by basic mode yet
407
+ return !modalities_list.includes('SM');
408
+ },
409
+ routes: [{
410
+ path: 'viewer-cs3d',
411
+ /*init: ({ servicesManager, extensionManager }) => {
412
+ //defaultViewerRouteInit
413
+ },*/
414
+ layoutTemplate: _ref5 => {
415
+ let {
416
+ location,
417
+ servicesManager
418
+ } = _ref5;
419
+ return {
420
+ id: ohif.layout,
421
+ props: {
422
+ // TODO: Should be optional, or required to pass empty array for slots?
423
+ leftPanels: [ohif.thumbnailList],
424
+ rightPanels: [ohif.measurements],
425
+ viewports: [{
426
+ namespace: cs3d.viewport,
427
+ displaySetsToDisplay: [ohif.sopClassHandler]
428
+ }, {
429
+ namespace: dicomvideo.viewport,
430
+ displaySetsToDisplay: [dicomvideo.sopClassHandler]
431
+ }, {
432
+ namespace: dicompdf.viewport,
433
+ displaySetsToDisplay: [dicompdf.sopClassHandler]
434
+ }]
435
+ }
436
+ };
437
+ }
438
+ }],
439
+ extensions: extensionDependencies,
440
+ hangingProtocol: 'default',
441
+ sopClassHandlers: [dicomvideo.sopClassHandler, ohif.sopClassHandler, dicompdf.sopClassHandler, dicomsr.sopClassHandler],
442
+ hotkeys: [...core_src/* hotkeys.defaults.hotkeyBindings */.dD.defaults.hotkeyBindings]
443
+ };
444
+ }
445
+ const mode = {
446
+ id: id,
447
+ modeFactory,
448
+ extensionDependencies
449
+ };
450
+ /* harmony default export */ const basic_dev_mode_src = (mode);
451
+
452
+ /***/ })
453
+
454
+ }]);