@k-int/stripes-kint-components 3.2.0 → 3.2.1

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 (168) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/es/lib/utils/generateKiwtQuery.js +4 -3
  3. package/es/lib/utils/generateKiwtQueryParams.js +12 -22
  4. package/junit.xml +138 -138
  5. package/package.json +1 -1
  6. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
  7. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +254 -44
  8. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +9 -24
  9. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  10. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  11. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +1 -1
  12. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
  13. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
  14. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +1 -1
  15. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  16. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +1 -1
  17. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
  18. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
  19. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
  20. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
  21. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +1 -1
  22. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  23. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
  24. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +1 -1
  25. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
  26. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
  27. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
  28. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +1 -1
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +1 -1
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +1 -1
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +1 -1
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +1 -1
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  42. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  43. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
  44. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
  45. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
  46. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
  47. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +1 -1
  48. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
  49. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +8 -74
  50. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
  51. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  52. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +4 -31
  53. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
  54. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  55. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +2 -2
  56. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
  57. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  59. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +7 -7
  60. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  61. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
  62. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
  63. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  64. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
  65. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
  66. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
  67. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
  68. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
  69. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
  70. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +2 -2
  71. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  72. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  76. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -18
  77. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  78. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  79. package/src/artifacts/coverage-jest/lcov-report/{SettingsActionList/EditSettingValue.js.html → ResponsiveButtonGroup/ResponsiveButtonGroup.js.html} +166 -145
  80. package/src/artifacts/coverage-jest/lcov-report/{SettingsActionList → ResponsiveButtonGroup}/index.html +27 -42
  81. package/src/artifacts/coverage-jest/lcov-report/{SettingsActionList → ResponsiveButtonGroup}/index.js.html +4 -4
  82. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +253 -0
  83. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
  84. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
  85. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
  86. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
  87. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +19 -4
  88. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  89. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +3 -3
  92. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  98. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  99. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  100. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +5 -56
  103. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +7 -7
  105. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  106. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  108. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  111. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  112. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  113. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  114. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  115. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +1 -1
  116. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
  117. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +3 -3
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +3 -9
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  127. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  128. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  129. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
  130. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
  132. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
  133. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
  139. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  140. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  141. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
  143. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  144. package/src/artifacts/coverage-jest/lcov-report/index.html +43 -43
  145. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  146. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +1 -1
  148. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +1 -1
  151. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
  152. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +1 -1
  153. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +1 -1
  154. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  155. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +1 -1
  156. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
  157. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
  158. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
  159. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +1 -1
  160. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +1 -1
  161. package/src/artifacts/coverage-jest/lcov.info +597 -692
  162. package/src/lib/utils/README.md +1 -3
  163. package/src/lib/utils/generateKiwtQuery.js +3 -3
  164. package/src/lib/utils/generateKiwtQueryParams.js +13 -27
  165. package/yarn-error.log +147 -0
  166. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionTrigger.js.html +0 -418
  167. package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/RenderSettingValue.js.html +0 -358
  168. package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/SettingsActionList.js.html +0 -736
@@ -31,7 +31,6 @@ Name | Type | Description | default | required
31
31
  --- | --- | --- | --- | ---
32
32
  options | object | An object with keys: `searchKey`, `filterKeys`, `sortKeys` and `stats`, which maps the incoming nsValues objects to a KIWT query. You can also pass arbitrary `key`/`value` pairs to append `key==value` onto the query. | | ✓ |
33
33
  nsValues | object | An object containing the actual query parameters to become the mapped KIWT query | | ✓ |
34
- encode | boolean | A boolean prop which determines if each query param chunk will be encoded using encodeURIComponent or not | true | ✕ |
35
34
 
36
35
  ## generateKiwtQueryParams
37
36
  A util function for generating an array of "KIWT" (K-Int Web-Toolkit) style backend query parameters from a SASQ query object
@@ -69,5 +68,4 @@ import { generateKiwtQueryParams } from '@k-int/stripes-kint-components'
69
68
  Name | Type | Description | default | required
70
69
  --- | --- | --- | --- | ---
71
70
  options | object | An object with keys: `searchKey`, `filterKeys`, `sortKeys` and `stats`, which maps the incoming nsValues objects to an KIWT query array. You can also pass arbitrary `key`/`value` pairs to append `key==value` onto the query. | | ✓ |
