@rh-support/components 2.1.37 → 2.1.39

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 (295) hide show
  1. package/lib/cjs/AlertMessage/AlertMessage.d.ts +2 -2
  2. package/lib/cjs/AlertMessage/AlertMessage.d.ts.map +1 -1
  3. package/lib/cjs/AlertMessage/AlertMessage.js +1 -1
  4. package/lib/cjs/AlertMessage/index.js +5 -1
  5. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts +2 -1
  6. package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
  7. package/lib/cjs/ConfirmationModal/ConfirmationContext.js +8 -4
  8. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
  9. package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
  10. package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +1 -1
  11. package/lib/cjs/ConfirmationModal/index.js +5 -1
  12. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts +2 -1
  13. package/lib/cjs/CoverSpinner/CoverSpinner.d.ts.map +1 -1
  14. package/lib/cjs/CoverSpinner/index.js +5 -1
  15. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts +2 -2
  16. package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
  17. package/lib/cjs/CustomContentLoader/index.js +5 -1
  18. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts +1 -1
  19. package/lib/cjs/CustomTextInput/CustomTextInput.d.ts.map +1 -1
  20. package/lib/cjs/CustomTextInput/CustomTextInput.js +3 -3
  21. package/lib/cjs/CustomTextInput/index.js +5 -1
  22. package/lib/cjs/DropDownList/AsyncDropDownList.js +2 -2
  23. package/lib/cjs/DropDownList/DropDownList.d.ts +2 -1
  24. package/lib/cjs/DropDownList/DropDownList.d.ts.map +1 -1
  25. package/lib/cjs/DropDownList/DropDownList.js +16 -12
  26. package/lib/cjs/DropDownList/DropdownWrapper.d.ts +1 -1
  27. package/lib/cjs/DropDownList/DropdownWrapper.d.ts.map +1 -1
  28. package/lib/cjs/DropDownList/DropdownWrapper.js +1 -1
  29. package/lib/cjs/DropDownList/MultiSelectDropdownList.js +1 -1
  30. package/lib/cjs/DropDownList/SearchableList.d.ts +1 -1
  31. package/lib/cjs/DropDownList/SearchableList.d.ts.map +1 -1
  32. package/lib/cjs/DropDownList/SearchableList.js +6 -6
  33. package/lib/cjs/DropDownList/SelectList.d.ts +1 -1
  34. package/lib/cjs/DropDownList/SelectList.d.ts.map +1 -1
  35. package/lib/cjs/DropDownList/SelectList.js +4 -4
  36. package/lib/cjs/DropDownList/async.d.ts +1 -1
  37. package/lib/cjs/DropDownList/async.js +16 -12
  38. package/lib/cjs/DropDownList/index.js +5 -1
  39. package/lib/cjs/DropDownList/types.d.ts +6 -6
  40. package/lib/cjs/DropDownList/types.d.ts.map +1 -1
  41. package/lib/cjs/DropDownList/withMulti.js +9 -5
  42. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts +2 -1
  43. package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  44. package/lib/cjs/ErrorBoundary/ErrorBoundary.js +7 -3
  45. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
  46. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
  47. package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.js +1 -1
  48. package/lib/cjs/ErrorBoundary/index.js +5 -1
  49. package/lib/cjs/ErrorPages/Generic403.d.ts +2 -1
  50. package/lib/cjs/ErrorPages/Generic403.d.ts.map +1 -1
  51. package/lib/cjs/ErrorPages/index.js +5 -1
  52. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts +2 -1
  53. package/lib/cjs/FeedbackForm/FeedbackForm.d.ts.map +1 -1
  54. package/lib/cjs/FeedbackForm/FeedbackForm.js +12 -8
  55. package/lib/cjs/FeedbackForm/index.js +5 -1
  56. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts +4 -4
  57. package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
  58. package/lib/cjs/Functional/CaseContactsSelectorExternal.js +26 -22
  59. package/lib/cjs/Functional/index.js +5 -1
  60. package/lib/cjs/InlineEdit/InlineEdit.d.ts +2 -2
  61. package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +1 -1
  62. package/lib/cjs/InlineEdit/InlineEdit.js +8 -4
  63. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +2 -2
  64. package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  65. package/lib/cjs/InlineEdit/NewInlineEdit.js +9 -5
  66. package/lib/cjs/InlineEdit/index.js +5 -1
  67. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts +2 -1
  68. package/lib/cjs/LanguageSelector/LanguageSelector.d.ts.map +1 -1
  69. package/lib/cjs/LanguageSelector/LanguageSelector.js +8 -4
  70. package/lib/cjs/LanguageSelector/index.js +5 -1
  71. package/lib/cjs/LoadingDots/LoadingDots.d.ts +2 -1
  72. package/lib/cjs/LoadingDots/LoadingDots.d.ts.map +1 -1
  73. package/lib/cjs/LoadingDots/index.js +5 -1
  74. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts +2 -1
  75. package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  76. package/lib/cjs/LoadingIndicator/index.js +5 -1
  77. package/lib/cjs/LoginModal/LoginModal.d.ts +2 -1
  78. package/lib/cjs/LoginModal/LoginModal.d.ts.map +1 -1
  79. package/lib/cjs/LoginModal/index.js +5 -1
  80. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts +1 -1
  81. package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
  82. package/lib/cjs/MarkdownEditor/MarkdownEditor.js +33 -29
  83. package/lib/cjs/MarkdownEditor/index.js +5 -1
  84. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts +1 -1
  85. package/lib/cjs/MoreOrLess/MoreOrLess.d.ts.map +1 -1
  86. package/lib/cjs/MoreOrLess/MoreOrLess.js +14 -10
  87. package/lib/cjs/MoreOrLess/index.js +5 -1
  88. package/lib/cjs/PaginatedList/PaginatedList.d.ts +1 -1
  89. package/lib/cjs/PaginatedList/PaginatedList.d.ts.map +1 -1
  90. package/lib/cjs/PaginatedList/PaginatedList.js +9 -5
  91. package/lib/cjs/PaginatedList/index.js +5 -1
  92. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts +2 -1
  93. package/lib/cjs/PaginationCompact/PaginationCompact.d.ts.map +1 -1
  94. package/lib/cjs/PaginationCompact/PaginationCompact.js +8 -4
  95. package/lib/cjs/PaginationCompact/index.js +5 -1
  96. package/lib/cjs/PhoneInput/PhoneInput.d.ts +2 -1
  97. package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +1 -1
  98. package/lib/cjs/PhoneInput/PhoneInput.js +41 -37
  99. package/lib/cjs/PhoneInput/index.js +5 -1
  100. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  101. package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
  102. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
  103. package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
  104. package/lib/cjs/ProgressBar/CircularProgressBar/index.js +5 -1
  105. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts +3 -3
  106. package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
  107. package/lib/cjs/ProgressBar/ProgressBar.d.ts +1 -1
  108. package/lib/cjs/ProgressBar/ProgressBar.d.ts.map +1 -1
  109. package/lib/cjs/ProgressBar/index.js +5 -1
  110. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts +3 -3
  111. package/lib/cjs/PromisifyModal/PromisifyModal.d.ts.map +1 -1
  112. package/lib/cjs/PromisifyModal/PromisifyModal.js +6 -4
  113. package/lib/cjs/PromisifyModal/index.js +5 -1
  114. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
  115. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
  116. package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.js +1 -1
  117. package/lib/cjs/SubscriptionAbuse/const.d.ts +2 -1
  118. package/lib/cjs/SubscriptionAbuse/const.d.ts.map +1 -1
  119. package/lib/cjs/SubscriptionAbuse/index.js +5 -1
  120. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
  121. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
  122. package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.js +6 -2
  123. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
  124. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
  125. package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.js +13 -9
  126. package/lib/cjs/SupportFeedbackForm/index.js +5 -1
  127. package/lib/cjs/Table/PFTable.d.ts +2 -2
  128. package/lib/cjs/Table/PFTable.d.ts.map +1 -1
  129. package/lib/cjs/Table/PFTable.js +15 -11
  130. package/lib/cjs/Table/TableColumnSelector.d.ts +2 -1
  131. package/lib/cjs/Table/TableColumnSelector.d.ts.map +1 -1
  132. package/lib/cjs/Table/TableColumnSelector.js +4 -4
  133. package/lib/cjs/Table/TableComponent.d.ts +1 -1
  134. package/lib/cjs/Table/TableComponent.d.ts.map +1 -1
  135. package/lib/cjs/Table/TableComponent.js +7 -3
  136. package/lib/cjs/Table/TablePagination.d.ts +2 -1
  137. package/lib/cjs/Table/TablePagination.d.ts.map +1 -1
  138. package/lib/cjs/Table/TablePagination.js +7 -3
  139. package/lib/cjs/Table/index.js +5 -1
  140. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
  141. package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
  142. package/lib/cjs/TermsAndConditions/AcceptTermsModal.js +12 -8
  143. package/lib/cjs/TermsAndConditions/index.js +5 -1
  144. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
  145. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
  146. package/lib/cjs/TextAreaAutosize/TextAreaAutosize.js +14 -10
  147. package/lib/cjs/TextAreaAutosize/index.js +5 -1
  148. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts +1 -1
  149. package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
  150. package/lib/cjs/TextAreaResizable/TextAreaResizable.js +7 -3
  151. package/lib/cjs/TextAreaResizable/index.js +5 -1
  152. package/lib/cjs/ToastNotification/ToastNotification.d.ts.map +1 -1
  153. package/lib/cjs/ToastNotification/ToastNotification.js +17 -9
  154. package/lib/cjs/ToastNotification/index.js +5 -1
  155. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts +1 -1
  156. package/lib/cjs/TopContentSearch/TopContentSearch.d.ts.map +1 -1
  157. package/lib/cjs/TopContentSearch/TopContentSearch.js +19 -15
  158. package/lib/cjs/TopContentSearch/index.js +5 -1
  159. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
  160. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
  161. package/lib/cjs/ValueChangedIcon/ValueChangedIcon.js +13 -9
  162. package/lib/cjs/ValueChangedIcon/index.js +5 -1
  163. package/lib/cjs/helperFunctions/errorMessage.d.ts +1 -0
  164. package/lib/cjs/helperFunctions/errorMessage.d.ts.map +1 -1
  165. package/lib/cjs/helperFunctions/errorMessage.js +1 -1
  166. package/lib/cjs/helperFunctions/index.js +5 -1
  167. package/lib/cjs/hooks/index.js +5 -1
  168. package/lib/cjs/hooks/useBreakpoint.d.ts +2 -2
  169. package/lib/cjs/hooks/useBreakpoint.d.ts.map +1 -1
  170. package/lib/cjs/hooks/useBreakpoint.js +8 -4
  171. package/lib/cjs/hooks/useCopyToClipboard.d.ts.map +1 -1
  172. package/lib/cjs/hooks/useCopyToClipboard.js +4 -3
  173. package/lib/cjs/hooks/useDebounce.js +4 -4
  174. package/lib/cjs/hooks/useFetch.js +6 -7
  175. package/lib/cjs/hooks/useForceUpdate.js +1 -1
  176. package/lib/cjs/hooks/useForkRef.js +1 -1
  177. package/lib/cjs/hooks/useLRUCache.js +2 -2
  178. package/lib/cjs/hooks/useLocalStorage.d.ts +2 -2
  179. package/lib/cjs/hooks/useLocalStorage.d.ts.map +1 -1
  180. package/lib/cjs/hooks/useLocalStorage.js +2 -2
  181. package/lib/cjs/hooks/useOnScreen.js +2 -2
  182. package/lib/cjs/hooks/usePolling.js +2 -2
  183. package/lib/cjs/hooks/usePrevious.js +2 -2
  184. package/lib/cjs/hooks/useSelectKeyboardNavigator.js +2 -2
  185. package/lib/cjs/hooks/useTitle.js +1 -1
  186. package/lib/cjs/hooks/useUndo.js +6 -6
  187. package/lib/cjs/index.js +5 -1
  188. package/lib/esm/AlertMessage/AlertMessage.d.ts +2 -2
  189. package/lib/esm/AlertMessage/AlertMessage.d.ts.map +1 -1
  190. package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts +2 -1
  191. package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
  192. package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
  193. package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
  194. package/lib/esm/CoverSpinner/CoverSpinner.d.ts +2 -1
  195. package/lib/esm/CoverSpinner/CoverSpinner.d.ts.map +1 -1
  196. package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts +2 -2
  197. package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
  198. package/lib/esm/CustomTextInput/CustomTextInput.d.ts +1 -1
  199. package/lib/esm/CustomTextInput/CustomTextInput.d.ts.map +1 -1
  200. package/lib/esm/DropDownList/DropDownList.d.ts +2 -1
  201. package/lib/esm/DropDownList/DropDownList.d.ts.map +1 -1
  202. package/lib/esm/DropDownList/DropdownWrapper.d.ts +1 -1
  203. package/lib/esm/DropDownList/DropdownWrapper.d.ts.map +1 -1
  204. package/lib/esm/DropDownList/SearchableList.d.ts +1 -1
  205. package/lib/esm/DropDownList/SearchableList.d.ts.map +1 -1
  206. package/lib/esm/DropDownList/SelectList.d.ts +1 -1
  207. package/lib/esm/DropDownList/SelectList.d.ts.map +1 -1
  208. package/lib/esm/DropDownList/SelectList.js +1 -1
  209. package/lib/esm/DropDownList/async.d.ts +1 -1
  210. package/lib/esm/DropDownList/types.d.ts +6 -6
  211. package/lib/esm/DropDownList/types.d.ts.map +1 -1
  212. package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts +2 -1
  213. package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
  214. package/lib/esm/ErrorBoundary/ErrorBoundary.js +1 -1
  215. package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
  216. package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
  217. package/lib/esm/ErrorPages/Generic403.d.ts +2 -1
  218. package/lib/esm/ErrorPages/Generic403.d.ts.map +1 -1
  219. package/lib/esm/FeedbackForm/FeedbackForm.d.ts +2 -1
  220. package/lib/esm/FeedbackForm/FeedbackForm.d.ts.map +1 -1
  221. package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts +4 -4
  222. package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
  223. package/lib/esm/Functional/CaseContactsSelectorExternal.js +7 -7
  224. package/lib/esm/InlineEdit/InlineEdit.d.ts +2 -2
  225. package/lib/esm/InlineEdit/InlineEdit.d.ts.map +1 -1
  226. package/lib/esm/InlineEdit/NewInlineEdit.d.ts +2 -2
  227. package/lib/esm/InlineEdit/NewInlineEdit.d.ts.map +1 -1
  228. package/lib/esm/LanguageSelector/LanguageSelector.d.ts +2 -1
  229. package/lib/esm/LanguageSelector/LanguageSelector.d.ts.map +1 -1
  230. package/lib/esm/LoadingDots/LoadingDots.d.ts +2 -1
  231. package/lib/esm/LoadingDots/LoadingDots.d.ts.map +1 -1
  232. package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts +2 -1
  233. package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
  234. package/lib/esm/LoginModal/LoginModal.d.ts +2 -1
  235. package/lib/esm/LoginModal/LoginModal.d.ts.map +1 -1
  236. package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts +1 -1
  237. package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
  238. package/lib/esm/MoreOrLess/MoreOrLess.d.ts +1 -1
  239. package/lib/esm/MoreOrLess/MoreOrLess.d.ts.map +1 -1
  240. package/lib/esm/PaginatedList/PaginatedList.d.ts +1 -1
  241. package/lib/esm/PaginatedList/PaginatedList.d.ts.map +1 -1
  242. package/lib/esm/PaginationCompact/PaginationCompact.d.ts +2 -1
  243. package/lib/esm/PaginationCompact/PaginationCompact.d.ts.map +1 -1
  244. package/lib/esm/PhoneInput/PhoneInput.d.ts +2 -1
  245. package/lib/esm/PhoneInput/PhoneInput.d.ts.map +1 -1
  246. package/lib/esm/PhoneInput/PhoneInput.js +7 -7
  247. package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
  248. package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
  249. package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
  250. package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
  251. package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts +3 -3
  252. package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
  253. package/lib/esm/ProgressBar/ProgressBar.d.ts +1 -1
  254. package/lib/esm/ProgressBar/ProgressBar.d.ts.map +1 -1
  255. package/lib/esm/PromisifyModal/PromisifyModal.d.ts +3 -3
  256. package/lib/esm/PromisifyModal/PromisifyModal.d.ts.map +1 -1
  257. package/lib/esm/PromisifyModal/PromisifyModal.js +6 -4
  258. package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
  259. package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
  260. package/lib/esm/SubscriptionAbuse/const.d.ts +2 -1
  261. package/lib/esm/SubscriptionAbuse/const.d.ts.map +1 -1
  262. package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
  263. package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
  264. package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
  265. package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
  266. package/lib/esm/Table/PFTable.d.ts +2 -2
  267. package/lib/esm/Table/PFTable.d.ts.map +1 -1
  268. package/lib/esm/Table/TableColumnSelector.d.ts +2 -1
  269. package/lib/esm/Table/TableColumnSelector.d.ts.map +1 -1
  270. package/lib/esm/Table/TableComponent.d.ts +1 -1
  271. package/lib/esm/Table/TableComponent.d.ts.map +1 -1
  272. package/lib/esm/Table/TablePagination.d.ts +2 -1
  273. package/lib/esm/Table/TablePagination.d.ts.map +1 -1
  274. package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
  275. package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
  276. package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
  277. package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
  278. package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts +1 -1
  279. package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
  280. package/lib/esm/ToastNotification/ToastNotification.d.ts.map +1 -1
  281. package/lib/esm/ToastNotification/ToastNotification.js +12 -4
  282. package/lib/esm/TopContentSearch/TopContentSearch.d.ts +1 -1
  283. package/lib/esm/TopContentSearch/TopContentSearch.d.ts.map +1 -1
  284. package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
  285. package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
  286. package/lib/esm/helperFunctions/errorMessage.d.ts +1 -0
  287. package/lib/esm/helperFunctions/errorMessage.d.ts.map +1 -1
  288. package/lib/esm/hooks/useBreakpoint.d.ts +2 -2
  289. package/lib/esm/hooks/useBreakpoint.d.ts.map +1 -1
  290. package/lib/esm/hooks/useCopyToClipboard.d.ts.map +1 -1
  291. package/lib/esm/hooks/useCopyToClipboard.js +1 -0
  292. package/lib/esm/hooks/useFetch.js +1 -2
  293. package/lib/esm/hooks/useLocalStorage.d.ts +2 -2
  294. package/lib/esm/hooks/useLocalStorage.d.ts.map +1 -1
  295. package/package.json +23 -19
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -47,7 +51,7 @@ const getTopContentUrl = (contentUrl) => {
47
51
  // this adds the access.redhat.com to make them valid urls, otherwise the top content edit functionality won't work
48
52
  // for product/versions that already have data not created by users.
49
53
  if (contentUrl.startsWith('/')) {
50
- return `https://${utils_1.getAccessHostname()}${contentUrl}`;
54
+ return `https://${(0, utils_1.getAccessHostname)()}${contentUrl}`;
51
55
  }
52
56
  return contentUrl;
53
57
  };
