dwv 0.28.2 → 0.30.1

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.
@@ -23,8 +23,7 @@
23
23
  "drawList": "Adnotări",
24
24
  "search": "Căutare",
25
25
  "id": "ID",
26
- "slice": "Secțiune",
27
- "frame": "Cadru",
26
+ "position": "Poziţie",
28
27
  "type": "Tip",
29
28
  "color": "Culoare",
30
29
  "label": "Marcaj",
@@ -115,6 +114,12 @@
115
114
  "click": "Faceți clic pe pixel pentru a crea un contur în funcție de intensitatea acestuia.",
116
115
  "tap": "Atingeți un pixel pentru a crea un contur în funcție de intensitatea acestuia."
117
116
  },
117
+ "Opacity": {
118
+ "name": "Opacitate",
119
+ "brief": "Permite schimbarea opacității stratului de vizualizare curent.",
120
+ "mouse_drag": "O glisare orizontală a mouse-ului modifică opacitatea stratului, făcându-l fie mai opac, fie transparent.",
121
+ "touch_drag": "O atingere orizontală modifică opacitatea stratului, făcându-l fie mai opac, fie transparent."
122
+ },
118
123
  "info": {
119
124
  "position": "Poz = {{value}}",
120
125
  "value": "Valoare = {{value}}",
@@ -142,6 +147,9 @@
142
147
  "Ellipse": {
143
148
  "name": "Elipsă"
144
149
  },
150
+ "Circle": {
151
+ "name": "Cerc"
152
+ },
145
153
  "Arrow": {
146
154
  "name": "Săgeată"
147
155
  },
@@ -12,13 +12,12 @@
12
12
  {"tags": ["x00080020", "x00080030"], "pos": "tr", "format": "{v0} {v1}"},
13
13
  {"tags": ["x00080060"], "pos": "tr"},
14
14
 
15
- {"value": "wlcenterchange", "pos": "br", "format": "WC: {v0}"},
16
- {"value": "wlwidthchange", "pos": "br", "format": "WW: {v0}"},
15
+ {"value": "wlchange", "pos": "br", "format": "WC: {v0}"},
16
+ {"value": "wlchange", "pos": "br", "format": "WW: {v1}"},
17
17
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}", "precision": "3"},
18
18
  {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
19
- {"value": "positionchange", "pos": "br", "format": "Pos: {v0},{v1},{v2}"},
20
- {"value": "framechange", "pos": "br", "format": "Frame: {v0}"},
21
- {"value": "positionchange", "pos": "br", "format": "Значение: {v3}"}
19
+ {"value": "positionchange", "pos": "br", "format": "Pos: {v0}"},
20
+ {"value": "positionchange", "pos": "br", "format": "Значение: {v1}"}
22
21
  ],
23
22
  "DOM": [
24
23
  {"tags": ["fileName"], "pos": "tl"},
@@ -27,13 +26,12 @@
27
26
 
28
27
  {"tags": ["imageWidth", "imageHeight"], "pos": "bl", "format": "RES: {v0}x{v1}"},
29
28
 
30
- {"value": "wlcenterchange", "pos": "br", "format": "WC: {v0}"},
31
- {"value": "wlwidthchange", "pos": "br", "format": "WW: {v0}"},
29
+ {"value": "wlchange", "pos": "br", "format": "WC: {v0}"},
30
+ {"value": "wlchange", "pos": "br", "format": "WW: {v1}"},
32
31
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}", "precision": "3"},
33
32
  {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
34
- {"value": "positionchange", "pos": "br", "format": "Pos: {v0},{v1},{v2}"},
35
- {"value": "framechange", "pos": "br", "format": "Frame: {v0}"},
36
- {"value": "positionchange", "pos": "br", "format": "Значение: {v3}"}
33
+ {"value": "positionchange", "pos": "br", "format": "Pos: {v0}"},
34
+ {"value": "positionchange", "pos": "br", "format": "Значение: {v1}"}
37
35
  ],
