hellfire 0.17.8 → 0.17.9
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/CHANGELOG.md +4 -0
- package/dist/index.js +33 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.17.9](http://10.16.100.57/diffusion/115/paladin/compare/v0.17.8...v0.17.9) (2021-12-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.17.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.17.7...v0.17.8) (2021-12-30)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -51985,6 +51985,33 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
51985
51985
|
var _activeIndex = this.props.paladin.viewport.activeIndex;
|
|
51986
51986
|
this.resetImageLinkSynchronize(_activeIndex, payload);
|
|
51987
51987
|
}
|
|
51988
|
+
|
|
51989
|
+
if (action.type === "SET_LAYOUT") {
|
|
51990
|
+
setTimeout(function () {
|
|
51991
|
+
try {
|
|
51992
|
+
var pageCount = payload.row * payload.col;
|
|
51993
|
+
var layoutElements = lodash$1.map(Array(pageCount), function (v, n) {
|
|
51994
|
+
return getElement(n);
|
|
51995
|
+
});
|
|
51996
|
+
|
|
51997
|
+
var _iterator3 = _createForOfIteratorHelper$d(layoutElements),
|
|
51998
|
+
_step3;
|
|
51999
|
+
|
|
52000
|
+
try {
|
|
52001
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
52002
|
+
var element = _step3.value;
|
|
52003
|
+
cornerstone.resize(element, true);
|
|
52004
|
+
}
|
|
52005
|
+
} catch (err) {
|
|
52006
|
+
_iterator3.e(err);
|
|
52007
|
+
} finally {
|
|
52008
|
+
_iterator3.f();
|
|
52009
|
+
}
|
|
52010
|
+
} catch (e) {
|
|
52011
|
+
console.log('ignore element not enabled event');
|
|
52012
|
+
}
|
|
52013
|
+
});
|
|
52014
|
+
}
|
|
51988
52015
|
}
|
|
51989
52016
|
|
|
51990
52017
|
break;
|
|
@@ -52040,18 +52067,18 @@ var DicomView = /*#__PURE__*/function (_Component) {
|
|
|
52040
52067
|
return getElement(n);
|
|
52041
52068
|
});
|
|
52042
52069
|
|
|
52043
|
-
var
|
|
52044
|
-
|
|
52070
|
+
var _iterator4 = _createForOfIteratorHelper$d(elements),
|
|
52071
|
+
_step4;
|
|
52045
52072
|
|
|
52046
52073
|
try {
|
|
52047
|
-
for (
|
|
52048
|
-
var element =
|
|
52074
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
52075
|
+
var element = _step4.value;
|
|
52049
52076
|
cornerstone.updateImage(element, true);
|
|
52050
52077
|
}
|
|
52051
52078
|
} catch (err) {
|
|
52052
|
-
|
|
52079
|
+
_iterator4.e(err);
|
|
52053
52080
|
} finally {
|
|
52054
|
-
|
|
52081
|
+
_iterator4.f();
|
|
52055
52082
|
}
|
|
52056
52083
|
} catch (e) {
|
|
52057
52084
|
console.log('element not enabled');
|