@@ -58,18 +62,18 @@ var CustomEvents;
58
62
  CustomEvents["inputClear"] = "top-content-filter-input-clear";
59
63
  })(CustomEvents || (CustomEvents = {}));
60
64
  function TopContentSearch({ topContentData = [], topContentResultsWrapperRef = { current: {} }, onSearch, dataTrackingId, enableEventTracking = false, }) {
61
- const [searchText, setSearchText] = react_1.useState('');
62
- const { t } = react_i18next_1.useTranslation();
63
- const searchWorkerRef = react_1.useRef(new js_worker_search_1.default({
65
+ const [searchText, setSearchText] = (0, react_1.useState)('');
66
+ const { t } = (0, react_i18next_1.useTranslation)();
67
+ const searchWorkerRef = (0, react_1.useRef)(new js_worker_search_1.default({
64
68
  indexMode: js_worker_search_1.INDEX_MODES.ALL_SUBSTRINGS,
65
69
  caseSensitive: false,
66
70
  matchAnyToken: true,
67
71
  }));
68
- const searchWrapperRef = react_1.useRef(null);
69
- react_1.useEffect(() => {
72
+ const searchWrapperRef = (0, react_1.useRef)(null);
73
+ (0, react_1.useEffect)(() => {
70
74
  topContentData.forEach((item) => {
71
75
  item.content.forEach((content) => {
72
- searchWorkerRef.current.indexDocument(content.topContentId, `${content.contentTitle} ${exports.getTopContentUrl(content.contentUrl)}`);
76
+ searchWorkerRef.current.indexDocument(content.topContentId, `${content.contentTitle} ${(0, exports.getTopContentUrl)(content.contentUrl)}`);
73
77
  });
74
78
  });
75
79
  searchText && handleSearch(searchText);
@@ -79,21 +83,21 @@ function TopContentSearch({ topContentData = [], topContentResultsWrapperRef = {
79
83
  const logCustomEvent = (eventName, event) => {
80
84
  if (!enableEventTracking || !searchWrapperRef.current || !event || !eventName)
81
85
  return;
82
- utils_1.dtmTrackEvent(searchWrapperRef, eventName, event);
86
+ (0, utils_1.dtmTrackEvent)(searchWrapperRef, eventName, event);
83
87
  };
84
- const highlightSearchResults = react_1.useCallback((searchTerm) => {
88
+ const highlightSearchResults = (0, react_1.useCallback)((searchTerm) => {
85
89
  // highlight search term present in contents only. Contents are present within <dd> tag
86
90
  const contentElements = topContentResultsWrapperRef.current.querySelectorAll('dd.pf-v5-c-accordion__expandable-content');
87
91
  const markInstance = new mark_js_1.default(contentElements);
88
92
  markInstance.unmark({
89
93
  done: () => {
90
- if (isEmpty_1.default(searchTerm))
94
+ if ((0, isEmpty_1.default)(searchTerm))
91
95
  return;
92
96
  markInstance.mark(searchTerm, { separateWordSearch: true });
93
97
  },
94
98
  });
95
99
  }, [topContentResultsWrapperRef]);
96
- const onSearchInputClear = react_1.useCallback((event) => {
100
+ const onSearchInputClear = (0, react_1.useCallback)((event) => {
97
101
  logCustomEvent(CustomEvents.inputClear, event);
98
102
  setSearchText('');
99
103
  highlightSearchResults('');
@@ -102,14 +106,14 @@ function TopContentSearch({ topContentData = [], topContentResultsWrapperRef = {
102
106
  // eslint-disable-next-line react-hooks/exhaustive-deps
103
107
  [highlightSearchResults, topContentData]);
104
108
  // To handle search
105
- const handleSearch = react_1.useCallback((query) => __awaiter(this, void 0, void 0, function* () {
109
+ const handleSearch = (0, react_1.useCallback)((query) => __awaiter(this, void 0, void 0, function* () {
106
110
  if (!query) {
107
111
  onSearchInputClear();
108
112
  return;
109
113
  }
110
114
  const contentIds = yield searchWorkerRef.current.search(query);
111
115
  let contentFound = 0;
112
- const filteredData = flatMap_1.default(topContentData, (item) => {
116
+ const filteredData = (0, flatMap_1.default)(topContentData, (item) => {
113
117
  const filteredContent = item.content.filter((item) => contentIds.includes(item.topContentId));
114
118
  const filteredContentLength = filteredContent.length;
115
119
  if (filteredContentLength > 0 && contentFound < contentIds.length) {
@@ -126,7 +130,7 @@ function TopContentSearch({ topContentData = [], topContentResultsWrapperRef = {
126
130
  }),
127
131
  // eslint-disable-next-line react-hooks/exhaustive-deps
128
132
  [highlightSearchResults, topContentData, onSearchInputClear]);
129
- const debounceSearch = react_1.useMemo(() => debounce_1.default(handleSearch, 500), [handleSearch]);
133
+ const debounceSearch = (0, react_1.useMemo)(() => (0, debounce_1.default)(handleSearch, 500), [handleSearch]);
130
134
  const onSearchInputChange = (value) => {
131
135
  setSearchText(value);
132
136
  debounceSearch(value);
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -9,6 +9,6 @@ interface IProps<T> {
9
9
  comparator?: (current: T, previous: T) => boolean;
10
10
  getTooltipContent: (currentValue: T, previousValue: T) => React.ReactNode;
11
11
  }
12
- export declare function ValueChangedIcon<T>(props: IProps<T>): JSX.Element;
12
+ export declare function ValueChangedIcon<T>(props: IProps<T>): React.JSX.Element;
13
13
  export {};
14
14
  //# sourceMappingURL=ValueChangedIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValueChangedIcon.d.ts","sourceRoot":"","sources":["../../../src/ValueChangedIcon/ValueChangedIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGlE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,UAAU,MAAM,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,OAAO,CAAC;IAClD,iBAAiB,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7E;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,eAyDnD"}
1
+ {"version":3,"file":"ValueChangedIcon.d.ts","sourceRoot":"","sources":["../../../src/ValueChangedIcon/ValueChangedIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGlE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,UAAU,MAAM,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,OAAO,CAAC;IAClD,iBAAiB,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7E;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,qBAyDnD"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -30,16 +34,16 @@ const react_1 = __importStar(require("react"));
30
34
  function ValueChangedIcon(props) {
31
35
  // removed 2 min refresh functionality so this icon never needs to be shown
32
36
  // TODO: Reimplement "setShow"
33
- const [show] = react_1.useState(false);
34
- const [tooltipContent, setTooltipContent] = react_1.useState();
35
- const [currentValue, setCurrentValue] = react_1.useState(props.value);
36
- const [previousValue, setPreviousValue] = react_1.useState();
37
- const [clearTTDebounce, setClearTTDebounce] = react_1.useState();
37
+ const [show] = (0, react_1.useState)(false);
38
+ const [tooltipContent, setTooltipContent] = (0, react_1.useState)();
39
+ const [currentValue, setCurrentValue] = (0, react_1.useState)(props.value);
40
+ const [previousValue, setPreviousValue] = (0, react_1.useState)();
41
+ const [clearTTDebounce, setClearTTDebounce] = (0, react_1.useState)();
38
42
  if (clearTTDebounce) {
39
43
  clearTTDebounce();
40
44
  setClearTTDebounce(undefined);
41
45
  }
42
- react_1.useEffect(() => {
46
+ (0, react_1.useEffect)(() => {
43
47
  if (props.isLocalChange) {
44
48
  props.afterLocalChange();
45
49
  setPreviousValue(currentValue);
@@ -52,13 +56,13 @@ function ValueChangedIcon(props) {
52
56
  // setShow(true);
53
57
  setTooltipContent(props.getTooltipContent(currentValue, previousValue));
54
58
  setPreviousValue(currentValue);
55
- setClearTTDebounce(debounce_1.default(() => {
59
+ setClearTTDebounce((0, debounce_1.default)(() => {
56
60
  setTooltipContent(null);
57
61
  // setShow(false);
58
62
  }, 6000));
59
63
  }
60
64
  }, [props, previousValue, currentValue]);
61
- react_1.useEffect(() => {
65
+ (0, react_1.useEffect)(() => {
62
66
  if (currentValue !== props.value) {
63
67
  setPreviousValue(!!currentValue ? currentValue : props.value);
64
68
  setCurrentValue(props.value);
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './errorMessage.scss';
2
3
  export interface IAppErrorObj {
3
4
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAoDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"errorMessage.d.ts","sourceRoot":"","sources":["../../../src/helperFunctions/errorMessage.tsx"],"names":[],"mappings":";AAAA,OAAO,qBAAqB,CAAC;AAS7B,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,SAAS;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;CACxC;AAoDD,iBAAS,wBAAwB,CAAC,KAAK,KAAA,EAAE,aAAa,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAwCxF;AAED,iBAAS,iBAAiB,CAAC,KAAK,KAAA,EAAE,WAAW,CAAC,EAAE,SAAS,GAAG,MAAM,CAIjE;AAED,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,CAAC"}
@@ -80,7 +80,7 @@ function formattedApiErrorMessage(error, customMessage) {
80
80
  // api call error
81
81
  const message = (error === null || error === void 0 ? void 0 : error.statusText) || (error === null || error === void 0 ? void 0 : error.responseText) || '';
82
82
  // error.message -> javascript error
83
- const isNotProperUXError = isEmpty_1.default(message) || (message === null || message === void 0 ? void 0 : message.length) > 200 || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.detailMessage);
83
+ const isNotProperUXError = (0, isEmpty_1.default)(message) || (message === null || message === void 0 ? void 0 : message.length) > 200 || (error === null || error === void 0 ? void 0 : error.message) || (error === null || error === void 0 ? void 0 : error.detailMessage);
84
84
  return isNotProperUXError ? defaultErrorMessage : message;
85
85
  }
86
86
  }
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- export declare type Config = {
2
+ export type Config = {
3
3
  readonly [key: string]: string;
4
4
  };
5
5
  declare function BreakpointProvider({ children, queries }: React.PropsWithChildren<{
6
6
  queries?: Config;
7
- }>): JSX.Element;
7
+ }>): React.JSX.Element;
8
8
  declare function useBreakpoint(): {
9
9
  readonly [key: string]: boolean;
10
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,oBAAY,MAAM,GAAG;IACjB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AAaF,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,OAAwB,EAAE,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,eA+ChH;AAED,iBAAS,aAAa;;EAMrB;AACD,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../../src/hooks/useBreakpoint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAO/D,MAAM,MAAM,MAAM,GAAG;IACjB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AAaF,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,OAAwB,EAAE,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,qBA+ChH;AAED,iBAAS,aAAa;;EAMrB;AACD,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -33,8 +37,8 @@ const defaultQueries = {
33
37
  xxl: `(min-width: 1800px)`,
34
38
  };
35
39
  function BreakpointProvider({ children, queries = defaultQueries }) {
36
- const [queryMatch, setQueryMatch] = react_1.useState({});
37
- react_1.useEffect(() => {
40
+ const [queryMatch, setQueryMatch] = (0, react_1.useState)({});
41
+ (0, react_1.useEffect)(() => {
38
42
  const mediaQueryLists = {};
39
43
  const keys = Object.keys(queries);
40
44
  let isAttached = false;
@@ -78,7 +82,7 @@ function BreakpointProvider({ children, queries = defaultQueries }) {
78
82
  }
79
83
  exports.BreakpointProvider = BreakpointProvider;
80
84
  function useBreakpoint() {
81
- const context = react_1.useContext(BreakpointContext);
85
+ const context = (0, react_1.useContext)(BreakpointContext);
82
86
  if (context === defaultValue) {
83
87
  throw new Error('useBreakpoint must be used within a BreakpointProvider');
84
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useCopyToClipboard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCopyToClipboard.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,SAAU,WAAW,SAK3C,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,GAAG,KAAA;;;EAyBrC"}
1
+ {"version":3,"file":"useCopyToClipboard.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCopyToClipboard.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,SAAU,WAAW,SAK3C,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,GAAG,KAAA;;;EA0BrC"}
@@ -11,10 +11,11 @@ const selectText = (elem) => {
11
11
  };
12
12
  exports.selectText = selectText;
13
13
  function useCopyToClipboard(ref) {
14
- const [clipboardText, setClipboardText] = react_1.useState('');
15
- const { t } = react_i18next_1.useTranslation();
14
+ const [clipboardText, setClipboardText] = (0, react_1.useState)('');
15
+ // @ts-ignore
16
+ const { t } = (0, react_i18next_1.useTranslation)();
16
17
  const copyToClipboard = () => {
17
- exports.selectText(ref.current);
18
+ (0, exports.selectText)(ref.current);
18
19
  try {
19
20
  document.execCommand('copy');
20
21
  setClipboardText(t('Copied!'));
@@ -10,8 +10,8 @@ const use_deep_compare_effect_1 = __importDefault(require("use-deep-compare-effe
10
10
  // Takes a callback that is called after a debounce delay based on the dependencies array
11
11
  // Its just a wrapper over useEffect and debounce function which cancels previous callback each time
12
12
  function useDebounce(callback, dependencies, wait = 0, options = {}) {
13
- react_1.useEffect(() => {
14
- const handler = debounce_1.default(() => {
13
+ (0, react_1.useEffect)(() => {
14
+ const handler = (0, debounce_1.default)(() => {
15
15
  callback();
16
16
  }, wait, options);
17
17
  handler();
@@ -24,9 +24,9 @@ function useDebounce(callback, dependencies, wait = 0, options = {}) {
24
24
  }
25
25
  exports.useDebounce = useDebounce;
26
26
  function useDeepCompareDebounce(callback, dependencies, wait = 0, options = {}) {
27
- use_deep_compare_effect_1.default(() => {
27
+ (0, use_deep_compare_effect_1.default)(() => {
28
28
  //instead of useeffect use the deepcompare libary
29
- const handler = debounce_1.default(() => {
29
+ const handler = (0, debounce_1.default)(() => {
30
30
  callback();
31
31
  }, wait, options);
32
32
  handler();
@@ -15,13 +15,12 @@ const useIsMounted_1 = require("./useIsMounted");
15
15
  const usePrevious_1 = require("./usePrevious");
16
16
  // type IUseFetchFn = <T,A extends any[]>(fn: (...args:) => Promise<T>, options?: IUseFetchOptions<T>) => IUseFetch<T,A>;
17
17
  function useFetch(fn, { initialData = null, resolve = false, resolveCondition = [], isAbortable = false, propgateErrors = false, postProcessor = undefined, } = {}) {
18
- const isMounted = useIsMounted_1.useIsMounted();
19
- const [{ data, isFetching, error }, setState] = react_1.useReducer((s, a) => (Object.assign(Object.assign({}, s), a)), { data: initialData, isFetching: resolve, error: null });
20
- const [abortSignal, setAbortSignal] = react_1.useState(null);
21
- const prevAbortSignal = usePrevious_1.usePrevious(abortSignal);
18
+ const isMounted = (0, useIsMounted_1.useIsMounted)();
19
+ const [{ data, isFetching, error }, setState] = (0, react_1.useReducer)((s, a) => (Object.assign(Object.assign({}, s), a)), { data: initialData, isFetching: resolve, error: null });
20
+ const [abortSignal, setAbortSignal] = (0, react_1.useState)(null);
21
+ const prevAbortSignal = (0, usePrevious_1.usePrevious)(abortSignal);
22
22
  const clearResponse = () => setState({ data: initialData });
23
23
  const request = (...args) => __awaiter(this, void 0, void 0, function* () {
24
- var _a;
25
24
  try {
26
25
  if (isAbortable && 'AbortController' in window) {
27
26
  if (prevAbortSignal) {
@@ -38,7 +37,7 @@ function useFetch(fn, { initialData = null, resolve = false, resolveCondition =
38
37
  return response;
39
38
  }
40
39
  catch (err) {
41
- const isAbortError = ((_a = err) === null || _a === void 0 ? void 0 : _a.code) === 20;
40
+ const isAbortError = (err === null || err === void 0 ? void 0 : err.code) === 20;
42
41
  if (isAbortError) {
43
42
  // TODO handle abort error and loader behaviour
44
43
  }
@@ -54,7 +53,7 @@ function useFetch(fn, { initialData = null, resolve = false, resolveCondition =
54
53
  }
55
54
  }
56
55
  });
57
- react_1.useEffect(() => {
56
+ (0, react_1.useEffect)(() => {
58
57
  // if (resolve) {
59
58
  // request();
60
59
  // }
@@ -22,7 +22,7 @@ const react_1 = require("react");
22
22
  function useForceUpdate() {
23
23
  // The toggling state value is designed to defeat React optimizations for skipping
24
24
  // updates when they are stricting equal to the last state value
25
- const [, dispatch] = react_1.useReducer((state) => !state, false);
25
+ const [, dispatch] = (0, react_1.useReducer)((state) => !state, false);
26
26
  return dispatch;
27
27
  }
28
28
  exports.useForceUpdate = useForceUpdate;
@@ -16,7 +16,7 @@ function useForkRef(refA, refB) {
16
16
  * This means react will call the old forkRef with `null` and the new forkRef
17
17
  * with the ref. Cleanup naturally emerges from this behavior
18
18
  */
19
- return react_1.useMemo(() => {
19
+ return (0, react_1.useMemo)(() => {
20
20
  if (refA == null && refB == null) {
21
21
  return null;
22
22
  }
@@ -5,8 +5,8 @@ const utils_1 = require("@rh-support/utils");
5
5
  const react_1 = require("react");
6
6
  const useForceUpdate_1 = require("./useForceUpdate");
7
7
  function useLRUCache(maxSize) {
8
- const lruCacheRef = react_1.useRef(new utils_1.LRUCache(maxSize));
9
- const forceUpdate = useForceUpdate_1.useForceUpdate();
8
+ const lruCacheRef = (0, react_1.useRef)(new utils_1.LRUCache(maxSize));
9
+ const forceUpdate = (0, useForceUpdate_1.useForceUpdate)();
10
10
  const setInCache = (key, value) => {
11
11
  lruCacheRef.current.set(key, value);
12
12
  forceUpdate();
@@ -1,5 +1,5 @@
1
- declare type Dispatch<A> = (value: A) => void;
2
- declare type SetStateAction<S> = S | ((prevState: S) => S);
1
+ type Dispatch<A> = (value: A) => void;
2
+ type SetStateAction<S> = S | ((prevState: S) => S);
3
3
  declare const useLocalStorage: <T>(key: string, initialValue?: T, raw?: boolean) => [T, Dispatch<SetStateAction<T>>];
4
4
  export { useLocalStorage };
5
5
  //# sourceMappingURL=useLocalStorage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocalStorage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLocalStorage.ts"],"names":[],"mappings":"AAEA,aAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;AACtC,aAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAKnD,QAAA,MAAM,eAAe,WAAY,MAAM,0BAA0B,OAAO,qCA8BvE,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"useLocalStorage.d.ts","sourceRoot":"","sources":["../../../src/hooks/useLocalStorage.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;AACtC,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAKnD,QAAA,MAAM,eAAe,WAAY,MAAM,0BAA0B,OAAO,qCA8BvE,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -5,7 +5,7 @@ const react_1 = require("react");
5
5
  // For usage please refer
6
6
  // https://github.com/streamich/react-use/blob/master/docs/useLocalStorage.md
7
7
  const useLocalStorage = (key, initialValue, raw) => {
8
- const [state, setState] = react_1.useState(() => {
8
+ const [state, setState] = (0, react_1.useState)(() => {
9
9
  try {
10
10
  const localStorageValue = localStorage.getItem(key);
11
11
  if (typeof localStorageValue !== 'string') {
@@ -23,7 +23,7 @@ const useLocalStorage = (key, initialValue, raw) => {
23
23
  return initialValue;
24
24
  }
25
25
  });
26
- react_1.useEffect(() => {
26
+ (0, react_1.useEffect)(() => {
27
27
  try {
28
28
  const serializedState = raw ? String(state) : JSON.stringify(state);
29
29
  localStorage.setItem(key, serializedState);
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useOnScreen = void 0;
4
4
  const react_1 = require("react");
5
5
  function useOnScreen(ref) {
6
- const [isIntersecting, setIntersecting] = react_1.useState(false);
6
+ const [isIntersecting, setIntersecting] = (0, react_1.useState)(false);
7
7
  const observer = new IntersectionObserver(([entry]) => setIntersecting(entry.isIntersecting));
8
- react_1.useEffect(() => {
8
+ (0, react_1.useEffect)(() => {
9
9
  observer.observe(ref.current);
10
10
  // Remove the observer as soon as the component is unmounted
11
11
  return () => {
@@ -4,10 +4,10 @@ exports.usePolling = void 0;
4
4
  const react_1 = require("react");
5
5
  const refreshInterval = 120 * 1000;
6
6
  function usePolling(intervalCb, dependencies = []) {
7
- const depsRef = react_1.useRef(dependencies);
7
+ const depsRef = (0, react_1.useRef)(dependencies);
8
8
  const fetch = () => !document.hidden && intervalCb(...depsRef.current);
9
9
  depsRef.current = dependencies;
10
- react_1.useEffect(() => {
10
+ (0, react_1.useEffect)(() => {
11
11
  const id = setInterval(fetch, refreshInterval);
12
12
  return () => {
13
13
  clearInterval(id);
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.usePrevious = void 0;
4
4
  const react_1 = require("react");
5
5
  function usePrevious(value) {
6
- const ref = react_1.useRef();
7
- react_1.useEffect(() => {
6
+ const ref = (0, react_1.useRef)();
7
+ (0, react_1.useEffect)(() => {
8
8
  ref.current = value;
9
9
  }, [value]);
10
10
  return ref.current;
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useSelectKeyboardNavigator = void 0;
4
4
  const react_1 = require("react");
5
5
  function useSelectKeyboardNavigator({ list, isOpen, setIsOpen, onSelect }) {
6
- const [focusedItemIndex, setFocusedItemIndex] = react_1.useState(null);
7
- react_1.useEffect(() => {
6
+ const [focusedItemIndex, setFocusedItemIndex] = (0, react_1.useState)(null);
7
+ (0, react_1.useEffect)(() => {
8
8
  setFocusedItemIndex(null);
9
9
  }, [list.length]);
10
10
  const handleMenuArrowKeys = (key) => {
@@ -4,7 +4,7 @@ exports.useDocumentTitle = void 0;
4
4
  const react_1 = require("react");
5
5
  function useDocumentTitle(title) {
6
6
  const originalTitle = document.title;
7
- react_1.useEffect(() => {
7
+ (0, react_1.useEffect)(() => {
8
8
  document.title = title;
9
9
  return () => {
10
10
  document.title = originalTitle;
@@ -8,7 +8,7 @@ var UndoRedoActionConstant;
8
8
  UndoRedoActionConstant["redoPresent"] = "REDO_PRESENT";
9
9
  UndoRedoActionConstant["setPresent"] = "SET_PRESENT";
10
10
  UndoRedoActionConstant["resetPresent"] = "RESET_PRESENT";
11
- })(UndoRedoActionConstant = exports.UndoRedoActionConstant || (exports.UndoRedoActionConstant = {}));
11
+ })(UndoRedoActionConstant || (exports.UndoRedoActionConstant = UndoRedoActionConstant = {}));
12
12
  const undoRedoReducer = () => (state, action) => {
13
13
  const { past, present, future } = state;
14
14
  switch (action.type) {
@@ -52,25 +52,25 @@ const undoRedoReducer = () => (state, action) => {
52
52
  }
53
53
  };
54
54
  function useUndo(initialPresent) {
55
- const [state, dispatch] = react_1.useReducer(undoRedoReducer(), {
55
+ const [state, dispatch] = (0, react_1.useReducer)(undoRedoReducer(), {
56
56
  past: [],
57
57
  present: initialPresent,
58
58
  future: [],
59
59
  });
60
60
  const canUndo = state.past.length !== 0;
61
61
  const canRedo = state.future.length !== 0;
62
- const undo = react_1.useCallback(() => {
62
+ const undo = (0, react_1.useCallback)(() => {
63
63
  if (canUndo) {
64
64
  dispatch({ type: UndoRedoActionConstant.undoPresent });
65
65
  }
66
66
  }, [canUndo]);
67
- const redo = react_1.useCallback(() => {
67
+ const redo = (0, react_1.useCallback)(() => {
68
68
  if (canRedo) {
69
69
  dispatch({ type: UndoRedoActionConstant.redoPresent });
70
70
  }
71
71
  }, [canRedo]);
72
- const setURValue = react_1.useCallback((present) => dispatch({ type: UndoRedoActionConstant.setPresent, payload: { present } }), []);
73
- const resetURValue = react_1.useCallback((present) => dispatch({ type: UndoRedoActionConstant.resetPresent, payload: { present } }), []);
72
+ const setURValue = (0, react_1.useCallback)((present) => dispatch({ type: UndoRedoActionConstant.setPresent, payload: { present } }), []);
73
+ const resetURValue = (0, react_1.useCallback)((present) => dispatch({ type: UndoRedoActionConstant.resetPresent, payload: { present } }), []);
74
74
  return { state, setURValue, resetURValue, undo, redo, canUndo, canRedo };
75
75
  }
76
76
  exports.useUndo = useUndo;
package/lib/cjs/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -15,8 +15,8 @@ interface IProps {
15
15
  variant: AlertType;
16
16
  isInline?: boolean;
17
17
  }
18
- export declare type AlertMessageProps = IProps;
19
- declare function AlertMessage(props: IProps): JSX.Element;
18
+ export type AlertMessageProps = IProps;
19
+ declare function AlertMessage(props: IProps): React.JSX.Element;
20
20
  declare namespace AlertMessage {
21
21
  var defaultProps: Partial<IProps>;
22
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AlertMessage.d.ts","sourceRoot":"","sources":["../../../src/AlertMessage/AlertMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AACD,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,oBAAY,iBAAiB,GAAG,MAAM,CAAC;AAOvC,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,eAkBlC;kBAlBQ,YAAY;;;AAoBrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"AlertMessage.d.ts","sourceRoot":"","sources":["../../../src/AlertMessage/AlertMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AACD,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IACxD,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC;AAOvC,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBAkBlC;kBAlBQ,YAAY;;;AAoBrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { ConfirmationOptions } from './ConfirmationDialog';
2
3
  export declare const useConfirmation: () => (options: ConfirmationOptions) => Promise<void>;
3
4
  export declare const ConfirmationServiceProvider: ({ children }: {
4
5
  children: any;
5
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
6
7
  //# sourceMappingURL=ConfirmationContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationContext.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI/E,eAAO,MAAM,eAAe,kBAFqC,mBAAmB,KAAK,QAAQ,IAAI,CAE1B,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;iBA2CvC,CAAC"}
1
+ {"version":3,"file":"ConfirmationContext.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAsB,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI/E,eAAO,MAAM,eAAe,kBAFqC,mBAAmB,KAAK,QAAQ,IAAI,CAE1B,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;uBA2CvC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { ButtonVariant, ModalVariant } from '@patternfly/react-core';
2
+ import React from 'react';
2
3
  export interface ConfirmationOptions {
3
4
  catchOnCancel?: boolean;
4
5
  title?: string;
@@ -15,7 +16,7 @@ interface IProps extends ConfirmationOptions {
15
16
  onClose: () => void;
16
17
  modalVariant?: ModalVariant;
17
18
  }
18
- declare function ConfirmationDialog(props: IProps): JSX.Element;
19
+ declare function ConfirmationDialog(props: IProps): React.JSX.Element;
19
20
  declare namespace ConfirmationDialog {
20
21
  var defaultProps: {
21
22
  confirmText: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,aAAa,EAAS,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAIpF,MAAM,WAAW,mBAAmB;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAED,UAAU,MAAO,SAAQ,mBAAmB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAUD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,eAsBxC;kBAtBQ,kBAAkB;;;;;;;;;AAwB3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/ConfirmationModal/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,aAAa,EAAS,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAED,UAAU,MAAO,SAAQ,mBAAmB;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC/B;AAUD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,qBAsBxC;kBAtBQ,kBAAkB;;;;;;;;;AAwB3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}