@k-int/stripes-kint-components 2.3.1 → 2.3.2

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 (210) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/es/index.js +1 -5
  3. package/es/lib/ActionList/ActionList.js +1 -31
  4. package/es/lib/ActionList/ActionListFieldArray.js +3 -41
  5. package/es/lib/ActionList/index.js +1 -5
  6. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +1 -35
  7. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -37
  8. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +1 -34
  9. package/es/lib/CustomProperties/Config/CustomPropertyView.js +1 -30
  10. package/es/lib/CustomProperties/Config/index.js +1 -5
  11. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +1 -30
  12. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +1 -34
  13. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +1 -37
  14. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +1 -34
  15. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +1 -30
  16. package/es/lib/CustomProperties/Edit/index.js +1 -5
  17. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +1 -34
  18. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -34
  19. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +1 -34
  20. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -30
  21. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -35
  22. package/es/lib/CustomProperties/Filter/index.js +1 -5
  23. package/es/lib/CustomProperties/Filter/useOperators.js +1 -39
  24. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +1 -34
  25. package/es/lib/CustomProperties/Filter/useValueProps.js +1 -35
  26. package/es/lib/CustomProperties/View/CustomPropertiesView.js +1 -30
  27. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +1 -34
  28. package/es/lib/CustomProperties/View/CustomPropertyCard.js +1 -30
  29. package/es/lib/CustomProperties/View/index.js +1 -5
  30. package/es/lib/CustomProperties/index.js +1 -5
  31. package/es/lib/EditableRefdataList/EditableRefdataList.js +1 -35
  32. package/es/lib/EditableRefdataList/index.js +1 -5
  33. package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -30
  34. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +1 -30
  35. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +1 -30
  36. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -34
  37. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +1 -34
  38. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +1 -34
  39. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +1 -41
  40. package/es/lib/EditableSettingsList/SettingField/SettingField.js +1 -34
  41. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +1 -30
  42. package/es/lib/EditableSettingsList/SettingField/index.js +1 -5
  43. package/es/lib/EditableSettingsList/index.js +1 -5
  44. package/es/lib/FormModal/FormModal.js +3 -30
  45. package/es/lib/FormModal/index.js +1 -5
  46. package/es/lib/NoResultsMessage/NoResultsMessage.js +1 -30
  47. package/es/lib/NoResultsMessage/index.js +1 -5
  48. package/es/lib/QueryTypedown/QueryTypedown.js +1 -34
  49. package/es/lib/QueryTypedown/index.js +1 -5
  50. package/es/lib/RefdataButtons/RefdataButtons.js +1 -34
  51. package/es/lib/RefdataButtons/index.js +1 -5
  52. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +1 -34
  53. package/es/lib/SASQLookupComponent/index.js +1 -5
  54. package/es/lib/SASQRoute/SASQRoute.js +1 -30
  55. package/es/lib/SASQRoute/index.js +1 -5
  56. package/es/lib/SASQViewComponent/SASQViewComponent.js +1 -34
  57. package/es/lib/SASQViewComponent/index.js +1 -5
  58. package/es/lib/SearchField/SearchField.js +1 -31
  59. package/es/lib/SearchField/index.js +1 -5
  60. package/es/lib/SettingPage/SettingPage.js +1 -34
  61. package/es/lib/SettingPage/SettingPagePane.js +1 -32
  62. package/es/lib/SettingPage/index.js +1 -5
  63. package/es/lib/Typedown/Typedown.js +1 -34
  64. package/es/lib/Typedown/index.js +1 -5
  65. package/es/lib/constants/customProperties.js +1 -38
  66. package/es/lib/constants/eventCodes.js +1 -31
  67. package/es/lib/contexts/SettingsContext.js +1 -30
  68. package/es/lib/contexts/index.js +1 -5
  69. package/es/lib/hooks/index.js +1 -5
  70. package/es/lib/hooks/settingsHooks/index.js +1 -5
  71. package/es/lib/hooks/settingsHooks/useSettingSection.js +1 -34
  72. package/es/lib/hooks/settingsHooks/useSettings.js +1 -36
  73. package/es/lib/hooks/typedownHooks/index.js +1 -5
  74. package/es/lib/hooks/typedownHooks/useTypedown.js +1 -34
  75. package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -34
  76. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +1 -34
  77. package/es/lib/hooks/useActiveElement.js +1 -32
  78. package/es/lib/hooks/useAvailableCustomProperties.js +1 -34
  79. package/es/lib/hooks/useCustomProperties.js +1 -34
  80. package/es/lib/hooks/useHelperApp.js +1 -34
  81. package/es/lib/hooks/useInvalidateRefdata.js +1 -34
  82. package/es/lib/hooks/useKiwtFieldArray.js +1 -34
  83. package/es/lib/hooks/useKiwtSASQuery.js +1 -35
  84. package/es/lib/hooks/useLocalStorageState.js +1 -34
  85. package/es/lib/hooks/useMutateCustomProperties.js +1 -34
  86. package/es/lib/hooks/useMutateRefdataValue.js +1 -34
  87. package/es/lib/hooks/useQIndex.js +1 -34
  88. package/es/lib/hooks/useRefdata.js +1 -34
  89. package/es/lib/hooks/useTemplates.js +1 -34
  90. package/es/lib/utils/buildUrl.js +2 -31
  91. package/es/lib/utils/generateKiwtQuery.js +1 -30
  92. package/es/lib/utils/generateKiwtQueryParams.js +1 -30
  93. package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -30
  94. package/es/lib/utils/index.js +1 -5
  95. package/es/lib/utils/refdataOptions.js +1 -30
  96. package/es/lib/utils/refdataQueryKey.js +1 -30
  97. package/es/lib/utils/renderHelpText.js +1 -30
  98. package/es/lib/utils/selectorSafe.js +1 -30
  99. package/es/lib/utils/sortByLabel.js +1 -30
  100. package/es/lib/utils/toCamelCase.js +1 -30
  101. package/es/lib/utils/typedownQueryKey.js +1 -30
  102. package/es/lib/utils/validators.js +1 -32
  103. package/package.json +1 -1
  104. package/src/lib/ActionList/ActionListFieldArray.js +1 -2
  105. package/src/lib/FormModal/FormModal.js +2 -0
  106. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -109
  107. package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -998
  108. package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -238
  109. package/junit.xml +0 -79
  110. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -286
  111. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -925
  112. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
  113. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
  114. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -418
  115. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -808
  116. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +0 -601
  117. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1135
  118. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +0 -176
  119. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +0 -97
  120. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -373
  121. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +0 -131
  122. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +0 -88
  123. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +0 -223
  124. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -211
  125. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -376
  126. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -262
  127. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -436
  128. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +0 -161
  129. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +0 -94
  130. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +0 -146
  131. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +0 -94
  132. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +0 -283
  133. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +0 -131
  134. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +0 -88
  135. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -319
  136. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +0 -131
  137. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +0 -88
  138. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +0 -184
  139. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +0 -131
  140. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +0 -88
  141. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +0 -370
  142. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +0 -131
  143. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +0 -88
  144. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -949
  145. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
  146. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -88
  147. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -301
  148. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +0 -131
  149. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +0 -88
  150. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +0 -253
  151. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +0 -131
  152. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +0 -88
  153. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +0 -214
  154. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +0 -131
  155. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +0 -88
  156. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +0 -211
  157. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -178
  158. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +0 -146
  159. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +0 -91
  160. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -919
  161. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +0 -131
  162. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +0 -88
  163. package/src/artifacts/coverage-jest/lcov-report/base.css +0 -224
  164. package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
  165. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -112
  166. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
  167. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -131
  168. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +0 -97
  169. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +0 -131
  170. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +0 -91
  171. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  172. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +0 -281
  173. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -121
  174. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -146
  175. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -91
  176. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -163
  177. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -403
  178. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +0 -161
  179. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +0 -94
  180. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +0 -520
  181. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +0 -163
  182. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +0 -163
  183. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +0 -157
  184. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -313
  185. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -283
  186. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +0 -274
  187. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +0 -178
  188. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
  189. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -271
  190. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -301
  191. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +0 -208
  192. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +0 -268
  193. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
  194. package/src/artifacts/coverage-jest/lcov-report/index.html +0 -416
  195. package/src/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
  196. package/src/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
  197. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  198. package/src/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
  199. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +0 -193
  200. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +0 -109
  201. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +0 -454
  202. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -251
  203. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -121
  204. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -106
  205. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
  206. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +0 -103
  207. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +0 -130
  208. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +0 -127
  209. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -202
  210. package/src/artifacts/coverage-jest/lcov.info +0 -2562
