@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.
Files changed (158) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +2 -2
  3. package/junit.xml +157 -656
  4. package/package.json +1 -1
  5. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +56 -8
  6. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +394 -64
  7. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +10 -10
  8. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  9. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +187 -52
  10. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +372 -87
  11. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +293 -74
  12. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +126 -54
  13. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +45 -60
  14. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  15. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +23 -5
  16. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +59 -47
  17. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +259 -97
  18. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +399 -105
  19. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +41 -68
  20. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +57 -57
  21. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  22. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +67 -688
  23. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +92 -53
  24. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +103 -64
  25. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +54 -63
  26. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +49 -16
  27. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +69 -18
  28. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +89 -89
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +33 -786
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +46 -46
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +45 -36
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +43 -28
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +20 -2
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +50 -41
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +54 -75
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +24 -24
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  42. package/src/artifacts/coverage-jest/lcov-report/{hooks/useAvailableCustomProperties.js.html → CycleButton/CycleButton.js.html} +62 -50
  43. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +131 -0
  44. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +88 -0
  45. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +664 -0
  46. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +131 -0
  47. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +88 -0
  48. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +264 -39
  49. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
  50. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  51. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +41 -14
  52. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +45 -6
  53. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +47 -11
  54. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +65 -14
  55. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +154 -31
  56. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +26 -26
  57. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +18 -18
  59. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  60. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +35 -17
  61. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +15 -15
  62. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  63. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +247 -0
  64. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +131 -0
  65. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +88 -0
  66. package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/CustomPropertiesView.js.html → IconSelect/IconSelect.js.html} +158 -257
  67. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +131 -0
  68. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +88 -0
  69. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +48 -6
  70. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +7 -7
  71. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  72. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
  76. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  77. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  78. package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/testResources.js.html → RichSelect/RichSelect.js.html} +256 -334
  79. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +146 -0
  80. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +91 -0
  81. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +127 -0
  82. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +52 -7
  83. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +31 -4
  84. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +3 -3
  85. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  86. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +7 -7
  87. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  88. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  89. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +24 -27
  98. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +47 -17
  99. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +22 -22
  100. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  103. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  106. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
  108. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  111. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +142 -97
  112. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +13 -4
  113. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +35 -20
  114. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +5 -2
  115. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +7 -7
  116. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
  117. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +61 -22
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +19 -22
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +151 -0
  127. package/src/artifacts/coverage-jest/lcov-report/{utils/renderHelpText.js.html → hooks/useIntlKeyStore.js.html} +71 -38
  128. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
  129. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +238 -0
  130. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
  131. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +9 -9
  132. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
  133. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +23 -11
  134. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +274 -0
  135. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +19 -10
  136. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
  137. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
  138. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
  139. package/src/artifacts/coverage-jest/lcov-report/index.html +205 -130
  140. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  141. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
  143. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
  144. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +7 -7
  145. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
  146. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +34 -34
  147. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +42 -3
  148. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
  149. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +139 -0
  150. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +5 -2
  151. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
  152. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
  153. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
  154. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
  155. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
  156. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +128 -80
  157. package/src/artifacts/coverage-jest/lcov.info +2603 -2086
  158. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -1
@@ -23,16 +23,16 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">46.66% </span>
26
+ <span class="strong">66.66% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>7/15</span>
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">25% </span>
33
+ <span class="strong">57.14% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>5/20</span>
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">46.66% </span>
47
+ <span class="strong">66.66% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>7/15</span>
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 low'></div>
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">&nbsp;</span>
199
- <span class="cline-any cline-neutral">&nbsp;</span>
189
+ <a name='L124'></a><a href='#L124'>124</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
200
190
  <span class="cline-any cline-neutral">&nbsp;</span>
201
191
  <span class="cline-any cline-neutral">&nbsp;</span>
202
192
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -222,50 +212,43 @@
222
212
  <span class="cline-any cline-neutral">&nbsp;</span>
223
213
  <span class="cline-any cline-neutral">&nbsp;</span>
224
214
  <span class="cline-any cline-neutral">&nbsp;</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">&nbsp;</span>
228
- <span class="cline-any cline-no">&nbsp;</span>
229
215
  <span class="cline-any cline-neutral">&nbsp;</span>
230
216
  <span class="cline-any cline-neutral">&nbsp;</span>
217
+ <span class="cline-any cline-yes">3x</span>
231
218
  <span class="cline-any cline-neutral">&nbsp;</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">&nbsp;</span>
233
222
  <span class="cline-any cline-neutral">&nbsp;</span>
234
223
  <span class="cline-any cline-neutral">&nbsp;</span>
235
224
  <span class="cline-any cline-neutral">&nbsp;</span>
236
225
  <span class="cline-any cline-neutral">&nbsp;</span>
237
226
  <span class="cline-any cline-neutral">&nbsp;</span>
238
- <span class="cline-any cline-neutral">&nbsp;</span>
239
- <span class="cline-any cline-neutral">&nbsp;</span>
240
- <span class="cline-any cline-neutral">&nbsp;</span>
241
- <span class="cline-any cline-neutral">&nbsp;</span>
242
227
  <span class="cline-any cline-yes">3x</span>
