@k-int/stripes-kint-components 4.4.3 → 4.5.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 (172) hide show
  1. package/CHANGELOG.md +8 -5
  2. package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
  3. package/es/lib/QueryTypedown/QueryTypedown.js +8 -1
  4. package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +5 -2
  5. package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +5 -1
  6. package/es/lib/hooks/useHelperApp.js +11 -4
  7. package/junit.xml +139 -139
  8. package/package.json +1 -1
  9. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
  10. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +1 -1
  11. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
  12. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  13. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  14. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +128 -50
  15. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
  16. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
  17. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +15 -15
  18. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
  19. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +1 -1
  20. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
  21. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
  22. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
  23. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
  24. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +1 -1
  25. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
  26. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
  27. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +1 -1
  28. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +1 -1
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +1 -1
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +1 -1
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +5 -5
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +4 -4
  42. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
  43. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
  44. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
  45. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
  46. package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
  47. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
  48. package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
  49. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
  50. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +1 -1
  51. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
  52. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
  53. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
  54. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  55. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +13 -4
  56. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +12 -3
  57. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  58. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
  59. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +38 -23
  60. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +15 -15
  61. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  62. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +4 -4
  63. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  64. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
  65. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
  66. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  67. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
  68. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
  69. package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
  70. package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
  71. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
  72. package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
  73. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  76. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +23 -8
  77. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +7 -7
  78. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  79. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
  80. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  81. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  82. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +11 -2
  83. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +7 -7
  84. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
  85. package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +20 -5
  86. package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
  87. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
  88. package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
  89. package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
  90. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  98. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  99. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  100. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  103. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  104. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +12 -3
  106. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +3 -3
  108. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
  111. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  112. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
  113. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  114. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
  115. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  116. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  117. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +10 -10
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  127. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +30 -18
  128. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
  129. package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
  130. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
  132. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  133. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  134. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  136. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  139. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
  140. package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
  141. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  142. package/src/artifacts/coverage-jest/lcov-report/index.html +43 -43
  143. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +3 -3
  144. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +1 -1
  145. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +1 -1
  146. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +9 -3
  148. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +1 -1
  151. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +1 -1
  152. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +1 -1
  153. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +1 -1
  154. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
  155. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +1 -1
  156. package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +1 -1
  157. package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +1 -1
  158. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  159. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +1 -1
  160. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +45 -3
  161. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
  162. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
  163. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +1 -1
  164. package/src/artifacts/coverage-jest/lcov-report/validators/index.html +1 -1
  165. package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +1 -1
  166. package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +1 -1
  167. package/src/artifacts/coverage-jest/lcov.info +388 -342
  168. package/src/lib/CustomProperties/View/CustomPropertyCard.js +3 -3
  169. package/src/lib/QueryTypedown/QueryTypedown.js +8 -3
  170. package/src/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +3 -0
  171. package/src/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +5 -0
  172. package/src/lib/hooks/useHelperApp.js +14 -10
@@ -23,16 +23,16 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">35.84% </span>
26
+ <span class="strong">33.89% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>19/53</span>
28
+ <span class='fraction'>20/59</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">40% </span>
33
+ <span class="strong">36.17% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>14/35</span>
35
+ <span class='fraction'>17/47</span>
36
36
  </div>
37
37
 
38
38
 
@@ -44,9 +44,9 @@
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">35.84% </span>
47
+ <span class="strong">33.89% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>19/53</span>
49
+ <span class='fraction'>20/59</span>
50
50
  </div>
51
51
 
52
52
 
@@ -422,7 +422,33 @@
422
422
  <a name='L357'></a><a href='#L357'>357</a>
423
423
  <a name='L358'></a><a href='#L358'>358</a>
424
424
  <a name='L359'></a><a href='#L359'>359</a>
