@k-int/stripes-kint-components 3.0.4 → 3.1.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 (317) hide show
  1. package/CHANGELOG.md +10 -10
  2. package/LICENSE +201 -0
  3. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +6 -19
  4. package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -182
  5. package/es/artifacts/coverage-jest/lcov-report/sorter.js +64 -94
  6. package/es/index.js +13 -27
  7. package/es/lib/ActionList/ActionList.js +20 -40
  8. package/es/lib/ActionList/ActionListFieldArray.js +67 -129
  9. package/es/lib/ActionList/index.js +0 -2
  10. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +34 -61
  11. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +2 -9
  12. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +92 -138
  13. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +3 -18
  14. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +18 -51
  15. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +13 -35
  16. package/es/lib/CustomProperties/Config/CustomPropertyView.js +5 -14
  17. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -23
  18. package/es/lib/CustomProperties/Config/index.js +0 -5
  19. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +8 -14
  20. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -9
  21. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +25 -35
  22. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -9
  23. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +32 -75
  24. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +3 -20
  25. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +34 -91
  26. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +6 -33
  27. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +15 -27
  28. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -13
  29. package/es/lib/CustomProperties/Edit/index.js +0 -6
  30. package/es/lib/CustomProperties/Edit/testResources.js +0 -3
  31. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +35 -67
  32. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +2 -19
  33. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +13 -42
  34. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -12
  35. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +6 -18
  36. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -19
  37. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +10 -23
  38. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +2 -19
  39. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +13 -31
  40. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -32
  41. package/es/lib/CustomProperties/Filter/index.js +0 -7
  42. package/es/lib/CustomProperties/Filter/testResources.js +0 -3
  43. package/es/lib/CustomProperties/Filter/useOperators.js +5 -19
  44. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +3 -15
  45. package/es/lib/CustomProperties/Filter/useValueProps.js +5 -22
  46. package/es/lib/CustomProperties/View/CustomPropertiesView.js +8 -14
  47. package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -10
  48. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +45 -62
  49. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -13
  50. package/es/lib/CustomProperties/View/CustomPropertyCard.js +11 -33
  51. package/es/lib/CustomProperties/View/index.js +0 -4
  52. package/es/lib/CustomProperties/index.js +0 -4
  53. package/es/lib/CycleButton/CycleButton.js +8 -33
  54. package/es/lib/CycleButton/index.js +0 -2
  55. package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +87 -132
  56. package/es/lib/EditableRefdataCategoryList/index.js +0 -2
  57. package/es/lib/EditableRefdataList/EditableRefdataList.js +92 -140
  58. package/es/lib/EditableRefdataList/index.js +0 -2
  59. package/es/lib/EditableSettingsList/EditableSettingsList.js +7 -17
  60. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +6 -19
  61. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +4 -19
  62. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +7 -29
  63. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +19 -26
  64. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +6 -23
  65. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +14 -35
  66. package/es/lib/EditableSettingsList/SettingField/SettingField.js +18 -55
  67. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +1 -34
  68. package/es/lib/EditableSettingsList/SettingField/index.js +0 -4
  69. package/es/lib/EditableSettingsList/index.js +0 -4
  70. package/es/lib/FormModal/FormModal.js +16 -35
  71. package/es/lib/FormModal/index.js +0 -2
  72. package/es/lib/FormattedKintMessage/FormattedKintMessage.js +10 -31
  73. package/es/lib/FormattedKintMessage/index.js +0 -2
  74. package/es/lib/IconSelect/IconSelect.js +26 -63
  75. package/es/lib/IconSelect/index.js +0 -2
  76. package/es/lib/NoResultsMessage/NoResultsMessage.js +18 -28
  77. package/es/lib/NoResultsMessage/index.js +0 -2
  78. package/es/lib/QueryTypedown/QueryTypedown.js +9 -36
  79. package/es/lib/QueryTypedown/index.js +0 -2
  80. package/es/lib/RefdataButtons/RefdataButtons.js +5 -24
  81. package/es/lib/RefdataButtons/index.js +0 -2
  82. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +148 -0
  83. package/es/lib/ResponsiveButtonGroup/index.js +13 -0
  84. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +74 -0
  85. package/es/lib/RichSelect/RichSelect.js +37 -65
  86. package/es/lib/RichSelect/index.js +0 -3
  87. package/es/lib/RichSelect/useSelectedOption.js +3 -14
  88. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +75 -93
  89. package/es/lib/SASQLookupComponent/TableBody/TableBody.js +20 -33
  90. package/es/lib/SASQLookupComponent/TableBody/index.js +0 -2
  91. package/es/lib/SASQLookupComponent/index.js +0 -3
  92. package/es/lib/SASQRoute/SASQRoute.js +21 -29
  93. package/es/lib/SASQRoute/index.js +0 -2
  94. package/es/lib/SASQViewComponent/SASQViewComponent.js +37 -41
  95. package/es/lib/SASQViewComponent/index.js +0 -2
  96. package/es/lib/SearchField/SearchField.js +1 -17
  97. package/es/lib/SearchField/index.js +0 -2
  98. package/es/lib/SettingPage/SettingPage.js +10 -25
  99. package/es/lib/SettingPage/SettingPagePane.js +3 -11
  100. package/es/lib/SettingPage/index.js +0 -3
  101. package/es/lib/Typedown/Typedown.js +51 -82
  102. package/es/lib/Typedown/index.js +0 -2
  103. package/es/lib/contexts/SettingsContext.js +0 -2
  104. package/es/lib/contexts/index.js +0 -2
  105. package/es/lib/hooks/__mocks__/index.js +0 -5
  106. package/es/lib/hooks/index.js +7 -18
  107. package/es/lib/hooks/settingsHooks/index.js +0 -4
  108. package/es/lib/hooks/settingsHooks/useAppSettings.js +6 -27
  109. package/es/lib/hooks/settingsHooks/useSettingSection.js +10 -20
  110. package/es/lib/hooks/settingsHooks/useSettings.js +13 -44
  111. package/es/lib/hooks/typedownHooks/index.js +0 -4
  112. package/es/lib/hooks/typedownHooks/useTypedown.js +17 -37
  113. package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -26
  114. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +5 -19
  115. package/es/lib/hooks/useActiveElement.js +3 -15
  116. package/es/lib/hooks/useCustomProperties.js +11 -25
  117. package/es/lib/hooks/useHelperApp.js +7 -30
  118. package/es/lib/hooks/useIntlKey.js +0 -7
  119. package/es/lib/hooks/useIntlKeyStore.js +2 -24
  120. package/es/lib/hooks/useInvalidateRefdata.js +0 -4
  121. package/es/lib/hooks/useKintIntl.js +13 -32
  122. package/es/lib/hooks/useKiwtFieldArray.js +5 -29
  123. package/es/lib/hooks/useKiwtSASQuery.js +12 -37
  124. package/es/lib/hooks/useLocalStorageState.js +5 -21
  125. package/es/lib/hooks/useMutateCustomProperties.js +11 -28
  126. package/es/lib/hooks/useMutateRefdataCategory.js +9 -29
  127. package/es/lib/hooks/useMutateRefdataValue.js +10 -27
  128. package/es/lib/hooks/useQIndex.js +3 -27
  129. package/es/lib/hooks/useRefdata.js +7 -16
  130. package/es/lib/hooks/useSASQQueryMeta.js +41 -0
  131. package/es/lib/hooks/useTemplates.js +6 -17
  132. package/es/lib/utils/buildUrl.js +1 -10
  133. package/es/lib/utils/generateKiwtQuery.js +0 -4
  134. package/es/lib/utils/generateKiwtQueryParams.js +24 -62
  135. package/es/lib/utils/groupCustomPropertiesByCtx.js +0 -14
  136. package/es/lib/utils/highlightString.js +6 -23
  137. package/es/lib/utils/index.js +0 -15
  138. package/es/lib/utils/matchString.js +0 -6
  139. package/es/lib/utils/parseErrorResponse.js +1 -23
  140. package/es/lib/utils/refdataQueryKey.js +0 -4
  141. package/es/lib/utils/selectorSafe.js +0 -2
  142. package/es/lib/utils/sortByLabel.js +0 -6
  143. package/es/lib/utils/toCamelCase.js +6 -5
  144. package/es/lib/utils/typedownQueryKey.js +0 -4
  145. package/es/lib/utils/validators.js +5 -38
  146. package/junit.xml +150 -150
  147. package/package.json +2 -2
  148. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
  151. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  152. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  153. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +4 -4
  154. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
  155. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
  156. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +5 -5
  157. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  158. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +1 -1
  159. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
  160. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
  161. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +29 -92
  162. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
  163. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +19 -19
  164. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  165. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
  166. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +1 -1
  167. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
  168. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
  169. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
  170. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
  171. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
  172. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  173. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +1 -1
  174. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
  175. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
  176. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +1 -1
  177. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
  178. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +17 -17
  179. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +1 -1
  180. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +15 -15
  181. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  182. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  183. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  184. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  185. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
  186. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
  187. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
  188. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
  189. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +1 -1
  190. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
  191. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
  192. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
  193. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  194. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
  195. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
  196. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  197. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
  198. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
  199. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  200. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  201. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
  202. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  203. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
  204. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
  205. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  206. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
  207. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
  208. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
  209. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
  210. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
  211. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
  212. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +2 -2
  213. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  214. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  215. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  216. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  217. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  218. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
  219. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  220. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  221. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +535 -0
  222. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +146 -0
  223. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +88 -0
  224. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +253 -0
  225. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
  226. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
  227. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
  228. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
  229. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +99 -12
  230. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  231. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  232. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  233. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +9 -9
  234. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  235. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +53 -8
  236. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +7 -7
  237. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  238. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +65 -11
  239. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +9 -9
  240. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  241. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  242. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  243. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  244. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +1 -1
  245. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  246. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
  247. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  248. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  249. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  250. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  251. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  252. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  253. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  254. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  255. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  256. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  257. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +24 -9
  258. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +5 -2
  259. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
  260. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  261. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +1 -1
  262. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
  263. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +1 -1
  264. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  265. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  266. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  267. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  268. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  269. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  270. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  271. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
  272. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
  273. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +3 -3
  274. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
  275. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
  276. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  277. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  278. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  279. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  280. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
  281. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  282. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  283. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  284. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +187 -0
  285. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  286. package/src/artifacts/coverage-jest/lcov-report/index.html +74 -59
  287. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  288. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
  289. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
  290. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +2 -2
  291. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
  292. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +20 -20
  293. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
  294. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
  295. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +2 -2
  296. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  297. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
  298. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
  299. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
  300. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
  301. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
  302. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +39 -39
  303. package/src/artifacts/coverage-jest/lcov.info +567 -359
  304. package/src/index.js +4 -1
  305. package/src/lib/CustomProperties/Edit/CustomPropertyField.js +0 -7
  306. package/src/lib/NoResultsMessage/NoResultsMessage.js +1 -1
  307. package/src/lib/ResponsiveButtonGroup/README.md +31 -0
  308. package/src/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +150 -0
  309. package/src/lib/ResponsiveButtonGroup/index.js +1 -0
  310. package/src/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +56 -0
  311. package/src/lib/SASQLookupComponent/SASQLookupComponent.js +34 -5
  312. package/src/lib/SASQRoute/SASQRoute.js +18 -3
  313. package/src/lib/SASQViewComponent/SASQViewComponent.js +23 -5
  314. package/src/lib/hooks/index.js +1 -0
  315. package/src/lib/hooks/useSASQQueryMeta.js +34 -0
  316. package/styles/ResponsiveButtonGroup.css +79 -0
  317. package/yarn-error.log +147 -0
