@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
@@ -25,28 +25,28 @@
25
25
  <div class='fl pad1y space-right2'>
26
26
  <span class="strong">0% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>0/27</span>
28
+ <span class='fraction'>0/31</span>
29
29
  </div>
30
30
 
31
31
 
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/64</span>
36
36
  </div>
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
40
  <span class="strong">0% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>0/9</span>
42
+ <span class='fraction'>0/10</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
47
  <span class="strong">0% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>0/24</span>
49
+ <span class='fraction'>0/28</span>
50
50
  </div>
51
51
 
52
52
 
@@ -359,7 +359,61 @@
359
359
  <a name='L294'></a><a href='#L294'>294</a>
360
360
  <a name='L295'></a><a href='#L295'>295</a>
361
361
  <a name='L296'></a><a href='#L296'>296</a>
362
- <a name='L297'></a><a href='#L297'>297</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
362
+ <a name='L297'></a><a href='#L297'>297</a>
363
+ <a name='L298'></a><a href='#L298'>298</a>
364
+ <a name='L299'></a><a href='#L299'>299</a>
365
+ <a name='L300'></a><a href='#L300'>300</a>
366
+ <a name='L301'></a><a href='#L301'>301</a>
367
+ <a name='L302'></a><a href='#L302'>302</a>
368
+ <a name='L303'></a><a href='#L303'>303</a>
369
+ <a name='L304'></a><a href='#L304'>304</a>
370
+ <a name='L305'></a><a href='#L305'>305</a>
371
+ <a name='L306'></a><a href='#L306'>306</a>
372
+ <a name='L307'></a><a href='#L307'>307</a>
373
+ <a name='L308'></a><a href='#L308'>308</a>
374
+ <a name='L309'></a><a href='#L309'>309</a>
375
+ <a name='L310'></a><a href='#L310'>310</a>
376
+ <a name='L311'></a><a href='#L311'>311</a>
377
+ <a name='L312'></a><a href='#L312'>312</a>
378
+ <a name='L313'></a><a href='#L313'>313</a>
379
+ <a name='L314'></a><a href='#L314'>314</a>
380
+ <a name='L315'></a><a href='#L315'>315</a>
381
+ <a name='L316'></a><a href='#L316'>316</a>
382
+ <a name='L317'></a><a href='#L317'>317</a>
383
+ <a name='L318'></a><a href='#L318'>318</a>
384
+ <a name='L319'></a><a href='#L319'>319</a>
385
+ <a name='L320'></a><a href='#L320'>320</a>
386
+ <a name='L321'></a><a href='#L321'>321</a>
387
+ <a name='L322'></a><a href='#L322'>322</a>
388
+ <a name='L323'></a><a href='#L323'>323</a>
389
+ <a name='L324'></a><a href='#L324'>324</a>
390
+ <a name='L325'></a><a href='#L325'>325</a>
391
+ <a name='L326'></a><a href='#L326'>326</a>
392
+ <a name='L327'></a><a href='#L327'>327</a>
393
+ <a name='L328'></a><a href='#L328'>328</a>
394
+ <a name='L329'></a><a href='#L329'>329</a>
395
+ <a name='L330'></a><a href='#L330'>330</a>
396
+ <a name='L331'></a><a href='#L331'>331</a>
397
+ <a name='L332'></a><a href='#L332'>332</a>
398
+ <a name='L333'></a><a href='#L333'>333</a>
399
+ <a name='L334'></a><a href='#L334'>334</a>
400
+ <a name='L335'></a><a href='#L335'>335</a>
401
+ <a name='L336'></a><a href='#L336'>336</a>
402
+ <a name='L337'></a><a href='#L337'>337</a>
403
+ <a name='L338'></a><a href='#L338'>338</a>
404
+ <a name='L339'></a><a href='#L339'>339</a>
405
+ <a name='L340'></a><a href='#L340'>340</a>
406
+ <a name='L341'></a><a href='#L341'>341</a>
407
+ <a name='L342'></a><a href='#L342'>342</a>
408
+ <a name='L343'></a><a href='#L343'>343</a>
409
+ <a name='L344'></a><a href='#L344'>344</a>
410
+ <a name='L345'></a><a href='#L345'>345</a>
411
+ <a name='L346'></a><a href='#L346'>346</a>
412
+ <a name='L347'></a><a href='#L347'>347</a>
413
+ <a name='L348'></a><a href='#L348'>348</a>
414
+ <a name='L349'></a><a href='#L349'>349</a>
415
+ <a name='L350'></a><a href='#L350'>350</a>
416
+ <a name='L351'></a><a href='#L351'>351</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
363
417
  <span class="cline-any cline-neutral">&nbsp;</span>
