@k-int/stripes-kint-components 4.7.2 → 4.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/es/index.js +2 -2
  3. package/es/lib/ActionList/ActionList.js +3 -4
  4. package/es/lib/ActionList/ActionListFieldArray.js +32 -36
  5. package/es/lib/ComboButton/ComboButton.js +6 -8
  6. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +5 -9
  7. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +30 -34
  8. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +59 -60
  9. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +2 -2
  10. package/es/lib/CustomProperties/Config/CustomPropertyView.js +33 -35
  11. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -1
  12. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +2 -3
  13. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +4 -5
  14. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +6 -12
  15. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +21 -29
  16. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +5 -5
  17. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +3 -4
  18. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -3
  19. package/es/lib/CustomProperties/Edit/testResources.js +14 -17
  20. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +7 -13
  21. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +21 -30
  22. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -1
  23. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +7 -8
  24. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -2
  25. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +9 -10
  26. package/es/lib/CustomProperties/Filter/testResources.js +5 -9
  27. package/es/lib/CustomProperties/Filter/useOperators.js +3 -4
  28. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -4
  29. package/es/lib/CustomProperties/Filter/useValueProps.js +3 -4
  30. package/es/lib/CustomProperties/View/CustomPropertiesView.js +2 -3
  31. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +19 -28
  32. package/es/lib/CustomProperties/View/CustomPropertyCard.js +10 -15
  33. package/es/lib/CustomProperties/View/testResources.js +5 -9
  34. package/es/lib/CycleButton/CycleButton.js +2 -3
  35. package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +24 -36
  36. package/es/lib/EditableRefdataList/EditableRefdataList.js +29 -37
  37. package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -2
  38. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +2 -3
  39. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +6 -7
  40. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +11 -14
  41. package/es/lib/EditableSettingsList/SettingField/SettingField.js +7 -8
  42. package/es/lib/FormModal/FormModal.js +1 -2
  43. package/es/lib/FormattedKintMessage/FormattedKintMessage.js +5 -9
  44. package/es/lib/IconSelect/IconSelect.js +8 -13
  45. package/es/lib/NoResultsMessage/NoResultsMessage.js +5 -6
  46. package/es/lib/QueryTypedown/QueryTypedown.js +3 -4
  47. package/es/lib/RefdataButtons/RefdataButtons.js +4 -5
  48. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +22 -30
  49. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +6 -8
  50. package/es/lib/RichSelect/RichSelect.js +15 -21
  51. package/es/lib/RichSelect/useSelectedOption.js +2 -4
  52. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +15 -19
  53. package/es/lib/SASQLookupComponent/TableBody/TableBody.js +5 -8
  54. package/es/lib/SASQRoute/SASQRoute.js +3 -4
  55. package/es/lib/SASQViewComponent/SASQViewComponent.js +6 -11
  56. package/es/lib/SearchField/SearchField.js +1 -2
  57. package/es/lib/SettingPage/SettingPage.js +3 -4
  58. package/es/lib/SettingPage/SettingPagePane.js +3 -4
  59. package/es/lib/SettingsFormContainer/SettingsFormContainer.js +3 -4
  60. package/es/lib/Typedown/Typedown.js +22 -30
  61. package/es/lib/constants/customProperties.js +11 -22
  62. package/es/lib/constants/endpoints.js +1 -2
  63. package/es/lib/constants/eventCodes.js +3 -6
  64. package/es/lib/contexts/SettingsContext.js +1 -2
  65. package/es/lib/hooks/typedownHooks/useTypedown.js +3 -4
  66. package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -2
  67. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +3 -4
  68. package/es/lib/hooks/useActiveElement.js +2 -3
  69. package/es/lib/hooks/useCustomProperties.js +3 -4
  70. package/es/lib/hooks/useHelperApp.js +9 -10
  71. package/es/lib/hooks/useIntlKey.js +1 -2
  72. package/es/lib/hooks/useIntlKeyStore.js +5 -9
  73. package/es/lib/hooks/useInvalidateRefdata.js +1 -2
  74. package/es/lib/hooks/useKintIntl.js +6 -13
  75. package/es/lib/hooks/useKiwtFieldArray.js +1 -2
  76. package/es/lib/hooks/useKiwtSASQuery.js +4 -5
  77. package/es/lib/hooks/useLocalStorageState.js +3 -4
  78. package/es/lib/hooks/useModConfigEntries.js +3 -4
  79. package/es/lib/hooks/useMutateCustomProperties.js +9 -10
  80. package/es/lib/hooks/useMutateModConfigEntry.js +3 -4
  81. package/es/lib/hooks/useMutateRefdataCategory.js +5 -6
  82. package/es/lib/hooks/useMutateRefdataValue.js +7 -8
  83. package/es/lib/hooks/useQIndex.js +8 -9
  84. package/es/lib/hooks/useRefdata.js +4 -5
  85. package/es/lib/hooks/useSASQQueryMeta.js +1 -2
  86. package/es/lib/hooks/useTemplates.js +5 -6
  87. package/es/lib/settingsHooks/useAppSettings.js +8 -13
  88. package/es/lib/settingsHooks/useSettingSection.js +3 -4
  89. package/es/lib/settingsHooks/useSettings.js +4 -5
  90. package/es/lib/utils/buildUrl.js +1 -1
  91. package/es/lib/utils/generateKiwtQuery.js +1 -2
  92. package/es/lib/utils/generateKiwtQueryParams.js +28 -38
  93. package/es/lib/utils/groupCustomPropertiesByCtx.js +3 -5
  94. package/es/lib/utils/matchString.js +2 -3
  95. package/es/lib/utils/modConfigEntriesQueryKey.js +1 -2
  96. package/es/lib/utils/parseErrorResponse.js +3 -5
  97. package/es/lib/utils/parseKiwtQueryGroups.js +5 -7
  98. package/es/lib/utils/parseModConfigEntry.js +1 -2
  99. package/es/lib/utils/refdataOptions.js +2 -3
  100. package/es/lib/utils/refdataQueryKey.js +1 -2
  101. package/es/lib/utils/selectorSafe.js +4 -6
  102. package/es/lib/utils/sortByLabel.js +3 -5
  103. package/es/lib/utils/toCamelCase.js +1 -2
  104. package/es/lib/utils/typedownQueryKey.js +1 -2
  105. package/es/lib/validators/validators.js +3 -3
  106. package/package.json +12 -2
  107. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -69
  108. package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -814
  109. package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -181
  110. package/junit.xml +0 -293
  111. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -373
  112. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -1465
  113. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
  114. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
  115. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -667
  116. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -1240
  117. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1474
  118. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +0 -733
  119. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +0 -176
  120. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +0 -97
  121. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +0 -793
  122. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +0 -208
  123. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +0 -352
  124. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +0 -826
  125. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +0 -1297
  126. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +0 -454
  127. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +0 -206
  128. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +0 -100
  129. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +0 -271
  130. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +0 -499
  131. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +0 -568
  132. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +0 -415
  133. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +0 -340
  134. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +0 -502
  135. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +0 -251
  136. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +0 -103
  137. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +0 -223
  138. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +0 -271
  139. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +0 -199
  140. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +0 -253
  141. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +0 -211
  142. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +0 -445
  143. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +0 -619
  144. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +0 -176
  145. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +0 -94
  146. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +0 -571
  147. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +0 -116
  148. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +0 -175
  149. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +0 -217
  150. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +0 -131
  151. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +0 -88
  152. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +0 -751
  153. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +0 -131
  154. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +0 -88
  155. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -853
  156. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +0 -131
  157. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +0 -88
  158. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +0 -280
  159. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -259
  160. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -412
  161. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -313
  162. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -574
  163. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +0 -161
  164. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +0 -94
  165. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +0 -146
  166. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +0 -94
  167. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +0 -379
  168. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +0 -131
  169. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +0 -88
  170. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +0 -247
  171. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +0 -131
  172. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +0 -88
  173. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +0 -508
  174. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +0 -131
  175. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +0 -88
  176. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -361
  177. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +0 -131
  178. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +0 -88
  179. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +0 -205
  180. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +0 -131
  181. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +0 -88
  182. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +0 -370
  183. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +0 -131
  184. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +0 -88
  185. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +0 -580
  186. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +0 -146
  187. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +0 -88
  188. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +0 -301
  189. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +0 -718
  190. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +0 -146
  191. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +0 -91
  192. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +0 -127
  193. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -1069
  194. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +0 -400
  195. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +0 -131
  196. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +0 -88
  197. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
  198. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -91
  199. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -346
  200. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +0 -131
  201. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +0 -88
  202. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +0 -307
  203. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +0 -131
  204. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +0 -88
  205. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +0 -214
  206. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +0 -131
  207. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +0 -88
  208. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +0 -220
  209. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -208
  210. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +0 -146
  211. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +0 -91
  212. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +0 -337
  213. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +0 -131
  214. package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.js.html +0 -88
  215. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -913
  216. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +0 -131
  217. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +0 -88
  218. package/src/artifacts/coverage-jest/lcov-report/base.css +0 -224
  219. package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
  220. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -121
  221. package/src/artifacts/coverage-jest/lcov-report/constants/endpoints.js.html +0 -91
  222. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
  223. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -146
  224. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +0 -97
  225. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +0 -131
  226. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +0 -91
  227. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  228. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +0 -401
  229. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -142
  230. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -161
  231. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -94
  232. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
  233. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
  234. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -463
  235. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +0 -161
  236. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +0 -94
  237. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +0 -520
  238. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +0 -181
  239. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +0 -163
  240. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +0 -157
  241. package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +0 -205
  242. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -325
  243. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -295
  244. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +0 -151
  245. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +0 -199
  246. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +0 -118
  247. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +0 -238
  248. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +0 -274
  249. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +0 -196
  250. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
  251. package/src/artifacts/coverage-jest/lcov-report/hooks/useModConfigEntries.js.html +0 -226
  252. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -283
  253. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +0 -238
  254. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +0 -274
  255. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -322
  256. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +0 -208
  257. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +0 -265
  258. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +0 -187
  259. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
  260. package/src/artifacts/coverage-jest/lcov-report/index.html +0 -611
  261. package/src/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
  262. package/src/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
  263. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +0 -161
  264. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +0 -94
  265. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +0 -292
  266. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +0 -211
  267. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +0 -466
  268. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  269. package/src/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
  270. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +0 -193
  271. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +0 -109
  272. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +0 -631
  273. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +0 -124
  274. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +0 -211
  275. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -356
  276. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -169
  277. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +0 -127
  278. package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +0 -142
  279. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +0 -142
  280. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +0 -361
  281. package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +0 -130
  282. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -109
  283. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +0 -112
  284. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
  285. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +0 -145
  286. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +0 -130
  287. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +0 -127
  288. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +0 -112
  289. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
  290. package/src/artifacts/coverage-jest/lcov-report/validators/index.html +0 -131
  291. package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +0 -88
  292. package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +0 -370
  293. package/src/artifacts/coverage-jest/lcov.info +0 -5223
