@k-int/stripes-kint-components 3.2.2 → 3.2.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 (217) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/es/lib/ActionList/ActionListFieldArray.js +2 -2
  3. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -2
  4. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +22 -24
  5. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +26 -32
  6. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +2 -2
  7. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +39 -47
  8. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +82 -100
  9. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +2 -2
  10. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +22 -28
  11. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +1 -1
  12. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +69 -85
  13. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +2 -2
  14. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +26 -32
  15. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +2 -2
  16. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +15 -19
  17. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +17 -21
  18. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +129 -161
  19. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -2
  20. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -2
  21. package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
  22. package/es/lib/CycleButton/CycleButton.js +2 -2
  23. package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +22 -24
  24. package/es/lib/EditableRefdataList/EditableRefdataList.js +25 -27
  25. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +44 -50
  26. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -1
  27. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +139 -163
  28. package/es/lib/EditableSettingsList/SettingField/SettingField.js +9 -9
  29. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +117 -133
  30. package/es/lib/IconSelect/IconSelect.js +2 -2
  31. package/es/lib/QueryTypedown/QueryTypedown.js +2 -2
  32. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +1 -1
  33. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +2 -2
  34. package/es/lib/RichSelect/RichSelect.js +2 -2
  35. package/es/lib/RichSelect/useSelectedOption.js +2 -2
  36. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +2 -2
  37. package/es/lib/Typedown/Typedown.js +2 -2
  38. package/es/lib/hooks/settingsHooks/useAppSettings.js +1 -1
  39. package/es/lib/hooks/settingsHooks/useSettings.js +1 -1
  40. package/es/lib/hooks/typedownHooks/useTypedownData.js +2 -2
  41. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +2 -2
  42. package/es/lib/hooks/useActiveElement.js +2 -2
  43. package/es/lib/hooks/useHelperApp.js +2 -2
  44. package/es/lib/hooks/useKiwtFieldArray.js +2 -2
  45. package/es/lib/hooks/useKiwtSASQuery.js +2 -2
  46. package/es/lib/hooks/useLocalStorageState.js +2 -2
  47. package/es/lib/hooks/useMutateCustomProperties.js +23 -29
  48. package/es/lib/hooks/useMutateRefdataCategory.js +21 -25
  49. package/es/lib/hooks/useMutateRefdataValue.js +30 -34
  50. package/es/lib/hooks/useQIndex.js +2 -2
  51. package/es/lib/hooks/useSASQQueryMeta.js +1 -1
  52. package/es/lib/utils/generateKiwtQueryParams.js +2 -2
  53. package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -1
  54. package/es/lib/utils/highlightString.js +2 -2
  55. package/es/lib/utils/parseErrorResponse.js +42 -44
  56. package/junit.xml +1492 -222
  57. package/package.json +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +12 -3
  59. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +53 -14
  60. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +8 -8
  61. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  62. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +42 -42
  63. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +166 -88
  64. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +58 -58
  65. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +27 -27
  66. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +53 -53
  67. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  68. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +17 -17
  69. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +26 -26
  70. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +90 -90
  71. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +116 -116
  72. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +26 -26
  73. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +64 -64
  74. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
  76. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +31 -31
  77. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +48 -48
  78. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +20 -20
  79. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +17 -17
  80. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +43 -43
  81. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +96 -96
  82. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  83. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +5 -5
  84. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +35 -35
  85. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +37 -37
  86. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +35 -35
  87. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +14 -14
  88. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +43 -43
  89. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +5 -5
  90. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +31 -31
  91. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
  98. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +96 -9
  99. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +9 -9
  100. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +152 -29
  102. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
  103. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +13 -4
  105. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +29 -20
  106. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +37 -37
  107. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +62 -62
  108. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +85 -70
  109. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +43 -43
  110. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  111. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +21 -21
  112. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  113. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +30 -30
  114. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +21 -21
  115. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  116. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
  117. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
  118. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  124. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +23 -8
  126. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +7 -7
  127. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  128. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +52 -52
  129. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +21 -21
  130. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +11 -2
  132. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +9 -9
  133. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +58 -10
  135. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
  139. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
  140. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  141. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  143. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
  144. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  145. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  146. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  148. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  151. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  152. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  153. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  154. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +16 -4
  155. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  156. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +3 -3
  157. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  158. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +20 -8
  159. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
  160. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  161. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +12 -12
  162. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  163. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  164. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
  165. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  166. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  167. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +34 -34
  168. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +2 -5
  169. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  170. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  171. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  172. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  173. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  174. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  175. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  176. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +30 -18
  177. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +24 -24
  178. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
  179. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
  180. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +38 -38
  181. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  182. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  183. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  184. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  185. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
  186. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  187. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  188. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  189. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
  190. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  191. package/src/artifacts/coverage-jest/lcov-report/index.html +161 -146
  192. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +161 -0
  193. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +94 -0
  194. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +292 -0
  195. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +211 -0
  196. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +466 -0
  197. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  198. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
  199. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +4 -4
  200. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +22 -22
  201. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
  202. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +42 -57
  203. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +2 -35
  204. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
  205. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +2 -2
  206. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +161 -80
  207. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  208. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
  209. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +45 -3
  210. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
  211. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +16 -16
  212. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
  213. package/src/artifacts/coverage-jest/lcov-report/validators/index.html +131 -0
  214. package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +88 -0
  215. package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +370 -0
  216. package/src/artifacts/coverage-jest/lcov.info +1843 -1735
  217. package/src/lib/CustomProperties/View/CustomPropertyCard.js +3 -3
