hellfire 0.30.1 → 0.30.3

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,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.30.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.2...v0.30.3) (2025-07-18)
6
+
7
+
8
+
9
+ ## [0.30.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.1...v0.30.2) (2025-07-16)
10
+
11
+
12
+
5
13
  ## [0.30.1](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.0...v0.30.1) (2025-07-15)
6
14
 
7
15
 
package/dist/index.js CHANGED
@@ -29685,12 +29685,31 @@ function linkSynchronizer (synchronizer, sourceElement, targetElement, eventData
29685
29685
  }
29686
29686
 
29687
29687
  targetViewport.scale = scaleTarget + (scaleSource - scaleOrigin);
29688
+ var _sourceViewport$trans = sourceViewport.translation,
29689
+ xSource = _sourceViewport$trans.x,
29690
+ ySource = _sourceViewport$trans.y;
29691
+ var _targetViewport$trans = targetViewport.translation,
29692
+ xTarget = _targetViewport$trans.x,
29693
+ yTarget = _targetViewport$trans.y;
29694
+ var _originViewport$trans = originViewport.translation,
29695
+ x = _originViewport$trans.x,
29696
+ y = _originViewport$trans.y;
29697
+
29698
+ if (x === xSource && y === ySource) {
29699
+ synchronizer.setViewport(targetElement, targetViewport);
29700
+ return;
29701
+ }
29702
+
29703
+ targetViewport.translation.x = xTarget + (xSource - x);
29704
+ targetViewport.translation.y = yTarget + (ySource - y);
29688
29705
  } else {
29689
29706
  if (scaleTarget === scaleSource) {
29690
29707
  return;
29691
29708
  }
29692
29709
 
29693
29710
  targetViewport.scale = scaleSource;
29711
+ targetViewport.translation.x = sourceViewport.translation.x;
29712
+ targetViewport.translation.y = sourceViewport.translation.y;
29694
29713
  }
29695
29714
 
29696
29715
  synchronizer.setViewport(targetElement, targetViewport);
