@k-int/stripes-kint-components 2.3.2 → 2.3.3

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 (211) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +109 -0
  3. package/es/artifacts/coverage-jest/lcov-report/prettify.js +998 -0
  4. package/es/artifacts/coverage-jest/lcov-report/sorter.js +238 -0
  5. package/es/index.js +5 -1
  6. package/es/lib/ActionList/ActionList.js +31 -1
  7. package/es/lib/ActionList/ActionListFieldArray.js +38 -1
  8. package/es/lib/ActionList/index.js +5 -1
  9. package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +35 -1
  10. package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +46 -7
  11. package/es/lib/CustomProperties/Config/CustomPropertyForm.js +34 -1
  12. package/es/lib/CustomProperties/Config/CustomPropertyView.js +30 -1
  13. package/es/lib/CustomProperties/Config/index.js +5 -1
  14. package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +30 -1
  15. package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +34 -1
  16. package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +37 -1
  17. package/es/lib/CustomProperties/Edit/CustomPropertyField.js +34 -1
  18. package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +30 -1
  19. package/es/lib/CustomProperties/Edit/index.js +5 -1
  20. package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +34 -1
  21. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +34 -1
  22. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +34 -1
  23. package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +30 -1
  24. package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +35 -1
  25. package/es/lib/CustomProperties/Filter/index.js +5 -1
  26. package/es/lib/CustomProperties/Filter/useOperators.js +39 -1
  27. package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +34 -1
  28. package/es/lib/CustomProperties/Filter/useValueProps.js +35 -1
  29. package/es/lib/CustomProperties/View/CustomPropertiesView.js +30 -1
  30. package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +56 -16
  31. package/es/lib/CustomProperties/View/CustomPropertyCard.js +33 -3
  32. package/es/lib/CustomProperties/View/index.js +5 -1
  33. package/es/lib/CustomProperties/index.js +5 -1
  34. package/es/lib/EditableRefdataList/EditableRefdataList.js +35 -1
  35. package/es/lib/EditableRefdataList/index.js +5 -1
  36. package/es/lib/EditableSettingsList/EditableSettingsList.js +30 -1
  37. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +30 -1
  38. package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +30 -1
  39. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +34 -1
  40. package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +34 -1
  41. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +34 -1
  42. package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +41 -1
  43. package/es/lib/EditableSettingsList/SettingField/SettingField.js +34 -1
  44. package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +30 -1
  45. package/es/lib/EditableSettingsList/SettingField/index.js +5 -1
  46. package/es/lib/EditableSettingsList/index.js +5 -1
  47. package/es/lib/FormModal/FormModal.js +30 -1
  48. package/es/lib/FormModal/index.js +5 -1
  49. package/es/lib/NoResultsMessage/NoResultsMessage.js +30 -1
  50. package/es/lib/NoResultsMessage/index.js +5 -1
  51. package/es/lib/QueryTypedown/QueryTypedown.js +34 -1
  52. package/es/lib/QueryTypedown/index.js +5 -1
  53. package/es/lib/RefdataButtons/RefdataButtons.js +34 -1
  54. package/es/lib/RefdataButtons/index.js +5 -1
  55. package/es/lib/SASQLookupComponent/SASQLookupComponent.js +34 -1
  56. package/es/lib/SASQLookupComponent/index.js +5 -1
  57. package/es/lib/SASQRoute/SASQRoute.js +30 -1
  58. package/es/lib/SASQRoute/index.js +5 -1
  59. package/es/lib/SASQViewComponent/SASQViewComponent.js +34 -1
  60. package/es/lib/SASQViewComponent/index.js +5 -1
  61. package/es/lib/SearchField/SearchField.js +31 -1
  62. package/es/lib/SearchField/index.js +5 -1
  63. package/es/lib/SettingPage/SettingPage.js +34 -1
  64. package/es/lib/SettingPage/SettingPagePane.js +32 -1
  65. package/es/lib/SettingPage/index.js +5 -1
  66. package/es/lib/Typedown/Typedown.js +34 -1
  67. package/es/lib/Typedown/index.js +5 -1
  68. package/es/lib/constants/customProperties.js +38 -1
  69. package/es/lib/constants/eventCodes.js +31 -1
  70. package/es/lib/contexts/SettingsContext.js +30 -1
  71. package/es/lib/contexts/index.js +5 -1
  72. package/es/lib/hooks/index.js +5 -1
  73. package/es/lib/hooks/settingsHooks/index.js +5 -1
  74. package/es/lib/hooks/settingsHooks/useSettingSection.js +34 -1
  75. package/es/lib/hooks/settingsHooks/useSettings.js +36 -1
  76. package/es/lib/hooks/typedownHooks/index.js +5 -1
  77. package/es/lib/hooks/typedownHooks/useTypedown.js +34 -1
  78. package/es/lib/hooks/typedownHooks/useTypedownData.js +34 -1
  79. package/es/lib/hooks/typedownHooks/useTypedownToggle.js +34 -1
  80. package/es/lib/hooks/useActiveElement.js +32 -1
  81. package/es/lib/hooks/useAvailableCustomProperties.js +34 -1
  82. package/es/lib/hooks/useCustomProperties.js +34 -1
  83. package/es/lib/hooks/useHelperApp.js +34 -1
  84. package/es/lib/hooks/useInvalidateRefdata.js +34 -1
  85. package/es/lib/hooks/useKiwtFieldArray.js +34 -1
  86. package/es/lib/hooks/useKiwtSASQuery.js +35 -1
  87. package/es/lib/hooks/useLocalStorageState.js +34 -1
  88. package/es/lib/hooks/useMutateCustomProperties.js +34 -1
  89. package/es/lib/hooks/useMutateRefdataValue.js +34 -1
  90. package/es/lib/hooks/useQIndex.js +34 -1
  91. package/es/lib/hooks/useRefdata.js +34 -1
  92. package/es/lib/hooks/useTemplates.js +34 -1
  93. package/es/lib/utils/buildUrl.js +31 -2
  94. package/es/lib/utils/generateKiwtQuery.js +30 -1
  95. package/es/lib/utils/generateKiwtQueryParams.js +30 -1
  96. package/es/lib/utils/groupCustomPropertiesByCtx.js +30 -1
  97. package/es/lib/utils/index.js +5 -1
  98. package/es/lib/utils/refdataOptions.js +30 -1
  99. package/es/lib/utils/refdataQueryKey.js +30 -1
  100. package/es/lib/utils/renderHelpText.js +30 -1
  101. package/es/lib/utils/selectorSafe.js +30 -1
  102. package/es/lib/utils/sortByLabel.js +30 -1
  103. package/es/lib/utils/toCamelCase.js +30 -1
  104. package/es/lib/utils/typedownQueryKey.js +30 -1
  105. package/es/lib/utils/validators.js +32 -1
  106. package/junit.xml +79 -0
  107. package/package.json +1 -1
  108. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +286 -0
  109. package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +925 -0
  110. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +146 -0
  111. package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +88 -0
  112. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +418 -0
  113. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +808 -0
  114. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +601 -0
  115. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1135 -0
  116. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +176 -0
  117. package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +97 -0
  118. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +373 -0
  119. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +131 -0
  120. package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +88 -0
  121. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +223 -0
  122. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +211 -0
  123. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +376 -0
  124. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +262 -0
  125. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +436 -0
  126. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +161 -0
  127. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +94 -0
  128. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +146 -0
  129. package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +94 -0
  130. package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +283 -0
  131. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +131 -0
  132. package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +88 -0
  133. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +319 -0
  134. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +131 -0
  135. package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +88 -0
  136. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +184 -0
  137. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +131 -0
  138. package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +88 -0
  139. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +370 -0
  140. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +131 -0
  141. package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +88 -0
  142. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +949 -0
  143. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +131 -0
  144. package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +88 -0
  145. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +301 -0
  146. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +131 -0
  147. package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +88 -0
  148. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +253 -0
  149. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +131 -0
  150. package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +88 -0
  151. package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +214 -0
  152. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +131 -0
  153. package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +88 -0
  154. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +211 -0
  155. package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +178 -0
  156. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +146 -0
  157. package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +91 -0
  158. package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +919 -0
  159. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +131 -0
  160. package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +88 -0
  161. package/src/artifacts/coverage-jest/lcov-report/base.css +224 -0
  162. package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +87 -0
  163. package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +112 -0
  164. package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +94 -0
  165. package/src/artifacts/coverage-jest/lcov-report/constants/index.html +131 -0
  166. package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +97 -0
  167. package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +131 -0
  168. package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +91 -0
  169. package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
  170. package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +281 -0
  171. package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +121 -0
  172. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +146 -0
  173. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +91 -0
  174. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +163 -0
  175. package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +403 -0
  176. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +161 -0
  177. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +94 -0
  178. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +520 -0
  179. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +163 -0
  180. package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +163 -0
  181. package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +157 -0
  182. package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +313 -0
  183. package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +283 -0
  184. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +274 -0
  185. package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +178 -0
  186. package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +136 -0
  187. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +271 -0
  188. package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +301 -0
  189. package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +208 -0
  190. package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +268 -0
  191. package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +166 -0
  192. package/src/artifacts/coverage-jest/lcov-report/index.html +416 -0
  193. package/src/artifacts/coverage-jest/lcov-report/prettify.css +1 -0
  194. package/src/artifacts/coverage-jest/lcov-report/prettify.js +2 -0
  195. package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
  196. package/src/artifacts/coverage-jest/lcov-report/sorter.js +196 -0
  197. package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +193 -0
  198. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +109 -0
  199. package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +454 -0
  200. package/src/artifacts/coverage-jest/lcov-report/utils/index.html +251 -0
  201. package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +121 -0
  202. package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +106 -0
  203. package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +166 -0
  204. package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +103 -0
  205. package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +130 -0
  206. package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +127 -0
  207. package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +202 -0
  208. package/src/artifacts/coverage-jest/lcov.info +2562 -0
  209. package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +9 -6
  210. package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +13 -8
  211. package/src/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
