@k-int/stripes-kint-components 2.5.0 → 2.6.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 (330) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +1 -28
  3. package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -4
  4. package/es/artifacts/coverage-jest/lcov-report/sorter.js +1 -28
  5. package/es/index.js +7 -5
  6. package/es/lib/ActionList/ActionList.js +1 -31
  7. package/es/lib/ActionList/ActionListFieldArray.js +6 -40
  8. package/es/lib/ActionList/index.js +1 -5
  9. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +55 -46
  10. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +53 -0
  11. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +102 -62
  12. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +125 -0
  13. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +131 -138
  14. package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +200 -0
  15. package/es/lib/CustomProperties/Config/CustomPropertyView.js +22 -37
  16. package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +194 -0
  17. package/es/lib/CustomProperties/Config/index.js +1 -5
  18. package/es/lib/CustomProperties/Config/testResources.js +198 -0
  19. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +1 -30
  20. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +48 -0
  21. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +1 -34
  22. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +48 -0
  23. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +1 -37
  24. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +113 -0
  25. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +63 -64
  26. package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +283 -0
  27. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +2 -30
  28. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +65 -0
  29. package/es/lib/CustomProperties/Edit/index.js +1 -5
  30. package/es/lib/CustomProperties/Edit/testResources.js +923 -0
  31. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +10 -35
  32. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +102 -0
  33. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -34
  34. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +41 -0
  35. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +1 -34
  36. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +91 -0
  37. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -30
  38. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +86 -0
  39. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -35
  40. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +321 -0
  41. package/es/lib/CustomProperties/Filter/index.js +1 -5
  42. package/es/lib/CustomProperties/Filter/testResources.js +262 -0
  43. package/es/lib/CustomProperties/Filter/useOperators.js +9 -39
  44. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +5 -36
  45. package/es/lib/CustomProperties/Filter/useValueProps.js +13 -35
  46. package/es/lib/CustomProperties/View/CustomPropertiesView.js +1 -30
  47. package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +48 -0
  48. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +1 -34
  49. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +55 -0
  50. package/es/lib/CustomProperties/View/CustomPropertyCard.js +13 -32
  51. package/es/lib/CustomProperties/View/index.js +1 -5
  52. package/es/lib/CustomProperties/View/testResources.js +144 -0
  53. package/es/lib/CustomProperties/index.js +1 -5
  54. package/es/lib/EditableRefdataList/EditableRefdataList.js +163 -64
  55. package/es/lib/EditableRefdataList/index.js +1 -5
  56. package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -30
  57. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +1 -30
  58. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +10 -35
  59. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -34
  60. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +1 -34
  61. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +1 -34
  62. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +28 -64
  63. package/es/lib/EditableSettingsList/SettingField/SettingField.js +1 -34
  64. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +8 -33
  65. package/es/lib/EditableSettingsList/SettingField/index.js +1 -5
  66. package/es/lib/EditableSettingsList/index.js +1 -5
  67. package/es/lib/FormModal/FormModal.js +2 -31
  68. package/es/lib/FormModal/index.js +1 -5
  69. package/es/lib/NoResultsMessage/NoResultsMessage.js +1 -30
  70. package/es/lib/NoResultsMessage/index.js +1 -5
  71. package/es/lib/QueryTypedown/QueryTypedown.js +1 -34
  72. package/es/lib/QueryTypedown/index.js +1 -5
  73. package/es/lib/RefdataButtons/RefdataButtons.js +1 -34
  74. package/es/lib/RefdataButtons/index.js +1 -5
  75. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +2 -34
  76. package/es/lib/SASQLookupComponent/TableBody/TableBody.js +1 -34
  77. package/es/lib/SASQLookupComponent/TableBody/index.js +1 -5
  78. package/es/lib/SASQLookupComponent/index.js +1 -5
  79. package/es/lib/SASQRoute/SASQRoute.js +1 -30
  80. package/es/lib/SASQRoute/index.js +1 -5
  81. package/es/lib/SASQViewComponent/SASQViewComponent.js +1 -34
  82. package/es/lib/SASQViewComponent/index.js +1 -5
  83. package/es/lib/SearchField/SearchField.js +1 -31
  84. package/es/lib/SearchField/index.js +1 -5
  85. package/es/lib/SettingPage/SettingPage.js +1 -34
  86. package/es/lib/SettingPage/SettingPagePane.js +1 -32
  87. package/es/lib/SettingPage/index.js +1 -5
  88. package/es/lib/Typedown/Typedown.js +1 -34
  89. package/es/lib/Typedown/index.js +1 -5
  90. package/es/lib/constants/customProperties.js +4 -39
  91. package/es/lib/constants/eventCodes.js +1 -31
  92. package/es/lib/contexts/SettingsContext.js +1 -30
  93. package/es/lib/contexts/index.js +1 -5
  94. package/es/lib/hooks/index.js +7 -5
  95. package/es/lib/hooks/settingsHooks/index.js +8 -4
  96. package/es/lib/hooks/settingsHooks/useAppSettings.js +84 -0
  97. package/es/lib/hooks/settingsHooks/useSettingSection.js +1 -34
  98. package/es/lib/hooks/settingsHooks/useSettings.js +1 -36
  99. package/es/lib/hooks/typedownHooks/index.js +1 -5
  100. package/es/lib/hooks/typedownHooks/useTypedown.js +1 -34
  101. package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -34
  102. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +1 -34
  103. package/es/lib/hooks/useActiveElement.js +1 -32
  104. package/es/lib/hooks/useAvailableCustomProperties.js +1 -34
  105. package/es/lib/hooks/useCustomProperties.js +4 -34
  106. package/es/lib/hooks/useHelperApp.js +1 -34
  107. package/es/lib/hooks/useInvalidateRefdata.js +1 -34
  108. package/es/lib/hooks/useKiwtFieldArray.js +1 -34
  109. package/es/lib/hooks/useKiwtSASQuery.js +9 -37
  110. package/es/lib/hooks/useLocalStorageState.js +1 -34
  111. package/es/lib/hooks/useMutateCustomProperties.js +14 -42
  112. package/es/lib/hooks/useMutateRefdataValue.js +11 -39
  113. package/es/lib/hooks/useQIndex.js +1 -34
  114. package/es/lib/hooks/useRefdata.js +1 -34
  115. package/es/lib/hooks/useTemplates.js +1 -34
  116. package/es/lib/utils/buildUrl.js +2 -31
  117. package/es/lib/utils/generateKiwtQuery.js +1 -30
  118. package/es/lib/utils/generateKiwtQueryParams.js +1 -30
  119. package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -30
  120. package/es/lib/utils/highlightString.js +1 -29
  121. package/es/lib/utils/index.js +1 -5
  122. package/es/lib/utils/matchString.js +1 -30
  123. package/es/lib/utils/refdataOptions.js +1 -30
  124. package/es/lib/utils/refdataQueryKey.js +1 -30
  125. package/es/lib/utils/renderHelpText.js +1 -30
  126. package/es/lib/utils/selectorSafe.js +1 -30
  127. package/es/lib/utils/sortByLabel.js +1 -30
  128. package/es/lib/utils/toCamelCase.js +1 -30
  129. package/es/lib/utils/typedownQueryKey.js +1 -30
  130. package/es/lib/utils/validators.js +1 -32
  131. package/junit.xml +731 -38
  132. package/package.json +4 -4
  133. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +142 -28
  138. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +93 -27
  139. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +308 -188
  140. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +92 -32
  141. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +65 -50
  142. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  143. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +793 -0
  144. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +17 -17
  145. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +15 -15
  146. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +161 -77
  148. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +29 -26
  149. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +61 -46
  150. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  151. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +892 -0
  152. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +19 -19
  153. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +42 -42
  154. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +23 -23
  155. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +19 -19
  156. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +41 -41
  157. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +102 -87
  158. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  159. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +976 -0
  160. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +58 -37
  161. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +7 -7
  162. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +47 -29
  163. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +17 -17
  164. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +38 -38
  165. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +30 -6
  166. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +48 -33
  167. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  168. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +571 -0
  169. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  170. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  171. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +134 -17
  172. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +7 -7
  173. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  174. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +27 -12
  175. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +3 -3
  176. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +3 -3
  177. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +2 -2
  178. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +3 -3
  179. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  180. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  181. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +13 -13
  182. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  183. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +32 -32
  184. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +21 -21
  185. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  186. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  187. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  188. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  189. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  190. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  191. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  192. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
  193. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  194. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  195. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +6 -3
  196. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  197. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  198. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  199. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
  200. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  201. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  202. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  203. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  204. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  205. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  206. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  207. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  208. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  209. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  210. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +9 -9
  211. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +10 -10
  212. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +18 -18
  213. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  214. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +3 -3
  215. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  216. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  217. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +32 -26
  218. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  219. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +13 -13
  220. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
  221. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  222. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  223. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +92 -92
  224. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
  225. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +17 -17
  226. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  227. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +292 -0
  228. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
  229. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +8 -8
  230. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  231. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  232. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  233. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  234. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  235. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
  236. package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +7 -7
  237. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +32 -17
  238. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
  239. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
  240. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
  241. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +29 -11
  242. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
  243. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +7 -7
  244. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +7 -7
  245. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
  246. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
  247. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
  248. package/src/artifacts/coverage-jest/lcov-report/index.html +109 -109
  249. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  250. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
  251. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
  252. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +22 -22
  253. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
  254. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +31 -31
  255. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
  256. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +3 -3
  257. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  258. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
  259. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +2 -2
  260. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
  261. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
  262. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
  263. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
  264. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +46 -46
  265. package/src/artifacts/coverage-jest/lcov.info +1124 -916
  266. package/src/index.js +2 -1
  267. package/src/lib/ActionList/ActionListFieldArray.js +3 -2
  268. package/src/lib/ActionList/README.md +12 -1
  269. package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +46 -8
  270. package/src/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +35 -0
  271. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +63 -20
  272. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +51 -0
  273. package/src/lib/CustomProperties/Config/CustomPropertyForm.js +172 -132
  274. package/src/lib/CustomProperties/Config/CustomPropertyForm.test.js +126 -0
  275. package/src/lib/CustomProperties/Config/CustomPropertyView.js +29 -9
  276. package/src/lib/CustomProperties/Config/CustomPropertyView.test.js +55 -0
  277. package/src/lib/CustomProperties/Config/testResources.js +236 -0
  278. package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +29 -0
  279. package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +29 -0
  280. package/src/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +51 -0
  281. package/src/lib/CustomProperties/Edit/CustomPropertyField.js +56 -24
  282. package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +185 -0
  283. package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.js +1 -0
  284. package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +57 -0
  285. package/src/lib/CustomProperties/Edit/testResources.js +1063 -0
  286. package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +15 -3
  287. package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +43 -0
  288. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +32 -0
  289. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +44 -0
  290. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +40 -0
  291. package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +111 -0
  292. package/src/lib/CustomProperties/Filter/testResources.js +297 -0
  293. package/src/lib/CustomProperties/Filter/useOperators.js +7 -0
  294. package/src/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +5 -2
  295. package/src/lib/CustomProperties/Filter/useValueProps.js +6 -0
  296. package/src/lib/CustomProperties/View/CustomPropertiesView.test.js +32 -0
  297. package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +32 -0
  298. package/src/lib/CustomProperties/View/CustomPropertyCard.js +8 -0
  299. package/src/lib/CustomProperties/View/testResources.js +162 -0
  300. package/src/lib/EditableRefdataList/EditableRefdataList.js +97 -17
  301. package/src/lib/EditableRefdataList/README.md +3 -0
  302. package/src/lib/FormModal/FormModal.js +1 -1
  303. package/src/lib/SASQLookupComponent/SASQLookupComponent.js +1 -0
  304. package/src/lib/constants/customProperties.js +2 -0
  305. package/src/lib/hooks/README.md +28 -3
  306. package/src/lib/hooks/index.js +1 -1
  307. package/src/lib/hooks/settingsHooks/index.js +1 -0
  308. package/src/lib/hooks/settingsHooks/useAppSettings.js +69 -0
  309. package/src/lib/hooks/useCustomProperties.js +5 -0
  310. package/src/lib/hooks/useKiwtSASQuery.js +7 -1
  311. package/src/lib/hooks/useMutateCustomProperties.js +7 -3
  312. package/src/lib/hooks/useMutateRefdataValue.js +5 -2
  313. package/styles/ActionListFieldArray.css +2 -1
  314. package/styles/CustomProperties.css +17 -0
  315. package/translations/stripes-kint-components/ar.json +11 -2
  316. package/translations/stripes-kint-components/cs_CZ.json +10 -1
  317. package/translations/stripes-kint-components/de.json +11 -2
  318. package/translations/stripes-kint-components/en.json +12 -3
  319. package/translations/stripes-kint-components/es.json +11 -2
  320. package/translations/stripes-kint-components/fr.json +1 -105
  321. package/translations/stripes-kint-components/hi_IN.json +1 -105
  322. package/translations/stripes-kint-components/hu.json +11 -2
  323. package/translations/stripes-kint-components/it_IT.json +11 -2
  324. package/translations/stripes-kint-components/ja.json +10 -1
  325. package/translations/stripes-kint-components/ko.json +11 -2
  326. package/translations/stripes-kint-components/pl.json +11 -2
  327. package/translations/stripes-kint-components/pt_PT.json +11 -2
  328. package/translations/stripes-kint-components/ru.json +11 -2
  329. package/translations/stripes-kint-components/sv.json +11 -2
  330. package/translations/stripes-kint-components/zh_CN.json +10 -1