72
- nsValues | object | An object containing the actual query parameters to become the mapped KIWT query | | ✓ |
73
- encode | boolean | A boolean prop which determines if each query param chunk will be encoded using encodeURIComponent or not | true | ✕ |
71
+ nsValues | object | An object containing the actual query parameters to become the mapped KIWT query | | ✓ |
@@ -1,8 +1,8 @@
1
1
  import generateKiwtQueryParams from './generateKiwtQueryParams';
2
2
 
3
- const generateKiwtQuery = (options, nsValues, encode = true) => {
4
- const paramsArray = generateKiwtQueryParams(options, nsValues, encode);
5
- return paramsArray.length ? '?' + paramsArray.join('&') : '';
3
+ const generateKiwtQuery = (options, nsValues) => {
4
+ const paramsArray = generateKiwtQueryParams(options, nsValues);
5
+ return paramsArray.length ? '?' + paramsArray.map(p => encodeURI(p)).join('&') : '';
6
6
  };
7
7
 
8
8
  export default generateKiwtQuery;
@@ -1,4 +1,4 @@
1
- const generateKiwtQueryParams = (options, nsValues, encode = true) => {
1
+ const generateKiwtQueryParams = (options, nsValues) => {
2
2
  const { qindex, query, filters, sort } = nsValues;
3
3
  const {
4
4
  searchKey = '',
@@ -33,20 +33,11 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
33
33
  ...rest
34
34
  } = options;
35
35
 
36
- const conditionalEncodeURIComponent = (str) => {
37
- if (encode) {
38
- return encodeURIComponent(str);
39
- }
40
-
41
- return str;
42
- };
43
-
44
-
45
36
  const paramsArray = [];
46
37
 
47
38
  if (query) {
48
- paramsArray.push(...(qindex || searchKey).split(',')?.map(m => `match=${conditionalEncodeURIComponent(m)}`));
49
- paramsArray.push(`term=${conditionalEncodeURIComponent(query)}`);
39
+ paramsArray.push(...(qindex || searchKey).split(',')?.map(m => `match=${m}`));
40
+ paramsArray.push(`term=${query}`);
50
41
  }
51
42
 
52
43
  if (optionsFilters) {
@@ -61,14 +52,12 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
61
52
  innerFilters.push(opfv);
62
53
  }
63
54
  });
64
-
65
- paramsArray.push(`filters=${conditionalEncodeURIComponent(innerFilters.join('||'))}`);
55
+ paramsArray.push(`filters=${innerFilters.join('||')}`);
66
56
  } else if (opf?.value) { // If no value OR values, then ignore
67
57
  if (opf.path) {
68
- const filterString = `${opf.path}${opf.comparator ?? '=='}${opf.value}`;
69
- paramsArray.push(`filters=${conditionalEncodeURIComponent(filterString)}`);
58
+ paramsArray.push(`filters=${opf.path}${opf.comparator ?? '=='}${opf.value}`);
70
59
  } else {
71
- paramsArray.push(`filters=${conditionalEncodeURIComponent(opf.value)}`);
60
+ paramsArray.push(`filters=${opf.value}`);
72
61
  }
73
62
  }
74
63
  });
@@ -95,13 +84,13 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
95
84
  return `${filterName}==${fceValue ?? v}`;
96
85
  }).join('||');
97
86
 
98
- paramsArray.push(`filters=${conditionalEncodeURIComponent(filterString)}`);
87
+ paramsArray.push(`filters=${filterString}`);
99
88
  } else if (!filterKey) {
100
89
  // These filters have no key mapping so we just pass the values to the backend as-is.
101
- paramsArray.push(...filterValues?.map(f => `filters=${conditionalEncodeURIComponent(f)}`));
90
+ paramsArray.push(...filterValues?.map(f => `filters=${f}`));
102
91
  } else {
103
92
  const filterString = filterValues.map(v => `${filterKey}==${v}`).join('||');
104
- paramsArray.push(`filters=${conditionalEncodeURIComponent(filterString)}`);
93
+ paramsArray.push(`filters=${filterString}`);
105
94
  }
106
95
  });
107
96
  }
@@ -109,10 +98,9 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
109
98
  if (optionsSort && optionsSort.length > 0) {
110
99
  optionsSort.forEach(os => {
111
100
  if (os.value) {
112
- paramsArray.push(`sort=${conditionalEncodeURIComponent(os.value)}`);
101
+ paramsArray.push(`sort=${os.value}`);
113
102
  } else if (os.path) { // If no path then ignore
114
- const sortString = `${os.path};${os.direction ?? 'asc'}`;
115
- paramsArray.push(`sort=${conditionalEncodeURIComponent(sortString)}`);
103
+ paramsArray.push(`sort=${os.path};${os.direction ?? 'asc'}`);
116
104
  }
117
105
  });
118
106
  }
