@k-int/stripes-kint-components 2.8.2 → 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 +3 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +2 -2
- 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/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -1
package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html
CHANGED
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">66.66% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>8/12</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">57.14% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>4/7</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">66.66% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>8/12</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
|
<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>
|
|
@@ -186,17 +186,7 @@
|
|
|
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>
|
|
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-neutral"> </span>
|
|
199
|
-
<span class="cline-any cline-neutral"> </span>
|
|
189
|
+
<a name='L124'></a><a href='#L124'>124</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
200
190
|
<span class="cline-any cline-neutral"> </span>
|
|
201
191
|
<span class="cline-any cline-neutral"> </span>
|
|
202
192
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -222,50 +212,43 @@
|
|
|
222
212
|
<span class="cline-any cline-neutral"> </span>
|
|
223
213
|
<span class="cline-any cline-neutral"> </span>
|
|
224
214
|
<span class="cline-any cline-neutral"> </span>
|
|
225
|
-
<span class="cline-any cline-yes">3x</span>
|
|
226
|
-
<span class="cline-any cline-yes">3x</span>
|
|
227
|
-
<span class="cline-any cline-no"> </span>
|
|
228
|
-
<span class="cline-any cline-no"> </span>
|
|
229
215
|
<span class="cline-any cline-neutral"> </span>
|
|
230
216
|
<span class="cline-any cline-neutral"> </span>
|
|
217
|
+
<span class="cline-any cline-yes">3x</span>
|
|
231
218
|
<span class="cline-any cline-neutral"> </span>
|
|
219
|
+
<span class="cline-any cline-yes">3x</span>
|
|
220
|
+
<span class="cline-any cline-yes">3x</span>
|
|
232
221
|
<span class="cline-any cline-no"> </span>
|
|
233
222
|
<span class="cline-any cline-neutral"> </span>
|
|
234
223
|
<span class="cline-any cline-neutral"> </span>
|
|
235
224
|
<span class="cline-any cline-neutral"> </span>
|
|
236
225
|
<span class="cline-any cline-neutral"> </span>
|
|
237
226
|
<span class="cline-any cline-neutral"> </span>
|
|
238
|
-
<span class="cline-any cline-neutral"> </span>
|
|
239
|
-
<span class="cline-any cline-neutral"> </span>
|
|
240
|
-
<span class="cline-any cline-neutral"> </span>
|
|
241
|
-
<span class="cline-any cline-neutral"> </span>
|
|
242
227
|
<span class="cline-any cline-yes">3x</span>
|
|
243
228
|
<span class="cline-any cline-neutral"> </span>
|
|
244
229
|
<span class="cline-any cline-neutral"> </span>
|
|
245
230
|
<span class="cline-any cline-neutral"> </span>
|
|
246
231
|
<span class="cline-any cline-neutral"> </span>
|
|
247
232
|
<span class="cline-any cline-neutral"> </span>
|
|
233
|
+
<span class="cline-any cline-neutral"> </span>
|
|
248
234
|
<span class="cline-any cline-yes">3x</span>
|
|
249
235
|
<span class="cline-any cline-no"> </span>
|
|
250
|
-
<span class="cline-any cline-no"> </span>
|
|
251
|
-
<span class="cline-any cline-neutral"> </span>
|
|
252
|
-
<span class="cline-any cline-neutral"> </span>
|
|
253
236
|
<span class="cline-any cline-neutral"> </span>
|
|
254
|
-
<span class="cline-any cline-no"> </span>
|
|
255
237
|
<span class="cline-any cline-neutral"> </span>
|
|
256
238
|
<span class="cline-any cline-neutral"> </span>
|
|
257
239
|
<span class="cline-any cline-neutral"> </span>
|
|
258
240
|
<span class="cline-any cline-neutral"> </span>
|
|
241
|
+
<span class="cline-any cline-yes">3x</span>
|
|
259
242
|
<span class="cline-any cline-neutral"> </span>
|
|
260
243
|
<span class="cline-any cline-neutral"> </span>
|
|
261
244
|
<span class="cline-any cline-neutral"> </span>
|
|
262
245
|
<span class="cline-any cline-neutral"> </span>
|
|
263
|
-
<span class="cline-any cline-yes">3x</span>
|
|
264
246
|
<span class="cline-any cline-neutral"> </span>
|
|
265
247
|
<span class="cline-any cline-neutral"> </span>
|
|
266
248
|
<span class="cline-any cline-neutral"> </span>
|
|
267
249
|
<span class="cline-any cline-neutral"> </span>
|
|
268
250
|
<span class="cline-any cline-neutral"> </span>
|
|
251
|
+
<span class="cline-any cline-no"> </span>
|
|
269
252
|
<span class="cline-any cline-neutral"> </span>
|
|
270
253
|
<span class="cline-any cline-neutral"> </span>
|
|
271
254
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -275,7 +258,6 @@
|
|
|
275
258
|
<span class="cline-any cline-neutral"> </span>
|
|
276
259
|
<span class="cline-any cline-neutral"> </span>
|
|
277
260
|
<span class="cline-any cline-neutral"> </span>
|
|
278
|
-
<span class="cline-any cline-no"> </span>
|
|
279
261
|
<span class="cline-any cline-neutral"> </span>
|
|
280
262
|
<span class="cline-any cline-neutral"> </span>
|
|
281
263
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -309,9 +291,9 @@
|
|
|
309
291
|
<span class="cline-any cline-neutral"> </span>
|
|
310
292
|
<span class="cline-any cline-neutral"> </span>
|
|
311
293
|
<span class="cline-any cline-neutral"> </span>
|
|
294
|
+
<span class="cline-any cline-yes">1x</span>
|
|
312
295
|
<span class="cline-any cline-neutral"> </span>
|
|
313
296
|
<span class="cline-any cline-neutral"> </span>
|
|
314
|
-
<span class="cline-any cline-yes">1x</span>
|
|
315
297
|
<span class="cline-any cline-neutral"> </span>
|
|
316
298
|
<span class="cline-any cline-neutral"> </span>
|
|
317
299
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -329,8 +311,6 @@
|
|
|
329
311
|
<span class="cline-any cline-neutral"> </span>
|
|
330
312
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
331
313
|
|
|
332
|
-
import { FormattedMessage } from 'react-intl';
|
|
333
|
-
|
|
334
314
|
import {
|
|
335
315
|
Card,
|
|
336
316
|
IconButton,
|
|
@@ -339,6 +319,7 @@ import {
|
|
|
339
319
|
} from '@folio/stripes/components';
|
|
340
320
|
|
|
341
321
|
import CustomPropertyField from './CustomPropertyField';
|
|
322
|
+
import { useKintIntl } from '../../hooks';
|
|
342
323
|
|
|
343
324
|
const CustomPropertyFormCard = ({
|
|
344
325
|
availableCustomProperties,
|
|
@@ -348,49 +329,37 @@ const CustomPropertyFormCard = ({
|
|
|
348
329
|
handleDeleteCustomProperty,
|
|
349
330
|
index,
|
|
350
331
|
internalPropertyCounter,
|
|
351
|
-
|
|
332
|
+
intlKey: passedIntlKey,
|
|
333
|
+
intlNS: passedIntlNS,
|
|
334
|
+
labelOverrides = {},
|
|
352
335
|
name,
|
|
353
336
|
onChange,
|
|
354
337
|
setCustomProperties,
|
|
355
338
|
value
|
|
356
339
|
}) => {
|
|
340
|
+
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
|
|
341
|
+
|
|
357
342
|
const getHeader = () => {
|
|
358
343
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (customPropertyType === 'optional') {
|
|
359
|
-
<span class="cstat-no" title="statement not covered" >
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
// Label override for optionalPropertyHeader or finally built in default
|
|
364
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
365
|
-
labelOverrides.optionalPropertyHeader ??
|
|
366
|
-
<FormattedMessage
|
|
367
|
-
id="stripes-kint-components.customProperty.optionalPropertyHeader"
|
|
368
|
-
values={{ number: internalPropertyCounter }}
|
|
369
|
-
/>
|
|
370
|
-
);
|
|
344
|
+
<span class="cstat-no" title="statement not covered" > return kintIntl.formatKintMessage({</span>
|
|
345
|
+
id: 'customProperty.optionalPropertyHeader',
|
|
346
|
+
overrideValue: labelOverrides.optionalPropertyHeader,
|
|
347
|
+
}, { number: internalPropertyCounter, name: customProperty.value });
|
|
371
348
|
}
|
|
372
349
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
labelOverrides.primaryPropertyHeader
|
|
376
|
-
customProperty.label
|
|
377
|
-
);
|
|
350
|
+
return kintIntl.formatKintMessage({
|
|
351
|
+
id: 'customProperty.primaryPropertyHeader',
|
|
352
|
+
overrideValue: labelOverrides.primaryPropertyHeader,
|
|
353
|
+
fallbackMessage: customProperty.label
|
|
354
|
+
}, { number: internalPropertyCounter, name: customProperty.value });
|
|
378
355
|
};
|
|
379
356
|
|
|
380
|
-
const getTooltipText = <span class="fstat-no" title="function not covered" >()</span> =>
|
|
381
|
-
<span class="cstat-no" title="statement not covered" >
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
387
|
-
labelOverrides.remove ??
|
|
388
|
-
<FormattedMessage
|
|
389
|
-
id="stripes-kint-components.customProperty.remove"
|
|
390
|
-
values={{ number: internalPropertyCounter }}
|
|
391
|
-
/>
|
|
392
|
-
);
|
|
393
|
-
};
|
|
357
|
+
const getTooltipText = <span class="fstat-no" title="function not covered" >()</span> => (
|
|
358
|
+
<span class="cstat-no" title="statement not covered" > kintIntl.formatKintMessage({</span>
|
|
359
|
+
id: 'customProperty.remove',
|
|
360
|
+
overrideValue: labelOverrides.remove
|
|
361
|
+
}, { number: internalPropertyCounter, name: customProperty.value })
|
|
362
|
+
);
|
|
394
363
|
|
|
395
364
|
return (
|
|
396
365
|
<Card
|
|
@@ -432,6 +401,8 @@ const CustomPropertyFormCard = ({
|
|
|
432
401
|
customProperties,
|
|
433
402
|
index,
|
|
434
403
|
internalPropertyCounter,
|
|
404
|
+
intlKey: passedIntlKey,
|
|
405
|
+
intlNS: passedIntlNS,
|
|
435
406
|
labelOverrides,
|
|
436
407
|
name,
|
|
437
408
|
onChange,
|
|
@@ -451,6 +422,8 @@ CustomPropertyFormCard.propTypes = {
|
|
|
451
422
|
handleDeleteCustomProperty: PropTypes.func,
|
|
452
423
|
index: PropTypes.number,
|
|
453
424
|
internalPropertyCounter: PropTypes.number,
|
|
425
|
+
intlKey: PropTypes.string,
|
|
426
|
+
intlNS: PropTypes.string,
|
|
454
427
|
labelOverrides: PropTypes.object,
|
|
455
428
|
name: PropTypes.string,
|
|
456
429
|
onChange: PropTypes.func,
|
|
@@ -466,7 +439,7 @@ export default CustomPropertyFormCard;
|
|
|
466
439
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
467
440
|
Code coverage generated by
|
|
468
441
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
469
|
-
at
|
|
442
|
+
at 2022-09-16T13:23:25.290Z
|
|
470
443
|
</div>
|
|
471
444
|
<script src="../../prettify.js"></script>
|
|
472
445
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">32
|
|
26
|
+
<span class="strong">70.32% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>128/182</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">57.27% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>63/110</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">73.33% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>44/60</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">71.67% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>124/173</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>
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="100" class="pct high">100%</td>
|
|
87
87
|
<td data-value="4" class="abs high">4/4</td>
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="2" class="abs
|
|
88
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
89
|
+
<td data-value="2" class="abs medium">1/2</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
91
|
<td data-value="2" class="abs high">2/2</td>
|
|
92
92
|
<td data-value="100" class="pct high">100%</td>
|
|
@@ -94,63 +94,63 @@
|
|
|
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="CustomPropertiesEditCtx.js"><a href="CustomPropertiesEditCtx.js.html">CustomPropertiesEditCtx.js</a></td>
|
|
98
|
+
<td data-value="81.81" class="pic high">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 81%"></div><div class="cover-empty" style="width: 19%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="2" class="abs
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="
|
|
101
|
+
<td data-value="81.81" class="pct high">81.81%</td>
|
|
102
|
+
<td data-value="11" class="abs high">9/11</td>
|
|
103
|
+
<td data-value="77.77" class="pct medium">77.77%</td>
|
|
104
|
+
<td data-value="9" class="abs medium">7/9</td>
|
|
105
|
+
<td data-value="100" class="pct high">100%</td>
|
|
106
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
107
|
+
<td data-value="81.81" class="pct high">81.81%</td>
|
|
108
|
+
<td data-value="11" class="abs high">9/11</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
112
|
-
<td class="file
|
|
113
|
-
<td data-value="
|
|
114
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
112
|
+
<td class="file high" data-value="CustomPropertiesListField.js"><a href="CustomPropertiesListField.js.html">CustomPropertiesListField.js</a></td>
|
|
113
|
+
<td data-value="83.33" class="pic high">
|
|
114
|
+
<div class="chart"><div class="cover-fill" style="width: 83%"></div><div class="cover-empty" style="width: 17%"></div></div>
|
|
115
115
|
</td>
|
|
116
|
-
<td data-value="
|
|
117
|
-
<td data-value="
|
|
118
|
-
<td data-value="
|
|
119
|
-
<td data-value="
|
|
120
|
-
<td data-value="
|
|
121
|
-
<td data-value="
|
|
122
|
-
<td data-value="
|
|
123
|
-
<td data-value="
|
|
116
|
+
<td data-value="83.33" class="pct high">83.33%</td>
|
|
117
|
+
<td data-value="54" class="abs high">45/54</td>
|
|
118
|
+
<td data-value="68.75" class="pct medium">68.75%</td>
|
|
119
|
+
<td data-value="32" class="abs medium">22/32</td>
|
|
120
|
+
<td data-value="88.88" class="pct high">88.88%</td>
|
|
121
|
+
<td data-value="18" class="abs high">16/18</td>
|
|
122
|
+
<td data-value="84.31" class="pct high">84.31%</td>
|
|
123
|
+
<td data-value="51" class="abs high">43/51</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
127
|
-
<td class="file
|
|
128
|
-
<td data-value="
|
|
129
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
127
|
+
<td class="file medium" data-value="CustomPropertyField.js"><a href="CustomPropertyField.js.html">CustomPropertyField.js</a></td>
|
|
128
|
+
<td data-value="54.65" class="pic medium">
|
|
129
|
+
<div class="chart"><div class="cover-fill" style="width: 54%"></div><div class="cover-empty" style="width: 46%"></div></div>
|
|
130
130
|
</td>
|
|
131
|
-
<td data-value="
|
|
132
|
-
<td data-value="
|
|
133
|
-
<td data-value="
|
|
134
|
-
<td data-value="
|
|
135
|
-
<td data-value="
|
|
136
|
-
<td data-value="
|
|
137
|
-
<td data-value="
|
|
138
|
-
<td data-value="
|
|
131
|
+
<td data-value="54.65" class="pct medium">54.65%</td>
|
|
132
|
+
<td data-value="86" class="abs medium">47/86</td>
|
|
133
|
+
<td data-value="48.33" class="pct low">48.33%</td>
|
|
134
|
+
<td data-value="60" class="abs low">29/60</td>
|
|
135
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
136
|
+
<td data-value="22" class="abs medium">11/22</td>
|
|
137
|
+
<td data-value="57.31" class="pct medium">57.31%</td>
|
|
138
|
+
<td data-value="82" class="abs medium">47/82</td>
|
|
139
139
|
</tr>
|
|
140
140
|
|
|
141
141
|
<tr>
|
|
142
|
-
<td class="file
|
|
143
|
-
<td data-value="
|
|
144
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
142
|
+
<td class="file medium" data-value="CustomPropertyFormCard.js"><a href="CustomPropertyFormCard.js.html">CustomPropertyFormCard.js</a></td>
|
|
143
|
+
<td data-value="66.66" class="pic medium">
|
|
144
|
+
<div class="chart"><div class="cover-fill" style="width: 66%"></div><div class="cover-empty" style="width: 34%"></div></div>
|
|
145
145
|
</td>
|
|
146
|
-
<td data-value="
|
|
147
|
-
<td data-value="
|
|
148
|
-
<td data-value="
|
|
149
|
-
<td data-value="
|
|
146
|
+
<td data-value="66.66" class="pct medium">66.66%</td>
|
|
147
|
+
<td data-value="12" class="abs medium">8/12</td>
|
|
148
|
+
<td data-value="57.14" class="pct medium">57.14%</td>
|
|
149
|
+
<td data-value="7" class="abs medium">4/7</td>
|
|
150
150
|
<td data-value="40" class="pct low">40%</td>
|
|
151
151
|
<td data-value="5" class="abs low">2/5</td>
|
|
152
|
-
<td data-value="
|
|
153
|
-
<td data-value="
|
|
152
|
+
<td data-value="66.66" class="pct medium">66.66%</td>
|
|
153
|
+
<td data-value="12" class="abs medium">8/12</td>
|
|
154
154
|
</tr>
|
|
155
155
|
|
|
156
156
|
<tr>
|
|
@@ -174,13 +174,13 @@
|
|
|
174
174
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
175
175
|
</td>
|
|
176
176
|
<td data-value="100" class="pct high">100%</td>
|
|
177
|
-
<td data-value="
|
|
177
|
+
<td data-value="15" class="abs high">15/15</td>
|
|
178
178
|
<td data-value="100" class="pct high">100%</td>
|
|
179
179
|
<td data-value="0" class="abs high">0/0</td>
|
|
180
180
|
<td data-value="100" class="pct high">100%</td>
|
|
181
|
-
<td data-value="
|
|
181
|
+
<td data-value="11" class="abs high">11/11</td>
|
|
182
182
|
<td data-value="100" class="pct high">100%</td>
|
|
183
|
-
<td data-value="
|
|
183
|
+
<td data-value="13" class="abs high">13/13</td>
|
|
184
184
|
</tr>
|
|
185
185
|
|
|
186
186
|
</tbody>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
192
192
|
Code coverage generated by
|
|
193
193
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
194
|
-
at
|
|
194
|
+
at 2022-09-16T13:23:25.290Z
|
|
195
195
|
</div>
|
|
196
196
|
<script src="../../prettify.js"></script>
|
|
197
197
|
<script>
|
|
@@ -85,7 +85,7 @@ export { default as CustomPropertyField } from './CustomPropertyField';
|
|
|
85
85
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
86
86
|
Code coverage generated by
|
|
87
87
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
88
|
-
at
|
|
88
|
+
at 2022-09-16T13:23:25.290Z
|
|
89
89
|
</div>
|
|
90
90
|
<script src="../../prettify.js"></script>
|
|
91
91
|
<script>
|