364
418
  <span class="cline-any cline-neutral">&nbsp;</span>
365
419
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -405,6 +459,14 @@
405
459
  <span class="cline-any cline-neutral">&nbsp;</span>
406
460
  <span class="cline-any cline-neutral">&nbsp;</span>
407
461
  <span class="cline-any cline-no">&nbsp;</span>
462
+ <span class="cline-any cline-no">&nbsp;</span>
463
+ <span class="cline-any cline-no">&nbsp;</span>
464
+ <span class="cline-any cline-neutral">&nbsp;</span>
465
+ <span class="cline-any cline-neutral">&nbsp;</span>
466
+ <span class="cline-any cline-no">&nbsp;</span>
467
+ <span class="cline-any cline-neutral">&nbsp;</span>
468
+ <span class="cline-any cline-neutral">&nbsp;</span>
469
+ <span class="cline-any cline-no">&nbsp;</span>
408
470
  <span class="cline-any cline-neutral">&nbsp;</span>
409
471
  <span class="cline-any cline-neutral">&nbsp;</span>
410
472
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -478,6 +540,56 @@
478
540
  <span class="cline-any cline-neutral">&nbsp;</span>
479
541
  <span class="cline-any cline-neutral">&nbsp;</span>
480
542
  <span class="cline-any cline-neutral">&nbsp;</span>