425
- <a name='L360'></a><a href='#L360'>360</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
425
+ <a name='L360'></a><a href='#L360'>360</a>
426
+ <a name='L361'></a><a href='#L361'>361</a>
427
+ <a name='L362'></a><a href='#L362'>362</a>
428
+ <a name='L363'></a><a href='#L363'>363</a>
429
+ <a name='L364'></a><a href='#L364'>364</a>
430
+ <a name='L365'></a><a href='#L365'>365</a>
431
+ <a name='L366'></a><a href='#L366'>366</a>
432
+ <a name='L367'></a><a href='#L367'>367</a>
433
+ <a name='L368'></a><a href='#L368'>368</a>
434
+ <a name='L369'></a><a href='#L369'>369</a>
435
+ <a name='L370'></a><a href='#L370'>370</a>
436
+ <a name='L371'></a><a href='#L371'>371</a>
437
+ <a name='L372'></a><a href='#L372'>372</a>
438
+ <a name='L373'></a><a href='#L373'>373</a>
439
+ <a name='L374'></a><a href='#L374'>374</a>
440
+ <a name='L375'></a><a href='#L375'>375</a>
441
+ <a name='L376'></a><a href='#L376'>376</a>
442
+ <a name='L377'></a><a href='#L377'>377</a>
443
+ <a name='L378'></a><a href='#L378'>378</a>
444
+ <a name='L379'></a><a href='#L379'>379</a>
445
+ <a name='L380'></a><a href='#L380'>380</a>
446
+ <a name='L381'></a><a href='#L381'>381</a>
447
+ <a name='L382'></a><a href='#L382'>382</a>
448
+ <a name='L383'></a><a href='#L383'>383</a>
449
+ <a name='L384'></a><a href='#L384'>384</a>
450
+ <a name='L385'></a><a href='#L385'>385</a>
451
+ <a name='L386'></a><a href='#L386'>386</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
426
452
  <span class="cline-any cline-neutral">&nbsp;</span>
427
453
  <span class="cline-any cline-neutral">&nbsp;</span>
428
454
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -455,6 +481,17 @@
455
481
  <span class="cline-any cline-neutral">&nbsp;</span>
456
482
  <span class="cline-any cline-neutral">&nbsp;</span>
457
483
  <span class="cline-any cline-neutral">&nbsp;</span>
484
+ <span class="cline-any cline-neutral">&nbsp;</span>
485
+ <span class="cline-any cline-neutral">&nbsp;</span>
486
+ <span class="cline-any cline-neutral">&nbsp;</span>
487
+ <span class="cline-any cline-neutral">&nbsp;</span>
488
+ <span class="cline-any cline-neutral">&nbsp;</span>
489
+ <span class="cline-any cline-neutral">&nbsp;</span>
490
+ <span class="cline-any cline-neutral">&nbsp;</span>
491
+ <span class="cline-any cline-neutral">&nbsp;</span>
492
+ <span class="cline-any cline-neutral">&nbsp;</span>
493
+ <span class="cline-any cline-yes">5x</span>
494
+ <span class="cline-any cline-neutral">&nbsp;</span>
458
495
  <span class="cline-any cline-yes">5x</span>
459
496
  <span class="cline-any cline-yes">5x</span>
460
497
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -606,6 +643,8 @@
606
643
  <span class="cline-any cline-neutral">&nbsp;</span>
607
644
  <span class="cline-any cline-neutral">&nbsp;</span>
608
645
  <span class="cline-any cline-no">&nbsp;</span>
646
+ <span class="cline-any cline-no">&nbsp;</span>
647
+ <span class="cline-any cline-no">&nbsp;</span>
609
648
  <span class="cline-any cline-neutral">&nbsp;</span>
610
649
  <span class="cline-any cline-neutral">&nbsp;</span>
611
650
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -626,6 +665,11 @@
626
665
  <span class="cline-any cline-neutral">&nbsp;</span>
627
666
  <span class="cline-any cline-neutral">&nbsp;</span>
628
667
  <span class="cline-any cline-neutral">&nbsp;</span>
668
+ <span class="cline-any cline-no">&nbsp;</span>
669
+ <span class="cline-any cline-no">&nbsp;</span>
670
+ <span class="cline-any cline-neutral">&nbsp;</span>
671
+ <span class="cline-any cline-neutral">&nbsp;</span>
672
+ <span class="cline-any cline-neutral">&nbsp;</span>
629
673
  <span class="cline-any cline-neutral">&nbsp;</span>
