hellfire 0.29.12 → 0.29.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/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.29.13](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.12...v0.29.13) (2025-05-29)
6
+
7
+
8
+
5
9
  ## [0.29.12](http://10.16.100.57/diffusion/115/paladin/compare/v0.29.11...v0.29.12) (2025-05-14)
6
10
 
7
11
 
package/dist/index.js CHANGED
@@ -12558,7 +12558,9 @@ var resources = {
12558
12558
  pan: 'Reset Pan',
12559
12559
  rotate: 'Reset Rotate',
12560
12560
  measurement: 'Reset Measurement',
12561
- all: 'Reset All'
12561
+ all: 'Reset All',
12562
+ title2: 'Clear',
12563
+ cache: 'Clear Cache'
12562
12564
  },
12563
12565
  cine: {
12564
12566
  title: 'Cine Settings',
@@ -12699,7 +12701,7 @@ var resources = {
12699
12701
  loading_image_message: '正在加载图像',
12700
12702
  loading_image_completed: '图像加载完毕',
12701
12703
  warning_message_position: '检测到该序列包含不同方位信息的图像,是否需要软件自动选择其中符合条件的进行重建?',
12702
- tool_crosshair: '定位线',
12704
+ tool_crosshair: '十字线',
12703
12705
  tool_crosshair_tooltip: '十字定位线',
12704
12706
  tool_direction: '视角',
12705
12707
  tool_direction_tooltip: '切换视角',
@@ -12764,7 +12766,9 @@ var resources = {
12764
12766
  pan: '重置移动',
12765
12767
  rotate: '重置旋转',
12766
12768
  measurement: '重置测量',
12767
- all: '重置所有'
12769
+ all: '重置所有',
12770
+ title2: '清理',
12771
+ cache: '清理缓存'
12768
12772
  },
12769
12773
  cine: {
12770
12774
  title: '设置播放参数',
@@ -40712,6 +40716,13 @@ var Reset = /*#__PURE__*/function (_Component) {
40712
40716
  text: getI18nMessage('vp_reset', 'all'),
40713
40717
  icon: /*#__PURE__*/React__default.createElement(SvgBanCircle, null)
40714
40718
  }]
40719
+ }, {
40720
+ title: getI18nMessage('vp_reset', 'title2'),
40721
+ children: [{
40722
+ key: 'cache',
40723
+ text: getI18nMessage('vp_reset', 'cache'),
40724
+ icon: /*#__PURE__*/React__default.createElement(SvgBanCircle, null)
40725
+ }]
40715
40726
  }];
40716
40727
  return /*#__PURE__*/React__default.createElement(ToolPopoverTemplate, _extends_1({}, this.props, {
40717
40728
  dataSource: dataSource
@@ -40789,6 +40800,15 @@ var mergeProps$9 = function mergeProps(propsFromState, propsFromDispatch, ownPro
40789
40800
 
40790
40801
  break;
40791
40802
 
40803
+ case 'cache':
40804
+ if (ownProps.onClearCache) {
40805
+ ownProps.onClearCache();
40806
+ } else {
40807
+ window.location.reload();
40808
+ }
40809
+
40810
+ break;
40811
+
40792
40812
  default:
40793
40813
  return;
40794
40814
  }
@@ -47785,6 +47805,9 @@ var DicomTool = /*#__PURE__*/function (_Component) {
47785
47805
  inActive: true,
47786
47806
  onClick: function onClick() {
47787
47807
  _this.props.reset();
47808
+ },
47809
+ customProps: {
47810
+ onClearCache: _this.props.onClearCache
47788
47811
  }
47789
47812
  },
47790
47813
  Rotate: {
@@ -73343,7 +73366,8 @@ var DicomView = /*#__PURE__*/function (_Component) {
73343
73366
  setCustomWindowLayoutType: this.setCustomWindowLayoutType,
73344
73367
  operateKeyImages: this.props.operateKeyImages,
73345
73368
  dicomSettingChange: this.props.dicomSettingChange,
73346
- allowFilmPrint: this.props.allowFilmPrint
73369
+ allowFilmPrint: this.props.allowFilmPrint,
73370
+ onClearCache: this.props.onClearCache
73347
73371
  }));
73348
73372
  var FilmTool = /*#__PURE__*/React__default.createElement("div", {
73349
73373
  className: "paladin-dicomView-dicomToolWrapper"