@@ -29698,21 +29717,21 @@ function linkSynchronizer (synchronizer, sourceElement, targetElement, eventData
29698
29717
 
29699
29718
  function handlePan() {
29700
29719
  if (!originViewport) {
29701
- var _sourceViewport$trans = sourceViewport.translation,
29702
- xSource = _sourceViewport$trans.x,
29703
- ySource = _sourceViewport$trans.y;
29720
+ var _sourceViewport$trans2 = sourceViewport.translation,
29721
+ xSource = _sourceViewport$trans2.x,
29722
+ ySource = _sourceViewport$trans2.y;
29704
29723
  targetViewport.translation.x = xSource;
29705
29724
  targetViewport.translation.y = ySource;
29706
29725
  } else {
29707
- var _sourceViewport$trans2 = sourceViewport.translation,
29708
- _xSource = _sourceViewport$trans2.x,
29709
- _ySource = _sourceViewport$trans2.y;
29710
- var _targetViewport$trans = targetViewport.translation,
29711
- xTarget = _targetViewport$trans.x,
29712
- yTarget = _targetViewport$trans.y;
29713
- var _originViewport$trans = originViewport.translation,
29714
- x = _originViewport$trans.x,
29715
- y = _originViewport$trans.y;
29726
+ var _sourceViewport$trans3 = sourceViewport.translation,
29727
+ _xSource = _sourceViewport$trans3.x,
29728
+ _ySource = _sourceViewport$trans3.y;
29729
+ var _targetViewport$trans2 = targetViewport.translation,
29730
+ xTarget = _targetViewport$trans2.x,
29731
+ yTarget = _targetViewport$trans2.y;
29732
+ var _originViewport$trans2 = originViewport.translation,
29733
+ x = _originViewport$trans2.x,
29734
+ y = _originViewport$trans2.y;
29716
29735
 
29717
29736
  if (x === _xSource && y === _ySource) {
29718
29737
  return;
@@ -30667,7 +30686,7 @@ var initialState$4 = {
30667
30686
  films: [],
30668
30687
  filmSizeType: '1417',
30669
30688
  // 胶片方向 默认纵向
30670
- filmOrientation: 'Portrait',
30689
+ filmOrientation: 'PORTRAIT',
30671
30690
  filmTemplate: [],
30672
30691
  filmLayoutRow: 5,
30673
30692
  filmLayoutCol: 4,
@@ -69395,10 +69414,10 @@ var FILM_DESTINATION_DIC = [{
69395
69414
  }];
69396
69415
  var FILM_ORIENTATION_DIC = [{
69397
69416
  label: '纵向',
69398
- value: 'Portrait'
69417
+ value: 'PORTRAIT'
69399
69418
  }, {
69400
69419
  label: '横向',
69401
- value: 'Landscape'
69420
+ value: 'LANDSCAPE'
69402
69421
  }];
69403
69422
 
69404
69423
  var css_248z$J = ".paladin-film-tool-item {\n width: 46px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n border: 1px solid #252525;\n background: #252525;\n margin: 2px;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-label {\n display: flex;\n flex-direction: row;\n font-size: 12px;\n white-space: nowrap;\n color: #c0c0c0;\n margin-top: 5px;\n overflow: hidden;\n text-align: center;\n word-break: break-all;\n justify-content: center;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-icon {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-icon svg {\n width: 22px;\n height: 22px;\n color: #c0c0c0;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-text {\n color: #fff;\n text-align: center;\n font-size: 14px;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-more {\n padding: 0 4px 0 3px;\n height: 100%;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-more svg {\n width: 7px;\n color: #c0c0c0;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-more:hover {\n background: #0d5075;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main {\n height: 100%;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main:hover {\n background: #0d5075;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main:hover .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main .paladin-tool-item-content {\n padding: 6px;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main-active {\n background: #0d5075;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main-active .paladin-tool-item-plus-label {\n color: #fff;\n}\n.paladin-film-tool-item .paladin-tool-item-plus-main-active .paladin-tool-item-plus-icon svg {\n color: #fff;\n}\n";
@@ -70275,11 +70294,11 @@ var getFilmPrintImageData = /*#__PURE__*/function () {
70275
70294
  return _context.abrupt("return");
70276
70295
 
70277
70296
  case 7:
70278
- _orientation = options.orientation || 'Portrait'; // 实际尺寸
70297
+ _orientation = options.orientation || 'PORTRAIT'; // 实际尺寸
70279
70298
 
70280
70299
  filmSize = FILM_SIZE_TYPE_MAP[sizeType];
70281
- filmWidth = _orientation === 'Portrait' ? filmSize.dicomColumn : filmSize.dicomRow;
70282
- filmHeight = _orientation === 'Portrait' ? filmSize.dicomRow : filmSize.dicomColumn;
70300
+ filmWidth = _orientation === 'PORTRAIT' ? filmSize.dicomColumn : filmSize.dicomRow;
70301
+ filmHeight = _orientation === 'PORTRAIT' ? filmSize.dicomRow : filmSize.dicomColumn;
70283
70302
  filmItemWidth = lodash$1.floor(filmWidth / col, 2);
70284
70303
  filmItemHeight = lodash$1.floor(filmHeight / row, 2);
70285
70304
  filmPrintOriginImageData = []; // 虚拟canvas
@@ -71001,7 +71020,7 @@ var FilmPrintModal$1 = /*#__PURE__*/function (_Component) {
71001
71020
  filmPageType: 'CURRENT_PAGE',
71002
71021
  maxDensity: 300,
71003
71022
  minDensity: 20,
71004
- filmOrientation: _this.props.filmOrientation || 'Portrait'
71023
+ filmOrientation: _this.props.filmOrientation || 'PORTRAIT'
71005
71024
  };
71006
71025
  return _this;
71007
71026
  }
@@ -72046,8 +72065,8 @@ var FilmView = /*#__PURE__*/function (_Component) {
72046
72065
  var verticalPadding = 40;
72047
72066
  var verticalHeight = headerHeight + verticalPadding;
72048
72067
  var _size = FILM_SIZE_TYPE_MAP[filmSizeType];
72049
- var sizeWidth = filmOrientation === 'Portrait' ? _size.width : _size.height;
72050
- var sizeHeight = filmOrientation === 'Portrait' ? _size.height : _size.width;
72068
+ var sizeWidth = filmOrientation === 'PORTRAIT' ? _size.width : _size.height;
72069
+ var sizeHeight = filmOrientation === 'PORTRAIT' ? _size.height : _size.width;
72051
72070
  var clientWidth = this.filmViewRef.clientWidth;
72052
72071
  var clientHeight = this.filmViewRef.clientHeight;
72053
72072
  var filmViewWidth, filmViewHeight;