@rh-support/troubleshoot 2.4.10-beta.8 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (645) hide show
  1. package/README.md +1 -4
  2. package/lib/esm/components/AccountInfo/AccountSelector.d.ts +2 -1
  3. package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
  4. package/lib/esm/components/AccountInfo/AccountSelector.js +7 -7
  5. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts +2 -1
  6. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts.map +1 -1
  7. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +36 -11
  8. package/lib/esm/components/AccountInfo/OwnerSelector.d.ts +2 -1
  9. package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
  10. package/lib/esm/components/AccountInfo/OwnerSelector.js +10 -124
  11. package/lib/esm/components/AccountInfo/css/accountSelector.css +6 -0
  12. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +5 -5
  13. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts +2 -1
  14. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
  15. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +23 -20
  16. package/lib/esm/components/CaseEditView/Case.d.ts +2 -1
  17. package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
  18. package/lib/esm/components/CaseEditView/Case.js +8 -8
  19. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts +2 -1
  20. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
  21. package/lib/esm/components/CaseEditView/CaseDetailsAside.js +22 -16
  22. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts +2 -1
  23. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
  24. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
  25. package/lib/esm/components/CaseEditView/CaseDetailsModals.js +1 -1
  26. package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts +1 -1
  27. package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
  28. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +45 -25
  29. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +2 -1
  30. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
  31. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
  32. package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts +2 -1
  33. package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts.map +1 -1
  34. package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts +2 -1
  35. package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
  36. package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +18 -4
  37. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts +2 -1
  38. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts.map +1 -1
  39. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
  40. package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts +1 -1
  41. package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
  42. package/lib/esm/components/CaseEditView/CaseOverview/index.js +44 -35
  43. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  44. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +115 -47
  45. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +7 -2
  46. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
  47. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +8 -6
  48. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts +15 -0
  49. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts.map +1 -0
  50. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +76 -0
  51. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts +2 -1
  52. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts.map +1 -1
  53. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
  54. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +2 -1
  55. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
  56. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +17 -11
  57. package/lib/esm/components/CaseEditView/PDFContainer.d.ts +1 -1
  58. package/lib/esm/components/CaseEditView/PDFContainer.d.ts.map +1 -1
  59. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
  60. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts +2 -1
  61. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
  62. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +8 -7
  63. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts +2 -1
  64. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
  65. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +13 -12
  66. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
  67. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts +2 -1
  68. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
  69. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +13 -12
  70. package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts +2 -2
  71. package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts.map +1 -1
  72. package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.js +1 -1
  73. package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts +2 -1
  74. package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts.map +1 -1
  75. package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.js +59 -35
  76. package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts +1 -1
  77. package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
  78. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts +2 -1
  79. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
  80. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +8 -20
  81. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts +2 -1
  82. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
  83. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +187 -66
  84. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts +2 -2
  85. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
  86. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +2 -2
  87. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts +2 -1
  88. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
  89. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
  90. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts +2 -1
  91. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
  92. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +10 -13
  93. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts +2 -1
  94. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
  95. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +31 -12
  96. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts +2 -1
  97. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts.map +1 -1
  98. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
  99. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts +2 -1
  100. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts.map +1 -1
  101. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
  102. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts +2 -1
  103. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts.map +1 -1
  104. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +15 -14
  105. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts +1 -1
  106. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
  107. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +21 -11
  108. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts +2 -1
  109. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
  110. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
  111. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts +2 -1
  112. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts.map +1 -1
  113. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.js +3 -3
  114. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts +2 -1
  115. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
  116. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
  117. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts +3 -0
  118. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts.map +1 -0
  119. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.js +37 -0
  120. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts +2 -1
  121. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
  122. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +9 -9
  123. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +1 -1
  124. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
  125. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +10 -8
  126. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
  127. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
  128. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +29 -11
  129. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +1 -1
  130. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
  131. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +89 -31
  132. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
  133. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +6 -4
  134. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts +2 -1
  135. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
  136. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +4 -3
  137. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts +1 -1
  138. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
  139. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +1 -1
  140. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts +2 -1
  141. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
  142. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
  143. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +2 -1
  144. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
  145. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +29 -9
  146. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts +2 -1
  147. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
  148. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +4 -3
  149. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.css +0 -0
  150. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts +5 -2
  151. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
  152. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +7 -3
  153. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +331 -0
  154. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +7 -0
  155. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -0
  156. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +442 -0
  157. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +3 -2
  158. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
  159. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -5
  160. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts +2 -1
  161. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
  162. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +4 -4
  163. package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts +4 -0
  164. package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts.map +1 -0
  165. package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.js +118 -0
  166. package/lib/esm/components/CaseEditView/index.d.ts +2 -8
  167. package/lib/esm/components/CaseEditView/index.d.ts.map +1 -1
  168. package/lib/esm/components/CaseEditView/index.js +8 -13
  169. package/lib/esm/components/CaseInformation/CaseGroup.d.ts +2 -1
  170. package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
  171. package/lib/esm/components/CaseInformation/CaseGroup.js +72 -26
  172. package/lib/esm/components/CaseInformation/CaseInformation.d.ts +2 -1
  173. package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
  174. package/lib/esm/components/CaseInformation/CaseInformation.js +3 -5
  175. package/lib/esm/components/CaseInformation/CaseType.d.ts +2 -1
  176. package/lib/esm/components/CaseInformation/CaseType.d.ts.map +1 -1
  177. package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts +2 -1
  178. package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
  179. package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +230 -55
  180. package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts +2 -1
  181. package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts.map +1 -1
  182. package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.js +33 -14
  183. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts +2 -1
  184. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
  185. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
  186. package/lib/esm/components/CaseInformation/Description.d.ts +3 -1
  187. package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
  188. package/lib/esm/components/CaseInformation/Description.js +58 -28
  189. package/lib/esm/components/CaseInformation/FileDiag.d.ts +2 -1
  190. package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
  191. package/lib/esm/components/CaseInformation/Fts.d.ts +2 -1
  192. package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
  193. package/lib/esm/components/CaseInformation/Fts.js +38 -8
  194. package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts +4 -0
  195. package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts.map +1 -0
  196. package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.js +26 -0
  197. package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts +3 -1
  198. package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts.map +1 -1
  199. package/lib/esm/components/CaseInformation/OpenCaseIssue.js +54 -29
  200. package/lib/esm/components/CaseInformation/Severity.d.ts +2 -1
  201. package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
  202. package/lib/esm/components/CaseInformation/Severity.js +18 -32
  203. package/lib/esm/components/CaseInformation/SupportLevel.d.ts +2 -1
  204. package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
  205. package/lib/esm/components/CaseInformation/SupportLevel.js +9 -5
  206. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts +2 -1
  207. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
  208. package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +3 -2
  209. package/lib/esm/components/CaseManagement/CaseManagement.d.ts +2 -1
  210. package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
  211. package/lib/esm/components/CaseManagement/CaseManagement.js +10 -7
  212. package/lib/esm/components/CaseManagement/Cep.d.ts +2 -1
  213. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  214. package/lib/esm/components/CaseManagement/Cep.js +37 -21
  215. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts +2 -1
  216. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
  217. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +14 -13
  218. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts +2 -1
  219. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
  220. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
  221. package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts +2 -1
  222. package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts.map +1 -1
  223. package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts +6 -5
  224. package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts.map +1 -1
  225. package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +46 -28
  226. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts +2 -1
  227. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts.map +1 -1
  228. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
  229. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts +2 -1
  230. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
  231. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +7 -6
  232. package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts +2 -1
  233. package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
  234. package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +19 -13
  235. package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts +2 -1
  236. package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts.map +1 -1
  237. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts +2 -1
  238. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
  239. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +16 -15
  240. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts +2 -1
  241. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
  242. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +43 -37
  243. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts +1 -1
  244. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
  245. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +3 -5
  246. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts +2 -1
  247. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
  248. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
  249. package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts +2 -1
  250. package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts.map +1 -1
  251. package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.js +0 -2
  252. package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts +2 -1
  253. package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts.map +1 -1
  254. package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts +2 -1
  255. package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts.map +1 -1
  256. package/lib/esm/components/Cve/CveItem.d.ts +10 -0
  257. package/lib/esm/components/Cve/CveItem.d.ts.map +1 -0
  258. package/lib/esm/components/Cve/CveItem.js +139 -0
  259. package/lib/esm/components/Cve/CveModal.d.ts +3 -0
  260. package/lib/esm/components/Cve/CveModal.d.ts.map +1 -0
  261. package/lib/esm/components/Cve/CveModal.js +44 -0
  262. package/lib/esm/components/Cve/CvePanel.d.ts +7 -0
  263. package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -0
  264. package/lib/esm/components/Cve/CvePanel.js +23 -0
  265. package/lib/esm/components/Cve/CveSidebar.d.ts +3 -0
  266. package/lib/esm/components/Cve/CveSidebar.d.ts.map +1 -0
  267. package/lib/esm/components/Cve/CveSidebar.js +23 -0
  268. package/lib/esm/components/EditDescription/EditDescription.d.ts +2 -1
  269. package/lib/esm/components/EditDescription/EditDescription.d.ts.map +1 -1
  270. package/lib/esm/components/EditDescription/EditDescription.js +1 -6
  271. package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts +2 -1
  272. package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
  273. package/lib/esm/components/IdeaInformation/IdeaInformation.js +12 -11
  274. package/lib/esm/components/ImproveCase/FileEARule.d.ts +2 -1
  275. package/lib/esm/components/ImproveCase/FileEARule.d.ts.map +1 -1
  276. package/lib/esm/components/ImproveCase/Hostname.d.ts +2 -1
  277. package/lib/esm/components/ImproveCase/Hostname.d.ts.map +1 -1
  278. package/lib/esm/components/ImproveCase/Hostname.js +3 -3
  279. package/lib/esm/components/ImproveCase/KtQuestions.d.ts +2 -1
  280. package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
  281. package/lib/esm/components/ImproveCase/KtQuestions.js +62 -58
  282. package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts +2 -1
  283. package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts.map +1 -1
  284. package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts +2 -1
  285. package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts.map +1 -1
  286. package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts +2 -1
  287. package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
  288. package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts +2 -1
  289. package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts.map +1 -1
  290. package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts +2 -1
  291. package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts.map +1 -1
  292. package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts +2 -1
  293. package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts.map +1 -1
  294. package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts +2 -1
  295. package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts.map +1 -1
  296. package/lib/esm/components/OpenCase/OpenCase.d.ts +5 -1
  297. package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
  298. package/lib/esm/components/OpenCase/OpenCase.js +9 -0
  299. package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts +2 -1
  300. package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts.map +1 -1
  301. package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts +2 -1
  302. package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts.map +1 -1
  303. package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts +2 -1
  304. package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
  305. package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts +2 -1
  306. package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts.map +1 -1
  307. package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts +2 -1
  308. package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts.map +1 -1
  309. package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts +2 -1
  310. package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts.map +1 -1
  311. package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts +2 -1
  312. package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts.map +1 -1
  313. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts +2 -1
  314. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
  315. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +12 -15
  316. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +5 -1
  317. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
  318. package/lib/esm/components/ProductSelector/AllProductsSelector.js +29 -9
  319. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +4 -1
  320. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  321. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +21 -6
  322. package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts +2 -1
  323. package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
  324. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
  325. package/lib/esm/components/ProductSelector/ProductSelector.d.ts +8 -2
  326. package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
  327. package/lib/esm/components/ProductSelector/ProductSelector.js +45 -23
  328. package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts +2 -1
  329. package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts.map +1 -1
  330. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts +3 -0
  331. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
  332. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +10 -2
  333. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts +3 -0
  334. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
  335. package/lib/esm/components/Recommendations/AlertToastWrapper.js +2 -2
  336. package/lib/esm/components/Recommendations/AsideResults.d.ts +3 -1
  337. package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
  338. package/lib/esm/components/Recommendations/AsideResults.js +17 -28
  339. package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts +2 -1
  340. package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts.map +1 -1
  341. package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +8 -5
  342. package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts +2 -1
  343. package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
  344. package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
  345. package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts +2 -1
  346. package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
  347. package/lib/esm/components/Recommendations/CriticalSolutionsToast.d.ts.map +1 -1
  348. package/lib/esm/components/Recommendations/CriticalSolutionsToast.js +1 -1
  349. package/lib/esm/components/Recommendations/EARules/EARule.d.ts +7 -6
  350. package/lib/esm/components/Recommendations/EARules/EARule.d.ts.map +1 -1
  351. package/lib/esm/components/Recommendations/EARules/EARule.js +7 -6
  352. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts +3 -1
  353. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
  354. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +14 -4
  355. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts +2 -1
  356. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts.map +1 -1
  357. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +13 -12
  358. package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts +2 -1
  359. package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts.map +1 -1
  360. package/lib/esm/components/Recommendations/EARules/EARuleWidget.js +6 -2
  361. package/lib/esm/components/Recommendations/InsightsResults.d.ts +2 -1
  362. package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
  363. package/lib/esm/components/Recommendations/InsightsResults.js +20 -7
  364. package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts +3 -1
  365. package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
  366. package/lib/esm/components/Recommendations/InsightsRuleInfo.js +17 -14
  367. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts +2 -1
  368. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts.map +1 -1
  369. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
  370. package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts +3 -0
  371. package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts.map +1 -0
  372. package/lib/esm/components/Recommendations/RecommendationInfoBox.js +28 -0
  373. package/lib/esm/components/Recommendations/Recommendations.d.ts +5 -1
  374. package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
  375. package/lib/esm/components/Recommendations/Recommendations.js +108 -39
  376. package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts +3 -0
  377. package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts.map +1 -0
  378. package/lib/esm/components/Recommendations/RecommendationsLoader.js +11 -0
  379. package/lib/esm/components/Recommendations/RulesModal.d.ts +2 -1
  380. package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
  381. package/lib/esm/components/Recommendations/RulesModal.js +8 -14
  382. package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts +10 -0
  383. package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts.map +1 -0
  384. package/lib/esm/components/Recommendations/WatsonxAiIcon.js +13 -0
  385. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts +2 -1
  386. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
  387. package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts +2 -1
  388. package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts.map +1 -1
  389. package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
  390. package/lib/esm/components/Review/Review.d.ts +3 -2
  391. package/lib/esm/components/Review/Review.d.ts.map +1 -1
  392. package/lib/esm/components/Review/Review.js +14 -11
  393. package/lib/esm/components/SessionRestore/SessionItem.d.ts +2 -1
  394. package/lib/esm/components/SessionRestore/SessionItem.d.ts.map +1 -1
  395. package/lib/esm/components/SessionRestore/SessionItem.js +4 -4
  396. package/lib/esm/components/SessionRestore/SessionRestore.d.ts +2 -1
  397. package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
  398. package/lib/esm/components/SessionRestore/SessionRestore.js +51 -35
  399. package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts +2 -1
  400. package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
  401. package/lib/esm/components/SessionRestore/SessionRestoreCard.js +9 -16
  402. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts +3 -0
  403. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts.map +1 -1
  404. package/lib/esm/components/SubmitCase/ResubmitToast.js +3 -1
  405. package/lib/esm/components/SubmitCase/SubmitCase.d.ts +2 -1
  406. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  407. package/lib/esm/components/SubmitCase/SubmitCase.js +122 -33
  408. package/lib/esm/components/Suggestions/Suggestions.d.ts +2 -1
  409. package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
  410. package/lib/esm/components/Suggestions/Suggestions.js +10 -3
  411. package/lib/esm/components/Suggestions/TopContent.d.ts +2 -2
  412. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  413. package/lib/esm/components/Suggestions/TopContent.js +58 -13
  414. package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts +2 -1
  415. package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
  416. package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +25 -34
  417. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts +2 -1
  418. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
  419. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +176 -75
  420. package/lib/esm/components/shared/Constants.d.ts +5 -4
  421. package/lib/esm/components/shared/Constants.d.ts.map +1 -1
  422. package/lib/esm/components/shared/Rule.d.ts +2 -1
  423. package/lib/esm/components/shared/Rule.d.ts.map +1 -1
  424. package/lib/esm/components/shared/Rule.js +6 -6
  425. package/lib/esm/components/shared/fileUpload/FileLister.d.ts +3 -1
  426. package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
  427. package/lib/esm/components/shared/fileUpload/FileLister.js +8 -7
  428. package/lib/esm/components/shared/fileUpload/FileUpload.d.ts +2 -1
  429. package/lib/esm/components/shared/fileUpload/FileUpload.d.ts.map +1 -1
  430. package/lib/esm/components/shared/fileUpload/FileUploader.d.ts +2 -1
  431. package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
  432. package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts +2 -1
  433. package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts.map +1 -1
  434. package/lib/esm/components/shared/fileUpload/UploadButton.d.ts +2 -2
  435. package/lib/esm/components/shared/fileUpload/UploadButton.d.ts.map +1 -1
  436. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -1
  437. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
  438. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +9 -9
  439. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts +2 -1
  440. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts.map +1 -1
  441. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
  442. package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
  443. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts +2 -1
  444. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
  445. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +4 -3
  446. package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts +2 -1
  447. package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts.map +1 -1
  448. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts +3 -2
  449. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
  450. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +15 -6
  451. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts +2 -1
  452. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts.map +1 -1
  453. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +3 -3
  454. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +23 -23
  455. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
  456. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +14 -8
  457. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +2 -2
  458. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
  459. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts +1 -1
  460. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts.map +1 -1
  461. package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
  462. package/lib/esm/components/shared/fileUpload/useFileUploader.js +2 -1
  463. package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts +2 -2
  464. package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
  465. package/lib/esm/components/shared/useIsSectionValid.d.ts +2 -1
  466. package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
  467. package/lib/esm/components/shared/useIsSectionValid.js +82 -23
  468. package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
  469. package/lib/esm/components/shared/usePostComment.js +4 -2
  470. package/lib/esm/components/shared/utils.d.ts +4 -1
  471. package/lib/esm/components/shared/utils.d.ts.map +1 -1
  472. package/lib/esm/components/shared/utils.js +17 -5
  473. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts +2 -1
  474. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
  475. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +9 -49
  476. package/lib/esm/components/wizardLayout/MainSection.d.ts +4 -1
  477. package/lib/esm/components/wizardLayout/MainSection.d.ts.map +1 -1
  478. package/lib/esm/components/wizardLayout/MainSection.js +28 -4
  479. package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts +4 -0
  480. package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts.map +1 -0
  481. package/lib/esm/components/wizardLayout/NewFeatureModal.js +38 -0
  482. package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts +3 -0
  483. package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts.map +1 -0
  484. package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.js +31 -0
  485. package/lib/esm/components/wizardLayout/WizardAside.d.ts +3 -2
  486. package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
  487. package/lib/esm/components/wizardLayout/WizardAside.js +19 -10
  488. package/lib/esm/components/wizardLayout/WizardLayout.d.ts +2 -1
  489. package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
  490. package/lib/esm/components/wizardLayout/WizardLayout.js +50 -47
  491. package/lib/esm/components/wizardLayout/WizardMain.d.ts +3 -2
  492. package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
  493. package/lib/esm/components/wizardLayout/WizardMain.js +31 -4
  494. package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +11 -3
  495. package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
  496. package/lib/esm/components/wizardLayout/WizardNavigation.js +137 -20
  497. package/lib/esm/components/wizardLayout/index.d.ts +2 -3
  498. package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
  499. package/lib/esm/components/wizardLayout/index.js +4 -11
  500. package/lib/esm/constants/caseDetailsConstants.d.ts +9 -3
  501. package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
  502. package/lib/esm/constants/caseDetailsConstants.js +9 -2
  503. package/lib/esm/context/CaseContext.d.ts +1 -1
  504. package/lib/esm/context/CaseContext.d.ts.map +1 -1
  505. package/lib/esm/context/CaseContext.js +1 -1
  506. package/lib/esm/context/CaseDetailsPageContext.d.ts +1 -1
  507. package/lib/esm/context/CaseDetailsPageContext.d.ts.map +1 -1
  508. package/lib/esm/context/CaseDiscussionTabContext.d.ts +1 -1
  509. package/lib/esm/context/CaseDiscussionTabContext.d.ts.map +1 -1
  510. package/lib/esm/context/CaseOverviewContext.d.ts +8 -0
  511. package/lib/esm/context/CaseOverviewContext.d.ts.map +1 -0
  512. package/lib/esm/context/CaseOverviewContext.js +10 -0
  513. package/lib/esm/context/ClusterRecommendationsContext.d.ts +1 -1
  514. package/lib/esm/context/ClusterRecommendationsContext.d.ts.map +1 -1
  515. package/lib/esm/context/RecommendationContext.d.ts +1 -1
  516. package/lib/esm/context/RecommendationContext.d.ts.map +1 -1
  517. package/lib/esm/context/RootTroubleshootProvider.d.ts +2 -1
  518. package/lib/esm/context/RootTroubleshootProvider.d.ts.map +1 -1
  519. package/lib/esm/context/RouteContext.d.ts +1 -1
  520. package/lib/esm/context/RouteContext.d.ts.map +1 -1
  521. package/lib/esm/context/RulesContext.d.ts +1 -1
  522. package/lib/esm/context/RulesContext.d.ts.map +1 -1
  523. package/lib/esm/context/SessionRestoreContext.d.ts +1 -1
  524. package/lib/esm/context/SessionRestoreContext.d.ts.map +1 -1
  525. package/lib/esm/context/TopContentContext.d.ts +1 -1
  526. package/lib/esm/context/TopContentContext.d.ts.map +1 -1
  527. package/lib/esm/css/app.css +43 -14
  528. package/lib/esm/css/case.css +4 -4
  529. package/lib/esm/css/productSelector.css +7 -3
  530. package/lib/esm/css/results.css +6 -0
  531. package/lib/esm/enums/cache.d.ts +2 -2
  532. package/lib/esm/enums/cache.d.ts.map +1 -1
  533. package/lib/esm/hooks/useFetchCVEData.d.ts +5 -0
  534. package/lib/esm/hooks/useFetchCVEData.d.ts.map +1 -0
  535. package/lib/esm/hooks/useFetchCVEData.js +138 -0
  536. package/lib/esm/hooks/useParseRuleMarkdown.d.ts.map +1 -1
  537. package/lib/esm/hooks/useParseRuleMarkdown.js +1 -1
  538. package/lib/esm/hooks/useS3Upload.js +2 -2
  539. package/lib/esm/hooks/useWizard.d.ts +10 -1
  540. package/lib/esm/hooks/useWizard.d.ts.map +1 -1
  541. package/lib/esm/hooks/useWizard.js +27 -15
  542. package/lib/esm/i18n/template-de.d.ts +52 -0
  543. package/lib/esm/i18n/template-de.d.ts.map +1 -1
  544. package/lib/esm/i18n/template-de.js +55 -0
  545. package/lib/esm/i18n/template-es.d.ts +51 -0
  546. package/lib/esm/i18n/template-es.d.ts.map +1 -1
  547. package/lib/esm/i18n/template-es.js +53 -0
  548. package/lib/esm/i18n/template-fr.d.ts +6 -0
  549. package/lib/esm/i18n/template-fr.d.ts.map +1 -1
  550. package/lib/esm/i18n/template-fr.js +6 -0
  551. package/lib/esm/i18n/template-it.d.ts +52 -0
  552. package/lib/esm/i18n/template-it.d.ts.map +1 -1
  553. package/lib/esm/i18n/template-it.js +54 -0
  554. package/lib/esm/i18n/template-jp.d.ts +9 -0
  555. package/lib/esm/i18n/template-jp.d.ts.map +1 -1
  556. package/lib/esm/i18n/template-jp.js +11 -2
  557. package/lib/esm/i18n/template-ko.d.ts +9 -0
  558. package/lib/esm/i18n/template-ko.d.ts.map +1 -1
  559. package/lib/esm/i18n/template-ko.js +10 -1
  560. package/lib/esm/i18n/template-pt.d.ts +50 -0
  561. package/lib/esm/i18n/template-pt.d.ts.map +1 -1
  562. package/lib/esm/i18n/template-pt.js +53 -0
  563. package/lib/esm/i18n/template-zh.d.ts +9 -0
  564. package/lib/esm/i18n/template-zh.d.ts.map +1 -1
  565. package/lib/esm/i18n/template-zh.js +9 -0
  566. package/lib/esm/index.d.ts +0 -1
  567. package/lib/esm/index.d.ts.map +1 -1
  568. package/lib/esm/index.js +0 -1
  569. package/lib/esm/models/caseCreationWorkflows.d.ts +27 -0
  570. package/lib/esm/models/caseCreationWorkflows.d.ts.map +1 -0
  571. package/lib/esm/models/caseCreationWorkflows.js +1 -0
  572. package/lib/esm/reducers/CaseConstNTypes.d.ts +42 -13
  573. package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
  574. package/lib/esm/reducers/CaseConstNTypes.js +62 -31
  575. package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +2 -2
  576. package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
  577. package/lib/esm/reducers/CaseDetailsPageReducer.js +1 -1
  578. package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +5 -4
  579. package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
  580. package/lib/esm/reducers/CaseDiscussionTabReducer.js +7 -3
  581. package/lib/esm/reducers/CaseHelpers.d.ts +1 -0
  582. package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
  583. package/lib/esm/reducers/CaseHelpers.js +21 -25
  584. package/lib/esm/reducers/CaseOverviewReducer.d.ts +3 -3
  585. package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
  586. package/lib/esm/reducers/CaseReducer.d.ts +5 -5
  587. package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
  588. package/lib/esm/reducers/CaseReducer.js +137 -70
  589. package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts +2 -2
  590. package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts.map +1 -1
  591. package/lib/esm/reducers/RecommendationsReducer.d.ts +6 -4
  592. package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
  593. package/lib/esm/reducers/RecommendationsReducer.js +12 -9
  594. package/lib/esm/reducers/RouteConstNTypes.d.ts +6 -2
  595. package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
  596. package/lib/esm/reducers/RouteConstNTypes.js +10 -5
  597. package/lib/esm/reducers/RouteReducer.d.ts +2 -2
  598. package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
  599. package/lib/esm/reducers/RulesReducer.d.ts +2 -2
  600. package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
  601. package/lib/esm/reducers/SessionRestoreReducer.d.ts +20 -16
  602. package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
  603. package/lib/esm/reducers/SessionRestoreReducer.js +80 -44
  604. package/lib/esm/reducers/TopContentReducer.d.ts +2 -2
  605. package/lib/esm/reducers/TopContentReducer.d.ts.map +1 -1
  606. package/lib/esm/scss/_main.scss +319 -51
  607. package/lib/esm/scss/_pf-overrides.scss +792 -0
  608. package/lib/esm/scss/index.scss +1 -7
  609. package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
  610. package/lib/esm/utils/caseUtils.d.ts +20 -0
  611. package/lib/esm/utils/caseUtils.d.ts.map +1 -0
  612. package/lib/esm/utils/caseUtils.js +58 -0
  613. package/lib/esm/utils/insightRuleInfoUtils.d.ts +4 -0
  614. package/lib/esm/utils/insightRuleInfoUtils.d.ts.map +1 -0
  615. package/lib/esm/utils/insightRuleInfoUtils.js +23 -0
  616. package/lib/esm/utils/routeUtils.d.ts +1 -1
  617. package/lib/esm/utils/routeUtils.d.ts.map +1 -1
  618. package/lib/esm/utils/routeUtils.js +2 -1
  619. package/package.json +54 -50
  620. package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts +0 -8
  621. package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts.map +0 -1
  622. package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.js +0 -10
  623. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts +0 -8
  624. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts.map +0 -1
  625. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +0 -22
  626. package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts +0 -5
  627. package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts.map +0 -1
  628. package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.js +0 -29
  629. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts +0 -9
  630. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map +0 -1
  631. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +0 -71
  632. package/lib/esm/components/CaseInformation/ProductNVersion.d.ts +0 -5
  633. package/lib/esm/components/CaseInformation/ProductNVersion.d.ts.map +0 -1
  634. package/lib/esm/components/CaseInformation/ProductNVersion.js +0 -20
  635. package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts +0 -7
  636. package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts.map +0 -1
  637. package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.js +0 -21
  638. package/lib/esm/components/Recommendations/ShowRank.d.ts +0 -12
  639. package/lib/esm/components/Recommendations/ShowRank.d.ts.map +0 -1
  640. package/lib/esm/components/Recommendations/ShowRank.js +0 -27
  641. package/lib/esm/hooks/useUserPreference.d.ts +0 -7
  642. package/lib/esm/hooks/useUserPreference.d.ts.map +0 -1
  643. package/lib/esm/hooks/useUserPreference.js +0 -36
  644. package/lib/esm/scss/_pf4-imports.scss +0 -30
  645. package/lib/esm/scss/_pf4-overrides.scss +0 -488