@@ -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/39</span>
28
+ <span class='fraction'>0/46</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/31</span>
35
+ <span class='fraction'>0/35</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/10</span>
42
+ <span class='fraction'>0/11</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/38</span>
49
+ <span class='fraction'>0/45</span>
50
50
  </div>
51
51
 
52
52
 
@@ -336,7 +336,38 @@
336
336
  <a name='L271'></a><a href='#L271'>271</a>
337
337
  <a name='L272'></a><a href='#L272'>272</a>
338
338
  <a name='L273'></a><a href='#L273'>273</a>
339
- <a name='L274'></a><a href='#L274'>274</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
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>
343
+ <a name='L278'></a><a href='#L278'>278</a>
344
+ <a name='L279'></a><a href='#L279'>279</a>
345
+ <a name='L280'></a><a href='#L280'>280</a>
346
+ <a name='L281'></a><a href='#L281'>281</a>
347
+ <a name='L282'></a><a href='#L282'>282</a>
348
+ <a name='L283'></a><a href='#L283'>283</a>
349
+ <a name='L284'></a><a href='#L284'>284</a>
350
+ <a name='L285'></a><a href='#L285'>285</a>
351
+ <a name='L286'></a><a href='#L286'>286</a>
352
+ <a name='L287'></a><a href='#L287'>287</a>
353
+ <a name='L288'></a><a href='#L288'>288</a>
354
+ <a name='L289'></a><a href='#L289'>289</a>
355
+ <a name='L290'></a><a href='#L290'>290</a>
356
+ <a name='L291'></a><a href='#L291'>291</a>
357
+ <a name='L292'></a><a href='#L292'>292</a>
358
+ <a name='L293'></a><a href='#L293'>293</a>
359
+ <a name='L294'></a><a href='#L294'>294</a>
360
+ <a name='L295'></a><a href='#L295'>295</a>
361
+ <a name='L296'></a><a href='#L296'>296</a>
362
+ <a name='L297'></a><a href='#L297'>297</a>
363
+ <a name='L298'></a><a href='#L298'>298</a>
364
+ <a name='L299'></a><a href='#L299'>299</a>
365
+ <a name='L300'></a><a href='#L300'>300</a>
366
+ <a name='L301'></a><a href='#L301'>301</a>
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>
369
+ <span class="cline-any cline-neutral">&nbsp;</span>
370
+ <span class="cline-any cline-neutral">&nbsp;</span>
340
371
  <span class="cline-any cline-neutral">&nbsp;</span>