@@ -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/18</span>
28
+ <span class='fraction'>0/27</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/11</span>
35
+ <span class='fraction'>0/15</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/5</span>
42
+ <span class='fraction'>0/7</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/18</span>
49
+ <span class='fraction'>0/27</span>
50
50
  </div>
51
51
 
52
52
 
@@ -119,7 +119,23 @@
119
119
  <a name='L54'></a><a href='#L54'>54</a>
120
120
  <a name='L55'></a><a href='#L55'>55</a>
121
121
  <a name='L56'></a><a href='#L56'>56</a>
122
- <a name='L57'></a><a href='#L57'>57</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
122
+ <a name='L57'></a><a href='#L57'>57</a>
123
+ <a name='L58'></a><a href='#L58'>58</a>
124
+ <a name='L59'></a><a href='#L59'>59</a>
125
+ <a name='L60'></a><a href='#L60'>60</a>
126
+ <a name='L61'></a><a href='#L61'>61</a>
127
+ <a name='L62'></a><a href='#L62'>62</a>
128
+ <a name='L63'></a><a href='#L63'>63</a>
129
+ <a name='L64'></a><a href='#L64'>64</a>
130
+ <a name='L65'></a><a href='#L65'>65</a>
131
+ <a name='L66'></a><a href='#L66'>66</a>
132
+ <a name='L67'></a><a href='#L67'>67</a>
133
+ <a name='L68'></a><a href='#L68'>68</a>
134
+ <a name='L69'></a><a href='#L69'>69</a>
135
+ <a name='L70'></a><a href='#L70'>70</a>
136
+ <a name='L71'></a><a href='#L71'>71</a>
137
+ <a name='L72'></a><a href='#L72'>72</a>
138
+ <a name='L73'></a><a href='#L73'>73</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
123
139
  <span class="cline-any cline-neutral">&nbsp;</span>
124
140
  <span class="cline-any cline-neutral">&nbsp;</span>
125
141
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -129,6 +145,19 @@
129
145
  <span class="cline-any cline-neutral">&nbsp;</span>
130
146
  <span class="cline-any cline-neutral">&nbsp;</span>
131
147
  <span class="cline-any cline-neutral">&nbsp;</span>
148
+ <span class="cline-any cline-no">&nbsp;</span>
149
+ <span class="cline-any cline-no">&nbsp;</span>
150
+ <span class="cline-any cline-neutral">&nbsp;</span>
151
+ <span class="cline-any cline-no">&nbsp;</span>
152
+ <span class="cline-any cline-no">&nbsp;</span>
153
+ <span class="cline-any cline-no">&nbsp;</span>
154
+ <span class="cline-any cline-neutral">&nbsp;</span>
155
+ <span class="cline-any cline-no">&nbsp;</span>
156
+ <span class="cline-any cline-no">&nbsp;</span>
157
+ <span class="cline-any cline-neutral">&nbsp;</span>
158
+ <span class="cline-any cline-neutral">&nbsp;</span>
159
+ <span class="cline-any cline-neutral">&nbsp;</span>
160
+ <span class="cline-any cline-neutral">&nbsp;</span>
132
161
  <span class="cline-any cline-neutral">&nbsp;</span>