630
674
  <span class="cline-any cline-neutral">&nbsp;</span>
631
675
  <span class="cline-any cline-no">&nbsp;</span>
@@ -646,6 +690,9 @@
646
690
  <span class="cline-any cline-neutral">&nbsp;</span>
647
691
  <span class="cline-any cline-neutral">&nbsp;</span>
648
692
  <span class="cline-any cline-neutral">&nbsp;</span>
693
+ <span class="cline-any cline-no">&nbsp;</span>
694
+ <span class="cline-any cline-neutral">&nbsp;</span>
695
+ <span class="cline-any cline-neutral">&nbsp;</span>
649
696
  <span class="cline-any cline-neutral">&nbsp;</span>
650
697
  <span class="cline-any cline-neutral">&nbsp;</span>
651
698
  <span class="cline-any cline-no">&nbsp;</span>
@@ -781,6 +828,11 @@
781
828
  <span class="cline-any cline-neutral">&nbsp;</span>
782
829
  <span class="cline-any cline-neutral">&nbsp;</span>
783
830
  <span class="cline-any cline-neutral">&nbsp;</span>
831
+ <span class="cline-any cline-neutral">&nbsp;</span>
832
+ <span class="cline-any cline-neutral">&nbsp;</span>
833
+ <span class="cline-any cline-neutral">&nbsp;</span>
834
+ <span class="cline-any cline-neutral">&nbsp;</span>
835
+ <span class="cline-any cline-neutral">&nbsp;</span>
784
836
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { useState, useContext } from 'react';
785
837
  import PropTypes from 'prop-types';
786
838
  &nbsp;