341
372
  <span class="cline-any cline-neutral">&nbsp;</span>
342
373
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -379,6 +410,9 @@
379
410
  <span class="cline-any cline-neutral">&nbsp;</span>
380
411
  <span class="cline-any cline-neutral">&nbsp;</span>
381
412
  <span class="cline-any cline-neutral">&nbsp;</span>
413
+ <span class="cline-any cline-neutral">&nbsp;</span>
414
+ <span class="cline-any cline-neutral">&nbsp;</span>
415
+ <span class="cline-any cline-neutral">&nbsp;</span>
382
416
  <span class="cline-any cline-no">&nbsp;</span>
383
417
  <span class="cline-any cline-no">&nbsp;</span>
384
418
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -397,10 +431,26 @@
397
431
  <span class="cline-any cline-no">&nbsp;</span>
398
432
  <span class="cline-any cline-no">&nbsp;</span>
399
433
  <span class="cline-any cline-neutral">&nbsp;</span>
434
+ <span class="cline-any cline-no">&nbsp;</span>
435
+ <span class="cline-any cline-no">&nbsp;</span>
436
+ <span class="cline-any cline-no">&nbsp;</span>
437
+ <span class="cline-any cline-neutral">&nbsp;</span>
438
+ <span class="cline-any cline-no">&nbsp;</span>
439
+ <span class="cline-any cline-no">&nbsp;</span>
440
+ <span class="cline-any cline-neutral">&nbsp;</span>
441
+ <span class="cline-any cline-neutral">&nbsp;</span>
442
+ <span class="cline-any cline-neutral">&nbsp;</span>
443
+ <span class="cline-any cline-neutral">&nbsp;</span>
444
+ <span class="cline-any cline-no">&nbsp;</span>
445
+ <span class="cline-any cline-neutral">&nbsp;</span>
400
446
  <span class="cline-any cline-neutral">&nbsp;</span>