543
+ <span class="cline-any cline-no">&nbsp;</span>
544
+ <span class="cline-any cline-no">&nbsp;</span>
545
+ <span class="cline-any cline-neutral">&nbsp;</span>
546
+ <span class="cline-any cline-no">&nbsp;</span>
547
+ <span class="cline-any cline-neutral">&nbsp;</span>
548
+ <span class="cline-any cline-neutral">&nbsp;</span>
549
+ <span class="cline-any cline-no">&nbsp;</span>
550
+ <span class="cline-any cline-neutral">&nbsp;</span>
551
+ <span class="cline-any cline-neutral">&nbsp;</span>
552
+ <span class="cline-any cline-neutral">&nbsp;</span>
553
+ <span class="cline-any cline-neutral">&nbsp;</span>
554
+ <span class="cline-any cline-neutral">&nbsp;</span>
555
+ <span class="cline-any cline-neutral">&nbsp;</span>
556
+ <span class="cline-any cline-neutral">&nbsp;</span>
557
+ <span class="cline-any cline-neutral">&nbsp;</span>
558
+ <span class="cline-any cline-neutral">&nbsp;</span>
559
+ <span class="cline-any cline-neutral">&nbsp;</span>
560
+ <span class="cline-any cline-neutral">&nbsp;</span>
561
+ <span class="cline-any cline-neutral">&nbsp;</span>
562
+ <span class="cline-any cline-neutral">&nbsp;</span>
563
+ <span class="cline-any cline-neutral">&nbsp;</span>
564
+ <span class="cline-any cline-neutral">&nbsp;</span>
565
+ <span class="cline-any cline-neutral">&nbsp;</span>
566
+ <span class="cline-any cline-neutral">&nbsp;</span>
567
+ <span class="cline-any cline-neutral">&nbsp;</span>
568
+ <span class="cline-any cline-neutral">&nbsp;</span>
569
+ <span class="cline-any cline-neutral">&nbsp;</span>
570
+ <span class="cline-any cline-neutral">&nbsp;</span>
571
+ <span class="cline-any cline-neutral">&nbsp;</span>
572
+ <span class="cline-any cline-neutral">&nbsp;</span>
573
+ <span class="cline-any cline-neutral">&nbsp;</span>
574
+ <span class="cline-any cline-neutral">&nbsp;</span>
575
+ <span class="cline-any cline-neutral">&nbsp;</span>
576
+ <span class="cline-any cline-neutral">&nbsp;</span>
577
+ <span class="cline-any cline-neutral">&nbsp;</span>
578
+ <span class="cline-any cline-neutral">&nbsp;</span>
579
+ <span class="cline-any cline-neutral">&nbsp;</span>
580
+ <span class="cline-any cline-neutral">&nbsp;</span>
581
+ <span class="cline-any cline-neutral">&nbsp;</span>
582
+ <span class="cline-any cline-neutral">&nbsp;</span>
583
+ <span class="cline-any cline-neutral">&nbsp;</span>
584
+ <span class="cline-any cline-neutral">&nbsp;</span>
585
+ <span class="cline-any cline-neutral">&nbsp;</span>
586
+ <span class="cline-any cline-neutral">&nbsp;</span>
587
+ <span class="cline-any cline-neutral">&nbsp;</span>
588
+ <span class="cline-any cline-neutral">&nbsp;</span>
589
+ <span class="cline-any cline-neutral">&nbsp;</span>
590
+ <span class="cline-any cline-neutral">&nbsp;</span>
591
+ <span class="cline-any cline-neutral">&nbsp;</span>
592
+ <span class="cline-any cline-neutral">&nbsp;</span>
481
593
  <span class="cline-any cline-neutral">&nbsp;</span>
482
594
  <span class="cline-any cline-neutral">&nbsp;</span>
483
595
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -565,13 +677,9 @@
565
677
  <span class="cline-any cline-neutral">&nbsp;</span>
566
678
  <span class="cline-any cline-neutral">&nbsp;</span>
567
679
  <span class="cline-any cline-neutral">&nbsp;</span>
568
- <span class="cline-any cline-no">&nbsp;</span>
569
- <span class="cline-any cline-no">&nbsp;</span>
570
680
  <span class="cline-any cline-neutral">&nbsp;</span>
571
- <span class="cline-any cline-no">&nbsp;</span>
572
681
  <span class="cline-any cline-neutral">&nbsp;</span>
573
682
  <span class="cline-any cline-neutral">&nbsp;</span>
574
- <span class="cline-any cline-no">&nbsp;</span>
575
683
  <span class="cline-any cline-neutral">&nbsp;</span>
576
684
  <span class="cline-any cline-neutral">&nbsp;</span>
577
685
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -669,7 +777,7 @@ import {
669
777
  TextArea,
670
778
  TextField
671
779
  } from '@folio/stripes/components';
672
- import { requiredValidator } from '@folio/stripes-erm-components';
780
+ import { required as requiredValidator, composeValidators } from '../../utils/validators';
673
781
  &nbsp;
674
782
  const CustomPropertyForm = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
675
783
  contextFilterOptions,
@@ -699,6 +807,14 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
699
807
  <span class="cstat-no" title="statement not covered" > return &lt;FormattedMessage id="stripes-kint-components.customProperties.ctx.addContext" values={{ value: filterValue }} /&gt;;</span>
700
808
  }
701
809
  };