243
228
  <span class="cline-any cline-neutral">&nbsp;</span>
244
229
  <span class="cline-any cline-neutral">&nbsp;</span>
245
230
  <span class="cline-any cline-neutral">&nbsp;</span>
246
231
  <span class="cline-any cline-neutral">&nbsp;</span>
247
232
  <span class="cline-any cline-neutral">&nbsp;</span>
233
+ <span class="cline-any cline-neutral">&nbsp;</span>
248
234
  <span class="cline-any cline-yes">3x</span>
249
235
  <span class="cline-any cline-no">&nbsp;</span>
250
- <span class="cline-any cline-no">&nbsp;</span>
251
- <span class="cline-any cline-neutral">&nbsp;</span>
252
- <span class="cline-any cline-neutral">&nbsp;</span>
253
236
  <span class="cline-any cline-neutral">&nbsp;</span>
254
- <span class="cline-any cline-no">&nbsp;</span>
255
237
  <span class="cline-any cline-neutral">&nbsp;</span>
256
238
  <span class="cline-any cline-neutral">&nbsp;</span>
257
239
  <span class="cline-any cline-neutral">&nbsp;</span>
258
240
  <span class="cline-any cline-neutral">&nbsp;</span>
241
+ <span class="cline-any cline-yes">3x</span>
259
242
  <span class="cline-any cline-neutral">&nbsp;</span>
260
243
  <span class="cline-any cline-neutral">&nbsp;</span>
261
244
  <span class="cline-any cline-neutral">&nbsp;</span>
262
245
  <span class="cline-any cline-neutral">&nbsp;</span>
263
- <span class="cline-any cline-yes">3x</span>
264
246
  <span class="cline-any cline-neutral">&nbsp;</span>
265
247
  <span class="cline-any cline-neutral">&nbsp;</span>
266
248
  <span class="cline-any cline-neutral">&nbsp;</span>
267
249
  <span class="cline-any cline-neutral">&nbsp;</span>
268
250
  <span class="cline-any cline-neutral">&nbsp;</span>
251
+ <span class="cline-any cline-no">&nbsp;</span>
269
252
  <span class="cline-any cline-neutral">&nbsp;</span>
270
253
  <span class="cline-any cline-neutral">&nbsp;</span>
271
254
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -275,7 +258,6 @@
275
258
  <span class="cline-any cline-neutral">&nbsp;</span>
276
259
  <span class="cline-any cline-neutral">&nbsp;</span>
277
260
  <span class="cline-any cline-neutral">&nbsp;</span>
278
- <span class="cline-any cline-no">&nbsp;</span>
279
261
  <span class="cline-any cline-neutral">&nbsp;</span>
280
262
  <span class="cline-any cline-neutral">&nbsp;</span>
281
263
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -309,9 +291,9 @@
309
291
  <span class="cline-any cline-neutral">&nbsp;</span>
310
292
  <span class="cline-any cline-neutral">&nbsp;</span>
311
293
  <span class="cline-any cline-neutral">&nbsp;</span>
294
+ <span class="cline-any cline-yes">1x</span>
312
295
  <span class="cline-any cline-neutral">&nbsp;</span>
313
296
  <span class="cline-any cline-neutral">&nbsp;</span>
314
- <span class="cline-any cline-yes">1x</span>
315
297
  <span class="cline-any cline-neutral">&nbsp;</span>
316
298
  <span class="cline-any cline-neutral">&nbsp;</span>
317
299
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -329,8 +311,6 @@
329
311
  <span class="cline-any cline-neutral">&nbsp;</span>
330
312
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
331
313
  &nbsp;
