@k-int/stripes-kint-components 2.8.1 → 2.8.3
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 +6 -0
- package/es/index.js +6 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +5 -3
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +3 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +3 -1
- package/es/lib/utils/index.js +8 -0
- package/es/lib/utils/parseErrorResponse.js +91 -0
- package/junit.xml +157 -656
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +56 -8
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +394 -64
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +10 -10
- 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 +187 -52
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +372 -87
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +293 -74
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +126 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +45 -60
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +23 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +59 -47
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +259 -97
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +399 -105
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +41 -68
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +57 -57
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +67 -688
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +92 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +103 -64
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +54 -63
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +49 -16
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +69 -18
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +89 -89
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +33 -786
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +46 -46
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +45 -36
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +43 -28
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +20 -2
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +50 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +54 -75
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +24 -24
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/{hooks/useAvailableCustomProperties.js.html → CycleButton/CycleButton.js.html} +62 -50
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +664 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +264 -39
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +41 -14
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +45 -6
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +47 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +65 -14
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +154 -31
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +18 -18
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +35 -17
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +247 -0
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/CustomPropertiesView.js.html → IconSelect/IconSelect.js.html} +158 -257
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +48 -6
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
- 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/{CustomProperties/Config/testResources.js.html → RichSelect/RichSelect.js.html} +256 -334
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +127 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +52 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +31 -4
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
- 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 +24 -27
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +47 -17
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
- 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/favicon.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +142 -97
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +13 -4
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +35 -20
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +61 -22
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
- 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 +1 -1
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +19 -22
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +151 -0
- package/src/artifacts/coverage-jest/lcov-report/{utils/renderHelpText.js.html → hooks/useIntlKeyStore.js.html} +71 -38
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +238 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +23 -11
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +274 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +19 -10
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +205 -130
- package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +34 -34
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +42 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +139 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +128 -80
- package/src/artifacts/coverage-jest/lcov.info +2603 -2086
- package/src/index.js +1 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +4 -2
- package/src/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +2 -1
- package/src/lib/EditableRefdataList/EditableRefdataList.js +2 -1
- package/src/lib/utils/index.js +3 -0
- package/src/lib/utils/parseErrorResponse.js +18 -0
|
@@ -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">80.95% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>17/21</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">50% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>9/18</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>6/6</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">80% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>16/20</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -180,8 +180,10 @@
|
|
|
180
180
|
<a name='L115'></a><a href='#L115'>115</a>
|
|
181
181
|
<a name='L116'></a><a href='#L116'>116</a>
|
|
182
182
|
<a name='L117'></a><a href='#L117'>117</a>
|
|
183
|
-
<a name='L118'></a><a href='#L118'>118</a
|
|
184
|
-
<
|
|
183
|
+
<a name='L118'></a><a href='#L118'>118</a>
|
|
184
|
+
<a name='L119'></a><a href='#L119'>119</a>
|
|
185
|
+
<a name='L120'></a><a href='#L120'>120</a>
|
|
186
|
+
<a name='L121'></a><a href='#L121'>121</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
185
187
|
<span class="cline-any cline-neutral"> </span>
|
|
186
188
|
<span class="cline-any cline-neutral"> </span>
|
|
187
189
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -196,18 +198,19 @@
|
|
|
196
198
|
<span class="cline-any cline-neutral"> </span>
|
|
197
199
|
<span class="cline-any cline-neutral"> </span>
|
|
198
200
|
<span class="cline-any cline-neutral"> </span>
|
|
201
|
+
<span class="cline-any cline-neutral"> </span>
|
|
199
202
|
<span class="cline-any cline-yes">1x</span>
|
|
200
203
|
<span class="cline-any cline-neutral"> </span>
|
|
201
|
-
<span class="cline-any cline-no"> </span>
|
|
202
|
-
<span class="cline-any cline-no"> </span>
|
|
203
204
|
<span class="cline-any cline-neutral"> </span>
|
|
205
|
+
<span class="cline-any cline-yes">1x</span>
|
|
206
|
+
<span class="cline-any cline-neutral"> </span>
|
|
207
|
+
<span class="cline-any cline-yes">1x</span>
|
|
208
|
+
<span class="cline-any cline-yes">1x</span>
|
|
204
209
|
<span class="cline-any cline-neutral"> </span>
|
|
205
210
|
<span class="cline-any cline-neutral"> </span>
|
|
206
211
|
<span class="cline-any cline-neutral"> </span>
|
|
207
212
|
<span class="cline-any cline-neutral"> </span>
|
|
208
213
|
<span class="cline-any cline-neutral"> </span>
|
|
209
|
-
<span class="cline-any cline-no"> </span>
|
|
210
|
-
<span class="cline-any cline-no"> </span>
|
|
211
214
|
<span class="cline-any cline-neutral"> </span>
|
|
212
215
|
<span class="cline-any cline-neutral"> </span>
|
|
213
216
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -216,9 +219,9 @@
|
|
|
216
219
|
<span class="cline-any cline-neutral"> </span>
|
|
217
220
|
<span class="cline-any cline-neutral"> </span>
|
|
218
221
|
<span class="cline-any cline-neutral"> </span>
|
|
222
|
+
<span class="cline-any cline-no"> </span>
|
|
219
223
|
<span class="cline-any cline-neutral"> </span>
|
|
220
224
|
<span class="cline-any cline-neutral"> </span>
|
|
221
|
-
<span class="cline-any cline-no"> </span>
|
|
222
225
|
<span class="cline-any cline-neutral"> </span>
|
|
223
226
|
<span class="cline-any cline-neutral"> </span>
|
|
224
227
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -237,6 +240,7 @@
|
|
|
237
240
|
<span class="cline-any cline-neutral"> </span>
|
|
238
241
|
<span class="cline-any cline-neutral"> </span>
|
|
239
242
|
<span class="cline-any cline-neutral"> </span>
|
|
243
|
+
<span class="cline-any cline-neutral"> </span>
|
|
240
244
|
<span class="cline-any cline-yes">1x</span>
|
|
241
245
|
<span class="cline-any cline-no"> </span>
|
|
242
246
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -261,7 +265,7 @@
|
|
|
261
265
|
<span class="cline-any cline-neutral"> </span>
|
|
262
266
|
<span class="cline-any cline-neutral"> </span>
|
|
263
267
|
<span class="cline-any cline-neutral"> </span>
|
|
264
|
-
<span class="cline-any cline-yes">
|
|
268
|
+
<span class="cline-any cline-yes">12x</span>
|
|
265
269
|
<span class="cline-any cline-yes">1x</span>
|
|
266
270
|
<span class="cline-any cline-yes">1x</span>
|
|
267
271
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -275,7 +279,7 @@
|
|
|
275
279
|
<span class="cline-any cline-neutral"> </span>
|
|
276
280
|
<span class="cline-any cline-neutral"> </span>
|
|
277
281
|
<span class="cline-any cline-neutral"> </span>
|
|
278
|
-
<span class="cline-any cline-
|
|
282
|
+
<span class="cline-any cline-yes">12x</span>
|
|
279
283
|
<span class="cline-any cline-neutral"> </span>
|
|
280
284
|
<span class="cline-any cline-neutral"> </span>
|
|
281
285
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -297,11 +301,12 @@
|
|
|
297
301
|
<span class="cline-any cline-neutral"> </span>
|
|
298
302
|
<span class="cline-any cline-neutral"> </span>
|
|
299
303
|
<span class="cline-any cline-neutral"> </span>
|
|
304
|
+
<span class="cline-any cline-neutral"> </span>
|
|
305
|
+
<span class="cline-any cline-neutral"> </span>
|
|
300
306
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
301
|
-
import { FormattedMessage } from 'react-intl';
|
|
302
307
|
import { Accordion, Badge, Spinner } from '@folio/stripes/components';
|
|
303
308
|
|
|
304
|
-
import { useCustomProperties } from '../../hooks';
|
|
309
|
+
import { useCustomProperties, useKintIntl } from '../../hooks';
|
|
305
310
|
|
|
306
311
|
import CustomPropertyCard from './CustomPropertyCard';
|
|
307
312
|
|
|
@@ -310,15 +315,21 @@ const CustomPropertiesViewCtx = ({
|
|
|
310
315
|
customProperties = <span class="branch-0 cbranch-no" title="branch not covered" >[],</span>
|
|
311
316
|
customPropertiesEndpoint,
|
|
312
317
|
id,
|
|
313
|
-
|
|
318
|
+
intlKey: passedIntlKey,
|
|
319
|
+
intlNS: passedIntlNS,
|
|
320
|
+
labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{}</span>
|
|
314
321
|
}) => {
|
|
322
|
+
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
|
|
323
|
+
|
|
315
324
|
// Deal with all the possible label override options
|
|
316
|
-
const getAccordionLabel =
|
|
325
|
+
const getAccordionLabel = () => {
|
|
317
326
|
// Special case for null context
|
|
318
|
-
<span class="
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
327
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (ctx === 'isNull') {
|
|
328
|
+
return (
|
|
329
|
+
kintIntl.formatKintMessage({
|
|
330
|
+
id: 'customProperties',
|
|
331
|
+
overrideValue: labelOverrides.noContext
|
|
332
|
+
})
|
|
322
333
|
);
|
|
323
334
|
}
|
|
324
335
|
|
|
@@ -326,18 +337,13 @@ const CustomPropertiesViewCtx = ({
|
|
|
326
337
|
<span class="cstat-no" title="statement not covered" > if (labelOverrides[ctx]) {</span>
|
|
327
338
|
<span class="cstat-no" title="statement not covered" > return labelOverrides[ctx];</span>
|
|
328
339
|
}
|
|
329
|
-
|
|
330
|
-
// Label override for default title, taking ctx into account
|
|
331
|
-
<span class="cstat-no" title="statement not covered" > if (labelOverrides.defaultTitle && typeof labelOverrides.defaultTitle === 'function') {</span>
|
|
332
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
333
|
-
labelOverrides.defaultTitle(ctx)
|
|
334
|
-
);
|
|
335
|
-
}
|
|
336
340
|
|
|
337
341
|
// Label override for default title or finally built in default
|
|
338
342
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
339
|
-
|
|
340
|
-
|
|
343
|
+
kintIntl.formatKintMessage({
|
|
344
|
+
id: 'customProperties.defaultTitle',
|
|
345
|
+
overrideValue: labelOverrides.defaultTitle
|
|
346
|
+
}, { ctx })
|
|
341
347
|
);
|
|
342
348
|
};
|
|
343
349
|
|
|
@@ -349,7 +355,8 @@ const CustomPropertiesViewCtx = ({
|
|
|
349
355
|
sort: [
|
|
350
356
|
{ path: 'retired' }, // Place retired custprops at the end
|
|
351
357
|
{ path: 'primary', direction: 'desc' }, // Primary properties should display before optional
|
|
352
|
-
{ path: '
|
|
358
|
+
{ path: 'weight' }, // Within those groups, sort by weight
|
|
359
|
+
{ path: 'label' } // For those with the same weight, sort by label
|
|
353
360
|
]
|
|
354
361
|
}
|
|
355
362
|
});
|
|
@@ -378,21 +385,21 @@ const CustomPropertiesViewCtx = ({
|
|
|
378
385
|
);
|
|
379
386
|
|
|
380
387
|
// We need to display any set properties, along with any non-set primary properties
|
|
381
|
-
const primaryCount = custprops?.filter(
|
|
388
|
+
const primaryCount = custprops?.filter(cp => cp.primary === true)?.length ?? <span class="branch-1 cbranch-no" title="branch not covered" >0;</span>
|
|
382
389
|
const optionalCount = countSetProperties(false);
|
|
383
390
|
const setPrimaryCount = countSetProperties(true);
|
|
384
391
|
|
|
385
392
|
return (
|
|
386
393
|
(primaryCount + optionalCount) > 0 &&
|
|
387
|
-
|
|
394
|
+
<Accordion
|
|
388
395
|
closedByDefault
|
|
389
396
|
displayWhenClosed={<Badge>{setPrimaryCount + optionalCount}</Badge>}
|
|
390
397
|
displayWhenOpen={<Badge>{setPrimaryCount + optionalCount}</Badge>}
|
|
391
398
|
id={`${id}-accordion-${ctx}`}
|
|
392
399
|
label={getAccordionLabel()}
|
|
393
400
|
>
|
|
394
|
-
{custprops.map(
|
|
395
|
-
|
|
401
|
+
{custprops.map((cp, index) => (
|
|
402
|
+
<CustomPropertyCard
|
|
396
403
|
key={`custom-property-card-${ctx}[${index}]`}
|
|
397
404
|
ctx={ctx}
|
|
398
405
|
customProperty={customProperties?.[cp.name]?.[0]}
|
|
@@ -410,6 +417,8 @@ CustomPropertiesViewCtx.propTypes = {
|
|
|
410
417
|
customProperties: PropTypes.object,
|
|
411
418
|
customPropertiesEndpoint: PropTypes.string,
|
|
412
419
|
id: PropTypes.string,
|
|
420
|
+
intlKey: PropTypes.string,
|
|
421
|
+
intlNS: PropTypes.string,
|
|
413
422
|
labelOverrides: PropTypes.object,
|
|
414
423
|
};
|
|
415
424
|
|
|
@@ -421,7 +430,7 @@ export default CustomPropertiesViewCtx;
|
|
|
421
430
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
422
431
|
Code coverage generated by
|
|
423
432
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
424
|
-
at
|
|
433
|
+
at 2022-09-16T13:23:25.290Z
|
|
425
434
|
</div>
|
|
426
435
|
<script src="../../prettify.js"></script>
|
|
427
436
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html
CHANGED
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/18</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/32</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/3</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/18</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -241,14 +241,8 @@
|
|
|
241
241
|
<a name='L176'></a><a href='#L176'>176</a>
|
|
242
242
|
<a name='L177'></a><a href='#L177'>177</a>
|
|
243
243
|
<a name='L178'></a><a href='#L178'>178</a>
|
|
244
|
-
<a name='L179'></a><a href='#L179'>179</a>
|
|
245
|
-
<
|
|
246
|
-
<a name='L181'></a><a href='#L181'>181</a>
|
|
247
|
-
<a name='L182'></a><a href='#L182'>182</a>
|
|
248
|
-
<a name='L183'></a><a href='#L183'>183</a>
|
|
249
|
-
<a name='L184'></a><a href='#L184'>184</a>
|
|
250
|
-
<a name='L185'></a><a href='#L185'>185</a>
|
|
251
|
-
<a name='L186'></a><a href='#L186'>186</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
244
|
+
<a name='L179'></a><a href='#L179'>179</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
245
|
+
<span class="cline-any cline-neutral"> </span>
|
|
252
246
|
<span class="cline-any cline-neutral"> </span>
|
|
253
247
|
<span class="cline-any cline-neutral"> </span>
|
|
254
248
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -272,18 +266,20 @@
|
|
|
272
266
|
<span class="cline-any cline-neutral"> </span>
|
|
273
267
|
<span class="cline-any cline-neutral"> </span>
|
|
274
268
|
<span class="cline-any cline-neutral"> </span>
|
|
275
|
-
<span class="cline-any cline-no"> </span>
|
|
276
269
|
<span class="cline-any cline-neutral"> </span>
|
|
277
270
|
<span class="cline-any cline-no"> </span>
|
|
278
|
-
<span class="cline-any cline-no"> </span>
|
|
279
271
|
<span class="cline-any cline-neutral"> </span>
|
|
280
272
|
<span class="cline-any cline-neutral"> </span>
|
|
281
273
|
<span class="cline-any cline-no"> </span>
|
|
282
274
|
<span class="cline-any cline-neutral"> </span>
|
|
275
|
+
<span class="cline-any cline-no"> </span>
|
|
276
|
+
<span class="cline-any cline-no"> </span>
|
|
283
277
|
<span class="cline-any cline-neutral"> </span>
|
|
284
278
|
<span class="cline-any cline-neutral"> </span>
|
|
285
279
|
<span class="cline-any cline-no"> </span>
|
|
286
280
|
<span class="cline-any cline-neutral"> </span>
|
|
281
|
+
<span class="cline-any cline-neutral"> </span>
|
|
282
|
+
<span class="cline-any cline-no"> </span>
|
|
287
283
|
<span class="cline-any cline-no"> </span>
|
|
288
284
|
<span class="cline-any cline-no"> </span>
|
|
289
285
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -291,16 +287,13 @@
|
|
|
291
287
|
<span class="cline-any cline-neutral"> </span>
|
|
292
288
|
<span class="cline-any cline-neutral"> </span>
|
|
293
289
|
<span class="cline-any cline-neutral"> </span>
|
|
294
|
-
<span class="cline-any cline-no"> </span>
|
|
295
|
-
<span class="cline-any cline-neutral"> </span>
|
|
296
|
-
<span class="cline-any cline-neutral"> </span>
|
|
297
|
-
<span class="cline-any cline-neutral"> </span>
|
|
298
290
|
<span class="cline-any cline-neutral"> </span>
|
|
299
291
|
<span class="cline-any cline-neutral"> </span>
|
|
300
292
|
<span class="cline-any cline-no"> </span>
|
|
301
|
-
<span class="cline-any cline-
|
|
293
|
+
<span class="cline-any cline-neutral"> </span>
|
|
302
294
|
<span class="cline-any cline-no"> </span>
|
|
303
295
|
<span class="cline-any cline-neutral"> </span>
|
|
296
|
+
<span class="cline-any cline-no"> </span>
|
|
304
297
|
<span class="cline-any cline-neutral"> </span>
|
|
305
298
|
<span class="cline-any cline-neutral"> </span>
|
|
306
299
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -308,39 +301,30 @@
|
|
|
308
301
|
<span class="cline-any cline-no"> </span>
|
|
309
302
|
<span class="cline-any cline-neutral"> </span>
|
|
310
303
|
<span class="cline-any cline-neutral"> </span>
|
|
311
|
-
<span class="cline-any cline-neutral"> </span>
|
|
312
|
-
<span class="cline-any cline-neutral"> </span>
|
|
313
|
-
<span class="cline-any cline-neutral"> </span>
|
|
314
|
-
<span class="cline-any cline-no"> </span>
|
|
315
304
|
<span class="cline-any cline-no"> </span>
|
|
305
|
+
<span class="cline-any cline-neutral"> </span>
|
|
316
306
|
<span class="cline-any cline-no"> </span>
|
|
317
307
|
<span class="cline-any cline-neutral"> </span>
|
|
318
308
|
<span class="cline-any cline-neutral"> </span>
|
|
309
|
+
<span class="cline-any cline-no"> </span>
|
|
319
310
|
<span class="cline-any cline-neutral"> </span>
|
|
320
311
|
<span class="cline-any cline-neutral"> </span>
|
|
321
312
|
<span class="cline-any cline-neutral"> </span>
|
|
322
313
|
<span class="cline-any cline-no"> </span>
|
|
323
314
|
<span class="cline-any cline-neutral"> </span>
|
|
324
|
-
<span class="cline-any cline-no"> </span>
|
|
325
315
|
<span class="cline-any cline-neutral"> </span>
|
|
326
|
-
<span class="cline-any cline-no"> </span>
|
|
327
316
|
<span class="cline-any cline-neutral"> </span>
|
|
328
317
|
<span class="cline-any cline-neutral"> </span>
|
|
329
318
|
<span class="cline-any cline-neutral"> </span>
|
|
330
319
|
<span class="cline-any cline-neutral"> </span>
|
|
331
|
-
<span class="cline-any cline-no"> </span>
|
|
332
320
|
<span class="cline-any cline-neutral"> </span>
|
|
333
321
|
<span class="cline-any cline-neutral"> </span>
|
|
334
|
-
<span class="cline-any cline-no"> </span>
|
|
335
322
|
<span class="cline-any cline-neutral"> </span>
|
|
336
|
-
<span class="cline-any cline-no"> </span>
|
|
337
323
|
<span class="cline-any cline-neutral"> </span>
|
|
338
324
|
<span class="cline-any cline-neutral"> </span>
|
|
339
|
-
<span class="cline-any cline-no"> </span>
|
|
340
325
|
<span class="cline-any cline-neutral"> </span>
|
|
341
326
|
<span class="cline-any cline-neutral"> </span>
|
|
342
327
|
<span class="cline-any cline-neutral"> </span>
|
|
343
|
-
<span class="cline-any cline-no"> </span>
|
|
344
328
|
<span class="cline-any cline-neutral"> </span>
|
|
345
329
|
<span class="cline-any cline-neutral"> </span>
|
|
346
330
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -433,8 +417,10 @@
|
|
|
433
417
|
<span class="cline-any cline-neutral"> </span>
|
|
434
418
|
<span class="cline-any cline-neutral"> </span>
|
|
435
419
|
<span class="cline-any cline-neutral"> </span>
|
|
420
|
+
<span class="cline-any cline-neutral"> </span>
|
|
421
|
+
<span class="cline-any cline-neutral"> </span>
|
|
436
422
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
437
|
-
import {
|
|
423
|
+
import { FormattedNumber } from 'react-intl';
|
|
438
424
|
|
|
439
425
|
import {
|
|
440
426
|
Card,
|
|
@@ -448,14 +434,19 @@ import {
|
|
|
448
434
|
} from '@folio/stripes/components';
|
|
449
435
|
|
|
450
436
|
import * as CUSTPROP_TYPES from '../../constants/customProperties';
|
|
437
|
+
import { useKintIntl } from '../../hooks';
|
|
451
438
|
|
|
452
439
|
const CustomPropertyCard = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
|
|
453
440
|
ctx,
|
|
454
441
|
customProperty,
|
|
455
442
|
customPropertyDefinition = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
456
443
|
index,
|
|
457
|
-
|
|
444
|
+
intlKey: passedIntlKey,
|
|
445
|
+
intlNS: passedIntlNS,
|
|
446
|
+
labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{}</span>
|
|
458
447
|
}) => {
|
|
448
|
+
const kintIntl = <span class="cstat-no" title="statement not covered" >useKintIntl(passedIntlKey, passedIntlNS);</span>
|
|
449
|
+
|
|
459
450
|
// We only need to display primary and set properties
|
|
460
451
|
const toDisplay = <span class="cstat-no" title="statement not covered" >!!(customPropertyDefinition.primary || customProperty);</span>
|
|
461
452
|
|
|
@@ -465,42 +456,14 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
465
456
|
|
|
466
457
|
const internalFalse = <span class="cstat-no" title="statement not covered" >customProperty?.internal === false ||</span>
|
|
467
458
|
(customProperty?.internal === undefined && customPropertyDefinition.defaultInternal === false);
|
|
468
|
-
|
|
469
|
-
// Deal with all the possible label override options
|
|
470
|
-
const getRetiredCardTitle = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
471
|
-
// Label override for default card title,
|
|
472
|
-
<span class="cstat-no" title="statement not covered" > if (labelOverrides.retiredName && typeof labelOverrides.retiredName === 'function') {</span>
|
|
473
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
474
|
-
labelOverrides.retiredName(customPropertyDefinition.name)
|
|
475
|
-
);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
// Label override for default title or finally built in default
|
|
479
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
480
|
-
labelOverrides.retiredName ??
|
|
481
|
-
<FormattedMessage id="stripes-kint-components.customProperty.retiredName" values={{ name: customPropertyDefinition.label }} />
|
|
482
|
-
);
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
const getInternalLabel = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
486
|
-
<span class="cstat-no" title="statement not covered" > if (internalFalse) {</span>
|
|
487
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
488
|
-
labelOverrides.internalFalse ??
|
|
489
|
-
<FormattedMessage id="stripes-kint-components.customProperty.internalFalse" />
|
|
490
|
-
);
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
494
|
-
labelOverrides.internalTrue ??
|
|
495
|
-
<FormattedMessage id="stripes-kint-components.customProperty.internalTrue" />
|
|
496
|
-
);
|
|
497
|
-
};
|
|
498
459
|
|
|
499
460
|
const renderValue = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
500
461
|
<span class="cstat-no" title="statement not covered" > if (!customProperty) {</span>
|
|
501
462
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
502
|
-
|
|
503
|
-
|
|
463
|
+
kintIntl.formatKintMessage({
|
|
464
|
+
id: 'notSet',
|
|
465
|
+
overrideValue: labelOverrides.notSet
|
|
466
|
+
})
|
|
504
467
|
);
|
|
505
468
|
}
|
|
506
469
|
|
|
@@ -532,7 +495,10 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
532
495
|
<>
|
|
533
496
|
<strong>
|
|
534
497
|
{customPropertyDefinition.retired ?
|
|
535
|
-
|
|
498
|
+
(kintIntl.formatKintMessage({
|
|
499
|
+
id: 'customProperty.retiredName',
|
|
500
|
+
overrideValue: labelOverrides.retiredName
|
|
501
|
+
}, { name: customPropertyDefinition.label })) :
|
|
536
502
|
customPropertyDefinition.label
|
|
537
503
|
}
|
|
538
504
|
</strong>
|
|
@@ -549,8 +515,10 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
549
515
|
<Col xs={6}>
|
|
550
516
|
<KeyValue
|
|
551
517
|
label={
|
|
552
|
-
|
|
553
|
-
|
|
518
|
+
kintIntl.formatKintMessage({
|
|
519
|
+
id: 'valueOrValues',
|
|
520
|
+
overrideValue: labelOverrides.valueOrValues
|
|
521
|
+
})
|
|
554
522
|
}
|
|
555
523
|
>
|
|
556
524
|
{renderValue()}
|
|
@@ -560,8 +528,10 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
560
528
|
<Col xs={6}>
|
|
561
529
|
<KeyValue
|
|
562
530
|
label={
|
|
563
|
-
|
|
564
|
-
|
|
531
|
+
kintIntl.formatKintMessage({
|
|
532
|
+
id: 'customProperties.internalNote',
|
|
533
|
+
overrideValue: labelOverrides.internalNote
|
|
534
|
+
})
|
|
565
535
|
}
|
|
566
536
|
>
|
|
567
537
|
<span
|
|
@@ -577,19 +547,26 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
577
547
|
<Col xs={6}>
|
|
578
548
|
<KeyValue
|
|
579
549
|
label={
|
|
580
|
-
|
|
581
|
-
|
|
550
|
+
kintIntl.formatKintMessage({
|
|
551
|
+
id: 'customProperties.visibility',
|
|
552
|
+
overrideValue: labelOverrides.visibility
|
|
553
|
+
})
|
|
582
554
|
}
|
|
583
555
|
>
|
|
584
|
-
{
|
|
556
|
+
{kintIntl.formatKintMessage({
|
|
557
|
+
id: 'customProperties.internalFalse',
|
|
558
|
+
overrideValue: labelOverrides.internalFalse
|
|
559
|
+
})}
|
|
585
560
|
</KeyValue>
|
|
586
561
|
</Col>
|
|
587
562
|
{internalFalse &&
|
|
588
563
|
<Col xs={6}>
|
|
589
564
|
<KeyValue
|
|
590
565
|
label={
|
|
591
|
-
|
|
592
|
-
|
|
566
|
+
kintIntl.formatKintMessage({
|
|
567
|
+
id: 'customProperties.publicNote',
|
|
568
|
+
overrideValue: labelOverrides.publicNote
|
|
569
|
+
})
|
|
593
570
|
}
|
|
594
571
|
>
|
|
595
572
|
{customProperty?.publicNote ? (
|
|
@@ -614,6 +591,8 @@ const CustomPropertyCard = <span class="cstat-no" title="statement not covered"
|
|
|
614
591
|
customProperty: PropTypes.object,
|
|
615
592
|
customPropertyDefinition: PropTypes.object,
|
|
616
593
|
index: PropTypes.number,
|
|
594
|
+
intlKey: PropTypes.string,
|
|
595
|
+
intlNS: PropTypes.string,
|
|
617
596
|
labelOverrides: PropTypes.object,
|
|
618
597
|
};
|
|
619
598
|
|
|
@@ -625,7 +604,7 @@ export default CustomPropertyCard;
|
|
|
625
604
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
626
605
|
Code coverage generated by
|
|
627
606
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
628
|
-
at
|
|
607
|
+
at 2022-09-16T13:23:25.290Z
|
|
629
608
|
</div>
|
|
630
609
|
<script src="../../prettify.js"></script>
|
|
631
610
|
<script>
|
|
@@ -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">53.19% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>25/47</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">17.3% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>9/52</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">72.72% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>8/11</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">52.17% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>24/46</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
65
|
<div class="pad1">
|
|
66
66
|
<table class="coverage-summary">
|
|
67
67
|
<thead>
|
|
@@ -94,18 +94,18 @@
|
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
|
-
<td class="file
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
97
|
+
<td class="file high" data-value="CustomPropertiesViewCtx.js"><a href="CustomPropertiesViewCtx.js.html">CustomPropertiesViewCtx.js</a></td>
|
|
98
|
+
<td data-value="80.95" class="pic high">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 80%"></div><div class="cover-empty" style="width: 20%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
103
|
-
<td data-value="32" class="pct low">32%</td>
|
|
104
|
-
<td data-value="25" class="abs low">8/25</td>
|
|
101
|
+
<td data-value="80.95" class="pct high">80.95%</td>
|
|
102
|
+
<td data-value="21" class="abs high">17/21</td>
|
|
105
103
|
<td data-value="50" class="pct medium">50%</td>
|
|
106
|
-
<td data-value="
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="
|
|
104
|
+
<td data-value="18" class="abs medium">9/18</td>
|
|
105
|
+
<td data-value="100" class="pct high">100%</td>
|
|
106
|
+
<td data-value="6" class="abs high">6/6</td>
|
|
107
|
+
<td data-value="80" class="pct high">80%</td>
|
|
108
|
+
<td data-value="20" class="abs high">16/20</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
115
115
|
</td>
|
|
116
116
|
<td data-value="0" class="pct low">0%</td>
|
|
117
|
-
<td data-value="
|
|
117
|
+
<td data-value="18" class="abs low">0/18</td>
|
|
118
118
|
<td data-value="0" class="pct low">0%</td>
|
|
119
|
-
<td data-value="
|
|
119
|
+
<td data-value="32" class="abs low">0/32</td>
|
|
120
120
|
<td data-value="0" class="pct low">0%</td>
|
|
121
|
-
<td data-value="
|
|
121
|
+
<td data-value="3" class="abs low">0/3</td>
|
|
122
122
|
<td data-value="0" class="pct low">0%</td>
|
|
123
|
-
<td data-value="
|
|
123
|
+
<td data-value="18" class="abs low">0/18</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
162
|
Code coverage generated by
|
|
163
163
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at
|
|
164
|
+
at 2022-09-16T13:23:25.290Z
|
|
165
165
|
</div>
|
|
166
166
|
<script src="../../prettify.js"></script>
|
|
167
167
|
<script>
|