@k-int/stripes-kint-components 2.3.3 → 2.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.md +21 -7
- package/README.md +14 -1
- package/es/index.js +26 -2
- package/es/lib/ActionList/ActionList.js +20 -7
- package/es/lib/ActionList/ActionListFieldArray.js +86 -85
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -3
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
- package/es/lib/EditableRefdataList/EditableRefdataList.js +3 -0
- package/es/lib/EditableSettingsList/EditableSettingsList.js +4 -1
- package/es/lib/FormModal/FormModal.js +10 -1
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +62 -105
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +146 -0
- package/es/lib/SASQLookupComponent/TableBody/index.js +19 -0
- package/es/lib/SASQLookupComponent/index.js +9 -1
- package/es/lib/SASQRoute/SASQRoute.js +2 -2
- package/es/lib/Typedown/Typedown.js +5 -7
- package/es/lib/hooks/settingsHooks/useSettingSection.js +16 -3
- package/es/lib/hooks/settingsHooks/useSettings.js +14 -7
- package/es/lib/utils/generateKiwtQueryParams.js +21 -4
- package/es/lib/utils/highlightString.js +94 -0
- package/es/lib/utils/index.js +23 -1
- package/es/lib/utils/matchString.js +59 -0
- package/junit.xml +37 -37
- package/package.json +1 -2
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +42 -12
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +222 -93
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +20 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +601 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +190 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +340 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +667 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +982 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +478 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +191 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +100 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +460 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +529 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +424 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +307 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +451 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +236 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +103 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +250 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +190 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +220 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +193 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +436 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +616 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +116 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +175 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +33 -18
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +8 -2
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +102 -24
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +14 -8
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +60 -153
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +373 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +6 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +7 -25
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +7 -4
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +39 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +8 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +57 -6
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +29 -8
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +26 -8
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +205 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +118 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +21 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +6 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +126 -51
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +36 -9
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +124 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +95 -20
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +29 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +127 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +112 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +112 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +126 -6
- package/src/artifacts/coverage-jest/lcov.info +2043 -718
- package/src/index.js +6 -1
- package/src/lib/ActionList/ActionList.js +12 -5
- package/src/lib/ActionList/ActionListFieldArray.js +86 -65
- package/src/lib/ActionList/README.md +19 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -3
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
- package/src/lib/EditableRefdataList/EditableRefdataList.js +3 -1
- package/src/lib/EditableSettingsList/EditableSettingsList.js +8 -1
- package/src/lib/FormModal/FormModal.js +6 -2
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +46 -77
- package/src/lib/SASQLookupComponent/TableBody/TableBody.js +96 -0
- package/src/lib/SASQLookupComponent/TableBody/index.js +1 -0
- package/src/lib/SASQLookupComponent/index.js +2 -1
- package/src/lib/SASQRoute/SASQRoute.js +1 -1
- package/src/lib/Typedown/Typedown.js +4 -10
- package/src/lib/hooks/settingsHooks/useSettingSection.js +19 -2
- package/src/lib/hooks/settingsHooks/useSettings.js +12 -5
- package/src/lib/utils/generateKiwtQueryParams.js +10 -1
- package/src/lib/utils/highlightString.js +42 -0
- package/src/lib/utils/index.js +4 -0
- package/src/lib/utils/matchString.js +14 -0
- package/styles/ActionListFieldArray.css +10 -2
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">7.9% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>105/1328</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">5.47% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>52/
|
|
35
|
+
<span class='fraction'>52/949</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">5.19% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>20/
|
|
42
|
+
<span class='fraction'>20/385</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">8.12% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>103/1268</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,13 +84,28 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="104" class="abs low">0/104</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="72" class="abs low">0/72</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
|
-
<td data-value="
|
|
91
|
+
<td data-value="33" class="abs low">0/33</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="94" class="abs low">0/94</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
<tr>
|
|
97
|
+
<td class="file empty" data-value="CustomProperties"><a href="CustomProperties/index.html">CustomProperties</a></td>
|
|
98
|
+
<td data-value="0" class="pic empty">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
|
+
</td>
|
|
101
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
102
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
103
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
104
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
105
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
106
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
107
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
108
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
94
109
|
</tr>
|
|
95
110
|
|
|
96
111
|
<tr>
|
|
@@ -99,13 +114,58 @@
|
|
|
99
114
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
115
|
</td>
|
|
101
116
|
<td data-value="0" class="pct low">0%</td>
|
|
102
|
-
<td data-value="
|
|
117
|
+
<td data-value="100" class="abs low">0/100</td>
|
|
103
118
|
<td data-value="0" class="pct low">0%</td>
|
|
104
119
|
<td data-value="139" class="abs low">0/139</td>
|
|
105
120
|
<td data-value="0" class="pct low">0%</td>
|
|
106
121
|
<td data-value="36" class="abs low">0/36</td>
|
|
107
122
|
<td data-value="0" class="pct low">0%</td>
|
|
108
|
-
<td data-value="
|
|
123
|
+
<td data-value="97" class="abs low">0/97</td>
|
|
124
|
+
</tr>
|
|
125
|
+
|
|
126
|
+
<tr>
|
|
127
|
+
<td class="file low" data-value="CustomProperties/Edit"><a href="CustomProperties/Edit/index.html">CustomProperties/Edit</a></td>
|
|
128
|
+
<td data-value="0" class="pic low">
|
|
129
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
130
|
+
</td>
|
|
131
|
+
<td data-value="0" class="pct low">0%</td>
|
|
132
|
+
<td data-value="143" class="abs low">0/143</td>
|
|
133
|
+
<td data-value="0" class="pct low">0%</td>
|
|
134
|
+
<td data-value="116" class="abs low">0/116</td>
|
|
135
|
+
<td data-value="0" class="pct low">0%</td>
|
|
136
|
+
<td data-value="43" class="abs low">0/43</td>
|
|
137
|
+
<td data-value="0" class="pct low">0%</td>
|
|
138
|
+
<td data-value="136" class="abs low">0/136</td>
|
|
139
|
+
</tr>
|
|
140
|
+
|
|
141
|
+
<tr>
|
|
142
|
+
<td class="file low" data-value="CustomProperties/Filter"><a href="CustomProperties/Filter/index.html">CustomProperties/Filter</a></td>
|
|
143
|
+
<td data-value="0" class="pic low">
|
|
144
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
145
|
+
</td>
|
|
146
|
+
<td data-value="0" class="pct low">0%</td>
|
|
147
|
+
<td data-value="139" class="abs low">0/139</td>
|
|
148
|
+
<td data-value="0" class="pct low">0%</td>
|
|
149
|
+
<td data-value="101" class="abs low">0/101</td>
|
|
150
|
+
<td data-value="0" class="pct low">0%</td>
|
|
151
|
+
<td data-value="46" class="abs low">0/46</td>
|
|
152
|
+
<td data-value="0" class="pct low">0%</td>
|
|
153
|
+
<td data-value="128" class="abs low">0/128</td>
|
|
154
|
+
</tr>
|
|
155
|
+
|
|
156
|
+
<tr>
|
|
157
|
+
<td class="file low" data-value="CustomProperties/View"><a href="CustomProperties/View/index.html">CustomProperties/View</a></td>
|
|
158
|
+
<td data-value="0" class="pic low">
|
|
159
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
160
|
+
</td>
|
|
161
|
+
<td data-value="0" class="pct low">0%</td>
|
|
162
|
+
<td data-value="49" class="abs low">0/49</td>
|
|
163
|
+
<td data-value="0" class="pct low">0%</td>
|
|
164
|
+
<td data-value="77" class="abs low">0/77</td>
|
|
165
|
+
<td data-value="0" class="pct low">0%</td>
|
|
166
|
+
<td data-value="12" class="abs low">0/12</td>
|
|
167
|
+
<td data-value="0" class="pct low">0%</td>
|
|
168
|
+
<td data-value="48" class="abs low">0/48</td>
|
|
109
169
|
</tr>
|
|
110
170
|
|
|
111
171
|
<tr>
|
|
@@ -114,13 +174,13 @@
|
|
|
114
174
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
115
175
|
</td>
|
|
116
176
|
<td data-value="0" class="pct low">0%</td>
|
|
117
|
-
<td data-value="
|
|
177
|
+
<td data-value="26" class="abs low">0/26</td>
|
|
118
178
|
<td data-value="0" class="pct low">0%</td>
|
|
119
179
|
<td data-value="15" class="abs low">0/15</td>
|
|
120
180
|
<td data-value="0" class="pct low">0%</td>
|
|
121
181
|
<td data-value="11" class="abs low">0/11</td>
|
|
122
182
|
<td data-value="0" class="pct low">0%</td>
|
|
123
|
-
<td data-value="
|
|
183
|
+
<td data-value="25" class="abs low">0/25</td>
|
|
124
184
|
</tr>
|
|
125
185
|
|
|
126
186
|
<tr>
|
|
@@ -159,13 +219,13 @@
|
|
|
159
219
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
160
220
|
</td>
|
|
161
221
|
<td data-value="0" class="pct low">0%</td>
|
|
162
|
-
<td data-value="
|
|
163
|
-
<td data-value="
|
|
164
|
-
<td data-value="
|
|
222
|
+
<td data-value="13" class="abs low">0/13</td>
|
|
223
|
+
<td data-value="0" class="pct low">0%</td>
|
|
224
|
+
<td data-value="10" class="abs low">0/10</td>
|
|
165
225
|
<td data-value="0" class="pct low">0%</td>
|
|
166
226
|
<td data-value="4" class="abs low">0/4</td>
|
|
167
227
|
<td data-value="0" class="pct low">0%</td>
|
|
168
|
-
<td data-value="
|
|
228
|
+
<td data-value="13" class="abs low">0/13</td>
|
|
169
229
|
</tr>
|
|
170
230
|
|
|
171
231
|
<tr>
|
|
@@ -189,13 +249,13 @@
|
|
|
189
249
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
190
250
|
</td>
|
|
191
251
|
<td data-value="0" class="pct low">0%</td>
|
|
192
|
-
<td data-value="
|
|
193
|
-
<td data-value="100" class="pct high">100%</td>
|
|
194
|
-
<td data-value="0" class="abs high">0/0</td>
|
|
252
|
+
<td data-value="8" class="abs low">0/8</td>
|
|
195
253
|
<td data-value="0" class="pct low">0%</td>
|
|
196
|
-
<td data-value="
|
|
254
|
+
<td data-value="1" class="abs low">0/1</td>
|
|
255
|
+
<td data-value="0" class="pct low">0%</td>
|
|
256
|
+
<td data-value="3" class="abs low">0/3</td>
|
|
197
257
|
<td data-value="0" class="pct low">0%</td>
|
|
198
|
-
<td data-value="
|
|
258
|
+
<td data-value="8" class="abs low">0/8</td>
|
|
199
259
|
</tr>
|
|
200
260
|
|
|
201
261
|
<tr>
|
|
@@ -219,13 +279,28 @@
|
|
|
219
279
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
220
280
|
</td>
|
|
221
281
|
<td data-value="0" class="pct low">0%</td>
|
|
222
|
-
<td data-value="
|
|
282
|
+
<td data-value="38" class="abs low">0/38</td>
|
|
223
283
|
<td data-value="0" class="pct low">0%</td>
|
|
224
|
-
<td data-value="
|
|
284
|
+
<td data-value="30" class="abs low">0/30</td>
|
|
225
285
|
<td data-value="0" class="pct low">0%</td>
|
|
226
|
-
<td data-value="
|
|
286
|
+
<td data-value="10" class="abs low">0/10</td>
|
|
227
287
|
<td data-value="0" class="pct low">0%</td>
|
|
228
|
-
<td data-value="
|
|
288
|
+
<td data-value="37" class="abs low">0/37</td>
|
|
289
|
+
</tr>
|
|
290
|
+
|
|
291
|
+
<tr>
|
|
292
|
+
<td class="file low" data-value="SASQLookupComponent/TableBody"><a href="SASQLookupComponent/TableBody/index.html">SASQLookupComponent/TableBody</a></td>
|
|
293
|
+
<td data-value="0" class="pic low">
|
|
294
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
295
|
+
</td>
|
|
296
|
+
<td data-value="0" class="pct low">0%</td>
|
|
297
|
+
<td data-value="14" class="abs low">0/14</td>
|
|
298
|
+
<td data-value="0" class="pct low">0%</td>
|
|
299
|
+
<td data-value="4" class="abs low">0/4</td>
|
|
300
|
+
<td data-value="0" class="pct low">0%</td>
|
|
301
|
+
<td data-value="6" class="abs low">0/6</td>
|
|
302
|
+
<td data-value="0" class="pct low">0%</td>
|
|
303
|
+
<td data-value="13" class="abs low">0/13</td>
|
|
229
304
|
</tr>
|
|
230
305
|
|
|
231
306
|
<tr>
|
|
@@ -296,7 +371,7 @@
|
|
|
296
371
|
<td data-value="0" class="pct low">0%</td>
|
|
297
372
|
<td data-value="41" class="abs low">0/41</td>
|
|
298
373
|
<td data-value="0" class="pct low">0%</td>
|
|
299
|
-
<td data-value="
|
|
374
|
+
<td data-value="30" class="abs low">0/30</td>
|
|
300
375
|
<td data-value="0" class="pct low">0%</td>
|
|
301
376
|
<td data-value="13" class="abs low">0/13</td>
|
|
302
377
|
<td data-value="0" class="pct low">0%</td>
|
|
@@ -309,13 +384,13 @@
|
|
|
309
384
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
310
385
|
</td>
|
|
311
386
|
<td data-value="0" class="pct low">0%</td>
|
|
312
|
-
<td data-value="
|
|
387
|
+
<td data-value="13" class="abs low">0/13</td>
|
|
313
388
|
<td data-value="100" class="pct high">100%</td>
|
|
314
389
|
<td data-value="0" class="abs high">0/0</td>
|
|
315
390
|
<td data-value="100" class="pct high">100%</td>
|
|
316
391
|
<td data-value="0" class="abs high">0/0</td>
|
|
317
392
|
<td data-value="0" class="pct low">0%</td>
|
|
318
|
-
<td data-value="
|
|
393
|
+
<td data-value="13" class="abs low">0/13</td>
|
|
319
394
|
</tr>
|
|
320
395
|
|
|
321
396
|
<tr>
|
|
@@ -339,13 +414,13 @@
|
|
|
339
414
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
340
415
|
</td>
|
|
341
416
|
<td data-value="0" class="pct low">0%</td>
|
|
342
|
-
<td data-value="
|
|
417
|
+
<td data-value="202" class="abs low">0/202</td>
|
|
343
418
|
<td data-value="0" class="pct low">0%</td>
|
|
344
|
-
<td data-value="
|
|
419
|
+
<td data-value="80" class="abs low">0/80</td>
|
|
345
420
|
<td data-value="0" class="pct low">0%</td>
|
|
346
|
-
<td data-value="
|
|
421
|
+
<td data-value="54" class="abs low">0/54</td>
|
|
347
422
|
<td data-value="0" class="pct low">0%</td>
|
|
348
|
-
<td data-value="
|
|
423
|
+
<td data-value="194" class="abs low">0/194</td>
|
|
349
424
|
</tr>
|
|
350
425
|
|
|
351
426
|
<tr>
|
|
@@ -360,7 +435,7 @@
|
|
|
360
435
|
<td data-value="0" class="pct low">0%</td>
|
|
361
436
|
<td data-value="12" class="abs low">0/12</td>
|
|
362
437
|
<td data-value="0" class="pct low">0%</td>
|
|
363
|
-
<td data-value="
|
|
438
|
+
<td data-value="29" class="abs low">0/29</td>
|
|
364
439
|
</tr>
|
|
365
440
|
|
|
366
441
|
<tr>
|
|
@@ -369,28 +444,28 @@
|
|
|
369
444
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
370
445
|
</td>
|
|
371
446
|
<td data-value="0" class="pct low">0%</td>
|
|
372
|
-
<td data-value="
|
|
447
|
+
<td data-value="78" class="abs low">0/78</td>
|
|
373
448
|
<td data-value="0" class="pct low">0%</td>
|
|
374
|
-
<td data-value="
|
|
449
|
+
<td data-value="50" class="abs low">0/50</td>
|
|
375
450
|
<td data-value="0" class="pct low">0%</td>
|
|
376
451
|
<td data-value="11" class="abs low">0/11</td>
|
|
377
452
|
<td data-value="0" class="pct low">0%</td>
|
|
378
|
-
<td data-value="
|
|
453
|
+
<td data-value="77" class="abs low">0/77</td>
|
|
379
454
|
</tr>
|
|
380
455
|
|
|
381
456
|
<tr>
|
|
382
457
|
<td class="file low" data-value="utils"><a href="utils/index.html">utils</a></td>
|
|
383
|
-
<td data-value="
|
|
384
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
458
|
+
<td data-value="8.18" class="pic low">
|
|
459
|
+
<div class="chart"><div class="cover-fill" style="width: 8%"></div><div class="cover-empty" style="width: 92%"></div></div>
|
|
385
460
|
</td>
|
|
386
|
-
<td data-value="
|
|
387
|
-
<td data-value="
|
|
388
|
-
<td data-value="
|
|
389
|
-
<td data-value="
|
|
390
|
-
<td data-value="
|
|
391
|
-
<td data-value="
|
|
392
|
-
<td data-value="
|
|
393
|
-
<td data-value="
|
|
461
|
+
<td data-value="8.18" class="pct low">8.18%</td>
|
|
462
|
+
<td data-value="171" class="abs low">14/171</td>
|
|
463
|
+
<td data-value="1.48" class="pct low">1.48%</td>
|
|
464
|
+
<td data-value="135" class="abs low">2/135</td>
|
|
465
|
+
<td data-value="3.7" class="pct low">3.7%</td>
|
|
466
|
+
<td data-value="54" class="abs low">2/54</td>
|
|
467
|
+
<td data-value="8.69" class="pct low">8.69%</td>
|
|
468
|
+
<td data-value="161" class="abs low">14/161</td>
|
|
394
469
|
</tr>
|
|
395
470
|
|
|
396
471
|
</tbody>
|
|
@@ -401,7 +476,7 @@
|
|
|
401
476
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
402
477
|
Code coverage generated by
|
|
403
478
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
404
|
-
at
|
|
479
|
+
at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
|
|
405
480
|
</div>
|
|
406
481
|
<script src="prettify.js"></script>
|
|
407
482
|
<script>
|
|
@@ -178,7 +178,7 @@ export default function <span class="fstat-no" title="function not covered" >bui
|
|
|
178
178
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
179
179
|
Code coverage generated by
|
|
180
180
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
181
|
-
at
|
|
181
|
+
at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
|
|
182
182
|
</div>
|
|
183
183
|
<script src="../prettify.js"></script>
|
|
184
184
|
<script>
|
|
@@ -94,7 +94,7 @@ export default generateKiwtQuery;
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
97
|
-
at
|
|
97
|
+
at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
|
|
98
98
|
</div>
|
|
99
99
|
<script src="../prettify.js"></script>
|
|
100
100
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">1.
|
|
26
|
+
<span class="strong">1.58% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>1/
|
|
28
|
+
<span class='fraction'>1/63</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/51</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/13</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">1.
|
|
47
|
+
<span class="strong">1.75% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>1/
|
|
49
|
+
<span class='fraction'>1/57</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -186,7 +186,16 @@
|
|
|
186
186
|
<a name='L121'></a><a href='#L121'>121</a>
|
|
187
187
|
<a name='L122'></a><a href='#L122'>122</a>
|
|
188
188
|
<a name='L123'></a><a href='#L123'>123</a>
|
|
189
|
-
<a name='L124'></a><a href='#L124'>124</a
|
|
189
|
+
<a name='L124'></a><a href='#L124'>124</a>
|
|
190
|
+
<a name='L125'></a><a href='#L125'>125</a>
|
|
191
|
+
<a name='L126'></a><a href='#L126'>126</a>
|
|
192
|
+
<a name='L127'></a><a href='#L127'>127</a>
|
|
193
|
+
<a name='L128'></a><a href='#L128'>128</a>
|
|
194
|
+
<a name='L129'></a><a href='#L129'>129</a>
|
|
195
|
+
<a name='L130'></a><a href='#L130'>130</a>
|
|
196
|
+
<a name='L131'></a><a href='#L131'>131</a>
|
|
197
|
+
<a name='L132'></a><a href='#L132'>132</a>
|
|
198
|
+
<a name='L133'></a><a href='#L133'>133</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
190
199
|
<span class="cline-any cline-no"> </span>
|
|
191
200
|
<span class="cline-any cline-neutral"> </span>
|
|
192
201
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -218,6 +227,7 @@
|
|
|
218
227
|
<span class="cline-any cline-neutral"> </span>
|
|
219
228
|
<span class="cline-any cline-neutral"> </span>
|
|
220
229
|
<span class="cline-any cline-neutral"> </span>
|
|
230
|
+
<span class="cline-any cline-neutral"> </span>
|
|
221
231
|
<span class="cline-any cline-no"> </span>
|
|
222
232
|
<span class="cline-any cline-neutral"> </span>
|
|
223
233
|
<span class="cline-any cline-no"> </span>
|
|
@@ -263,8 +273,16 @@
|
|
|
263
273
|
<span class="cline-any cline-neutral"> </span>
|
|
264
274
|
<span class="cline-any cline-no"> </span>
|
|
265
275
|
<span class="cline-any cline-no"> </span>
|
|
276
|
+
<span class="cline-any cline-no"> </span>
|
|
277
|
+
<span class="cline-any cline-no"> </span>
|
|
278
|
+
<span class="cline-any cline-neutral"> </span>
|
|
279
|
+
<span class="cline-any cline-no"> </span>
|
|
280
|
+
<span class="cline-any cline-no"> </span>
|
|
281
|
+
<span class="cline-any cline-no"> </span>
|
|
282
|
+
<span class="cline-any cline-neutral"> </span>
|
|
266
283
|
<span class="cline-any cline-neutral"> </span>
|
|
267
284
|
<span class="cline-any cline-no"> </span>
|
|
285
|
+
<span class="cline-any cline-no"> </span>
|
|
268
286
|
<span class="cline-any cline-neutral"> </span>
|
|
269
287
|
<span class="cline-any cline-no"> </span>
|
|
270
288
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -313,6 +331,7 @@
|
|
|
313
331
|
const { qindex, query, filters, sort } = <span class="cstat-no" title="statement not covered" >nsValues;</span>
|
|
314
332
|
const {
|
|
315
333
|
searchKey = <span class="branch-0 cbranch-no" title="branch not covered" >'',</span>
|
|
334
|
+
filterConfig = <span class="branch-0 cbranch-no" title="branch not covered" >[],</span>
|
|
316
335
|
/* Assumtion made that if no filterKey is provided then the given filterValues for that key are standalaone, ie require no comparator or key */
|
|
317
336
|
filterKeys = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
318
337
|
sortKeys = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
@@ -385,9 +404,17 @@
|
|
|
385
404
|
|
|
386
405
|
// We now have a filterMap of shape { status: ['active', 'cancelled'], type: ['local'] }
|
|
387
406
|
<span class="cstat-no" title="statement not covered" > Object.entries(filterMap).forEach(<span class="fstat-no" title="function not covered" >([</span>filterName, filterValues]) => {</span>
|
|
407
|
+
const filterConfigEntry = <span class="cstat-no" title="statement not covered" >filterConfig.find(<span class="fstat-no" title="function not covered" >co</span>nf => <span class="cstat-no" title="statement not covered" >conf.name === filterName)</span>;</span>
|
|
388
408
|
const filterKey = <span class="cstat-no" title="statement not covered" >filterKeys[filterName];</span>
|
|
409
|
+
<span class="cstat-no" title="statement not covered" > if (filterConfigEntry) {</span>
|
|
410
|
+
// We have a direct mapping instruction, use it
|
|
411
|
+
const filterString = <span class="cstat-no" title="statement not covered" >filterValues.map(<span class="fstat-no" title="function not covered" >v </span>=> {</span>
|
|
412
|
+
const fceValue = <span class="cstat-no" title="statement not covered" >filterConfigEntry?.values?.find(<span class="fstat-no" title="function not covered" >fc</span>e => <span class="cstat-no" title="statement not covered" >fce.name === v)</span>?.value;</span>
|
|
413
|
+
<span class="cstat-no" title="statement not covered" > return `${filterName}==${fceValue ?? v}`;</span>
|
|
414
|
+
}).join('||');
|
|
389
415
|
|
|
390
|
-
<span class="cstat-no" title="statement not covered" >
|
|
416
|
+
<span class="cstat-no" title="statement not covered" > paramsArray.push(`filters=${filterString}`);</span>
|
|
417
|
+
} else <span class="cstat-no" title="statement not covered" >if (!filterKey) {</span>
|
|
391
418
|
// These filters have no key mapping so we just pass the values to the backend as-is.
|
|
392
419
|
<span class="cstat-no" title="statement not covered" > paramsArray.push(...filterValues?.map(<span class="fstat-no" title="function not covered" >f </span>=> <span class="cstat-no" title="statement not covered" >`filters=${f}`)</span>);</span>
|
|
393
420
|
} else {
|
|
@@ -439,7 +466,7 @@ export default generateKiwtQueryParams;
|
|
|
439
466
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
440
467
|
Code coverage generated by
|
|
441
468
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
442
|
-
at
|
|
469
|
+
at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
|
|
443
470
|
</div>
|
|
444
471
|
<script src="../prettify.js"></script>
|
|
445
472
|
<script>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for utils/groupCustomPropertiesByCtx.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">utils</a> groupCustomPropertiesByCtx.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">16.66% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>1/6</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/5</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/2</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">16.66% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>1/6</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 low'></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></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
80
|
+
<span class="cline-any cline-no"> </span>
|
|
81
|
+
<span class="cline-any cline-no"> </span>
|
|
82
|
+
<span class="cline-any cline-no"> </span>
|
|
83
|
+
<span class="cline-any cline-neutral"> </span>
|
|
84
|
+
<span class="cline-any cline-neutral"> </span>
|
|
85
|
+
<span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-no"> </span>
|
|
87
|
+
<span class="cline-any cline-no"> </span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span>
|
|
89
|
+
<span class="cline-any cline-neutral"> </span>
|
|
90
|
+
<span class="cline-any cline-neutral"> </span>
|
|
91
|
+
<span class="cline-any cline-neutral"> </span>
|
|
92
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const groupCustomPropertiesByCtx = <span class="fstat-no" title="function not covered" >(c</span>ustomProperties = <span class="branch-0 cbranch-no" title="branch not covered" >[])</span> => (
|
|
93
|
+
<span class="cstat-no" title="statement not covered" > customProperties.reduce(<span class="fstat-no" title="function not covered" >(a</span>cc, curr) => {</span>
|
|
94
|
+
const ctx = <span class="cstat-no" title="statement not covered" >curr.ctx ?? 'isNull';</span>
|
|
95
|
+
const returnObj = <span class="cstat-no" title="statement not covered" >{</span>
|
|
96
|
+
...acc
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
<span class="cstat-no" title="statement not covered" > returnObj[ctx] = [...(acc?.[ctx] ?? []), curr];</span>
|
|
100
|
+
<span class="cstat-no" title="statement not covered" > return returnObj;</span>
|
|
101
|
+
}, {})
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
export default groupCustomPropertiesByCtx;
|
|
105
|
+
</pre></td></tr></table></pre>
|
|
106
|
+
|
|
107
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
108
|
+
</div><!-- /wrapper -->
|
|
109
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
110
|
+
Code coverage generated by
|
|
111
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
112
|
+
at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
|
|
113
|
+
</div>
|
|
114
|
+
<script src="../prettify.js"></script>
|
|
115
|
+
<script>
|
|
116
|
+
window.onload = function () {
|
|
117
|
+
prettyPrint();
|
|
118
|
+
};
|
|
119
|
+
</script>
|
|
120
|
+
<script src="../sorter.js"></script>
|
|
121
|
+
<script src="../block-navigation.js"></script>
|
|
122
|
+
</body>
|
|
123
|
+
</html>
|
|
124
|
+
|