@npm_leadtech/legal-lib-components 0.30.0 → 0.33.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/build/index.js +1 -1
- package/coverage/clover.xml +22 -12
- package/coverage/coverage-final.json +1053 -14
- package/coverage/lcov-report/block-navigation.js +56 -68
- package/coverage/lcov-report/components/atoms/AddButton/AddButton.js.html +1 -1
- package/coverage/lcov-report/components/atoms/AddButton/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Button/Button.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Button/index.html +1 -1
- package/coverage/lcov-report/components/atoms/CardPane/CardPane.js.html +1 -1
- package/coverage/lcov-report/components/atoms/CardPane/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Checkbox/Checkbox.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Checkbox/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Disclaimer/Disclaimer.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Disclaimer/index.html +1 -1
- package/coverage/lcov-report/components/atoms/DocumentStatus/DocumentStatus.js.html +1 -1
- package/coverage/lcov-report/components/atoms/DocumentStatus/index.html +1 -1
- package/coverage/lcov-report/components/atoms/FormFaq/FormFaq.js.html +1 -1
- package/coverage/lcov-report/components/atoms/FormFaq/index.html +1 -1
- package/coverage/lcov-report/components/atoms/InfoBox/InfoBox.js.html +1 -1
- package/coverage/lcov-report/components/atoms/InfoBox/index.html +1 -1
- package/coverage/lcov-report/components/atoms/LogoText/LogoText.js.html +1 -1
- package/coverage/lcov-report/components/atoms/LogoText/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Message/Message.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Message/index.html +1 -1
- package/coverage/lcov-report/components/atoms/ProgressBar/ProgressBar.js.html +142 -0
- package/coverage/lcov-report/components/atoms/ProgressBar/index.html +116 -0
- package/coverage/lcov-report/components/atoms/RemoveButton/RemoveButton.js.html +1 -1
- package/coverage/lcov-report/components/atoms/RemoveButton/index.html +1 -1
- package/coverage/lcov-report/components/atoms/SearchSelect/SearchSelect.js.html +1 -1
- package/coverage/lcov-report/components/atoms/SearchSelect/index.html +1 -1
- package/coverage/lcov-report/components/atoms/SidemenuTab/SidemenuTab.js.html +172 -0
- package/coverage/lcov-report/components/atoms/SidemenuTab/index.html +116 -0
- package/coverage/lcov-report/components/atoms/Toggle/Toggle.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Toggle/index.html +1 -1
- package/coverage/lcov-report/index.html +31 -16
- package/coverage/lcov-report/prettify.js +895 -1
- package/coverage/lcov-report/sorter.js +165 -172
- package/coverage/lcov-report/utils/envVariables.js.html +1 -1
- package/coverage/lcov-report/utils/index.html +1 -1
- package/coverage/lcov.info +31 -14
- package/package.json +4 -5
- package/images/png/buy-logo-large-en.png +0 -0
|
@@ -1,87 +1,75 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
var jumpToCode = (function init() {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
// Classes of code we would like to highlight in the file view
|
|
4
|
+
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
// Elements to highlight in the file listing view
|
|
7
|
+
var fileListingElements = ['td.pct.low'];
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
// We don't want to select elements that are direct descendants of another match
|
|
10
|
+
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
fileListingElements.join(', ') +
|
|
15
|
-
', ' +
|
|
16
|
-
notSelector +
|
|
17
|
-
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
12
|
+
// Selecter that finds elements on the page to which we can jump
|
|
13
|
+
var selector = fileListingElements.join(', ') + ', ' + notSelector + missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
// The NodeList of matching elements
|
|
16
|
+
var missingCoverageElements = document.querySelectorAll(selector);
|
|
21
17
|
|
|
22
|
-
|
|
18
|
+
var currentIndex;
|
|
23
19
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
missingCoverageElements.item(index).classList.add('highlighted');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function makeCurrent(index) {
|
|
32
|
-
toggleClass(index);
|
|
33
|
-
currentIndex = index;
|
|
34
|
-
missingCoverageElements.item(index).scrollIntoView({
|
|
35
|
-
behavior: 'smooth',
|
|
36
|
-
block: 'center',
|
|
37
|
-
inline: 'center'
|
|
38
|
-
});
|
|
39
|
-
}
|
|
20
|
+
function toggleClass(index) {
|
|
21
|
+
missingCoverageElements.item(currentIndex).classList.remove('highlighted');
|
|
22
|
+
missingCoverageElements.item(index).classList.add('highlighted');
|
|
23
|
+
}
|
|
40
24
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
25
|
+
function makeCurrent(index) {
|
|
26
|
+
toggleClass(index);
|
|
27
|
+
currentIndex = index;
|
|
28
|
+
missingCoverageElements.item(index).scrollIntoView({
|
|
29
|
+
behavior: 'smooth',
|
|
30
|
+
block: 'center',
|
|
31
|
+
inline: 'center',
|
|
32
|
+
});
|
|
33
|
+
}
|
|
48
34
|
|
|
49
|
-
|
|
35
|
+
function goToPrevious() {
|
|
36
|
+
var nextIndex = 0;
|
|
37
|
+
if (typeof currentIndex !== 'number' || currentIndex === 0) {
|
|
38
|
+
nextIndex = missingCoverageElements.length - 1;
|
|
39
|
+
} else if (missingCoverageElements.length > 1) {
|
|
40
|
+
nextIndex = currentIndex - 1;
|
|
50
41
|
}
|
|
51
42
|
|
|
52
|
-
|
|
53
|
-
|
|
43
|
+
makeCurrent(nextIndex);
|
|
44
|
+
}
|
|
54
45
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
currentIndex < missingCoverageElements.length - 1
|
|
58
|
-
) {
|
|
59
|
-
nextIndex = currentIndex + 1;
|
|
60
|
-
}
|
|
46
|
+
function goToNext() {
|
|
47
|
+
var nextIndex = 0;
|
|
61
48
|
|
|
62
|
-
|
|
49
|
+
if (typeof currentIndex === 'number' && currentIndex < missingCoverageElements.length - 1) {
|
|
50
|
+
nextIndex = currentIndex + 1;
|
|
63
51
|
}
|
|
64
52
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
document.getElementById('fileSearch') === document.activeElement &&
|
|
68
|
-
document.activeElement != null
|
|
69
|
-
) {
|
|
70
|
-
// if we're currently focused on the search input, we don't want to navigate
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
53
|
+
makeCurrent(nextIndex);
|
|
54
|
+
}
|
|
73
55
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
56
|
+
return function jump(event) {
|
|
57
|
+
if (document.getElementById('fileSearch') === document.activeElement && document.activeElement != null) {
|
|
58
|
+
// if we're currently focused on the search input, we don't want to navigate
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
switch (event.which) {
|
|
63
|
+
case 78: // n
|
|
64
|
+
case 74: // j
|
|
65
|
+
goToNext();
|
|
66
|
+
break;
|
|
67
|
+
case 66: // b
|
|
68
|
+
case 75: // k
|
|
69
|
+
case 80: // p
|
|
70
|
+
goToPrevious();
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
86
74
|
})();
|
|
87
75
|
window.addEventListener('keydown', jumpToCode);
|
|
@@ -214,7 +214,7 @@ AddButton.propTypes = {
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
217
|
-
at
|
|
217
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../../../prettify.js"></script>
|
|
220
220
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -535,7 +535,7 @@ Button.propTypes = {
|
|
|
535
535
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
536
536
|
Code coverage generated by
|
|
537
537
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
538
|
-
at
|
|
538
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
539
539
|
</div>
|
|
540
540
|
<script src="../../../prettify.js"></script>
|
|
541
541
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -205,7 +205,7 @@ export { CardPane };
|
|
|
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">istanbul</a>
|
|
208
|
-
at
|
|
208
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
209
209
|
</div>
|
|
210
210
|
<script src="../../../prettify.js"></script>
|
|
211
211
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -196,7 +196,7 @@ Checkbox.propTypes = {
|
|
|
196
196
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
197
197
|
Code coverage generated by
|
|
198
198
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
199
|
-
at
|
|
199
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
200
200
|
</div>
|
|
201
201
|
<script src="../../../prettify.js"></script>
|
|
202
202
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -238,7 +238,7 @@ Disclaimer.propTypes = {
|
|
|
238
238
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
239
239
|
Code coverage generated by
|
|
240
240
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
241
|
-
at
|
|
241
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
242
242
|
</div>
|
|
243
243
|
<script src="../../../prettify.js"></script>
|
|
244
244
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -193,7 +193,7 @@ DocumentStatus.propTypes = {
|
|
|
193
193
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
194
|
Code coverage generated by
|
|
195
195
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
196
|
-
at
|
|
196
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
197
197
|
</div>
|
|
198
198
|
<script src="../../../prettify.js"></script>
|
|
199
199
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -229,7 +229,7 @@ FormFaq.propTypes = {
|
|
|
229
229
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
230
230
|
Code coverage generated by
|
|
231
231
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
232
|
-
at
|
|
232
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
233
233
|
</div>
|
|
234
234
|
<script src="../../../prettify.js"></script>
|
|
235
235
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -139,7 +139,7 @@ InfoBox.propTypes = {
|
|
|
139
139
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
140
140
|
Code coverage generated by
|
|
141
141
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
142
|
-
at
|
|
142
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
143
143
|
</div>
|
|
144
144
|
<script src="../../../prettify.js"></script>
|
|
145
145
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -154,7 +154,7 @@ LogoText.propTypes = {
|
|
|
154
154
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
155
155
|
Code coverage generated by
|
|
156
156
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
157
|
-
at
|
|
157
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
158
158
|
</div>
|
|
159
159
|
<script src="../../../prettify.js"></script>
|
|
160
160
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -118,7 +118,7 @@ Message.proptypes = {
|
|
|
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">istanbul</a>
|
|
121
|
-
at
|
|
121
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for components/atoms/ProgressBar/ProgressBar.js</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">components/atoms/ProgressBar</a> ProgressBar.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>4/4</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>1/1</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>4/4</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-neutral"> </span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span>
|
|
89
|
+
<span class="cline-any cline-yes">1x</span>
|
|
90
|
+
<span class="cline-any cline-yes">1x</span>
|
|
91
|
+
<span class="cline-any cline-neutral"> </span>
|
|
92
|
+
<span class="cline-any cline-yes">1x</span>
|
|
93
|
+
<span class="cline-any cline-neutral"> </span>
|
|
94
|
+
<span class="cline-any cline-neutral"> </span>
|
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
|
96
|
+
<span class="cline-any cline-neutral"> </span>
|
|
97
|
+
<span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-yes">1x</span>
|
|
101
|
+
<span class="cline-any cline-neutral"> </span>
|
|
102
|
+
<span class="cline-any cline-neutral"> </span>
|
|
103
|
+
<span class="cline-any cline-neutral"> </span>
|
|
104
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
105
|
+
import PropTypes from 'prop-types';
|
|
106
|
+
import './ProgressBar.scss';
|
|
107
|
+
|
|
108
|
+
export const ProgressBar = ({ currentStep, allSteps }) => {
|
|
109
|
+
let currentProgress = (100 * currentStep) / allSteps.length;
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<section className={`progress__wrapper`}>
|
|
113
|
+
<div className={`progressbar`} style={{ width: `${currentProgress}%` }} />
|
|
114
|
+
<div className={`progressbar__remain`} />
|
|
115
|
+
</section>
|
|
116
|
+
);
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
ProgressBar.proptypes = {
|
|
120
|
+
currentStep: PropTypes.number,
|
|
121
|
+
allSteps: PropTypes.array,
|
|
122
|
+
};
|
|
123
|
+
</pre></td></tr></table></pre>
|
|
124
|
+
|
|
125
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
126
|
+
</div><!-- /wrapper -->
|
|
127
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
128
|
+
Code coverage generated by
|
|
129
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
130
|
+
at Mon Jan 03 2022 17:26:56 GMT+0100 (GMT+01:00)
|
|
131
|
+
</div>
|
|
132
|
+
<script src="../../../prettify.js"></script>
|
|
133
|
+
<script>
|
|
134
|
+
window.onload = function () {
|
|
135
|
+
prettyPrint();
|
|
136
|
+
};
|
|
137
|
+
</script>
|
|
138
|
+
<script src="../../../sorter.js"></script>
|
|
139
|
+
<script src="../../../block-navigation.js"></script>
|
|
140
|
+
</body>
|
|
141
|
+
</html>
|
|
142
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for components/atoms/ProgressBar</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> components/atoms/ProgressBar</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>4/4</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>1/1</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>4/4</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<div class="pad1">
|
|
66
|
+
<table class="coverage-summary">
|
|
67
|
+
<thead>
|
|
68
|
+
<tr>
|
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
+
</tr>
|
|
80
|
+
</thead>
|
|
81
|
+
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="ProgressBar.js"><a href="ProgressBar.js.html">ProgressBar.js</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
|
+
</td>
|
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
|
87
|
+
<td data-value="4" class="abs high">4/4</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="4" class="abs high">4/4</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
</tbody>
|
|
97
|
+
</table>
|
|
98
|
+
</div>
|
|
99
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
100
|
+
</div><!-- /wrapper -->
|
|
101
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
|
+
Code coverage generated by
|
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
104
|
+
at Mon Jan 03 2022 17:26:56 GMT+0100 (GMT+01:00)
|
|
105
|
+
</div>
|
|
106
|
+
<script src="../../../prettify.js"></script>
|
|
107
|
+
<script>
|
|
108
|
+
window.onload = function () {
|
|
109
|
+
prettyPrint();
|
|
110
|
+
};
|
|
111
|
+
</script>
|
|
112
|
+
<script src="../../../sorter.js"></script>
|
|
113
|
+
<script src="../../../block-navigation.js"></script>
|
|
114
|
+
</body>
|
|
115
|
+
</html>
|
|
116
|
+
|
|
@@ -214,7 +214,7 @@ RemoveButton.propTypes = {
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
217
|
-
at
|
|
217
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../../../prettify.js"></script>
|
|
220
220
|
<script>
|
|
@@ -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">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Jan 04 2022 11:14:23 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|