38
36
  "*": [
39
37
  {"tags": ["x00100020"], "pos": "tl"},
@@ -51,12 +49,11 @@
51
49
  {"tags": ["x00080020", "x00080030"], "pos": "tr", "format": "{v0} {v1}"},
52
50
  {"tags": ["x00080060"], "pos": "tr"},
53
51
 
54
- {"value": "wlcenterchange", "pos": "br", "format": "WC: {v0}"},
55
- {"value": "wlwidthchange", "pos": "br", "format": "WW: {v0}"},
52
+ {"value": "wlchange", "pos": "br", "format": "WC: {v0}"},
53
+ {"value": "wlchange", "pos": "br", "format": "WW: {v1}"},
56
54
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}", "precision": "3"},
57
55
  {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
58
- {"value": "positionchange", "pos": "br", "format": "Pos: {v0},{v1},{v2}"},
59
- {"value": "framechange", "pos": "br", "format": "Frame: {v0}"},
60
- {"value": "positionchange", "pos": "br", "format": "Значение: {v3}"}
56
+ {"value": "positionchange", "pos": "br", "format": "Pos: {v0}"},
57
+ {"value": "positionchange", "pos": "br", "format": "Значение: {v1}"}
61
58
  ]
62
59
  }
@@ -23,8 +23,7 @@
23
23
  "drawList": "Аннотации",
24
24
  "search": "Поиск",
25
25
  "id": "ID",
26
- "slice": "Срез",
27
- "frame": "Кадр",
26
+ "position": "должность",
28
27
  "type": "Тип",
29
28
  "color": "Цвет",
30
29
  "label": "Метка",
@@ -115,6 +114,12 @@
115
114
  "click": "Нажмите на пиксель, чтобы создать контур, основанный на его интенсивности.",
116
115
  "tap": "Нажмите на пиксель, чтобы создать контур, основанный на его интенсивности."
117
116
  },
117
+ "Opacity": {
118
+ "name": "Непрозрачность",
119
+ "brief": "Позволяет изменить непрозрачность текущего слоя просмотра.",
120
+ "mouse_drag": "Горизонтальное перетаскивание мышью изменяет непрозрачность слоя, делая его более непрозрачным или прозрачным.",
121
+ "touch_drag": "Горизонтальное перетаскивание касанием изменяет непрозрачность слоя, делая его более непрозрачным или прозрачным."
122
+ },
118
123
  "info": {
119
124
  "position": "Позиция = {{value}}",
120
125
  "value": "Значение = {{value}}",
@@ -142,6 +147,9 @@
142
147
  "Ellipse": {
143
148
  "name": "Эллипс"
144
149
  },
150
+ "Circle": {
151
+ "name": "Круг"
152
+ },
145
153
  "Arrow": {
146
154
  "name": "Стрелка"
147
155
  },
@@ -12,13 +12,12 @@
12
12
  {"tags": ["x00080020", "x00080030"], "pos": "tr", "format": "{v0} {v1}"},
13
13
  {"tags": ["x00080060"], "pos": "tr"},
14
14
 
15
- {"value": "wlcenterchange", "pos": "br", "format": "窗位: {v0}"},
16
- {"value": "wlwidthchange", "pos": "br", "format": "窗宽: {v0}"},
15
+ {"value": "wlchange", "pos": "br", "format": "窗位: {v0}"},
16
+ {"value": "wlchange", "pos": "br", "format": "窗宽: {v1}"},
17
17
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}", "precision": "3"},
18
18
  {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
19
- {"value": "positionchange", "pos": "br", "format": "位置: {v0},{v1},{v2}"},
20
- {"value": "framechange", "pos": "br", "format": "频谱: {v0}"},
21
- {"value": "positionchange", "pos": "br", "format": "值: {v3}"}
19
+ {"value": "positionchange", "pos": "br", "format": "位置: {v0}"},
20
+ {"value": "positionchange", "pos": "br", "format": "值: {v1}"}
22
21
  ],
