@ohif/app 3.11.0-beta.11 → 3.11.0-beta.13
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/{3984.bundle.3c3bb74ec2ea07a522dc.js → 3984.bundle.16cab9d961c12373ca19.js} +20 -7
- package/dist/{app.bundle.6842792c11978d3240b5.js → app.bundle.9f3d4113fe184c614728.js} +18 -11
- package/dist/app.bundle.css +2 -2
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +18 -18
- /package/dist/{1459.bundle.463e8eaf3574403edbec.js → 1459.bundle.959bbbf5af38c296f84a.js} +0 -0
- /package/dist/{1807.bundle.5584cf4831fda2591957.js → 1807.bundle.956f0173152e028e88fe.js} +0 -0
- /package/dist/{1919.bundle.24d5b76e52c5def44133.js → 1919.bundle.21de18aa515267ad20d6.js} +0 -0
- /package/dist/{213.bundle.6caf830c10ffae24598e.js → 213.bundle.b34eb08da32d3df6f83b.js} +0 -0
- /package/dist/{2424.bundle.1a96f0fb70d757ee7f81.js → 2424.bundle.8dd7a2503eb946e71a7f.js} +0 -0
- /package/dist/{2932.bundle.8c2338a9d6d5a6827578.js → 2932.bundle.8b0d87b64e374ae74929.js} +0 -0
- /package/dist/{3658.bundle.4aa9b89f76f2bed2f47c.js → 3658.bundle.797161e0a4e453771cac.js} +0 -0
- /package/dist/{4113.bundle.32ce5710bb5dfe6a93a0.js → 4113.bundle.5b628ca60cbc8a04e951.js} +0 -0
- /package/dist/{6027.bundle.3c5f3f579d664e35a3ab.js → 6027.bundle.741fa6c9cecfb0cb547e.js} +0 -0
- /package/dist/{6201.bundle.ce60797fcee3f8b8401b.js → 6201.bundle.268a4385d189319f2d71.js} +0 -0
- /package/dist/{7197.bundle.21c3bcd8fcc2f5cd09bc.js → 7197.bundle.39a8e35b205a9bc6bb98.js} +0 -0
- /package/dist/{7241.bundle.7bb3bcb40e172ac8472a.js → 7241.bundle.df2d6be71eb2b9d6300d.js} +0 -0
- /package/dist/{7639.bundle.47164e4a9ad1a81dc1dd.js → 7639.bundle.8819f16a3e3a0fcda661.js} +0 -0
- /package/dist/{810.bundle.75c83065714945d7d47c.js → 810.bundle.66359c688d00b6572c2e.js} +0 -0
- /package/dist/{85.bundle.7d6e621f54f51900300d.js → 85.bundle.be283f7c7283348fdbc5.js} +0 -0
- /package/dist/{8558.bundle.f02f0a8d9940f594e2a3.js → 8558.bundle.e4191b03074af6a539d2.js} +0 -0
- /package/dist/{8815.bundle.b25f36db469908a199e0.js → 8815.bundle.68dc0e372041a4c1d294.js} +0 -0
- /package/dist/{934.bundle.4704306c069fb657c12f.js → 934.bundle.6f4b444ed01ab783e8e0.js} +0 -0
- /package/dist/{963.bundle.afabe1cbcb21269d890b.js → 963.bundle.fb9d61e3d3049979cae3.js} +0 -0
|
@@ -4868,8 +4868,19 @@ var ImageSet = __webpack_require__(14169);
|
|
|
4868
4868
|
function getDisplaySetsFromUnsupportedSeries(instances) {
|
|
4869
4869
|
const imageSet = new ImageSet/* default */.A(instances);
|
|
4870
4870
|
const messages = new src/* DisplaySetMessageList */.WZ();
|
|
4871
|
-
messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.UNSUPPORTED_DISPLAYSET);
|
|
4872
4871
|
const instance = instances[0];
|
|
4872
|
+
if (!instances.length) {
|
|
4873
|
+
messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.NO_VALID_INSTANCES);
|
|
4874
|
+
} else {
|
|
4875
|
+
const sopClassUid = instance.SOPClassUID;
|
|
4876
|
+
if (sopClassUid) {
|
|
4877
|
+
messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.UNSUPPORTED_SOP_CLASS_UID, {
|
|
4878
|
+
sopClassUid
|
|
4879
|
+
});
|
|
4880
|
+
} else {
|
|
4881
|
+
messages.addMessage(src/* DisplaySetMessage */.Ob.CODES.MISSING_SOP_CLASS_UID);
|
|
4882
|
+
}
|
|
4883
|
+
}
|
|
4873
4884
|
imageSet.setAttributes({
|
|
4874
4885
|
displaySetInstanceUID: imageSet.uid,
|
|
4875
4886
|
// create a local alias for the imageSet UID
|
|
@@ -6732,7 +6743,7 @@ const DicomTagBrowser = ({
|
|
|
6732
6743
|
}, /*#__PURE__*/react.createElement("div", {
|
|
6733
6744
|
className: "flex w-1/3 flex-col"
|
|
6734
6745
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6735
|
-
className: "text-muted-foreground flex h-6 items-center text-
|
|
6746
|
+
className: "text-muted-foreground flex h-6 items-center pb-2 text-base"
|
|
6736
6747
|
}, "Series"), /*#__PURE__*/react.createElement(ui_next_src/* Select */.l6P, {
|
|
6737
6748
|
value: selectedDisplaySetInstanceUID,
|
|
6738
6749
|
onValueChange: value => onSelectChange({
|
|
@@ -6748,7 +6759,7 @@ const DicomTagBrowser = ({
|
|
|
6748
6759
|
})))), shouldShowInstanceList && /*#__PURE__*/react.createElement("div", {
|
|
6749
6760
|
className: "mx-auto mt-0.5 flex w-1/4 flex-col"
|
|
6750
6761
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6751
|
-
className: "text-muted-foreground flex h-6 items-center text-
|
|
6762
|
+
className: "text-muted-foreground flex h-6 items-center pb-2 text-base"
|
|
6752
6763
|
}, "Instance Number (", instanceNumber, " of ", activeDisplaySet?.images?.length, ")"), /*#__PURE__*/react.createElement(ui_next_src/* Slider */.Apm, {
|
|
6753
6764
|
value: [instanceNumber],
|
|
6754
6765
|
onValueChange: ([value]) => {
|
|
@@ -6761,14 +6772,16 @@ const DicomTagBrowser = ({
|
|
|
6761
6772
|
})), /*#__PURE__*/react.createElement("div", {
|
|
6762
6773
|
className: "ml-auto mr-1 flex w-1/3 flex-col"
|
|
6763
6774
|
}, /*#__PURE__*/react.createElement("span", {
|
|
6764
|
-
className: "text-muted-foreground flex h-6 items-center text-
|
|
6775
|
+
className: "text-muted-foreground flex h-6 items-center pb-2 text-base"
|
|
6765
6776
|
}, "Search metadata"), /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB, {
|
|
6766
6777
|
className: "text-muted-foreground",
|
|
6767
6778
|
onChange: setFilterValue
|
|
6768
6779
|
}, /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB.SearchIcon, null), /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB.Input, {
|
|
6769
6780
|
placeholder: "Search metadata",
|
|
6770
6781
|
className: "pl-9 pr-9"
|
|
6771
|
-
}), /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB.ClearButton,
|
|
6782
|
+
}), /*#__PURE__*/react.createElement(ui_next_src/* InputFilter */.zbB.ClearButton, {
|
|
6783
|
+
className: "text-primary mr-0.5 p-0.5"
|
|
6784
|
+
}))))), /*#__PURE__*/react.createElement(DicomTagBrowser_DicomTagTable, {
|
|
6772
6785
|
rows: filteredRows
|
|
6773
6786
|
}));
|
|
6774
6787
|
};
|
|
@@ -10257,8 +10270,8 @@ function AboutModalDefault() {
|
|
|
10257
10270
|
name
|
|
10258
10271
|
} = (0,browser_detect_es5/* default */.A)();
|
|
10259
10272
|
const browser = `${name[0].toUpperCase()}${name.substr(1)} ${version}`;
|
|
10260
|
-
const versionNumber = "3.11.0-beta.
|
|
10261
|
-
const commitHash = "
|
|
10273
|
+
const versionNumber = "3.11.0-beta.13";
|
|
10274
|
+
const commitHash = "56fdb8281252b57eeea088b9b7efe287f4d27f89";
|
|
10262
10275
|
const [main, beta] = versionNumber.split('-');
|
|
10263
10276
|
return /*#__PURE__*/react.createElement(ui_next_src/* AboutModal */.VTU, {
|
|
10264
10277
|
className: "w-[400px]"
|
|
@@ -126141,12 +126141,17 @@ DisplaySetService.REGISTRATION = {
|
|
|
126141
126141
|
};
|
|
126142
126142
|
;// CONCATENATED MODULE: ../../core/src/services/DisplaySetService/DisplaySetMessage.ts
|
|
126143
126143
|
/**
|
|
126144
|
-
* Defines a displaySet message, that could be any pf the potential problems of a displaySet
|
|
126144
|
+
* Defines a displaySet message, that could be any pf the potential problems of a displaySet.
|
|
126145
|
+
*
|
|
126146
|
+
* @property {number} id - message ID.
|
|
126147
|
+
* @property {Record<string, any>} args - message arguments, will be passed to the translation function when the message is rendered.
|
|
126145
126148
|
*/
|
|
126146
126149
|
class DisplaySetMessage {
|
|
126147
|
-
constructor(id) {
|
|
126150
|
+
constructor(id, args = {}) {
|
|
126148
126151
|
this.id = void 0;
|
|
126152
|
+
this.args = void 0;
|
|
126149
126153
|
this.id = id;
|
|
126154
|
+
this.args = args;
|
|
126150
126155
|
}
|
|
126151
126156
|
}
|
|
126152
126157
|
/**
|
|
@@ -126165,14 +126170,16 @@ DisplaySetMessage.CODES = {
|
|
|
126165
126170
|
INCONSISTENT_COMPONENTS: 10,
|
|
126166
126171
|
INCONSISTENT_ORIENTATIONS: 11,
|
|
126167
126172
|
INCONSISTENT_POSITION_INFORMATION: 12,
|
|
126168
|
-
UNSUPPORTED_DISPLAYSET: 13
|
|
126173
|
+
UNSUPPORTED_DISPLAYSET: 13,
|
|
126174
|
+
UNSUPPORTED_SOP_CLASS_UID: 14,
|
|
126175
|
+
MISSING_SOP_CLASS_UID: 15
|
|
126169
126176
|
};
|
|
126170
126177
|
class DisplaySetMessageList {
|
|
126171
126178
|
constructor() {
|
|
126172
126179
|
this.messages = [];
|
|
126173
126180
|
}
|
|
126174
|
-
addMessage(messageId) {
|
|
126175
|
-
const message = new DisplaySetMessage(messageId);
|
|
126181
|
+
addMessage(messageId, args = {}) {
|
|
126182
|
+
const message = new DisplaySetMessage(messageId, args);
|
|
126176
126183
|
this.messages.push(message);
|
|
126177
126184
|
}
|
|
126178
126185
|
size() {
|
|
@@ -126182,7 +126189,7 @@ class DisplaySetMessageList {
|
|
|
126182
126189
|
return this.messages.some(message => message.id === messageId);
|
|
126183
126190
|
}
|
|
126184
126191
|
includesAllMessages(messageIdList) {
|
|
126185
|
-
return messageIdList.every(messageId => this.
|
|
126192
|
+
return messageIdList.every(messageId => this.includesMessage(messageId));
|
|
126186
126193
|
}
|
|
126187
126194
|
}
|
|
126188
126195
|
|
|
@@ -138928,7 +138935,7 @@ const detectionOptions = {
|
|
|
138928
138935
|
}
|
|
138929
138936
|
});
|
|
138930
138937
|
;// CONCATENATED MODULE: ../../i18n/package.json
|
|
138931
|
-
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.11.0-beta.
|
|
138938
|
+
const package_namespaceObject = /*#__PURE__*/JSON.parse('{"rE":"3.11.0-beta.12"}');
|
|
138932
138939
|
;// CONCATENATED MODULE: ../../i18n/src/utils.js
|
|
138933
138940
|
const languagesMap = {
|
|
138934
138941
|
ar: 'Arabic',
|
|
@@ -139145,7 +139152,7 @@ const en_US_UserPreferencesModal_namespaceObject = /*#__PURE__*/JSON.parse('{"Ca
|
|
|
139145
139152
|
;// CONCATENATED MODULE: ../../i18n/src/locales/en-US/ViewportDownloadForm.json
|
|
139146
139153
|
const en_US_ViewportDownloadForm_namespaceObject = /*#__PURE__*/JSON.parse('{"emptyFilenameError":"The file name cannot be empty.","fileType":"File Type","filename":"File Name","formTitle":"Please specify the dimensions, filename, and desired type for the output image.","imageHeight":"Image height (px)","imagePreview":"Image Preview","imageWidth":"Image width (px)","keepAspectRatio":"Keep aspect ratio","loadingPreview":"Loading Image Preview...","minHeightError":"The minimum valid height is 100px.","minWidthError":"The minimum valid width is 100px.","showAnnotations":"Show Annotations"}');
|
|
139147
139154
|
;// CONCATENATED MODULE: ../../i18n/src/locales/en-US/Messages.json
|
|
139148
|
-
const Messages_namespaceObject = /*#__PURE__*/JSON.parse('{"1":"No valid instances found in series.","2":"Display set has missing position information.","3":"Display set is not a reconstructable 3D volume.","4":"Multi frame display sets do not have pixel measurement information.","5":"Multi frame display sets do not have orientation information.","6":"Multi frame display sets do not have position information.","7":"Display set has missing frames.","8":"Display set has irregular spacing.","9":"Display set has inconsistent dimensions between frames.","10":"Display set has frames with inconsistent number of components.","11":"Display set has frames with inconsistent orientations.","12":"Display set has inconsistent position information.","13":"Unsupported display set.","Display Set Messages":"Display Set Messages"}');
|
|
139155
|
+
const Messages_namespaceObject = /*#__PURE__*/JSON.parse('{"1":"No valid instances found in series.","2":"Display set has missing position information.","3":"Display set is not a reconstructable 3D volume.","4":"Multi frame display sets do not have pixel measurement information.","5":"Multi frame display sets do not have orientation information.","6":"Multi frame display sets do not have position information.","7":"Display set has missing frames.","8":"Display set has irregular spacing.","9":"Display set has inconsistent dimensions between frames.","10":"Display set has frames with inconsistent number of components.","11":"Display set has frames with inconsistent orientations.","12":"Display set has inconsistent position information.","13":"Unsupported display set.","14":"SOP Class UID {{ sopClassUid }} is not supported.","15":"Display Set is missing a SOP Class UID. Please check the file.","Display Set Messages":"Display Set Messages"}');
|
|
139149
139156
|
;// CONCATENATED MODULE: ../../i18n/src/locales/en-US/WindowLevelActionMenu.json
|
|
139150
139157
|
const WindowLevelActionMenu_namespaceObject = /*#__PURE__*/JSON.parse('{"Back to Display Options":"Back to Display Options","Modality Presets":"{{modality}} Presets","Modality Window Presets":"{{modality}} Window Presets"}');
|
|
139151
139158
|
;// CONCATENATED MODULE: ../../i18n/src/locales/en-US/index.js
|
|
@@ -145689,7 +145696,7 @@ const Clear = props => /*#__PURE__*/react.createElement("svg", Clear_extends({
|
|
|
145689
145696
|
fill: "none",
|
|
145690
145697
|
fillRule: "evenodd"
|
|
145691
145698
|
}, /*#__PURE__*/react.createElement("circle", {
|
|
145692
|
-
fill: "
|
|
145699
|
+
fill: "currentColor",
|
|
145693
145700
|
cx: "9.5",
|
|
145694
145701
|
cy: "9.5",
|
|
145695
145702
|
r: "9.5"
|
|
@@ -228097,7 +228104,7 @@ const DividerItem = () => {
|
|
|
228097
228104
|
return /*#__PURE__*/react.createElement("div", {
|
|
228098
228105
|
className: "flex h-3.5 shrink-0 items-center px-2"
|
|
228099
228106
|
}, /*#__PURE__*/react.createElement("div", {
|
|
228100
|
-
className: "bg-
|
|
228107
|
+
className: "bg-background h-[2px] w-full"
|
|
228101
228108
|
}));
|
|
228102
228109
|
};
|
|
228103
228110
|
/* harmony default export */ const AllInOneMenu_DividerItem = (DividerItem);
|
|
@@ -427314,7 +427321,7 @@ function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
|
427314
427321
|
/******/ // This function allow to reference async chunks
|
|
427315
427322
|
/******/ __webpack_require__.u = (chunkId) => {
|
|
427316
427323
|
/******/ // return url for filenames based on template
|
|
427317
|
-
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"
|
|
427324
|
+
/******/ return "" + ({"572":"polySeg","2007":"interpolation","3054":"histogram-worker","3694":"compute"}[chunkId] || chunkId) + ".bundle." + {"85":"be283f7c7283348fdbc5","213":"b34eb08da32d3df6f83b","572":"707e6d9b0342d06ffa49","732":"6978ac30a1e36abf06db","810":"66359c688d00b6572c2e","934":"6f4b444ed01ab783e8e0","963":"fb9d61e3d3049979cae3","1459":"959bbbf5af38c296f84a","1807":"956f0173152e028e88fe","1919":"21de18aa515267ad20d6","1927":"83810560c4d3a90eb7cf","2007":"26c71e2b635b13e01127","2424":"8dd7a2503eb946e71a7f","2701":"f1f15df81406d04851c4","2914":"a0a5ddfebfc9d429063d","2932":"8b0d87b64e374ae74929","3054":"b7bb02c6cd9273c422f5","3075":"0624f6bf3f676f30d1b5","3166":"0f97235b970e279a4707","3658":"797161e0a4e453771cac","3694":"f0c30502c027d04e94f2","3984":"16cab9d961c12373ca19","4113":"5b628ca60cbc8a04e951","4202":"89ae773b645db3b1c59c","4526":"fbdd617a934353019be3","4759":"a31dcfd4c3054e2ea980","4991":"f72a01fd158167a94ae8","5261":"6e1a017f8f1027557f5b","5674":"b9c6a5039c2113262ae5","6027":"741fa6c9cecfb0cb547e","6029":"c5d0baf943c367e7bcb8","6201":"268a4385d189319f2d71","6939":"45622b7920dac102b5a7","7159":"9c21bc29860ed1850c67","7197":"39a8e35b205a9bc6bb98","7241":"df2d6be71eb2b9d6300d","7639":"8819f16a3e3a0fcda661","8094":"5c44190a325ac23e3e5c","8185":"0dde37bbed6dbbf102d3","8228":"a6200ef62297671751d1","8402":"edb924cd47cd168f621c","8558":"e4191b03074af6a539d2","8815":"68dc0e372041a4c1d294","9026":"37f3be98189966cc21e4","9862":"ccb787865a82b9696113","9890":"37d7ed265c0454337a57","9977":"071821200c1921021d29"}[chunkId] + ".js";
|
|
427318
427325
|
/******/ };
|
|
427319
427326
|
/******/ })();
|
|
427320
427327
|
/******/
|