@@ -808,12 +860,23 @@ const CustomPropertiesSettings = ({
808
860
  catchQueryCalls,
809
861
  contextFilterOptions,
810
862
  customPropertiesEndpoint,
863
+ displayConditions = {
864
+ create: true,
865
+ delete: true,
866
+ edit: true
867
+ },
811
868
  helpPopovers,
812
869
  intlKey: passedIntlKey,
813
870
  intlNS: passedIntlNS,
814
871
  labelOverrides = {},
815
872
  refdataEndpoint,
816
873
  }) =&gt; {
874
+ const {
875
+ create: createCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
876
+ delete: deleteCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
877
+ edit: editCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true</span>
878
+ } = displayConditions;
879
+ &nbsp;
817
880
  const callout = useContext(CalloutContext);
818
881
  const queryClient = useQueryClient();
819
882
  &nbsp;
@@ -929,7 +992,7 @@ const CustomPropertiesSettings = ({
929
992
  &lt;Pane
930
993
  defaultWidth="fill"
931
994
  id="settings-customProperties.lookupPane"
932
- lastMenu={
995
+ lastMenu={createCondition &amp;&amp;
933
996
  &lt;Button
934
997
  buttonStyle="primary"
935
998
  marginBottom0
@@ -963,47 +1026,57 @@ const CustomPropertiesSettings = ({
963
1026
  &lt;/Pane&gt;
964
1027
  {customProperty &amp;&amp;
965
1028
  <span class="branch-1 cbranch-no" title="branch not covered" > &lt;Pane</span>
966
- actionMenu={<span class="fstat-no" title="function not covered" >({</span> onToggle }) =&gt; (
967
- <span class="cstat-no" title="statement not covered" > [</span>
968
- &lt;Button
969
- key={`${customProperty.name}-action-edit`}
970
- buttonStyle="dropdownItem"
971
- marginBottom0
972
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >setMode(EDITING)}</span>
973
- &gt;
974
- &lt;Icon icon="edit"&gt;
975
- {
976
- kintIntl.formatKintMessage(
977
- {
978
- id: 'edit',
979
- overrideValue: labelOverrides?.edit,
980
- }
981
- )
982
- }
983
- &lt;/Icon&gt;
984
- &lt;/Button&gt;,
985
- &lt;Button
986
- key={`${customProperty.name}-action-delete`}
987
- buttonStyle="dropdownItem"
988
- marginBottom0
989
- onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; {
990
- <span class="cstat-no" title="statement not covered" > setDeleteModal(true);</span>
991
- <span class="cstat-no" title="statement not covered" > onToggle();</span>
992
- }}
993
- &gt;
994
- &lt;Icon icon="trash"&gt;
995
- {
996
- kintIntl.formatKintMessage(
997
- {
998
- id: 'delete',
999
- overrideValue: labelOverrides?.delete,
1000
- }
1001
- )
1002
- }
1003
- &lt;/Icon&gt;
1004
- &lt;/Button&gt;
1005
- ]
1006
- )}
1029
+ actionMenu={<span class="fstat-no" title="function not covered" >({</span> onToggle }) =&gt; {
1030
+ const actionsArray = <span class="cstat-no" title="statement not covered" >[];</span>
1031
+ <span class="cstat-no" title="statement not covered" > if (editCondition) {</span>
1032
+ <span class="cstat-no" title="statement not covered" > actionsArray.push(</span>
1033
+ &lt;Button
1034
+ key={`${customProperty.name}-action-edit`}
1035
+ buttonStyle="dropdownItem"
1036
+ marginBottom0
1037
+ onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; <span class="cstat-no" title="statement not covered" >setMode(EDITING)}</span>
1038
+ &gt;
1039
+ &lt;Icon icon="edit"&gt;
1040
+ {
1041
+ kintIntl.formatKintMessage(
1042
+ {
1043
+ id: 'edit',
1044
+ overrideValue: labelOverrides?.edit,
1045
+ }
1046
+ )
1047
+ }
1048
+ &lt;/Icon&gt;
1049
+ &lt;/Button&gt;
1050
+ );
1051
+ }
1052
+ &nbsp;
1053
+ <span class="cstat-no" title="statement not covered" > if (deleteCondition) {</span>
1054
+ <span class="cstat-no" title="statement not covered" > actionsArray.push(</span>
1055
+ &lt;Button
1056
+ key={`${customProperty.name}-action-delete`}
1057
+ buttonStyle="dropdownItem"
1058
+ marginBottom0
1059
+ onClick={<span class="fstat-no" title="function not covered" >()</span> =&gt; {
1060
+ <span class="cstat-no" title="statement not covered" > setDeleteModal(true);</span>
1061
+ <span class="cstat-no" title="statement not covered" > onToggle();</span>
1062
+ }}
1063
+ &gt;
1064
+ &lt;Icon icon="trash"&gt;
1065
+ {
1066
+ kintIntl.formatKintMessage(
1067
+ {
1068
+ id: 'delete',
1069
+ overrideValue: labelOverrides?.delete,
1070
+ }
1071
+ )
1072
+ }
1073
+ &lt;/Icon&gt;
1074
+ &lt;/Button&gt;
1075
+ );
1076
+ }
1077
+ &nbsp;
1078
+ <span class="cstat-no" title="statement not covered" > return (actionsArray?.length ? actionsArray : null);</span>
1079
+ }}
1007
1080
  defaultWidth="fill"
1008
1081
  dismissible
1009
1082
  id="settings-customProperties-viewPane"
@@ -1132,6 +1205,11 @@ CustomPropertiesSettings.propTypes = {
1132
1205
  ])
1133
1206
  })),
1134
1207
  customPropertiesEndpoint: PropTypes.string,
1208
+ displayConditions: PropTypes.shape({
1209
+ create: PropTypes.bool,
1210
+ delete: PropTypes.bool,
1211
+ view: PropTypes.bool,
1212
+ }),
1135
1213
  helpPopovers: PropTypes.object,
1136
1214
  intlKey: PropTypes.string,
1137
1215
  intlNS: PropTypes.string,
@@ -1147,7 +1225,7 @@ export default CustomPropertiesSettings;
1147
1225
  <div class='footer quiet pad2 space-top1 center small'>
1148
1226
  Code coverage generated by
1149
1227
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1150
- at 2023-02-08T10:17:09.386Z
1228
+ at 2023-03-16T14:47:10.540Z
1151
1229
  </div>
1152
1230
  <script src="../../prettify.js"></script>
1153
1231
  <script>
@@ -1459,7 +1459,7 @@ export default CustomPropertyForm;
1459
1459
  <div class='footer quiet pad2 space-top1 center small'>
1460
1460
  Code coverage generated by
1461
1461
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1462
- at 2023-02-08T10:17:09.386Z
1462
+ at 2023-03-16T14:47:10.540Z
1463
1463
  </div>
1464
1464
  <script src="../../prettify.js"></script>
1465
1465
  <script>
@@ -718,7 +718,7 @@ export default CustomPropertyView;
718
718
  <div class='footer quiet pad2 space-top1 center small'>
719
719
  Code coverage generated by
720
720
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
721
- at 2023-02-08T10:17:09.386Z
721
+ at 2023-03-16T14:47:10.540Z
722
722
  </div>
723
723
  <script src="../../prettify.js"></script>
724
724
  <script>
@@ -23,16 +23,16 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">54.71% </span>
26
+ <span class="strong">52.67% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>58/106</span>
28
+ <span class='fraction'>59/112</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">50.9% </span>
33
+ <span class="strong">48.36% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>56/110</span>
35
+ <span class='fraction'>59/122</span>
36
36
  </div>
37
37
 
38
38
 
@@ -44,9 +44,9 @@
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">54.36% </span>
47
+ <span class="strong">52.29% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>56/103</span>
49
+ <span class='fraction'>57/109</span>
50
50
  </div>
51
51
 
52
52
 
@@ -95,17 +95,17 @@
95
95
 
96
96
  <tr>
97
97
  <td class="file low" data-value="CustomPropertiesSettings.js"><a href="CustomPropertiesSettings.js.html">CustomPropertiesSettings.js</a></td>
98
- <td data-value="35.84" class="pic low">
99
- <div class="chart"><div class="cover-fill" style="width: 35%"></div><div class="cover-empty" style="width: 65%"></div></div>
98
+ <td data-value="33.89" class="pic low">
99
+ <div class="chart"><div class="cover-fill" style="width: 33%"></div><div class="cover-empty" style="width: 67%"></div></div>
100
100
  </td>
101
- <td data-value="35.84" class="pct low">35.84%</td>
102
- <td data-value="53" class="abs low">19/53</td>
103
- <td data-value="40" class="pct low">40%</td>
104
- <td data-value="35" class="abs low">14/35</td>
101
+ <td data-value="33.89" class="pct low">33.89%</td>
102
+ <td data-value="59" class="abs low">20/59</td>
103
+ <td data-value="36.17" class="pct low">36.17%</td>
104
+ <td data-value="47" class="abs low">17/47</td>
105
105
  <td data-value="11.76" class="pct low">11.76%</td>
106
106
  <td data-value="17" class="abs low">2/17</td>
107
- <td data-value="35.84" class="pct low">35.84%</td>
108
- <td data-value="53" class="abs low">19/53</td>
107
+ <td data-value="33.89" class="pct low">33.89%</td>
108
+ <td data-value="59" class="abs low">20/59</td>
109
109
  </tr>
110
110
 
111
111
  <tr>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at 2023-02-08T10:17:09.386Z
164
+ at 2023-03-16T14:47:10.540Z
165
165
  </div>
166
166
  <script src="../../prettify.js"></script>
167
167
  <script>
@@ -82,7 +82,7 @@ export { default as CustomPropertyForm } from './CustomPropertyForm';
82
82
  <div class='footer quiet pad2 space-top1 center small'>
83
83
  Code coverage generated by
84
84
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
85
- at 2023-02-08T10:17:09.386Z
85
+ at 2023-03-16T14:47:10.540Z
86
86
  </div>
87
87
  <script src="../../prettify.js"></script>
88
88
  <script>
@@ -193,7 +193,7 @@ export default CustomPropertiesEdit;
193
193
  <div class='footer quiet pad2 space-top1 center small'>
194
194
  Code coverage generated by
195
195
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
196
- at 2023-02-08T10:17:09.386Z
196
+ at 2023-03-16T14:47:10.540Z
197
197
  </div>
198
198
  <script src="../../prettify.js"></script>
199
199
  <script>
@@ -337,7 +337,7 @@ export default CustomPropertiesEditCtx;
337
337
  <div class='footer quiet pad2 space-top1 center small'>
338
338
  Code coverage generated by
339
339
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
340
- at 2023-02-08T10:17:09.386Z
340
+ at 2023-03-16T14:47:10.540Z
341
341
  </div>
342
342
  <script src="../../prettify.js"></script>
343
343
  <script>
@@ -811,7 +811,7 @@ export default CustomPropertiesListField;
811
811
  <div class='footer quiet pad2 space-top1 center small'>
812
812
  Code coverage generated by
813
813
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
814
- at 2023-02-08T10:17:09.386Z
814
+ at 2023-03-16T14:47:10.540Z
815
815
  </div>
816
816
  <script src="../../prettify.js"></script>
817
817
  <script>
@@ -1282,7 +1282,7 @@ export default CustomPropertyField;
1282
1282
  <div class='footer quiet pad2 space-top1 center small'>
1283
1283
  Code coverage generated by
1284
1284
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1285
- at 2023-02-08T10:17:09.386Z
1285
+ at 2023-03-16T14:47:10.540Z
1286
1286
  </div>
1287
1287
  <script src="../../prettify.js"></script>
1288
1288
  <script>
@@ -439,7 +439,7 @@ export default CustomPropertyFormCard;
439
439
  <div class='footer quiet pad2 space-top1 center small'>
440
440
  Code coverage generated by
441
441
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
442
- at 2023-02-08T10:17:09.386Z
442
+ at 2023-03-16T14:47:10.540Z
443
443
  </div>
444
444
  <script src="../../prettify.js"></script>
445
445
  <script>
@@ -191,7 +191,7 @@
191
191
  <div class='footer quiet pad2 space-top1 center small'>
192
192
  Code coverage generated by
193
193
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
194
- at 2023-02-08T10:17:09.386Z
194
+ at 2023-03-16T14:47:10.540Z
195
195
  </div>
196
196
  <script src="../../prettify.js"></script>
197
197
  <script>
@@ -85,7 +85,7 @@ export { default as CustomPropertyField } from './CustomPropertyField';
85
85
  <div class='footer quiet pad2 space-top1 center small'>
86
86
  Code coverage generated by
87
87
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
88
- at 2023-02-08T10:17:09.386Z
88
+ at 2023-03-16T14:47:10.540Z
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
91
91
  <script>
@@ -256,7 +256,7 @@ export {
256
256
  <div class='footer quiet pad2 space-top1 center small'>
257
257
  Code coverage generated by
258
258
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
259
- at 2023-02-08T10:17:09.386Z
259
+ at 2023-03-16T14:47:10.540Z
260
260
  </div>
261
261
  <script src="../../prettify.js"></script>
262
262
  <script>
@@ -484,7 +484,7 @@ export default CustomPropertiesFilter;
484
484
  <div class='footer quiet pad2 space-top1 center small'>
485
485
  Code coverage generated by
486
486
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
487
- at 2023-02-08T10:17:09.386Z
487
+ at 2023-03-16T14:47:10.540Z
488
488
  </div>
489
489
  <script src="../../prettify.js"></script>
490
490
  <script>
@@ -553,7 +553,7 @@ export default CustomPropertiesFilterField;
553
553
  <div class='footer quiet pad2 space-top1 center small'>
554
554
  Code coverage generated by
555
555
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
556
- at 2023-02-08T10:17:09.386Z
556
+ at 2023-03-16T14:47:10.540Z
557
557
  </div>
558
558
  <script src="../../prettify.js"></script>
559
559
  <script>
@@ -400,7 +400,7 @@ export default CustomPropertiesFilterFieldArray;
400
400
  <div class='footer quiet pad2 space-top1 center small'>
401
401
  Code coverage generated by
402
402
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
403
- at 2023-02-08T10:17:09.386Z
403
+ at 2023-03-16T14:47:10.540Z
404
404
  </div>
405
405
  <script src="../../prettify.js"></script>
406
406
  <script>
@@ -325,7 +325,7 @@ export default CustomPropertyFiltersForm;
325
325
  <div class='footer quiet pad2 space-top1 center small'>
326
326
  Code coverage generated by
327
327
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
328
- at 2023-02-08T10:17:09.386Z
328
+ at 2023-03-16T14:47:10.540Z
329
329
  </div>
330
330
  <script src="../../prettify.js"></script>
331
331
  <script>
@@ -487,7 +487,7 @@ export default CustomPropertiesRule;
487
487
  <div class='footer quiet pad2 space-top1 center small'>
488
488
  Code coverage generated by
489
489
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
490
- at 2023-02-08T10:17:09.386Z
490
+ at 2023-03-16T14:47:10.540Z
491
491
  </div>
492
492
  <script src="../../prettify.js"></script>
493
493
  <script>
@@ -236,7 +236,7 @@
236
236
  <div class='footer quiet pad2 space-top1 center small'>
237
237
  Code coverage generated by
238
238
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
239
- at 2023-02-08T10:17:09.386Z
239
+ at 2023-03-16T14:47:10.540Z
240
240
  </div>
241
241
  <script src="../../prettify.js"></script>
242
242
  <script>
@@ -88,7 +88,7 @@ export { default as CustomPropertiesFilterFieldArray } from './CustomPropertiesF
88
88
  <div class='footer quiet pad2 space-top1 center small'>
89
89
  Code coverage generated by
90
90
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
91
- at 2023-02-08T10:17:09.386Z
91
+ at 2023-03-16T14:47:10.540Z
92
92
  </div>
93
93
  <script src="../../prettify.js"></script>
94
94
  <script>
@@ -208,7 +208,7 @@ export {
208
208
  <div class='footer quiet pad2 space-top1 center small'>
209
209
  Code coverage generated by
210
210
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
211
- at 2023-02-08T10:17:09.386Z
211
+ at 2023-03-16T14:47:10.540Z
212
212
  </div>
213
213
  <script src="../../prettify.js"></script>
214
214
  <script>
@@ -256,7 +256,7 @@ export default useOperators;
256
256
  <div class='footer quiet pad2 space-top1 center small'>
257
257
  Code coverage generated by
258
258
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
259
- at 2023-02-08T10:17:09.386Z
259
+ at 2023-03-16T14:47:10.540Z
260
260
  </div>
261
261
  <script src="../../prettify.js"></script>
262
262
  <script>
@@ -184,7 +184,7 @@ export default useParseActiveFilterStrings;
184
184
  <div class='footer quiet pad2 space-top1 center small'>
185
185
  Code coverage generated by
186
186
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
187
- at 2023-02-08T10:17:09.386Z
187
+ at 2023-03-16T14:47:10.540Z
188
188
  </div>
189
189
  <script src="../../prettify.js"></script>
190
190
  <script>
@@ -238,7 +238,7 @@ export default useValueProps;
238
238
  <div class='footer quiet pad2 space-top1 center small'>
239
239
  Code coverage generated by
240
240
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
241
- at 2023-02-08T10:17:09.386Z
241
+ at 2023-03-16T14:47:10.540Z
242
242
  </div>
243
243
  <script src="../../prettify.js"></script>
244
244
  <script>
@@ -196,7 +196,7 @@ export default CustomPropertiesView;
196
196
  <div class='footer quiet pad2 space-top1 center small'>
197
197
  Code coverage generated by
198
198
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
199
- at 2023-02-08T10:17:09.386Z
199
+ at 2023-03-16T14:47:10.540Z
200
200
  </div>
201
201
  <script src="../../prettify.js"></script>
202
202
  <script>
@@ -430,7 +430,7 @@ export default CustomPropertiesViewCtx;
430
430
  <div class='footer quiet pad2 space-top1 center small'>
431
431
  Code coverage generated by
432
432
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
433
- at 2023-02-08T10:17:09.386Z
433
+ at 2023-03-16T14:47:10.540Z
434
434
  </div>
435
435
  <script src="../../prettify.js"></script>
436
436
  <script>