@@ -5,13 +5,13 @@ declare const defaultProps: {
5
5
  className: string;
6
6
  isPrivate: boolean;
7
7
  };
8
- declare type DefaultProps = typeof defaultProps;
8
+ type DefaultProps = typeof defaultProps;
9
9
  export interface IProps extends DefaultProps {
10
10
  uploadAnotherBtn?: boolean;
11
11
  onUploadAll: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
12
12
  isSessionId: boolean;
13
13
  }
14
- declare function FileUploadButton(props: IProps): JSX.Element;
14
+ declare function FileUploadButton(props: IProps): React.JSX.Element;
15
15
  declare namespace FileUploadButton {
16
16
  var defaultProps: {
17
17
  uploadBtnLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,QAAA,MAAM,YAAY;;;;;CAKjB,CAAC;AAEF,aAAK,YAAY,GAAG,OAAO,YAAY,CAAC;AAExC,MAAM,WAAW,MAAO,SAAQ,YAAY;IACxC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC9E,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,eAyCtC;kBAzCQ,gBAAgB;;;;;;;;AA4CzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"UploadButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/UploadButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,QAAA,MAAM,YAAY;;;;;CAKjB,CAAC;AAEF,KAAK,YAAY,GAAG,OAAO,YAAY,CAAC;AAExC,MAAM,WAAW,MAAO,SAAQ,YAAY;IACxC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC9E,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAyCtC;kBAzCQ,gBAAgB;;;;;;;;AA4CzB,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -7,7 +7,7 @@ interface IProps extends IFileUploaderCommonProps, IDClassNameProps {
7
7
  isPrivate: boolean;
8
8
  isIdea?: boolean;
9
9
  }
10
- declare function WidgetFileUploader(props: IProps): JSX.Element;
10
+ declare function WidgetFileUploader(props: IProps): React.JSX.Element;
11
11
  declare namespace WidgetFileUploader {
12
12
  var defaultProps: {};
13
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/WidgetFileUploader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AA0B/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAInD,UAAU,MAAO,SAAQ,wBAAwB,EAAE,gBAAgB;IAC/D,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,eA2OxC;kBA3OQ,kBAAkB;;;AA+O3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"WidgetFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/WidgetFileUploader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AA0B/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAInD,UAAU,MAAO,SAAQ,wBAAwB,EAAE,gBAAgB;IAC/D,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,qBA8OxC;kBA9OQ,kBAAkB;;;AAkP3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
@@ -147,19 +147,19 @@ function WidgetFileUploader(props) {
147
147
  }
148
148
  });
