@k-int/stripes-kint-components 4.2.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/es/index.js +17 -4
  3. package/es/lib/ActionList/ActionList.js +5 -1
  4. package/es/lib/ActionList/ActionListFieldArray.js +19 -11
  5. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -2
  6. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +22 -24
  7. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +26 -32
  8. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +3 -3
  9. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +39 -47
  10. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +82 -100
  11. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +2 -2
  12. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +22 -28
  13. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +1 -1
  14. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +69 -85
  15. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +2 -2
  16. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +26 -32
  17. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +3 -3
  18. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +15 -19
  19. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +17 -21
  20. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -1
  21. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +129 -161
  22. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -2
  23. package/es/lib/CustomProperties/Filter/useValueProps.js +1 -1
  24. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -2
  25. package/es/lib/CycleButton/CycleButton.js +2 -2
  26. package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +45 -28
  27. package/es/lib/EditableRefdataList/EditableRefdataList.js +82 -53
  28. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +44 -50
  29. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -1
  30. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +139 -163
  31. package/es/lib/EditableSettingsList/SettingField/SettingField.js +9 -9
  32. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +117 -133
  33. package/es/lib/IconSelect/IconSelect.js +2 -2
  34. package/es/lib/QueryTypedown/QueryTypedown.js +2 -2
  35. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +9 -5
  36. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +15 -5
  37. package/es/lib/RichSelect/RichSelect.js +2 -2
  38. package/es/lib/RichSelect/useSelectedOption.js +2 -2
  39. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +31 -18
  40. package/es/lib/SettingPage/SettingPage.js +4 -2
  41. package/es/lib/Typedown/Typedown.js +6 -3
  42. package/es/lib/hooks/index.js +0 -19
  43. package/es/lib/hooks/typedownHooks/useTypedownData.js +2 -2
  44. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +2 -2
  45. package/es/lib/hooks/useActiveElement.js +2 -2
  46. package/es/lib/hooks/useHelperApp.js +2 -2
  47. package/es/lib/hooks/useIntlKeyStore.js +2 -3
  48. package/es/lib/hooks/useKiwtFieldArray.js +2 -2
  49. package/es/lib/hooks/useKiwtSASQuery.js +2 -2
  50. package/es/lib/hooks/useLocalStorageState.js +2 -2
  51. package/es/lib/hooks/useMutateCustomProperties.js +23 -29
  52. package/es/lib/hooks/useMutateRefdataCategory.js +21 -25
  53. package/es/lib/hooks/useMutateRefdataValue.js +30 -34
  54. package/es/lib/hooks/useQIndex.js +2 -2
  55. package/es/lib/hooks/useSASQQueryMeta.js +1 -1
  56. package/es/lib/{hooks/settingsHooks → settingsHooks}/index.js +0 -0
  57. package/es/lib/{hooks/settingsHooks → settingsHooks}/useAppSettings.js +2 -2
  58. package/es/lib/{hooks/settingsHooks → settingsHooks}/useSettingSection.js +1 -3
  59. package/es/lib/{hooks/settingsHooks → settingsHooks}/useSettings.js +7 -8
  60. package/es/lib/utils/generateKiwtQueryParams.js +2 -2
  61. package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -1
  62. package/es/lib/utils/highlightString.js +2 -2
  63. package/es/lib/utils/index.js +0 -43
  64. package/es/lib/utils/parseErrorResponse.js +42 -44
  65. package/es/lib/validators/index.js +16 -0
  66. package/es/lib/{utils → validators}/validators.js +0 -0
  67. package/junit.xml +140 -140
  68. package/package.json +2 -2
  69. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +12 -3
  70. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +53 -14
  71. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +8 -8
  72. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +2 -2
  76. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
  77. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +1 -1
  78. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  79. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +1 -1
  80. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
  81. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
  82. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
  83. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
  84. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +1 -1
  85. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  86. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
  87. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +1 -1
  88. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +2 -2
  89. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +2 -2
  92. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +2 -2
  98. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
  99. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +1 -1
  100. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  103. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  106. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
  108. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +96 -9
  110. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +9 -9
  111. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
  112. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +152 -29
  113. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
  114. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  115. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
  116. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
  117. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  118. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  124. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
  126. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  127. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
  128. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
  129. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
  130. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
  132. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
  133. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  139. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
  140. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  141. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +16 -4
  143. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +10 -10
  144. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
  145. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +43 -10
  146. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
  148. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +103 -25
  151. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  152. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  153. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  154. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +9 -9
  155. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  156. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  157. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  158. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  159. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  160. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  161. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  162. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  163. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  164. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  165. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +6 -3
  166. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  167. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
  168. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  169. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +20 -8
  170. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
  171. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  172. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  173. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  174. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  175. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  176. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  177. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  178. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +1 -1
  179. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +2 -5
  180. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
  181. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  182. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +1 -1
  183. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
  184. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +1 -1
  185. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  186. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  187. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  188. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  189. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  190. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  191. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  192. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
  193. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
  194. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +2 -2
  195. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
  196. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
  197. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  198. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  199. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  200. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  201. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
  202. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  203. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  204. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  205. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
  206. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  207. package/src/artifacts/coverage-jest/lcov-report/index.html +62 -47
  208. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +161 -0
  209. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +94 -0
  210. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +292 -0
  211. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +211 -0
  212. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +460 -0
  213. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  214. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
  215. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +1 -1
  216. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +1 -1
  217. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +1 -1
  218. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +9 -24
  219. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +2 -35
  220. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +1 -1
  221. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +1 -1
  222. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +1 -1
  223. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  224. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +1 -1
  225. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
  226. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
  227. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
  228. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +1 -1
  229. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +1 -1
  230. package/src/artifacts/coverage-jest/lcov-report/validators/index.html +131 -0
  231. package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +88 -0
  232. package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +370 -0
  233. package/src/artifacts/coverage-jest/lcov.info +809 -741
  234. package/src/index.js +6 -2
  235. package/src/lib/ActionList/ActionList.js +3 -0
  236. package/src/lib/ActionList/ActionListFieldArray.js +22 -9
  237. package/src/lib/ActionList/README.md +3 -2
  238. package/src/lib/CustomProperties/Config/CustomPropertyForm.js +1 -1
  239. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -1
  240. package/src/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -1
  241. package/src/lib/CustomProperties/Filter/useValueProps.js +1 -1
  242. package/src/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +32 -3
  243. package/src/lib/EditableRefdataList/EditableRefdataList.js +64 -23
  244. package/src/lib/EditableRefdataList/README.md +3 -1
  245. package/src/lib/ResponsiveButtonGroup/README.md +1 -0
  246. package/src/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +5 -1
  247. package/src/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +15 -4
  248. package/src/lib/SASQLookupComponent/SASQLookupComponent.js +44 -18
  249. package/src/lib/SettingPage/SettingPage.js +2 -1
  250. package/src/lib/Typedown/Typedown.js +9 -5
  251. package/src/lib/hooks/index.js +0 -1
  252. package/src/lib/hooks/useIntlKeyStore.js +1 -1
  253. package/src/lib/{hooks/settingsHooks → settingsHooks}/index.js +0 -0
  254. package/src/lib/{hooks/settingsHooks → settingsHooks}/useAppSettings.js +1 -1
  255. package/src/lib/{hooks/settingsHooks → settingsHooks}/useSettingSection.js +1 -2
  256. package/src/lib/{hooks/settingsHooks → settingsHooks}/useSettings.js +4 -5
  257. package/src/lib/utils/index.js +0 -11
  258. package/src/lib/validators/index.js +1 -0
  259. package/src/lib/{utils → validators}/validators.js +0 -0
  260. package/styles/TypeDown.css +37 -2