23
22
  "DOM": [
24
23
  {"tags": ["fileName"], "pos": "tl"},
@@ -27,13 +26,12 @@
27
26
 
28
27
  {"tags": ["imageWidth", "imageHeight"], "pos": "bl", "format": "RES: {v0}x{v1}"},
29
28
 
30
- {"value": "wlcenterchange", "pos": "br", "format": "窗位: {v0}"},
31
- {"value": "wlwidthchange", "pos": "br", "format": "窗宽: {v0}"},
29
+ {"value": "wlchange", "pos": "br", "format": "窗位: {v0}"},
30
+ {"value": "wlchange", "pos": "br", "format": "窗宽: {v1}"},
32
31
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}"},
33
- {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "3"},
34
- {"value": "positionchange", "pos": "br", "format": "位置: {v0},{v1},{v2}", "precision": "round"},
35
- {"value": "framechange", "pos": "br", "format": "频谱: {v0}"},
36
- {"value": "positionchange", "pos": "br", "format": "值: {v3}"}
32
+ {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
33
+ {"value": "positionchange", "pos": "br", "format": "位置: {v0}"},
34
+ {"value": "positionchange", "pos": "br", "format": "值: {v1}"}
37
35
  ],
38
36
  "*": [
39
37
  {"tags": ["x00100020"], "pos": "tl"},
@@ -51,12 +49,11 @@
51
49
  {"tags": ["x00080020", "x00080030"], "pos": "tr", "format": "{v0} {v1}"},
52
50
  {"tags": ["x00080060"], "pos": "tr"},
53
51
 
54
- {"value": "wlcenterchange", "pos": "br", "format": "窗位: {v0}"},
55
- {"value": "wlwidthchange", "pos": "br", "format": "窗宽: {v0}"},
52
+ {"value": "wlchange", "pos": "br", "format": "窗位: {v0}"},
53
+ {"value": "wlchange", "pos": "br", "format": "窗宽: {v1}"},
56
54
  {"value": "zoomchange", "pos": "br", "format": "Z: {v0}", "precision": "3"},
57
55
  {"value": "offsetchange", "pos": "br", "format": "Off: {v0},{v1}", "precision": "round"},
58
- {"value": "positionchange", "pos": "br", "format": "位置: {v0},{v1},{v2}"},
59
- {"value": "framechange", "pos": "br", "format": "频谱: {v0}"},
60
- {"value": "positionchange", "pos": "br", "format": "值: {v3}"}
56
+ {"value": "positionchange", "pos": "br", "format": "位置: {v0}"},
57
+ {"value": "positionchange", "pos": "br", "format": "值: {v1}"}
61
58
  ]
62
59
  }
@@ -23,8 +23,7 @@
23
23
  "drawList": "注释",
24
24
  "search": "搜索",
25
25
  "id": "ID",
26
- "slice": "切片",
27
- "frame": "帧",
26
+ "position": "位置",
28
27
  "type": "类型",
29
28
  "color": "颜色",
30
29
  "label": "标签",
@@ -115,6 +114,12 @@
115
114
  "click": "点击像素根据其强度来创建等值线。",
116
115
  "tap": "触摸像素根据其强度来创建等值线。"
117
116
  },