401
447
  <span class="cline-any cline-neutral">&nbsp;</span>
402
448
  <span class="cline-any cline-neutral">&nbsp;</span>
403
449
  <span class="cline-any cline-no">&nbsp;</span>
450
+ <span class="cline-any cline-no">&nbsp;</span>
451
+ <span class="cline-any cline-neutral">&nbsp;</span>
452
+ <span class="cline-any cline-neutral">&nbsp;</span>
453
+ <span class="cline-any cline-neutral">&nbsp;</span>
404
454
  <span class="cline-any cline-neutral">&nbsp;</span>
405
455
  <span class="cline-any cline-neutral">&nbsp;</span>
406
456
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -466,6 +516,8 @@
466
516
  <span class="cline-any cline-neutral">&nbsp;</span>
467
517
  <span class="cline-any cline-neutral">&nbsp;</span>
468
518
  <span class="cline-any cline-neutral">&nbsp;</span>
519
+ <span class="cline-any cline-neutral">&nbsp;</span>
520
+ <span class="cline-any cline-neutral">&nbsp;</span>
469
521
  <span class="cline-any cline-no">&nbsp;</span>
470
522
  <span class="cline-any cline-neutral">&nbsp;</span>
471
523
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -482,6 +534,7 @@
482
534
  <span class="cline-any cline-neutral">&nbsp;</span>
483
535
  <span class="cline-any cline-neutral">&nbsp;</span>
484
536
  <span class="cline-any cline-neutral">&nbsp;</span>
537
+ <span class="cline-any cline-neutral">&nbsp;</span>
485
538
  <span class="cline-any cline-no">&nbsp;</span>
486
539
  <span class="cline-any cline-no">&nbsp;</span>
487
540
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -530,6 +583,7 @@
530
583
  <span class="cline-any cline-neutral">&nbsp;</span>
531
584
  <span class="cline-any cline-neutral">&nbsp;</span>
532
585
  <span class="cline-any cline-neutral">&nbsp;</span>
586
+ <span class="cline-any cline-neutral">&nbsp;</span>
533
587
  <span class="cline-any cline-no">&nbsp;</span>
534
588
  <span class="cline-any cline-neutral">&nbsp;</span>
535
589
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -573,6 +627,7 @@
573
627
  <span class="cline-any cline-neutral">&nbsp;</span>
574
628
  <span class="cline-any cline-neutral">&nbsp;</span>