@@ -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/46</span>
28
+ <span class='fraction'>0/47</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/35</span>
35
+ <span class='fraction'>0/43</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/11</span>
42
+ <span class='fraction'>0/9</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/45</span>
49
+ <span class='fraction'>0/46</span>
50
50
  </div>
51
51
 
52
52
 
@@ -365,7 +365,34 @@
365
365
  <a name='L300'></a><a href='#L300'>300</a>
366
366
  <a name='L301'></a><a href='#L301'>301</a>
367
367
  <a name='L302'></a><a href='#L302'>302</a>
368
- <a name='L303'></a><a href='#L303'>303</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
368
+ <a name='L303'></a><a href='#L303'>303</a>
369
+ <a name='L304'></a><a href='#L304'>304</a>
370
+ <a name='L305'></a><a href='#L305'>305</a>
371
+ <a name='L306'></a><a href='#L306'>306</a>
372
+ <a name='L307'></a><a href='#L307'>307</a>
373
+ <a name='L308'></a><a href='#L308'>308</a>
374
+ <a name='L309'></a><a href='#L309'>309</a>
375
+ <a name='L310'></a><a href='#L310'>310</a>
376
+ <a name='L311'></a><a href='#L311'>311</a>
377
+ <a name='L312'></a><a href='#L312'>312</a>
378
+ <a name='L313'></a><a href='#L313'>313</a>
379
+ <a name='L314'></a><a href='#L314'>314</a>
380
+ <a name='L315'></a><a href='#L315'>315</a>
381
+ <a name='L316'></a><a href='#L316'>316</a>
382
+ <a name='L317'></a><a href='#L317'>317</a>
383
+ <a name='L318'></a><a href='#L318'>318</a>
384
+ <a name='L319'></a><a href='#L319'>319</a>
385
+ <a name='L320'></a><a href='#L320'>320</a>
386
+ <a name='L321'></a><a href='#L321'>321</a>
387
+ <a name='L322'></a><a href='#L322'>322</a>
388
+ <a name='L323'></a><a href='#L323'>323</a>
389
+ <a name='L324'></a><a href='#L324'>324</a>
390
+ <a name='L325'></a><a href='#L325'>325</a>
391
+ <a name='L326'></a><a href='#L326'>326</a>
392
+ <a name='L327'></a><a href='#L327'>327</a>
393
+ <a name='L328'></a><a href='#L328'>328</a>
394
+ <a name='L329'></a><a href='#L329'>329</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
395
+ <span class="cline-any cline-neutral">&nbsp;</span>
369
396
  <span class="cline-any cline-neutral">&nbsp;</span>