332
- import { FormattedMessage } from 'react-intl';
333
- &nbsp;
334
314
  import {
335
315
  Card,
336
316
  IconButton,
@@ -339,6 +319,7 @@ import {
339
319
  } from '@folio/stripes/components';
340
320
  &nbsp;
341
321
  import CustomPropertyField from './CustomPropertyField';
322
+ import { useKintIntl } from '../../hooks';
342
323
  &nbsp;
343
324
  const CustomPropertyFormCard = ({
344
325
  availableCustomProperties,
@@ -348,49 +329,37 @@ const CustomPropertyFormCard = ({
348
329
  handleDeleteCustomProperty,
349
330
  index,
350
331
  internalPropertyCounter,
351
- labelOverrides,
332
+ intlKey: passedIntlKey,
333
+ intlNS: passedIntlNS,
334
+ labelOverrides = {},
352
335
  name,
353
336
  onChange,
354
337
  setCustomProperties,
355
338
  value
356
339
  }) =&gt; {
340
+ const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
341
+ &nbsp;
357
342
  const getHeader = () =&gt; {
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" > if (labelOverrides.optionalPropertyHeader &amp;&amp; typeof labelOverrides.optionalPropertyHeader === 'function') {</span>
360
- <span class="cstat-no" title="statement not covered" > return labelOverrides.optionalPropertyHeader(internalPropertyCounter);</span>
361
- }
362
- &nbsp;
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
- &lt;FormattedMessage
367
- id="stripes-kint-components.customProperty.optionalPropertyHeader"
368
- values={{ number: internalPropertyCounter }}
369
- /&gt;
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
  &nbsp;
373
- // Label override for primaryPropertyHeader or finally built in default
374
- return (
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
  &nbsp;
380
- const getTooltipText = <span class="fstat-no" title="function not covered" >()</span> =&gt; {
381
- <span class="cstat-no" title="statement not covered" > if (labelOverrides.remove &amp;&amp; typeof labelOverrides.remove === 'function') {</span>
382
- <span class="cstat-no" title="statement not covered" > return labelOverrides.remove(internalPropertyCounter);</span>
383
- }
384
- &nbsp;
385
- // Label override for optionalPropertyHeader or finally built in default
386
- <span class="cstat-no" title="statement not covered" > return (</span>
387
- labelOverrides.remove ??
388
- &lt;FormattedMessage
389
- id="stripes-kint-components.customProperty.remove"
390
- values={{ number: internalPropertyCounter }}
391
- /&gt;
392
- );
393
- };
357
+ const getTooltipText = <span class="fstat-no" title="function not covered" >()</span> =&gt; (
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
  &nbsp;
395
364
  return (
396
365
  &lt;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 Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
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.91% </span>
26
+ <span class="strong">70.32% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>52/158</span>
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">17.39% </span>
33
+ <span class="strong">57.27% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>20/115</span>
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">26.08% </span>
40
+ <span class="strong">73.33% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>12/46</span>
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">34.43% </span>
47
+ <span class="strong">71.67% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>52/151</span>
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 low'></div>
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="0" class="pct low">0%</td>
89
- <td data-value="2" class="abs low">0/2</td>
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 low" data-value="CustomPropertiesEditCtx.js"><a href="CustomPropertiesEditCtx.js.html">CustomPropertiesEditCtx.js</a></td>
98
- <td data-value="28.57" class="pic low">
99
- <div class="chart"><div class="cover-fill" style="width: 28%"></div><div class="cover-empty" style="width: 72%"></div></div>
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="28.57" class="pct low">28.57%</td>
102
- <td data-value="14" class="abs low">4/14</td>
103
- <td data-value="0" class="pct low">0%</td>
104
- <td data-value="18" class="abs low">0/18</td>
105
- <td data-value="50" class="pct medium">50%</td>
106
- <td data-value="2" class="abs medium">1/2</td>
107
- <td data-value="28.57" class="pct low">28.57%</td>
108
- <td data-value="14" class="abs low">4/14</td>
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 low" data-value="CustomPropertiesListField.js"><a href="CustomPropertiesListField.js.html">CustomPropertiesListField.js</a></td>
113
- <td data-value="0" class="pic low">
114
- <div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
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="0" class="pct low">0%</td>
117
- <td data-value="48" class="abs low">0/48</td>
118
- <td data-value="0" class="pct low">0%</td>
119
- <td data-value="34" class="abs low">0/34</td>
120
- <td data-value="0" class="pct low">0%</td>
121
- <td data-value="17" class="abs low">0/17</td>
122
- <td data-value="0" class="pct low">0%</td>
123
- <td data-value="45" class="abs low">0/45</td>
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 low" data-value="CustomPropertyField.js"><a href="CustomPropertyField.js.html">CustomPropertyField.js</a></td>
128
- <td data-value="42.02" class="pic low">
129
- <div class="chart"><div class="cover-fill" style="width: 42%"></div><div class="cover-empty" style="width: 58%"></div></div>
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="42.02" class="pct low">42.02%</td>
132
- <td data-value="69" class="abs low">29/69</td>
133
- <td data-value="36.58" class="pct low">36.58%</td>
134
- <td data-value="41" class="abs low">15/41</td>
135
- <td data-value="35" class="pct low">35%</td>
136
- <td data-value="20" class="abs low">7/20</td>
137
- <td data-value="44.61" class="pct low">44.61%</td>
138
- <td data-value="65" class="abs low">29/65</td>
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 low" data-value="CustomPropertyFormCard.js"><a href="CustomPropertyFormCard.js.html">CustomPropertyFormCard.js</a></td>
143
- <td data-value="46.66" class="pic low">
144
- <div class="chart"><div class="cover-fill" style="width: 46%"></div><div class="cover-empty" style="width: 54%"></div></div>
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="46.66" class="pct low">46.66%</td>
147
- <td data-value="15" class="abs low">7/15</td>
148
- <td data-value="25" class="pct low">25%</td>
149
- <td data-value="20" class="abs low">5/20</td>
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="46.66" class="pct low">46.66%</td>
153
- <td data-value="15" class="abs low">7/15</td>
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="8" class="abs high">8/8</td>
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="0" class="abs high">0/0</td>
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="8" class="abs high">8/8</td>
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 Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
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 Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
88
+ at 2022-09-16T13:23:25.290Z
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
91
91
  <script>