hellfire 0.30.2 → 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 +4 -0
- package/dist/index.js +9 -9
- 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.30.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.2...v0.30.3) (2025-07-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.30.2](http://10.16.100.57/diffusion/115/paladin/compare/v0.30.1...v0.30.2) (2025-07-16)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -30686,7 +30686,7 @@ var initialState$4 = {
|
|
|
30686
30686
|
films: [],
|
|
30687
30687
|
filmSizeType: '1417',
|
|
30688
30688
|
// 胶片方向 默认纵向
|
|
30689
|
-
filmOrientation: '
|
|
30689
|
+
filmOrientation: 'PORTRAIT',
|
|
30690
30690
|
filmTemplate: [],
|
|
30691
30691
|
filmLayoutRow: 5,
|
|
30692
30692
|
filmLayoutCol: 4,
|
|
@@ -69414,10 +69414,10 @@ var FILM_DESTINATION_DIC = [{
|
|
|
69414
69414
|
}];
|
|
69415
69415
|
var FILM_ORIENTATION_DIC = [{
|
|
69416
69416
|
label: '纵向',
|
|
69417
|
-
value: '
|
|
69417
|
+
value: 'PORTRAIT'
|
|
69418
69418
|
}, {
|
|
69419
69419
|
label: '横向',
|
|
69420
|
-
value: '
|
|
69420
|
+
value: 'LANDSCAPE'
|
|
69421
69421
|
}];
|
|
69422
69422
|
|
|
69423
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";
|
|
@@ -70294,11 +70294,11 @@ var getFilmPrintImageData = /*#__PURE__*/function () {
|
|
|
70294
70294
|
return _context.abrupt("return");
|
|
70295
70295
|
|
|
70296
70296
|
case 7:
|
|
70297
|
-
_orientation = options.orientation || '
|
|
70297
|
+
_orientation = options.orientation || 'PORTRAIT'; // 实际尺寸
|
|
70298
70298
|
|
|
70299
70299
|
filmSize = FILM_SIZE_TYPE_MAP[sizeType];
|
|
70300
|
-
filmWidth = _orientation === '
|
|
70301
|
-
filmHeight = _orientation === '
|
|
70300
|
+
filmWidth = _orientation === 'PORTRAIT' ? filmSize.dicomColumn : filmSize.dicomRow;
|
|
70301
|
+
filmHeight = _orientation === 'PORTRAIT' ? filmSize.dicomRow : filmSize.dicomColumn;
|
|
70302
70302
|
filmItemWidth = lodash$1.floor(filmWidth / col, 2);
|
|
70303
70303
|
filmItemHeight = lodash$1.floor(filmHeight / row, 2);
|
|
70304
70304
|
filmPrintOriginImageData = []; // 虚拟canvas
|
|
@@ -71020,7 +71020,7 @@ var FilmPrintModal$1 = /*#__PURE__*/function (_Component) {
|
|
|
71020
71020
|
filmPageType: 'CURRENT_PAGE',
|
|
71021
71021
|
maxDensity: 300,
|
|
71022
71022
|
minDensity: 20,
|
|
71023
|
-
filmOrientation: _this.props.filmOrientation || '
|
|
71023
|
+
filmOrientation: _this.props.filmOrientation || 'PORTRAIT'
|
|
71024
71024
|
};
|
|
71025
71025
|
return _this;
|
|
71026
71026
|
}
|
|
@@ -72065,8 +72065,8 @@ var FilmView = /*#__PURE__*/function (_Component) {
|
|
|
72065
72065
|
var verticalPadding = 40;
|
|
72066
72066
|
var verticalHeight = headerHeight + verticalPadding;
|
|
72067
72067
|
var _size = FILM_SIZE_TYPE_MAP[filmSizeType];
|
|
72068
|
-
var sizeWidth = filmOrientation === '
|
|
72069
|
-
var sizeHeight = filmOrientation === '
|
|
72068
|
+
var sizeWidth = filmOrientation === 'PORTRAIT' ? _size.width : _size.height;
|
|
72069
|
+
var sizeHeight = filmOrientation === 'PORTRAIT' ? _size.height : _size.width;
|
|
72070
72070
|
var clientWidth = this.filmViewRef.clientWidth;
|
|
72071
72071
|
var clientHeight = this.filmViewRef.clientHeight;
|
|
72072
72072
|
var filmViewWidth, filmViewHeight;
|