dwv 0.37.0-beta.8 → 0.37.0
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/dist/assets/workers/jpeg2000.worker.min.js +1 -1
- package/dist/assets/workers/jpeg2000.worker.min.js.map +1 -1
- package/dist/assets/workers/jpegbaseline.worker.min.js +1 -1
- package/dist/assets/workers/jpegbaseline.worker.min.js.map +1 -1
- package/dist/assets/workers/jpegloss.worker.min.js +1 -1
- package/dist/assets/workers/jpegloss.worker.min.js.map +1 -1
- package/dist/assets/workers/labeling.worker.min.js +1 -1
- package/dist/assets/workers/labeling.worker.min.js.map +1 -1
- package/dist/assets/workers/resampling.worker.min.js +1 -1
- package/dist/assets/workers/resampling.worker.min.js.map +1 -1
- package/dist/assets/workers/rle.worker.min.js +1 -1
- package/dist/assets/workers/rle.worker.min.js.map +1 -1
- package/dist/dwv.d.ts +1333 -314
- package/dist/dwv.min.js +1 -1
- package/dist/dwv.min.js.map +1 -1
- package/dist/dwv.node.min.js +1 -1
- package/dist/dwv.node.min.js.map +1 -1
- package/package.json +21 -23
- package/readme.md +7 -3
- package/dev/bench/bench.html +0 -94
- package/dev/bench/bench.js +0 -316
- package/dev/bench/benchFunctionRunner.js +0 -83
- package/dev/bench/dataRunner.js +0 -171
- package/dev/bench/gui.js +0 -184
- package/dev/bench/listen.js +0 -70
- package/dev/bench/parsers/dwv-current.html +0 -45
- package/dev/bench/parsers/dwv-previous.html +0 -45
- package/dev/dicom/binaryPixGenerator.js +0 -108
- package/dev/dicom/dicomGenerator.js +0 -215
- package/dev/dicom/filePixGenerator.js +0 -96
- package/dev/dicom/gradSquarePixGenerator.js +0 -107
- package/dev/dicom/mprPixGenerator.js +0 -247
- package/dev/dicom/pages/anonymiser.html +0 -86
- package/dev/dicom/pages/anonymiser.js +0 -154
- package/dev/dicom/pages/diff.html +0 -34
- package/dev/dicom/pages/diff.js +0 -97
- package/dev/dicom/pages/generator.html +0 -92
- package/dev/dicom/pages/generator.js +0 -329
- package/dev/dicom/pages/synthetic-data.html +0 -19
- package/dev/dicom/pages/synthetic-data.js +0 -164
- package/dev/dicom/squarePixGenerator.js +0 -233
- package/dev/favicon.ico +0 -0
- package/dev/image/pages/colourmaps.html +0 -16
- package/dev/image/pages/colourmaps.js +0 -65
- package/dev/index.html +0 -38
- package/dev/pacs/dcmweb.html +0 -80
- package/dev/pacs/dcmweb.js +0 -577
- package/dev/pacs/images/acute_leukemia.png +0 -0
- package/dev/pacs/images/babymri-dcmdir.png +0 -0
- package/dev/pacs/images/babymri-rect.png +0 -0
- package/dev/pacs/images/babymri-zip.png +0 -0
- package/dev/pacs/images/babymri.png +0 -0
- package/dev/pacs/images/brainmri-png.png +0 -0
- package/dev/pacs/images/brainpet-jpg.png +0 -0
- package/dev/pacs/images/cerebrix.png +0 -0
- package/dev/pacs/images/goudurix.png +0 -0
- package/dev/pacs/images/multiframe-test1.png +0 -0
- package/dev/pacs/images/toutatix.png +0 -0
- package/dev/pacs/images/us.png +0 -0
- package/dev/pacs/index.html +0 -97
- package/dev/pacs/index.js +0 -287
- package/dev/pacs/overlays.js +0 -51
- package/dev/pacs/viewer.html +0 -401
- package/dev/pacs/viewer.js +0 -1275
- package/dev/pacs/viewer.rendertest.js +0 -96
- package/dev/pacs/viewer.ui.annot.js +0 -607
- package/dev/pacs/viewer.ui.brush.js +0 -181
- package/dev/pacs/viewer.ui.datatable.js +0 -674
- package/dev/pacs/viewer.ui.draw.js +0 -141
- package/dev/pacs/viewer.ui.icons.js +0 -88
- package/dev/pacs/viewer.ui.js +0 -198
- package/dev/pacs/viewer.ui.segment.js +0 -1369
- package/dev/visual/appgui.js +0 -125
- package/dev/visual/images/dicompyler-ct.0.jpg +0 -0
- package/dev/visual/images/gdcm-CR-MONO1-10-chest.jpg +0 -0
- package/dev/visual/images/gdcm-CT-MONO2-8-abdo.jpg +0 -0
- package/dev/visual/images/gdcm-US-RGB-8-epicard.jpg +0 -0
- package/dev/visual/images/gdcm-US-RGB-8-esopecho.jpg +0 -0
- package/dev/visual/images/leadtools-8BitsJpegLossyGrayScale.jpg +0 -0
- package/dev/visual/images/leadtools-flowers-16-mono2-rle.jpg +0 -0
- package/dev/visual/images/leadtools-flowers-8-mono2-rle.jpg +0 -0
- package/dev/visual/images/nema-ct1_j2ki.jpg +0 -0
- package/dev/visual/images/nema-ct1_jpll.jpg +0 -0
- package/dev/visual/images/nema-mr1_jply.jpg +0 -0
- package/dev/visual/images/nema-nm1_j2kr.jpg +0 -0
- package/dev/visual/images/nema-nm1_jpll.jpg +0 -0
- package/dev/visual/images/nema-nm1_jply.jpg +0 -0
- package/dev/visual/images/nema-us1_j2ki.jpg +0 -0
- package/dev/visual/images/nema-vl2_j2kr.jpg +0 -0
- package/dev/visual/images/osirix-cerebrix.jpg +0 -0
- package/dev/visual/images/osirix-goudurix.jpg +0 -0
- package/dev/visual/images/osirix-toutatix-100.jpg +0 -0
- package/dev/visual/index-jpeg.js +0 -104
- package/dev/visual/index-jpeg2000.js +0 -103
- package/dev/visual/index-rle.js +0 -70
- package/dev/visual/index.html +0 -20
- package/dev/visual/index.js +0 -123
- package/dev/visual/style.css +0 -37
package/dev/pacs/index.js
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
// call setup on DOM loaded
|
|
2
|
-
document.addEventListener('DOMContentLoaded', onDOMContentLoaded);
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Setup.
|
|
6
|
-
*/
|
|
7
|
-
function onDOMContentLoaded() {
|
|
8
|
-
createAndPutHtml(_dataDicom, 'datadicom');
|
|
9
|
-
createAndPutHtml(_dataImg, 'dataimg');
|
|
10
|
-
|
|
11
|
-
// checkbox local data
|
|
12
|
-
const localChk = document.getElementById('islocal');
|
|
13
|
-
localChk.addEventListener('change', onLocalChkChange);
|
|
14
|
-
|
|
15
|
-
// view button for github hosted
|
|
16
|
-
const viewGithubHosted = document.getElementById('viewGithubHosted');
|
|
17
|
-
viewGithubHosted.addEventListener('click', onViewGithubHosted);
|
|
18
|
-
|
|
19
|
-
// fill gituhb hosted with example 0
|
|
20
|
-
const example0 = document.getElementById('example0');
|
|
21
|
-
example0.addEventListener('click', function () {
|
|
22
|
-
fillGithubHostedWithExample(
|
|
23
|
-
'https://github.com/ivmartel/dwv/blob/develop/tests/data/',
|
|
24
|
-
'bbmri-53323131.dcm, bbmri-53323275.dcm, bbmri-53323419.dcm, ' +
|
|
25
|
-
'bbmri-53323563.dcm, bbmri-53323707.dcm, bbmri-53323851.dcm'
|
|
26
|
-
);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const _githubRaw = 'https://raw.githubusercontent.com/ivmartel/dwv/master/tests/';
|
|
31
|
-
const _dataDicom = [
|
|
32
|
-
{
|
|
33
|
-
title: 'Baby MRI',
|
|
34
|
-
uri: {
|
|
35
|
-
type: 'dwvtest',
|
|
36
|
-
file: '?file=bbmri-53323851.dcm&file=bbmri-53323707.dcm' +
|
|
37
|
-
'&file=bbmri-53323563.dcm&file=bbmri-53323419.dcm' +
|
|
38
|
-
'&file=bbmri-53323275.dcm&file=bbmri-53323131.dcm',
|
|
39
|
-
args: '&dwvReplaceMode=void'
|
|
40
|
-
},
|
|
41
|
-
img: 'babymri.png',
|
|
42
|
-
desc: 'Brain MR, 256*256*5, ' +
|
|
43
|
-
'LittleEndianExplicit [1.2.840.10008.1.2.1], bits: 16-12-11'
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
title: 'Baby MRI (DICOMDIR)',
|
|
47
|
-
uri: {
|
|
48
|
-
type: 'dwvtest',
|
|
49
|
-
file: 'bbmri.dcmdir'
|
|
50
|
-
},
|
|
51
|
-
img: 'babymri-dcmdir.png',
|
|
52
|
-
desc: 'Brain MR, 256*256*4, ' +
|
|
53
|
-
'LittleEndianExplicit [1.2.840.10008.1.2.1], bits: 16-12-11'
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
title: 'Baby MRI (zip)',
|
|
57
|
-
uri: {
|
|
58
|
-
type: 'dwvtest',
|
|
59
|
-
file: 'bbmri.zip'
|
|
60
|
-
},
|
|
61
|
-
img: 'babymri-zip.png',
|
|
62
|
-
desc: 'Brain MR, 256*256*2 ' +
|
|
63
|
-
'LittleEndianExplicit [1.2.840.10008.1.2.1], bits: 16-12-11'
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
title: 'Toutatix',
|
|
67
|
-
uri: {
|
|
68
|
-
type: 'dwvtest',
|
|
69
|
-
file: '?file=osirix-toutatix-100.dcm&file=osirix-toutatix-101.dcm',
|
|
70
|
-
args: '&dwvReplaceMode=void'
|
|
71
|
-
},
|
|
72
|
-
img: 'toutatix.png',
|
|
73
|
-
desc: 'Chest CT(A), 512*512*1, LittleEndianExplicit' +
|
|
74
|
-
' [1.2.840.10008.1.2.1], bits: 16-12-11,' +
|
|
75
|
-
' from the Osirix examples, hosted on the dwv github.'
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
title: 'Goudurix',
|
|
79
|
-
uri: {
|
|
80
|
-
type: 'dwvtest',
|
|
81
|
-
file: 'osirix-goudurix.dcm'
|
|
82
|
-
},
|
|
83
|
-
img: 'goudurix.png',
|
|
84
|
-
desc: 'Chest CT(A), 512*512*1, LittleEndianImplicit' +
|
|
85
|
-
' [1.2.840.10008.1.2], bits: 16-12-11,' +
|
|
86
|
-
' from the Osirix examples, hosted on the dwv github.',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
title: 'US',
|
|
90
|
-
uri: {
|
|
91
|
-
type: 'dwvtest',
|
|
92
|
-
file: 'gdcm-US-RGB-8-epicard.dcm'
|
|
93
|
-
},
|
|
94
|
-
img: 'us.png',
|
|
95
|
-
desc: 'US, 640*480*1, BigEndianExplicit' +
|
|
96
|
-
' [1.2.840.10008.1.2.2], bits: 8-8-7,' +
|
|
97
|
-
' from the GDCM examples, hosted on the dwv github.',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
title: 'Cerebrix',
|
|
101
|
-
uri: {
|
|
102
|
-
type: 'dwvtest',
|
|
103
|
-
file: 'osirix-cerebrix.dcm'
|
|
104
|
-
},
|
|
105
|
-
img: 'cerebrix.png',
|
|
106
|
-
desc: 'Brain SC (Secondary Capture), 176*224*1,' +
|
|
107
|
-
' JPEG2000 [1.2.840.10008.1.2.4.91], bits: 16-16-15,' +
|
|
108
|
-
' from the Osirix examples, hosted on the dwv github.',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
title: 'Multiframe',
|
|
112
|
-
uri: {
|
|
113
|
-
type: 'dwvtest',
|
|
114
|
-
file: 'multiframe-test1.dcm'
|
|
115
|
-
},
|
|
116
|
-
img: 'multiframe-test1.png',
|
|
117
|
-
desc: 'Heart MR, 256*256*1*16, LittleEndianExplicit' +
|
|
118
|
-
' [1.2.840.10008.1.2.1], bits: 8-8-7,' +
|
|
119
|
-
' contributed by @yulia-tue, hosted on the dwv github.',
|
|
120
|
-
}
|
|
121
|
-
];
|
|
122
|
-
|
|
123
|
-
const _dataImg = [
|
|
124
|
-
{
|
|
125
|
-
title: 'JPEG',
|
|
126
|
-
uri: 'https://upload.wikimedia.org/wikipedia/commons/c/c6/PET-image.jpg',
|
|
127
|
-
img: 'brainpet-jpg.png',
|
|
128
|
-
desc: 'Brain PET from wikipedia' +
|
|
129
|
-
' (https://en.wikipedia.org/wiki/File:PET-image.jpg), 531*600*1.'
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
title: 'PNG',
|
|
133
|
-
uri: 'https://upload.wikimedia.org/wikipedia/commons/7/7f/Brain_MRI_112010_rgbca.png',
|
|
134
|
-
img: 'brainmri-png.png',
|
|
135
|
-
desc: 'Brain MRI from wikipedia' +
|
|
136
|
-
' (https://en.wikipedia.org/wiki/File:Brain_MRI_112010_rgbca.png), 389*504*1.'
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
title: 'JPG',
|
|
140
|
-
uri: 'https://upload.wikimedia.org/wikipedia/commons/0/0e/Acute_leukemia-ALL.jpg',
|
|
141
|
-
img: 'acute_leukemia.png',
|
|
142
|
-
desc: 'Acute Leukimia from wikipedia' +
|
|
143
|
-
' (https://en.wikipedia.org/wiki/File:Acute_leukemia-ALL.jpg), 347*395*1.'
|
|
144
|
-
}
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Get the dwv url from a data input uri.
|
|
149
|
-
*
|
|
150
|
-
* @param {*} uri The dwv input uri.
|
|
151
|
-
* @returns {string} The full dwv url.
|
|
152
|
-
*/
|
|
153
|
-
function getDwvUrl(uri) {
|
|
154
|
-
let uricomp;
|
|
155
|
-
if (typeof uri.type !== 'undefined') {
|
|
156
|
-
uricomp = uri.file;
|
|
157
|
-
if (uri.type === 'dwvtest') {
|
|
158
|
-
const localChk = document.getElementById('islocal');
|
|
159
|
-
const islocal = localChk ? localChk.checked : true;
|
|
160
|
-
let uriroot;
|
|
161
|
-
if (islocal) {
|
|
162
|
-
uriroot = '/tests/';
|
|
163
|
-
} else {
|
|
164
|
-
uriroot = _githubRaw;
|
|
165
|
-
}
|
|
166
|
-
uricomp = `${uriroot}data/${uri.file}`;
|
|
167
|
-
}
|
|
168
|
-
} else {
|
|
169
|
-
uricomp = uri;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
let uriargs = '';
|
|
173
|
-
if (typeof uri.args !== 'undefined') {
|
|
174
|
-
uriargs = uri.args;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
let url = 'viewer.html';
|
|
178
|
-
if (typeof uri !== 'undefined') {
|
|
179
|
-
url += `?input=${encodeURIComponent(uricomp)}${uriargs}`;
|
|
180
|
-
}
|
|
181
|
-
return url;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Create and append html.
|
|
186
|
-
*
|
|
187
|
-
* @param {object} data Data configuration object.
|
|
188
|
-
* @param {string} id The html list element.
|
|
189
|
-
*/
|
|
190
|
-
function createAndPutHtml(data, id) {
|
|
191
|
-
for (let i = 0; i < data.length; ++i) {
|
|
192
|
-
// image
|
|
193
|
-
const image = document.createElement('img');
|
|
194
|
-
image.src = `./images/${data[i].img}`;
|
|
195
|
-
// title
|
|
196
|
-
const title = document.createElement('h2');
|
|
197
|
-
title.appendChild(document.createTextNode(data[i].title));
|
|
198
|
-
// description
|
|
199
|
-
const desc = document.createElement('p');
|
|
200
|
-
desc.appendChild(document.createTextNode(data[i].desc));
|
|
201
|
-
if (data[i].comment) {
|
|
202
|
-
const comment = document.createElement('b');
|
|
203
|
-
comment.appendChild(document.createTextNode(` ${data[i].comment}`));
|
|
204
|
-
desc.appendChild(comment);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
// link
|
|
208
|
-
const link = document.createElement('a');
|
|
209
|
-
link.href = getDwvUrl(data[i].uri);
|
|
210
|
-
link.id = i;
|
|
211
|
-
link.className = `dwvlink ${id}`;
|
|
212
|
-
link.appendChild(image);
|
|
213
|
-
|
|
214
|
-
// list item
|
|
215
|
-
const li = document.createElement('li');
|
|
216
|
-
li.appendChild(link);
|
|
217
|
-
li.appendChild(title);
|
|
218
|
-
li.appendChild(desc);
|
|
219
|
-
const ul = document.getElementById(`ul_${id}`);
|
|
220
|
-
ul.appendChild(li);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Update dicom links on checkbox change.
|
|
226
|
-
*/
|
|
227
|
-
function onLocalChkChange() {
|
|
228
|
-
const links = document.getElementsByClassName('datadicom');
|
|
229
|
-
for (let i = 0; i < links.length; ++i) {
|
|
230
|
-
links[i].href = getDwvUrl(_dataDicom[links[i].id].uri);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Handle click on the view github hosted button.
|
|
236
|
-
*/
|
|
237
|
-
function onViewGithubHosted() {
|
|
238
|
-
// root url: https://github.com/ivmartel/dwv/blob/develop/tests/data
|
|
239
|
-
// -> https://raw.githubusercontent.com/ivmartel/dwv/develop/tests/data
|
|
240
|
-
const baseUrlInput = document.getElementById('baseUrl');
|
|
241
|
-
const url = new URL(baseUrlInput.value);
|
|
242
|
-
url.host = 'raw.githubusercontent.com';
|
|
243
|
-
url.pathname = url.pathname.replace('blob/', '');
|
|
244
|
-
url.pathname = url.pathname.replace('tree/', '');
|
|
245
|
-
|
|
246
|
-
// file list
|
|
247
|
-
const fileList = document.getElementById('fileList');
|
|
248
|
-
const value = fileList.value;
|
|
249
|
-
const separator = ',';
|
|
250
|
-
let files = value.split(separator);
|
|
251
|
-
// trim spaces
|
|
252
|
-
files = files.map(element => {
|
|
253
|
-
return element.trim();
|
|
254
|
-
});
|
|
255
|
-
// remove empty elements
|
|
256
|
-
files = files.filter(element => {
|
|
257
|
-
return element !== '';
|
|
258
|
-
});
|
|
259
|
-
const filesStr = `?file=${files.join('&file=')}`;
|
|
260
|
-
|
|
261
|
-
// dwv args
|
|
262
|
-
const args = '&dwvReplaceMode=void';
|
|
263
|
-
|
|
264
|
-
// final full uri
|
|
265
|
-
const uriStr = url.href + filesStr;
|
|
266
|
-
// add args since we pass an uri string and not object as
|
|
267
|
-
// for dwvtest
|
|
268
|
-
const fullUri = getDwvUrl(uriStr) + args;
|
|
269
|
-
|
|
270
|
-
// open test viewer
|
|
271
|
-
window.open(fullUri);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Fill github hosted inputs with preset strings.
|
|
276
|
-
*
|
|
277
|
-
* @param {string} base The base url href.
|
|
278
|
-
* @param {string} files The coma separated list of files.
|
|
279
|
-
*/
|
|
280
|
-
function fillGithubHostedWithExample(base, files) {
|
|
281
|
-
// base
|
|
282
|
-
const baseUrlInput = document.getElementById('baseUrl');
|
|
283
|
-
baseUrlInput.value = base;
|
|
284
|
-
// files
|
|
285
|
-
const fileList = document.getElementById('fileList');
|
|
286
|
-
fileList.value = files;
|
|
287
|
-
}
|
package/dev/pacs/overlays.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @stylistic/js/max-len */
|
|
2
|
-
export const overlayConfig = {
|
|
3
|
-
US: [
|
|
4
|
-
{tags: ['00100010', '00100040'], pos: 'tl', format: '{v0} [{v1}]'},
|
|
5
|
-
{tags: ['00100030'], pos: 'tl'},
|
|
6
|
-
|
|
7
|
-
{tags: ['00080070', '00081090'], pos: 'tr', format: '{v0} {v1}'},
|
|
8
|
-
{tags: ['00080020', '00080030'], pos: 'tr', format: '{v0} {v1}'},
|
|
9
|
-
{tags: ['00080060'], pos: 'tr'},
|
|
10
|
-
|
|
11
|
-
{event: 'wlchange', pos: 'bl', format: 'WC: {v0}', precision: 'round'},
|
|
12
|
-
{event: 'wlchange', pos: 'bl', format: 'WW: {v1}', precision: 'round'},
|
|
13
|
-
|
|
14
|
-
{event: 'zoomchange', pos: 'br', format: 'Z: {v0}', precision: '3'},
|
|
15
|
-
{event: 'offsetchange', pos: 'br', format: 'Off: {v0},{v1}', precision: 'round'},
|
|
16
|
-
{event: 'positionchange', pos: 'br', format: 'Pos: {v0}'},
|
|
17
|
-
{event: 'positionchange', pos: 'br', format: 'Value: {v2}'}
|
|
18
|
-
],
|
|
19
|
-
DOM: [
|
|
20
|
-
{tags: ['fileName'], pos: 'tl'},
|
|
21
|
-
|
|
22
|
-
{tags: ['fileType'], pos: 'tr'},
|
|
23
|
-
|
|
24
|
-
{tags: ['imageWidth', 'imageHeight'], pos: 'bl', format: 'RES: {v0}x{v1}'},
|
|
25
|
-
|
|
26
|
-
{event: 'wlchange', pos: 'bl', format: 'WC: {v0}'},
|
|
27
|
-
{event: 'wlchange', pos: 'bl', format: 'WW: {v1}'},
|
|
28
|
-
|
|
29
|
-
{event: 'zoomchange', pos: 'br', format: 'Z: {v0}', precision: '3'},
|
|
30
|
-
{event: 'offsetchange', pos: 'br', format: 'Off: {v0},{v1}', precision: 'round'},
|
|
31
|
-
{event: 'positionchange', pos: 'br', format: 'Pos: {v0}'},
|
|
32
|
-
{event: 'positionchange', pos: 'br', format: 'Value: {v1}'}
|
|
33
|
-
],
|
|
34
|
-
'*': [
|
|
35
|
-
{tags: ['00100010', '00100040'], pos: 'tl', format: '{v0} [{v1}]'},
|
|
36
|
-
{tags: ['00100030'], pos: 'tl'},
|
|
37
|
-
|
|
38
|
-
{tags: ['00080070', '00081090'], pos: 'tr', format: '{v0} {v1}'},
|
|
39
|
-
{tags: ['00080020', '00080030'], pos: 'tr', format: '{v0} {v1}'},
|
|
40
|
-
{tags: ['00080060'], pos: 'tr'},
|
|
41
|
-
|
|
42
|
-
{event: 'wlchange', pos: 'bl', format: 'WC: {v0}', precision: 'round'},
|
|
43
|
-
{event: 'wlchange', pos: 'bl', format: 'WW: {v1}', precision: 'round'},
|
|
44
|
-
|
|
45
|
-
{event: 'zoomchange', pos: 'br', format: 'Z: {v0}', precision: '3'},
|
|
46
|
-
{event: 'offsetchange', pos: 'br', format: 'Off: {v0},{v1}', precision: 'round'},
|
|
47
|
-
{event: 'positionchange', pos: 'br', format: 'Pos: {v0}'},
|
|
48
|
-
{event: 'positionchange', pos: 'br', format: 'Value: {v2}'}
|
|
49
|
-
]
|
|
50
|
-
};
|
|
51
|
-
/* eslint-enable @stylistic/js/max-len */
|