@@ -0,0 +1,271 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for hooks/useMutateCustomProperties.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">hooks</a> useMutateCustomProperties.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/19</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/7</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/4</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/19</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></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
129
+ <span class="cline-any cline-neutral">&nbsp;</span>
130
+ <span class="cline-any cline-neutral">&nbsp;</span>
131
+ <span class="cline-any cline-neutral">&nbsp;</span>
132
+ <span class="cline-any cline-no">&nbsp;</span>
133
+ <span class="cline-any cline-neutral">&nbsp;</span>
134
+ <span class="cline-any cline-neutral">&nbsp;</span>
135
+ <span class="cline-any cline-neutral">&nbsp;</span>
136
+ <span class="cline-any cline-neutral">&nbsp;</span>
137
+ <span class="cline-any cline-neutral">&nbsp;</span>
138
+ <span class="cline-any cline-neutral">&nbsp;</span>
139
+ <span class="cline-any cline-neutral">&nbsp;</span>
140
+ <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-no">&nbsp;</span>
144
+ <span class="cline-any cline-neutral">&nbsp;</span>
145
+ <span class="cline-any cline-no">&nbsp;</span>
146
+ <span class="cline-any cline-neutral">&nbsp;</span>
147
+ <span class="cline-any cline-no">&nbsp;</span>
148
+ <span class="cline-any cline-neutral">&nbsp;</span>
149
+ <span class="cline-any cline-no">&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-neutral">&nbsp;</span>
154
+ <span class="cline-any cline-no">&nbsp;</span>
155
+ <span class="cline-any cline-neutral">&nbsp;</span>
156
+ <span class="cline-any cline-no">&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-no">&nbsp;</span>
162
+ <span class="cline-any cline-neutral">&nbsp;</span>
163
+ <span class="cline-any cline-no">&nbsp;</span>
164
+ <span class="cline-any cline-neutral">&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-no">&nbsp;</span>
169
+ <span class="cline-any cline-no">&nbsp;</span>
170
+ <span class="cline-any cline-neutral">&nbsp;</span>
171
+ <span class="cline-any cline-no">&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-no">&nbsp;</span>
175
+ <span class="cline-any cline-no">&nbsp;</span>
176
+ <span class="cline-any cline-neutral">&nbsp;</span>
177
+ <span class="cline-any cline-no">&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-no">&nbsp;</span>
181
+ <span class="cline-any cline-no">&nbsp;</span>
182
+ <span class="cline-any cline-neutral">&nbsp;</span>
183
+ <span class="cline-any cline-no">&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-no">&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></td><td class="text"><pre class="prettyprint lang-js">import { useMutation } from 'react-query';
191
+ &nbsp;
192
+ import { useOkapiKy } from '@folio/stripes/core';
193
+ &nbsp;
194
+ const useMutateCustomProperties = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
195
+ afterQueryCalls,
196
+ endpoint,
197
+ id,
198
+ queryParams,
199
+ returnQueryObject = <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
200
+ post: false,
201
+ put: false,
202
+ delete: false
203
+ }
204
+ }) =&gt; {
205
+ const returnObj = <span class="cstat-no" title="statement not covered" >{};</span>
206
+ &nbsp;
207
+ const ky = <span class="cstat-no" title="statement not covered" >useOkapiKy();</span>
208
+ &nbsp;
209
+ const deleteQueryObject = <span class="cstat-no" title="statement not covered" >useMutation(</span>
210
+ ['stripes-kint-components', 'useMutateCustomProperties', 'delete', id],
211
+ <span class="fstat-no" title="function not covered" > as</span>ync () =&gt; <span class="cstat-no" title="statement not covered" >ky.delete(`${endpoint}/${id}`).json()</span>
212
+ .then(afterQueryCalls?.delete),
213
+ queryParams?.delete
214
+ );
215
+ &nbsp;
216
+ const putQueryObject = <span class="cstat-no" title="statement not covered" >useMutation(</span>
217
+ ['stripes-kint-components', 'useMutateCustomProperties', 'put', id],
218
+ <span class="fstat-no" title="function not covered" > as</span>ync (data) =&gt; <span class="cstat-no" title="statement not covered" >ky.put(`${endpoint}/${id}`, { json: data }).json()</span>
219
+ .then(afterQueryCalls?.put),
220
+ queryParams?.put
221
+ );
222
+ &nbsp;
223
+ const postQueryObject = <span class="cstat-no" title="statement not covered" >useMutation(</span>
224
+ ['stripes-kint-components', 'useMutateCustomProperties', 'post'],
225
+ <span class="fstat-no" title="function not covered" > as</span>ync (data) =&gt; <span class="cstat-no" title="statement not covered" >ky.post(`${endpoint}`, { json: data }).json()</span>
226
+ .then(afterQueryCalls?.post),
227
+ queryParams?.post
228
+ );
229
+ &nbsp;
230
+ <span class="cstat-no" title="statement not covered" > if (returnQueryObject?.delete) {</span>
231
+ <span class="cstat-no" title="statement not covered" > returnObj.delete = deleteQueryObject;</span>
232
+ } else {
233
+ <span class="cstat-no" title="statement not covered" > returnObj.delete = deleteQueryObject.mutateAsync;</span>
234
+ }
235
+ &nbsp;
236
+ <span class="cstat-no" title="statement not covered" > if (returnQueryObject?.put) {</span>
237
+ <span class="cstat-no" title="statement not covered" > returnObj.put = putQueryObject;</span>
238
+ } else {
239
+ <span class="cstat-no" title="statement not covered" > returnObj.put = putQueryObject.mutateAsync;</span>
240
+ }
241
+ &nbsp;
242
+ <span class="cstat-no" title="statement not covered" > if (returnQueryObject?.post) {</span>
243
+ <span class="cstat-no" title="statement not covered" > returnObj.post = postQueryObject;</span>
244
+ } else {
245
+ <span class="cstat-no" title="statement not covered" > returnObj.post = postQueryObject.mutateAsync;</span>
246
+ }
247
+ &nbsp;
248
+ <span class="cstat-no" title="statement not covered" > return returnObj;</span>
249
+ };
250
+ &nbsp;
251
+ export default useMutateCustomProperties;
252
+ &nbsp;</pre></td></tr></table></pre>
253
+
254
+ <div class='push'></div><!-- for sticky footer -->
255
+ </div><!-- /wrapper -->
256
+ <div class='footer quiet pad2 space-top1 center small'>
257
+ Code coverage generated by
258
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
259
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
260
+ </div>
261
+ <script src="../prettify.js"></script>
262
+ <script>
263
+ window.onload = function () {
264
+ prettyPrint();
265
+ };
266
+ </script>
267
+ <script src="../sorter.js"></script>
268
+ <script src="../block-navigation.js"></script>
269
+ </body>
270
+ </html>
271
+
@@ -0,0 +1,301 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for hooks/useMutateRefdataValue.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">hooks</a> useMutateRefdataValue.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/14</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/5</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/3</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/14</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></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
139
+ <span class="cline-any cline-neutral">&nbsp;</span>
140
+ <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-no">&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-no">&nbsp;</span>
156
+ <span class="cline-any cline-neutral">&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-no">&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-neutral">&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-no">&nbsp;</span>
178
+ <span class="cline-any cline-neutral">&nbsp;</span>
179
+ <span class="cline-any cline-no">&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-no">&nbsp;</span>
195
+ <span class="cline-any cline-no">&nbsp;</span>
196
+ <span class="cline-any cline-neutral">&nbsp;</span>
197
+ <span class="cline-any cline-no">&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-no">&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-no">&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-no">&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></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
211
+ import { useMutation } from 'react-query';
212
+ &nbsp;
213
+ import { useOkapiKy } from '@folio/stripes/core';
214
+ &nbsp;
215
+ const useMutateRefdataValue = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
216
+ afterQueryCalls,
217
+ endpoint,
218
+ id,
219
+ queryParams,
220
+ returnQueryObject = <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
221
+ put: false,
222
+ delete: false
223
+ }
224
+ }) =&gt; {
225
+ const returnObj = <span class="cstat-no" title="statement not covered" >{};</span>
226
+ &nbsp;
227
+ const ky = <span class="cstat-no" title="statement not covered" >useOkapiKy();</span>
228
+ &nbsp;
229
+ const deleteQueryObject = <span class="cstat-no" title="statement not covered" >useMutation(</span>
230
+ ['stripes-kint-components', 'useMutateRefdataValue', 'delete', id],
231
+ <span class="fstat-no" title="function not covered" > as</span>ync (data) =&gt; <span class="cstat-no" title="statement not covered" >ky.put(</span>
232
+ `${endpoint}/${id}`,
233
+ {
234
+ json: {
235
+ id,
236
+ values: [
237
+ {
238
+ id: data,
239
+ _delete: true
240
+ }
241
+ ]
242
+ }
243
+ }
244
+ ).json()
245
+ .then(afterQueryCalls?.delete),
246
+ queryParams?.delete
247
+ );
248
+ &nbsp;
249
+ const putQueryObject = <span class="cstat-no" title="statement not covered" >useMutation(</span>
250
+ ['stripes-kint-components', 'editableRefdataList', 'editValue', id],
251
+ <span class="fstat-no" title="function not covered" > as</span>ync (data) =&gt; <span class="cstat-no" title="statement not covered" >ky.put(</span>
252
+ `${endpoint}/${id}`,
253
+ {
254
+ json: {
255
+ id,
256
+ values: [
257
+ data
258
+ ]
259
+ }
260
+ }
261
+ ).json()
262
+ .then(afterQueryCalls?.put),
263
+ queryParams?.put
264
+ );
265
+ &nbsp;
266
+ <span class="cstat-no" title="statement not covered" > if (returnQueryObject?.delete) {</span>
267
+ <span class="cstat-no" title="statement not covered" > returnObj.delete = deleteQueryObject;</span>
268
+ } else {
269
+ <span class="cstat-no" title="statement not covered" > returnObj.delete = deleteQueryObject.mutateAsync;</span>
270
+ }
271
+ &nbsp;
272
+ <span class="cstat-no" title="statement not covered" > if (returnQueryObject?.put) {</span>
273
+ <span class="cstat-no" title="statement not covered" > returnObj.put = putQueryObject;</span>
274
+ } else {
275
+ <span class="cstat-no" title="statement not covered" > returnObj.put = putQueryObject.mutateAsync;</span>
276
+ }
277
+ &nbsp;
278
+ <span class="cstat-no" title="statement not covered" > return returnObj;</span>
279
+ };
280
+ &nbsp;
281
+ export default useMutateRefdataValue;
282
+ &nbsp;</pre></td></tr></table></pre>
283
+
284
+ <div class='push'></div><!-- for sticky footer -->
285
+ </div><!-- /wrapper -->
286
+ <div class='footer quiet pad2 space-top1 center small'>
287
+ Code coverage generated by
288
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
289
+ at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
290
+ </div>
291
+ <script src="../prettify.js"></script>
292
+ <script>
293
+ window.onload = function () {
294
+ prettyPrint();
295
+ };
296
+ </script>
297
+ <script src="../sorter.js"></script>
298
+ <script src="../block-navigation.js"></script>
299
+ </body>
300
+ </html>
301
+