575
629
  <span class="cline-any cline-neutral">&nbsp;</span>
630
+ <span class="cline-any cline-neutral">&nbsp;</span>
576
631
  <span class="cline-any cline-no">&nbsp;</span>
577
632
  <span class="cline-any cline-neutral">&nbsp;</span>
578
633
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -609,7 +664,12 @@
609
664
  <span class="cline-any cline-neutral">&nbsp;</span>
610
665
  <span class="cline-any cline-neutral">&nbsp;</span>
611
666
  <span class="cline-any cline-neutral">&nbsp;</span>
612
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
667
+ <span class="cline-any cline-neutral">&nbsp;</span>
668
+ <span class="cline-any cline-neutral">&nbsp;</span>
669
+ <span class="cline-any cline-neutral">&nbsp;</span>
670
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { forwardRef, useImperativeHandle } from 'react';
671
+ &nbsp;
672
+ import PropTypes from 'prop-types';
613
673
  import { FormattedMessage } from 'react-intl';
614
674
  import { useInfiniteQuery } from 'react-query';
615
675
  &nbsp;
@@ -637,21 +697,24 @@ import { useKintIntl, useKiwtSASQuery, useLocalStorageState } from '../hooks';
637
697
  &nbsp;
638
698
  import TableBody from './TableBody';
639
699
  &nbsp;
