@k-int/stripes-kint-components 2.1.2 → 2.3.0

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 (207) hide show
  1. package/CHANGELOG.md +26 -4
  2. package/es/index.js +150 -4
  3. package/es/lib/ActionList/ActionList.js +10 -2
  4. package/es/lib/ActionList/ActionListFieldArray.js +53 -11
  5. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +3 -2
  6. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +88 -44
  7. package/es/lib/CustomProperties/Config/{CustomPropertiesView.js → CustomPropertyView.js} +27 -14
  8. package/es/lib/CustomProperties/Config/index.js +6 -4
  9. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +72 -0
  10. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +133 -0
  11. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +279 -0
  12. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +370 -0
  13. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +156 -0
  14. package/es/lib/CustomProperties/Edit/index.js +51 -0
  15. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +216 -0
  16. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +236 -0
  17. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +159 -0
  18. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +119 -0
  19. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +173 -0
  20. package/es/lib/CustomProperties/Filter/index.js +59 -0
  21. package/es/lib/CustomProperties/Filter/useOperators.js +138 -0
  22. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +97 -0
  23. package/es/lib/CustomProperties/Filter/useValueProps.js +101 -0
  24. package/es/lib/CustomProperties/View/CustomPropertiesView.js +73 -0
  25. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +187 -0
  26. package/es/lib/CustomProperties/View/CustomPropertyCard.js +204 -0
  27. package/es/lib/CustomProperties/View/index.js +35 -0
  28. package/es/lib/CustomProperties/index.js +125 -0
  29. package/es/lib/EditableRefdataList/EditableRefdataList.js +12 -16
  30. package/es/lib/FormModal/FormModal.js +20 -11
  31. package/es/lib/QueryTypedown/QueryTypedown.js +9 -4
  32. package/es/lib/constants/customProperties.js +4 -1
  33. package/es/lib/hooks/index.js +16 -0
  34. package/es/lib/hooks/typedownHooks/useTypedownData.js +9 -2
  35. package/es/lib/hooks/useAvailableCustomProperties.js +106 -0
  36. package/es/lib/hooks/useInvalidateRefdata.js +53 -0
  37. package/es/lib/hooks/useMutateRefdataValue.js +11 -6
  38. package/es/lib/hooks/useRefdata.js +1 -3
  39. package/es/lib/utils/groupCustomPropertiesByCtx.js +69 -0
  40. package/es/lib/utils/index.js +24 -0
  41. package/es/lib/utils/refdataQueryKey.js +48 -0
  42. package/es/lib/utils/typedownQueryKey.js +48 -0
  43. package/es/lib/utils/validators.js +160 -0
  44. package/git_translate.sh +8 -0
  45. package/junit.xml +38 -38
  46. package/package.json +1 -1
  47. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +11 -2
  48. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +25 -13
  49. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +3 -3
  50. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  51. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  52. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +5 -2
  53. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +75 -9
  54. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +195 -33
  55. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +10 -10
  56. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  57. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
  59. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  60. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
  61. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
  62. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  63. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
  64. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
  65. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  66. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  67. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
  68. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  69. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +7 -22
  70. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +7 -7
  71. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  72. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
  76. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
  77. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  78. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
  79. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  80. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  81. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
  82. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
  83. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  84. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  85. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  86. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  87. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  88. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  89. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  98. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  99. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  100. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  103. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  106. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
  108. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
  111. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +1 -1
  112. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  113. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  114. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  115. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  116. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  117. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  127. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  128. package/src/artifacts/coverage-jest/lcov-report/index.html +27 -27
  129. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  130. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +16 -10
  132. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +24 -9
  133. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
  139. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +202 -0
  140. package/src/artifacts/coverage-jest/lcov.info +366 -296
  141. package/src/index.js +35 -3
  142. package/src/lib/ActionList/ActionList.js +8 -2
  143. package/src/lib/ActionList/ActionListFieldArray.js +44 -17
  144. package/src/lib/ActionList/README.md +24 -20
  145. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +3 -2
  146. package/src/lib/CustomProperties/Config/CustomPropertyForm.js +77 -23
  147. package/src/lib/CustomProperties/Config/{CustomPropertiesView.js → CustomPropertyView.js} +31 -9
  148. package/src/lib/CustomProperties/Config/index.js +1 -1
  149. package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.js +35 -0
  150. package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +85 -0
  151. package/src/lib/CustomProperties/Edit/CustomPropertiesListField.js +194 -0
  152. package/src/lib/CustomProperties/Edit/CustomPropertyField.js +299 -0
  153. package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.js +131 -0
  154. package/src/lib/CustomProperties/Edit/index.js +5 -0
  155. package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +125 -0
  156. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +148 -0
  157. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +113 -0
  158. package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +74 -0
  159. package/src/lib/CustomProperties/Filter/CustomPropertiesRule.js +122 -0
  160. package/src/lib/CustomProperties/Filter/index.js +6 -0
  161. package/src/lib/CustomProperties/Filter/useOperators.js +55 -0
  162. package/src/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +35 -0
  163. package/src/lib/CustomProperties/Filter/useValueProps.js +45 -0
  164. package/src/lib/CustomProperties/View/CustomPropertiesView.js +36 -0
  165. package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +112 -0
  166. package/src/lib/CustomProperties/View/CustomPropertyCard.js +177 -0
  167. package/src/lib/CustomProperties/View/index.js +3 -0
  168. package/src/lib/CustomProperties/index.js +30 -0
  169. package/src/lib/EditableRefdataList/EditableRefdataList.js +13 -10
  170. package/src/lib/FormModal/FormModal.js +37 -22
  171. package/src/lib/QueryTypedown/QueryTypedown.js +3 -1
  172. package/src/lib/constants/customProperties.js +1 -0
  173. package/src/lib/hooks/index.js +2 -0
  174. package/src/lib/hooks/typedownHooks/useTypedownData.js +9 -3
  175. package/src/lib/hooks/useAvailableCustomProperties.js +40 -0
  176. package/src/lib/hooks/useInvalidateRefdata.js +11 -0
  177. package/src/lib/hooks/useMutateRefdataValue.js +7 -3
  178. package/src/lib/hooks/useRefdata.js +2 -3
  179. package/src/lib/utils/generateKiwtQueryParams.js +2 -2
  180. package/src/lib/utils/groupCustomPropertiesByCtx.js +13 -0
  181. package/src/lib/utils/index.js +5 -0
  182. package/src/lib/utils/refdataQueryKey.js +9 -0
  183. package/src/lib/utils/typedownQueryKey.js +9 -0
  184. package/src/lib/utils/validators.js +79 -0
  185. package/translate.sh +63 -0
  186. package/translations/stripes-kint-components/ar.json +105 -0
  187. package/translations/stripes-kint-components/ca.json +1 -0
  188. package/translations/stripes-kint-components/cs_CZ.json +105 -0
  189. package/translations/stripes-kint-components/da.json +1 -0
  190. package/translations/stripes-kint-components/de.json +105 -0
  191. package/translations/stripes-kint-components/en.json +59 -2
  192. package/translations/stripes-kint-components/es.json +105 -0
  193. package/translations/stripes-kint-components/fr.json +105 -0
  194. package/translations/stripes-kint-components/he.json +1 -0
  195. package/translations/stripes-kint-components/hi_IN.json +105 -0
  196. package/translations/stripes-kint-components/hu.json +105 -0
  197. package/translations/stripes-kint-components/it_IT.json +105 -0
  198. package/translations/stripes-kint-components/ja.json +105 -0
  199. package/translations/stripes-kint-components/ko.json +105 -0
  200. package/translations/stripes-kint-components/nb.json +1 -0
  201. package/translations/stripes-kint-components/nn.json +1 -0
  202. package/translations/stripes-kint-components/pl.json +105 -0
  203. package/translations/stripes-kint-components/pt_PT.json +105 -0
  204. package/translations/stripes-kint-components/ru.json +105 -0
  205. package/translations/stripes-kint-components/sv.json +105 -0
  206. package/translations/stripes-kint-components/ur.json +1 -0
  207. package/translations/stripes-kint-components/zh_CN.json +105 -0
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/50</span>
35
+ <span class='fraction'>0/53</span>
36
36
  </div>
