@3cr/viewer-browser 0.0.86 → 0.0.92
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/coverage/3cr-viewer-browser/index.html +1 -1
- package/coverage/3cr-viewer-browser/index.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/App.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/WebGL3DR.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/icons/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/icons/liver.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/loading/LoadingSpinner.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/loading/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/modal/MftpWebGL3DRModal.vue.html +77 -200
- package/coverage/3cr-viewer-browser/src/components/modal/index.html +17 -17
- package/coverage/3cr-viewer-browser/src/components/selectors/ValueSelector.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/selectors/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/sliders/DoubleSliderSelector.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/sliders/VerticalSliderSelector.vue.html +1 -1
- package/coverage/3cr-viewer-browser/src/components/sliders/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/dataLayer/iconData.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/dataLayer/index.html +27 -27
- package/coverage/3cr-viewer-browser/src/dataLayer/payloadHandler.ts.html +185 -74
- package/coverage/3cr-viewer-browser/src/dataLayer/scanState.ts.html +11 -41
- package/coverage/3cr-viewer-browser/src/helpers/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/helpers/layoutOverlayStyle.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/helpers/modelHelper.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/helpers/utils.ts.html +3 -3
- package/coverage/3cr-viewer-browser/src/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/main.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/models/LoadViewerOptions.ts.html +10 -10
- package/coverage/3cr-viewer-browser/src/models/index.html +7 -7
- package/coverage/3cr-viewer-browser/src/notifications/index.html +17 -17
- package/coverage/3cr-viewer-browser/src/notifications/notification.ts.html +79 -70
- package/coverage/3cr-viewer-browser/src/plugins/index.html +1 -1
- package/coverage/3cr-viewer-browser/src/plugins/index.ts.html +1 -1
- package/coverage/3cr-viewer-browser/src/plugins/vuetify.ts.html +1 -1
- package/coverage/index.html +41 -41
- package/dist/Viewer3CR.js +11 -11
- package/dist/Viewer3CR.mjs +5371 -5375
- package/dist/Viewer3CR.umd.js +11 -11
- package/package.json +1 -1
- package/src/components/modal/MftpWebGL3DRModal.vue +33 -74
- package/src/components/modal/__tests__/mftp-webgl-3dr-modal.spec.ts +100 -148
- package/src/dataLayer/__tests__/payload-handler.spec.ts +119 -3
- package/src/dataLayer/payloadHandler.ts +39 -2
- package/src/dataLayer/scanState.ts +3 -13
- package/src/models/__tests__/load-viewer-options.spec.ts +22 -0
- package/src/notifications/__tests__/notification.spec.ts +120 -0
- package/src/notifications/notification.ts +4 -1
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>171/171</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>13/
|
|
42
|
+
<span class='fraction'>13/13</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>171/171</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -234,17 +234,7 @@
|
|
|
234
234
|
<a name='L169'></a><a href='#L169'>169</a>
|
|
235
235
|
<a name='L170'></a><a href='#L170'>170</a>
|
|
236
236
|
<a name='L171'></a><a href='#L171'>171</a>
|
|
237
|
-
<a name='L172'></a><a href='#L172'>172</a>
|
|
238
|
-
<a name='L173'></a><a href='#L173'>173</a>
|
|
239
|
-
<a name='L174'></a><a href='#L174'>174</a>
|
|
240
|
-
<a name='L175'></a><a href='#L175'>175</a>
|
|
241
|
-
<a name='L176'></a><a href='#L176'>176</a>
|
|
242
|
-
<a name='L177'></a><a href='#L177'>177</a>
|
|
243
|
-
<a name='L178'></a><a href='#L178'>178</a>
|
|
244
|
-
<a name='L179'></a><a href='#L179'>179</a>
|
|
245
|
-
<a name='L180'></a><a href='#L180'>180</a>
|
|
246
|
-
<a name='L181'></a><a href='#L181'>181</a>
|
|
247
|
-
<a name='L182'></a><a href='#L182'>182</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
237
|
+
<a name='L172'></a><a href='#L172'>172</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
248
238
|
<span class="cline-any cline-yes">1x</span>
|
|
249
239
|
<span class="cline-any cline-yes">1x</span>
|
|
250
240
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -415,29 +405,18 @@
|
|
|
415
405
|
<span class="cline-any cline-yes">1x</span>
|
|
416
406
|
<span class="cline-any cline-yes">33x</span>
|
|
417
407
|
<span class="cline-any cline-yes">33x</span>
|
|
418
|
-
<span class="cline-any cline-
|
|
419
|
-
<span class="cline-any cline-yes">1x</span>
|
|
420
|
-
<span class="cline-any cline-no"> </span>
|
|
421
|
-
<span class="cline-any cline-no"> </span>
|
|
422
|
-
<span class="cline-any cline-no"> </span>
|
|
423
|
-
<span class="cline-any cline-no"> </span>
|
|
424
|
-
<span class="cline-any cline-no"> </span>
|
|
425
|
-
<span class="cline-any cline-no"> </span>
|
|
426
|
-
<span class="cline-any cline-no"> </span>
|
|
427
|
-
<span class="cline-any cline-no"> </span>
|
|
428
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { computed, nextTick, ref, unref, watch, WatchSource } from "vue";
|
|
408
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { computed, nextTick, ref, unref } from "vue";
|
|
429
409
|
import {
|
|
430
410
|
AnchorPoint,
|
|
431
411
|
ColourPresetData,
|
|
432
412
|
CurrentScanState,
|
|
433
413
|
InitialScanState,
|
|
434
|
-
|
|
414
|
+
LayoutActions,
|
|
435
415
|
} from "@3cr/types-ts";
|
|
436
416
|
import {
|
|
437
417
|
inflateInitialScanState,
|
|
438
418
|
inflateScanState,
|
|
439
419
|
} from "@/helpers/modelHelper";
|
|
440
|
-
import { PayloadHandler } from "@/dataLayer/payloadHandler";
|
|
441
420
|
|
|
442
421
|
export const currentColourPreset = ref<ColourPresetData | undefined>(undefined);
|
|
443
422
|
|
|
@@ -447,6 +426,7 @@ export const scanState = ref<CurrentScanState>(inflateScanState());
|
|
|
447
426
|
export const initialScanState = ref<InitialScanState>(
|
|
448
427
|
inflateInitialScanState()
|
|
449
428
|
);
|
|
429
|
+
export const previousLayout = ref<LayoutActions>(LayoutActions.lo02);
|
|
450
430
|
|
|
451
431
|
export const huMinMax = ref({
|
|
452
432
|
min: -999999,
|
|
@@ -596,16 +576,6 @@ export async function setInitialScanStateFromPayload(
|
|
|
596
576
|
export function setScanState(message: string) {
|
|
597
577
|
scanState.value = JSON.parse(message) as CurrentScanState;
|
|
598
578
|
}
|
|
599
|
-
|
|
600
|
-
export <span class="fstat-no" title="function not covered" >function generateWatcherForScanMovement(</span>
|
|
601
|
-
<span class="cstat-no" title="statement not covered" > payloadHandler: PayloadHandler,</span>
|
|
602
|
-
<span class="cstat-no" title="statement not covered" > sliderAction: ScanMovementActions,</span>
|
|
603
|
-
<span class="cstat-no" title="statement not covered" > source: WatchSource<number></span>
|
|
604
|
-
<span class="cstat-no" title="statement not covered" >) {</span>
|
|
605
|
-
<span class="cstat-no" title="statement not covered" > watch(source, async (value: number) => {</span>
|
|
606
|
-
<span class="cstat-no" title="statement not covered" > await payloadHandler.scanMovementHandler(sliderAction, value);</span>
|
|
607
|
-
<span class="cstat-no" title="statement not covered" > });</span>
|
|
608
|
-
<span class="cstat-no" title="statement not covered" >}</span>
|
|
609
579
|
</pre></td></tr></table></pre>
|
|
610
580
|
|
|
611
581
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -613,7 +583,7 @@ export <span class="fstat-no" title="function not covered" >function generateWat
|
|
|
613
583
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
614
584
|
Code coverage generated by
|
|
615
585
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
616
|
-
at 2024-04-
|
|
586
|
+
at 2024-04-10T07:23:57.146Z
|
|
617
587
|
</div>
|
|
618
588
|
<script src="../../../prettify.js"></script>
|
|
619
589
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2024-04-
|
|
134
|
+
at 2024-04-10T07:23:57.146Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -391,7 +391,7 @@ export function generateDivStyleForLayout(layout: PositionData) {
|
|
|
391
391
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
392
392
|
Code coverage generated by
|
|
393
393
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
394
|
-
at 2024-04-
|
|
394
|
+
at 2024-04-10T07:23:57.146Z
|
|
395
395
|
</div>
|
|
396
396
|
<script src="../../../prettify.js"></script>
|
|
397
397
|
<script>
|
|
@@ -397,7 +397,7 @@ export function inflateInitialScanState(): InitialScanState {
|
|
|
397
397
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
398
398
|
Code coverage generated by
|
|
399
399
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
400
|
-
at 2024-04-
|
|
400
|
+
at 2024-04-10T07:23:57.146Z
|
|
401
401
|
</div>
|
|
402
402
|
<script src="../../../prettify.js"></script>
|
|
403
403
|
<script>
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
82
|
<a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
83
83
|
<span class="cline-any cline-yes">1x</span>
|
|
84
|
-
<span class="cline-any cline-yes">
|
|
85
|
-
<span class="cline-any cline-yes">
|
|
84
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
85
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
86
86
|
<span class="cline-any cline-yes">1x</span>
|
|
87
87
|
<span class="cline-any cline-yes">1x</span>
|
|
88
88
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -118,7 +118,7 @@ export function registerEvents(
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2024-04-
|
|
121
|
+
at 2024-04-10T07:23:57.146Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2024-04-
|
|
119
|
+
at 2024-04-10T07:23:57.146Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -109,7 +109,7 @@ export default App;
|
|
|
109
109
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
110
|
Code coverage generated by
|
|
111
111
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
112
|
-
at 2024-04-
|
|
112
|
+
at 2024-04-10T07:23:57.146Z
|
|
113
113
|
</div>
|
|
114
114
|
<script src="../../prettify.js"></script>
|
|
115
115
|
<script>
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>10/10</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>10/10</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
@@ -133,15 +133,15 @@ export interface LoadViewerOptions {
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
export const defaultLoadViewerOptions: LoadViewerOptions = {
|
|
136
|
-
OnClosePopup:
|
|
136
|
+
OnClosePopup: () => Promise.resolve(),
|
|
137
137
|
OnExitViewer: () => Promise.resolve(),
|
|
138
|
-
OnLoadNewDicomSeries:
|
|
139
|
-
OnDownloadDicomSeries:
|
|
140
|
-
OnLoadSavedSession:
|
|
141
|
-
OnSaveSession:
|
|
138
|
+
OnLoadNewDicomSeries: () => Promise.resolve(),
|
|
139
|
+
OnDownloadDicomSeries: () => Promise.resolve(),
|
|
140
|
+
OnLoadSavedSession: () => Promise.resolve(),
|
|
141
|
+
OnSaveSession: () => Promise.resolve(),
|
|
142
142
|
OnSendTo3rdParty: () => Promise.resolve(),
|
|
143
143
|
OnShareToMobile: () => Promise.resolve(),
|
|
144
|
-
OnShare:
|
|
144
|
+
OnShare: () => Promise.resolve(),
|
|
145
145
|
OnScreenshot: () => Promise.resolve(),
|
|
146
146
|
};
|
|
147
147
|
</pre></td></tr></table></pre>
|
|
@@ -151,7 +151,7 @@ export const defaultLoadViewerOptions: LoadViewerOptions = {
|
|
|
151
151
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
152
152
|
Code coverage generated by
|
|
153
153
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
154
|
-
at 2024-04-
|
|
154
|
+
at 2024-04-10T07:23:57.146Z
|
|
155
155
|
</div>
|
|
156
156
|
<script src="../../../prettify.js"></script>
|
|
157
157
|
<script>
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>10/10</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>10/10</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
<td data-value="100" class="pct high">100%</td>
|
|
87
87
|
<td data-value="27" class="abs high">27/27</td>
|
|
88
88
|
<td data-value="100" class="pct high">100%</td>
|
|
89
|
-
<td data-value="
|
|
90
|
-
<td data-value="
|
|
91
|
-
<td data-value="10" class="abs
|
|
89
|
+
<td data-value="10" class="abs high">10/10</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="10" class="abs high">10/10</td>
|
|
92
92
|
<td data-value="100" class="pct high">100%</td>
|
|
93
93
|
<td data-value="27" class="abs high">27/27</td>
|
|
94
94
|
</tr>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-04-
|
|
104
|
+
at 2024-04-10T07:23:57.146Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>51/51</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>15/15</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>51/51</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
65
|
<div class="pad1">
|
|
66
66
|
<table class="coverage-summary">
|
|
67
67
|
<thead>
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
</tr>
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
|
-
<td class="file
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
82
|
+
<td class="file high" data-value="notification.ts"><a href="notification.ts.html">notification.ts</a></td>
|
|
83
|
+
<td data-value="100" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
|
87
|
+
<td data-value="51" class="abs high">51/51</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="15" class="abs high">15/15</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
91
|
<td data-value="1" class="abs high">1/1</td>
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="51" class="abs high">51/51</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-04-
|
|
104
|
+
at 2024-04-10T07:23:57.146Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>51/51</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>15/15</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>51/51</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -111,7 +111,10 @@
|
|
|
111
111
|
<a name='L46'></a><a href='#L46'>46</a>
|
|
112
112
|
<a name='L47'></a><a href='#L47'>47</a>
|
|
113
113
|
<a name='L48'></a><a href='#L48'>48</a>
|
|
114
|
-
<a name='L49'></a><a href='#L49'>49</a
|
|
114
|
+
<a name='L49'></a><a href='#L49'>49</a>
|
|
115
|
+
<a name='L50'></a><a href='#L50'>50</a>
|
|
116
|
+
<a name='L51'></a><a href='#L51'>51</a>
|
|
117
|
+
<a name='L52'></a><a href='#L52'>52</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
115
118
|
<span class="cline-any cline-yes">1x</span>
|
|
116
119
|
<span class="cline-any cline-yes">1x</span>
|
|
117
120
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -119,6 +122,42 @@
|
|
|
119
122
|
<span class="cline-any cline-yes">1x</span>
|
|
120
123
|
<span class="cline-any cline-yes">1x</span>
|
|
121
124
|
<span class="cline-any cline-yes">1x</span>
|
|
125
|
+
<span class="cline-any cline-yes">11x</span>
|
|
126
|
+
<span class="cline-any cline-yes">11x</span>
|
|
127
|
+
<span class="cline-any cline-yes">11x</span>
|
|
128
|
+
<span class="cline-any cline-yes">11x</span>
|
|
129
|
+
<span class="cline-any cline-yes">11x</span>
|
|
130
|
+
<span class="cline-any cline-yes">11x</span>
|
|
131
|
+
<span class="cline-any cline-yes">11x</span>
|
|
132
|
+
<span class="cline-any cline-yes">11x</span>
|
|
133
|
+
<span class="cline-any cline-yes">11x</span>
|
|
134
|
+
<span class="cline-any cline-yes">11x</span>
|
|
135
|
+
<span class="cline-any cline-yes">11x</span>
|
|
136
|
+
<span class="cline-any cline-yes">6x</span>
|
|
137
|
+
<span class="cline-any cline-yes">11x</span>
|
|
138
|
+
<span class="cline-any cline-yes">11x</span>
|
|
139
|
+
<span class="cline-any cline-yes">5x</span>
|
|
140
|
+
<span class="cline-any cline-yes">4x</span>
|
|
141
|
+
<span class="cline-any cline-yes">4x</span>
|
|
142
|
+
<span class="cline-any cline-yes">4x</span>
|
|
143
|
+
<span class="cline-any cline-yes">9x</span>
|
|
144
|
+
<span class="cline-any cline-yes">9x</span>
|
|
145
|
+
<span class="cline-any cline-yes">1x</span>
|
|
146
|
+
<span class="cline-any cline-yes">1x</span>
|
|
147
|
+
<span class="cline-any cline-yes">11x</span>
|
|
148
|
+
<span class="cline-any cline-yes">11x</span>
|
|
149
|
+
<span class="cline-any cline-yes">1x</span>
|
|
150
|
+
<span class="cline-any cline-yes">1x</span>
|
|
151
|
+
<span class="cline-any cline-yes">11x</span>
|
|
152
|
+
<span class="cline-any cline-yes">11x</span>
|
|
153
|
+
<span class="cline-any cline-yes">1x</span>
|
|
154
|
+
<span class="cline-any cline-yes">1x</span>
|
|
155
|
+
<span class="cline-any cline-yes">11x</span>
|
|
156
|
+
<span class="cline-any cline-yes">11x</span>
|
|
157
|
+
<span class="cline-any cline-yes">11x</span>
|
|
158
|
+
<span class="cline-any cline-yes">1x</span>
|
|
159
|
+
<span class="cline-any cline-yes">1x</span>
|
|
160
|
+
<span class="cline-any cline-yes">11x</span>
|
|
122
161
|
<span class="cline-any cline-yes">2x</span>
|
|
123
162
|
<span class="cline-any cline-yes">2x</span>
|
|
124
163
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -126,39 +165,6 @@
|
|
|
126
165
|
<span class="cline-any cline-yes">2x</span>
|
|
127
166
|
<span class="cline-any cline-yes">2x</span>
|
|
128
167
|
<span class="cline-any cline-yes">2x</span>
|
|
129
|
-
<span class="cline-any cline-yes">2x</span>
|
|
130
|
-
<span class="cline-any cline-yes">2x</span>
|
|
131
|
-
<span class="cline-any cline-yes">2x</span>
|
|
132
|
-
<span class="cline-any cline-yes">2x</span>
|
|
133
|
-
<span class="cline-any cline-no"> </span>
|
|
134
|
-
<span class="cline-any cline-no"> </span>
|
|
135
|
-
<span class="cline-any cline-no"> </span>
|
|
136
|
-
<span class="cline-any cline-no"> </span>
|
|
137
|
-
<span class="cline-any cline-no"> </span>
|
|
138
|
-
<span class="cline-any cline-no"> </span>
|
|
139
|
-
<span class="cline-any cline-no"> </span>
|
|
140
|
-
<span class="cline-any cline-no"> </span>
|
|
141
|
-
<span class="cline-any cline-yes">2x</span>
|
|
142
|
-
<span class="cline-any cline-yes">2x</span>
|
|
143
|
-
<span class="cline-any cline-no"> </span>
|
|
144
|
-
<span class="cline-any cline-no"> </span>
|
|
145
|
-
<span class="cline-any cline-yes">2x</span>
|
|
146
|
-
<span class="cline-any cline-yes">2x</span>
|
|
147
|
-
<span class="cline-any cline-no"> </span>
|
|
148
|
-
<span class="cline-any cline-no"> </span>
|
|
149
|
-
<span class="cline-any cline-yes">2x</span>
|
|
150
|
-
<span class="cline-any cline-yes">2x</span>
|
|
151
|
-
<span class="cline-any cline-yes">2x</span>
|
|
152
|
-
<span class="cline-any cline-no"> </span>
|
|
153
|
-
<span class="cline-any cline-no"> </span>
|
|
154
|
-
<span class="cline-any cline-yes">2x</span>
|
|
155
|
-
<span class="cline-any cline-no"> </span>
|
|
156
|
-
<span class="cline-any cline-no"> </span>
|
|
157
|
-
<span class="cline-any cline-no"> </span>
|
|
158
|
-
<span class="cline-any cline-no"> </span>
|
|
159
|
-
<span class="cline-any cline-no"> </span>
|
|
160
|
-
<span class="cline-any cline-no"> </span>
|
|
161
|
-
<span class="cline-any cline-no"> </span>
|
|
162
168
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import {
|
|
163
169
|
InteractivityActions,
|
|
164
170
|
NotificationPayload,
|
|
@@ -167,7 +173,10 @@
|
|
|
167
173
|
import { useNotification } from "@kyvg/vue3-notification";
|
|
168
174
|
const { notify } = useNotification();
|
|
169
175
|
|
|
170
|
-
export async function handleNotification(
|
|
176
|
+
export async function handleNotification(
|
|
177
|
+
action: NotificationsActions,
|
|
178
|
+
message: string
|
|
179
|
+
) {
|
|
171
180
|
const notification = JSON.parse(message) as NotificationPayload;
|
|
172
181
|
|
|
173
182
|
switch (notification.Action) {
|
|
@@ -176,37 +185,37 @@ export async function handleNotification(action: string, message: string) {
|
|
|
176
185
|
case InteractivityActions.in03:
|
|
177
186
|
case InteractivityActions.in04:
|
|
178
187
|
return;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
default:
|
|
189
|
+
}
|
|
190
|
+
if (notification.Action.startsWith("sl")) return;
|
|
191
|
+
|
|
192
|
+
let type = "success";
|
|
193
|
+
switch (action) {
|
|
194
|
+
// Muting no01
|
|
195
|
+
case NotificationsActions.no01:
|
|
196
|
+
type = "success";
|
|
197
|
+
return;
|
|
189
198
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
case NotificationsActions.no02:
|
|
200
|
+
type = "warn";
|
|
201
|
+
break;
|
|
193
202
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
203
|
+
case NotificationsActions.no03:
|
|
204
|
+
type = "error";
|
|
205
|
+
break;
|
|
197
206
|
|
|
198
207
|
// Muting no04
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
case NotificationsActions.no04:
|
|
209
|
+
type = "info";
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
notify({
|
|
214
|
+
title: notification.Code,
|
|
215
|
+
text: notification.Action,
|
|
216
|
+
type,
|
|
217
|
+
});
|
|
218
|
+
}
|
|
210
219
|
</pre></td></tr></table></pre>
|
|
211
220
|
|
|
212
221
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -214,7 +223,7 @@ export async function handleNotification(action: string, message: string) {
|
|
|
214
223
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
224
|
Code coverage generated by
|
|
216
225
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
217
|
-
at 2024-04-
|
|
226
|
+
at 2024-04-10T07:23:57.146Z
|
|
218
227
|
</div>
|
|
219
228
|
<script src="../../../prettify.js"></script>
|
|
220
229
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2024-04-
|
|
119
|
+
at 2024-04-10T07:23:57.146Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -121,7 +121,7 @@ export function registerPlugins(app: App) {
|
|
|
121
121
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
122
122
|
Code coverage generated by
|
|
123
123
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
124
|
-
at 2024-04-
|
|
124
|
+
at 2024-04-10T07:23:57.146Z
|
|
125
125
|
</div>
|
|
126
126
|
<script src="../../../prettify.js"></script>
|
|
127
127
|
<script>
|
|
@@ -205,7 +205,7 @@ export default createVuetify({
|
|
|
205
205
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
206
206
|
Code coverage generated by
|
|
207
207
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
208
|
-
at 2024-04-
|
|
208
|
+
at 2024-04-10T07:23:57.146Z
|
|
209
209
|
</div>
|
|
210
210
|
<script src="../../../prettify.js"></script>
|
|
211
211
|
<script>
|