370
397
  <span class="cline-any cline-neutral">&nbsp;</span>
371
398
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -504,11 +531,18 @@
504
531
  <span class="cline-any cline-neutral">&nbsp;</span>
505
532
  <span class="cline-any cline-no">&nbsp;</span>
506
533
  <span class="cline-any cline-neutral">&nbsp;</span>
534
+ <span class="cline-any cline-neutral">&nbsp;</span>
535
+ <span class="cline-any cline-neutral">&nbsp;</span>
536
+ <span class="cline-any cline-neutral">&nbsp;</span>
537
+ <span class="cline-any cline-neutral">&nbsp;</span>
507
538
  <span class="cline-any cline-no">&nbsp;</span>
508
539
  <span class="cline-any cline-neutral">&nbsp;</span>
509
540
  <span class="cline-any cline-neutral">&nbsp;</span>
510
541
  <span class="cline-any cline-neutral">&nbsp;</span>
511
542
  <span class="cline-any cline-neutral">&nbsp;</span>
543
+ <span class="cline-any cline-no">&nbsp;</span>
544
+ <span class="cline-any cline-neutral">&nbsp;</span>
545
+ <span class="cline-any cline-no">&nbsp;</span>
512
546
  <span class="cline-any cline-neutral">&nbsp;</span>
513
547
  <span class="cline-any cline-neutral">&nbsp;</span>
514
548
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -535,6 +569,22 @@
535
569
  <span class="cline-any cline-neutral">&nbsp;</span>
536
570
  <span class="cline-any cline-neutral">&nbsp;</span>
537
571
  <span class="cline-any cline-neutral">&nbsp;</span>
572
+ <span class="cline-any cline-neutral">&nbsp;</span>
573
+ <span class="cline-any cline-neutral">&nbsp;</span>
574
+ <span class="cline-any cline-neutral">&nbsp;</span>
575
+ <span class="cline-any cline-neutral">&nbsp;</span>
576
+ <span class="cline-any cline-neutral">&nbsp;</span>
577
+ <span class="cline-any cline-neutral">&nbsp;</span>
578
+ <span class="cline-any cline-neutral">&nbsp;</span>
579
+ <span class="cline-any cline-neutral">&nbsp;</span>
580
+ <span class="cline-any cline-neutral">&nbsp;</span>
581
+ <span class="cline-any cline-neutral">&nbsp;</span>
582
+ <span class="cline-any cline-neutral">&nbsp;</span>
583
+ <span class="cline-any cline-neutral">&nbsp;</span>
584
+ <span class="cline-any cline-neutral">&nbsp;</span>
585
+ <span class="cline-any cline-neutral">&nbsp;</span>
586
+ <span class="cline-any cline-neutral">&nbsp;</span>
587
+ <span class="cline-any cline-neutral">&nbsp;</span>
538
588
  <span class="cline-any cline-no">&nbsp;</span>
539
589
  <span class="cline-any cline-no">&nbsp;</span>