@@ -126,9 +114,7 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
126
114
  term = term.replace(term, sortKeys[term]);
127
115
  }
128
116
 
129
- const sortString = `${term};${descending ? 'desc' : 'asc'}`;
130
-
131
- return `sort=${conditionalEncodeURIComponent(sortString)}`;
117
+ return `sort=${term};${descending ? 'desc' : 'asc'}`;
132
118
  }));
133
119
  }
134
120
 
@@ -137,7 +123,7 @@ const generateKiwtQueryParams = (options, nsValues, encode = true) => {
137
123
  }
138
124
 
139
125
  for (const [key, value] of Object.entries(rest)) {
140
- paramsArray.push(`${key}=${conditionalEncodeURIComponent(value)}`);
126
+ paramsArray.push(`${key}=${value}`);
141
127
  }
142
128
 
143
129
  return paramsArray;
package/yarn-error.log ADDED
@@ -0,0 +1,147 @@
1
+ Arguments:
2
+ /home/ethan/.nvm/versions/node/v16.17.0/bin/node /usr/share/yarn/bin/yarn.js install --ignore-scripts
3
+
4
+ PATH:
5
+ /home/ethan/.rd/bin:/home/ethan/.nvm/versions/node/v16.17.0/bin:/home/ethan/.sdkman/candidates/java/current/bin:/home/ethan/.sdkman/candidates/groovy/current/bin:/home/ethan/.sdkman/candidates/grails/current/bin:/home/ethan/.sdkman/candidates/gradle/current/bin:/home/ethan/.rd/bin:/home/ethan/.yarn/bin:/home/ethan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
6
+
7
+ Yarn version:
8
+ 1.22.19
9
+
10
+ Node version:
11
+ 16.17.0
12
+
13
+ Platform:
14
+ linux x64
15
+
16
+ Trace:
17
+ Error: https://repository.folio.org/repository/npm-folio/@folio%2fstripes-erm-testing: Package '@folio/stripes-erm-testing' not found
18
+ at Request.params.callback [as _callback] (/usr/share/yarn/lib/cli.js:66145:18)
19
+ at Request.self.callback (/usr/share/yarn/lib/cli.js:140890:22)
20
+ at Request.emit (node:events:513:28)
21
+ at Request.<anonymous> (/usr/share/yarn/lib/cli.js:141862:10)
22
+ at Request.emit (node:events:513:28)
23
+ at IncomingMessage.<anonymous> (/usr/share/yarn/lib/cli.js:141784:12)
24
+ at Object.onceWrapper (node:events:627:28)
25
+ at IncomingMessage.emit (node:events:525:35)
26
+ at endReadableNT (node:internal/streams/readable:1358:12)
27
+ at processTicksAndRejections (node:internal/process/task_queues:83:21)
28
+
29
+ npm manifest:
30
+ {
31
+ "name": "@k-int/stripes-kint-components",
32
+ "version": "3.1.0",
33
+ "description": "Stripes Component library for K-Int specific applications",
34
+ "sideEffects": [
35
+ "*.css"
36
+ ],
37
+ "license": "Apache-2.0",
38
+ "engines": {
39
+ "node": ">=10.0.0"
40
+ },
41
+ "scripts": {
42
+ "lint": "eslint src",
43
+ "test": "yarn run test:jest",
44
+ "test:jest": "jest --ci --coverage",
45
+ "build:es": "rm -rf ./es && babel --extensions .js --ignore ./src/**/tests/**/* ./src --out-dir es",
46
+ "build": "yarn build:es",
47
+ "clean": "rm -rf ./node_modules ./*/node_modules ./yarn.lock && yarn install",
48
+ "clean-build": "yarn clean && yarn build",
49
+ "prepare": "yarn build"
50
+ },
51
+ "dependencies": {
52
+ "@rehooks/local-storage": "2.4.0",
53
+ "compose-function": "^3.0.3",
54
+ "react-resize-detector": "^7.1.2",
55
+ "zustand": "^4.0.0"
56
+ },
57
+ "devDependencies": {
58
+ "@babel/cli": "^7.18.10",
59
+ "@babel/core": "^7.18.6",
60
+ "@babel/eslint-parser": "^7.15.0",
61
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
62
+ "@babel/plugin-proposal-decorators": "^7.12.1",
63
+ "@babel/plugin-proposal-function-sent": "^7.18.6",
64
+ "@babel/plugin-proposal-throw-expressions": "^7.18.6",
65
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
66
+ "@babel/plugin-transform-runtime": "^7.12.1",
67
+ "@babel/preset-env": "^7.18.9",
68
+ "@babel/preset-flow": "^7.18.6",
69
+ "@babel/preset-react": "^7.18.6",
70
+ "@babel/preset-typescript": "^7.18.6",
71
+ "@folio/eslint-config-stripes": "^6.1.0",
72
+ "@folio/stripes": "^7.2.0",
73
+ "@folio/stripes-cli": "^2.6.0",
74
+ "@folio/stripes-erm-testing": "^1.0.0",
75
+ "@folio/stripes-testing": "^4.2.0",
76
+ "@formatjs/cli": "^4.2.31",
77
+ "@interactors/html": "^1.0.0-rc1.2",
78
+ "@testing-library/dom": "^8.16.0",
79
+ "@testing-library/jest-dom": "^5.16.4",
80
+ "@testing-library/react": "^12.1.5",
81
+ "@testing-library/user-event": "^14.3.0",
82
+ "babel-eslint": "^10.1.0",
83
+ "babel-jest": "^28.1.3",
84
+ "babel-plugin-const-enum": "^1.0.1",
85
+ "babel-plugin-module-resolver": "^4.0.0",
86
+ "babel-plugin-require-context-hook": "^1.0.0",
87
+ "babel-plugin-transform-async-to-promises": "^0.8.15",
88
+ "babel-polyfill": "^6.26.0",
89
+ "classnames": ">=2.2.6",
90
+ "core-js": "^3.6.1",
91
+ "eslint": "^7.32.0",
92
+ "eslint-plugin-import": "^2.26.0",
93
+ "eslint-plugin-jest": "^26.6.0",
94
+ "eslint-plugin-jest-dom": "^4.0.2",
95
+ "eslint-plugin-testing-library": "^5.5.1",
96
+ "graphql": "^16.0.0",
97
+ "identity-obj-proxy": "^3.0.0",
98
+ "jest": "^28.1.0",
99
+ "jest-css-modules": "^2.1.0",
100
+ "jest-css-modules-transform": "^4.0.0",
101
+ "jest-environment-jsdom": "^28.1.2",
102
+ "jest-junit": "^13.2.0",
103
+ "jest-webpack": "^0.5.1",
104
+ "moment": "^2.29.4",
105
+ "prop-types-extra": ">=1.1.0",
106
+ "react": "^17.0.2",
107
+ "react-dom": "^17.0.2",
108
+ "react-intl": "^5.8.1",
109
+ "react-query": "^3.6.0",
110
+ "react-redux": "^7.0.0",
111
+ "react-router": "^5.2.0",
112
+ "react-router-dom": "^5.2.0",
113
+ "redux": "^4.0.0",
114
+ "redux-observable": "^1.2.0",
115
+ "regenerator-runtime": "^0.13.3",
116
+ "rxjs": "^6.6.3",
117
+ "sinon": "^14.0.0",
118
+ "typescript": "^2.8.0"
119
+ },
120
+ "peerDependencies": {
121
+ "@folio/stripes": ">=7.0.3",
122
+ "final-form": ">=4.18.4",
123
+ "final-form-arrays": ">=3.0.1",
124
+ "lodash": ">=4.17.0",
125
+ "prop-types": ">=15.6.0",
126
+ "query-string": ">=6.6.0",
127
+ "react": "*",
128
+ "react-final-form": ">=6.3.0",
129
+ "react-final-form-arrays": ">=3.1.0",
130
+ "react-intl": ">=5.8.1",
131
+ "react-query": ">=3.9.0",
132
+ "react-router-dom": ">=5.2.0"
133
+ },
134
+ "main": "src/index.js",
135
+ "module": "es/index.js",
136
+ "repository": {
137
+ "type": "git",
138
+ "url": "git@gitlab.com:knowledge-integration/folio/stripes-kint-components.git"
139
+ },
140
+ "author": "knowledgeintegration"
141
+ }
142
+
143
+ yarn manifest:
144
+ No manifest
145
+
146
+ Lockfile:
147
+ No lockfile