133
162
  <span class="cline-any cline-no">&nbsp;</span>
134
163
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -157,6 +186,9 @@
157
186
  <span class="cline-any cline-no">&nbsp;</span>
158
187
  <span class="cline-any cline-no">&nbsp;</span>
159
188
  <span class="cline-any cline-no">&nbsp;</span>
189
+ <span class="cline-any cline-no">&nbsp;</span>
190
+ <span class="cline-any cline-no">&nbsp;</span>
191
+ <span class="cline-any cline-neutral">&nbsp;</span>
160
192
  <span class="cline-any cline-neutral">&nbsp;</span>
161
193
  <span class="cline-any cline-neutral">&nbsp;</span>
162
194
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -175,15 +207,28 @@
175
207
  <span class="cline-any cline-neutral">&nbsp;</span>
176
208
  <span class="cline-any cline-neutral">&nbsp;</span>
177
209
  <span class="cline-any cline-neutral">&nbsp;</span>
178
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { cloneElement, useEffect, useState } from 'react';
210
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { cloneElement, useEffect, useRef, useState } from 'react';
179
211
  import isEqual from 'lodash/isEqual';
180
212
  &nbsp;
181
213
  import { useResizeDetector } from 'react-resize-detector';
182
214
  import { debounce } from 'lodash';
183
215
  &nbsp;
184
216
  const useResponsiveButtonGroupSizing = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
217
+ id,
185
218
  buttons = <span class="branch-0 cbranch-no" title="branch not covered" >[],</span>
