@rh-support/troubleshoot 2.4.10-beta.7 → 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.
- package/README.md +1 -4
- package/lib/esm/components/AccountInfo/AccountSelector.d.ts +2 -1
- package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/AccountSelector.js +7 -7
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts +2 -1
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +36 -11
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts +2 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.js +10 -124
- package/lib/esm/components/AccountInfo/css/accountSelector.css +6 -0
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +5 -5
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +23 -20
- package/lib/esm/components/CaseEditView/Case.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +8 -8
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +22 -16
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsModals.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +45 -25
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +18 -4
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +44 -35
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +115 -47
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +7 -2
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +8 -6
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts +15 -0
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +76 -0
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts +2 -1
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +17 -11
- package/lib/esm/components/CaseEditView/PDFContainer.d.ts +1 -1
- package/lib/esm/components/CaseEditView/PDFContainer.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +8 -7
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +13 -12
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +13 -12
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts +2 -2
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.js +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts +2 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerShare.js +59 -35
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +8 -20
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +187 -66
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +10 -13
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +31 -12
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +15 -14
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +21 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts +3 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.js +37 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +9 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +10 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +29 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +89 -31
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +6 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +4 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +29 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +4 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.css +0 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts +5 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +7 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +331 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +7 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +442 -0
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +3 -2
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -5
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts +2 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +4 -4
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts +4 -0
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.js +118 -0
- package/lib/esm/components/CaseEditView/index.d.ts +2 -8
- package/lib/esm/components/CaseEditView/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/index.js +8 -13
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +72 -26
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseInformation.js +3 -5
- package/lib/esm/components/CaseInformation/CaseType.d.ts +2 -1
- package/lib/esm/components/CaseInformation/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +230 -55
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.js +33 -14
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
- package/lib/esm/components/CaseInformation/Description.d.ts +3 -1
- package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Description.js +58 -28
- package/lib/esm/components/CaseInformation/FileDiag.d.ts +2 -1
- package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.d.ts +2 -1
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +38 -8
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts +4 -0
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.d.ts.map +1 -0
- package/lib/esm/components/CaseInformation/MandatoryPhonePopOver.js +26 -0
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts +3 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +54 -29
- package/lib/esm/components/CaseInformation/Severity.d.ts +2 -1
- package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Severity.js +18 -32
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts +2 -1
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +9 -5
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +3 -2
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts +2 -1
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseManagement.js +10 -7
- package/lib/esm/components/CaseManagement/Cep.d.ts +2 -1
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +37 -21
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts +2 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +14 -13
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts +6 -5
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +46 -28
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts +2 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +7 -6
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +19 -13
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +16 -15
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts +2 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +43 -37
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +3 -5
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.js +0 -2
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts +2 -1
- package/lib/esm/components/ConfirmationModals/ROCMModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveItem.d.ts +10 -0
- package/lib/esm/components/Cve/CveItem.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveItem.js +139 -0
- package/lib/esm/components/Cve/CveModal.d.ts +3 -0
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveModal.js +44 -0
- package/lib/esm/components/Cve/CvePanel.d.ts +7 -0
- package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -0
- package/lib/esm/components/Cve/CvePanel.js +23 -0
- package/lib/esm/components/Cve/CveSidebar.d.ts +3 -0
- package/lib/esm/components/Cve/CveSidebar.d.ts.map +1 -0
- package/lib/esm/components/Cve/CveSidebar.js +23 -0
- package/lib/esm/components/EditDescription/EditDescription.d.ts +2 -1
- package/lib/esm/components/EditDescription/EditDescription.d.ts.map +1 -1
- package/lib/esm/components/EditDescription/EditDescription.js +1 -6
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts +2 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +12 -11
- package/lib/esm/components/ImproveCase/FileEARule.d.ts +2 -1
- package/lib/esm/components/ImproveCase/FileEARule.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.d.ts +2 -1
- package/lib/esm/components/ImproveCase/Hostname.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.js +3 -3
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts +2 -1
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/KtQuestions.js +62 -58
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts +5 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.js +9 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts +2 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +12 -15
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +5 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +29 -9
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +4 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +21 -6
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts +2 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts +8 -2
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +45 -23
- package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts +2 -1
- package/lib/esm/components/ProductSelector/ProductSelectorLoader.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts +3 -0
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +10 -2
- package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts +3 -0
- package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AlertToastWrapper.js +2 -2
- package/lib/esm/components/Recommendations/AsideResults.d.ts +3 -1
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +17 -28
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +8 -5
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/CriticalSolutionsToast.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/CriticalSolutionsToast.js +1 -1
- package/lib/esm/components/Recommendations/EARules/EARule.d.ts +7 -6
- package/lib/esm/components/Recommendations/EARules/EARule.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARule.js +7 -6
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts +3 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +14 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts +2 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +13 -12
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts +2 -1
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.js +6 -2
- package/lib/esm/components/Recommendations/InsightsResults.d.ts +2 -1
- package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +20 -7
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts +3 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +17 -14
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts +3 -0
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +28 -0
- package/lib/esm/components/Recommendations/Recommendations.d.ts +5 -1
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +107 -41
- package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts +3 -0
- package/lib/esm/components/Recommendations/RecommendationsLoader.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/RecommendationsLoader.js +11 -0
- package/lib/esm/components/Recommendations/RulesModal.d.ts +2 -1
- package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RulesModal.js +8 -14
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts +10 -0
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts.map +1 -0
- package/lib/esm/components/Recommendations/WatsonxAiIcon.js +13 -0
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts +2 -1
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts +2 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
- package/lib/esm/components/Review/Review.d.ts +3 -2
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +14 -11
- package/lib/esm/components/SessionRestore/SessionItem.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionItem.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionItem.js +4 -4
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +51 -35
- package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts +2 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestoreCard.js +9 -16
- package/lib/esm/components/SubmitCase/ResubmitToast.d.ts +3 -0
- package/lib/esm/components/SubmitCase/ResubmitToast.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/ResubmitToast.js +3 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts +2 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +122 -33
- package/lib/esm/components/Suggestions/Suggestions.d.ts +2 -1
- package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +10 -3
- package/lib/esm/components/Suggestions/TopContent.d.ts +2 -2
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +58 -13
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts +2 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +25 -34
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts +2 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +176 -75
- package/lib/esm/components/shared/Constants.d.ts +5 -4
- package/lib/esm/components/shared/Constants.d.ts.map +1 -1
- package/lib/esm/components/shared/Rule.d.ts +2 -1
- package/lib/esm/components/shared/Rule.d.ts.map +1 -1
- package/lib/esm/components/shared/Rule.js +6 -6
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts +3 -1
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +8 -7
- package/lib/esm/components/shared/fileUpload/FileUpload.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/FileUpload.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/SectionFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/UploadButton.d.ts +2 -2
- package/lib/esm/components/shared/fileUpload/UploadButton.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +9 -9
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +4 -3
- package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/InputFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts +3 -2
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +15 -6
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts +2 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +3 -3
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +23 -23
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +14 -8
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +2 -2
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducerContext.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.js +2 -1
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts +2 -2
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.d.ts +2 -1
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +82 -23
- package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.js +4 -2
- package/lib/esm/components/shared/utils.d.ts +4 -1
- package/lib/esm/components/shared/utils.d.ts.map +1 -1
- package/lib/esm/components/shared/utils.js +17 -5
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts +2 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +9 -49
- package/lib/esm/components/wizardLayout/MainSection.d.ts +4 -1
- package/lib/esm/components/wizardLayout/MainSection.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/MainSection.js +28 -4
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts +4 -0
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts.map +1 -0
- package/lib/esm/components/wizardLayout/NewFeatureModal.js +38 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts +3 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.d.ts.map +1 -0
- package/lib/esm/components/wizardLayout/RedHatCustomerPortalIcon.js +31 -0
- package/lib/esm/components/wizardLayout/WizardAside.d.ts +3 -2
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +19 -10
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts +2 -1
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +50 -47
- package/lib/esm/components/wizardLayout/WizardMain.d.ts +3 -2
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +31 -4
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +11 -3
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +137 -20
- package/lib/esm/components/wizardLayout/index.d.ts +2 -3
- package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/index.js +4 -11
- package/lib/esm/constants/caseDetailsConstants.d.ts +9 -3
- package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
- package/lib/esm/constants/caseDetailsConstants.js +9 -2
- package/lib/esm/context/CaseContext.d.ts +1 -1
- package/lib/esm/context/CaseContext.d.ts.map +1 -1
- package/lib/esm/context/CaseContext.js +1 -1
- package/lib/esm/context/CaseDetailsPageContext.d.ts +1 -1
- package/lib/esm/context/CaseDetailsPageContext.d.ts.map +1 -1
- package/lib/esm/context/CaseDiscussionTabContext.d.ts +1 -1
- package/lib/esm/context/CaseDiscussionTabContext.d.ts.map +1 -1
- package/lib/esm/context/CaseOverviewContext.d.ts +8 -0
- package/lib/esm/context/CaseOverviewContext.d.ts.map +1 -0
- package/lib/esm/context/CaseOverviewContext.js +10 -0
- package/lib/esm/context/ClusterRecommendationsContext.d.ts +1 -1
- package/lib/esm/context/ClusterRecommendationsContext.d.ts.map +1 -1
- package/lib/esm/context/RecommendationContext.d.ts +1 -1
- package/lib/esm/context/RecommendationContext.d.ts.map +1 -1
- package/lib/esm/context/RootTroubleshootProvider.d.ts +2 -1
- package/lib/esm/context/RootTroubleshootProvider.d.ts.map +1 -1
- package/lib/esm/context/RouteContext.d.ts +1 -1
- package/lib/esm/context/RouteContext.d.ts.map +1 -1
- package/lib/esm/context/RulesContext.d.ts +1 -1
- package/lib/esm/context/RulesContext.d.ts.map +1 -1
- package/lib/esm/context/SessionRestoreContext.d.ts +1 -1
- package/lib/esm/context/SessionRestoreContext.d.ts.map +1 -1
- package/lib/esm/context/TopContentContext.d.ts +1 -1
- package/lib/esm/context/TopContentContext.d.ts.map +1 -1
- package/lib/esm/css/app.css +43 -14
- package/lib/esm/css/case.css +4 -4
- package/lib/esm/css/productSelector.css +7 -3
- package/lib/esm/css/results.css +6 -0
- package/lib/esm/enums/cache.d.ts +2 -2
- package/lib/esm/enums/cache.d.ts.map +1 -1
- package/lib/esm/hooks/useFetchCVEData.d.ts +5 -0
- package/lib/esm/hooks/useFetchCVEData.d.ts.map +1 -0
- package/lib/esm/hooks/useFetchCVEData.js +138 -0
- package/lib/esm/hooks/useParseRuleMarkdown.d.ts.map +1 -1
- package/lib/esm/hooks/useParseRuleMarkdown.js +1 -1
- package/lib/esm/hooks/useS3Upload.js +2 -2
- package/lib/esm/hooks/useWizard.d.ts +10 -1
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +27 -15
- package/lib/esm/i18n/template-de.d.ts +52 -0
- package/lib/esm/i18n/template-de.d.ts.map +1 -1
- package/lib/esm/i18n/template-de.js +55 -0
- package/lib/esm/i18n/template-es.d.ts +51 -0
- package/lib/esm/i18n/template-es.d.ts.map +1 -1
- package/lib/esm/i18n/template-es.js +53 -0
- package/lib/esm/i18n/template-fr.d.ts +6 -0
- package/lib/esm/i18n/template-fr.d.ts.map +1 -1
- package/lib/esm/i18n/template-fr.js +6 -0
- package/lib/esm/i18n/template-it.d.ts +52 -0
- package/lib/esm/i18n/template-it.d.ts.map +1 -1
- package/lib/esm/i18n/template-it.js +54 -0
- package/lib/esm/i18n/template-jp.d.ts +9 -0
- package/lib/esm/i18n/template-jp.d.ts.map +1 -1
- package/lib/esm/i18n/template-jp.js +11 -2
- package/lib/esm/i18n/template-ko.d.ts +9 -0
- package/lib/esm/i18n/template-ko.d.ts.map +1 -1
- package/lib/esm/i18n/template-ko.js +10 -1
- package/lib/esm/i18n/template-pt.d.ts +50 -0
- package/lib/esm/i18n/template-pt.d.ts.map +1 -1
- package/lib/esm/i18n/template-pt.js +53 -0
- package/lib/esm/i18n/template-zh.d.ts +9 -0
- package/lib/esm/i18n/template-zh.d.ts.map +1 -1
- package/lib/esm/i18n/template-zh.js +9 -0
- package/lib/esm/index.d.ts +0 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +0 -1
- package/lib/esm/models/caseCreationWorkflows.d.ts +27 -0
- package/lib/esm/models/caseCreationWorkflows.d.ts.map +1 -0
- package/lib/esm/models/caseCreationWorkflows.js +1 -0
- package/lib/esm/reducers/CaseConstNTypes.d.ts +42 -13
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +62 -31
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +2 -2
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.js +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +5 -4
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.js +7 -3
- package/lib/esm/reducers/CaseHelpers.d.ts +1 -0
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.js +21 -25
- package/lib/esm/reducers/CaseOverviewReducer.d.ts +3 -3
- package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.d.ts +5 -5
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +137 -70
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts +2 -2
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.d.ts +6 -4
- package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.js +12 -9
- package/lib/esm/reducers/RouteConstNTypes.d.ts +6 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +10 -5
- package/lib/esm/reducers/RouteReducer.d.ts +2 -2
- package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.d.ts +2 -2
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +20 -16
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +80 -44
- package/lib/esm/reducers/TopContentReducer.d.ts +2 -2
- package/lib/esm/reducers/TopContentReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +319 -51
- package/lib/esm/scss/_pf-overrides.scss +792 -0
- package/lib/esm/scss/index.scss +1 -7
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseUtils.d.ts +20 -0
- package/lib/esm/utils/caseUtils.d.ts.map +1 -0
- package/lib/esm/utils/caseUtils.js +58 -0
- package/lib/esm/utils/insightRuleInfoUtils.d.ts +4 -0
- package/lib/esm/utils/insightRuleInfoUtils.d.ts.map +1 -0
- package/lib/esm/utils/insightRuleInfoUtils.js +23 -0
- package/lib/esm/utils/routeUtils.d.ts +1 -1
- package/lib/esm/utils/routeUtils.d.ts.map +1 -1
- package/lib/esm/utils/routeUtils.js +2 -1
- package/package.json +54 -50
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts +0 -8
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.js +0 -10
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts +0 -8
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +0 -22
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts +0 -5
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseBugzilla/CaseBugzilla.js +0 -29
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts +0 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +0 -71
- package/lib/esm/components/CaseInformation/ProductNVersion.d.ts +0 -5
- package/lib/esm/components/CaseInformation/ProductNVersion.d.ts.map +0 -1
- package/lib/esm/components/CaseInformation/ProductNVersion.js +0 -20
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts +0 -7
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.d.ts.map +0 -1
- package/lib/esm/components/ConfirmationModals/ConfirmedStateSideSupportModal.js +0 -21
- package/lib/esm/components/Recommendations/ShowRank.d.ts +0 -12
- package/lib/esm/components/Recommendations/ShowRank.d.ts.map +0 -1
- package/lib/esm/components/Recommendations/ShowRank.js +0 -27
- package/lib/esm/hooks/useUserPreference.d.ts +0 -7
- package/lib/esm/hooks/useUserPreference.d.ts.map +0 -1
- package/lib/esm/hooks/useUserPreference.js +0 -36
- package/lib/esm/scss/_pf4-imports.scss +0 -30
- package/lib/esm/scss/_pf4-overrides.scss +0 -488
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface IProps {
|
|
2
3
|
inlineEditable?: boolean;
|
|
3
4
|
hideLabel?: boolean;
|
|
4
5
|
hideSaveCancel?: boolean;
|
|
5
6
|
}
|
|
6
|
-
declare function Summary(props: IProps): JSX.Element;
|
|
7
|
+
declare function Summary(props: IProps): React.JSX.Element;
|
|
7
8
|
declare namespace Summary {
|
|
8
9
|
var defaultProps: Partial<IProps>;
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Summary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/Summary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Summary.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/Summary.tsx"],"names":[],"mappings":"AAQA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAQD,iBAAS,OAAO,CAAC,KAAK,EAAE,MAAM,qBA0L7B;kBA1LQ,OAAO;;;AA6LhB,eAAe,OAAO,CAAC"}
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { InputGroupText,
|
|
10
|
+
import { InputGroupText, Spinner, TextInput, TextInputGroup, ValidatedOptions } from '@patternfly/react-core';
|
|
11
11
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
12
12
|
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
13
13
|
import { NewInlineEdit, ToastNotification, ValueChangedIcon } from '@rh-support/components';
|
|
@@ -57,11 +57,11 @@ function Summary(props) {
|
|
|
57
57
|
try {
|
|
58
58
|
yield updateCaseDetails(caseDispatch, caseNumber, caseDetails);
|
|
59
59
|
setIsSummaryUpdating(false);
|
|
60
|
-
ToastNotification.addSuccessMessage(t(`
|
|
60
|
+
ToastNotification.addSuccessMessage(t(`Title has been successfully updated`));
|
|
61
61
|
}
|
|
62
62
|
catch (e) {
|
|
63
63
|
setIsSummaryUpdating(false);
|
|
64
|
-
caseUpdateError.showError(e, t(`
|
|
64
|
+
caseUpdateError.showError(e, t(`Title failed to updated`));
|
|
65
65
|
throw e;
|
|
66
66
|
}
|
|
67
67
|
});
|
|
@@ -124,19 +124,19 @@ function Summary(props) {
|
|
|
124
124
|
});
|
|
125
125
|
return (React.createElement(React.Fragment, null,
|
|
126
126
|
React.createElement(NewInlineEdit, { labelProps: { htmlFor: 'case-details-summary' }, labelContent: React.createElement(React.Fragment, null,
|
|
127
|
-
React.createElement(Trans, null, "
|
|
127
|
+
React.createElement(Trans, null, "Title"),
|
|
128
128
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localSummaryChange, value: summary, getTooltipContent: getSummaryChangedTT }),
|
|
129
129
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")), allowInlineEdit: props.inlineEditable, content: summary ? summary : t('No summary to display.'), saveDisabled: saveDisabled, hideLabel: props.hideLabel, hideSaveCancel: props.hideSaveCancel, charCount: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) || 0, charTotal: SUMMARY_LENGTH_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
|
|
130
130
|
React.createElement(TextInputGroup, null,
|
|
131
|
-
React.createElement(TextInput, { type: "text", id: "case-details-summary",
|
|
131
|
+
React.createElement(TextInput, { type: "text", id: "case-details-summary", "aria-required": true, required: true, name: "case-details-summary", value: summaryState, onChange: (_event, value) => onSummaryChange(value), isDisabled: isSummaryUpdating, "data-tracking-id": "case-details-summary", onKeyDown: handleKeyDown, validated: (summaryState === null || summaryState === void 0 ? void 0 : summaryState.length) > SUMMARY_LENGTH_LIMIT || isSummaryEmpty
|
|
132
132
|
? ValidatedOptions.error
|
|
133
133
|
: ValidatedOptions.default }),
|
|
134
|
-
!isSummaryUpdating ? (React.createElement(InputGroupText,
|
|
135
|
-
React.createElement("button", { className: "btn btn-app btn-link pf-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
|
|
134
|
+
!isSummaryUpdating ? (React.createElement(InputGroupText, null,
|
|
135
|
+
React.createElement("button", { className: "btn btn-app btn-link pf-v5-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
|
|
136
136
|
React.createElement(CheckIcon, null)),
|
|
137
137
|
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
|
|
138
|
-
React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText,
|
|
139
|
-
React.createElement(Spinner, {
|
|
138
|
+
React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, null,
|
|
139
|
+
React.createElement(Spinner, { size: "lg", className: "pf-v5-u-ml-2xl pf-v5-u-mr-xl" }))))),
|
|
140
140
|
isSummaryEmpty && (React.createElement("p", { className: "form-instructions form-invalid" },
|
|
141
141
|
React.createElement(Trans, null, fieldEmptyErrorMessage)))));
|
|
142
142
|
}
|
|
@@ -42,7 +42,7 @@ export function useCustomEmails(props) {
|
|
|
42
42
|
isAdded && fetchAccountCustomEmails(globalMetadataDispatch, props.accountNumber);
|
|
43
43
|
return !!isAdded;
|
|
44
44
|
});
|
|
45
|
-
const addCustomEmail = (
|
|
45
|
+
const addCustomEmail = (emailVal_1, onAdd_1, ...args_1) => __awaiter(this, [emailVal_1, onAdd_1, ...args_1], void 0, function* (emailVal, onAdd, skipAccountCheck = false) {
|
|
46
46
|
try {
|
|
47
47
|
if (isEmpty(emailVal) || !isEmailValid(emailVal)) {
|
|
48
48
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAexE,OAAO,KAAuC,MAAM,OAAO,CAAC;AAS5D,UAAU,MAAM;IACZ,UAAU,EAAE,WAAW,CAAC;IACxB,kBAAkB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,KAAK,IAAI,CAAC;IACzE,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,cAAc,4EAqPlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { caseAttachments, kase } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Button, ButtonVariant, Tooltip, TooltipPosition } from '@patternfly/react-core';
|
|
11
|
+
import { Button, ButtonVariant, Icon, Tooltip, TooltipPosition } from '@patternfly/react-core';
|
|
12
|
+
import PaperclipIcon from '@patternfly/react-icons/dist/js/icons/paperclip-icon';
|
|
12
13
|
import { InlineEdit, LoadingIndicator, ToastNotification, useConfirmation, useCopyToClipboard, useFetch, } from '@rh-support/components';
|
|
13
14
|
import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
|
|
14
15
|
import { ability, CaseDiscussionFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
@@ -22,7 +23,7 @@ import { PDFContext } from '../../PDFContainer';
|
|
|
22
23
|
import { DiscussionItemLink } from './DiscussionItemLink';
|
|
23
24
|
import { JumpAndCopyLink } from './JumpAndCopyLink';
|
|
24
25
|
const CaseAttachment = React.forwardRef((props, ref) => {
|
|
25
|
-
var _a
|
|
26
|
+
var _a;
|
|
26
27
|
const { t } = useTranslation();
|
|
27
28
|
const clipboardRef = useRef(null);
|
|
28
29
|
const { clipboardText, copyToClipboard } = useCopyToClipboard(clipboardRef);
|
|
@@ -116,13 +117,14 @@ const CaseAttachment = React.forwardRef((props, ref) => {
|
|
|
116
117
|
limit: ATTACHMENT_DESCRIPTION_LENGTH_LIMIT,
|
|
117
118
|
});
|
|
118
119
|
// To check if attachment description length is less than the limit
|
|
119
|
-
const isCaseAttachmentDescriptionLengthy = (
|
|
120
|
+
const isCaseAttachmentDescriptionLengthy = (attachmentDescription === null || attachmentDescription === void 0 ? void 0 : attachmentDescription.length) > ATTACHMENT_DESCRIPTION_LENGTH_LIMIT;
|
|
120
121
|
// To check if attachment description is empty
|
|
121
122
|
const isCaseAttachmentDescription = isEmpty(attachmentDescription === null || attachmentDescription === void 0 ? void 0 : attachmentDescription.trim());
|
|
122
123
|
return (React.createElement("section", { ref: ref, id: props.attachment.id, className: `prevent-split support-comment comment-attachment ${!isCardIsDeleted ? 'showcard' : ''} ${ref ? 'selected-case-comment' : ''} ${props.attachment.isPrivate ? 'private' : ''}` },
|
|
123
124
|
React.createElement("header", null,
|
|
124
125
|
React.createElement("h4", null,
|
|
125
|
-
React.createElement(
|
|
126
|
+
React.createElement(Icon, { className: "pf-v5-u-mr-xs" },
|
|
127
|
+
React.createElement(PaperclipIcon, null)),
|
|
126
128
|
props.attachment.modifiedBy),
|
|
127
129
|
React.createElement("time", { className: "text-right" }, formatDateTime(props.attachment.lastModifiedDate))),
|
|
128
130
|
React.createElement("div", { className: "comment-body" },
|
|
@@ -138,8 +140,8 @@ const CaseAttachment = React.forwardRef((props, ref) => {
|
|
|
138
140
|
React.createElement("div", { className: "clip-content-wrapper code-block" },
|
|
139
141
|
React.createElement("code", { ref: clipboardRef }, props.attachment.checksum)),
|
|
140
142
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: clipboardText, trigger: "click" },
|
|
141
|
-
React.createElement("button", { className: "nimbus-icon-clipboard clip-code-raw-btn xs-icon",
|
|
142
|
-
React.createElement(InlineEdit, { labelProps: { htmlFor: `case-details-file-description-${props.attachment.id}` }, allowInlineEdit: true, labelContent:
|
|
143
|
+
React.createElement("button", { "aria-label": "Copy to clipboard", className: "nimbus-icon-clipboard clip-code-raw-btn xs-icon", onClick: copyToClipboard, type: "button" }))))),
|
|
144
|
+
React.createElement(InlineEdit, { labelProps: { htmlFor: `case-details-file-description-${props.attachment.id}` }, allowInlineEdit: true, labelContent: React.createElement(Trans, null, "Description"), content: React.createElement("div", { className: "clip-content-wrapper code-block" }, props.attachment.description), hideSaveCancel: false, onSave: onDescriptionSave, onCancel: onDescriptionCancel, dataTrackingId: "case-details-file-description", initialIsEditing: props.attachment.description ? false : true, saveDisabled: isCaseAttachmentDescriptionLengthy ||
|
|
143
145
|
isCaseAttachmentDescription ||
|
|
144
146
|
attachmentDescription === props.attachment.description ||
|
|
145
147
|
isUpdating, loadingIndicator: isUpdating ? React.createElement(LoadingIndicator, { isInline: true }) : undefined, isExportingPDF: isExportingPDF },
|
|
@@ -148,10 +150,10 @@ const CaseAttachment = React.forwardRef((props, ref) => {
|
|
|
148
150
|
React.createElement(Trans, null, maxCaseAttachmentDescription))),
|
|
149
151
|
React.createElement("footer", null,
|
|
150
152
|
React.createElement("span", { className: "comment-note" }, props.attachment.isPrivate && React.createElement(Trans, null, "Private attachment")),
|
|
151
|
-
React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
|
|
153
|
+
React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
|
|
152
154
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.attachment.id), discussionType: DiscussionType.ATTACHMENT, itemId: props.attachment.id, caseNumber: props.attachment.caseNumber, isCopyLink: false },
|
|
153
155
|
React.createElement(Trans, null, "Jump to attachment"))),
|
|
154
|
-
React.createElement("button", { className: `btn btn-app btn-link text-danger ${isExportingPDF ? 'hide-in-pdf' : ''}`, title: "Delete attachment", onClick: deleteAttachment(props.attachment), "data-tracking-id": "delete-attachmentid-button" },
|
|
156
|
+
React.createElement("button", { className: `btn btn-app btn-link text-danger ${isExportingPDF ? 'hide-in-pdf' : ''}`, title: "Delete attachment", onClick: deleteAttachment(props.attachment), "data-tracking-id": "delete-attachmentid-button", type: "button" },
|
|
155
157
|
React.createElement(Trans, null, "Delete")),
|
|
156
158
|
React.createElement(JumpAndCopyLink, { caseNumber: props.attachment.caseNumber, cardId: props.attachment.id, discussionType: DiscussionType.ATTACHMENT })))));
|
|
157
159
|
});
|
|
@@ -24,7 +24,7 @@ const CaseChat = React.forwardRef((props, ref) => {
|
|
|
24
24
|
{ visitorName: props.chat.visitorName }),
|
|
25
25
|
React.createElement("p", { className: "push-top-narrow", dangerouslySetInnerHTML: sanetize(props.chat.body) })),
|
|
26
26
|
React.createElement("footer", null,
|
|
27
|
-
React.createElement("span", { className: "pf-u-ml-auto pf-l-flex pf-m-align-items-center" },
|
|
27
|
+
React.createElement("span", { className: "pf-v5-u-ml-auto pf-v5-l-flex pf-m-align-items-center" },
|
|
28
28
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.chat.id), discussionType: DiscussionType.CHAT, itemId: props.chat.id, caseNumber: caseNumber, isCopyLink: false },
|
|
29
29
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
30
30
|
React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.chat.id, discussionType: DiscussionType.CHAT })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,
|
|
1
|
+
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,4EAkVhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { publicApi } from '@cee-eng/hydrajs';
|
|
11
11
|
import { encodeAngularBrackets, EventTypes, htmlEntitiesEncode, linkifyBZIDs, linkifyWithCaseIDs, parseCommentMarkdown, processRME, } from '@cee-eng/ui-toolkit';
|
|
12
|
-
import { Tooltip, TooltipPosition } from '@patternfly/react-core';
|
|
12
|
+
import { Icon, Tooltip, TooltipPosition } from '@patternfly/react-core';
|
|
13
13
|
import FrownIcon from '@patternfly/react-icons/dist/js/icons/frown-icon';
|
|
14
14
|
import MehIcon from '@patternfly/react-icons/dist/js/icons/meh-icon';
|
|
15
15
|
import OutlinedFrownIcon from '@patternfly/react-icons/dist/js/icons/outlined-frown-icon';
|
|
@@ -22,7 +22,7 @@ import { AbilityContext, CaseDetailsFields, CaseDiscussionFields, resourceAction
|
|
|
22
22
|
import { formatDateTime, linkifyLinks } from '@rh-support/utils';
|
|
23
23
|
import DOMPurify from 'dompurify';
|
|
24
24
|
import isEmpty from 'lodash/isEmpty';
|
|
25
|
-
import React, { useContext, useState } from 'react';
|
|
25
|
+
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
26
26
|
import { Trans, useTranslation } from 'react-i18next';
|
|
27
27
|
import { DiscussionType } from '../../../../reducers/CaseDiscussionTabReducer';
|
|
28
28
|
import { PDFContext } from '../../PDFContainer';
|
|
@@ -31,6 +31,7 @@ import { JumpAndCopyLink } from './JumpAndCopyLink';
|
|
|
31
31
|
const CaseComments = React.forwardRef((props, ref) => {
|
|
32
32
|
var _a;
|
|
33
33
|
const { caseNumber } = props;
|
|
34
|
+
const markdownRef = useRef(null);
|
|
34
35
|
const { t } = useTranslation();
|
|
35
36
|
const ability = useContext(AbilityContext);
|
|
36
37
|
const canSeePrivateComments = ability.can(resourceActions.PATCH, resources.CASE_COMMENTS, CaseDiscussionFields.VIEW_PRIVATE_COMMENT);
|
|
@@ -45,6 +46,9 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
45
46
|
const onJumpToComment = (commentId) => () => props.showJumpToComment && props.onJumpToComment && props.onJumpToComment(commentId);
|
|
46
47
|
const applyCommentFeedback = (comment, feedback) => (e) => __awaiter(void 0, void 0, void 0, function* () {
|
|
47
48
|
e.preventDefault();
|
|
49
|
+
if (props.feedback === feedback) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
48
52
|
const commJson = {
|
|
49
53
|
feedback,
|
|
50
54
|
accountNumber: props.accountNumber,
|
|
@@ -72,11 +76,11 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
72
76
|
const commentFeedbackButtons = (comment, feedback) => (React.createElement("span", { className: "comment-feedback-buttons" },
|
|
73
77
|
React.createElement(LoadingIndicator, { isInline: true, show: isFeedbackUpdating }),
|
|
74
78
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: t('Positive feedback') },
|
|
75
|
-
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, 1), "data-tracking-id": "case-comment-feedback-up" }, feedback === 1 ? (React.createElement(SmileIcon, { title: t('Remove positive feedback') })) : (React.createElement(OutlinedSmileIcon, { title: t('Leave positive feedback') })))),
|
|
79
|
+
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, 1), "data-tracking-id": "case-comment-feedback-up", type: "button" }, feedback === 1 ? (React.createElement(SmileIcon, { title: t('Remove positive feedback') })) : (React.createElement(OutlinedSmileIcon, { title: t('Leave positive feedback') })))),
|
|
76
80
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: t('Neutral feedback') },
|
|
77
|
-
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, 0), "data-tracking-id": "case-comment-feedback-neutral" }, feedback === 0 ? (React.createElement(MehIcon, { title: t('Remove neutral feedback') })) : (React.createElement(OutlinedMehIcon, { title: t('Leave neutral feedback') })))),
|
|
81
|
+
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, 0), "data-tracking-id": "case-comment-feedback-neutral", type: "button" }, feedback === 0 ? (React.createElement(MehIcon, { title: t('Remove neutral feedback') })) : (React.createElement(OutlinedMehIcon, { title: t('Leave neutral feedback') })))),
|
|
78
82
|
React.createElement(Tooltip, { position: TooltipPosition.top, content: t('Negative feedback') },
|
|
79
|
-
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, -1), "data-tracking-id": "case-comment-feedback-down" }, feedback === -1 ? (React.createElement(FrownIcon, { "aria-label": t('Remove negative feedback') })) : (React.createElement(OutlinedFrownIcon, { "aria-label": t('Leave negative feedback') }))))));
|
|
83
|
+
React.createElement("button", { className: "btn btn-app btn-link", onClick: applyCommentFeedback(comment, -1), "data-tracking-id": "case-comment-feedback-down", type: "button" }, feedback === -1 ? (React.createElement(FrownIcon, { title: t('Remove negative feedback'), "aria-label": t('Remove negative feedback') })) : (React.createElement(OutlinedFrownIcon, { title: t('Leave negative feedback'), "aria-label": t('Leave negative feedback') }))))));
|
|
80
84
|
const computeDiscussionCardCalss = (comment) => {
|
|
81
85
|
if (comment.createdByType === 'Associate' && comment.createdBy === 'Automated Support Assistant') {
|
|
82
86
|
return 'comment-automated';
|
|
@@ -110,10 +114,12 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
110
114
|
return (React.createElement("img", { src: "https://static.redhat.com/libs/redhat/brand-assets/2/corp/logo--hat-only.svg", height: "18", width: "18", "aria-hidden": "true", alt: "Red Hat associate comment", title: "Red Hat associate", style: { verticalAlign: '-0.125em', marginRight: '6px' } }));
|
|
111
115
|
}
|
|
112
116
|
else if (comment.createdByType === 'Customer') {
|
|
113
|
-
return (React.createElement(
|
|
117
|
+
return (React.createElement(Icon, { size: "md" },
|
|
118
|
+
React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' } })));
|
|
114
119
|
}
|
|
115
120
|
else {
|
|
116
|
-
return (React.createElement(
|
|
121
|
+
return (React.createElement(Icon, { size: "md" },
|
|
122
|
+
React.createElement(UserCircleIcon, { style: { verticalAlign: '-0.125em', marginRight: '6px', color: '#1D4174' } })));
|
|
117
123
|
}
|
|
118
124
|
};
|
|
119
125
|
const computeCommentFooter = (comment) => {
|
|
@@ -131,7 +137,9 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
131
137
|
return { __html: DOMPurify.sanitize(text) };
|
|
132
138
|
};
|
|
133
139
|
const commentMarkdown = (markdown) => {
|
|
134
|
-
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true
|
|
140
|
+
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true, disableImagePreview: isExportingPDF },
|
|
141
|
+
// @ts-ignore
|
|
142
|
+
{ openLinksInNewTab: true, gfm: true, breaks: true });
|
|
135
143
|
return { __html: DOMPurify.sanitize(htmlString) };
|
|
136
144
|
};
|
|
137
145
|
const onCommentAreaClick = (e) => {
|
|
@@ -184,6 +192,16 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
184
192
|
return (React.createElement("pre", { className: "push-top-narrow comment-plaintext reset-pre-text", dangerouslySetInnerHTML: commentText(parseComment), style: { fontFamily: isExportingPDF ? 'DejaVu Sans' : '' } }));
|
|
185
193
|
}
|
|
186
194
|
};
|
|
195
|
+
useEffect(() => {
|
|
196
|
+
if ((markdownRef === null || markdownRef === void 0 ? void 0 : markdownRef.current) && isExportingPDF) {
|
|
197
|
+
const preTags = markdownRef.current.querySelectorAll('pre');
|
|
198
|
+
preTags.forEach((pre) => {
|
|
199
|
+
pre.style.wordWrap = 'break-word';
|
|
200
|
+
pre.style.overflowWrap = 'break-word';
|
|
201
|
+
pre.style.fontFamily = 'DejaVu Sans';
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
}, [props.comment, isExportingPDF]);
|
|
187
205
|
if (!((_a = props.comment) === null || _a === void 0 ? void 0 : _a.isPublic) && !canSeePrivateComments)
|
|
188
206
|
return React.createElement(React.Fragment, null);
|
|
189
207
|
return (React.createElement("section", { ref: ref, id: props.comment.id, className: `prevent-split ${computePrivateComment(props.comment)} support-comment ${computeDiscussionCardCalss(props.comment)} ${ref ? 'selected-case-comment' : ''}` },
|
|
@@ -198,14 +216,14 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
198
216
|
React.createElement(Trans, null, "Partner"),
|
|
199
217
|
")"))),
|
|
200
218
|
React.createElement("time", null, formatDateTime(props.comment.lastModifiedDate))),
|
|
201
|
-
React.createElement("div", { className: "comment-body", onClick: onCommentAreaClick }, computeCommentText(props.comment)),
|
|
219
|
+
React.createElement("div", { className: "comment-body", onClick: onCommentAreaClick, ref: markdownRef }, computeCommentText(props.comment)),
|
|
202
220
|
React.createElement("footer", null,
|
|
203
221
|
React.createElement("span", { className: "comment-note" }, computeCommentFooter(props.comment)),
|
|
204
222
|
canSeeFeedbackButtons && commentFeedbackButtons(props.comment, props.feedback),
|
|
205
|
-
React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
|
|
223
|
+
React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
|
|
206
224
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.comment.id), discussionType: DiscussionType.COMMENT, itemId: props.comment.id, caseNumber: caseNumber, isCopyLink: false },
|
|
207
225
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
208
|
-
React.createElement("button", { onClick: commentReply(props.comment), className: `btn btn-app btn-link ${isExportingPDF ? 'hide-in-pdf' : ''}`, "data-tracking-id": "case-comment-reply" },
|
|
226
|
+
React.createElement("button", { onClick: commentReply(props.comment), className: `btn btn-app btn-link case-reply-button ${isExportingPDF ? 'hide-in-pdf' : ''}`, "data-tracking-id": "case-comment-reply", type: "button" },
|
|
209
227
|
React.createElement(Trans, null, "Reply")),
|
|
210
228
|
React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.comment.id, discussionType: DiscussionType.COMMENT })))));
|
|
211
229
|
});
|
|
@@ -8,6 +8,6 @@ interface IProps {
|
|
|
8
8
|
tabRef: React.MutableRefObject<HTMLDivElement>;
|
|
9
9
|
isDiscussionTab: boolean;
|
|
10
10
|
}
|
|
11
|
-
export default function CaseDiscussion(props: IProps): JSX.Element;
|
|
11
|
+
export default function CaseDiscussion(props: IProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=CaseDiscussion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDiscussion.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAA0B,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseDiscussion.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,YAAY,EAA0B,MAAM,yCAAyC,CAAC;AAkB1G,OAAO,KAAoE,MAAM,OAAO,CAAC;AAsCzF,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAC/C,eAAe,EAAE,OAAO,CAAC;CAC5B;AAOD,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,MAAM,qBA8mBnD"}
|
|
@@ -8,22 +8,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { caseAttachments } from '@cee-eng/hydrajs';
|
|
11
|
-
import {
|
|
11
|
+
import { MenuToggle, Select, SelectList, SelectOption } from '@patternfly/react-core';
|
|
12
|
+
import { AlertMessage, AlertType, ErrorBoundary, LoadingIndicator, ToastNotification } from '@rh-support/components';
|
|
12
13
|
import { useGlobalStateContext } from '@rh-support/react-context';
|
|
13
14
|
import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
14
|
-
import { getDropdownBtnPlaceholder, getUrlParsedParams, scrollIntoView,
|
|
15
|
+
import { dtmTrackEventCaseStepEncountered, getDropdownBtnPlaceholder, getUrlParsedParams, scrollIntoView, } from '@rh-support/utils';
|
|
15
16
|
import cloneDeep from 'lodash/cloneDeep';
|
|
16
17
|
import filter from 'lodash/filter';
|
|
17
18
|
import findIndex from 'lodash/findIndex';
|
|
18
19
|
import isEmpty from 'lodash/isEmpty';
|
|
20
|
+
import isEqual from 'lodash/isEqual';
|
|
19
21
|
import Mark from 'mark.js';
|
|
20
22
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
21
23
|
import { Trans, useTranslation } from 'react-i18next';
|
|
22
|
-
import { useLocation } from 'react-router';
|
|
24
|
+
import { useLocation } from 'react-router-dom';
|
|
23
25
|
import { AutoSizer, CellMeasurer, CellMeasurerCache, List, WindowScroller } from 'react-virtualized';
|
|
26
|
+
import { useCaseDispatch, useCaseSelector } from '../../../../context/CaseContext';
|
|
24
27
|
import { useCaseDetailsPageStateContext } from '../../../../context/CaseDetailsPageContext';
|
|
25
28
|
import { useCaseDiscussionTabDispatchContext, useCaseDiscussionTabStateContext, } from '../../../../context/CaseDiscussionTabContext';
|
|
26
29
|
import { clearReplyComment, discussionSortOrderConst, DiscussionType, setCommentText, setDiscussions, setFilter, setSort, updateAttachment, updateAttacmentsAfterRemoval, updateCommentStateFeedback, updateDiscussionStateAttachments, updateDiscussionStateComments, } from '../../../../reducers/CaseDiscussionTabReducer';
|
|
30
|
+
import { setCaseState } from '../../../../reducers/CaseReducer';
|
|
27
31
|
import { AttachmentContextProvider } from '../../../shared/fileUpload/reducer/AttachmentReducerContext';
|
|
28
32
|
import { PDFContext } from '../../PDFContainer';
|
|
29
33
|
import CaseAttachment from './CaseAttachment';
|
|
@@ -39,6 +43,12 @@ let cellMeasureCache = new CellMeasurerCache({
|
|
|
39
43
|
});
|
|
40
44
|
export default function CaseDiscussion(props) {
|
|
41
45
|
const { t } = useTranslation();
|
|
46
|
+
const { isPostingRemoteRequestCommentCompleted, screenSessionRequested, product, version } = useCaseSelector((state) => ({
|
|
47
|
+
isPostingRemoteRequestCommentCompleted: state.isPostingRemoteRequestCommentCompleted,
|
|
48
|
+
screenSessionRequested: state.caseDetails.screenSessionRequested,
|
|
49
|
+
product: state.caseDetails.product,
|
|
50
|
+
version: state.caseDetails.version,
|
|
51
|
+
}), isEqual);
|
|
42
52
|
const urlSearchParams = getUrlParsedParams(useLocation().search);
|
|
43
53
|
const discussionIdFromUrl = ((urlSearchParams === null || urlSearchParams === void 0 ? void 0 : urlSearchParams.commentId) ||
|
|
44
54
|
(urlSearchParams === null || urlSearchParams === void 0 ? void 0 : urlSearchParams.externalTrackerId) ||
|
|
@@ -48,6 +58,7 @@ export default function CaseDiscussion(props) {
|
|
|
48
58
|
const { sort, discussionFiltersListState, allDiscussions, replyCommentText, replyCommentCreator } = useCaseDiscussionTabStateContext();
|
|
49
59
|
const { globalMetadataState: { loggedInUsersAccount, navBarRef }, } = useGlobalStateContext();
|
|
50
60
|
const dispatchDiscussion = useCaseDiscussionTabDispatchContext();
|
|
61
|
+
const caseDispatch = useCaseDispatch();
|
|
51
62
|
const { caseDetailsPageState: { caseFeedbacksHydra, caseAttachmentHydra, caseExternalTrackersUpdate }, } = useCaseDetailsPageStateContext();
|
|
52
63
|
const { caseNumber } = props;
|
|
53
64
|
const activeElementId = useRef(null);
|
|
@@ -68,6 +79,10 @@ export default function CaseDiscussion(props) {
|
|
|
68
79
|
const [replyingToPrivateComment, setReplyingToPrivateComment] = useState(null);
|
|
69
80
|
// used for tracking comment section width changes
|
|
70
81
|
const [discussionSectionWidth, setDiscussionSectionWidth] = useState(null);
|
|
82
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
83
|
+
const [selectedFilterItems, setSelectedFilterItems] = useState([]);
|
|
84
|
+
const [isSortOpen, setIsSortOpen] = useState(false);
|
|
85
|
+
const [sortSelected, setSortSelected] = useState('Select a value');
|
|
71
86
|
if (props.isDiscussionTab) {
|
|
72
87
|
cellMeasureCache = new CellMeasurerCache({
|
|
73
88
|
fixedWidth: true,
|
|
@@ -88,15 +103,12 @@ export default function CaseDiscussion(props) {
|
|
|
88
103
|
: filter([...computeFilteredComments], (o) => { var _a; return searchResult.indexOf((_a = o === null || o === void 0 ? void 0 : o.item) === null || _a === void 0 ? void 0 : _a.id) !== -1; });
|
|
89
104
|
const isSearchResultEmpty = !isEmpty(searchCommentText) && (searchResult.length === 0 || comuteSearchedComments.length === 0);
|
|
90
105
|
const setVRCommentIndex = (cId) => {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
setCommentIndex(commentIndex < 0 ? 0 : commentIndex);
|
|
94
|
-
setJumpToCommentClicked(true);
|
|
95
|
-
}
|
|
106
|
+
setCommentIndex(cId < 0 ? 0 : cId);
|
|
107
|
+
setJumpToCommentClicked(true);
|
|
96
108
|
isCommentSearchCleared && setIsCommentSearchCleared(false);
|
|
97
109
|
};
|
|
98
110
|
useEffect(() => {
|
|
99
|
-
var _a;
|
|
111
|
+
var _a, _b;
|
|
100
112
|
isCommentSearchCleared && setIsCommentSearchCleared(false);
|
|
101
113
|
if (!discussionIdFromUrl ||
|
|
102
114
|
(activeElementId && activeElementId.current === discussionIdFromUrl) ||
|
|
@@ -105,8 +117,20 @@ export default function CaseDiscussion(props) {
|
|
|
105
117
|
}
|
|
106
118
|
activeElementId.current = discussionIdFromUrl;
|
|
107
119
|
if (allDiscussions.length > VC_MINIMUM_COMMENT) {
|
|
108
|
-
|
|
109
|
-
(
|
|
120
|
+
const commentIndex = findIndex([...comuteSearchedComments], (discussion) => discussion.item.id === discussionIdFromUrl);
|
|
121
|
+
setVRCommentIndex(commentIndex);
|
|
122
|
+
// to fix scrolling to comment index when scrollTop value from window scroller is 0
|
|
123
|
+
// initial list items
|
|
124
|
+
if (0 <= commentIndex && commentIndex <= 3) {
|
|
125
|
+
const offset = 80;
|
|
126
|
+
const scrollTopValue = ((_a = windowScrollerRef === null || windowScrollerRef === void 0 ? void 0 : windowScrollerRef.current) === null || _a === void 0 ? void 0 : _a._positionFromTop) - offset;
|
|
127
|
+
const scrollLeftValue = (_b = windowScrollerRef === null || windowScrollerRef === void 0 ? void 0 : windowScrollerRef.current) === null || _b === void 0 ? void 0 : _b._positionFromLeft;
|
|
128
|
+
window.scrollTo({
|
|
129
|
+
top: scrollTopValue,
|
|
130
|
+
left: scrollLeftValue,
|
|
131
|
+
behavior: 'smooth',
|
|
132
|
+
});
|
|
133
|
+
}
|
|
110
134
|
}
|
|
111
135
|
else if (!isEmpty(allDiscussions) && allDiscussions.length < VC_MINIMUM_COMMENT) {
|
|
112
136
|
activeDiscussionElementRef &&
|
|
@@ -139,14 +163,6 @@ export default function CaseDiscussion(props) {
|
|
|
139
163
|
}
|
|
140
164
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
141
165
|
}, [props.caseComments, caseAttachmentHydra, props.caseChats, caseFeedbacksHydra, caseExternalTrackersUpdate]);
|
|
142
|
-
const onSortChange = (selectedSort) => {
|
|
143
|
-
setSort(dispatchDiscussion, selectedSort.value, allDiscussions);
|
|
144
|
-
};
|
|
145
|
-
const onFilterChange = (selectedFilter) => {
|
|
146
|
-
selectedFilter = selectedFilter.map((item) => item.value.value);
|
|
147
|
-
setFilter(dispatchDiscussion, selectedFilter, discussionFiltersListState);
|
|
148
|
-
shouldRenderRVComponent && setCanUpdateScrollTop(false);
|
|
149
|
-
};
|
|
150
166
|
const onAttachmentRemove = (uuid_removed) => {
|
|
151
167
|
updateAttacmentsAfterRemoval(dispatchDiscussion, uuid_removed, allDiscussions, discussionFiltersListState);
|
|
152
168
|
};
|
|
@@ -154,7 +170,8 @@ export default function CaseDiscussion(props) {
|
|
|
154
170
|
updateCommentStateFeedback(dispatchDiscussion, comment_id, feedback, allDiscussions);
|
|
155
171
|
};
|
|
156
172
|
const onCommentAdded = () => __awaiter(this, void 0, void 0, function* () {
|
|
157
|
-
yield updateDiscussionStateComments(dispatchDiscussion, caseNumber, allDiscussions, sort, caseFeedbacksHydra.data, discussionFiltersListState);
|
|
173
|
+
yield updateDiscussionStateComments(dispatchDiscussion, caseDispatch, caseNumber, allDiscussions, sort, caseFeedbacksHydra.data, discussionFiltersListState);
|
|
174
|
+
dtmTrackEventCaseStepEncountered('comment', caseNumber, product, version);
|
|
158
175
|
});
|
|
159
176
|
const onAttachmentAdded = () => __awaiter(this, void 0, void 0, function* () {
|
|
160
177
|
yield updateDiscussionStateAttachments(dispatchDiscussion, caseNumber, allDiscussions, sort, loggedInUsersAccount.data.secureSupport, discussionFiltersListState);
|
|
@@ -208,7 +225,7 @@ export default function CaseDiscussion(props) {
|
|
|
208
225
|
const onMetadataUpdate = (attachmentId, updatedAttachment) => {
|
|
209
226
|
updateAttachment(dispatchDiscussion, attachmentId, updatedAttachment, allDiscussions);
|
|
210
227
|
};
|
|
211
|
-
const downloadAttachment = (
|
|
228
|
+
const downloadAttachment = (_a) => __awaiter(this, [_a], void 0, function* ({ caseNumber, uuid, name }) {
|
|
212
229
|
const tempToastId = ToastNotification.addInfoMessage(t('Starting file download'));
|
|
213
230
|
try {
|
|
214
231
|
yield caseAttachments.downloadAttachmentS3(caseNumber, uuid, name, false, loggedInUsersAccount.data.secureSupport);
|
|
@@ -230,7 +247,12 @@ export default function CaseDiscussion(props) {
|
|
|
230
247
|
useEffect(() => {
|
|
231
248
|
if (discussionSectionWidth && shouldRenderRVComponent) {
|
|
232
249
|
cellMeasureCache && cellMeasureCache.clearAll();
|
|
250
|
+
if (!isEmpty(discussionIdFromUrl)) {
|
|
251
|
+
const commentIndex = findIndex([...comuteSearchedComments], (discussion) => discussion.item.id === discussionIdFromUrl);
|
|
252
|
+
setVRCommentIndex(commentIndex);
|
|
253
|
+
}
|
|
233
254
|
}
|
|
255
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
234
256
|
}, [discussionSectionWidth, shouldRenderRVComponent]);
|
|
235
257
|
const renderVRCommentElement = () => {
|
|
236
258
|
return (React.createElement(WindowScroller, { ref: windowScrollerRef, onScroll: handleScroll }, ({ height, registerChild, onChildScroll, isScrolling, scrollTop }) => {
|
|
@@ -240,7 +262,7 @@ export default function CaseDiscussion(props) {
|
|
|
240
262
|
discussionSectionWidth !== width &&
|
|
241
263
|
setTimeout(() => setDiscussionSectionWidth(width), 0);
|
|
242
264
|
return (React.createElement("div", { ref: registerChild },
|
|
243
|
-
React.createElement(List, { ref: listRef, autoHeight: true, isScrolling: isScrolling, height: height, overscanRowCount: 10, rowRenderer: rowRenderer, rowCount: comuteSearchedComments.length, rowHeight: cellMeasureCache.rowHeight, deferredMeasurementCache: cellMeasureCache, width: width, scrollToIndex: commentIndex, scrollToAlignment: "
|
|
265
|
+
React.createElement(List, { ref: listRef, autoHeight: true, isScrolling: isScrolling, height: height, overscanRowCount: 10, rowRenderer: rowRenderer, rowCount: comuteSearchedComments.length, rowHeight: cellMeasureCache.rowHeight, deferredMeasurementCache: cellMeasureCache, width: width, scrollToIndex: commentIndex, scrollToAlignment: "center", onScroll: discussionIdFromUrl && canUpdateScrollTop
|
|
244
266
|
? onChildScroll
|
|
245
267
|
: customChildScroll })));
|
|
246
268
|
})));
|
|
@@ -271,7 +293,7 @@ export default function CaseDiscussion(props) {
|
|
|
271
293
|
}
|
|
272
294
|
};
|
|
273
295
|
const handleScroll = ({ scrollTop }) => {
|
|
274
|
-
var _a, _b, _c, _d, _e;
|
|
296
|
+
var _a, _b, _c, _d, _e, _f;
|
|
275
297
|
// here we are doing couple of things
|
|
276
298
|
// 1. check scroll position on the first comment, 2. set scrollposition as par window top
|
|
277
299
|
// 3. if user click on jump to comment button then select row as per commentid and adding css class.
|
|
@@ -286,27 +308,62 @@ export default function CaseDiscussion(props) {
|
|
|
286
308
|
if (isEmpty(discussionIdFromUrl) || commentTop > 0) {
|
|
287
309
|
(_c = listRef === null || listRef === void 0 ? void 0 : listRef.current) === null || _c === void 0 ? void 0 : _c.scrollToPosition(commentTop > 0 ? 0 : Math.abs(commentTop));
|
|
288
310
|
}
|
|
289
|
-
else if (commentTop < 0 && !isEmpty(discussionIdFromUrl)) {
|
|
311
|
+
else if (commentTop < 0 && !isEmpty(discussionIdFromUrl) && !isJumpToCommentClicked) {
|
|
290
312
|
(_d = listRef === null || listRef === void 0 ? void 0 : listRef.current) === null || _d === void 0 ? void 0 : _d.scrollToPosition(scrollTop);
|
|
291
313
|
}
|
|
292
314
|
if (isJumpToCommentClicked) {
|
|
293
315
|
(_e = listRef === null || listRef === void 0 ? void 0 : listRef.current) === null || _e === void 0 ? void 0 : _e.scrollToRow(commentIndex);
|
|
316
|
+
(_f = windowScrollerRef === null || windowScrollerRef === void 0 ? void 0 : windowScrollerRef.current) === null || _f === void 0 ? void 0 : _f.updatePosition();
|
|
294
317
|
setJumpToCommentClicked(false);
|
|
295
|
-
commentIndex !== -1 && setCommentIndex(-1);
|
|
296
318
|
}
|
|
297
319
|
}
|
|
298
320
|
};
|
|
299
321
|
const list = discussionFiltersListState.filter((filter) => filter.canSee);
|
|
322
|
+
useEffect(() => {
|
|
323
|
+
if (isPostingRemoteRequestCommentCompleted) {
|
|
324
|
+
onCommentAdded();
|
|
325
|
+
!isEmpty(allDiscussions) && setCaseState(caseDispatch, { isPostingRemoteRequestCommentCompleted: false });
|
|
326
|
+
}
|
|
327
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
328
|
+
}, [isPostingRemoteRequestCommentCompleted]);
|
|
329
|
+
const onToggleClick = (e) => {
|
|
330
|
+
e.stopPropagation();
|
|
331
|
+
setIsOpen(!isOpen);
|
|
332
|
+
};
|
|
333
|
+
const onSortToggleClick = (e) => {
|
|
334
|
+
e.stopPropagation();
|
|
335
|
+
setIsSortOpen(!isSortOpen);
|
|
336
|
+
};
|
|
337
|
+
const onFilterSelect = (_event, prevOption) => {
|
|
338
|
+
const isFilterSelected = !prevOption.isSelected; // to get updated state of changed filter
|
|
339
|
+
const prevSelectedFilters = list.filter((option) => option.isSelected && option.value !== prevOption.value); // to get previously selected filters
|
|
340
|
+
const prevSelectedFiltersValue = prevSelectedFilters.map((option) => option.value);
|
|
341
|
+
const newSelectedFilters = isFilterSelected // has all the selected values of filter with the updated selected filter state
|
|
342
|
+
? [...prevSelectedFiltersValue, prevOption.value]
|
|
343
|
+
: prevSelectedFiltersValue;
|
|
344
|
+
setFilter(dispatchDiscussion, newSelectedFilters, discussionFiltersListState);
|
|
345
|
+
shouldRenderRVComponent && setCanUpdateScrollTop(false);
|
|
346
|
+
setSelectedFilterItems(prevSelectedFiltersValue);
|
|
347
|
+
};
|
|
348
|
+
const toggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, onClick: onToggleClick, isExpanded: isOpen, isFullWidth: true }, getDropdownBtnPlaceholder(t('Select a filter'), list.filter((i) => i.isSelected).map((i) => i.filterLabel), ' ', list.length, t('All comments'))));
|
|
349
|
+
const onSortSelect = (_event, selectedSort) => {
|
|
350
|
+
setSort(dispatchDiscussion, selectedSort, allDiscussions);
|
|
351
|
+
setSortSelected(selectedSort.value);
|
|
352
|
+
setIsSortOpen(false);
|
|
353
|
+
};
|
|
354
|
+
const onSortToggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, onClick: onSortToggleClick, isExpanded: isSortOpen, isFullWidth: true }, sort.name));
|
|
300
355
|
return (React.createElement(React.Fragment, null,
|
|
301
356
|
React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading post comment section') } },
|
|
302
357
|
React.createElement(AttachmentContextProvider, null,
|
|
303
358
|
React.createElement(PostComment, { caseNumber: caseNumber, allDiscussions: allDiscussions, onCommentAdded: onCommentAdded, onAttachmentAdded: onAttachmentAdded, commentText: replyCommentText, onCommentClear: resetReplyComment, commentCreator: replyCommentCreator, defaultIsPublic: replyingToPrivateComment === null ? replyingToPrivateComment : !replyingToPrivateComment }))),
|
|
304
359
|
React.createElement(LoadingIndicator, { className: "text-center", isInline: true, show: caseAttachmentHydra.isFetching ||
|
|
305
360
|
caseExternalTrackersUpdate.isFetching ||
|
|
306
|
-
caseFeedbacksHydra.isFetching
|
|
361
|
+
caseFeedbacksHydra.isFetching ||
|
|
362
|
+
(screenSessionRequested && allDiscussions.length === 0) }),
|
|
307
363
|
!caseAttachmentHydra.isFetching &&
|
|
308
364
|
!caseFeedbacksHydra.isFetching &&
|
|
309
365
|
!caseExternalTrackersUpdate.isFetching &&
|
|
366
|
+
!screenSessionRequested &&
|
|
310
367
|
allDiscussions.length === 0 && React.createElement(Trans, null, "No comments"),
|
|
311
368
|
!caseAttachmentHydra.isFetching &&
|
|
312
369
|
!caseFeedbacksHydra.isFetching &&
|
|
@@ -315,12 +372,13 @@ export default function CaseDiscussion(props) {
|
|
|
315
372
|
React.createElement("div", { className: `pfe-l-grid pfe-m-all-6-col pfe-m-gutters push-bottom ${isExportingPDF ? 'hide-in-pdf' : ''}` },
|
|
316
373
|
React.createElement("div", { className: "pfe-m-12-col" }, allDiscussions.length > 20 && (React.createElement(CommentSearch, { caseDiscussions: computeFilteredComments || [], onCommentSearch: onCaseCommentSearch, isCommentSearchCleared: isCommentSearchCleared }))),
|
|
317
374
|
React.createElement("span", { className: "push-top-narrow" },
|
|
318
|
-
React.createElement(
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}), list: toOptions(list, { labelKey: 'filterLabel', disabledKey: 'isDisabled' }) })),
|
|
375
|
+
React.createElement("label", { htmlFor: "case-list-comments-dropdown", className: "pf-v5-u-mb-sm" }, t('Filter by')),
|
|
376
|
+
React.createElement(Select, { "data-tracking-id": "discussions-filter-comments-dropdown", id: "case-list-comments-dropdown", role: "menu", isOpen: isOpen, selected: selectedFilterItems, onSelect: onFilterSelect, onOpenChange: (isOpen) => setIsOpen(isOpen), toggle: toggle, popperProps: { direction: 'down', enableFlip: false }, zIndex: 9 },
|
|
377
|
+
React.createElement(SelectList, null, list.map((option) => (React.createElement(SelectOption, { hasCheckbox: true, value: option, isSelected: option.isSelected, isDisabled: option.isDisabled }, option.filterLabel)))))),
|
|
322
378
|
React.createElement("span", { className: "push-top-narrow" },
|
|
323
|
-
React.createElement(
|
|
379
|
+
React.createElement("label", { htmlFor: "se-discussion-sort", className: "pf-v5-u-mb-sm" }, t('Sort by')),
|
|
380
|
+
React.createElement(Select, { id: "se-discussion-sort", "data-tracking-id": "discussions-sort-dropdown", isOpen: isSortOpen, selected: sortSelected, onSelect: onSortSelect, onOpenChange: (isSortOpen) => setIsSortOpen(isSortOpen), toggle: onSortToggle, shouldFocusToggleOnSelect: true, popperProps: { direction: 'down', enableFlip: false }, zIndex: 9 },
|
|
381
|
+
React.createElement(SelectList, null, discussionSortOrderConst.map((option) => (React.createElement(SelectOption, { value: option, isSelected: isEqual(sort.name, option.name) }, option.name))))))),
|
|
324
382
|
React.createElement("div", { className: "support-comment-section" }, !shouldRenderRVComponent &&
|
|
325
383
|
!isSearchResultEmpty &&
|
|
326
384
|
comuteSearchedComments.map((discussion, index) => {
|
package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseExternalTrackerUpdate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseExternalTrackerUpdate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAQjF,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,sBAAsB,CAAC;IACtC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAC;CACzD;AAID,QAAA,MAAM,yBAAyB,4EA0F7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { markdownToHTML } from '@cee-eng/ui-toolkit';
|
|
2
|
+
import { Icon } from '@patternfly/react-core';
|
|
2
3
|
import TopologyIcon from '@patternfly/react-icons/dist/js/icons/topology-icon';
|
|
3
4
|
import { AbilityContext, CaseDiscussionFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
4
5
|
import { formatDateTime } from '@rh-support/utils';
|
|
@@ -16,7 +17,7 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
|
|
|
16
17
|
const canSeePrivateComments = ability.can(resourceActions.PATCH, resources.CASE_COMMENTS, CaseDiscussionFields.VIEW_PRIVATE_COMMENT);
|
|
17
18
|
const sanitize = (markdown) => {
|
|
18
19
|
const htmlString = markdownToHTML(markdown, { openLinksInNewTab: true });
|
|
19
|
-
return { __html: DOMPurify.sanitize(htmlString) };
|
|
20
|
+
return { __html: DOMPurify.sanitize(htmlString, { FORBID_TAGS: ['style'] }) };
|
|
20
21
|
};
|
|
21
22
|
const onJumpToComment = (externalTrackerId) => () => props.showJumpToComment && props.onJumpToComment && props.onJumpToComment(externalTrackerId);
|
|
22
23
|
// To check and set if a comment is private or not
|
|
@@ -26,8 +27,9 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
|
|
|
26
27
|
return (React.createElement("section", { ref: ref, id: props.trackerUpdate.id, className: `prevent-split support-comment ${isPrivateUpdate() ? 'private ' : ''}comment-external-tracker ${ref ? 'selected-case-comment' : ''}` },
|
|
27
28
|
React.createElement("header", null,
|
|
28
29
|
React.createElement("h4", null,
|
|
29
|
-
React.createElement(
|
|
30
|
-
|
|
30
|
+
React.createElement(Icon, { size: "sm" },
|
|
31
|
+
React.createElement(TopologyIcon, { title: "Comment from external tracker" }),
|
|
32
|
+
' '),
|
|
31
33
|
props.trackerUpdate.updateBy),
|
|
32
34
|
React.createElement("time", null, formatDateTime(props.trackerUpdate.createdDate))),
|
|
33
35
|
React.createElement("div", { className: "comment-body" },
|
|
@@ -44,7 +46,7 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
|
|
|
44
46
|
React.createElement(Trans, null, " External tracker"))))))),
|
|
45
47
|
!isPrivateUpdate() && props.trackerUpdate.customerVisible && (React.createElement("div", { className: "comment-note external-tracker-label" },
|
|
46
48
|
React.createElement(Trans, null, "External tracker"))),
|
|
47
|
-
React.createElement("span", { className: "pull-right pf-l-flex pf-m-align-items-center" },
|
|
49
|
+
React.createElement("span", { className: "pull-right pf-v5-l-flex pf-m-align-items-center" },
|
|
48
50
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.trackerUpdate.id), discussionType: DiscussionType.EXTERNAL_TRACKER, itemId: props.trackerUpdate.id, caseNumber: caseNumber, isCopyLink: false },
|
|
49
51
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
50
52
|
React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.trackerUpdate.id, discussionType: DiscussionType.EXTERNAL_TRACKER })))));
|