@k-int/stripes-kint-components 2.3.3 → 2.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 (174) hide show
  1. package/CHANGELOG.md +21 -7
  2. package/README.md +14 -1
  3. package/es/index.js +26 -2
  4. package/es/lib/ActionList/ActionList.js +20 -7
  5. package/es/lib/ActionList/ActionListFieldArray.js +86 -85
  6. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -3
  7. package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
  8. package/es/lib/EditableRefdataList/EditableRefdataList.js +3 -0
  9. package/es/lib/EditableSettingsList/EditableSettingsList.js +4 -1
  10. package/es/lib/FormModal/FormModal.js +10 -1
  11. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +62 -105
  12. package/es/lib/SASQLookupComponent/TableBody/TableBody.js +146 -0
  13. package/es/lib/SASQLookupComponent/TableBody/index.js +19 -0
  14. package/es/lib/SASQLookupComponent/index.js +9 -1
  15. package/es/lib/SASQRoute/SASQRoute.js +2 -2
  16. package/es/lib/Typedown/Typedown.js +5 -7
  17. package/es/lib/hooks/settingsHooks/useSettingSection.js +16 -3
  18. package/es/lib/hooks/settingsHooks/useSettings.js +14 -7
  19. package/es/lib/utils/generateKiwtQueryParams.js +21 -4
  20. package/es/lib/utils/highlightString.js +94 -0
  21. package/es/lib/utils/index.js +23 -1
  22. package/es/lib/utils/matchString.js +59 -0
  23. package/junit.xml +37 -37
  24. package/package.json +1 -2
  25. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +42 -12
  26. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +222 -93
  27. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +12 -12
  28. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
  29. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
  30. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +20 -17
  31. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
  32. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +601 -0
  33. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +15 -15
  34. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +2 -2
  35. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +190 -0
  36. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +340 -0
  37. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +667 -0
  38. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +982 -0
  39. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +478 -0
  40. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +191 -0
  41. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +100 -0
  42. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +460 -0
  43. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +529 -0
  44. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +424 -0
  45. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +307 -0
  46. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +451 -0
  47. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +236 -0
  48. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +103 -0
  49. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +250 -0
  50. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +190 -0
  51. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +220 -0
  52. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +193 -0
  53. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +436 -0
  54. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +616 -0
  55. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +161 -0
  56. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +94 -0
  57. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +116 -0
  58. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +175 -0
  59. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +33 -18
  60. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +5 -5
  61. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
  62. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +8 -2
  63. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
  64. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
  65. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
  66. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
  67. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
  68. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
  69. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
  70. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
  71. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +102 -24
  72. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +9 -9
  73. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
  74. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
  75. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
  76. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
  77. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +14 -8
  78. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +11 -11
  79. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
  80. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +1 -1
  81. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
  82. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
  83. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +60 -153
  84. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +373 -0
  85. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +131 -0
  86. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +88 -0
  87. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +9 -9
  88. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +6 -3
  89. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +2 -2
  90. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
  91. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
  92. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
  93. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
  94. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
  95. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
  96. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
  97. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
  98. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +1 -1
  99. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
  100. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
  101. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
  102. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +7 -25
  103. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
  104. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
  105. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +7 -4
  106. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
  107. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +5 -5
  108. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
  109. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
  110. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
  111. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +39 -9
  112. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +8 -2
  113. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +5 -5
  114. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
  115. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +57 -6
  116. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +29 -8
  117. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +7 -7
  118. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
  119. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
  120. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +26 -8
  121. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
  122. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
  123. package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +205 -0
  124. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
  125. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
  126. package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +118 -0
  127. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
  128. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
  129. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
  130. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
  131. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +21 -9
  132. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
  133. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +6 -9
  134. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
  135. package/src/artifacts/coverage-jest/lcov-report/index.html +126 -51
  136. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
  137. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
  138. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +36 -9
  139. package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +124 -0
  140. package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +211 -0
  141. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +95 -20
  142. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +29 -2
  143. package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +127 -0
  144. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
  145. package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +112 -0
  146. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +1 -1
  147. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
  148. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
  149. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
  150. package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +112 -0
  151. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +126 -6
  152. package/src/artifacts/coverage-jest/lcov.info +2043 -718
  153. package/src/index.js +6 -1
  154. package/src/lib/ActionList/ActionList.js +12 -5
  155. package/src/lib/ActionList/ActionListFieldArray.js +86 -65
  156. package/src/lib/ActionList/README.md +19 -0
  157. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -3
  158. package/src/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
  159. package/src/lib/EditableRefdataList/EditableRefdataList.js +3 -1
  160. package/src/lib/EditableSettingsList/EditableSettingsList.js +8 -1
  161. package/src/lib/FormModal/FormModal.js +6 -2
  162. package/src/lib/SASQLookupComponent/SASQLookupComponent.js +46 -77
  163. package/src/lib/SASQLookupComponent/TableBody/TableBody.js +96 -0
  164. package/src/lib/SASQLookupComponent/TableBody/index.js +1 -0
  165. package/src/lib/SASQLookupComponent/index.js +2 -1
  166. package/src/lib/SASQRoute/SASQRoute.js +1 -1
  167. package/src/lib/Typedown/Typedown.js +4 -10
  168. package/src/lib/hooks/settingsHooks/useSettingSection.js +19 -2
  169. package/src/lib/hooks/settingsHooks/useSettings.js +12 -5
  170. package/src/lib/utils/generateKiwtQueryParams.js +10 -1
  171. package/src/lib/utils/highlightString.js +42 -0
  172. package/src/lib/utils/index.js +4 -0
  173. package/src/lib/utils/matchString.js +14 -0
  174. package/styles/ActionListFieldArray.css +10 -2