117
+ "Opacity": {
118
+ "name": "不透明度",
119
+ "brief": "允许更改当前视图图层的不透明度。",
120
+ "mouse_drag": "水平鼠标拖动将更改图层的不透明度,使其更加不透明或透明。",
121
+ "touch_drag": "水平触摸拖动会更改图层的不透明度,使其更加不透明或透明。"
122
+ },
118
123
  "info": {
119
124
  "position": "位置 = {{value}}",
120
125
  "value": "值 = {{value}}",
@@ -142,6 +147,9 @@
142
147
  "Ellipse": {
143
148
  "name": "椭圆"
144
149
  },
150
+ "Circle": {
151
+ "name": "圓圈"
152
+ },
145
153
  "Arrow": {
146
154
  "name": "箭头"
147
155
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dwv",
3
- "version": "0.28.2",
3
+ "version": "0.30.1",
4
4
  "description": "DICOM Web Viewer.",
5
5
  "keywords": [
6
6
  "DICOM",
@@ -16,40 +16,38 @@
16
16
  },
17
17
  "main": "dist/dwv.min.js",
18
18
  "dependencies": {
19
- "i18next": "~19.8.3",
20
- "i18next-browser-languagedetector": "~6.0.1",
19
+ "i18next": "~20.6.0",
20
+ "i18next-browser-languagedetector": "~6.1.2",
21
21
  "i18next-xhr-backend": "~3.2.2",
22
- "jszip": "~3.5.0",
23
- "konva": "~7.2.2",
22
+ "jszip": "~3.7.0",
23
+ "konva": "~8.3.0",
24
24
  "magic-wand-tool": "~1.1.7"
25
25
  },
26
26
  "devDependencies": {
27
27
  "benchmark": "~2.1.4",
28
28
  "docdash": "~1.2.0",
29
- "eslint": "~7.18.0",
30
- "eslint-plugin-jsdoc": "~31.3.2",
29
+ "eslint": "~8.3.0",
30
+ "eslint-plugin-jsdoc": "~37.0.3",
31
31
  "github-release-notes": "0.17.2",
32
- "grunt": "~1.3.0",
33
- "grunt-cli": "~1.3.2",
34
- "grunt-contrib-concat": "~1.0.1",
35
- "grunt-contrib-copy": "~1.0.0",
36
- "grunt-contrib-uglify": "~5.0.0",
37
- "grunt-contrib-watch": "~1.1.0",
38
- "grunt-coveralls": "~2.0.0",
39
- "grunt-eslint": "~23.0.0",
40
- "grunt-karma": "~4.0.0",
41
- "http-server": "^0.12.3",
42
- "jsdoc": "3.6.6",
43
- "karma": "~5.2.3",
44
- "karma-chrome-launcher": "~3.1.0",
45
- "karma-coverage": "^2.0.2",
46
- "karma-qunit": "~4.1.1",
47
- "qunit": "~2.14.0"
32
+ "grunt": "^1.4.0",
33
+ "grunt-cli": "^1.4.2",
34
+ "grunt-contrib-concat": "^2.0.0",
35
+ "grunt-contrib-copy": "^1.0.0",
36
+ "grunt-contrib-uglify": "^5.0.1",
37
+ "grunt-contrib-watch": "^1.1.0",
38
+ "grunt-eslint": "^24.0.0",
39
+ "grunt-karma": "^4.0.2",
40
+ "jsdoc": "^3.6.7",
41
+ "karma": "^6.3.4",
42
+ "karma-chrome-launcher": "^3.1.0",
43
+ "karma-coverage": "^2.0.3",
44
+ "karma-qunit": "^4.1.2",
45
+ "qunit": "^2.15.0"
48
46
  },
49
47
  "scripts": {
50
48
  "lint": "grunt lint",
51
49
  "test": "grunt test",
52
- "test-ci": "grunt test-ci",
50
+ "test-ci": "grunt test-ci --coverage",
53
51
  "build": "grunt build",
54
52
  "doc": "jsdoc -c resources/doc/jsdoc.conf.json",
55
53
  "dev": "grunt dev",
package/readme.md CHANGED
@@ -3,10 +3,10 @@ DWV
3
3
 
4
4
  DWV (DICOM Web Viewer) is an open source zero footprint medical image viewer library. It uses _only_ javascript and HTML5 technologies, meaning that it can be run on any platform that provides a modern browser (laptop, tablet, phone and even modern TVs). It can load local or remote data in DICOM format (the standard for medical imaging data such as MR, CT, Echo, Mammo, NM...) and provides standard tools for its manipulation such as contrast, zoom, drag, possibility to draw regions on top of the image and imaging filters such as threshold and sharpening.
5
5
 
6
- [![Build Status](https://travis-ci.com/ivmartel/dwv.svg?branch=master)](https://travis-ci.com/ivmartel/dwv) [![Coverage Status](https://img.shields.io/coveralls/ivmartel/dwv.svg)](https://coveralls.io/r/ivmartel/dwv?branch=master) [![Code Climate](https://codeclimate.com/github/ivmartel/dwv.svg)](https://codeclimate.com/github/ivmartel/dwv) [![Dependency Status](https://david-dm.org/ivmartel/dwv.svg)](https://david-dm.org/ivmartel/dwv) [![npm](https://img.shields.io/npm/v/dwv.svg)](https://www.npmjs.com/package/dwv)
7
- [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fivmartel%2Fdwv.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fivmartel%2Fdwv?ref=badge_shield)
6
+ [![Node.js CI](https://github.com/ivmartel/dwv/actions/workflows/nodejs-ci.yml/badge.svg)](https://github.com/ivmartel/dwv/actions/workflows/nodejs-ci.yml) [![npm](https://img.shields.io/npm/v/dwv.svg)](https://www.npmjs.com/package/dwv)
7
+ [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
8
8
 
9
- Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [wiki](https://github.com/ivmartel/dwv/wiki) or the [docs](https://ivmartel.github.io/dwv/doc/stable/) (such as [dicom conformance](https://ivmartel.github.io/dwv/doc/stable/tutorial-conformance.html) or [pacs integrations](https://ivmartel.github.io/dwv/doc/stable/tutorial-integrations.html)). You can also check out the [example viewers](https://github.com/ivmartel/dwv/wiki/Examples#viewers-and-integrations) based on dwv.
9
+ Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more information on the [docs](https://ivmartel.github.io/dwv/doc/stable/) (such as [examples](https://ivmartel.github.io/dwv/doc/stable/tutorial-examples.html), [dicom conformance](https://ivmartel.github.io/dwv/doc/stable/tutorial-conformance.html), [pacs integrations](https://ivmartel.github.io/dwv/doc/stable/tutorial-integrations.html)). You can also check out the [wiki](https://github.com/ivmartel/dwv/wiki).
10
10
 
11
11
  - All coding/implementation contributions and comments are welcome.
12
12
  - DWV is not certified for diagnostic use.<sup>[1](#footnote1)</sup>
@@ -14,10 +14,6 @@ Try a [live demo](https://ivmartel.github.io/dwv/) and read a lot more informati
14
14
 
15
15
  If you have additional questions, please [open an issue](https://www.github.com/ivmartel/dwv/issues).
16
16
 
17
- And for those who want to support the dwv development:
18
-
19
- [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VQWYY8ZS75H3E&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
20
-
21
17
  ## Steps to run the viewer from scratch
22
18
 
23
19
  ``` bash
@@ -62,4 +58,4 @@ All scripts also work with `npm`.
62
58
 
63
59
  ## Notes
64
60
 
65
- <a name="footnote1">1</a>: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the [license](license.txt). To learn more about standards used in certification, see the [wikipedia Medical software](https://en.wikipedia.org/wiki/Medical_software) page.
61
+ <a name="footnote1">1</a>: Certification refers to official medical software certification that are issued by the FDA or EU Notified Bodies. The sentence here serves as a reminder that the Dicom Web Viewer is not ceritifed, and comes with no warranties (and no possible liability of its authors) as stated in the [license](license.txt). To learn more about standards used in certification, see the [wikipedia Medical software](https://en.wikipedia.org/wiki/Medical_software) page.