37
37
 
38
38
 
@@ -339,7 +339,11 @@
339
339
  <a name='L274'></a><a href='#L274'>274</a>
340
340
  <a name='L275'></a><a href='#L275'>275</a>
341
341
  <a name='L276'></a><a href='#L276'>276</a>
342
- <a name='L277'></a><a href='#L277'>277</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
342
+ <a name='L277'></a><a href='#L277'>277</a>
343
+ <a name='L278'></a><a href='#L278'>278</a>
344
+ <a name='L279'></a><a href='#L279'>279</a>
345
+ <a name='L280'></a><a href='#L280'>280</a>
346
+ <a name='L281'></a><a href='#L281'>281</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
343
347
  <span class="cline-any cline-neutral">&nbsp;</span>
344
348
  <span class="cline-any cline-neutral">&nbsp;</span>
345
349
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -364,6 +368,7 @@
364
368
  <span class="cline-any cline-neutral">&nbsp;</span>
365
369
  <span class="cline-any cline-neutral">&nbsp;</span>
366
370
  <span class="cline-any cline-neutral">&nbsp;</span>
371
+ <span class="cline-any cline-neutral">&nbsp;</span>
367
372
  <span class="cline-any cline-no">&nbsp;</span>
368
373
  <span class="cline-any cline-neutral">&nbsp;</span>