@@ -0,0 +1,923 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.value = exports.multiSelectData = exports.labelOverrides = exports.integerData = exports.initialValues = exports.decimalData = exports.dateData = exports.data = exports.customProperty = exports.customProperties = exports.custPropEditCtx = exports.custPropEdit = exports.cardFormValue = exports.availableCustomProperties = void 0;
7
+ var custPropEdit = {
8
+ 'contexts': ['isNull', 'OpenAccess'],
9
+ 'customPropertiesEndpoint': 'erm/custprops',
10
+ 'id': 'supplementaryProperties',
11
+ 'labelOverrides': {
12
+ 'defaultTitle': 'ƒ defaultTitle() {}',
13
+ 'noContext': '<Memo />',
14
+ 'OpenAccess': '<Memo />',
15
+ 'primaryProperties': '<ForwardRef />',
16
+ 'optionalProperties': '<ForwardRef />'
17
+ }
18
+ };
19
+ exports.custPropEdit = custPropEdit;
20
+ var custPropEditCtx = {
21
+ 'ctx': 'OpenAccess',
22
+ 'customPropertiesEndpoint': 'erm/custprops',
23
+ 'id': 'supplementaryProperties',
24
+ 'labelOverrides': {
25
+ 'defaultTitle': 'ƒ defaultTitle() {}',
26
+ 'noContext': '<Memo />',
27
+ 'OpenAccess': '<Memo />',
28
+ 'primaryProperties': '<ForwardRef />',
29
+ 'optionalProperties': '<ForwardRef />'
30
+ }
31
+ };
32
+ exports.custPropEditCtx = custPropEditCtx;
33
+ var availableCustomProperties = [{
34
+ 'description': 'Author Identification',
35
+ 'label': 'Author Identification',
36
+ 'primary': true,
37
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
38
+ 'options': [{
39
+ 'label': 'Not set',
40
+ 'value': ''
41
+ }, {
42
+ 'id': '2c91809c81393e6b018139454dec0061',
43
+ 'value': 'orcid',
44
+ 'label': 'ORCID'
45
+ }, {
46
+ 'id': '2c91809c81393e6b018139454df50064',
47
+ 'value': 'ringgold_id',
48
+ 'label': 'Ringgold ID'
49
+ }, {
50
+ 'id': '2c91809c81393e6b018139454de90060',
51
+ 'value': 'email_domain',
52
+ 'label': 'Email Domain'
53
+ }, {
54
+ 'id': '2c91809c81393e6b018139454df20063',
55
+ 'value': 'over_ip_range',
56
+ 'label': 'Over IP Range'
57
+ }, {
58
+ 'id': '2c91809c81393e6b018139454df90065',
59
+ 'value': 'ror_id',
60
+ 'label': 'ROR ID'
61
+ }, {
62
+ 'id': '2c91809c81393e6b018139454de5005f',
63
+ 'value': 'other',
64
+ 'label': 'Other'
65
+ }, {
66
+ 'id': '2c91809c81393e6b018139454def0062',
67
+ 'value': 'over_institute',
68
+ 'label': 'Over Institute'
69
+ }],
70
+ 'value': 'AuthorIdentification',
71
+ 'defaultInternal': true
72
+ }, {
73
+ 'description': 'Does this agreement support publishing',
74
+ 'label': 'Does this agreement support publishing',
75
+ 'primary': true,
76
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText',
77
+ 'value': 'Eligible authors',
78
+ 'defaultInternal': true
79
+ }, {
80
+ 'description': 'Description test',
81
+ 'label': 'Test',
82
+ 'primary': true,
83
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
84
+ 'options': [{
85
+ 'label': 'Not set',
86
+ 'value': ''
87
+ }, {
88
+ 'id': '2c91809c81393e6b018139454bd30015',
89
+ 'value': 'urlproxier',
90
+ 'label': 'urlProxier'
91
+ }, {
92
+ 'id': '2c91809c81393e6b018139454bda0016',
93
+ 'value': 'urlcustomiser',
94
+ 'label': 'urlCustomiser'
95
+ }],
96
+ 'value': 'Test',
97
+ 'defaultInternal': true
98
+ }];
99
+ exports.availableCustomProperties = availableCustomProperties;
100
+ var customProperty = {
101
+ 'description': 'Author Identification',
102
+ 'label': 'Author Identification',
103
+ 'primary': true,
104
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
105
+ 'options': [{
106
+ 'label': 'Not set',
107
+ 'value': ''
108
+ }, {
109
+ 'id': '2c91809c81393e6b018139454dec0061',
110
+ 'value': 'orcid',
111
+ 'label': 'ORCID'
112
+ }, {
113
+ 'id': '2c91809c81393e6b018139454df50064',
114
+ 'value': 'ringgold_id',
115
+ 'label': 'Ringgold ID'
116
+ }, {
117
+ 'id': '2c91809c81393e6b018139454de90060',
118
+ 'value': 'email_domain',
119
+ 'label': 'Email Domain'
120
+ }, {
121
+ 'id': '2c91809c81393e6b018139454df20063',
122
+ 'value': 'over_ip_range',
123
+ 'label': 'Over IP Range'
124
+ }, {
125
+ 'id': '2c91809c81393e6b018139454df90065',
126
+ 'value': 'ror_id',
127
+ 'label': 'ROR ID'
128
+ }, {
129
+ 'id': '2c91809c81393e6b018139454de5005f',
130
+ 'value': 'other',
131
+ 'label': 'Other'
132
+ }, {
133
+ 'id': '2c91809c81393e6b018139454def0062',
134
+ 'value': 'over_institute',
135
+ 'label': 'Over Institute'
136
+ }],
137
+ 'value': 'AuthorIdentification',
138
+ 'defaultInternal': true
139
+ };
140
+ exports.customProperty = customProperty;
141
+ var customProperties = [{
142
+ 'description': 'Author Identification',
143
+ 'label': 'Author Identification',
144
+ 'primary': true,
145
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
146
+ 'options': [{
147
+ 'label': 'Not set',
148
+ 'value': ''
149
+ }, {
150
+ 'id': '2c91809c81393e6b018139454dec0061',
151
+ 'value': 'orcid',
152
+ 'label': 'ORCID'
153
+ }, {
154
+ 'id': '2c91809c81393e6b018139454df50064',
155
+ 'value': 'ringgold_id',
156
+ 'label': 'Ringgold ID'
157
+ }, {
158
+ 'id': '2c91809c81393e6b018139454de90060',
159
+ 'value': 'email_domain',
160
+ 'label': 'Email Domain'
161
+ }, {
162
+ 'id': '2c91809c81393e6b018139454df20063',
163
+ 'value': 'over_ip_range',
164
+ 'label': 'Over IP Range'
165
+ }, {
166
+ 'id': '2c91809c81393e6b018139454df90065',
167
+ 'value': 'ror_id',
168
+ 'label': 'ROR ID'
169
+ }, {
170
+ 'id': '2c91809c81393e6b018139454de5005f',
171
+ 'value': 'other',
172
+ 'label': 'Other'
173
+ }, {
174
+ 'id': '2c91809c81393e6b018139454def0062',
175
+ 'value': 'over_institute',
176
+ 'label': 'Over Institute'
177
+ }],
178
+ 'value': 'AuthorIdentification',
179
+ 'defaultInternal': true
180
+ }, {
181
+ 'description': 'Does this agreement support publishing',
182
+ 'label': 'Does this agreement support publishing',
183
+ 'primary': true,
184
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText',
185
+ 'value': 'Eligible authors',
186
+ 'defaultInternal': true
187
+ }];
188
+ exports.customProperties = customProperties;
189
+ var labelOverrides = {
190
+ 'defaultTitle': 'ƒ defaultTitle() {}',
191
+ 'noContext': '<Memo />',
192
+ 'OpenAccess': '<Memo />',
193
+ 'primaryProperties': '<ForwardRef />',
194
+ 'optionalProperties': '<ForwardRef />'
195
+ };
196
+ exports.labelOverrides = labelOverrides;
197
+ var value = {
198
+ 'AuthorIdentification': [{
199
+ 'value': 'orcid',
200
+ 'note': 'internal note',
201
+ 'publicNote': 'public note',
202
+ 'internal': 'false'
203
+ }],
204
+ 'Eligible authors': [{
205
+ 'value': 'test',
206
+ 'note': 'internal note'
207
+ }],
208
+ 'Test': [{
209
+ 'value': 'urlcustomiser',
210
+ 'internal': 'false'
211
+ }]
212
+ };
213
+ exports.value = value;
214
+ var cardFormValue = {
215
+ 'AuthorIdentification': [{
216
+ 'id': 2,
217
+ 'publicNote': 'public note',
218
+ 'note': 'internal note',
219
+ 'internal': true,
220
+ 'value': '{id: \'2c91809c813e654501813e6c3bc50061\', label: \'OR…}',
221
+ 'type': '{category: {…}, ctx: \'OpenAccess\', defaultInternal:…}'
222
+ }],
223
+ 'Eligible authors': [{
224
+ '_delete': true
225
+ }],
226
+ 'Test': [{
227
+ '_delete': true
228
+ }]
229
+ };
230
+ exports.cardFormValue = cardFormValue;
231
+ var data = {
232
+ 'ctx': 'isNull',
233
+ 'customProperties': [{
234
+ 'id': '2c91809d81560ccf01815613920f0028',
235
+ 'name': 'authorisedUsers',
236
+ 'primary': true,
237
+ 'defaultInternal': true,
238
+ 'label': 'Definition of authorised user',
239
+ 'description': 'The definition of an authorised user for a resource',
240
+ 'weight': -1,
241
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
242
+ }, {
243
+ 'id': '2c91809d81560ccf0181561392030027',
244
+ 'name': 'concurrentAccess',
245
+ 'primary': true,
246
+ 'defaultInternal': true,
247
+ 'label': 'Number of concurrent users allowed',
248
+ 'description': 'The number of concurrent users allowed by the resource',
249
+ 'weight': 0,
250
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger'
251
+ }, {
252
+ 'id': '2c91809d81560ccf0181561393af0029',
253
+ 'name': 'walkInAccess',
254
+ 'primary': true,
255
+ 'category': {
256
+ 'id': '2c91809d81560ccf0181561390c4001b',
257
+ 'desc': 'Yes/No/Other',
258
+ 'internal': false,
259
+ 'values': '[{…}, {…}, {…}]'
260
+ },
261
+ 'defaultInternal': false,
262
+ 'label': 'Walk-in access permitted?',
263
+ 'description': 'Can non-members of the library/instittuion use the resource when in the library',
264
+ 'weight': 0,
265
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
266
+ }, {
267
+ 'id': '2c91809d81560ccf0181561393be002a',
268
+ 'name': 'remoteAccess',
269
+ 'primary': true,
270
+ 'category': {
271
+ 'id': '2c91809d81560ccf0181561390c4001b',
272
+ 'desc': 'Yes/No/Other',
273
+ 'internal': false,
274
+ 'values': '[{…}, {…}, {…}]'
275
+ },
276
+ 'defaultInternal': true,
277
+ 'label': 'Access restricted to on-campus/campus network?',
278
+ 'description': 'Can access to the resource be provided from outside the library or institutional location / network',
279
+ 'weight': 0,
280
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
281
+ }, {
282
+ 'id': '2c91809d81560ccf0181561393c4002b',
283
+ 'name': 'illElectronic',
284
+ 'primary': true,
285
+ 'category': {
286
+ 'id': '2c91809d81560ccf0181561390dd001f',
287
+ 'desc': 'Permitted/Prohibited',
288
+ 'internal': false,
289
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
290
+ },
291
+ 'defaultInternal': true,
292
+ 'label': 'Electronic ILL',
293
+ 'description': 'The right to provide the licensed materials via interlibrary loan by way of electronic copies',
294
+ 'weight': 0,
295
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
296
+ }, {
297
+ 'id': '2c91809d81560ccf0181561393ca002c',
298
+ 'name': 'illSecureElectronic',
299
+ 'primary': true,
300
+ 'category': {
301
+ 'id': '2c91809d81560ccf0181561390dd001f',
302
+ 'desc': 'Permitted/Prohibited',
303
+ 'internal': false,
304
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
305
+ },
306
+ 'defaultInternal': true,
307
+ 'label': 'Secure Electronic ILL',
308
+ 'description': 'The right to provide the licensed materials via interlibrary loan by way of secure electronic transmission',
309
+ 'weight': 0,
310
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
311
+ }, {
312
+ 'id': '2c91809d81560ccf0181561393d2002d',
313
+ 'name': 'illPrint',
314
+ 'primary': true,
315
+ 'category': {
316
+ 'id': '2c91809d81560ccf0181561390dd001f',
317
+ 'desc': 'Permitted/Prohibited',
318
+ 'internal': false,
319
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
320
+ },
321
+ 'defaultInternal': true,
322
+ 'label': 'Print ILL',
323
+ 'description': 'The right to provide the licensed materials via interlibrary loan by way of print copies or facsimile transmission',
324
+ 'weight': 0,
325
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
326
+ }, {
327
+ 'id': '2c91809d81560ccf0181561393d7002e',
328
+ 'name': 'reservesElectronic',
329
+ 'primary': true,
330
+ 'category': {
331
+ 'id': '2c91809d81560ccf0181561390dd001f',
332
+ 'desc': 'Permitted/Prohibited',
333
+ 'internal': false,
334
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
335
+ },
336
+ 'defaultInternal': true,
337
+ 'label': 'Storage of electronic copies on secure network',
338
+ 'description': 'The right to make electronic copies of the licensed materials and store them on a secure network',
339
+ 'weight': 0,
340
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
341
+ }, {
342
+ 'id': '2c91809d81560ccf0181561393e0002f',
343
+ 'name': 'coursePackElectronic',
344
+ 'primary': true,
345
+ 'category': {
346
+ 'id': '2c91809d81560ccf0181561390dd001f',
347
+ 'desc': 'Permitted/Prohibited',
348
+ 'internal': false,
349
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
350
+ },
351
+ 'defaultInternal': false,
352
+ 'label': 'Use in electronic coursepacks',
353
+ 'description': 'The right to use licensed materials in collections or compilations of materials assembled in an electronic format by faculty members for use by students in a class for purposes of instruction',
354
+ 'weight': 0,
355
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
356
+ }, {
357
+ 'id': '2c91809d81560ccf0181561393ee0030',
358
+ 'name': 'coursePackPrint',
359
+ 'primary': true,
360
+ 'category': {
361
+ 'id': '2c91809d81560ccf0181561390dd001f',
362
+ 'desc': 'Permitted/Prohibited',
363
+ 'internal': false,
364
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
365
+ },
366
+ 'defaultInternal': false,
367
+ 'label': 'Use in print course packs',
368
+ 'description': 'The right to use licensed materials in collections or compilations of materials assembled in a print format by faculty members for use by students in a class for purposes of instruction',
369
+ 'weight': 0,
370
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
371
+ }, {
372
+ 'id': '2c91809d81560ccf0181561393f70031',
373
+ 'name': 'copyDigital',
374
+ 'primary': true,
375
+ 'category': {
376
+ 'id': '2c91809d81560ccf0181561390dd001f',
377
+ 'desc': 'Permitted/Prohibited',
378
+ 'internal': false,
379
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
380
+ },
381
+ 'defaultInternal': true,
382
+ 'label': 'Making digital copies',
383
+ 'description': 'The right of the licensee and authorized users to download and digitally copy a reasonable portion of the licensed materials',
384
+ 'weight': 0,
385
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
386
+ }, {
387
+ 'id': '2c91809d81560ccf0181561393fc0032',
388
+ 'name': 'copyPrint',
389
+ 'primary': true,
390
+ 'category': {
391
+ 'id': '2c91809d81560ccf0181561390dd001f',
392
+ 'desc': 'Permitted/Prohibited',
393
+ 'internal': false,
394
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
395
+ },
396
+ 'defaultInternal': true,
397
+ 'label': 'Making print copies',
398
+ 'description': 'The right of the licensee and authorized users to print a reasonable portion of the licensed materials',
399
+ 'weight': 0,
400
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
401
+ }, {
402
+ 'id': '2c91809d81560ccf0181561394010033',
403
+ 'name': 'scholarlySharing',
404
+ 'primary': false,
405
+ 'category': {
406
+ 'id': '2c91809d81560ccf0181561390dd001f',
407
+ 'desc': 'Permitted/Prohibited',
408
+ 'internal': false,
409
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
410
+ },
411
+ 'defaultInternal': true,
412
+ 'label': 'Sharing for scholarly use',
413
+ 'description': 'The right of authorized users and/or licensee to transmit hard copy or electronic copy of reasonable amounts of licensed materials to a third party for personal, scholarly, educational, scientific or professional use',
414
+ 'weight': 0,
415
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
416
+ }, {
417
+ 'id': '2c91809d81560ccf0181561394050034',
418
+ 'name': 'otherRestrictions',
419
+ 'primary': false,
420
+ 'defaultInternal': true,
421
+ 'label': 'Other restrictions',
422
+ 'description': 'Other restrictions expressed in the license',
423
+ 'weight': 0,
424
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
425
+ }, {
426
+ 'id': '2c91809d81560ccf0181561394090035',
427
+ 'name': 'textAndDataMining',
428
+ 'primary': false,
429
+ 'category': {
430
+ 'id': '2c91809d81560ccf0181561390dd001f',
431
+ 'desc': 'Permitted/Prohibited',
432
+ 'internal': false,
433
+ 'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
434
+ },
435
+ 'defaultInternal': false,
436
+ 'label': 'Text and Data mining',
437
+ 'description': 'Whether it is permitted to use text and data mining processes on the content of the resource',
438
+ 'weight': 0,
439
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
440
+ }, {
441
+ 'id': '2c91809d81560ccf0181561394130037',
442
+ 'name': 'authIP',
443
+ 'primary': false,
444
+ 'category': {
445
+ 'id': '2c91809d81560ccf0181561390c4001b',
446
+ 'desc': 'Yes/No/Other',
447
+ 'internal': false,
448
+ 'values': '[{…}, {…}, {…}]'
449
+ },
450
+ 'defaultInternal': true,
451
+ 'label': 'IP authentication supported?',
452
+ 'description': 'Whether authentication via IP range is supported',
453
+ 'weight': 0,
454
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
455
+ }, {
456
+ 'id': '2c91809d81560ccf0181561394190038',
457
+ 'name': 'authProxy',
458
+ 'primary': false,
459
+ 'category': {
460
+ 'id': '2c91809d81560ccf0181561390c4001b',
461
+ 'desc': 'Yes/No/Other',
462
+ 'internal': false,
463
+ 'values': '[{…}, {…}, {…}]'
464
+ },
465
+ 'defaultInternal': true,
466
+ 'label': 'Access via a proxy supported?',
467
+ 'description': 'Whether authentication via a reverse proxy is supported',
468
+ 'weight': 0,
469
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
470
+ }, {
471
+ 'id': '2c91809d81560ccf018156139423003a',
472
+ 'name': 'authSAML',
473
+ 'primary': false,
474
+ 'category': {
475
+ 'id': '2c91809d81560ccf0181561390c4001b',
476
+ 'desc': 'Yes/No/Other',
477
+ 'internal': false,
478
+ 'values': '[{…}, {…}, {…}]'
479
+ },
480
+ 'defaultInternal': true,
481
+ 'label': 'SAML compliant authentication supported?',
482
+ 'description': 'Whether authentication via SAML compliant method is supported',
483
+ 'weight': 0,
484
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
485
+ }, {
486
+ 'id': '2c91809d81560ccf018156139428003b',
487
+ 'name': 'annualOptOut',
488
+ 'primary': false,
489
+ 'category': {
490
+ 'id': '2c91809d81560ccf0181561390c4001b',
491
+ 'desc': 'Yes/No/Other',
492
+ 'internal': false,
493
+ 'values': '[{…}, {…}, {…}]'
494
+ },
495
+ 'defaultInternal': true,
496
+ 'label': 'Annual opt-out clause included?',
497
+ 'description': 'Whether the license includes an "annual opt-out" clause within a multi-year agreement',
498
+ 'weight': 0,
499
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
500
+ }, {
501
+ 'id': '2c91809d81560ccf01815613942a003c',
502
+ 'name': 'APCAndOffsetting',
503
+ 'primary': false,
504
+ 'defaultInternal': true,
505
+ 'label': 'Whether the resource is subject to an APC discount or subscription cost offsetting agreement',
506
+ 'description': 'Whether the resource is subject to an APC discount or subscription cost offsetting agreement',
507
+ 'weight': 0,
508
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
509
+ }, {
510
+ 'id': '2c91809d81560ccf01816bd1f7b0003d',
511
+ 'name': 'TestToast',
512
+ 'primary': true,
513
+ 'category': {
514
+ 'id': '2c91809d81560ccf018156138f8c0010',
515
+ 'desc': 'License.Type',
516
+ 'internal': false,
517
+ 'values': '[{…}, {…}, {…}, {…}]'
518
+ },
519
+ 'defaultInternal': true,
520
+ 'label': 'test',
521
+ 'description': 'description',
522
+ 'weight': 0,
523
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
524
+ }, {
525
+ 'id': '2c91809d81560ccf01815613941e0039',
526
+ 'name': 'postCancellationAccess',
527
+ 'primary': false,
528
+ 'category': {
529
+ 'id': '2c91809d81560ccf0181561390c4001b',
530
+ 'desc': 'Yes/No/Other',
531
+ 'internal': false,
532
+ 'values': '[{…}, {…}, {…}]'
533
+ },
534
+ 'defaultInternal': true,
535
+ 'label': 'Post-cancellation terms included?',
536
+ 'description': 'Does the license include post-cancellation terms?',
537
+ 'weight': 1,
538
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
539
+ }],
540
+ 'labelOverrides': {
541
+ 'defaultTitle': 'ƒ defaultTitle() {}',
542
+ 'noContext': '<Memo />',
543
+ 'primaryProperties': 'Primary terms',
544
+ 'optionalProperties': 'Optional terms'
545
+ },
546
+ 'name': 'customProperties'
547
+ };
548
+ exports.data = data;
549
+ var initialValues = {
550
+ 'id': '7a4a999a-cbcf-4ddd-ac53-0c83b7c38d29',
551
+ 'dateCreated': '2022-06-16T09:43:07Z',
552
+ 'items': '[]',
553
+ 'name': 'Mr agreements',
554
+ 'orgs': '[]',
555
+ 'externalLicenseDocs': '[]',
556
+ 'outwardRelationships': '[]',
557
+ 'customProperties': {
558
+ 'test': [{
559
+ 'id': 4,
560
+ 'internal': true,
561
+ 'value': {
562
+ 'id': '2c91809c81560c700181561371d8003f',
563
+ 'value': 'active',
564
+ 'label': 'Active'
565
+ },
566
+ 'type': {
567
+ 'id': '2c91809c81560c7001816be1662d004a',
568
+ 'name': 'test',
569
+ 'primary': true,
570
+ 'category': {
571
+ 'id': 'ecd497ee8ec8c7149ae889d1c7803262',
572
+ 'desc': 'SubscriptionAgreement.AgreementStatus',
573
+ 'internal': true,
574
+ 'values': [{
575
+ 'id': '50c018ef8f7599db092e27a5178f6493',
576
+ 'value': 'closed',
577
+ 'label': 'Closed'
578
+ }, {
579
+ 'id': '2c91809c81560c700181561371d1003e',
580
+ 'value': 'in_negotiation',
581
+ 'label': 'In negotiation'
582
+ }, {
583
+ 'id': '2c91809c81560c700181561371cc003d',
584
+ 'value': 'requested',
585
+ 'label': 'Requested'
586
+ }, {
587
+ 'id': '2c91809c81560c700181561371c6003c',
588
+ 'value': 'draft',
589
+ 'label': 'Draft'
590
+ }, {
591
+ 'id': '2c91809c81560c700181561371d8003f',
592
+ 'value': 'active',
593
+ 'label': 'Active'
594
+ }]
595
+ },
596
+ 'defaultInternal': true,
597
+ 'label': 'agreement test',
598
+ 'description': 'description',
599
+ 'weight': 0,
600
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
601
+ }
602
+ }],
603
+ 'decimal': [{
604
+ 'id': 8,
605
+ 'publicNote': 'decimal',
606
+ 'note': 'decimal',
607
+ 'internal': true,
608
+ 'value': 1,
609
+ 'type': {
610
+ 'id': '2c91809c81560c7001817150dbd8004b',
611
+ 'name': 'decimal',
612
+ 'primary': true,
613
+ 'defaultInternal': true,
614
+ 'label': 'decimal',
615
+ 'description': 'decimal',
616
+ 'weight': 1,
617
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal'
618
+ }
619
+ }],
620
+ 'integer': [{
621
+ 'id': 6,
622
+ 'publicNote': 'Integer',
623
+ 'note': 'Integer',
624
+ 'internal': true,
625
+ 'value': 1,
626
+ 'type': {
627
+ 'id': '2c91809c81560c700181715123ce004c',
628
+ 'name': 'integer',
629
+ 'primary': true,
630
+ 'defaultInternal': true,
631
+ 'label': 'integer',
632
+ 'description': 'integer',
633
+ 'weight': 0,
634
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger'
635
+ }
636
+ }],
637
+ 'text': [{
638
+ 'id': 7,
639
+ 'publicNote': 'text',
640
+ 'note': 'text',
641
+ 'internal': true,
642
+ 'value': 'text',
643
+ 'type': {
644
+ 'id': '2c91809c81560c7001817151762a004d',
645
+ 'name': 'text',
646
+ 'primary': true,
647
+ 'defaultInternal': true,
648
+ 'label': 'text',
649
+ 'description': 'text',
650
+ 'weight': 0,
651
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
652
+ }
653
+ }],
654
+ 'Refdata': [{
655
+ 'id': 5,
656
+ 'publicNote': 'refdata',
657
+ 'note': 'refdata',
658
+ 'internal': true,
659
+ 'value': {
660
+ 'id': '2c91809c81560c700181561370a80005',
661
+ 'value': 'current',
662
+ 'label': 'Current'
663
+ },
664
+ 'type': {
665
+ 'id': '2c91809c81560c70018171521866004e',
666
+ 'name': 'Refdata',
667
+ 'primary': true,
668
+ 'category': {
669
+ 'id': '2c91809c81560c700181561370a50004',
670
+ 'desc': 'LicenseAmendmentStatus.Status',
671
+ 'internal': true,
672
+ 'values': [{
673
+ 'id': '2c91809c81560c700181561370b40007',
674
+ 'value': 'historical',
675
+ 'label': 'Historical'
676
+ }, {
677
+ 'id': '2c91809c81560c700181561370ad0006',
678
+ 'value': 'future',
679
+ 'label': 'Future'
680
+ }, {
681
+ 'id': '2c91809c81560c700181561370a80005',
682
+ 'value': 'current',
683
+ 'label': 'Current'
684
+ }, {
685
+ 'id': '2c91809c81560c700181561370b90008',
686
+ 'value': 'does_not_apply',
687
+ 'label': 'Does not apply'
688
+ }]
689
+ },
690
+ 'defaultInternal': true,
691
+ 'label': 'Refdata',
692
+ 'description': 'refdata',
693
+ 'weight': 0,
694
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
695
+ }
696
+ }]
697
+ },
698
+ 'contacts': '[]',
699
+ 'tags': '[]',
700
+ 'lastUpdated': '2022-06-17T11:44:59Z',
701
+ 'inwardRelationships': '[]',
702
+ 'startDate': '2022-06-16',
703
+ 'linkedLicenses': '[]',
704
+ 'docs': '[]',
705
+ 'periods': '[{…}]',
706
+ 'usageDataProviders': '[]',
707
+ 'agreementStatus': 'active',
708
+ 'supplementaryDocs': '[]',
709
+ 'endDate': null,
710
+ 'cancellationDeadline': null,
711
+ 'alternateNames': '[]',
712
+ 'relatedAgreements': '[]'
713
+ };
714
+ exports.initialValues = initialValues;
715
+ var integerData = {
716
+ 'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
717
+ 'customProperty': {
718
+ 'description': 'integer',
719
+ 'label': 'Integer',
720
+ 'primary': true,
721
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger',
722
+ 'value': 'integer',
723
+ 'defaultInternal': true
724
+ },
725
+ 'customPropertyType': 'primary',
726
+ 'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
727
+ 'index': 3,
728
+ 'internalPropertyCounter': 4,
729
+ 'labelOverrides': {
730
+ 'defaultTitle': 'ƒ defaultTitle() {}',
731
+ 'noContext': '<Memo />',
732
+ 'OpenAccess': '<Memo />',
733
+ 'primaryProperties': '<ForwardRef />',
734
+ 'optionalProperties': '<ForwardRef />'
735
+ },
736
+ 'name': 'customProperties',
737
+ 'onChange': 'ƒ () {}',
738
+ 'setCustomProperties': 'ƒ bound dispatchAction() {}',
739
+ 'value': {
740
+ 'AuthorIdentification': '[{…}]',
741
+ 'Eligible authors': '[{…}]',
742
+ 'Decimal': '[{…}]',
743
+ 'integer': '[{…}]',
744
+ 'refdataMultiSelect': '[{…}]',
745
+ 'date': '[{…}]'
746
+ }
747
+ };
748
+ exports.integerData = integerData;
749
+ var decimalData = {
750
+ 'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
751
+ 'customProperty': {
752
+ 'description': 'decimal',
753
+ 'label': 'decimal',
754
+ 'primary': true,
755
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal',
756
+ 'value': 'Decimal',
757
+ 'defaultInternal': true
758
+ },
759
+ 'customPropertyType': 'primary',
760
+ 'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
761
+ 'index': 2,
762
+ 'internalPropertyCounter': 3,
763
+ 'labelOverrides': {
764
+ 'defaultTitle': 'ƒ defaultTitle() {}',
765
+ 'noContext': '<Memo />',
766
+ 'OpenAccess': '<Memo />',
767
+ 'primaryProperties': '<ForwardRef />',
768
+ 'optionalProperties': '<ForwardRef />'
769
+ },
770
+ 'name': 'customProperties',
771
+ 'onChange': 'ƒ () {}',
772
+ 'setCustomProperties': 'ƒ bound dispatchAction() {}',
773
+ 'value': {
774
+ 'AuthorIdentification': '[{…}]',
775
+ 'Eligible authors': '[{…}]',
776
+ 'Decimal': [{
777
+ 'id': 5,
778
+ 'internal': true,
779
+ 'value': 20,
780
+ 'type': {
781
+ 'id': '2c91809c817c329101817e1e6efb0117',
782
+ 'retired': false,
783
+ 'ctx': 'OpenAccess',
784
+ 'name': 'Decimal',
785
+ 'primary': true,
786
+ 'defaultInternal': true,
787
+ 'label': 'decimal',
788
+ 'description': 'decimal',
789
+ 'weight': 0,
790
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal'
791
+ }
792
+ }],
793
+ 'integer': '[{…}]',
794
+ 'refdataMultiSelect': '[{…}]',
795
+ 'date': '[{…}]'
796
+ }
797
+ };
798
+ exports.decimalData = decimalData;
799
+ var multiSelectData = {
800
+ 'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
801
+ 'customProperty': {
802
+ 'description': 'multi-select',
803
+ 'label': 'multi-select Refdata',
804
+ 'primary': true,
805
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyMultiRefdata',
806
+ 'options': [{
807
+ 'label': 'Not set',
808
+ 'value': ''
809
+ }, {
810
+ 'id': '2c91809c817c329101817c395515004a',
811
+ 'value': 'ceased',
812
+ 'label': 'Ceased'
813
+ }, {
814
+ 'id': '2c91809c817c329101817c39551a004b',
815
+ 'value': 'superseded',
816
+ 'label': 'Superseded'
817
+ }, {
818
+ 'id': '3cea0f61a2e56b782fb733dc840e4c26',
819
+ 'value': 'rejected',
820
+ 'label': 'Rejected'
821
+ }, {
822
+ 'id': '2c91809c817c329101817c39550e0049',
823
+ 'value': 'cancelled',
824
+ 'label': 'Cancelled'
825
+ }],
826
+ 'value': 'refdataMultiSelect',
827
+ 'defaultInternal': true
828
+ },
829
+ 'customPropertyType': 'primary',
830
+ 'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
831
+ 'index': 4,
832
+ 'internalPropertyCounter': 5,
833
+ 'labelOverrides': {
834
+ 'defaultTitle': 'ƒ defaultTitle() {}',
835
+ 'noContext': '<Memo />',
836
+ 'OpenAccess': '<Memo />',
837
+ 'primaryProperties': '<ForwardRef />',
838
+ 'optionalProperties': '<ForwardRef />'
839
+ },
840
+ 'name': 'customProperties',
841
+ 'onChange': 'ƒ () {}',
842
+ 'setCustomProperties': 'ƒ bound dispatchAction() {}',
843
+ 'value': {
844
+ 'AuthorIdentification': '[{…}]',
845
+ 'Eligible authors': '[{…}]',
846
+ 'Decimal': '[{…}]',
847
+ 'integer': '[{…}]',
848
+ 'refdataMultiSelect': [{
849
+ 'id': 4,
850
+ 'internal': true,
851
+ 'value': '[{…}, {…}]',
852
+ 'type': '{category: {…}, ctx: \'OpenAccess\', defaultInternal:…}'
853
+ }],
854
+ 'date': [{
855
+ 'id': 6,
856
+ 'internal': true,
857
+ 'value': '2022-06-14',
858
+ 'type': {
859
+ 'id': '2c91809c817c329101817e1fc1f0011a',
860
+ 'retired': false,
861
+ 'ctx': 'OpenAccess',
862
+ 'name': 'date',
863
+ 'primary': true,
864
+ 'defaultInternal': true,
865
+ 'label': 'date',
866
+ 'description': 'date',
867
+ 'weight': 0,
868
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate'
869
+ }
870
+ }]
871
+ }
872
+ };
873
+ exports.multiSelectData = multiSelectData;
874
+ var dateData = {
875
+ 'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
876
+ 'customProperty': {
877
+ 'description': 'date',
878
+ 'label': 'date',
879
+ 'primary': true,
880
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate',
881
+ 'value': 'date',
882
+ 'defaultInternal': true
883
+ },
884
+ 'customPropertyType': 'primary',
885
+ 'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
886
+ 'index': 5,
887
+ 'internalPropertyCounter': 6,
888
+ 'labelOverrides': {
889
+ 'defaultTitle': 'ƒ defaultTitle() {}',
890
+ 'noContext': '<Memo />',
891
+ 'OpenAccess': '<Memo />',
892
+ 'primaryProperties': '<ForwardRef />',
893
+ 'optionalProperties': '<ForwardRef />'
894
+ },
895
+ 'name': 'customProperties',
896
+ 'onChange': 'ƒ () {}',
897
+ 'setCustomProperties': 'ƒ bound dispatchAction() {}',
898
+ 'value': {
899
+ 'AuthorIdentification': '[{…}]',
900
+ 'Eligible authors': '[{…}]',
901
+ 'Decimal': '[{…}]',
902
+ 'integer': '[{…}]',
903
+ 'refdataMultiSelect': '[{…}]',
904
+ 'date': [{
905
+ 'id': 6,
906
+ 'internal': true,
907
+ 'value': '2022-06-14',
908
+ 'type': {
909
+ 'id': '2c91809c817c329101817e1fc1f0011a',
910
+ 'retired': false,
911
+ 'ctx': 'OpenAccess',
912
+ 'name': 'date',
913
+ 'primary': true,
914
+ 'defaultInternal': true,
915
+ 'label': 'date',
916
+ 'description': 'date',
917
+ 'weight': 0,
918
+ 'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate'
919
+ }
920
+ }]
921
+ }
922
+ };
923
+ exports.dateData = dateData;