640
- const SASQLookupComponent = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(p</span>rops) =&gt; {</span>
700
+ const SASQLookupComponent = <span class="cstat-no" title="statement not covered" >forwardRef(<span class="fstat-no" title="function not covered" >(p</span>rops, ref) =&gt; {</span>
641
701
  const {
642
702
  children,
643
703
  fetchParameters = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
644
704
  FilterComponent = <span class="fstat-no" title="function not covered" ><span class="branch-0 cbranch-no" title="branch not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >null,</span></span>
645
705
  FilterPaneHeaderComponent = <span class="fstat-no" title="function not covered" ><span class="branch-0 cbranch-no" title="branch not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >null,</span></span>
646
- filterPaneProps,
706
+ filterPaneProps = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
647
707
  id,
648
708
  intlKey: passedIntlKey,
649
709
  intlNS: passedIntlNS,
650
710
  labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
651
711
  mainPaneProps,
652
712
  noSearchField,
713
+ persistedPanesetProps = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
653
714
  RenderBody,
654
715
  sasqProps,
716
+ searchFieldAriaLabel,
717
+ searchFieldProps
655
718
  } = <span class="cstat-no" title="statement not covered" >props;</span>
656
719
  const kintIntl = <span class="cstat-no" title="statement not covered" >useKintIntl(passedIntlKey, passedIntlNS);</span>
657
720
  &nbsp;
@@ -669,14 +732,30 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
669
732
  &nbsp;
670
733
  const [filterPaneVisible, setFilterPaneVisible] = <span class="cstat-no" title="statement not covered" >useLocalStorageState(filterPaneVisibileKey, true);</span>
671
734
  const toggleFilterPane = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >setFilterPaneVisible(!filterPaneVisible);</span></span>
735
+ &nbsp;
736
+ const queryNamespace = <span class="cstat-no" title="statement not covered" >[namespace, 'SASQ'];</span>
737
+ <span class="cstat-no" title="statement not covered" > if (id) {</span>
738
+ <span class="cstat-no" title="statement not covered" > queryNamespace.push(id);</span>
739
+ }
740
+ <span class="cstat-no" title="statement not covered" > queryNamespace.push('viewAll');</span>
741
+ <span class="cstat-no" title="statement not covered" > queryNamespace.push(query);</span>
672
742
  &nbsp;
673
743
  const {
674
744
  data: totalData = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
675
745
  ...restOfInfiniteQueryProps
676
746
  } = <span class="cstat-no" title="statement not covered" >useInfiniteQuery(</span>
677
- [namespace, id, 'data', query],
747
+ queryNamespace,
678
748
  fetchPageData
679
749
  );
750
+ &nbsp;
751
+ <span class="cstat-no" title="statement not covered" > useImperativeHandle(ref, <span class="fstat-no" title="function not covered" >()</span> =&gt; (</span>
752
+ <span class="cstat-no" title="statement not covered" > {</span>
753
+ lookupQueryProps: {
754
+ data: totalData,
755
+ ...restOfInfiniteQueryProps
756
+ }
757
+ }
758
+ ));
680
759
  &nbsp;
681
760
  const data = <span class="cstat-no" title="statement not covered" >totalData.pages?.reduce(</span>
682
761
  <span class="fstat-no" title="function not covered" > (a</span>cc, curr) =&gt; {
@@ -731,10 +810,12 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
731
810
  &lt;PersistedPaneset
732
811
  appId={namespace}
733
812
  id={`${id}-paneset`}
813
+ {...persistedPanesetProps}
734
814
  &gt;
735
815
  {filterPaneVisible &amp;&amp;
736
816
  &lt;Pane
737
817
  defaultWidth="20%"
818
+ id={`${id}-filter-pane`}
738
819
  lastMenu={
739
820
  &lt;PaneMenu&gt;
740
821
  &lt;IconButton
@@ -751,6 +832,7 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
751
832
  {!noSearchField &amp;&amp;
752
833
  &lt;&gt;
753
834
  &lt;SearchField
835
+ ariaLabel={searchFieldAriaLabel}
754
836
  autoFocus
755
837
  id={`sasq-search-field-${id}`}
756
838
  name="query"
@@ -763,6 +845,7 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
763
845
  }}
764
846
  onClear={searchHandlers.reset}
765
847
  value={searchValue.query}
848
+ {...searchFieldProps}
766
849
  /&gt;
767
850
  &lt;Button
768
851
  buttonStyle="primary"
@@ -808,6 +891,7 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
808
891
  &lt;/PaneMenu&gt;
809
892
  :
810
893
  null}
894
+ id={`${id}-main-pane`}
811
895
  noOverflow
812
896
  padContent={false}
813
897
  paneSub={
@@ -844,7 +928,7 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
844
928
  }
845
929
  &lt;/SearchAndSortQuery&gt;
846
930
  );
847
- };
931
+ });
848
932
  &nbsp;
849
933
  <span class="cstat-no" title="statement not covered" >SASQLookupComponent.propTypes = {</span>
850
934
  children: PropTypes.oneOfType([
@@ -872,13 +956,16 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
872
956
  mclProps: PropTypes.object,
873
957
  noSearchField: PropTypes.bool,
874
958
  path: PropTypes.string.isRequired,
959
+ persistedPanesetProps: PropTypes.object,
875
960
  RenderBody: PropTypes.oneOfType([
876
961
  PropTypes.func,
877
962
  PropTypes.node
878
963
  ]),
879
964
  resource: PropTypes.object,
880
965
  resultColumns: PropTypes.arrayOf(PropTypes.object),
881
- sasqProps: PropTypes.object
966
+ sasqProps: PropTypes.object,
967
+ searchFieldAriaLabel: PropTypes.string,
968
+ searchFieldProps: PropTypes.object
882
969
  };
883
970
  &nbsp;
884
971
  export default SASQLookupComponent;
@@ -889,7 +976,7 @@ export default SASQLookupComponent;
889
976
  <div class='footer quiet pad2 space-top1 center small'>
890
977
  Code coverage generated by
891
978
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
892
- at 2022-09-16T13:23:25.290Z
979
+ at 2022-11-03T13:44:33.087Z
893
980
  </div>
894
981
  <script src="../prettify.js"></script>
895
982
  <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-09-16T13:23:25.290Z
388
+ at 2022-11-03T13:44:33.087Z
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-09-16T13:23:25.290Z
119
+ at 2022-11-03T13:44:33.087Z
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-09-16T13:23:25.290Z
76
+ at 2022-11-03T13:44:33.087Z
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/39</span>
28
+ <span class='fraction'>0/46</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/31</span>
35
+ <span class='fraction'>0/35</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/10</span>
42
+ <span class='fraction'>0/11</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/38</span>
49
+ <span class='fraction'>0/45</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="39" class="abs low">0/39</td>
87
+ <td data-value="46" class="abs low">0/46</td>
88
88
  <td data-value="0" class="pct low">0%</td>
89
- <td data-value="31" class="abs low">0/31</td>
89
+ <td data-value="35" class="abs low">0/35</td>
90
90
  <td data-value="0" class="pct low">0%</td>
91
- <td data-value="10" class="abs low">0/10</td>
91
+ <td data-value="11" class="abs low">0/11</td>
92
92
  <td data-value="0" class="pct low">0%</td>
93
- <td data-value="38" class="abs low">0/38</td>
93
+ <td data-value="45" class="abs low">0/45</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-09-16T13:23:25.290Z
119
+ at 2022-11-03T13:44:33.087Z
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-09-16T13:23:25.290Z
79
+ at 2022-11-03T13:44:33.087Z
80
80
  </div>
81
81
  <script src="../prettify.js"></script>
82
82
  <script>
@@ -25,7 +25,7 @@
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/10</span>
28
+ <span class='fraction'>0/14</span>
29
29
  </div>
30
30
 
31
31
 
@@ -39,14 +39,14 @@
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/3</span>
42
+ <span class='fraction'>0/4</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/10</span>
49
+ <span class='fraction'>0/13</span>
50
50
  </div>
51
51
 
52
52
 
@@ -135,7 +135,22 @@
135
135
  <a name='L70'></a><a href='#L70'>70</a>
136
136
  <a name='L71'></a><a href='#L71'>71</a>
137
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>
138
+ <a name='L73'></a><a href='#L73'>73</a>
139
+ <a name='L74'></a><a href='#L74'>74</a>
140
+ <a name='L75'></a><a href='#L75'>75</a>
141
+ <a name='L76'></a><a href='#L76'>76</a>
142
+ <a name='L77'></a><a href='#L77'>77</a>
143
+ <a name='L78'></a><a href='#L78'>78</a>
144
+ <a name='L79'></a><a href='#L79'>79</a>
145
+ <a name='L80'></a><a href='#L80'>80</a>
146
+ <a name='L81'></a><a href='#L81'>81</a>
147
+ <a name='L82'></a><a href='#L82'>82</a>
148
+ <a name='L83'></a><a href='#L83'>83</a>
149
+ <a name='L84'></a><a href='#L84'>84</a>
150
+ <a name='L85'></a><a href='#L85'>85</a>
151
+ <a name='L86'></a><a href='#L86'>86</a>
152
+ <a name='L87'></a><a href='#L87'>87</a>
153
+ <a name='L88'></a><a href='#L88'>88</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
139
154
  <span class="cline-any cline-neutral">&nbsp;</span>
140
155
  <span class="cline-any cline-neutral">&nbsp;</span>
141
156
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -148,11 +163,24 @@
148
163
  <span class="cline-any cline-neutral">&nbsp;</span>
149
164
  <span class="cline-any cline-no">&nbsp;</span>
150
165
  <span class="cline-any cline-neutral">&nbsp;</span>
166
+ <span class="cline-any cline-neutral">&nbsp;</span>
167
+ <span class="cline-any cline-neutral">&nbsp;</span>
168
+ <span class="cline-any cline-neutral">&nbsp;</span>
169
+ <span class="cline-any cline-neutral">&nbsp;</span>
170
+ <span class="cline-any cline-neutral">&nbsp;</span>
151
171
  <span class="cline-any cline-no">&nbsp;</span>
152
172
  <span class="cline-any cline-neutral">&nbsp;</span>
153
173
  <span class="cline-any cline-no">&nbsp;</span>
154
174
  <span class="cline-any cline-no">&nbsp;</span>
155
175
  <span class="cline-any cline-neutral">&nbsp;</span>
176
+ <span class="cline-any cline-no">&nbsp;</span>
177
+ <span class="cline-any cline-neutral">&nbsp;</span>
178
+ <span class="cline-any cline-neutral">&nbsp;</span>
179
+ <span class="cline-any cline-neutral">&nbsp;</span>
180
+ <span class="cline-any cline-neutral">&nbsp;</span>
181
+ <span class="cline-any cline-no">&nbsp;</span>
182
+ <span class="cline-any cline-no">&nbsp;</span>
183
+ <span class="cline-any cline-neutral">&nbsp;</span>
156
184
  <span class="cline-any cline-neutral">&nbsp;</span>
157
185
  <span class="cline-any cline-no">&nbsp;</span>
158
186
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -175,6 +203,7 @@
175
203
  <span class="cline-any cline-neutral">&nbsp;</span>
176
204
  <span class="cline-any cline-neutral">&nbsp;</span>
177
205
  <span class="cline-any cline-neutral">&nbsp;</span>
206
+ <span class="cline-any cline-neutral">&nbsp;</span>
178
207
  <span class="cline-any cline-no">&nbsp;</span>
179
208
  <span class="cline-any cline-neutral">&nbsp;</span>
180
209
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -192,6 +221,7 @@
192
221
  <span class="cline-any cline-neutral">&nbsp;</span>
193
222
  <span class="cline-any cline-neutral">&nbsp;</span>
194
223
  <span class="cline-any cline-neutral">&nbsp;</span>
224
+ <span class="cline-any cline-neutral">&nbsp;</span>
195
225
  <span class="cline-any cline-no">&nbsp;</span>
196
226
  <span class="cline-any cline-neutral">&nbsp;</span>
197
227
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -207,7 +237,7 @@
207
237
  <span class="cline-any cline-neutral">&nbsp;</span>
208
238
  <span class="cline-any cline-neutral">&nbsp;</span>
209
239
  <span class="cline-any cline-neutral">&nbsp;</span>
210
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
240
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { forwardRef, useImperativeHandle, useRef } from 'react';
211
241
  import PropTypes from 'prop-types';
212
242
  &nbsp;
213
243
  import {
@@ -218,9 +248,22 @@ import {
218
248
  import { SASQLookupComponent } from '../SASQLookupComponent';
219
249
  import SASQViewComponent from '../SASQViewComponent';
220
250
  &nbsp;
221
- const SASQRoute = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span> children, path, fetchParameters, ...props }) =&gt; {</span>
251
+ const SASQRoute = <span class="cstat-no" title="statement not covered" >forwardRef(<span class="fstat-no" title="function not covered" >({</span></span>
252
+ children,
253
+ fetchParameters,
254
+ path,
255
+ ...props
256
+ }, ref) =&gt; {
222
257
  // Grab the SASQ_MAP and tweak it
223
258
  const { SASQ_MAP = <span class="branch-0 cbranch-no" title="branch not covered" >{} </span>} = <span class="cstat-no" title="statement not covered" >fetchParameters;</span>
259
+ &nbsp;
260
+ const lookupRef = <span class="cstat-no" title="statement not covered" >useRef();</span>
261
+ const viewRef = <span class="cstat-no" title="statement not covered" >useRef();</span>
262
+ &nbsp;
263
+ <span class="cstat-no" title="statement not covered" > useImperativeHandle(ref, <span class="fstat-no" title="function not covered" >()</span> =&gt; (<span class="cstat-no" title="statement not covered" >{</span></span>
264
+ ...lookupRef.current,
265
+ ...viewRef.current
266
+ }));
224
267
  &nbsp;
225
268
  <span class="cstat-no" title="statement not covered" > if (!SASQ_MAP.perPage) {</span>
226
269
  <span class="cstat-no" title="statement not covered" > SASQ_MAP.perPage = 25;</span>
@@ -237,6 +280,7 @@ const SASQRoute = <span class="cstat-no" title="statement not covered" ><span cl
237
280
  render={<span class="fstat-no" title="function not covered" >ro</span>uteProps =&gt; {
238
281
  <span class="cstat-no" title="statement not covered" > return (</span>
239
282
  &lt;SASQLookupComponent
283
+ ref={lookupRef}
240
284
  {...routeProps}
241
285
  fetchParameters={fetchParameters}
242
286
  path={path}
@@ -248,6 +292,7 @@ const SASQRoute = <span class="cstat-no" title="statement not covered" ><span cl
248
292
  path={`${path}/:id`}
249
293
  render={<span class="fstat-no" title="function not covered" >in</span>nerProps =&gt; (
250
294
  <span class="cstat-no" title="statement not covered" > &lt;SASQViewComponent</span>
295
+ ref={viewRef}
251
296
  {...innerProps}
252
297
  fetchParameters={fetchParameters}
253
298
  path={path}
@@ -262,7 +307,7 @@ const SASQRoute = <span class="cstat-no" title="statement not covered" ><span cl
262
307
  }}
263
308
  /&gt;
264
309
  );
265
- };
310
+ });
266
311
  &nbsp;
267
312
  <span class="cstat-no" title="statement not covered" >SASQRoute.propTypes = {</span>
268
313
  children: PropTypes.oneOfType([
@@ -286,7 +331,7 @@ export default SASQRoute;
286
331
  <div class='footer quiet pad2 space-top1 center small'>
287
332
  Code coverage generated by
288
333
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
289
- at 2022-09-16T13:23:25.290Z
334
+ at 2022-11-03T13:44:33.087Z
290
335
  </div>
291
336
  <script src="../prettify.js"></script>
292
337
  <script>
@@ -25,7 +25,7 @@
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/10</span>
28
+ <span class='fraction'>0/14</span>
29
29
  </div>
30
30
 
31
31
 
@@ -39,14 +39,14 @@
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/3</span>
42
+ <span class='fraction'>0/4</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/10</span>
49
+ <span class='fraction'>0/13</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="10" class="abs low">0/10</td>
87
+ <td data-value="14" class="abs low">0/14</td>
88
88
  <td data-value="0" class="pct low">0%</td>
89
89
  <td data-value="3" class="abs low">0/3</td>
90
90
  <td data-value="0" class="pct low">0%</td>
91
- <td data-value="3" class="abs low">0/3</td>
91
+ <td data-value="4" class="abs low">0/4</td>
92
92
  <td data-value="0" class="pct low">0%</td>
93
- <td data-value="10" class="abs low">0/10</td>
93
+ <td data-value="13" class="abs low">0/13</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-09-16T13:23:25.290Z
119
+ at 2022-11-03T13:44:33.087Z
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-09-16T13:23:25.290Z
76
+ at 2022-11-03T13:44:33.087Z
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>