369
374
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -376,6 +381,7 @@
376
381
  <span class="cline-any cline-neutral">&nbsp;</span>
377
382
  <span class="cline-any cline-neutral">&nbsp;</span>
378
383
  <span class="cline-any cline-neutral">&nbsp;</span>
384
+ <span class="cline-any cline-neutral">&nbsp;</span>
379
385
  <span class="cline-any cline-no">&nbsp;</span>
380
386
  <span class="cline-any cline-no">&nbsp;</span>
381
387
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -587,6 +593,7 @@
587
593
  <span class="cline-any cline-neutral">&nbsp;</span>
588
594
  <span class="cline-any cline-neutral">&nbsp;</span>
589
595
  <span class="cline-any cline-neutral">&nbsp;</span>
596
+ <span class="cline-any cline-neutral">&nbsp;</span>
590
597
  <span class="cline-any cline-no">&nbsp;</span>
591
598
  <span class="cline-any cline-no">&nbsp;</span>
592
599
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -612,6 +619,7 @@
612
619
  <span class="cline-any cline-neutral">&nbsp;</span>
613
620
  <span class="cline-any cline-neutral">&nbsp;</span>
614
621
  <span class="cline-any cline-neutral">&nbsp;</span>
622
+ <span class="cline-any cline-neutral">&nbsp;</span>
615
623
  <span class="cline-any cline-no">&nbsp;</span>
616
624
  <span class="cline-any cline-neutral">&nbsp;</span>
617
625
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -637,6 +645,7 @@ const propTypes = <span class="cstat-no" title="statement not covered" >{</span>
637
645
  fields: PropTypes.object,
638
646
  fieldComponents: PropTypes.object,
639
647
  formatter: PropTypes.object,
648
+ hideCreateButton: PropTypes.bool,
640
649
  visibleFields: PropTypes.arrayOf(PropTypes.string)
641
650
  };
642
651
  &nbsp;
@@ -648,6 +657,7 @@ const ActionListFieldArray = <span class="cstat-no" title="statement not covered
648
657
  editableFields,
649
658
  fields,
650
659
  fieldComponents,
660
+ hideCreateButton = <span class="branch-0 cbranch-no" title="branch not covered" >false,</span>
651
661
  visibleFields,
652
662
  ...mclProps // Assume anything left over is to directly apply to the MCL