540
590
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -584,7 +634,9 @@
584
634
  <span class="cline-any cline-neutral">&nbsp;</span>
585
635
  <span class="cline-any cline-neutral">&nbsp;</span>
586
636
  <span class="cline-any cline-neutral">&nbsp;</span>
587
- <span class="cline-any cline-no">&nbsp;</span>
637
+ <span class="cline-any cline-neutral">&nbsp;</span>
638
+ <span class="cline-any cline-neutral">&nbsp;</span>
639
+ <span class="cline-any cline-neutral">&nbsp;</span>
588
640
  <span class="cline-any cline-neutral">&nbsp;</span>
589
641
  <span class="cline-any cline-neutral">&nbsp;</span>
590
642
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -679,13 +731,14 @@ import {
679
731
  } from '@folio/stripes/core';
680
732
  &nbsp;
681
733
  import {
734
+ CollapseFilterPaneButton,
735
+ ExpandFilterPaneButton,
682
736
  SearchAndSortQuery,
683
737
  PersistedPaneset,
684
738
  } from '@folio/stripes/smart-components';
685
739
  &nbsp;
686
740
  import {
687
741
  Button,
688
- IconButton,
689
742
  Icon,
690
743
  Pane,
691
744
  PaneMenu,
@@ -805,6 +858,27 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
805
858
  const filterCount = <span class="cstat-no" title="statement not covered" >activeFilters.string ? activeFilters.string.split(',').length : 0;</span>
806
859
  &nbsp;
807
860
  const Body = <span class="cstat-no" title="statement not covered" >RenderBody ?? TableBody;</span>
861
+ &nbsp;
862
+ const {
863
+ filterPaneFirstMenu,
864
+ filterPaneLastMenu,
865
+ ...restOfFilterPaneProps
866
+ } = <span class="cstat-no" title="statement not covered" >filterPaneProps;</span>
867
+ const {
868
+ mainPaneFirstMenu,
869
+ mainPaneLastMenu,
870
+ ...restOfMainPaneProps
871
+ } = <span class="cstat-no" title="statement not covered" >mainPaneProps;</span>
872
+ &nbsp;
873
+ const internalStateProps = <span class="cstat-no" title="statement not covered" >{</span>
874
+ activeFilters,
875
+ filterCount,
876
+ filterPaneVisible,
877
+ searchChanged,
878
+ searchValue,
879
+ setFilterPaneVisible,
880
+ toggleFilterPane
881
+ };
808
882
  &nbsp;
809
883
  <span class="cstat-no" title="statement not covered" > return (</span>
810
884
  &lt;PersistedPaneset
@@ -815,17 +889,19 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
815
889
  {filterPaneVisible &amp;&amp;
816
890
  &lt;Pane
817
891
  defaultWidth="20%"
892
+ firstMenu={filterPaneFirstMenu ?
893
+ filterPaneFirstMenu(internalStateProps) :
894
+ null
895
+ }
818
896
  id={`${id}-filter-pane`}
819
- lastMenu={
897
+ lastMenu={filterPaneLastMenu ?
898
+ filterPaneLastMenu(internalStateProps) :
820
899
  &lt;PaneMenu&gt;
821
- &lt;IconButton
822
- icon="caret-left"
823
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >setFilterPaneVisible(false)}</span>
824
- /&gt;
900
+ &lt;CollapseFilterPaneButton onClick={toggleFilterPane} /&gt;
825
901
  &lt;/PaneMenu&gt;
826
902
  }
827
903
  paneTitle={&lt;FormattedMessage id="stripes-smart-components.searchAndFilter" /&gt;}
828
- {...filterPaneProps}
904
+ {...restOfFilterPaneProps}
829
905
  &gt;
830
906
  &lt;form onSubmit={onSubmitSearch}&gt;
831
907
  &lt;FilterPaneHeaderComponent /&gt;
@@ -881,17 +957,19 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
881
957
  }
882
958
  &lt;Pane
883
959
  defaultWidth="fill"
884
- firstMenu={!filterPaneVisible ?
885
- &lt;PaneMenu&gt;
886
- &lt;IconButton
887
- badgeCount={filterCount}
888
- icon="caret-right"
889
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >setFilterPaneVisible(true)}</span>
890
- /&gt;
891
- &lt;/PaneMenu&gt;
892
- :
893
- null}
960
+ firstMenu={mainPaneFirstMenu ?
961
+ mainPaneFirstMenu(internalStateProps) :
962
+ !filterPaneVisible ?
963
+ &lt;PaneMenu&gt;
964
+ &lt;ExpandFilterPaneButton filterCount={filterCount} onClick={toggleFilterPane} /&gt;
965
+ &lt;/PaneMenu&gt; :
966
+ null
967
+ }
894
968
  id={`${id}-main-pane`}
969
+ lastMenu={mainPaneLastMenu ?
970
+ mainPaneLastMenu(internalStateProps) :
971
+ null
972
+ }
895
973
  noOverflow
896
974
  padContent={false}
897
975
  paneSub={
@@ -900,7 +978,7 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
900
978
  overrideValue: labelOverrides?.foundValues
901
979
  }, { total: data?.total })