810
+ &nbsp;
811
+ const primaryRetiredValidator = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(_</span>v, allValues) =&gt; {</span>
812
+ <span class="cstat-no" title="statement not covered" > if (allValues.primary &amp;&amp; allValues.retired) {</span>
813
+ <span class="cstat-no" title="statement not covered" > return labelOverrides?.primaryRetired ??</span>
814
+ &lt;FormattedMessage id="stripes-kint-components.errors.primaryRetired" /&gt;;
815
+ }
816
+ <span class="cstat-no" title="statement not covered" > return null;</span>
817
+ };
702
818
  &nbsp;
703
819
  <span class="cstat-no" title="statement not covered" > return (</span>
704
820
  &lt;&gt;
@@ -747,7 +863,7 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
747
863
  &lt;/Col&gt;
748
864
  &lt;/Row&gt;
749
865
  &lt;Row&gt;
750
- &lt;Col xs={12}&gt;
866
+ &lt;Col xs={9}&gt;
751
867
  &lt;Field
752
868
  component={TextArea}
753
869
  label={labelOverrides?.description ??
@@ -763,6 +879,26 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
763
879
  validate={requiredValidator}
764
880
  /&gt;
765
881
  &lt;/Col&gt;
882
+ &lt;Col xs={3}&gt;
883
+ &lt;Field
884
+ actions={[{ onSelect: addCtx, render: renderAddCtx }]}
885
+ component={MultiSelection}
886
+ dataOptions={contextOptions}
887
+ emptyMessage={intl.formatMessage({ id: 'stripes-kint-components.customProperties.noCtxFound' })}
888
+ label={labelOverrides?.ctx ??
889
+ &lt;FormattedMessage id="stripes-kint-components.customProperties.ctx" /&gt;
890
+ }
891
+ name="ctx"
892
+ onChange={<span class="fstat-no" title="function not covered" >(s</span>electedItems) =&gt; {
893
+ <span class="cstat-no" title="statement not covered" > if (selectedItems.length) {</span>
894
+ <span class="cstat-no" title="statement not covered" > change('ctx', [selectedItems?.[selectedItems?.length - 1]]);</span>
895
+ } else {
896
+ <span class="cstat-no" title="statement not covered" > change('ctx', undefined);</span>
897
+ }
898
+ }}
899
+ validate={<span class="fstat-no" title="function not covered" >va</span>lue =&gt; (<span class="cstat-no" title="statement not covered" >value?.length &gt; 1 ? &lt;FormattedMessage id="stripes-kint-components.customProperties.ctx.error.moreThanOne" /&gt; : null)</span>}
900
+ /&gt;
901
+ &lt;/Col&gt;
766
902
  &lt;/Row&gt;
767
903
  &lt;Row&gt;
768
904
  &lt;Col xs={3}&gt;
@@ -813,7 +949,47 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
813
949
  content={helpPopovers?.primary}
814
950
  /&gt; : null
815
951
  }
816
- validate={requiredValidator}
952
+ validate={composeValidators(
953
+ requiredValidator,
954
+ primaryRetiredValidator
955
+ )}
956
+ /&gt;
957
+ &lt;/Col&gt;
958
+ &lt;Col xs={3}&gt;
959
+ &lt;Field
960
+ component={Select}
961
+ dataOptions={[
962
+ {
963
+ label: intl.formatMessage({
964
+ id: 'stripes-kint-components.yes',
965
+ }),
966
+ value: 'true',
967
+ },
968
+ {
969
+ label: intl.formatMessage({
970
+ id: 'stripes-kint-components.no',
971
+ }),
972
+ value: 'false',
973
+ },
974
+ ]}
975
+ format={booleanToString}
976
+ label={labelOverrides?.retired ??
977
+ &lt;FormattedMessage
978
+ id="stripes-kint-components.customProperties.retired"
979
+ /&gt;
980
+ }
981
+ name="retired"
982
+ parse={stringToBoolean}
983
+ required
984
+ startControl={helpPopovers?.primary ?
985
+ &lt;InfoPopover
986
+ content={helpPopovers?.primary}
987
+ /&gt; : null
988
+ }
989
+ validate={composeValidators(
990
+ requiredValidator,
991
+ primaryRetiredValidator
992
+ )}
817
993
  /&gt;
818
994
  &lt;/Col&gt;
819
995
  &lt;Col xs={3}&gt;
@@ -850,26 +1026,6 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
850
1026
  validate={requiredValidator}
851
1027
  /&gt;
852
1028
  &lt;/Col&gt;
853
- &lt;Col xs={3}&gt;
854
- &lt;Field
855
- actions={[{ onSelect: addCtx, render: renderAddCtx }]}
856
- component={MultiSelection}
857
- dataOptions={contextOptions}
858
- emptyMessage={intl.formatMessage({ id: 'stripes-kint-components.customProperties.noCtxFound' })}
859
- label={labelOverrides?.ctx ??
860
- &lt;FormattedMessage id="stripes-kint-components.customProperties.ctx" /&gt;
861
- }
862
- name="ctx"
863
- onChange={<span class="fstat-no" title="function not covered" >(s</span>electedItems) =&gt; {
864
- <span class="cstat-no" title="statement not covered" > if (selectedItems.length) {</span>
865
- <span class="cstat-no" title="statement not covered" > change('ctx', [selectedItems?.[selectedItems?.length - 1]]);</span>
866
- } else {
867
- <span class="cstat-no" title="statement not covered" > change('ctx', undefined);</span>
868
- }
869
- }}
870
- validate={<span class="fstat-no" title="function not covered" >va</span>lue =&gt; (<span class="cstat-no" title="statement not covered" >value?.length &gt; 1 ? &lt;FormattedMessage id="stripes-kint-components.customProperties.ctx.error.moreThanOne" /&gt; : null)</span>}
871
- /&gt;
872
- &lt;/Col&gt;
873
1029
  &lt;/Row&gt;
874
1030
  {/* Users can only configure the type of a custom property when creating it, not when editing it */}
875
1031
  {!values?.id &amp;&amp; (
@@ -903,6 +1059,12 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
903
1059
  }),
904
1060
  value: 'Refdata',
905
1061
  },
