@ohif/app 3.6.0-beta.0 → 3.6.0-beta.2
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.
- package/dist/{616.bundle.bec4736d8c9513e62856.js → 616.bundle.ea6c182d647a1214536d.js} +6 -7
- package/dist/{707.bundle.2877f085b4716d06fb7c.js → 707.bundle.6a8e13bf2c8e59550089.js} +7 -10
- package/dist/{744.bundle.53b07e48e07a11e920ac.js → 744.bundle.b9458e50495f61f31056.js} +11 -11
- package/dist/{82.bundle.c0eb2e9aed14806a5f55.js → 82.bundle.ec2930c7c107a29e2eb6.js} +15 -20
- package/dist/{976.bundle.2720eb892514e1818018.js → 976.bundle.af9d827c4ac61ac0d22c.js} +6 -8
- package/dist/{app.bundle.86d650b1752400f586da.js → app.bundle.49bf794a6e5f25261120.js} +2854 -2788
- package/dist/app.bundle.css +5 -5
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{192.bundle.62be5f0ef9705a485071.js → 192.bundle.a746fabfde092dc37d60.js} +0 -0
- /package/dist/{199.bundle.2286f24cf0a068e7f50c.js → 199.bundle.732cc26b5105b14cd304.js} +0 -0
- /package/dist/{208.bundle.23748a85dfdc79c05d3a.js → 208.bundle.546e5e415be38c15bcf4.js} +0 -0
- /package/dist/{283.bundle.33f99a75a5e2d9333da2.js → 283.bundle.8a6cb5ecbf2ac7339111.js} +0 -0
- /package/dist/{351.bundle.c5d7279ef42e30f61e08.js → 351.bundle.b96ebfe3878f3249c25d.js} +0 -0
- /package/dist/{404.bundle.0f7a500421f246153d89.js → 404.bundle.f3fcfff281878740c9a0.js} +0 -0
- /package/dist/{50.bundle.4cb103cd20f5ffccf927.js → 50.bundle.86406eac372c30a572e7.js} +0 -0
- /package/dist/{55.bundle.a5a215e13a8511f7aee7.js → 55.bundle.674a6b291691baac3c26.js} +0 -0
- /package/dist/{569.bundle.d147c0aa0604f8ea2094.js → 569.bundle.d04ded836d43fb113f9b.js} +0 -0
- /package/dist/{581.bundle.646c89c5c3e3ee096363.js → 581.bundle.bd6b209846b2d3e3d187.js} +0 -0
- /package/dist/{642.bundle.030d908e22c8ff5611f3.js → 642.bundle.c52c55c87cfad6f66767.js} +0 -0
- /package/dist/{790.bundle.b4df2c5d78a2a565b150.js → 790.bundle.93ea41fed640f0478d32.js} +0 -0
- /package/dist/{799.bundle.3fff638815e355b0bdfd.js → 799.bundle.ba8fec0819cd22e650cb.js} +0 -0
- /package/dist/{917.bundle.a094ae9e9de6df4119ae.js → 917.bundle.2873450fcbf02c3ca682.js} +0 -0
- /package/dist/{953.bundle.c14d9eb6400f697019ee.js → 953.bundle.1de52944098d308df5ae.js} +0 -0
- /package/dist/{973.bundle.4100cf103686b64938d1.js → 973.bundle.4a3c3fbc4ba1e21316b1.js} +0 -0
- /package/dist/{984.bundle.157fc66ea5040e1364af.js → 984.bundle.42ecc8799d12cd7c0611.js} +0 -0
|
@@ -284,7 +284,7 @@ function callInputDialog(uiDialogService, label, callback) {
|
|
|
284
284
|
showOverlay: true,
|
|
285
285
|
content: ui_src/* Dialog */.Vq,
|
|
286
286
|
contentProps: {
|
|
287
|
-
title: '
|
|
287
|
+
title: 'Segment',
|
|
288
288
|
value: {
|
|
289
289
|
label
|
|
290
290
|
},
|
|
@@ -307,13 +307,12 @@ function callInputDialog(uiDialogService, label, callback) {
|
|
|
307
307
|
value,
|
|
308
308
|
setValue
|
|
309
309
|
} = _ref2;
|
|
310
|
-
return /*#__PURE__*/react.createElement(
|
|
311
|
-
|
|
312
|
-
|
|
310
|
+
return /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
311
|
+
label: "Enter the segment label",
|
|
312
|
+
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
313
313
|
autoFocus: true,
|
|
314
|
-
className: "
|
|
314
|
+
className: "bg-black border-primary-main",
|
|
315
315
|
type: "text",
|
|
316
|
-
containerClassName: "mr-2",
|
|
317
316
|
value: value.label,
|
|
318
317
|
onChange: event => {
|
|
319
318
|
event.persist();
|
|
@@ -332,7 +331,7 @@ function callInputDialog(uiDialogService, label, callback) {
|
|
|
332
331
|
});
|
|
333
332
|
}
|
|
334
333
|
}
|
|
335
|
-
})
|
|
334
|
+
});
|
|
336
335
|
}
|
|
337
336
|
}
|
|
338
337
|
});
|
|
@@ -146,8 +146,8 @@ function callInputDialog(uiDialogService, data, callback) {
|
|
|
146
146
|
const dialogId = 'dialog-enter-annotation';
|
|
147
147
|
const label = data ? isArrowAnnotateInputDialog ? data.text : data.label : '';
|
|
148
148
|
const {
|
|
149
|
-
dialogTitle = '
|
|
150
|
-
inputLabel = '',
|
|
149
|
+
dialogTitle = 'Annotation',
|
|
150
|
+
inputLabel = 'Enter your annotation',
|
|
151
151
|
validateFunc = value => true
|
|
152
152
|
} = dialogConfig;
|
|
153
153
|
const onSubmitHandler = _ref => {
|
|
@@ -199,16 +199,13 @@ function callInputDialog(uiDialogService, data, callback) {
|
|
|
199
199
|
value,
|
|
200
200
|
setValue
|
|
201
201
|
} = _ref2;
|
|
202
|
-
return /*#__PURE__*/react.createElement(
|
|
203
|
-
className: "p-4 bg-primary-dark"
|
|
204
|
-
}, /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
202
|
+
return /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
205
203
|
autoFocus: true,
|
|
206
|
-
className: "
|
|
204
|
+
className: "bg-black border-primary-main",
|
|
207
205
|
type: "text",
|
|
208
206
|
id: "annotation",
|
|
209
|
-
containerClassName: "mr-2",
|
|
210
207
|
label: inputLabel,
|
|
211
|
-
labelClassName: "text-
|
|
208
|
+
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
212
209
|
value: value.label,
|
|
213
210
|
onChange: event => {
|
|
214
211
|
event.persist();
|
|
@@ -227,7 +224,7 @@ function callInputDialog(uiDialogService, data, callback) {
|
|
|
227
224
|
});
|
|
228
225
|
}
|
|
229
226
|
}
|
|
230
|
-
})
|
|
227
|
+
});
|
|
231
228
|
}
|
|
232
229
|
}
|
|
233
230
|
});
|
|
@@ -3622,7 +3619,7 @@ const DicomUploadProgressItem = /*#__PURE__*/(0,react.memo)(_ref => {
|
|
|
3622
3619
|
}, percentComplete, "%"), /*#__PURE__*/react.createElement("div", {
|
|
3623
3620
|
className: "flex cursor-pointer ml-auto"
|
|
3624
3621
|
}, /*#__PURE__*/react.createElement(ui_src/* Icon */.JO, {
|
|
3625
|
-
className: "
|
|
3622
|
+
className: "self-center text-primary-active",
|
|
3626
3623
|
name: "close",
|
|
3627
3624
|
onClick: cancelUpload
|
|
3628
3625
|
})))));
|
|
@@ -748,7 +748,7 @@ function createReportDialogPrompt(uiDialogService) {
|
|
|
748
748
|
useLastPosition: false,
|
|
749
749
|
showOverlay: true,
|
|
750
750
|
contentProps: {
|
|
751
|
-
title: '
|
|
751
|
+
title: 'Create Report',
|
|
752
752
|
value: {
|
|
753
753
|
label: ''
|
|
754
754
|
},
|
|
@@ -789,12 +789,13 @@ function createReportDialogPrompt(uiDialogService) {
|
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
791
|
return /*#__PURE__*/react.createElement("div", {
|
|
792
|
-
className: "
|
|
792
|
+
className: ""
|
|
793
793
|
}, /*#__PURE__*/react.createElement(src/* Input */.II, {
|
|
794
|
+
label: "Enter the report name",
|
|
795
|
+
labelClassName: "text-white grow leading-[1.2] text-[14px]",
|
|
794
796
|
autoFocus: true,
|
|
795
|
-
className: "
|
|
797
|
+
className: "bg-black border-primary-main grow",
|
|
796
798
|
type: "text",
|
|
797
|
-
containerClassName: "mr-2",
|
|
798
799
|
value: value.label,
|
|
799
800
|
onChange: onChangeHandler,
|
|
800
801
|
onKeyPress: onKeyPressHandler
|
|
@@ -2093,7 +2094,7 @@ function PanelMeasurementTableTracking(_ref) {
|
|
|
2093
2094
|
showOverlay: true,
|
|
2094
2095
|
content: ui_src/* Dialog */.Vq,
|
|
2095
2096
|
contentProps: {
|
|
2096
|
-
title: '
|
|
2097
|
+
title: 'Annotation',
|
|
2097
2098
|
noCloseButton: true,
|
|
2098
2099
|
value: {
|
|
2099
2100
|
label: measurement.label || ''
|
|
@@ -2120,18 +2121,17 @@ function PanelMeasurementTableTracking(_ref) {
|
|
|
2120
2121
|
});
|
|
2121
2122
|
}
|
|
2122
2123
|
};
|
|
2123
|
-
return /*#__PURE__*/react.createElement(
|
|
2124
|
-
|
|
2125
|
-
|
|
2124
|
+
return /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
2125
|
+
label: "Enter your annotation",
|
|
2126
|
+
labelClassName: "text-white grow text-[14px] leading-[1.2]",
|
|
2126
2127
|
autoFocus: true,
|
|
2127
2128
|
id: "annotation",
|
|
2128
|
-
className: "
|
|
2129
|
+
className: "bg-black border-primary-main",
|
|
2129
2130
|
type: "text",
|
|
2130
|
-
containerClassName: "mr-2",
|
|
2131
2131
|
value: value.label,
|
|
2132
2132
|
onChange: onChangeHandler,
|
|
2133
2133
|
onKeyPress: onKeyPressHandler
|
|
2134
|
-
})
|
|
2134
|
+
});
|
|
2135
2135
|
},
|
|
2136
2136
|
actions: [
|
|
2137
2137
|
// temp: swap button types until colors are updated
|
|
@@ -2143,8 +2143,8 @@ function ViewerLayout(_ref) {
|
|
|
2143
2143
|
hotkeyDefinitions,
|
|
2144
2144
|
hotkeyDefaults
|
|
2145
2145
|
} = hotkeysManager;
|
|
2146
|
-
const versionNumber = "3.6.0-beta.
|
|
2147
|
-
const commitHash = "
|
|
2146
|
+
const versionNumber = "3.6.0-beta.2";
|
|
2147
|
+
const commitHash = "874260340a0cfbecda5372592f584e7a8ade3aca";
|
|
2148
2148
|
const menuOptions = [{
|
|
2149
2149
|
title: t('Header:About'),
|
|
2150
2150
|
icon: 'info',
|
|
@@ -2896,7 +2896,7 @@ function createReportDialogPrompt(uiDialogService, _ref) {
|
|
|
2896
2896
|
useLastPosition: false,
|
|
2897
2897
|
showOverlay: true,
|
|
2898
2898
|
contentProps: {
|
|
2899
|
-
title: '
|
|
2899
|
+
title: 'Create Report',
|
|
2900
2900
|
value: {
|
|
2901
2901
|
label: '',
|
|
2902
2902
|
dataSourceName: extensionManager.activeDataSource
|
|
@@ -2937,9 +2937,7 @@ function createReportDialogPrompt(uiDialogService, _ref) {
|
|
|
2937
2937
|
});
|
|
2938
2938
|
}
|
|
2939
2939
|
};
|
|
2940
|
-
return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(
|
|
2941
|
-
className: "p-4 bg-primary-dark"
|
|
2942
|
-
}, dataSourcesOpts.length > 1 && /*#__PURE__*/react.createElement(ui_src/* Select */.Ph, {
|
|
2940
|
+
return /*#__PURE__*/react.createElement(react.Fragment, null, dataSourcesOpts.length > 1 && /*#__PURE__*/react.createElement(ui_src/* Select */.Ph, {
|
|
2943
2941
|
closeMenuOnSelect: true,
|
|
2944
2942
|
className: "mr-2 bg-black border-primary-main",
|
|
2945
2943
|
options: dataSourcesOpts,
|
|
@@ -2952,19 +2950,17 @@ function createReportDialogPrompt(uiDialogService, _ref) {
|
|
|
2952
2950
|
}));
|
|
2953
2951
|
},
|
|
2954
2952
|
isClearable: false
|
|
2955
|
-
})
|
|
2956
|
-
className: "p-4 bg-primary-dark"
|
|
2957
|
-
}, /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
2953
|
+
}), /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
2958
2954
|
autoFocus: true,
|
|
2959
|
-
|
|
2955
|
+
label: "Enter the report name",
|
|
2956
|
+
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
2957
|
+
className: "bg-black border-primary-main",
|
|
2960
2958
|
type: "text",
|
|
2961
|
-
placeholder: "Enter Report Name",
|
|
2962
|
-
containerClassName: "mr-2",
|
|
2963
2959
|
value: value.label,
|
|
2964
2960
|
onChange: onChangeHandler,
|
|
2965
2961
|
onKeyPress: onKeyPressHandler,
|
|
2966
2962
|
required: true
|
|
2967
|
-
}))
|
|
2963
|
+
}));
|
|
2968
2964
|
}
|
|
2969
2965
|
}
|
|
2970
2966
|
});
|
|
@@ -3227,7 +3223,7 @@ function PanelMeasurementTable(_ref) {
|
|
|
3227
3223
|
showOverlay: true,
|
|
3228
3224
|
content: ui_src/* Dialog */.Vq,
|
|
3229
3225
|
contentProps: {
|
|
3230
|
-
title: '
|
|
3226
|
+
title: 'Annotation',
|
|
3231
3227
|
noCloseButton: true,
|
|
3232
3228
|
value: {
|
|
3233
3229
|
label: measurement.label || ''
|
|
@@ -3254,18 +3250,17 @@ function PanelMeasurementTable(_ref) {
|
|
|
3254
3250
|
});
|
|
3255
3251
|
}
|
|
3256
3252
|
};
|
|
3257
|
-
return /*#__PURE__*/react.createElement(
|
|
3258
|
-
|
|
3259
|
-
|
|
3253
|
+
return /*#__PURE__*/react.createElement(ui_src/* Input */.II, {
|
|
3254
|
+
label: "Enter your annotation",
|
|
3255
|
+
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
3260
3256
|
autoFocus: true,
|
|
3261
3257
|
id: "annotation",
|
|
3262
|
-
className: "
|
|
3258
|
+
className: "bg-black border-primary-main",
|
|
3263
3259
|
type: "text",
|
|
3264
|
-
containerClassName: "mr-2",
|
|
3265
3260
|
value: value.label,
|
|
3266
3261
|
onChange: onChangeHandler,
|
|
3267
3262
|
onKeyPress: onKeyPressHandler
|
|
3268
|
-
})
|
|
3263
|
+
});
|
|
3269
3264
|
},
|
|
3270
3265
|
actions: [
|
|
3271
3266
|
// temp: swap button types until colors are updated
|
|
@@ -1377,7 +1377,7 @@ var dcmjs_es = __webpack_require__(22737);
|
|
|
1377
1377
|
function callInputDialog(_ref) {
|
|
1378
1378
|
let {
|
|
1379
1379
|
uiDialogService,
|
|
1380
|
-
title = '
|
|
1380
|
+
title = 'Annotation',
|
|
1381
1381
|
defaultValue = '',
|
|
1382
1382
|
callback = (value, action) => {}
|
|
1383
1383
|
} = _ref;
|
|
@@ -1430,13 +1430,12 @@ function callInputDialog(_ref) {
|
|
|
1430
1430
|
value,
|
|
1431
1431
|
setValue
|
|
1432
1432
|
} = _ref3;
|
|
1433
|
-
return /*#__PURE__*/react.createElement(
|
|
1434
|
-
|
|
1435
|
-
|
|
1433
|
+
return /*#__PURE__*/react.createElement(src/* Input */.II, {
|
|
1434
|
+
label: "Enter your annotation",
|
|
1435
|
+
labelClassName: "text-white text-[14px] leading-[1.2]",
|
|
1436
1436
|
autoFocus: true,
|
|
1437
|
-
className: "
|
|
1437
|
+
className: "bg-black border-primary-main",
|
|
1438
1438
|
type: "text",
|
|
1439
|
-
containerClassName: "mr-2",
|
|
1440
1439
|
value: value.defaultValue,
|
|
1441
1440
|
onChange: event => {
|
|
1442
1441
|
event.persist();
|
|
@@ -1455,7 +1454,7 @@ function callInputDialog(_ref) {
|
|
|
1455
1454
|
});
|
|
1456
1455
|
}
|
|
1457
1456
|
}
|
|
1458
|
-
})
|
|
1457
|
+
});
|
|
1459
1458
|
}
|
|
1460
1459
|
}
|
|
1461
1460
|
});
|
|
@@ -2068,7 +2067,6 @@ function getCommandsModule(_ref) {
|
|
|
2068
2067
|
const roiAnnotation = microscopyService.getAnnotation(uid);
|
|
2069
2068
|
callInputDialog({
|
|
2070
2069
|
uiDialogService,
|
|
2071
|
-
title: 'Enter your annotation',
|
|
2072
2070
|
defaultValue: '',
|
|
2073
2071
|
callback: (value, action) => {
|
|
2074
2072
|
switch (action) {
|