902
980
  }
903
- {...mainPaneProps}
981
+ {...restOfMainPaneProps}
904
982
  &gt;
905
983
  &lt;Body
906
984
  data={data}
@@ -976,7 +1054,7 @@ export default SASQLookupComponent;
976
1054
  <div class='footer quiet pad2 space-top1 center small'>
977
1055
  Code coverage generated by
978
1056
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
979
- at 2022-12-09T15:17:50.295Z
1057
+ at 2023-02-08T10:17:09.386Z
980
1058
  </div>
981
1059
  <script src="../prettify.js"></script>
982
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 2022-12-09T15:17:50.295Z
388
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
76
+ at 2023-02-08T10:17:09.386Z
77
77
  </div>
78
78
  <script src="../../prettify.js"></script>
79
79
  <script>
@@ -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/46</span>
28
+ <span class='fraction'>0/47</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/35</span>
35
+ <span class='fraction'>0/43</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/11</span>
42
+ <span class='fraction'>0/9</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/45</span>
49
+ <span class='fraction'>0/46</span>
50
50
  </div>
51
51
 
52
52
 
@@ -84,13 +84,13 @@
84
84
  <div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
85
85
  </td>
86
86
  <td data-value="0" class="pct low">0%</td>
87
- <td data-value="46" class="abs low">0/46</td>
87
+ <td data-value="47" class="abs low">0/47</td>
88
88
  <td data-value="0" class="pct low">0%</td>
89
- <td data-value="35" class="abs low">0/35</td>
89
+ <td data-value="43" class="abs low">0/43</td>
90
90
  <td data-value="0" class="pct low">0%</td>
91
- <td data-value="11" class="abs low">0/11</td>
91
+ <td data-value="9" class="abs low">0/9</td>
92
92
  <td data-value="0" class="pct low">0%</td>
93
- <td data-value="45" class="abs low">0/45</td>
93
+ <td data-value="46" class="abs low">0/46</td>
94
94
  </tr>
95
95
 
96
96
  <tr>
@@ -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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
79
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
334
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
76
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
295
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
76
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
202
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
76
+ at 2023-02-08T10:17:09.386Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -104,7 +104,9 @@
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></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
109
+ <span class="cline-any cline-neutral">&nbsp;</span>
108
110
  <span class="cline-any cline-neutral">&nbsp;</span>
109
111
  <span class="cline-any cline-neutral">&nbsp;</span>
110
112
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -150,7 +152,8 @@ import PropTypes from 'prop-types';
150
152
  &nbsp;
151
153
  import { EditableSettingsList } from '../EditableSettingsList';
152
154
  import { SettingsContext } from '../contexts';
153
- import { useSettingSection } from '../hooks';
155
+ // Importing directly here to avoid cyclic dependency
156
+ import useSettingSection from '../settingsHooks/useSettingSection';
154
157
  &nbsp;
155
158
  const SettingPage = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
156
159
  intlKey: passedIntlKey,
@@ -193,7 +196,7 @@ export default SettingPage;
193
196
  <div class='footer quiet pad2 space-top1 center small'>
194
197
  Code coverage generated by
195
198
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at 2022-12-09T15:17:50.295Z
199
+ at 2023-02-08T10:17:09.386Z
197
200
  </div>
198
201
  <script src="../prettify.js"></script>
199
202
  <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 2022-12-09T15:17:50.295Z
196
+ at 2023-02-08T10:17:09.386Z
197
197
  </div>
198
198
  <script src="../prettify.js"></script>
199
199
  <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 2022-12-09T15:17:50.295Z
134
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
79
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
901
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
119
+ at 2023-02-08T10:17:09.386Z
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 2022-12-09T15:17:50.295Z
76
+ at 2023-02-08T10:17:09.386Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>