149
149
  return (React.createElement("div", { className: `card card-white card-support file-diag ${props.className || ''}`, onPaste: handlePaste },
150
- React.createElement("h3", { className: "card-heading" }, props.isIdea || props.isSecureSupport ? (React.createElement(Trans, null, "File uploader")) : (React.createElement(Trans, null, "Upload file to analyze"))),
150
+ React.createElement("h2", { className: "card-heading card-widget-file-upload-heading" }, props.isIdea || props.isSecureSupport ? (React.createElement(Trans, null, "File uploader")) : (React.createElement(Trans, null, "Upload a file for Red Hat to analyze"))),
151
151
  React.createElement("div", { className: "card-body" },
152
152
  React.createElement(WidgetFileSelector, { isSessionId: props.isSessionId, isPrivate: props.isPrivate, isIdea: props.isIdea, showFileExceed: fileExceedInfo }),
153
- !hasSomeSelectedFiles(selectedLocalFiles) ? ((!props.isIdea && props.helperText) || (React.createElement("p", { className: "pf-u-mt-sm" },
154
- !props.isIdea ? (React.createElement(Trans, { i18nKey: "i18nUploadSosReport" },
155
- "Upload a",
156
- ' ',
157
- React.createElement("a", { href: "/solutions/3592", target: "_blank" }, "sosreport"),
158
- "to help us provide the best solutions for your system.")) : (React.createElement("span", { className: "pf-u-font-family-redhatVF-heading-sans-serif pf-u-color-300" },
153
+ !hasSomeSelectedFiles(selectedLocalFiles) ? ((!props.isIdea && props.helperText) || (React.createElement("p", { className: "pf-v5-u-mt-sm" },
154
+ !props.isIdea ? (React.createElement(React.Fragment, null,
155
+ React.createElement(Trans, null, "To help us provide the right guidance, upload a sosreport."),
156
+ React.createElement("br", null),
157
+ React.createElement("a", { href: "/solutions/3592", target: "_blank" },
158
+ React.createElement(Trans, null, "How to create sosreport?")))) : (React.createElement("span", { className: "pf-v5-u-font-family-redhatVF-heading-sans-serif pf-v5-u-color-300" },
159
159
  React.createElement(Trans, null, "Allowed file types: png, gif, jpg, jpeg."))),
160
160
  ' '))) : (React.createElement(React.Fragment, null,
161
- unallowedLocalFileExists && (React.createElement(Alert, { variant: "danger", title: "File type is not allowed on this case type. Please remove file to proceed." })),
162
- React.createElement(FileLister, { selectedLocalFiles: attachmentState.caseFiles.selectedLocalFiles, onFileEdit: editFile, onFileRemove: removeFile, onRetry: retryUpload, onRetryAnalysis: retryAnalysis, isSessionId: props.isSessionId, showSlowUploadMsg: attachmentState.showUploadingOnSlowConnectionMsg }),
161
+ unallowedLocalFileExists && (React.createElement(Alert, { variant: "danger", title: t('File type is not allowed on this support type. Please remove file to proceed.') })),
162
+ React.createElement(FileLister, { selectedLocalFiles: attachmentState.caseFiles.selectedLocalFiles, onFileEdit: editFile, onFileRemove: removeFile, onRetry: retryUpload, onRetryAnalysis: retryAnalysis, isSessionId: props.isSessionId, showSlowUploadMsg: attachmentState.showUploadingOnSlowConnectionMsg, setfileExceedInfo: setfileExceedInfo }),
163
163
  hasUploadedSomeAttachments(selectedLocalFiles) && !props.isIdea && (React.createElement("p", null,
164
164
  React.createElement(Trans, null, "If you can't find a solution, all files are moved to your case."))))),
165
165
  React.createElement(FileUploadButton, { className: "file-buttons", onUploadAll: uploadAll, uploadAnotherBtn: false, isSessionId: props.isSessionId }),
@@ -1,2 +1,3 @@
1
- export declare function FileUploaderInfoIcon(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function FileUploaderInfoIcon(): React.JSX.Element;
2
3
  //# sourceMappingURL=FileUploaderInfoIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileUploaderInfoIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/common/FileUploaderInfoIcon.tsx"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB,gBA4BnC"}
1
+ {"version":3,"file":"FileUploaderInfoIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/common/FileUploaderInfoIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,oBAAoB,sBA4BnC"}
@@ -14,5 +14,5 @@ export function FileUploaderInfoIcon() {
14
14
  React.createElement("b", null, ".txt,.png,.jpg,.jpeg,.gif,.tar,.pdf")),
15
15
  React.createElement("p", null,
16
16
  React.createElement(Trans, null, "Learn about how analyzing files can save you time by providing targeted solutions for your system"))) },
17
- React.createElement(InfoCircleIcon, { className: "pf-u-ml-auto" })));
17
+ React.createElement(InfoCircleIcon, { className: "pf-v5-u-ml-auto" })));
18
18
  }
@@ -126,7 +126,7 @@ i.web-icon-check {
126
126
  .file-diag .file-diag-list.text-error,
127
127
  .file-diag-list .remove-file {
128
128
  margin-top: 0;
129
- color: var(--pf-global--danger-color--100);
129
+ color: var(--pf-v5-global--danger-color--100);
130
130
  }
131
131
 
132
132
  .file-diag .file-diag-list .remove-file {
@@ -3,7 +3,8 @@ interface IProps extends React.HTMLProps<HTMLButtonElement> {
3
3
  isSessionId: boolean;
4
4
  isPrivate?: boolean;
5
5
  buttonLabel?: string;
6
+ isDisabled?: boolean;
6
7
  }
7
- declare function FileSelectorButton({ isSessionId, id, className, buttonLabel, isPrivate, ...btnProps }: IProps): JSX.Element;
8
+ declare function FileSelectorButton({ isSessionId, id, className, buttonLabel, isPrivate, isDisabled, ...btnProps }: IProps): React.JSX.Element;
8
9
  export default FileSelectorButton;
9
10
  //# sourceMappingURL=FileSelectorButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FileSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/FileSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAO,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACvD,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,iBAAS,kBAAkB,CAAC,EACxB,WAAW,EACX,EAAO,EACP,SAA4B,EAC5B,WAA6B,EAC7B,SAAiB,EACjB,GAAG,QAAQ,EACd,EAAE,MAAM,eAkBR;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"FileSelectorButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/FileSelectorButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAO,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACvD,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,iBAAS,kBAAkB,CAAC,EACxB,WAAW,EACX,EAAO,EACP,SAA4B,EAC5B,WAA6B,EAC7B,SAAiB,EACjB,UAAkB,EAClB,GAAG,QAAQ,EACd,EAAE,MAAM,qBA8BR;AAED,eAAe,kBAAkB,CAAC"}
@@ -15,16 +15,17 @@ import { Trans } from 'react-i18next';
15
15
  import { onDrop } from '../reducer/AttachmentHelper';
16
16
  import { AttachmentDispatchContext } from '../reducer/AttachmentReducerContext';
17
17
  function FileSelectorButton(_a) {
18
- var { isSessionId, id = '', className = 'pf-m-secondary', buttonLabel = 'Upload a file', isPrivate = false } = _a, btnProps = __rest(_a, ["isSessionId", "id", "className", "buttonLabel", "isPrivate"]);
18
+ var { isSessionId, id = '', className = 'pf-m-secondary', buttonLabel = 'Upload a file', isPrivate = false, isDisabled = false } = _a, btnProps = __rest(_a, ["isSessionId", "id", "className", "buttonLabel", "isPrivate", "isDisabled"]);
19
19
  // Attachment Reducer Related
20
20
  const dispatchToAttachmentReducer = useContext(AttachmentDispatchContext);
21
21
  const { getRootProps, getInputProps } = useDropzone({
22
22
  onDrop: onDrop(dispatchToAttachmentReducer, isSessionId, isPrivate),
23
+ disabled: isDisabled,
23
24
  });
24
- return (React.createElement("span", Object.assign({ className: "upload-another-file", "data-tracking-id": "file-selector-btn-wrapper" }, getRootProps()),
25
+ return (React.createElement("span", Object.assign({ className: "upload-another-file", "data-tracking-id": "file-selector-btn-wrapper" }, getRootProps(), { tabIndex: -1 }),
25
26
  React.createElement("label", { className: "sr-only", htmlFor: "upload-btn" },
26
27
  React.createElement(Trans, null, "Upload new file")),
27
28
  React.createElement("input", Object.assign({ value: "", style: { display: 'none !important' }, id: `${id !== null && id !== void 0 ? id : 'upload-btn'}` }, getInputProps())),
28
- React.createElement("button", Object.assign({}, btnProps, { type: "button", className: `pf-c-button ${className}`, "data-tracking-id": "upload-a-file" }), buttonLabel)));
29
+ React.createElement("button", Object.assign({}, btnProps, { type: "button", className: `pf-v5-c-button ${className}`, "data-tracking-id": "upload-a-file", disabled: isDisabled }), buttonLabel)));
29
30
  }
30
31
  export default FileSelectorButton;
@@ -1,8 +1,9 @@
1
1
  import { IDClassNameProps } from '@rh-support/types/shared';
2
+ import React from 'react';
2
3
  interface IProps extends IDClassNameProps {
3
4
  isSessionId: boolean;
4
5
  isPrivate: boolean;
5
6
  }
6
- declare function InputFileSelector({ id, className, isSessionId, isPrivate }: IProps): JSX.Element;
7
+ declare function InputFileSelector({ id, className, isSessionId, isPrivate }: IProps): React.JSX.Element;
7
8
  export default InputFileSelector;
8
9
  //# sourceMappingURL=InputFileSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputFileSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/InputFileSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQ5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,iBAAiB,CAAC,EAAE,EAAO,EAAE,SAAc,EAAE,WAAW,EAAE,SAAiB,EAAE,EAAE,MAAM,eAwC7F;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"InputFileSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/InputFileSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAO,SAAQ,gBAAgB;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,iBAAiB,CAAC,EAAE,EAAO,EAAE,SAAc,EAAE,WAAW,EAAE,SAAiB,EAAE,EAAE,MAAM,qBAwC7F;AAED,eAAe,iBAAiB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { IDClassNameProps } from '@rh-support/types/shared';
2
- interface IProps extends IDClassNameProps {
2
+ import React from 'react';
3
+ export interface IWidgetFileSelectorProps extends IDClassNameProps {
3
4
  isSessionId: boolean;
4
5
  isPrivate: boolean;
5
6
  isIdea?: boolean;
@@ -8,6 +9,6 @@ interface IProps extends IDClassNameProps {
8
9
  fileName: string[];
9
10
  };
10
11
  }
11
- declare function WidgetFileSelector({ id, className, isSessionId, isPrivate, isIdea, showFileExceed, }: IProps): JSX.Element;
12
+ declare function WidgetFileSelector({ id, className, isSessionId, isPrivate, isIdea, showFileExceed, }: IWidgetFileSelectorProps): React.JSX.Element;
12
13
  export default WidgetFileSelector;
13
14
  //# sourceMappingURL=WidgetFileSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetFileSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/WidgetFileSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAS5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE;QACb,IAAI,EAAE,OAAO,CAAC;QACd,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;CACL;AAED,iBAAS,kBAAkB,CAAC,EACxB,EAAO,EACP,SAAc,EACd,WAAW,EACX,SAAiB,EACjB,MAAc,EACd,cAA8C,GACjD,EAAE,MAAM,eAuER;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"WidgetFileSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/WidgetFileSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAS1C,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAC9D,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE;QACb,IAAI,EAAE,OAAO,CAAC;QACd,QAAQ,EAAE,MAAM,EAAE,CAAC;KACtB,CAAC;CACL;AAED,iBAAS,kBAAkB,CAAC,EACxB,EAAO,EACP,SAAc,EACd,WAAW,EACX,SAAiB,EACjB,MAAc,EACd,cAA8C,GACjD,EAAE,wBAAwB,qBAsF1B;AAED,eAAe,kBAAkB,CAAC"}
@@ -1,11 +1,18 @@
1
- import { humanizeSize } from '@rh-support/utils';
1
+ import { dtmTrackEventUploadFileToAnalyze, humanizeSize } from '@rh-support/utils';
2
+ import isEqual from 'lodash/isEqual';
2
3
  import React, { useContext } from 'react';
3
4
  import { useDropzone } from 'react-dropzone';
4
5
  import { Trans, useTranslation } from 'react-i18next';
6
+ import { useCaseSelector } from '../../../../context/CaseContext';
7
+ import { RouteContext } from '../../../../context/RouteContext';
5
8
  import { onDrop } from '../reducer/AttachmentHelper';
6
9
  import { AttachmentDispatchContext } from '../reducer/AttachmentReducerContext';
7
10
  function WidgetFileSelector({ id = '', className = '', isSessionId, isPrivate = false, isIdea = false, showFileExceed = { show: false, fileName: [] }, }) {
8
11
  const { t } = useTranslation();
12
+ const { caseDetails } = useCaseSelector((state) => ({
13
+ caseDetails: state.caseDetails,
14
+ }), isEqual);
15
+ const { routeState: { activeSection, isCaseCreate }, } = useContext(RouteContext);
9
16
  const MAX_SIZE = isIdea ? 5242880 : undefined;
10
17
  // Attachment Reducer Related
11
18
  const dispatchToAttachmentReducer = useContext(AttachmentDispatchContext);
@@ -23,27 +30,29 @@ function WidgetFileSelector({ id = '', className = '', isSessionId, isPrivate =
23
30
  // react-dropzone doesn't get triggered. So we need to manually clear the input value
24
31
  // so that user can attach the same file twice
25
32
  inputRef.current.value = null;
33
+ // Call a dtm track even whenever the file uploader is clicked
34
+ dtmTrackEventUploadFileToAnalyze(isCaseCreate, activeSection, caseDetails.caseType, caseDetails.product, caseDetails.version);
26
35
  };
27
36
  return (React.createElement(React.Fragment, null,
28
37
  React.createElement("label", Object.assign({ className: "file-diag-dragndrop", htmlFor: "file-diag-selector" }, getRootProps({ onClick: onLabelClick }), { "data-tracking-id": "file-selector-widget-main" }),
29
38
  React.createElement("input", Object.assign({ id: "file-diag-selector" }, getInputProps())),
30
- isDragActive ? (t(`Drop your file here...`)) : (React.createElement(Trans, null, "Drag and drop, paste, or browse to upload a file")),
31
- isIdea && (React.createElement("div", { className: "pf-u-text-align-center pf-u-color-300 pf-u-font-weight-normal" },
39
+ isDragActive ? t(`Drop your file here...`) : React.createElement(Trans, null, "Drag and drop, or browse to upload a file"),
40
+ isIdea && (React.createElement("div", { className: "pf-v5-u-text-align-center pf-v5-u-color-300 pf-v5-u-font-weight-normal" },
32
41
  React.createElement(Trans, null, "Files must be less than 5 MB.")))),
33
- isIdea && (React.createElement("p", { className: "pf-u-danger-color-200" },
42
+ isIdea && (React.createElement("p", { className: "pf-v5-u-danger-color-200" },
34
43
  rejectedFiles.map((rejectedFile) => {
35
44
  const isImage = /image\/(png|gif|jpe?g)/.test(rejectedFile.type);
36
45
  return !isImage ? (React.createElement("div", null,
37
46
  rejectedFile.name,
38
47
  " ",
39
- React.createElement(Trans, null, "is not an allowed file type or an image "))) : showFileExceed ? (React.createElement("div", null,
48
+ React.createElement(Trans, null, "is not an allowed file type or an image "))) : showFileExceed.show ? (React.createElement("div", null,
40
49
  rejectedFile.name,
41
50
  " ",
42
51
  React.createElement(Trans, null, "exceeded max size limit of"),
43
52
  " ",
44
53
  humanizeSize(MAX_SIZE))) : ('');
45
54
  }),
46
- showFileExceed &&
55
+ showFileExceed.show &&
47
56
  showFileExceed.fileName.map((exceededFiles) => (React.createElement("div", null,
48
57
  exceededFiles,
49
58
  " ",
@@ -1,8 +1,9 @@
1
1
  import { IDClassNameProps } from '@rh-support/types/shared';
2
+ import React from 'react';
2
3
  interface IProps extends IDClassNameProps {
3
4
  isSessionId: boolean;
4
5
  isPrivate: boolean;
5
6
  }
6
- declare function WidgetFileSelectorImage({ id, className, isSessionId, isPrivate }: IProps): JSX.Element;
7
+ declare function WidgetFileSelectorImage({ id, className, isSessionId, isPrivate }: IProps): React.JSX.Element;
7
8
  export default WidgetFileSelectorImage;
8
9
  //# sourceMappingURL=WidgetFileSelectorImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetFileSelectorImage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAS5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,uBAAuB,CAAC,EAAE,EAAO,EAAE,SAAc,EAAE,WAAW,EAAE,SAAiB,EAAE,EAAE,MAAM,eA4DnG;AAED,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"WidgetFileSelectorImage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAO,SAAQ,gBAAgB;IACrC,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,uBAAuB,CAAC,EAAE,EAAO,EAAE,SAAc,EAAE,WAAW,EAAE,SAAiB,EAAE,EAAE,MAAM,qBAwDnG;AAED,eAAe,uBAAuB,CAAC"}
@@ -26,11 +26,11 @@ function WidgetFileSelectorImage({ id = '', className = '', isSessionId, isPriva
26
26
  return (React.createElement(React.Fragment, null,
27
27
  React.createElement("label", Object.assign({ className: "file-diag-dragndrop", htmlFor: "file-diag-selector" }, getRootProps({ onClick: onLabelClick }), { "data-tracking-id": "file-selector-widget-main" }),
28
28
  React.createElement("input", Object.assign({ id: "file-diag-selector" }, getInputProps())),
29
- isDragActive ? (t(`Drop your file here...`)) : (React.createElement(Trans, null, "Drag and drop, paste, or browse to upload a file")),
30
- React.createElement("div", { className: "pf-u-text-align-center pf-u-color-300 pf-u-font-weight-normal" },
29
+ isDragActive ? t(`Drop your file here...`) : React.createElement(Trans, null, "Drag and drop, or browse to upload a file"),
30
+ React.createElement("div", { className: "pf-v5-u-text-align-center pf-v5-u-color-300 pf-v5-u-font-weight-normal" },
31
31
  React.createElement(Trans, null, "Files must be less than 5 MB."))),
32
32
  ' ',
33
- React.createElement("p", { className: "pf-u-danger-color-200" }, rejectedFiles.map((rejectedFile) => {
33
+ React.createElement("p", { className: "pf-v5-u-danger-color-200" }, rejectedFiles.map((rejectedFile) => {
34
34
  const isImage = /image\/(png|gif|jpe?g)/.test(rejectedFile.type);
35
35
  return !isImage ? (React.createElement("div", null,
36
36
  rejectedFile.name,
@@ -1,28 +1,28 @@
1
1
  import { CaseDiagnosticsStatus } from '@cee-eng/hydrajs/@types/api/pcm/preCaseDiagnostics';
2
2
  import { ISlowUploadDetectionConfig } from '@cee-eng/hydrajs/@types/models/attachment';
3
- import { AttachmentReducerDispatchType, IAnalysisResults, ICaseFiles, IFileLocal, IUploadMetadata } from './AttachmentReducer';
3
+ import { AnalysisStatusConstants, AttachmentReducerDispatchType, IAnalysisResults, ICaseFiles, IFileLocal, IUploadMetadata, UploadStatusConstants } from './AttachmentReducer';
4
4
  export declare const onDrop: (dispatchToAttachmentReducer: AttachmentReducerDispatchType, isSessionId: boolean, isPrivate?: boolean) => (acceptedFiles: File[]) => void;
5
- export declare const isUploadingOnSession: (status: string) => boolean;
6
- export declare const isUploadingOnCase: (status: string) => boolean;
7
- export declare const isVerifyingSessionUpload: (status: string) => boolean;
8
- export declare const isVerifyingCaseUpload: (status: string) => boolean;
9
- export declare const isRestoredFromSession: (status: string) => boolean;
10
- export declare const isSessionUploadComplete: (status: string) => boolean;
11
- export declare const isCaseUploadComplete: (status: string) => boolean;
12
- export declare const isSessionUploadFailed: (status: string) => boolean;
13
- export declare const isCaseUploadFailed: (status: string) => boolean;
14
- export declare const isMovingToCase: (status: string) => boolean;
15
- export declare const isAnalysisNotStarted: (status: string) => boolean;
16
- export declare const isAnalysingFile: (status: string) => boolean;
17
- export declare const isAnalysisComplete: (status: string) => boolean;
18
- export declare const isAnalysisFailed: (status: string) => boolean;
19
- export declare const isAnalysisSkipped: (status: string) => boolean;
20
- export declare const isVerifyingUpload: (status: string) => boolean;
21
- export declare const isUploading: (status: string) => boolean;
22
- export declare const isUploadComplete: (status: string) => boolean;
23
- export declare const isUploadFailed: (status: string) => boolean;
24
- export declare const isUploadAborted: (status: string) => boolean;
25
- export declare const isFileDeleted: (status: string) => boolean;
5
+ export declare const isUploadingOnSession: (status: string) => status is UploadStatusConstants.uploadingOnSession;
6
+ export declare const isUploadingOnCase: (status: string) => status is UploadStatusConstants.uploadingOnCase;
7
+ export declare const isVerifyingSessionUpload: (status: string) => status is UploadStatusConstants.verifyingSessionUpload;
8
+ export declare const isVerifyingCaseUpload: (status: string) => status is UploadStatusConstants.verifyingCaseUpload;
9
+ export declare const isRestoredFromSession: (status: string) => status is UploadStatusConstants.restoredFromSession;
10
+ export declare const isSessionUploadComplete: (status: string) => status is UploadStatusConstants.uploadedOnSession | UploadStatusConstants.restoredFromSession;
11
+ export declare const isCaseUploadComplete: (status: string) => status is UploadStatusConstants.uploadedOnCase;
12
+ export declare const isSessionUploadFailed: (status: string) => status is UploadStatusConstants.uploadOnSessionFailed;
13
+ export declare const isCaseUploadFailed: (status: string) => status is UploadStatusConstants.uploadOnCaseFailed;
14
+ export declare const isMovingToCase: (status: string) => status is UploadStatusConstants.movingToCase;
15
+ export declare const isAnalysisNotStarted: (status: string) => status is AnalysisStatusConstants.analysisNotStarted;
16
+ export declare const isAnalysingFile: (status: string) => status is AnalysisStatusConstants.analysisInProgess;
17
+ export declare const isAnalysisComplete: (status: string) => status is AnalysisStatusConstants.analysisComplete;
18
+ export declare const isAnalysisFailed: (status: string) => status is AnalysisStatusConstants.analysisFailed;
19
+ export declare const isAnalysisSkipped: (status: string) => status is AnalysisStatusConstants.analysisSkipped;
20
+ export declare const isVerifyingUpload: (status: string) => status is UploadStatusConstants.verifyingCaseUpload | UploadStatusConstants.verifyingSessionUpload;
21
+ export declare const isUploading: (status: string) => status is UploadStatusConstants.uploadingOnCase | UploadStatusConstants.uploadingOnSession | UploadStatusConstants.verifyingCaseUpload | UploadStatusConstants.verifyingSessionUpload | UploadStatusConstants.movingToCase;
22
+ export declare const isUploadComplete: (status: string) => status is UploadStatusConstants.uploadedOnCase | UploadStatusConstants.uploadedOnSession | UploadStatusConstants.restoredFromSession;
23
+ export declare const isUploadFailed: (status: string) => status is UploadStatusConstants.uploadOnCaseFailed | UploadStatusConstants.uploadOnSessionFailed;
24
+ export declare const isUploadAborted: (status: string) => status is UploadStatusConstants.aborted;
25
+ export declare const isFileDeleted: (status: string) => status is UploadStatusConstants.deleted;
26
26
  export declare const hasUploadedSomeAttachments: (selectedLocalFiles: IFileLocal[]) => boolean;
27
27
  export declare const hasAnalysedSomeAttachments: (selectedLocalFiles: IFileLocal[]) => boolean;
28
28
  export declare const hasSomeUnUploadedAttachments: (selectedLocalFiles: IFileLocal[]) => boolean;
@@ -58,7 +58,7 @@ export declare const uploadFile: ({ dispatch, idToUploadTo, localFile, originalF
58
58
  slowUploadConfig?: ISlowUploadDetectionConfig;
59
59
  }) => Promise<void>;
60
60
  export declare function doSosReportAnalysisForAllFiles(dispatch: any, idToUploadTo: string, localFiles: IFileLocal[], isSessionId: boolean): Promise<void>;
61
- export declare function doSosReportAnalysisForFile(dispatch: any, idToUploadTo: string, attachmentId: string, localFile: IFileLocal, isSessionId: boolean, fileIndex: number): Promise<void>;
61
+ export declare function doSosReportAnalysisForFile(dispatch: any, idToUploadTo: string, attachmentId: string, localFile: IFileLocal, isSessionId: boolean, fileIndex: number, fileUploadStatus?: UploadStatusConstants): Promise<void>;
62
62
  export declare function computeAnalysisResults(idToUploadTo: string, attachmentId: string, fileSize: number, isSessionId: boolean, listener: (status: CaseDiagnosticsStatus) => void): Promise<IAnalysisResults>;
63
63
  export declare function moveSessionAttachmentToCase(dispatch: any, caseNumber: string, sessionId: string, localFile: IFileLocal, fileIndex: number): Promise<void>;
64
64
  export declare function restoreFilesFromSession(dispatch: any, sessionId: string): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentHelper.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OAAO;uBACF,0BAA0B;mBAgIhD,CAAC;AAEF,wBAAsB,8BAA8B,CAChD,QAAQ,KAAA,EACR,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,UAAU,EAAE,EACxB,WAAW,EAAE,OAAO,iBAMvB;AAED,wBAAsB,0BAA0B,CAC5C,QAAQ,KAAA,EACR,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,UAAU,EACrB,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,MAAM,iBA0DpB;AAED,wBAAsB,sBAAsB,CACxC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,GAClD,OAAO,CAAC,gBAAgB,CAAC,CAwB3B;AAED,wBAAsB,2BAA2B,CAC7C,QAAQ,KAAA,EACR,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,UAAU,EACrB,SAAS,EAAE,MAAM,iBA6BpB;AAED,wBAAsB,uBAAuB,CAAC,QAAQ,KAAA,EAAE,SAAS,EAAE,MAAM,iBA0CxE;AAED,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,UAAU,EAAE,WAEvE;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,WAKzD;AAED,eAAO,MAAM,uBAAuB,eAAgB,UAAU,KAAG,OAShE,CAAC;AAKF,eAAO,MAAM,2BAA2B,UAOvC,CAAC;AAEF,eAAO,MAAM,8BAA8B,uBAAwB,UAAU,EAAE,YAE9E,CAAC;AAEF,eAAO,MAAM,eAAe,yBAU3B,CAAC"}
1
+ {"version":3,"file":"AttachmentHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentHelper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,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BAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,WAKzD;AAED,eAAO,MAAM,uBAAuB,eAAgB,UAAU,KAAG,OAShE,CAAC;AAKF,eAAO,MAAM,2BAA2B,UAOvC,CAAC;AAEF,eAAO,MAAM,8BAA8B,uBAAwB,UAAU,EAAE,YAE9E,CAAC;AAEF,eAAO,MAAM,eAAe,yBAU3B,CAAC"}
@@ -14,6 +14,7 @@ import find from 'lodash/find';
14
14
  import forEach from 'lodash/forEach';
15
15
  import includes from 'lodash/includes';
16
16
  import isEmpty from 'lodash/isEmpty';
17
+ import isUndefined from 'lodash/isUndefined';
17
18
  import { AnalysisStatusConstants, AttachmentReducerConstants, defaultAnalysisMetadata, defaultUploadMetadata, onFilesSelect, resetAttachment, udpateFileUploadMetadata, updateAnalysisMetadata, updateAttachmentIdForFile, UploadStatusConstants, } from './AttachmentReducer';
18
19
  import { FileStatusHelper } from './FileStatusHelper';
19
20
  export const onDrop = (dispatchToAttachmentReducer, isSessionId, isPrivate = false) => (acceptedFiles) => {
@@ -109,7 +110,7 @@ export const isUploadedAndAnalysisSkipped = (file) => isSessionUploadComplete(fi
109
110
  export const updateUploadMetadata = (dispatch, fileIndexToEdit, newUploadMetadata) => {
110
111
  udpateFileUploadMetadata(dispatch, newUploadMetadata, fileIndexToEdit);
111
112
  };
112
- export const uploadAllFiles = ({ dispatch, idToUploadTo, caseFiles, isSecureSupport, needsAnalyzing = false, isSessionId = false, slowUploadConfig = {}, }) => __awaiter(void 0, void 0, void 0, function* () {
113
+ export const uploadAllFiles = (_a) => __awaiter(void 0, [_a], void 0, function* ({ dispatch, idToUploadTo, caseFiles, isSecureSupport, needsAnalyzing = false, isSessionId = false, slowUploadConfig = {}, }) {
113
114
  forEach(caseFiles.selectedLocalFiles, (localFile, index) => __awaiter(void 0, void 0, void 0, function* () {
114
115
  const fileStatus = new FileStatusHelper(localFile);
115
116
  if (fileStatus.isUploadComplete() ||
@@ -132,7 +133,7 @@ export const uploadAllFiles = ({ dispatch, idToUploadTo, caseFiles, isSecureSupp
132
133
  });
133
134
  }));
134
135
  });
135
- export const uploadFile = ({ dispatch, idToUploadTo, localFile, originalFile, index, isSecureSupport, needsAnalyzing = false, isSessionId = false, slowUploadConfig = {}, }) => __awaiter(void 0, void 0, void 0, function* () {
136
+ export const uploadFile = (_a) => __awaiter(void 0, [_a], void 0, function* ({ dispatch, idToUploadTo, localFile, originalFile, index, isSecureSupport, needsAnalyzing = false, isSessionId = false, slowUploadConfig = {}, }) {
136
137
  if (!localFile.uploadability.ableToUpload) {
137
138
  return;
138
139
  }
@@ -144,7 +145,7 @@ export const uploadFile = ({ dispatch, idToUploadTo, localFile, originalFile, in
144
145
  // For Metadata you must add x-amz-meta
145
146
  // only add x-amz-meta if the value is present else the aws throws signature invalid errors
146
147
  const putObjectRequest = {
147
- Body: originalFile,
148
+ Body: originalFile, // use the original file for upload
148
149
  ContentLength: localFile.size,
149
150
  Metadata: Object.assign(Object.assign(Object.assign(Object.assign({}, (localFile.description && { 'x-amz-meta-description': localFile.description })), (localFile.name && { 'x-amz-meta-fileName': localFile.name })), (localFile.size && { 'x-amz-meta-byteLength': localFile.size.toString() })), (localFile.type && { 'x-amz-meta-content-type': localFile.type })),
150
151
  };
@@ -209,6 +210,7 @@ export const uploadFile = ({ dispatch, idToUploadTo, localFile, originalFile, in
209
210
  size: localFile.size,
210
211
  }, putObjectRequest, listener, true, { partSize: 5 * 1024 * 1024, queueSize: 5 }, isSecureSupport, Object.assign(Object.assign({}, slowUploadConfig), { preferSlowS3Upload: Config.userConfig.preferSlowS3Upload }));
211
212
  }
213
+ attachmentId && updateAttachmentIdForFile(dispatch, attachmentId, index);
212
214
  const uploadPayload = {
213
215
  uploadStatus: isSessionId ? UploadStatusConstants.uploadedOnSession : UploadStatusConstants.uploadedOnCase,
214
216
  uploadErrorMessage: '',
@@ -216,9 +218,9 @@ export const uploadFile = ({ dispatch, idToUploadTo, localFile, originalFile, in
216
218
  onAbort: undefined,
217
219
  };
218
220
  updateUploadMetadata(dispatch, index, uploadPayload);
219
- attachmentId && updateAttachmentIdForFile(dispatch, attachmentId, index);
221
+ const localFileUploadStatus = uploadPayload.uploadStatus;
220
222
  if (isSessionId && needsAnalyzing) {
221
- doSosReportAnalysisForFile(dispatch, idToUploadTo, attachmentId, localFile, isSessionId, index);
223
+ doSosReportAnalysisForFile(dispatch, idToUploadTo, attachmentId, localFile, isSessionId, index, localFileUploadStatus);
222
224
  }
223
225
  }
224
226
  catch (error) {
@@ -249,12 +251,15 @@ export function doSosReportAnalysisForAllFiles(dispatch, idToUploadTo, localFile
249
251
  }));
250
252
  });
251
253
  }
252
- export function doSosReportAnalysisForFile(dispatch, idToUploadTo, attachmentId, localFile, isSessionId, fileIndex) {
254
+ export function doSosReportAnalysisForFile(dispatch, idToUploadTo, attachmentId, localFile, isSessionId, fileIndex, fileUploadStatus) {
253
255
  return __awaiter(this, void 0, void 0, function* () {
256
+ const localFileUploadStatus = !isUndefined(fileUploadStatus)
257
+ ? fileUploadStatus
258
+ : localFile.uploadProgress.uploadStatus;
254
259
  if (isAnalysisComplete(localFile.analysisMetadata.analysisStatus) ||
255
260
  !attachmentId ||
256
261
  !idToUploadTo ||
257
- !isUploadComplete(localFile.uploadProgress.uploadStatus))
262
+ !isUploadComplete(localFileUploadStatus))
258
263
  return;
259
264
  if (!isDiagnosticsAttachment(localFile)) {
260
265
  updateAnalysisMetadata(dispatch, {
@@ -287,8 +292,8 @@ export function doSosReportAnalysisForFile(dispatch, idToUploadTo, attachmentId,
287
292
  });
288
293
  }
289
294
  export function computeAnalysisResults(idToUploadTo, attachmentId, fileSize, isSessionId, listener) {
290
- var _a, _b, _c, _d;
291
295
  return __awaiter(this, void 0, void 0, function* () {
296
+ var _a, _b, _c, _d;
292
297
  const diagRes = yield pcm.preCase.diag.getDiagnosticsResultForFile({
293
298
  idToUploadTo,
294
299
  attachmentId,
@@ -388,6 +393,7 @@ export function restoreFilesFromSession(dispatch, sessionId) {
388
393
  stream: null,
389
394
  text: null,
390
395
  };
396
+ // @ts-ignore
391
397
  onFilesSelect(dispatch, { selectedLocalFiles: [localFile], selectedOriginalFiles: [orginalFileMock] });
392
398
  });
393
399
  });
@@ -95,8 +95,8 @@ export interface IAttachmentPayloadType extends IAttachemntState {
95
95
  analysisMetadata: Partial<IAnalysisMetadata>;
96
96
  uploadProgress: Partial<IUploadMetadata>;
97
97
  }
98
- declare type IActionType = IAction<AttachmentReducerConstants, IAttachmentPayloadType>;
99
- export declare type AttachmentReducerDispatchType = (value: IActionType) => void;
98
+ type IActionType = IAction<AttachmentReducerConstants, IAttachmentPayloadType>;
99
+ export type AttachmentReducerDispatchType = (value: IActionType) => void;
100
100
  export declare const attachmentReducer: (pState: IAttachemntState, action: IActionType) => IAttachemntState;
101
101
  export declare const onFilesSelect: (dispatch: AttachmentReducerDispatchType, caseFiles: ICaseFiles) => void;
102
102
  export declare const onFileEdit: (dispatch: AttachmentReducerDispatchType, editedLocalFile: IFileLocal, fileIndexToEdit: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentReducer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AACrH,OAAO,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,oBAAY,0BAA0B;IAClC,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;IACrD,mCAAmC,wCAAwC;CAC9E;AAED,oBAAY,qBAAqB;IAC7B,cAAc,qBAAqB;IACnC,iBAAiB,wBAAwB;IACzC,eAAe,sBAAsB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AAU,mBACV,MAAM,SAG1B,CAAC;AACF,eAAO,MAAM,YAAY,aAAc,6BAA6B,qBAAqB,MAAM,SAE9F,CAAC;AACF,eAAO,MAAM,eAAe,aAAc,6BAA6B,SAEtE,CAAC;AACF,eAAO,MAAM,uBAAuB,aAAc,6BAA6B,kBAAkB,OAAO,SAEvG,CAAC;AAEF,eAAO,MAAM,yBAAyB,aACxB,6BAA6B,gBACzB,MAAM,mBACH,MAAM,SAM1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,aACrB,6BAA6B,oBACrB,QAAQ,iBAAiB,CAAC,mBAC3B,MAAM,SAM1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,aACvB,6BAA6B,kBACvB,QAAQ,eAAe,CAAC,mBACvB,MAAM,SAM1B,CAAC"}
1
+ {"version":3,"file":"AttachmentReducer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AACrH,OAAO,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,oBAAY,0BAA0B;IAClC,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,yBAAyB,8BAA8B;IACvD,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;IACrD,mCAAmC,wCAAwC;CAC9E;AAED,oBAAY,qBAAqB;IAC7B,cAAc,qBAAqB;IACnC,iBAAiB,wBAAwB;IACzC,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,mBAAmB,0BAA0B;IAC7C,sBAAsB,6BAA6B;IACnD,cAAc,qBAAqB;IACnC,iBAAiB,wBAAwB;IACzC,kBAAkB,0BAA0B;IAC5C,qBAAqB,6B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AC;AACF,eAAO,MAAM,uBAAuB,aAAc,6BAA6B,kBAAkB,OAAO,SAEvG,CAAC;AAEF,eAAO,MAAM,yBAAyB,aACxB,6BAA6B,gBACzB,MAAM,mBACH,MAAM,SAM1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,aACrB,6BAA6B,oBACrB,OAAO,CAAC,iBAAiB,CAAC,mBAC3B,MAAM,SAM1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,aACvB,6BAA6B,kBACvB,OAAO,CAAC,eAAe,CAAC,mBACvB,MAAM,SAM1B,CAAC"}
@@ -7,5 +7,5 @@ export declare const AttachmentStateContext: React.Context<IAttachmentStateConte
7
7
  export declare const AttachmentDispatchContext: React.Context<AttachmentReducerDispatchType>;
8
8
  export declare function AttachmentContextProvider({ children }: {
9
9
  children: any;
10
- }): JSX.Element;
10
+ }): React.JSX.Element;
11
11
  //# sourceMappingURL=AttachmentReducerContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentReducerContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentReducerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAEH,6BAA6B,EAC7B,gBAAgB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,uBAAuB;IACpC,eAAe,EAAE,gBAAgB,CAAC;CACrC;AAMD,eAAO,MAAM,sBAAsB,wCAA2C,CAAC;AAC/E,eAAO,MAAM,yBAAyB,8CAA6C,CAAC;AAEpF,wBAAgB,yBAAyB,CAAC,EAAE,QAAQ,EAAE;;CAAA,eAOrD"}
1
+ {"version":3,"file":"AttachmentReducerContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/fileUpload/reducer/AttachmentReducerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAEH,6BAA6B,EAC7B,gBAAgB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,uBAAuB;IACpC,eAAe,EAAE,gBAAgB,CAAC;CACrC;AAMD,eAAO,MAAM,sBAAsB,wCAA2C,CAAC;AAC/E,eAAO,MAAM,yBAAyB,8CAA6C,CAAC;AAEpF,wBAAgB,yBAAyB,CAAC,EAAE,QAAQ,EAAE;;CAAA,qBAOrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/useFileUploader.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA8D,MAAM,OAAO,CAAC;AAenF,OAAO,EAAE,UAAU,EAAmD,MAAM,6BAA6B,CAAC;AAE1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,eAAe,CAAC,KAAK,EAAE,wBAAwB;gCA8DvB,MAAM;gCAYM,UAAU,mBAAmB,MAAM,WAAW,UAAU;oCAOpD,MAAM,QAAQ,UAAU;wBAczC,gBAAgB,CAAC,iBAAiB,EAAE,UAAU,CAAC;4BA2BjD,MAAM;kCAvDA,MAAM;EA6EhD"}
1
+ {"version":3,"file":"useFileUploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/fileUpload/useFileUploader.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA8D,MAAM,OAAO,CAAC;AAenF,OAAO,EAAE,UAAU,EAAmD,MAAM,6BAA6B,CAAC;AAE1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,eAAe,CAAC,KAAK,EAAE,wBAAwB;gCA8DvB,MAAM;gCAYM,UAAU,mBAAmB,MAAM,WAAW,UAAU;oCAOpD,MAAM,QAAQ,UAAU;wBAczC,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC;4BA4BjD,MAAM;kCAxDA,MAAM;EA8EhD"}
@@ -26,7 +26,7 @@ export function useFileUploader(props) {
26
26
  const { request: deleteSessionAttachment } = useFetch(sessionAttachments.deleteSesionAttachment);
27
27
  const { request: deleteCaseAttachment } = useFetch(caseAttachments.deleteAttachment);
28
28
  const { idToUploadTo, needsAnalyzing, isSecureSupport, isSessionId, autoUploadOnSelect, onUploadClick } = props;
29
- const { globalMetadataState: { pcmConfig, referrerUrl }, } = useContext(GlobalMetadataStateContext);
29
+ const { globalMetadataState: { pcmConfig, referrerUrl, loggedInUserRights }, } = useContext(GlobalMetadataStateContext);
30
30
  const { sessionRestore } = useContext(SessionRestoreStateContext);
31
31
  const sessionRestoreDispatch = useContext(SessionRestoreDispatchContext);
32
32
  const checkForS3SlowUploads = getConfigField(pcmConfig.data, 'checkForS3SlowUploads', PCM_CONFIG_FIELD_TYPE.FEATURE_FLAG);
@@ -99,6 +99,7 @@ export function useFileUploader(props) {
99
99
  userAgent,
100
100
  originatingSystem: userAgent,
101
101
  referrerUrl: referrerUrl.substring(0, SESSION_REFERRER_URL_LIMIT),
102
+ isInternal: loggedInUserRights.data.isInternal(),
102
103
  };
103
104
  if (!sessionRestore.sessionCreationStatus.isCreating && !sessionRestore.sessionCreationStatus.isError) {
104
105
  sessionId = yield createSession(sessionRestoreDispatch, getSessionDetailsFromCase({}, []), session);
@@ -41,7 +41,7 @@ export declare class ContactSelectorInternal extends React.Component<IProps, ISt
41
41
  onChange: (contacts: IContact[]) => Promise<void>;
42
42
  onFocus: (event: Event) => void;
43
43
  handleSearch: (query: string | number) => Promise<void>;
44
- renderMenuItemChildren: (option: IContact, p: any) => JSX.Element;
45
- render(): JSX.Element;
44
+ renderMenuItemChildren: (option: IContact, p: any) => React.JSX.Element;
45
+ render(): React.JSX.Element;
46
46
  }
47
47
  //# sourceMappingURL=ContactSelectorInternal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContactSelectorInternal.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/input/ContactSelectorInternal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE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,MAAM;CAgCT"}
@@ -1,8 +1,9 @@
1
+ import React from 'react';
1
2
  import { AppRouteSections } from '../../reducers/RouteConstNTypes';
2
3
  export declare function useIsSectionValid(sectionName: AppRouteSections): {
3
4
  isSectionValid: boolean;
4
5
  isSectionValidFn: (sectionNameLocal: any) => boolean;
5
6
  isActiveSectionValid: boolean;
6
- activeSectionError: string | JSX.Element;
7
+ activeSectionError: string | React.JSX.Element;
7
8
  };
8
9
  //# sourceMappingURL=useIsSectionValid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EAiM9D"}
1
+ {"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAuB1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAKnE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EA2Q9D"}