186
219
  }) =&gt; {
220
+ const eventString = <span class="cstat-no" title="statement not covered" >'responsive-button-group-loaded' + (id ? `-${id}` : '');</span>
221
+ const loadedEvent = <span class="cstat-no" title="statement not covered" >new Event(eventString);</span>
222
+ &nbsp;
223
+ const isMounted = <span class="cstat-no" title="statement not covered" >useRef(false);</span>
224
+ <span class="cstat-no" title="statement not covered" > useEffect(<span class="fstat-no" title="function not covered" >()</span> =&gt; {</span>
225
+ <span class="cstat-no" title="statement not covered" > isMounted.current = true;</span>
226
+ &nbsp;
227
+ <span class="cstat-no" title="statement not covered" > return <span class="fstat-no" title="function not covered" >()</span> =&gt; {</span>
228
+ <span class="cstat-no" title="statement not covered" > isMounted.current = false;</span>
229
+ };
230
+ }, []);
231
+ &nbsp;
187
232
  // Set up size measuring to be able to do fullWidth if and only if the button is too small for the container.
188
233
  // This way when the button is too _large_ for the container, we can measure it properly
189
234
  const { ref: containerRef, width: containerWidth } = <span class="cstat-no" title="statement not covered" >useResizeDetector();</span>
@@ -210,9 +255,12 @@ const useResponsiveButtonGroupSizing = <span class="cstat-no" title="statement n
210
255
  &nbsp;
211
256
  // eslint-disable-next-line react-hooks/exhaustive-deps
212
257
  <span class="cstat-no" title="statement not covered" > useEffect(debounce(<span class="fstat-no" title="function not covered" >()</span> =&gt; {</span>
213
- <span class="cstat-no" title="statement not covered" > if (!cachedSizeArray?.length &amp;&amp; sizeArray?.length) {</span>
214
- <span class="cstat-no" title="statement not covered" > setCachedSizeArray(sizeArray);</span>
215
- <span class="cstat-no" title="statement not covered" > setReady(true);</span>
258
+ <span class="cstat-no" title="statement not covered" > if (isMounted.current) {</span>
259
+ <span class="cstat-no" title="statement not covered" > if (!cachedSizeArray?.length &amp;&amp; sizeArray?.length) {</span>
260
+ <span class="cstat-no" title="statement not covered" > setCachedSizeArray(sizeArray);</span>
261
+ <span class="cstat-no" title="statement not covered" > setReady(true);</span>
262
+ <span class="cstat-no" title="statement not covered" > document.dispatchEvent(loadedEvent);</span>
263
+ }
216
264
  }
217
265
  }, 150), [cachedSizeArray, sizeArray]);
218
266
  &nbsp;
@@ -238,7 +286,7 @@ export default useResponsiveButtonGroupSizing;
238
286
  <div class='footer quiet pad2 space-top1 center small'>
239
287
  Code coverage generated by
240
288
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
241
- at 2023-01-18T10:53:27.335Z
289
+ at 2023-03-21T17:34:57.995Z
242
290
  </div>
243
291
  <script src="../prettify.js"></script>
244
292
  <script>
@@ -703,7 +703,7 @@ export default RichSelect;
703
703
  <div class='footer quiet pad2 space-top1 center small'>
704
704
  Code coverage generated by
705
705
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
706
- at 2023-01-18T10:53:27.335Z
706
+ at 2023-03-21T17:34:57.995Z
707
707
  </div>
708
708
  <script src="../prettify.js"></script>
709
709
  <script>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2023-01-18T10:53:27.335Z
134
+ at 2023-03-21T17:34:57.995Z
135
135
  </div>
136
136
  <script src="../prettify.js"></script>
137
137
  <script>
@@ -76,7 +76,7 @@ export { default as useSelectedOption } from './useSelectedOption';
76
76
  <div class='footer quiet pad2 space-top1 center small'>
77
77
  Code coverage generated by
78
78
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
79
- at 2023-01-18T10:53:27.335Z
79
+ at 2023-03-21T17:34:57.995Z
80
80
  </div>
81
81
  <script src="../prettify.js"></script>
82
82
  <script>
@@ -112,7 +112,7 @@ export default useSelectedOption;
112
112
  <div class='footer quiet pad2 space-top1 center small'>
113
113
  Code coverage generated by
114
114
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
115
- at 2023-01-18T10:53:27.335Z
115
+ at 2023-03-21T17:34:57.995Z
116
116
  </div>
117
117
  <script src="../prettify.js"></script>
118
118
  <script>
@@ -1054,7 +1054,7 @@ export default SASQLookupComponent;
1054
1054
  <div class='footer quiet pad2 space-top1 center small'>
1055
1055
  Code coverage generated by
1056
1056
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1057
- at 2023-01-18T10:53:27.335Z
1057
+ at 2023-03-21T17:34:57.995Z
1058
1058
  </div>
1059
1059
  <script src="../prettify.js"></script>
1060
1060
  <script>
@@ -385,7 +385,7 @@ export default TableBody;
385
385
  <div class='footer quiet pad2 space-top1 center small'>
386
386
  Code coverage generated by
387
387
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
388
- at 2023-01-18T10:53:27.335Z
388
+ at 2023-03-21T17:34:57.995Z
389
389
  </div>
390
390
  <script src="../../prettify.js"></script>
391
391
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
122
122
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-01-18T10:53:27.335Z
76
+ at 2023-03-21T17:34:57.995Z
77
77
  </div>
78
78
  <script src="../../prettify.js"></script>
79
79
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -76,7 +76,7 @@ export { default as TableBody } from './TableBody';
76
76
  <div class='footer quiet pad2 space-top1 center small'>
77
77
  Code coverage generated by
78
78
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
79
- at 2023-01-18T10:53:27.335Z
79
+ at 2023-03-21T17:34:57.995Z
80
80
  </div>
81
81
  <script src="../prettify.js"></script>
82
82
  <script>
@@ -331,7 +331,7 @@ export default SASQRoute;
331
331
  <div class='footer quiet pad2 space-top1 center small'>
332
332
  Code coverage generated by
333
333
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
334
- at 2023-01-18T10:53:27.335Z
334
+ at 2023-03-21T17:34:57.995Z
335
335
  </div>
336
336
  <script src="../prettify.js"></script>
337
337
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-01-18T10:53:27.335Z
76
+ at 2023-03-21T17:34:57.995Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -292,7 +292,7 @@ export default SASQViewComponent;
292
292
  <div class='footer quiet pad2 space-top1 center small'>
293
293
  Code coverage generated by
294
294
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
295
- at 2023-01-18T10:53:27.335Z
295
+ at 2023-03-21T17:34:57.995Z
296
296
  </div>
297
297
  <script src="../prettify.js"></script>
298
298
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-01-18T10:53:27.335Z
76
+ at 2023-03-21T17:34:57.995Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -199,7 +199,7 @@ export default SearchField;
199
199
  <div class='footer quiet pad2 space-top1 center small'>
200
200
  Code coverage generated by
201
201
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
202
- at 2023-01-18T10:53:27.335Z
202
+ at 2023-03-21T17:34:57.995Z
203
203
  </div>
204
204
  <script src="../prettify.js"></script>
205
205
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-01-18T10:53:27.335Z
76
+ at 2023-03-21T17:34:57.995Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -32,7 +32,7 @@
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/1</span>
35
+ <span class='fraction'>0/2</span>
36
36
  </div>
37
37
 
38
38
 
@@ -104,7 +104,12 @@
104
104
  <a name='L39'></a><a href='#L39'>39</a>
105
105
  <a name='L40'></a><a href='#L40'>40</a>
106
106
  <a name='L41'></a><a href='#L41'>41</a>
107
- <a name='L42'></a><a href='#L42'>42</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
107
+ <a name='L42'></a><a href='#L42'>42</a>
108
+ <a name='L43'></a><a href='#L43'>43</a>
109
+ <a name='L44'></a><a href='#L44'>44</a>
110
+ <a name='L45'></a><a href='#L45'>45</a>
111
+ <a name='L46'></a><a href='#L46'>46</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
112
+ <span class="cline-any cline-neutral">&nbsp;</span>
108
113
  <span class="cline-any cline-neutral">&nbsp;</span>
109
114
  <span class="cline-any cline-neutral">&nbsp;</span>
110
115
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -117,6 +122,7 @@
117
122
  <span class="cline-any cline-neutral">&nbsp;</span>
118
123
  <span class="cline-any cline-neutral">&nbsp;</span>
119
124
  <span class="cline-any cline-neutral">&nbsp;</span>
125
+ <span class="cline-any cline-neutral">&nbsp;</span>
120
126
  <span class="cline-any cline-no">&nbsp;</span>
121
127
  <span class="cline-any cline-neutral">&nbsp;</span>
122
128
  <span class="cline-any cline-no">&nbsp;</span>
@@ -137,6 +143,7 @@
137
143
  <span class="cline-any cline-neutral">&nbsp;</span>
138
144
  <span class="cline-any cline-neutral">&nbsp;</span>
139
145
  <span class="cline-any cline-neutral">&nbsp;</span>
146
+ <span class="cline-any cline-neutral">&nbsp;</span>
140
147
  <span class="cline-any cline-no">&nbsp;</span>
141
148
  <span class="cline-any cline-neutral">&nbsp;</span>
142
149
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -145,14 +152,17 @@
145
152
  <span class="cline-any cline-neutral">&nbsp;</span>
146
153
  <span class="cline-any cline-neutral">&nbsp;</span>
147
154
  <span class="cline-any cline-neutral">&nbsp;</span>
155
+ <span class="cline-any cline-neutral">&nbsp;</span>
148
156
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React, { useContext } from 'react';
149
157
  import PropTypes from 'prop-types';
150
158
  &nbsp;
151
159
  import { EditableSettingsList } from '../EditableSettingsList';
152
160
  import { SettingsContext } from '../contexts';
153
- import { useSettingSection } from '../hooks';
161
+ // Importing directly here to avoid cyclic dependency
162
+ import useSettingSection from '../settingsHooks/useSettingSection';
154
163
  &nbsp;
155
164
  const SettingPage = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
165
+ allowEdit = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
156
166
  intlKey: passedIntlKey,
157
167
  intlNS: passedIntlNS,
158
168
  labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
@@ -167,6 +177,7 @@ const SettingPage = <span class="cstat-no" title="statement not covered" ><span
167
177
  &nbsp;
168
178
  <span class="cstat-no" title="statement not covered" > return (</span>
169
179
  &lt;EditableSettingsList
180
+ allowEdit={allowEdit}
170
181
  initialValues={{ 'settings': settings }}
171
182
  intlKey={passedIntlKey}
172
183
  intlNS={passedIntlNS}
@@ -179,6 +190,7 @@ const SettingPage = <span class="cstat-no" title="statement not covered" ><span
179
190
  };
180
191
  &nbsp;
181
192
  <span class="cstat-no" title="statement not covered" >SettingPage.propTypes = {</span>
193
+ allowEdit: PropTypes.bool,
182
194
  intlKey: PropTypes.string,
183
195
  intlNS: PropTypes.string,
184
196
  labelOverrides: PropTypes.object,
@@ -193,7 +205,7 @@ export default SettingPage;
193
205
  <div class='footer quiet pad2 space-top1 center small'>
194
206
  Code coverage generated by
195
207
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at 2023-01-18T10:53:27.335Z
208
+ at 2023-03-21T17:34:57.995Z
197
209
  </div>
198
210
  <script src="../prettify.js"></script>
199
211
  <script>
@@ -193,7 +193,7 @@ export default SettingPagePane;
193
193
  <div class='footer quiet pad2 space-top1 center small'>
194
194
  Code coverage generated by
195
195
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at 2023-01-18T10:53:27.335Z
196
+ at 2023-03-21T17:34:57.995Z
197
197
  </div>
198
198
  <script src="../prettify.js"></script>
199
199
  <script>
@@ -32,7 +32,7 @@
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/1</span>
35
+ <span class='fraction'>0/2</span>
36
36
  </div>
37
37
 
38
38
 
@@ -86,7 +86,7 @@
86
86
  <td data-value="0" class="pct low">0%</td>
87
87
  <td data-value="5" class="abs low">0/5</td>
88
88
  <td data-value="0" class="pct low">0%</td>
89
- <td data-value="1" class="abs low">0/1</td>
89
+ <td data-value="2" class="abs low">0/2</td>
90
90
  <td data-value="0" class="pct low">0%</td>
91
91
  <td data-value="1" class="abs low">0/1</td>
92
92
  <td data-value="0" class="pct low">0%</td>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at 2023-01-18T10:53:27.335Z
134
+ at 2023-03-21T17:34:57.995Z
135
135
  </div>
136
136
  <script src="../prettify.js"></script>
137
137
  <script>
@@ -76,7 +76,7 @@ export { default as SettingPage } from './SettingPage';
76
76
  <div class='footer quiet pad2 space-top1 center small'>
77
77
  Code coverage generated by
78
78
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
79
- at 2023-01-18T10:53:27.335Z
79
+ at 2023-03-21T17:34:57.995Z
80
80
  </div>
81
81
  <script src="../prettify.js"></script>
82
82
  <script>
@@ -32,7 +32,7 @@
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/30</span>
35
+ <span class='fraction'>0/33</span>
36
36
  </div>
37
37
 
38
38
 
@@ -335,7 +335,11 @@
335
335
  <a name='L270'></a><a href='#L270'>270</a>
336
336
  <a name='L271'></a><a href='#L271'>271</a>
337
337
  <a name='L272'></a><a href='#L272'>272</a>
338
- <a name='L273'></a><a href='#L273'>273</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
338
+ <a name='L273'></a><a href='#L273'>273</a>
339
+ <a name='L274'></a><a href='#L274'>274</a>
340
+ <a name='L275'></a><a href='#L275'>275</a>
341
+ <a name='L276'></a><a href='#L276'>276</a>
342
+ <a name='L277'></a><a href='#L277'>277</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
339
343
  <span class="cline-any cline-neutral">&nbsp;</span>
340
344
  <span class="cline-any cline-neutral">&nbsp;</span>
341
345
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -366,6 +370,7 @@
366
370
  <span class="cline-any cline-neutral">&nbsp;</span>
367
371
  <span class="cline-any cline-neutral">&nbsp;</span>
368
372
  <span class="cline-any cline-neutral">&nbsp;</span>
373
+ <span class="cline-any cline-neutral">&nbsp;</span>
369
374
  <span class="cline-any cline-no">&nbsp;</span>
370
375
  <span class="cline-any cline-neutral">&nbsp;</span>
371
376
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -573,6 +578,7 @@
573
578
  <span class="cline-any cline-neutral">&nbsp;</span>
574
579
  <span class="cline-any cline-neutral">&nbsp;</span>
575
580
  <span class="cline-any cline-neutral">&nbsp;</span>
581
+ <span class="cline-any cline-neutral">&nbsp;</span>
576
582
  <span class="cline-any cline-no">&nbsp;</span>
577
583
  <span class="cline-any cline-neutral">&nbsp;</span>
578
584
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -581,6 +587,7 @@
581
587
  <span class="cline-any cline-neutral">&nbsp;</span>
582
588
  <span class="cline-any cline-neutral">&nbsp;</span>
583
589
  <span class="cline-any cline-neutral">&nbsp;</span>
590
+ <span class="cline-any cline-neutral">&nbsp;</span>
584
591
  <span class="cline-any cline-no">&nbsp;</span>
585
592
  <span class="cline-any cline-neutral">&nbsp;</span>
586
593
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -607,6 +614,7 @@
607
614
  <span class="cline-any cline-neutral">&nbsp;</span>
608
615
  <span class="cline-any cline-neutral">&nbsp;</span>
609
616
  <span class="cline-any cline-neutral">&nbsp;</span>
617
+ <span class="cline-any cline-neutral">&nbsp;</span>
610
618
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React, { useCallback, useEffect, useState } from 'react';
611
619
  import PropTypes from 'prop-types';
612
620
  import classnames from 'classnames';
@@ -624,6 +632,7 @@ import selectorSafe from '../utils/selectorSafe';
624
632
  const Typedown = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
625
633
  className,
626
634
  dataOptions,
635
+ displayClearItem = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
627
636
  endOfList,
628
637
  id,
629
638
  input,
@@ -842,11 +851,13 @@ const Typedown = <span class="cstat-no" title="statement not covered" ><span cla
842
851
  &gt;
843
852
  {renderItem(input.value)}
844
853
  &lt;/div&gt;
845
- &lt;IconButton
846
- className={css.clearItem}
847
- icon="times-circle-solid"
848
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >handleChange()}</span>
849
- /&gt;
854
+ {displayClearItem &amp;&amp;
855
+ &lt;IconButton
856
+ className={css.clearItem}
857
+ icon="times-circle-solid"
858
+ onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >handleChange()}</span>
859
+ /&gt;
860
+ }
850
861
  &lt;/div&gt;
851
862
  }