653
663
  }) =&gt; {
@@ -859,16 +869,18 @@ const ActionListFieldArray = <span class="cstat-no" title="statement not covered
859
869
  &nbsp;
860
870
  <span class="cstat-no" title="statement not covered" > return (</span>
861
871
  &lt;&gt;
862
- &lt;Button
863
- buttonClass={css.buttonRight}
864
- disabled={!actionCalls.create}
865
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; {
866
- <span class="cstat-no" title="statement not covered" > toggleEditing('NEW_ROW');</span>
867
- <span class="cstat-no" title="statement not covered" > fields.push({});</span>
868
- }}
869
- &gt;
870
- &lt;FormattedMessage id="stripes-kint-components.actionList.create" /&gt;
871
- &lt;/Button&gt;
872
+ {!hideCreateButton &amp;&amp;
873
+ &lt;Button
874
+ buttonClass={css.buttonRight}
875
+ disabled={!actionCalls.create}
876
+ onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; {
877
+ <span class="cstat-no" title="statement not covered" > toggleEditing('NEW_ROW');</span>
878
+ <span class="cstat-no" title="statement not covered" > fields.push({});</span>
879
+ }}
880
+ &gt;
881
+ &lt;FormattedMessage id="stripes-kint-components.actionList.create" /&gt;
882
+ &lt;/Button&gt;
883
+ }
872
884
  &lt;MultiColumnList