1062
+ {
1063
+ label: intl.formatMessage({
1064
+ id: 'stripes-kint-components.customProperties.type.com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate',
1065
+ }),
1066
+ value: 'LocalDate',
1067
+ },
906
1068
  ]
907
1069
  }
908
1070
  label={labelOverrides?.type ??
@@ -958,7 +1120,7 @@ export default CustomPropertyForm;
958
1120
  <div class='footer quiet pad2 space-top1 center small'>
959
1121
  Code coverage generated by
960
1122
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
961
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
1123
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
962
1124
  </div>
963
1125
  <script src="../../prettify.js"></script>
964
1126
  <script>
@@ -25,28 +25,28 @@
25
25
  <div class='fl pad1y space-right2'>
26
26
  <span class="strong">0% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>0/93</span>
28
+ <span class='fraction'>0/97</span>
29
29
  </div>
30
30
 
31
31
 
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/125</span>
35
+ <span class='fraction'>0/139</span>
36
36
  </div>
37
37
 
38
38
 
39
39
  <div class='fl pad1y space-right2'>
40
40
  <span class="strong">0% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>0/35</span>
42
+ <span class='fraction'>0/36</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
47
  <span class="strong">0% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>0/90</span>
49
+ <span class='fraction'>0/94</span>
50
50
  </div>
51
51
 
52
52
 
@@ -116,7 +116,7 @@
116
116
  <td data-value="0" class="pct low">0%</td>
117
117
  <td data-value="3" class="abs low">0/3</td>
118
118
  <td data-value="0" class="pct low">0%</td>
119
- <td data-value="30" class="abs low">0/30</td>
119
+ <td data-value="34" class="abs low">0/34</td>
120
120
  <td data-value="0" class="pct low">0%</td>
121
121
  <td data-value="1" class="abs low">0/1</td>
122
122
  <td data-value="0" class="pct low">0%</td>
@@ -129,13 +129,13 @@
129
129
  <div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
130
130
  </td>
131
131
  <td data-value="0" class="pct low">0%</td>
132
- <td data-value="27" class="abs low">0/27</td>
132
+ <td data-value="31" class="abs low">0/31</td>
133
133
  <td data-value="0" class="pct low">0%</td>
134
- <td data-value="54" class="abs low">0/54</td>
134
+ <td data-value="64" class="abs low">0/64</td>
135
135
  <td data-value="0" class="pct low">0%</td>
136
- <td data-value="9" class="abs low">0/9</td>
136
+ <td data-value="10" class="abs low">0/10</td>
137
137
  <td data-value="0" class="pct low">0%</td>
138
- <td data-value="24" class="abs low">0/24</td>
138
+ <td data-value="28" class="abs low">0/28</td>
139
139
  </tr>
140
140
 
141
141
  <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 Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
164
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
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 Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
85
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
86
86
  </div>
87
87
  <script src="../../prettify.js"></script>
88
88
  <script>
@@ -358,7 +358,7 @@ export default EditableRefdataList;
358
358
  <div class='footer quiet pad2 space-top1 center small'>
359
359
  Code coverage generated by
360
360
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
361
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
361
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
362
362
  </div>
363
363
  <script src="../prettify.js"></script>
364
364
  <script>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
119
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <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>
@@ -208,7 +208,7 @@ export default EditableSettingsList;
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 Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
211
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
212
212
  </div>
213
213
  <script src="../prettify.js"></script>
214
214
  <script>
@@ -196,7 +196,7 @@ export default EditableSettingsListFieldArray;
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 Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
199
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
200
200
  </div>
201
201
  <script src="../prettify.js"></script>
202
202
  <script>
@@ -361,7 +361,7 @@ export default EditSettingValue;
361
361
  <div class='footer quiet pad2 space-top1 center small'>
362
362
  Code coverage generated by
363
363
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
364
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
364
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
365
365
  </div>
366
366
  <script src="../../prettify.js"></script>
367
367
  <script>
@@ -247,7 +247,7 @@ export default RenderSettingValue;
247
247
  <div class='footer quiet pad2 space-top1 center small'>
248
248
  Code coverage generated by
249
249
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
250
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
250
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
251
251
  </div>
252
252
  <script src="../../prettify.js"></script>
253
253
  <script>
@@ -421,7 +421,7 @@ export default SettingField;
421
421
  <div class='footer quiet pad2 space-top1 center small'>
422
422
  Code coverage generated by
423
423
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
424
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
424
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
425
425
  </div>
426
426
  <script src="../../prettify.js"></script>
427
427
  <script>
@@ -146,7 +146,7 @@
146
146
  <div class='footer quiet pad2 space-top1 center small'>
147
147
  Code coverage generated by
148
148
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
149
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
149
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
150
150
  </div>
151
151
  <script src="../../prettify.js"></script>
152
152
  <script>
@@ -79,7 +79,7 @@ export { default as EditSettingValue } from './EditSettingValue';
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
82
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
83
83
  </div>
84
84
  <script src="../../prettify.js"></script>
85
85
  <script>
@@ -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>
@@ -79,7 +79,7 @@ export { SettingField } from './SettingField';
79
79
  <div class='footer quiet pad2 space-top1 center small'>
80
80
  Code coverage generated by
81
81
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
82
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
82
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
83
83
  </div>
84
84
  <script src="../prettify.js"></script>
85
85
  <script>
@@ -25,7 +25,7 @@
25
25
  <div class='fl pad1y space-right2'>
26
26
  <span class="strong">0% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>0/12</span>
28
+ <span class='fraction'>0/9</span>
29
29
  </div>
30
30
 
31
31
 
@@ -39,14 +39,14 @@
39
39
  <div class='fl pad1y space-right2'>
40
40
  <span class="strong">0% </span>
41
41
  <span class="quiet">Functions</span>
42
- <span class='fraction'>0/5</span>
42
+ <span class='fraction'>0/4</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
47
  <span class="strong">0% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>0/12</span>
49
+ <span class='fraction'>0/9</span>
50
50
  </div>
51
51
 
52
52
 
@@ -129,12 +129,7 @@
129
129
  <a name='L64'></a><a href='#L64'>64</a>
130
130
  <a name='L65'></a><a href='#L65'>65</a>
131
131
  <a name='L66'></a><a href='#L66'>66</a>
132
- <a name='L67'></a><a href='#L67'>67</a>
133
- <a name='L68'></a><a href='#L68'>68</a>
134
- <a name='L69'></a><a href='#L69'>69</a>
135
- <a name='L70'></a><a href='#L70'>70</a>
136
- <a name='L71'></a><a href='#L71'>71</a>
137
- <a name='L72'></a><a href='#L72'>72</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
132
+ <a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
138
133
  <span class="cline-any cline-neutral">&nbsp;</span>
139
134
  <span class="cline-any cline-neutral">&nbsp;</span>
140
135
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -154,11 +149,6 @@
154
149
  <span class="cline-any cline-neutral">&nbsp;</span>
155
150
  <span class="cline-any cline-no">&nbsp;</span>
156
151
  <span class="cline-any cline-no">&nbsp;</span>
157
- <span class="cline-any cline-no">&nbsp;</span>
158
- <span class="cline-any cline-neutral">&nbsp;</span>
159
- <span class="cline-any cline-neutral">&nbsp;</span>
160
- <span class="cline-any cline-no">&nbsp;</span>
161
- <span class="cline-any cline-no">&nbsp;</span>
162
152
  <span class="cline-any cline-neutral">&nbsp;</span>
163
153
  <span class="cline-any cline-neutral">&nbsp;</span>
164
154
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -220,11 +210,6 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
220
210
  {<span class="fstat-no" title="function not covered" >({</span> handleSubmit, form: { restart } }) =&gt; {
221
211
  const handleClose = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(e</span>) =&gt; {</span>
222
212
  <span class="cstat-no" title="statement not covered" > onClose(e);</span>
223
- <span class="cstat-no" title="statement not covered" > restart();</span>
224
- };
225
- &nbsp;
226
- const handleSubmitAndClear = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> =&gt; {</span>
227
- <span class="cstat-no" title="statement not covered" > handleSubmit();</span>
228
213
  <span class="cstat-no" title="statement not covered" > restart();</span>
229
214
  };
230
215
  &nbsp;
@@ -232,7 +217,7 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
232
217
  <span class="cstat-no" title="statement not covered" > &lt;ModalFooter&gt;</span>
233
218
  &lt;Button
234
219
  buttonStyle="primary"
235
- onClick={handleSubmitAndClear}
220
+ onClick={handleSubmit}
236
221
  &gt;
237
222
  &lt;FormattedMessage id="stripes-kint-components.save" /&gt;
238
223
  &lt;/Button&gt;
@@ -246,7 +231,7 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
246
231
  &nbsp;
247
232
  <span class="cstat-no" title="statement not covered" > return (</span>
248
233
  &lt;form
249
- onSubmit={handleSubmitAndClear}
234
+ onSubmit={handleSubmit}
250
235
  &gt;
251
236
  &lt;Modal
252
237
  enforceFocus={false}
@@ -283,7 +268,7 @@ export default FormModal;
283
268
  <div class='footer quiet pad2 space-top1 center small'>
284
269
  Code coverage generated by
285
270
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
286
- at Wed Mar 09 2022 12:00:59 GMT+0000 (Greenwich Mean Time)
271
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
287
272
  </div>
288
273
  <script src="../prettify.js"></script>
289
274
  <script>