@@ -0,0 +1,307 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for CustomProperties/Filter/CustomPropertiesFilterForm.js</title>
7
+ <meta charset="utf-8" />
8
+ <link rel="stylesheet" href="../../prettify.css" />
9
+ <link rel="stylesheet" href="../../base.css" />
10
+ <link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
11
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
12
+ <style type='text/css'>
13
+ .coverage-summary .sorter {
14
+ background-image: url(../../sort-arrow-sprite.png);
15
+ }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <div class='wrapper'>
21
+ <div class='pad1'>
22
+ <h1><a href="../../index.html">All files</a> / <a href="index.html">CustomProperties/Filter</a> CustomPropertiesFilterForm.js</h1>
23
+ <div class='clearfix'>
24
+
25
+ <div class='fl pad1y space-right2'>
26
+ <span class="strong">0% </span>
27
+ <span class="quiet">Statements</span>
28
+ <span class='fraction'>0/3</span>
29
+ </div>
30
+
31
+
32
+ <div class='fl pad1y space-right2'>
33
+ <span class="strong">0% </span>
34
+ <span class="quiet">Branches</span>
35
+ <span class='fraction'>0/6</span>
36
+ </div>
37
+
38
+
39
+ <div class='fl pad1y space-right2'>
40
+ <span class="strong">0% </span>
41
+ <span class="quiet">Functions</span>
42
+ <span class='fraction'>0/1</span>
43
+ </div>
44
+
45
+
46
+ <div class='fl pad1y space-right2'>
47
+ <span class="strong">0% </span>
48
+ <span class="quiet">Lines</span>
49
+ <span class='fraction'>0/3</span>
50
+ </div>
51
+
52
+
53
+ </div>
54
+ <p class="quiet">
55
+ Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
56
+ </p>
57
+ <template id="filterTemplate">
58
+ <div class="quiet">
59
+ Filter:
60
+ <input oninput="onInput()" type="search" id="fileSearch">
61
+ </div>
62
+ </template>
63
+ </div>
64
+ <div class='status-line low'></div>
65
+ <pre><table class="coverage">
66
+ <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
67
+ <a name='L2'></a><a href='#L2'>2</a>
68
+ <a name='L3'></a><a href='#L3'>3</a>
69
+ <a name='L4'></a><a href='#L4'>4</a>
70
+ <a name='L5'></a><a href='#L5'>5</a>
71
+ <a name='L6'></a><a href='#L6'>6</a>
72
+ <a name='L7'></a><a href='#L7'>7</a>
73
+ <a name='L8'></a><a href='#L8'>8</a>
74
+ <a name='L9'></a><a href='#L9'>9</a>
75
+ <a name='L10'></a><a href='#L10'>10</a>
76
+ <a name='L11'></a><a href='#L11'>11</a>
77
+ <a name='L12'></a><a href='#L12'>12</a>
78
+ <a name='L13'></a><a href='#L13'>13</a>
79
+ <a name='L14'></a><a href='#L14'>14</a>
80
+ <a name='L15'></a><a href='#L15'>15</a>
81
+ <a name='L16'></a><a href='#L16'>16</a>
82
+ <a name='L17'></a><a href='#L17'>17</a>
83
+ <a name='L18'></a><a href='#L18'>18</a>
84
+ <a name='L19'></a><a href='#L19'>19</a>
85
+ <a name='L20'></a><a href='#L20'>20</a>
86
+ <a name='L21'></a><a href='#L21'>21</a>
87
+ <a name='L22'></a><a href='#L22'>22</a>
88
+ <a name='L23'></a><a href='#L23'>23</a>
89
+ <a name='L24'></a><a href='#L24'>24</a>
90
+ <a name='L25'></a><a href='#L25'>25</a>
91
+ <a name='L26'></a><a href='#L26'>26</a>
92
+ <a name='L27'></a><a href='#L27'>27</a>
93
+ <a name='L28'></a><a href='#L28'>28</a>
94
+ <a name='L29'></a><a href='#L29'>29</a>
95
+ <a name='L30'></a><a href='#L30'>30</a>
96
+ <a name='L31'></a><a href='#L31'>31</a>
97
+ <a name='L32'></a><a href='#L32'>32</a>
98
+ <a name='L33'></a><a href='#L33'>33</a>
99
+ <a name='L34'></a><a href='#L34'>34</a>
100
+ <a name='L35'></a><a href='#L35'>35</a>
101
+ <a name='L36'></a><a href='#L36'>36</a>
102
+ <a name='L37'></a><a href='#L37'>37</a>
103
+ <a name='L38'></a><a href='#L38'>38</a>
104
+ <a name='L39'></a><a href='#L39'>39</a>
105
+ <a name='L40'></a><a href='#L40'>40</a>
106
+ <a name='L41'></a><a href='#L41'>41</a>
107
+ <a name='L42'></a><a href='#L42'>42</a>
108
+ <a name='L43'></a><a href='#L43'>43</a>
109
+ <a name='L44'></a><a href='#L44'>44</a>
110
+ <a name='L45'></a><a href='#L45'>45</a>
111
+ <a name='L46'></a><a href='#L46'>46</a>
112
+ <a name='L47'></a><a href='#L47'>47</a>
113
+ <a name='L48'></a><a href='#L48'>48</a>
114
+ <a name='L49'></a><a href='#L49'>49</a>
115
+ <a name='L50'></a><a href='#L50'>50</a>
116
+ <a name='L51'></a><a href='#L51'>51</a>
117
+ <a name='L52'></a><a href='#L52'>52</a>
118
+ <a name='L53'></a><a href='#L53'>53</a>
119
+ <a name='L54'></a><a href='#L54'>54</a>
120
+ <a name='L55'></a><a href='#L55'>55</a>
121
+ <a name='L56'></a><a href='#L56'>56</a>
122
+ <a name='L57'></a><a href='#L57'>57</a>
123
+ <a name='L58'></a><a href='#L58'>58</a>
124
+ <a name='L59'></a><a href='#L59'>59</a>
125
+ <a name='L60'></a><a href='#L60'>60</a>
126
+ <a name='L61'></a><a href='#L61'>61</a>
127
+ <a name='L62'></a><a href='#L62'>62</a>
128
+ <a name='L63'></a><a href='#L63'>63</a>
129
+ <a name='L64'></a><a href='#L64'>64</a>
130
+ <a name='L65'></a><a href='#L65'>65</a>
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>
138
+ <a name='L73'></a><a href='#L73'>73</a>
139
+ <a name='L74'></a><a href='#L74'>74</a>
140
+ <a name='L75'></a><a href='#L75'>75</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
141
+ <span class="cline-any cline-neutral">&nbsp;</span>
142
+ <span class="cline-any cline-neutral">&nbsp;</span>
143
+ <span class="cline-any cline-neutral">&nbsp;</span>
144
+ <span class="cline-any cline-neutral">&nbsp;</span>
145
+ <span class="cline-any cline-neutral">&nbsp;</span>
146
+ <span class="cline-any cline-neutral">&nbsp;</span>
147
+ <span class="cline-any cline-neutral">&nbsp;</span>
148
+ <span class="cline-any cline-neutral">&nbsp;</span>
149
+ <span class="cline-any cline-neutral">&nbsp;</span>
150
+ <span class="cline-any cline-neutral">&nbsp;</span>
151
+ <span class="cline-any cline-neutral">&nbsp;</span>
152
+ <span class="cline-any cline-neutral">&nbsp;</span>
153
+ <span class="cline-any cline-no">&nbsp;</span>
154
+ <span class="cline-any cline-neutral">&nbsp;</span>
155
+ <span class="cline-any cline-neutral">&nbsp;</span>
156
+ <span class="cline-any cline-neutral">&nbsp;</span>
157
+ <span class="cline-any cline-neutral">&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-neutral">&nbsp;</span>
161
+ <span class="cline-any cline-neutral">&nbsp;</span>
162
+ <span class="cline-any cline-neutral">&nbsp;</span>
163
+ <span class="cline-any cline-neutral">&nbsp;</span>
164
+ <span class="cline-any cline-no">&nbsp;</span>
165
+ <span class="cline-any cline-neutral">&nbsp;</span>
166
+ <span class="cline-any cline-neutral">&nbsp;</span>
167
+ <span class="cline-any cline-neutral">&nbsp;</span>
168
+ <span class="cline-any cline-neutral">&nbsp;</span>
169
+ <span class="cline-any cline-neutral">&nbsp;</span>
170
+ <span class="cline-any cline-neutral">&nbsp;</span>
171
+ <span class="cline-any cline-neutral">&nbsp;</span>
172
+ <span class="cline-any cline-neutral">&nbsp;</span>
173
+ <span class="cline-any cline-neutral">&nbsp;</span>
174
+ <span class="cline-any cline-neutral">&nbsp;</span>
175
+ <span class="cline-any cline-neutral">&nbsp;</span>
176
+ <span class="cline-any cline-neutral">&nbsp;</span>
177
+ <span class="cline-any cline-neutral">&nbsp;</span>
178
+ <span class="cline-any cline-neutral">&nbsp;</span>
179
+ <span class="cline-any cline-neutral">&nbsp;</span>
180
+ <span class="cline-any cline-neutral">&nbsp;</span>
181
+ <span class="cline-any cline-neutral">&nbsp;</span>
182
+ <span class="cline-any cline-neutral">&nbsp;</span>
183
+ <span class="cline-any cline-neutral">&nbsp;</span>
184
+ <span class="cline-any cline-neutral">&nbsp;</span>
185
+ <span class="cline-any cline-neutral">&nbsp;</span>
186
+ <span class="cline-any cline-neutral">&nbsp;</span>
187
+ <span class="cline-any cline-neutral">&nbsp;</span>
188
+ <span class="cline-any cline-neutral">&nbsp;</span>
189
+ <span class="cline-any cline-neutral">&nbsp;</span>
190
+ <span class="cline-any cline-neutral">&nbsp;</span>
191
+ <span class="cline-any cline-neutral">&nbsp;</span>
192
+ <span class="cline-any cline-neutral">&nbsp;</span>
193
+ <span class="cline-any cline-neutral">&nbsp;</span>
194
+ <span class="cline-any cline-neutral">&nbsp;</span>
195
+ <span class="cline-any cline-neutral">&nbsp;</span>
196
+ <span class="cline-any cline-neutral">&nbsp;</span>
197
+ <span class="cline-any cline-neutral">&nbsp;</span>
198
+ <span class="cline-any cline-neutral">&nbsp;</span>
199
+ <span class="cline-any cline-neutral">&nbsp;</span>
200
+ <span class="cline-any cline-neutral">&nbsp;</span>
201
+ <span class="cline-any cline-no">&nbsp;</span>
202
+ <span class="cline-any cline-neutral">&nbsp;</span>
203
+ <span class="cline-any cline-neutral">&nbsp;</span>
204
+ <span class="cline-any cline-neutral">&nbsp;</span>
205
+ <span class="cline-any cline-neutral">&nbsp;</span>
206
+ <span class="cline-any cline-neutral">&nbsp;</span>
207
+ <span class="cline-any cline-neutral">&nbsp;</span>
208
+ <span class="cline-any cline-neutral">&nbsp;</span>
209
+ <span class="cline-any cline-neutral">&nbsp;</span>
210
+ <span class="cline-any cline-neutral">&nbsp;</span>
211
+ <span class="cline-any cline-neutral">&nbsp;</span>
212
+ <span class="cline-any cline-neutral">&nbsp;</span>
213
+ <span class="cline-any cline-neutral">&nbsp;</span>
214
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
215
+ &nbsp;
216
+ import { FormattedMessage } from 'react-intl';
217
+ &nbsp;
218
+ import arrayMutators from 'final-form-arrays';
219
+ &nbsp;
220
+ import {
221
+ Button,
222
+ } from '@folio/stripes/components';
223
+ &nbsp;
224
+ import FormModal from '../../FormModal';
225
+ import CustomPropertiesFilterFieldArray from './CustomPropertiesFilterFieldArray';
226
+ &nbsp;
227
+ const CustomPropertyFiltersForm = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
228
+ customProperties,
229
+ editingFilters,
230
+ filters,
231
+ handlers: {
232
+ closeEditModal,
233
+ openEditModal,
234
+ },
235
+ labelOverrides,
236
+ onSubmit,
237
+ }) =&gt; {
238
+ <span class="cstat-no" title="statement not covered" > return (</span>
239
+ &lt;&gt;
240
+ &lt;Button
241
+ onClick={openEditModal}
242
+ &gt;
243
+ {
244
+ labelOverrides.editCustomPropertyFilters ??
245
+ &lt;FormattedMessage id="stripes-kint-components.customProperty.editCustomPropertyFilters" /&gt;
246
+ }
247
+ &lt;/Button&gt;
248
+ &lt;FormModal
249
+ initialValues={{ filters: filters.length ? filters : [{ rules: [{}] }] }}
250
+ labelOverrides={{
251
+ save: &lt;FormattedMessage id="stripes-kint-components.apply" /&gt;
252
+ }}
253
+ modalProps={{
254
+ dismissible: true,
255
+ enforceFocus: false,
256
+ label:
257
+ labelOverrides.filterBuilder ??
258
+ &lt;FormattedMessage id="stripes-kint-components.customProperty.filterbuilder" /&gt;,
259
+ onClose: closeEditModal,
260
+ open: editingFilters,
261
+ size: 'medium'
262
+ }}
263
+ mutators={{ ...arrayMutators }}
264
+ onSubmit={onSubmit}
265
+ &gt;
266
+ &lt;CustomPropertiesFilterFieldArray
267
+ customProperties={customProperties}
268
+ labelOverrides={labelOverrides}
269
+ /&gt;
270
+ &lt;/FormModal&gt;
271
+ &lt;/&gt;
272
+ );
273
+ };
274
+ &nbsp;
275
+ <span class="cstat-no" title="statement not covered" >CustomPropertyFiltersForm.propTypes = {</span>
276
+ customProperties: PropTypes.arrayOf(PropTypes.object),
277
+ editingFilters: PropTypes.bool,
278
+ filters: PropTypes.arrayOf(PropTypes.object),
279
+ handlers: PropTypes.shape({
280
+ closeEditModal: PropTypes.func.isRequired,
281
+ openEditModal: PropTypes.func.isRequired
282
+ }),
283
+ labelOverrides: PropTypes.object,
284
+ onSubmit: PropTypes.func.isRequired
285
+ };
286
+ &nbsp;
287
+ export default CustomPropertyFiltersForm;
288
+ &nbsp;</pre></td></tr></table></pre>
289
+
290
+ <div class='push'></div><!-- for sticky footer -->
291
+ </div><!-- /wrapper -->
292
+ <div class='footer quiet pad2 space-top1 center small'>
293
+ Code coverage generated by
294
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
295
+ at Thu May 19 2022 10:55:24 GMT+0100 (British Summer Time)
296
+ </div>
297
+ <script src="../../prettify.js"></script>
298
+ <script>
299
+ window.onload = function () {
300
+ prettyPrint();
301
+ };
302
+ </script>
303
+ <script src="../../sorter.js"></script>
304
+ <script src="../../block-navigation.js"></script>
305
+ </body>
306
+ </html>
307
+