hellfire 0.25.2 → 0.25.4
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 +8 -0
- package/README.md +7 -7
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.25.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.3...v0.25.4) (2023-01-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.25.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.2...v0.25.3) (2023-01-16)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.25.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.1...v0.25.2) (2023-01-13)
|
|
6
14
|
|
|
7
15
|
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
## Paladin (hellfire)
|
|
2
|
+
|
|
3
3
|
|
|
4
4
|
云图本地渲染引擎
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## Usage
|
|
7
7
|
|
|
8
8
|
Example:
|
|
9
9
|
|
|
@@ -21,9 +21,9 @@ const Example = ()=> (
|
|
|
21
21
|
)
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
## API documentation
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
### DicomView允许传入的参数:
|
|
27
27
|
|
|
28
28
|
<b>`study`</b>
|
|
29
29
|
|
|
@@ -144,7 +144,7 @@ toolSortChange: ()=> void
|
|
|
144
144
|
|
|
145
145
|
传入工具栏自定义排序的回调函数(用于早期的单列工具栏)
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
### DicomView提供给父组件调用的方法:
|
|
148
148
|
|
|
149
149
|
<b>`addStudy(data)`</b>
|
|
150
150
|
|
|
@@ -162,7 +162,7 @@ toolSortChange: ()=> void
|
|
|
162
162
|
|
|
163
163
|
模拟触发paladin内的各种操作行为(提供给同屏使用)
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
### paladin对外暴露的对象:
|
|
166
166
|
|
|
167
167
|
用法:
|
|
168
168
|
```
|
package/dist/index.js
CHANGED
|
@@ -51951,8 +51951,12 @@ var DicomThumbnailLayout = /*#__PURE__*/function (_Component) {
|
|
|
51951
51951
|
|
|
51952
51952
|
defineProperty(assertThisInitialized(_this), "handleRefresh", function () {
|
|
51953
51953
|
paladinRefreshEvent();
|
|
51954
|
-
|
|
51955
|
-
|
|
51954
|
+
|
|
51955
|
+
if (_this.props.onRefresh) {
|
|
51956
|
+
_this.props.onRefresh();
|
|
51957
|
+
} else {
|
|
51958
|
+
window.location.reload();
|
|
51959
|
+
}
|
|
51956
51960
|
});
|
|
51957
51961
|
|
|
51958
51962
|
defineProperty(assertThisInitialized(_this), "handleThumbSelect", function (i) {
|
|
@@ -60135,6 +60139,11 @@ var mergeProps$p = function mergeProps(propsFromState, propsFromDispatch, ownPro
|
|
|
60135
60139
|
|
|
60136
60140
|
var totalCount = propsFromState.currentSeries && propsFromState.currentSeries.imageIds.length || 0;
|
|
60137
60141
|
var stepTime = lodash$1.floor(10 * 1000 / totalCount);
|
|
60142
|
+
|
|
60143
|
+
if (totalCount < 30) {
|
|
60144
|
+
stepTime = lodash$1.floor(10 * 1000 / 30);
|
|
60145
|
+
}
|
|
60146
|
+
|
|
60138
60147
|
var throttleForwardFunc = throttle$9(forwardFunc, stepTime);
|
|
60139
60148
|
var throttleBackFunc = throttle$9(backFunc, stepTime);
|
|
60140
60149
|
/**
|