@k-int/stripes-kint-components 2.8.2 → 2.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +2 -2
  3. package/junit.xml +157 -656
  4. package/package.json +1 -1
  5. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +56 -8
  6. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +394 -64
  7. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +10 -10
  8. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  9. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +187 -52
  10. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +372 -87
  11. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +293 -74
  12. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +126 -54
  13. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +45 -60
  14. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  15. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +23 -5
  16. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +59 -47
  17. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +259 -97
  18. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +399 -105
  19. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +41 -68
  20. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +57 -57
  21. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  22. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +67 -688
  23. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +92 -53
  24. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +103 -64
  25. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +54 -63
  26. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +49 -16
  27. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +69 -18
  28. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +89 -89
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +33 -786
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +46 -46
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +45 -36
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +43 -28
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +20 -2
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +50 -41
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +54 -75
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +24 -24
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  42. package/src/artifacts/coverage-jest/lcov-report/{hooks/useAvailableCustomProperties.js.html → CycleButton/CycleButton.js.html} +62 -50
  43. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +131 -0
  44. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +88 -0
  45. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +664 -0
  46. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +131 -0
  47. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +88 -0
  48. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +264 -39
  49. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
  50. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  51. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +41 -14
  52. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +45 -6
  53. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +47 -11
  54. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +65 -14
  55. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +154 -31
  56. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +26 -26
  57. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +18 -18
  59. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  60. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +35 -17
  61. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +15 -15
  62. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  63. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +247 -0
  64. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +131 -0
  65. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +88 -0
  66. package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/CustomPropertiesView.js.html → IconSelect/IconSelect.js.html} +158 -257
  67. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +131 -0
  68. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +88 -0
  69. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +48 -6
  70. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +7 -7
  71. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  72. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
  76. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  77. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  78. package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/testResources.js.html → RichSelect/RichSelect.js.html} +256 -334
  79. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +146 -0
  80. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +91 -0
  81. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +127 -0
  82. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +52 -7
  83. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +31 -4
  84. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +3 -3
  85. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  86. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +7 -7
  87. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  88. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  89. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +24 -27
  98. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +47 -17
  99. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +22 -22
  100. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  103. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  106. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
  108. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  111. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +142 -97
  112. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +13 -4
  113. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +35 -20
  114. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +5 -2
  115. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +7 -7
  116. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
  117. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +61 -22
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +19 -22
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +151 -0
  127. package/src/artifacts/coverage-jest/lcov-report/{utils/renderHelpText.js.html → hooks/useIntlKeyStore.js.html} +71 -38
  128. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
  129. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +238 -0
  130. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
  131. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +9 -9
  132. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
  133. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +23 -11
  134. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +274 -0
  135. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +19 -10
  136. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
  137. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
  138. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
  139. package/src/artifacts/coverage-jest/lcov-report/index.html +205 -130
  140. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  141. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
  143. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
  144. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +7 -7
  145. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
  146. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +34 -34
  147. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +42 -3
  148. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
  149. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +139 -0
  150. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +5 -2
  151. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
  152. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
  153. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
  154. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
  155. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
  156. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +128 -80
  157. package/src/artifacts/coverage-jest/lcov.info +2603 -2086
  158. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.8.3 2022-10-17
2
+ * Fixed issue where custom property ctx is not removable
3
+
1
4
  ## 2.8.2 2022-07-25
2
5
  * New util function `parseErrorResponse`, used in places where we catch http errors, allows for text only response bodies
3
6
 
@@ -202,10 +202,10 @@ var CustomPropertiesSettings = function CustomPropertiesSettings(_ref) {
202
202
  deleteCustProp = _useMutateCustomPrope.delete;
203
203
 
204
204
  var handeContextSubmit = function handeContextSubmit(submitData) {
205
- var _submitData$ctx, _submitData$ctx$;
205
+ var _submitData$ctx$0$val, _submitData$ctx, _submitData$ctx$;
206
206
 
207
207
  return _objectSpread(_objectSpread({}, submitData), {}, {
208
- ctx: submitData === null || submitData === void 0 ? void 0 : (_submitData$ctx = submitData.ctx) === null || _submitData$ctx === void 0 ? void 0 : (_submitData$ctx$ = _submitData$ctx[0]) === null || _submitData$ctx$ === void 0 ? void 0 : _submitData$ctx$.value
208
+ ctx: (_submitData$ctx$0$val = submitData === null || submitData === void 0 ? void 0 : (_submitData$ctx = submitData.ctx) === null || _submitData$ctx === void 0 ? void 0 : (_submitData$ctx$ = _submitData$ctx[0]) === null || _submitData$ctx$ === void 0 ? void 0 : _submitData$ctx$.value) !== null && _submitData$ctx$0$val !== void 0 ? _submitData$ctx$0$val : ''
209
209
  });
210
210
  }; // When POSTing a custom property, the backend expects a shorthand "Integer" or "LocalDate"
211
211
  // When PUTing a custom property, the backend needs the full class name