852
863
  &lt;/div&gt;
@@ -856,6 +867,7 @@ const Typedown = <span class="cstat-no" title="statement not covered" ><span cla
856
867
  <span class="cstat-no" title="statement not covered" >Typedown.propTypes = {</span>
857
868
  className: PropTypes.string,
858
869
  dataOptions: PropTypes.arrayOf(PropTypes.object),
870
+ displayClearItem: PropTypes.bool,
859
871
  endOfList: PropTypes.oneOfType([
860
872
  PropTypes.func,
861
873
  PropTypes.node,
@@ -886,7 +898,7 @@ export default Typedown;
886
898
  <div class='footer quiet pad2 space-top1 center small'>
887
899
  Code coverage generated by
888
900
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
889
- at 2023-01-18T10:53:27.335Z
901
+ at 2023-03-21T17:34:57.995Z
890
902
  </div>
891
903
  <script src="../prettify.js"></script>
892
904
  <script>
@@ -32,7 +32,7 @@
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/30</span>
35
+ <span class='fraction'>0/33</span>
36
36
  </div>
37
37
 
38
38
 
@@ -86,7 +86,7 @@
86
86
  <td data-value="0" class="pct low">0%</td>
87
87
  <td data-value="41" class="abs low">0/41</td>
88
88
  <td data-value="0" class="pct low">0%</td>
89
- <td data-value="30" class="abs low">0/30</td>
89
+ <td data-value="33" class="abs low">0/33</td>
90
90
  <td data-value="0" class="pct low">0%</td>
91
91
  <td data-value="13" class="abs low">0/13</td>
92
92
  <td data-value="0" class="pct low">0%</td>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at 2023-01-18T10:53:27.335Z
119
+ at 2023-03-21T17:34:57.995Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at 2023-01-18T10:53:27.335Z
76
+ at 2023-03-21T17:34:57.995Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>