873
885
  columnMapping={{
874
886
  ...columnMapping,
@@ -898,7 +910,7 @@ export default ActionListFieldArray;
898
910
  <div class='footer quiet pad2 space-top1 center small'>
899
911
  Code coverage generated by
900
912
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
901
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
913
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
902
914
  </div>
903
915
  <script src="../prettify.js"></script>
904
916
  <script>
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/54</span>
35
+ <span class='fraction'>0/57</span>
36
36
  </div>
37
37
 
38
38
 
@@ -101,7 +101,7 @@
101
101
  <td data-value="0" class="pct low">0%</td>
102
102
  <td data-value="81" class="abs low">0/81</td>
103
103
  <td data-value="0" class="pct low">0%</td>
104
- <td data-value="50" class="abs low">0/50</td>
104
+ <td data-value="53" class="abs low">0/53</td>
105
105
  <td data-value="0" class="pct low">0%</td>
106
106
  <td data-value="21" class="abs low">0/21</td>
107
107
  <td data-value="0" class="pct low">0%</td>
@@ -131,7 +131,7 @@
131
131
  <div class='footer quiet pad2 space-top1 center small'>
132
132
  Code coverage generated by
133
133
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
134
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
134
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
135
135
  </div>
136
136
  <script src="../prettify.js"></script>
137
137
  <script>
@@ -73,7 +73,7 @@
73
73
  <div class='footer quiet pad2 space-top1 center small'>
74
74
  Code coverage generated by
75
75
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
76
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
76
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
79
79
  <script>
@@ -403,7 +403,7 @@ export default CustomPropertiesLookup;
403
403
  <div class='footer quiet pad2 space-top1 center small'>
404
404
  Code coverage generated by
405
405
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
406
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
406
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
407
407
  </div>
408
408
  <script src="../../prettify.js"></script>
409
409
  <script>
@@ -303,7 +303,8 @@
303
303
  <a name='L238'></a><a href='#L238'>238</a>
304
304
  <a name='L239'></a><a href='#L239'>239</a>
305
305
  <a name='L240'></a><a href='#L240'>240</a>
306
- <a name='L241'></a><a href='#L241'>241</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
306
+ <a name='L241'></a><a href='#L241'>241</a>
307
+ <a name='L242'></a><a href='#L242'>242</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
307
308
  <span class="cline-any cline-neutral">&nbsp;</span>
308
309
  <span class="cline-any cline-neutral">&nbsp;</span>
309
310
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -485,6 +486,7 @@
485
486
  <span class="cline-any cline-neutral">&nbsp;</span>
486
487
  <span class="cline-any cline-neutral">&nbsp;</span>
487
488
  <span class="cline-any cline-neutral">&nbsp;</span>
489
+ <span class="cline-any cline-neutral">&nbsp;</span>
488
490
  <span class="cline-any cline-no">&nbsp;</span>
489
491
  <span class="cline-any cline-neutral">&nbsp;</span>
490
492
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -716,6 +718,7 @@ const CustomPropertiesSettings = <span class="cstat-no" title="statement not cov
716
718
  {
717
719
  weight: 0,
718
720
  primary: true,
721
+ retired: false,
719
722
  defaultInternal: true
720
723
  } :
721
724
  {
@@ -790,7 +793,7 @@ export default CustomPropertiesSettings;
790
793
  <div class='footer quiet pad2 space-top1 center small'>
791
794
  Code coverage generated by
792
795
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
793
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
796
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
794
797
  </div>
795
798
  <script src="../../prettify.js"></script>
796
799
  <script>
@@ -32,7 +32,7 @@
32
32
  <div class='fl pad1y space-right2'>
33
33
  <span class="strong">0% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>0/30</span>
35
+ <span class='fraction'>0/34</span>
36
36
  </div>
37
37
 
38
38
 
@@ -213,7 +213,29 @@
213
213
  <a name='L148'></a><a href='#L148'>148</a>
214
214
  <a name='L149'></a><a href='#L149'>149</a>
215
215
  <a name='L150'></a><a href='#L150'>150</a>
216
- <a name='L151'></a><a href='#L151'>151</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
216
+ <a name='L151'></a><a href='#L151'>151</a>
217
+ <a name='L152'></a><a href='#L152'>152</a>
218
+ <a name='L153'></a><a href='#L153'>153</a>
219
+ <a name='L154'></a><a href='#L154'>154</a>
220
+ <a name='L155'></a><a href='#L155'>155</a>
221
+ <a name='L156'></a><a href='#L156'>156</a>
222
+ <a name='L157'></a><a href='#L157'>157</a>
223
+ <a name='L158'></a><a href='#L158'>158</a>
224
+ <a name='L159'></a><a href='#L159'>159</a>
225
+ <a name='L160'></a><a href='#L160'>160</a>
226
+ <a name='L161'></a><a href='#L161'>161</a>
227
+ <a name='L162'></a><a href='#L162'>162</a>
228
+ <a name='L163'></a><a href='#L163'>163</a>
229
+ <a name='L164'></a><a href='#L164'>164</a>
230
+ <a name='L165'></a><a href='#L165'>165</a>
231
+ <a name='L166'></a><a href='#L166'>166</a>
232
+ <a name='L167'></a><a href='#L167'>167</a>
233
+ <a name='L168'></a><a href='#L168'>168</a>
234
+ <a name='L169'></a><a href='#L169'>169</a>
235
+ <a name='L170'></a><a href='#L170'>170</a>
236
+ <a name='L171'></a><a href='#L171'>171</a>
237
+ <a name='L172'></a><a href='#L172'>172</a>
238
+ <a name='L173'></a><a href='#L173'>173</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
217
239
  <span class="cline-any cline-neutral">&nbsp;</span>
218
240
  <span class="cline-any cline-neutral">&nbsp;</span>
219
241
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -343,6 +365,27 @@
343
365
  <span class="cline-any cline-neutral">&nbsp;</span>
344
366
  <span class="cline-any cline-neutral">&nbsp;</span>
345
367
  <span class="cline-any cline-neutral">&nbsp;</span>
368
+ <span class="cline-any cline-neutral">&nbsp;</span>
369
+ <span class="cline-any cline-neutral">&nbsp;</span>
370
+ <span class="cline-any cline-neutral">&nbsp;</span>
371
+ <span class="cline-any cline-neutral">&nbsp;</span>
372
+ <span class="cline-any cline-neutral">&nbsp;</span>
373
+ <span class="cline-any cline-neutral">&nbsp;</span>
374
+ <span class="cline-any cline-neutral">&nbsp;</span>
375
+ <span class="cline-any cline-neutral">&nbsp;</span>
376
+ <span class="cline-any cline-neutral">&nbsp;</span>
377
+ <span class="cline-any cline-neutral">&nbsp;</span>
378
+ <span class="cline-any cline-neutral">&nbsp;</span>
379
+ <span class="cline-any cline-neutral">&nbsp;</span>
380
+ <span class="cline-any cline-neutral">&nbsp;</span>
381
+ <span class="cline-any cline-neutral">&nbsp;</span>
382
+ <span class="cline-any cline-neutral">&nbsp;</span>
383
+ <span class="cline-any cline-neutral">&nbsp;</span>
384
+ <span class="cline-any cline-neutral">&nbsp;</span>
385
+ <span class="cline-any cline-neutral">&nbsp;</span>
386
+ <span class="cline-any cline-neutral">&nbsp;</span>
387
+ <span class="cline-any cline-neutral">&nbsp;</span>
388
+ <span class="cline-any cline-neutral">&nbsp;</span>
346
389
  <span class="cline-any cline-no">&nbsp;</span>
347
390
  <span class="cline-any cline-neutral">&nbsp;</span>
348
391
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -363,6 +406,7 @@
363
406
  <span class="cline-any cline-neutral">&nbsp;</span>
364
407
  <span class="cline-any cline-neutral">&nbsp;</span>
365
408
  <span class="cline-any cline-neutral">&nbsp;</span>
409
+ <span class="cline-any cline-neutral">&nbsp;</span>
366
410
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
367
411
  import { FormattedMessage } from 'react-intl';
368
412
  import { Col, KeyValue, NoValue, Row } from '@folio/stripes/components';
@@ -411,24 +455,34 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
411
455
  &lt;Col xs={6}&gt;
412
456
  &lt;KeyValue
413
457
  label={
414
- labelOverrides?.weight ??
415
- &lt;FormattedMessage id="stripes-kint-components.customProperties.weight" /&gt;
458
+ labelOverrides?.primary ??
459
+ &lt;FormattedMessage
460
+ id="stripes-kint-components.customProperties.primary"
461
+ /&gt;
462
+ }
463
+ value={
464
+ &lt;FormattedMessage
465
+ id={
466
+ customProperty?.primary
467
+ ? 'stripes-kint-components.yes'
468
+ : 'stripes-kint-components.no'
469
+ }
470
+ /&gt;
416
471
  }
417
- value={customProperty?.weight}
418
472
  /&gt;
419
473
  &lt;/Col&gt;
420
474
  &lt;Col xs={6}&gt;
421
475
  &lt;KeyValue
422
476
  label={
423
- labelOverrides?.primary ??
477
+ labelOverrides?.retired ??
424
478
  &lt;FormattedMessage
425
- id="stripes-kint-components.customProperties.primary"
479
+ id="stripes-kint-components.customProperties.retired"
426
480
  /&gt;
427
481
  }
428
482
  value={
429
483
  &lt;FormattedMessage
430
484
  id={
431
- customProperty?.primary
485
+ customProperty?.retired
432
486
  ? 'stripes-kint-components.yes'
433
487
  : 'stripes-kint-components.no'
434
488
  }
@@ -438,6 +492,15 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
438
492
  &lt;/Col&gt;
439
493
  &lt;/Row&gt;
440
494
  &lt;Row&gt;
495
+ &lt;Col xs={6}&gt;
496
+ &lt;KeyValue
497
+ label={
498
+ labelOverrides?.weight ??
499
+ &lt;FormattedMessage id="stripes-kint-components.customProperties.weight" /&gt;
500
+ }
501
+ value={customProperty?.weight}
502
+ /&gt;
503
+ &lt;/Col&gt;
441
504
  &lt;Col xs={6}&gt;
442
505
  &lt;KeyValue
443
506
  label={
@@ -455,6 +518,8 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
455
518
  }
456
519
  /&gt;
457
520
  &lt;/Col&gt;
521
+ &lt;/Row&gt;
522
+ &lt;Row&gt;
458
523
  &lt;Col xs={6}&gt;
459
524
  &lt;KeyValue
460
525
  label={
@@ -501,6 +566,7 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
501
566
  description: PropTypes.string,
502
567
  weight: PropTypes.number,
503
568
  primary: PropTypes.bool,
569
+ retired: PropTypes.bool,
504
570
  defaultInternal: PropTypes.bool,
505
571
  ctx: PropTypes.string,
506
572
  type: PropTypes.string,
@@ -520,7 +586,7 @@ export default CustomPropertiesView;
520
586
  <div class='footer quiet pad2 space-top1 center small'>
521
587
  Code coverage generated by
522
588
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
523
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
589
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
524
590
  </div>
525
591
  <script src="../../prettify.js"></script>
526
592
  <script>