@@ -4,16 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
7
  var _default = {
18
8
  filterKeys: {
19
9
  DescKey: 'desc'
@@ -21,23 +11,4 @@ var _default = {
21
11
  stats: false,
22
12
  max: 100
23
13
  };
24
- var _default2 = _default;
25
- exports.default = _default2;
26
- ;
27
-
28
- (function () {
29
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
30
-
31
- if (!reactHotLoader) {
32
- return;
33
- }
34
-
35
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataOptions.js");
36
- })();
37
-
38
- ;
39
-
40
- (function () {
41
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
42
- leaveModule && leaveModule(module);
43
- })();
14
+ exports.default = _default;
@@ -5,15 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
8
  var refdataQueryKey = function refdataQueryKey(desc) {
18
9
  var keyArray = ['stripes-kint-components', 'refdata'];
19
10
 
@@ -25,24 +16,4 @@ var refdataQueryKey = function refdataQueryKey(desc) {
25
16
  };
26
17
 
27
18
  var _default = refdataQueryKey;
28
- var _default2 = _default;
29
- exports.default = _default2;
30
- ;
31
-
32
- (function () {
33
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
34
-
35
- if (!reactHotLoader) {
36
- return;
37
- }
38
-
39
- reactHotLoader.register(refdataQueryKey, "refdataQueryKey", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataQueryKey.js");
40
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataQueryKey.js");
41
- })();
42
-
43
- ;
44
-
45
- (function () {
46
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
47
- leaveModule && leaveModule(module);
48
- })();
19
+ exports.default = _default;
@@ -15,15 +15,6 @@ var _jsxRuntime = require("react/jsx-runtime");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
18
- (function () {
19
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
20
- enterModule && enterModule(module);
21
- })();
22
-
23
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
24
- return a;
25
- };
26
-
27
18
  var renderHelpText = function renderHelpText(id) {
28
19
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
29
20
  className: _renderHelpText.default.help,
@@ -86,24 +77,4 @@ var renderHelpText = function renderHelpText(id) {
86
77
  };
87
78
 
88
79
  var _default = renderHelpText;
89
- var _default2 = _default;
90
- exports.default = _default2;
91
- ;
92
-
93
- (function () {
94
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
95
-
96
- if (!reactHotLoader) {
97
- return;
98
- }
99
-
100
- reactHotLoader.register(renderHelpText, "renderHelpText", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/renderHelpText.js");
101
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/renderHelpText.js");
102
- })();
103
-
104
- ;
105
-
106
- (function () {
107
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
108
- leaveModule && leaveModule(module);
109
- })();
80
+ exports.default = _default;
@@ -5,38 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
8
  var selectorSafe = function selectorSafe(string) {
18
9
  return string.replaceAll(/[^a-zA-Z0-9\-_]/g, '_');
19
10
  };
20
11
 
21
12
  var _default = selectorSafe;
22
- var _default2 = _default;
23
- exports.default = _default2;
24
- ;
25
-
26
- (function () {
27
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
28
-
29
- if (!reactHotLoader) {
30
- return;
31
- }
32
-
33
- reactHotLoader.register(selectorSafe, "selectorSafe", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/selectorSafe.js");
34
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/selectorSafe.js");
35
- })();
36
-
37
- ;
38
-
39
- (function () {
40
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
41
- leaveModule && leaveModule(module);
42
- })();
13
+ exports.default = _default;
@@ -5,15 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
8
  var sortByLabel = function sortByLabel(a, b) {
18
9
  var _a$label$toLowerCase, _a$label, _a$id, _b$label$toLowerCase, _b$label, _b$id;
19
10
 
@@ -32,24 +23,4 @@ var sortByLabel = function sortByLabel(a, b) {
32
23
  };
33
24
 
34
25
  var _default = sortByLabel;
35
- var _default2 = _default;
36
- exports.default = _default2;
37
- ;
38
-
39
- (function () {
40
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
41
-
42
- if (!reactHotLoader) {
43
- return;
44
- }
45
-
46
- reactHotLoader.register(sortByLabel, "sortByLabel", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/sortByLabel.js");
47
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/sortByLabel.js");
48
- })();
49
-
50
- ;
51
-
52
- (function () {
53
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
54
- leaveModule && leaveModule(module);
55
- })();
26
+ exports.default = _default;
@@ -5,15 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
8
  var toCamelCase = function toCamelCase(str) {
18
9
  return (// First split string on any capital letters
19
10
  str.split(/(?=[A-Z])/).join(' ') // Remove all non alpha-numeric chars, and replace _ with ' '
@@ -25,24 +16,4 @@ var toCamelCase = function toCamelCase(str) {
25
16
  };
26
17
 
27
18
  var _default = toCamelCase;
28
- var _default2 = _default;
29
- exports.default = _default2;
30
- ;
31
-
32
- (function () {
33
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
34
-
35
- if (!reactHotLoader) {
36
- return;
37
- }
38
-
39
- reactHotLoader.register(toCamelCase, "toCamelCase", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/toCamelCase.js");
40
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/toCamelCase.js");
41
- })();
42
-
43
- ;
44
-
45
- (function () {
46
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
47
- leaveModule && leaveModule(module);
48
- })();
19
+ exports.default = _default;
@@ -5,15 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
- (function () {
9
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
10
- enterModule && enterModule(module);
11
- })();
12
-
13
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
14
- return a;
15
- };
16
-
17
8
  var typedownQueryKey = function typedownQueryKey(path) {
18
9
  var keyArray = ['stripes-kint-components', 'typedown'];
19
10
 
@@ -25,24 +16,4 @@ var typedownQueryKey = function typedownQueryKey(path) {
25
16
  };
26
17
 
27
18
  var _default = typedownQueryKey;
28
- var _default2 = _default;
29
- exports.default = _default2;
30
- ;
31
-
32
- (function () {
33
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
34
-
35
- if (!reactHotLoader) {
36
- return;
37
- }
38
-
39
- reactHotLoader.register(typedownQueryKey, "typedownQueryKey", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/typedownQueryKey.js");
40
- reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/typedownQueryKey.js");
41
- })();
42
-
43
- ;
44
-
45
- (function () {
46
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
47
- leaveModule && leaveModule(module);
48
- })();
19
+ exports.default = _default;
@@ -19,19 +19,10 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
 
20
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
21
 
22
- (function () {
23
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
24
- enterModule && enterModule(module);
25
- })();
26
-
27
22
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
28
23
 
29
24
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
30
25
 
31
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
32
- return a;
33
- };
34
-
35
26
  var invalidNumber = function invalidNumber(value) {
36
27
  return value || value === 0 ? undefined : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
37
28
  id: "stripes-kint-components.errors.invalidNumber"
@@ -135,26 +126,4 @@ var composeValidators = function composeValidators() {
135
126
  };
136
127
  };
137
128
 
138
- exports.composeValidators = composeValidators;
139
- ;
140
-
141
- (function () {
142
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
143
-
144
- if (!reactHotLoader) {
145
- return;
146
- }
147
-
148
- reactHotLoader.register(invalidNumber, "invalidNumber", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/validators.js");
149
- reactHotLoader.register(required, "required", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/validators.js");
150
- reactHotLoader.register(requiredObject, "requiredObject", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/validators.js");
151
- reactHotLoader.register(customPropertyValidator, "customPropertyValidator", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/validators.js");
152
- reactHotLoader.register(composeValidators, "composeValidators", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/validators.js");
153
- })();
154
-
155
- ;
156
-
157
- (function () {
158
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
159
- leaveModule && leaveModule(module);
160
- })();
129
+ exports.composeValidators = composeValidators;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-int/stripes-kint-components",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Stripes Component library for K-Int specific applications",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -61,7 +61,7 @@ const ActionListFieldArray = ({
61
61
  const { actionListActions: _a, ...rowData } = fields.value[index];
62
62
 
63
63
  // Find "edit" entry in actionAssigner
64
- const editCallback = actionAssigner.find(act => act.name === 'edit')?.callback;
64
+ const editCallback = actionAssigner(rowData)?.find(act => act.name === 'edit')?.callback;
65
65
  if (editCallback) {
66
66
  editCallback(rowData);
67
67
  } else {
@@ -167,7 +167,6 @@ const ActionListFieldArray = ({
167
167
  key={`action-${action.name}[${data.rowIndex}]`}
168
168
  disabled={editing}
169
169
  icon={action.icon}
170
- marginBottom0
171
170
  onClick={() => (actionFunction ? actionFunction() : () => null)}
172
171
  to={action.to}
173
172
  />
@@ -31,6 +31,7 @@ const FormModal = ({
31
31
  <ModalFooter>
32
32
  <Button
33
33
  buttonStyle="primary"
34
+ marginBottom0
34
35
  onClick={handleSubmit}
35
36
  >
36
37
  {
@@ -39,6 +40,7 @@ const FormModal = ({
39
40
  }
40
41
  </Button>
41
42
  <Button
43
+ marginBottom0
42
44
  onClick={handleClose}
43
45
  >
44
46
  {
@@ -1,109 +0,0 @@
1
- "use strict";
2
-
3
- (function () {
4
- var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
5
- enterModule && enterModule(module);
6
- })();
7
-
8
- var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
9
- return a;
10
- };
11
-
12
- /* eslint-disable */
13
- var jumpToCode = function init() {
14
- // Classes of code we would like to highlight in the file view
15
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; // Elements to highlight in the file listing view
16
-
17
- var fileListingElements = ['td.pct.low']; // We don't want to select elements that are direct descendants of another match
18
-
19
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
20
- // Selecter that finds elements on the page to which we can jump
21
-
22
- var selector = fileListingElements.join(', ') + ', ' + notSelector + missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
23
- // The NodeList of matching elements
24
-
25
- var missingCoverageElements = document.querySelectorAll(selector);
26
- var currentIndex;
27
-
28
- function toggleClass(index) {
29
- missingCoverageElements.item(currentIndex).classList.remove('highlighted');
30
- missingCoverageElements.item(index).classList.add('highlighted');
31
- }
32
-
33
- function makeCurrent(index) {
34
- toggleClass(index);
35
- currentIndex = index;
36
- missingCoverageElements.item(index).scrollIntoView({
37
- behavior: 'smooth',
38
- block: 'center',
39
- inline: 'center'
40
- });
41
- }
42
-
43
- function goToPrevious() {
44
- var nextIndex = 0;
45
-
46
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
47
- nextIndex = missingCoverageElements.length - 1;
48
- } else if (missingCoverageElements.length > 1) {
49
- nextIndex = currentIndex - 1;
50
- }
51
-
52
- makeCurrent(nextIndex);
53
- }
54
-
55
- function goToNext() {
56
- var nextIndex = 0;
57
-
58
- if (typeof currentIndex === 'number' && currentIndex < missingCoverageElements.length - 1) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- if (document.getElementById('fileSearch') === document.activeElement && document.activeElement != null) {
67
- // if we're currently focused on the search input, we don't want to navigate
68
- return;
69
- }
70
-
71
- switch (event.which) {
72
- case 78: // n
73
-
74
- case 74:
75
- // j
76
- goToNext();
77
- break;
78
-
79
- case 66: // b
80
-
81
- case 75: // k
82
-
83
- case 80:
84
- // p
85
- goToPrevious();
86
- break;
87
- }
88
- };
89
- }();
90
-
91
- window.addEventListener('keydown', jumpToCode);
92
- ;
93
-
94
- (function () {
95
- var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
96
-
97
- if (!reactHotLoader) {
98
- return;
99
- }
100
-
101
- reactHotLoader.register(jumpToCode, "jumpToCode", "/home/ethan/FolioModules/stripes-kint-components/src/artifacts/coverage-jest/lcov-report/block-navigation.js");
102
- })();
103
-
104
- ;
105
-
106
- (function () {
107
- var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
108
- leaveModule && leaveModule(module);
109
- })();