@@ -1,211 +0,0 @@
1
-
2
- <!doctype html>
3
- <html lang="en">
4
-
5
- <head>
6
- <title>Code coverage report for settingsHooks/useSettingSection.js</title>
7
- <meta charset="utf-8" />
8
- <link rel="stylesheet" href="../prettify.css" />
9
- <link rel="stylesheet" href="../base.css" />
10
- <link rel="shortcut icon" type="image/x-icon" href="../favicon.png" />
11
- <meta name="viewport" content="width=device-width, initial-scale=1" />
12
- <style type='text/css'>
13
- .coverage-summary .sorter {
14
- background-image: url(../sort-arrow-sprite.png);
15
- }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <div class='wrapper'>
21
- <div class='pad1'>
22
- <h1><a href="../index.html">All files</a> / <a href="index.html">settingsHooks</a> useSettingSection.js</h1>
23
- <div class='clearfix'>
24
-
25
- <div class='fl pad1y space-right2'>
26
- <span class="strong">12.5% </span>
27
- <span class="quiet">Statements</span>
28
- <span class='fraction'>1/8</span>
29
- </div>
30
-
31
-
32
- <div class='fl pad1y space-right2'>
33
- <span class="strong">0% </span>
34
- <span class="quiet">Branches</span>
35
- <span class='fraction'>0/3</span>
36
- </div>
37
-
38
-
39
- <div class='fl pad1y space-right2'>
40
- <span class="strong">0% </span>
41
- <span class="quiet">Functions</span>
42
- <span class='fraction'>0/3</span>
43
- </div>
44
-
45
-
46
- <div class='fl pad1y space-right2'>
47
- <span class="strong">12.5% </span>
48
- <span class="quiet">Lines</span>
49
- <span class='fraction'>1/8</span>
50
- </div>
51
-
52
-
53
- </div>
54
- <p class="quiet">
55
- Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
- </p>
57
- <template id="filterTemplate">
58
- <div class="quiet">
59
- Filter:
60
- <input oninput="onInput()" type="search" id="fileSearch">
61
- </div>
62
- </template>
63
- </div>
64
- <div class='status-line low'></div>
65
- <pre><table class="coverage">
66
- <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67
- <a name='L2'></a><a href='#L2'>2</a>
68
- <a name='L3'></a><a href='#L3'>3</a>
69
- <a name='L4'></a><a href='#L4'>4</a>
70
- <a name='L5'></a><a href='#L5'>5</a>
71
- <a name='L6'></a><a href='#L6'>6</a>
72
- <a name='L7'></a><a href='#L7'>7</a>
73
- <a name='L8'></a><a href='#L8'>8</a>
74
- <a name='L9'></a><a href='#L9'>9</a>
75
- <a name='L10'></a><a href='#L10'>10</a>
76
- <a name='L11'></a><a href='#L11'>11</a>
77
- <a name='L12'></a><a href='#L12'>12</a>
78
- <a name='L13'></a><a href='#L13'>13</a>
79
- <a name='L14'></a><a href='#L14'>14</a>
80
- <a name='L15'></a><a href='#L15'>15</a>
81
- <a name='L16'></a><a href='#L16'>16</a>
82
- <a name='L17'></a><a href='#L17'>17</a>
83
- <a name='L18'></a><a href='#L18'>18</a>
84
- <a name='L19'></a><a href='#L19'>19</a>
85
- <a name='L20'></a><a href='#L20'>20</a>
86
- <a name='L21'></a><a href='#L21'>21</a>
87
- <a name='L22'></a><a href='#L22'>22</a>
88
- <a name='L23'></a><a href='#L23'>23</a>
89
- <a name='L24'></a><a href='#L24'>24</a>
90
- <a name='L25'></a><a href='#L25'>25</a>
91
- <a name='L26'></a><a href='#L26'>26</a>
92
- <a name='L27'></a><a href='#L27'>27</a>
93
- <a name='L28'></a><a href='#L28'>28</a>
94
- <a name='L29'></a><a href='#L29'>29</a>
95
- <a name='L30'></a><a href='#L30'>30</a>
96
- <a name='L31'></a><a href='#L31'>31</a>
97
- <a name='L32'></a><a href='#L32'>32</a>
98
- <a name='L33'></a><a href='#L33'>33</a>
99
- <a name='L34'></a><a href='#L34'>34</a>
100
- <a name='L35'></a><a href='#L35'>35</a>
101
- <a name='L36'></a><a href='#L36'>36</a>
102
- <a name='L37'></a><a href='#L37'>37</a>
103
- <a name='L38'></a><a href='#L38'>38</a>
104
- <a name='L39'></a><a href='#L39'>39</a>
105
- <a name='L40'></a><a href='#L40'>40</a>
106
- <a name='L41'></a><a href='#L41'>41</a>
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>
110
- <span class="cline-any cline-neutral">&nbsp;</span>
111
- <span class="cline-any cline-neutral">&nbsp;</span>
112
- <span class="cline-any cline-yes">20x</span>
113
- <span class="cline-any cline-neutral">&nbsp;</span>
114
- <span class="cline-any cline-neutral">&nbsp;</span>
115
- <span class="cline-any cline-neutral">&nbsp;</span>
116
- <span class="cline-any cline-no">&nbsp;</span>
117
- <span class="cline-any cline-no">&nbsp;</span>
118
- <span class="cline-any cline-neutral">&nbsp;</span>
119
- <span class="cline-any cline-neutral">&nbsp;</span>
120
- <span class="cline-any cline-neutral">&nbsp;</span>
121
- <span class="cline-any cline-neutral">&nbsp;</span>
122
- <span class="cline-any cline-neutral">&nbsp;</span>
123
- <span class="cline-any cline-neutral">&nbsp;</span>
124
- <span class="cline-any cline-neutral">&nbsp;</span>
125
- <span class="cline-any cline-neutral">&nbsp;</span>
126
- <span class="cline-any cline-neutral">&nbsp;</span>
127
- <span class="cline-any cline-neutral">&nbsp;</span>
128
- <span class="cline-any cline-neutral">&nbsp;</span>
129
- <span class="cline-any cline-neutral">&nbsp;</span>
130
- <span class="cline-any cline-neutral">&nbsp;</span>
131
- <span class="cline-any cline-neutral">&nbsp;</span>
132
- <span class="cline-any cline-neutral">&nbsp;</span>
133
- <span class="cline-any cline-no">&nbsp;</span>
134
- <span class="cline-any cline-neutral">&nbsp;</span>
135
- <span class="cline-any cline-no">&nbsp;</span>
136
- <span class="cline-any cline-neutral">&nbsp;</span>
137
- <span class="cline-any cline-neutral">&nbsp;</span>
138
- <span class="cline-any cline-no">&nbsp;</span>
139
- <span class="cline-any cline-neutral">&nbsp;</span>
140
- <span class="cline-any cline-no">&nbsp;</span>
141
- <span class="cline-any cline-neutral">&nbsp;</span>
142
- <span class="cline-any cline-neutral">&nbsp;</span>
143
- <span class="cline-any cline-no">&nbsp;</span>
144
- <span class="cline-any cline-neutral">&nbsp;</span>
145
- <span class="cline-any cline-neutral">&nbsp;</span>
146
- <span class="cline-any cline-neutral">&nbsp;</span>
147
- <span class="cline-any cline-neutral">&nbsp;</span>
148
- <span class="cline-any cline-neutral">&nbsp;</span>
149
- <span class="cline-any cline-neutral">&nbsp;</span>
150
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { useMutation, useQuery } from 'react-query';
151
- import { useOkapiKy } from '@folio/stripes/core';
152
- import { generateKiwtQueryParams } from '../utils';
153
- &nbsp;
154
- const useSettingSection = <span class="fstat-no" title="function not covered" >({</span>
155
- sectionName,
156
- settingEndpoint
157
- }) =&gt; {
158
- const ky = <span class="cstat-no" title="statement not covered" >useOkapiKy();</span>
159
- const queryParams = <span class="cstat-no" title="statement not covered" >generateKiwtQueryParams({</span>
160
- filters: [
161
- {
162
- path: 'section',
163
- value: sectionName
164
- }
165
- ],
166
- sort: [
167
- {
168
- path: 'key'
169
- }
170
- ],
171
- perPage: 100,
172
- stats: false
173
- }, {});
174
- &nbsp;
175
- const { data: settings = <span class="branch-0 cbranch-no" title="branch not covered" >[] </span>} = <span class="cstat-no" title="statement not covered" >useQuery(</span>
176
- ['stripes-kint-components', 'useSetting', 'appSettings', queryParams, sectionName],
177
- <span class="fstat-no" title="function not covered" > ()</span> =&gt; <span class="cstat-no" title="statement not covered" >ky(`${settingEndpoint}?${queryParams?.join('&amp;')}`).json()</span>
178
- );
179
- &nbsp;
180
- const { mutateAsync: putSetting } = <span class="cstat-no" title="statement not covered" >useMutation(</span>
181
- ['stripes-kint-components', 'useSetting', 'putSetting', sectionName],
182
- <span class="fstat-no" title="function not covered" > (d</span>ata) =&gt; <span class="cstat-no" title="statement not covered" >ky.put(`${settingEndpoint}${data.id ? '/' + data.id : ''}`, { json: data })</span>
183
- );
184
- &nbsp;
185
- <span class="cstat-no" title="statement not covered" > return ({</span>
186
- handleSubmit: putSetting,
187
- settings
188
- });
189
- };
190
- &nbsp;
191
- export default useSettingSection;
192
- &nbsp;</pre></td></tr></table></pre>
193
-
194
- <div class='push'></div><!-- for sticky footer -->
195
- </div><!-- /wrapper -->
196
- <div class='footer quiet pad2 space-top1 center small'>
197
- Code coverage generated by
198
- <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
199
- at 2023-04-14T13:37:20.869Z
200
- </div>
201
- <script src="../prettify.js"></script>
202
- <script>
203
- window.onload = function () {
204
- prettyPrint();
205
- };
206
- </script>
207
- <script src="../sorter.js"></script>
208
- <script src="../block-navigation.js"></script>
209
- </body>
210
- </html>
211
-