@itwin/reports-config-widget-react 0.4.0 → 0.5.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/CHANGELOG.json +15 -0
- package/CHANGELOG.md +11 -2
- package/coverage/clover.xml +111 -102
- package/coverage/coverage-final.json +12 -12
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +20 -20
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/src/ReportsConfigWidget.ts.html +2 -2
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/test/index.html +15 -15
- package/coverage/lcov-report/src/test/test-utils.tsx.html +194 -11
- package/coverage/lcov-report/src/widget/ReportsConfigUiProvider.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ActionPanel.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/AddMappingsModal.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/BulkExtractor.ts.html +1 -1
- package/coverage/lcov-report/src/widget/components/Constants.ts.html +13 -7
- package/coverage/lcov-report/src/widget/components/DeleteModal.tsx.html +4 -4
- package/coverage/lcov-report/src/widget/components/ExtractionStates/FailedExtractionState.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStates/QueuedExtractionState.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStates/RunningExtractionState.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStates/StartingExtractionState.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStates/SucceededExtractionState.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStates/index.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionStatus.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ExtractionToast.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/HorizontalTile.tsx.html +3 -3
- package/coverage/lcov-report/src/widget/components/LocalizedTablePaginator.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ReportAction.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ReportHorizontalTile.tsx.html +15 -15
- package/coverage/lcov-report/src/widget/components/ReportMappingHorizontalTile.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ReportMappings.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/Reports.tsx.html +34 -34
- package/coverage/lcov-report/src/widget/components/ReportsConfigContext.tsx.html +12 -9
- package/coverage/lcov-report/src/widget/components/ReportsContainer.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ReportsHeader.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/ReportsRouter.tsx.html +1 -1
- package/coverage/lcov-report/src/widget/components/SearchBar.tsx.html +4 -4
- package/coverage/lcov-report/src/widget/components/SelectIModel.tsx.html +2 -2
- package/coverage/lcov-report/src/widget/components/index.html +18 -18
- package/coverage/lcov-report/src/widget/components/utils.tsx.html +8 -8
- package/coverage/lcov-report/src/widget/context/BulkExtractorContext.tsx.html +4 -4
- package/coverage/lcov-report/src/widget/context/ReportsConfigApiContext.tsx.html +4 -4
- package/coverage/lcov-report/src/widget/context/index.html +1 -1
- package/coverage/lcov-report/src/widget/hooks/index.html +1 -1
- package/coverage/lcov-report/src/widget/hooks/useValidator.ts.html +1 -1
- package/coverage/lcov-report/src/widget/index.html +1 -1
- package/coverage/lcov.info +207 -194
- package/lib/cjs/reports-config-widget-react.js +5 -1
- package/lib/cjs/reports-config-widget-react.js.map +1 -1
- package/lib/cjs/test/AddMappingModal.test.js +15 -64
- package/lib/cjs/test/AddMappingModal.test.js.map +1 -1
- package/lib/cjs/test/BulkExtractor.test.js +5 -1
- package/lib/cjs/test/BulkExtractor.test.js.map +1 -1
- package/lib/cjs/test/ReportMappingHorizontalTile.test.js +13 -62
- package/lib/cjs/test/ReportMappingHorizontalTile.test.js.map +1 -1
- package/lib/cjs/test/ReportMappings.test.js +19 -67
- package/lib/cjs/test/ReportMappings.test.js.map +1 -1
- package/lib/cjs/test/Reports.test.js +51 -47
- package/lib/cjs/test/Reports.test.js.map +1 -1
- package/lib/cjs/test/test-utils.d.ts +30 -0
- package/lib/cjs/test/test-utils.d.ts.map +1 -1
- package/lib/cjs/test/test-utils.js +64 -2
- package/lib/cjs/test/test-utils.js.map +1 -1
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/widget/ReportsConfigUiProvider.js +5 -1
- package/lib/cjs/widget/ReportsConfigUiProvider.js.map +1 -1
- package/lib/cjs/widget/components/ActionPanel.js +5 -1
- package/lib/cjs/widget/components/ActionPanel.js.map +1 -1
- package/lib/cjs/widget/components/AddMappingsModal.js +5 -1
- package/lib/cjs/widget/components/AddMappingsModal.js.map +1 -1
- package/lib/cjs/widget/components/Constants.d.ts +1 -0
- package/lib/cjs/widget/components/Constants.d.ts.map +1 -1
- package/lib/cjs/widget/components/Constants.js +2 -1
- package/lib/cjs/widget/components/Constants.js.map +1 -1
- package/lib/cjs/widget/components/DeleteModal.js +5 -1
- package/lib/cjs/widget/components/DeleteModal.js.map +1 -1
- package/lib/cjs/widget/components/ExtractionStatus.js +5 -1
- package/lib/cjs/widget/components/ExtractionStatus.js.map +1 -1
- package/lib/cjs/widget/components/LocalizedTablePaginator.js +5 -1
- package/lib/cjs/widget/components/LocalizedTablePaginator.js.map +1 -1
- package/lib/cjs/widget/components/ReportAction.js +5 -1
- package/lib/cjs/widget/components/ReportAction.js.map +1 -1
- package/lib/cjs/widget/components/ReportHorizontalTile.js +5 -1
- package/lib/cjs/widget/components/ReportHorizontalTile.js.map +1 -1
- package/lib/cjs/widget/components/ReportMappingHorizontalTile.js +5 -1
- package/lib/cjs/widget/components/ReportMappingHorizontalTile.js.map +1 -1
- package/lib/cjs/widget/components/ReportMappings.js +5 -1
- package/lib/cjs/widget/components/ReportMappings.js.map +1 -1
- package/lib/cjs/widget/components/Reports.js +5 -1
- package/lib/cjs/widget/components/Reports.js.map +1 -1
- package/lib/cjs/widget/components/ReportsConfigContext.d.ts.map +1 -1
- package/lib/cjs/widget/components/ReportsConfigContext.js +7 -2
- package/lib/cjs/widget/components/ReportsConfigContext.js.map +1 -1
- package/lib/cjs/widget/components/ReportsContainer.js +5 -1
- package/lib/cjs/widget/components/ReportsContainer.js.map +1 -1
- package/lib/cjs/widget/components/SearchBar.js +5 -1
- package/lib/cjs/widget/components/SearchBar.js.map +1 -1
- package/lib/cjs/widget/components/SelectIModel.js +6 -2
- package/lib/cjs/widget/components/SelectIModel.js.map +1 -1
- package/lib/cjs/widget/context/BulkExtractorContext.js +5 -1
- package/lib/cjs/widget/context/BulkExtractorContext.js.map +1 -1
- package/lib/cjs/widget/context/ReportsConfigApiContext.js +5 -1
- package/lib/cjs/widget/context/ReportsConfigApiContext.js.map +1 -1
- package/lib/esm/test/AddMappingModal.test.js +1 -54
- package/lib/esm/test/AddMappingModal.test.js.map +1 -1
- package/lib/esm/test/ReportMappingHorizontalTile.test.js +2 -55
- package/lib/esm/test/ReportMappingHorizontalTile.test.js.map +1 -1
- package/lib/esm/test/ReportMappings.test.js +2 -54
- package/lib/esm/test/ReportMappings.test.js.map +1 -1
- package/lib/esm/test/Reports.test.js +28 -47
- package/lib/esm/test/Reports.test.js.map +1 -1
- package/lib/esm/test/test-utils.d.ts +30 -0
- package/lib/esm/test/test-utils.d.ts.map +1 -1
- package/lib/esm/test/test-utils.js +58 -0
- package/lib/esm/test/test-utils.js.map +1 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/widget/components/Constants.d.ts +1 -0
- package/lib/esm/widget/components/Constants.d.ts.map +1 -1
- package/lib/esm/widget/components/Constants.js +1 -0
- package/lib/esm/widget/components/Constants.js.map +1 -1
- package/lib/esm/widget/components/ReportsConfigContext.d.ts.map +1 -1
- package/lib/esm/widget/components/ReportsConfigContext.js +3 -2
- package/lib/esm/widget/components/ReportsConfigContext.js.map +1 -1
- package/lib/esm/widget/components/SelectIModel.js +1 -1
- package/lib/esm/widget/components/SelectIModel.js.map +1 -1
- package/package.json +30 -29
- package/src/test/AddMappingModal.test.tsx +7 -57
- package/src/test/ReportMappingHorizontalTile.test.tsx +6 -58
- package/src/test/ReportMappings.test.tsx +7 -58
- package/src/test/Reports.test.tsx +32 -110
- package/src/test/test-utils.tsx +62 -1
- package/src/widget/components/Constants.ts +2 -0
- package/src/widget/components/ReportsConfigContext.tsx +3 -2
- package/src/widget/components/SelectIModel.tsx +1 -1
- package/.rush/temp/operation/rebuild/all.log +0 -9
- package/.rush/temp/operation/rebuild/state.json +0 -3
- package/.rush/temp/package-deps_rebuild.json +0 -68
- package/.rush/temp/shrinkwrap-deps.json +0 -898
- package/reports-config-widget-react.build.error.log +0 -14
- package/reports-config-widget-react.build.log +0 -63
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/reports-config-widget-react",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Mon, 29 Jan 2024 21:36:35 GMT",
|
|
6
|
+
"version": "0.5.0",
|
|
7
|
+
"tag": "@itwin/reports-config-widget-react_v0.5.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "Guillar1@users.noreply.github.com",
|
|
12
|
+
"package": "@itwin/reports-config-widget-react",
|
|
13
|
+
"commit": "4d4f9d3fc3641ed87537be729e5fffd7312c4402",
|
|
14
|
+
"comment": "Updated iModels client"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
4
19
|
{
|
|
5
20
|
"version": "0.4.0",
|
|
6
21
|
"tag": "@itwin/reports-config-widget-react_v0.4.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Change Log - @itwin/reports-config-widget-react
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 29 Jan 2024 21:36:35 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
<!-- Start content -->
|
|
6
|
+
|
|
7
|
+
## 0.5.0
|
|
8
|
+
|
|
9
|
+
Mon, 29 Jan 2024 21:36:35 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Updated iModels client ([#747](https://github.com/iTwin/viewer-components-react/pull/747))
|
|
4
14
|
|
|
5
15
|
## 0.4.0
|
|
6
16
|
Thu, 17 Aug 2023 14:42:37 GMT
|
|
@@ -106,4 +116,3 @@ Tue, 14 Jun 2022 16:01:06 GMT
|
|
|
106
116
|
### Patches
|
|
107
117
|
|
|
108
118
|
- Initial release of the reports config widget for Reporting Platform
|
|
109
|
-
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1706564113486" clover="3.2.0">
|
|
3
|
+
<project timestamp="1706564113486" name="All files">
|
|
4
|
+
<metrics statements="744" coveredstatements="634" conditionals="219" coveredconditionals="146" methods="179" coveredmethods="136" elements="1142" coveredelements="916" complexity="0" loc="744" ncloc="744" packages="7" files="32" classes="32"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="9" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="4" coveredmethods="2"/>
|
|
7
7
|
<file name="ReportsConfigWidget.ts" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/ReportsConfigWidget.ts">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<line num="6" count="8" type="stmt"/>
|
|
10
10
|
<line num="8" count="8" type="stmt"/>
|
|
11
11
|
<line num="13" count="0" type="stmt"/>
|
|
12
|
-
<line num="17" count="
|
|
12
|
+
<line num="17" count="5061" type="stmt"/>
|
|
13
13
|
<line num="21" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
14
14
|
<line num="23" count="7" type="stmt"/>
|
|
15
15
|
<line num="24" count="7" type="stmt"/>
|
|
@@ -18,20 +18,27 @@
|
|
|
18
18
|
</file>
|
|
19
19
|
</package>
|
|
20
20
|
<package name="src.test">
|
|
21
|
-
<metrics statements="
|
|
21
|
+
<metrics statements="18" coveredstatements="16" conditionals="3" coveredconditionals="3" methods="5" coveredmethods="3"/>
|
|
22
22
|
<file name="test-utils.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/test/test-utils.tsx">
|
|
23
|
-
<metrics statements="
|
|
23
|
+
<metrics statements="18" coveredstatements="16" conditionals="3" coveredconditionals="3" methods="5" coveredmethods="3"/>
|
|
24
24
|
<line num="5" count="7" type="stmt"/>
|
|
25
25
|
<line num="6" count="7" type="stmt"/>
|
|
26
26
|
<line num="7" count="7" type="stmt"/>
|
|
27
27
|
<line num="9" count="7" type="stmt"/>
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
28
|
+
<line num="10" count="7" type="stmt"/>
|
|
29
|
+
<line num="12" count="20" type="stmt"/>
|
|
30
|
+
<line num="14" count="7" type="stmt"/>
|
|
31
|
+
<line num="15" count="7" type="stmt"/>
|
|
32
|
+
<line num="17" count="7" type="stmt"/>
|
|
33
|
+
<line num="18" count="7" type="stmt"/>
|
|
34
|
+
<line num="20" count="7" type="stmt"/>
|
|
35
|
+
<line num="31" count="0" type="stmt"/>
|
|
36
|
+
<line num="57" count="0" type="stmt"/>
|
|
37
|
+
<line num="80" count="29" type="stmt"/>
|
|
38
|
+
<line num="81" count="29" type="stmt"/>
|
|
39
|
+
<line num="90" count="29" type="stmt"/>
|
|
40
|
+
<line num="96" count="7" type="stmt"/>
|
|
41
|
+
<line num="98" count="7" type="stmt"/>
|
|
35
42
|
</file>
|
|
36
43
|
</package>
|
|
37
44
|
<package name="src.widget">
|
|
@@ -55,7 +62,7 @@
|
|
|
55
62
|
</file>
|
|
56
63
|
</package>
|
|
57
64
|
<package name="src.widget.components">
|
|
58
|
-
<metrics statements="
|
|
65
|
+
<metrics statements="640" coveredstatements="546" conditionals="202" coveredconditionals="140" methods="155" coveredmethods="120"/>
|
|
59
66
|
<file name="ActionPanel.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/ActionPanel.tsx">
|
|
60
67
|
<metrics statements="8" coveredstatements="8" conditionals="11" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
61
68
|
<line num="5" count="7" type="stmt"/>
|
|
@@ -214,10 +221,11 @@
|
|
|
214
221
|
<line num="191" count="8" type="stmt"/>
|
|
215
222
|
</file>
|
|
216
223
|
<file name="Constants.ts" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/Constants.ts">
|
|
217
|
-
<metrics statements="
|
|
218
|
-
<line num="5" count="
|
|
219
|
-
<line num="6" count="
|
|
220
|
-
<line num="7" count="
|
|
224
|
+
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
225
|
+
<line num="5" count="7" type="stmt"/>
|
|
226
|
+
<line num="6" count="7" type="stmt"/>
|
|
227
|
+
<line num="7" count="7" type="stmt"/>
|
|
228
|
+
<line num="9" count="7" type="stmt"/>
|
|
221
229
|
</file>
|
|
222
230
|
<file name="DeleteModal.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/DeleteModal.tsx">
|
|
223
231
|
<metrics statements="17" coveredstatements="16" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
|
|
@@ -227,8 +235,8 @@
|
|
|
227
235
|
<line num="15" count="7" type="stmt"/>
|
|
228
236
|
<line num="16" count="7" type="stmt"/>
|
|
229
237
|
<line num="25" count="7" type="stmt"/>
|
|
230
|
-
<line num="31" count="
|
|
231
|
-
<line num="33" count="
|
|
238
|
+
<line num="31" count="163" type="stmt"/>
|
|
239
|
+
<line num="33" count="163" type="stmt"/>
|
|
232
240
|
<line num="34" count="2" type="stmt"/>
|
|
233
241
|
<line num="35" count="2" type="stmt"/>
|
|
234
242
|
<line num="36" count="2" type="stmt"/>
|
|
@@ -236,7 +244,7 @@
|
|
|
236
244
|
<line num="38" count="2" type="stmt"/>
|
|
237
245
|
<line num="40" count="0" type="stmt"/>
|
|
238
246
|
<line num="42" count="2" type="stmt"/>
|
|
239
|
-
<line num="46" count="
|
|
247
|
+
<line num="46" count="163" type="stmt"/>
|
|
240
248
|
<line num="94" count="7" type="stmt"/>
|
|
241
249
|
</file>
|
|
242
250
|
<file name="ExtractionStatus.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/ExtractionStatus.tsx">
|
|
@@ -294,8 +302,8 @@
|
|
|
294
302
|
<line num="8" count="7" type="stmt"/>
|
|
295
303
|
<line num="9" count="7" type="stmt"/>
|
|
296
304
|
<line num="21" count="7" type="stmt"/>
|
|
297
|
-
<line num="32" count="
|
|
298
|
-
<line num="34" count="
|
|
305
|
+
<line num="32" count="172" type="stmt"/>
|
|
306
|
+
<line num="34" count="172" type="stmt"/>
|
|
299
307
|
</file>
|
|
300
308
|
<file name="LocalizedTablePaginator.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/LocalizedTablePaginator.tsx">
|
|
301
309
|
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="1" methods="6" coveredmethods="6"/>
|
|
@@ -357,19 +365,19 @@
|
|
|
357
365
|
<line num="17" count="7" type="stmt"/>
|
|
358
366
|
<line num="22" count="7" type="stmt"/>
|
|
359
367
|
<line num="35" count="7" type="stmt"/>
|
|
360
|
-
<line num="36" count="
|
|
361
|
-
<line num="37" count="
|
|
362
|
-
<line num="38" count="
|
|
363
|
-
<line num="40" count="
|
|
364
|
-
<line num="41" count="
|
|
368
|
+
<line num="36" count="144" type="stmt"/>
|
|
369
|
+
<line num="37" count="144" type="stmt"/>
|
|
370
|
+
<line num="38" count="144" type="stmt"/>
|
|
371
|
+
<line num="40" count="144" type="stmt"/>
|
|
372
|
+
<line num="41" count="26" type="stmt"/>
|
|
365
373
|
<line num="42" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
366
374
|
<line num="43" count="0" type="stmt"/>
|
|
367
375
|
<line num="44" count="0" type="stmt"/>
|
|
368
|
-
<line num="47" count="
|
|
369
|
-
<line num="49" count="
|
|
370
|
-
<line num="50" count="
|
|
371
|
-
<line num="54" count="
|
|
372
|
-
<line num="55" count="
|
|
376
|
+
<line num="47" count="26" type="stmt"/>
|
|
377
|
+
<line num="49" count="26" type="stmt"/>
|
|
378
|
+
<line num="50" count="26" type="stmt"/>
|
|
379
|
+
<line num="54" count="144" type="stmt"/>
|
|
380
|
+
<line num="55" count="26" type="cond" truecount="0" falsecount="1"/>
|
|
373
381
|
<line num="56" count="0" type="stmt"/>
|
|
374
382
|
<line num="57" count="0" type="stmt"/>
|
|
375
383
|
<line num="58" count="0" type="stmt"/>
|
|
@@ -377,13 +385,13 @@
|
|
|
377
385
|
<line num="60" count="0" type="stmt"/>
|
|
378
386
|
<line num="61" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
379
387
|
<line num="62" count="0" type="stmt"/>
|
|
380
|
-
<line num="67" count="
|
|
381
|
-
<line num="70" count="
|
|
388
|
+
<line num="67" count="26" type="stmt"/>
|
|
389
|
+
<line num="70" count="144" type="stmt"/>
|
|
382
390
|
<line num="71" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
383
391
|
<line num="72" count="4" type="stmt"/>
|
|
384
|
-
<line num="76" count="
|
|
392
|
+
<line num="76" count="144" type="stmt"/>
|
|
385
393
|
<line num="83" count="1" type="stmt"/>
|
|
386
|
-
<line num="90" count="
|
|
394
|
+
<line num="90" count="144" type="stmt"/>
|
|
387
395
|
<line num="93" count="2" type="stmt"/>
|
|
388
396
|
<line num="103" count="1" type="stmt"/>
|
|
389
397
|
<line num="104" count="1" type="stmt"/>
|
|
@@ -520,7 +528,7 @@
|
|
|
520
528
|
<line num="305" count="2" type="stmt"/>
|
|
521
529
|
</file>
|
|
522
530
|
<file name="Reports.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/Reports.tsx">
|
|
523
|
-
<metrics statements="56" coveredstatements="
|
|
531
|
+
<metrics statements="56" coveredstatements="50" conditionals="18" coveredconditionals="12" methods="18" coveredmethods="14"/>
|
|
524
532
|
<line num="5" count="7" type="stmt"/>
|
|
525
533
|
<line num="6" count="7" type="stmt"/>
|
|
526
534
|
<line num="7" count="7" type="stmt"/>
|
|
@@ -534,52 +542,52 @@
|
|
|
534
542
|
<line num="22" count="7" type="stmt"/>
|
|
535
543
|
<line num="23" count="7" type="stmt"/>
|
|
536
544
|
<line num="27" count="7" type="stmt"/>
|
|
537
|
-
<line num="34" count="
|
|
538
|
-
<line num="35" count="
|
|
539
|
-
<line num="36" count="
|
|
540
|
-
<line num="37" count="
|
|
541
|
-
<line num="38" count="
|
|
542
|
-
<line num="39" count="
|
|
543
|
-
<line num="41" count="
|
|
544
|
-
<line num="43" count="
|
|
545
|
+
<line num="34" count="9" type="stmt"/>
|
|
546
|
+
<line num="35" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
547
|
+
<line num="36" count="9" type="stmt"/>
|
|
548
|
+
<line num="37" count="9" type="stmt"/>
|
|
549
|
+
<line num="38" count="9" type="stmt"/>
|
|
550
|
+
<line num="39" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
551
|
+
<line num="41" count="0" type="stmt"/>
|
|
552
|
+
<line num="43" count="9" type="stmt"/>
|
|
545
553
|
<line num="53" count="7" type="stmt"/>
|
|
546
|
-
<line num="58" count="
|
|
547
|
-
<line num="59" count="
|
|
548
|
-
<line num="60" count="
|
|
549
|
-
<line num="63" count="
|
|
550
|
-
<line num="64" count="
|
|
551
|
-
<line num="65" count="
|
|
552
|
-
<line num="66" count="
|
|
553
|
-
<line num="67" count="
|
|
554
|
+
<line num="58" count="75" type="stmt"/>
|
|
555
|
+
<line num="59" count="75" type="stmt"/>
|
|
556
|
+
<line num="60" count="75" type="stmt"/>
|
|
557
|
+
<line num="63" count="75" type="stmt"/>
|
|
558
|
+
<line num="64" count="75" type="stmt"/>
|
|
559
|
+
<line num="65" count="75" type="stmt"/>
|
|
560
|
+
<line num="66" count="75" type="stmt"/>
|
|
561
|
+
<line num="67" count="75" type="stmt"/>
|
|
554
562
|
<line num="68" count="8" type="stmt"/>
|
|
555
|
-
<line num="72" count="
|
|
556
|
-
<line num="73" count="
|
|
557
|
-
<line num="82" count="
|
|
563
|
+
<line num="72" count="75" type="stmt"/>
|
|
564
|
+
<line num="73" count="8" type="stmt"/>
|
|
565
|
+
<line num="82" count="75" type="stmt"/>
|
|
558
566
|
<line num="83" count="1" type="stmt"/>
|
|
559
|
-
<line num="92" count="
|
|
560
|
-
<line num="94" count="
|
|
561
|
-
<line num="95" count="
|
|
562
|
-
<line num="103" count="
|
|
567
|
+
<line num="92" count="75" type="stmt"/>
|
|
568
|
+
<line num="94" count="50" type="stmt"/>
|
|
569
|
+
<line num="95" count="122" type="stmt"/>
|
|
570
|
+
<line num="103" count="75" type="stmt"/>
|
|
563
571
|
<line num="104" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
564
572
|
<line num="106" count="4" type="stmt"/>
|
|
565
573
|
<line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
566
574
|
<line num="108" count="0" type="stmt"/>
|
|
567
|
-
<line num="113" count="
|
|
575
|
+
<line num="113" count="75" type="stmt"/>
|
|
568
576
|
<line num="114" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
569
577
|
<line num="115" count="0" type="stmt"/>
|
|
570
578
|
<line num="116" count="0" type="stmt"/>
|
|
571
579
|
<line num="117" count="0" type="stmt"/>
|
|
572
|
-
<line num="120" count="
|
|
573
|
-
<line num="122" count="
|
|
574
|
-
<line num="190" count="
|
|
580
|
+
<line num="120" count="75" type="cond" truecount="0" falsecount="1"/>
|
|
581
|
+
<line num="122" count="75" type="stmt"/>
|
|
582
|
+
<line num="190" count="144" type="stmt"/>
|
|
575
583
|
<line num="197" count="1" type="stmt"/>
|
|
576
|
-
<line num="202" count="
|
|
584
|
+
<line num="202" count="26" type="stmt"/>
|
|
577
585
|
<line num="211" count="1" type="stmt"/>
|
|
578
586
|
<line num="213" count="1" type="stmt"/>
|
|
579
587
|
<line num="214" count="1" type="stmt"/>
|
|
580
588
|
</file>
|
|
581
589
|
<file name="ReportsConfigContext.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/ReportsConfigContext.tsx">
|
|
582
|
-
<metrics statements="
|
|
590
|
+
<metrics statements="31" coveredstatements="28" conditionals="31" coveredconditionals="27" methods="10" coveredmethods="7"/>
|
|
583
591
|
<line num="5" count="7" type="stmt"/>
|
|
584
592
|
<line num="7" count="7" type="stmt"/>
|
|
585
593
|
<line num="8" count="7" type="stmt"/>
|
|
@@ -591,25 +599,26 @@
|
|
|
591
599
|
<line num="18" count="7" type="stmt"/>
|
|
592
600
|
<line num="19" count="7" type="stmt"/>
|
|
593
601
|
<line num="20" count="7" type="stmt"/>
|
|
594
|
-
<line num="
|
|
595
|
-
<line num="35" count="
|
|
596
|
-
<line num="
|
|
597
|
-
<line num="38" count="
|
|
598
|
-
<line num="
|
|
599
|
-
<line num="
|
|
600
|
-
<line num="
|
|
601
|
-
<line num="
|
|
602
|
-
<line num="59" count="
|
|
603
|
-
<line num="60" count="29" type="cond" truecount="
|
|
604
|
-
<line num="
|
|
605
|
-
<line num="65" count="
|
|
606
|
-
<line num="
|
|
607
|
-
<line num="69" count="
|
|
608
|
-
<line num="
|
|
609
|
-
<line num="73" count="58" type="
|
|
610
|
-
<line num="
|
|
611
|
-
<line num="78" count="
|
|
612
|
-
<line num="
|
|
602
|
+
<line num="21" count="7" type="stmt"/>
|
|
603
|
+
<line num="35" count="7" type="stmt"/>
|
|
604
|
+
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
605
|
+
<line num="38" count="7" type="stmt"/>
|
|
606
|
+
<line num="39" count="256" type="stmt"/>
|
|
607
|
+
<line num="43" count="58" type="stmt"/>
|
|
608
|
+
<line num="46" count="58" type="stmt"/>
|
|
609
|
+
<line num="50" count="58" type="stmt"/>
|
|
610
|
+
<line num="59" count="58" type="stmt"/>
|
|
611
|
+
<line num="60" count="29" type="cond" truecount="1" falsecount="0"/>
|
|
612
|
+
<line num="61" count="29" type="cond" truecount="2" falsecount="0"/>
|
|
613
|
+
<line num="65" count="58" type="stmt"/>
|
|
614
|
+
<line num="66" count="0" type="stmt"/>
|
|
615
|
+
<line num="69" count="58" type="stmt"/>
|
|
616
|
+
<line num="70" count="0" type="stmt"/>
|
|
617
|
+
<line num="73" count="58" type="stmt"/>
|
|
618
|
+
<line num="74" count="58" type="cond" truecount="2" falsecount="0"/>
|
|
619
|
+
<line num="78" count="58" type="stmt"/>
|
|
620
|
+
<line num="79" count="29" type="stmt"/>
|
|
621
|
+
<line num="89" count="58" type="stmt"/>
|
|
613
622
|
</file>
|
|
614
623
|
<file name="ReportsContainer.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/components/ReportsContainer.tsx">
|
|
615
624
|
<metrics statements="22" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="5" coveredmethods="1"/>
|
|
@@ -675,9 +684,9 @@
|
|
|
675
684
|
<line num="8" count="7" type="stmt"/>
|
|
676
685
|
<line num="9" count="7" type="stmt"/>
|
|
677
686
|
<line num="17" count="7" type="stmt"/>
|
|
678
|
-
<line num="22" count="
|
|
679
|
-
<line num="23" count="
|
|
680
|
-
<line num="25" count="
|
|
687
|
+
<line num="22" count="159" type="stmt"/>
|
|
688
|
+
<line num="23" count="159" type="stmt"/>
|
|
689
|
+
<line num="25" count="159" type="cond" truecount="4" falsecount="0"/>
|
|
681
690
|
<line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
682
691
|
<line num="32" count="0" type="stmt"/>
|
|
683
692
|
<line num="33" count="0" type="stmt"/>
|
|
@@ -721,8 +730,8 @@
|
|
|
721
730
|
<line num="22" count="8" type="stmt"/>
|
|
722
731
|
<line num="27" count="2" type="stmt"/>
|
|
723
732
|
<line num="46" count="8" type="stmt"/>
|
|
724
|
-
<line num="47" count="
|
|
725
|
-
<line num="50" count="
|
|
733
|
+
<line num="47" count="2" type="stmt"/>
|
|
734
|
+
<line num="50" count="2" type="cond" truecount="1" falsecount="9"/>
|
|
726
735
|
<line num="52" count="0" type="stmt"/>
|
|
727
736
|
<line num="55" count="0" type="stmt"/>
|
|
728
737
|
<line num="57" count="0" type="stmt"/>
|
|
@@ -741,21 +750,21 @@
|
|
|
741
750
|
<line num="90" count="0" type="stmt"/>
|
|
742
751
|
<line num="92" count="0" type="stmt"/>
|
|
743
752
|
<line num="95" count="0" type="stmt"/>
|
|
744
|
-
<line num="97" count="
|
|
745
|
-
<line num="101" count="
|
|
753
|
+
<line num="97" count="2" type="stmt"/>
|
|
754
|
+
<line num="101" count="2" type="stmt"/>
|
|
746
755
|
<line num="104" count="8" type="stmt"/>
|
|
747
|
-
<line num="105" count="
|
|
756
|
+
<line num="105" count="40" type="stmt"/>
|
|
748
757
|
<line num="122" count="8" type="stmt"/>
|
|
749
758
|
<line num="123" count="3" type="stmt"/>
|
|
750
759
|
<line num="126" count="8" type="stmt"/>
|
|
751
760
|
<line num="131" count="251" type="stmt"/>
|
|
752
761
|
<line num="133" count="251" type="stmt"/>
|
|
753
762
|
<line num="139" count="8" type="stmt"/>
|
|
754
|
-
<line num="140" count="
|
|
763
|
+
<line num="140" count="25" type="stmt"/>
|
|
755
764
|
<line num="150" count="8" type="stmt"/>
|
|
756
765
|
<line num="151" count="0" type="stmt"/>
|
|
757
766
|
<line num="154" count="8" type="stmt"/>
|
|
758
|
-
<line num="155" count="
|
|
767
|
+
<line num="155" count="372" type="stmt"/>
|
|
759
768
|
</file>
|
|
760
769
|
</package>
|
|
761
770
|
<package name="src.widget.components.ExtractionStates">
|
|
@@ -811,10 +820,10 @@
|
|
|
811
820
|
<line num="7" count="7" type="stmt"/>
|
|
812
821
|
<line num="16" count="7" type="stmt"/>
|
|
813
822
|
<line num="18" count="7" type="stmt"/>
|
|
814
|
-
<line num="19" count="
|
|
815
|
-
<line num="20" count="
|
|
823
|
+
<line num="19" count="162" type="stmt"/>
|
|
824
|
+
<line num="20" count="162" type="cond" truecount="0" falsecount="1"/>
|
|
816
825
|
<line num="21" count="0" type="stmt"/>
|
|
817
|
-
<line num="25" count="
|
|
826
|
+
<line num="25" count="162" type="stmt"/>
|
|
818
827
|
</file>
|
|
819
828
|
<file name="ReportsConfigApiContext.tsx" path="/home/vsts/work/1/s/packages/itwin/reports-config-widget/src/widget/context/ReportsConfigApiContext.tsx">
|
|
820
829
|
<metrics statements="11" coveredstatements="9" conditionals="1" coveredconditionals="0" methods="2" coveredmethods="1"/>
|
|
@@ -825,10 +834,10 @@
|
|
|
825
834
|
<line num="22" count="7" type="stmt"/>
|
|
826
835
|
<line num="23" count="0" type="stmt"/>
|
|
827
836
|
<line num="31" count="7" type="stmt"/>
|
|
828
|
-
<line num="32" count="
|
|
829
|
-
<line num="33" count="
|
|
837
|
+
<line num="32" count="444" type="stmt"/>
|
|
838
|
+
<line num="33" count="444" type="cond" truecount="0" falsecount="1"/>
|
|
830
839
|
<line num="34" count="0" type="stmt"/>
|
|
831
|
-
<line num="38" count="
|
|
840
|
+
<line num="38" count="444" type="stmt"/>
|
|
832
841
|
</file>
|
|
833
842
|
</package>
|
|
834
843
|
<package name="src.widget.hooks">
|