@rh-support/troubleshoot 2.7.1 → 2.7.10
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/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/AccountSelector.js +23 -33
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.js +90 -24
- package/lib/esm/components/AccountInfo/css/accountSelector.css +3 -2
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +47 -35
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +167 -90
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts +7 -0
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.js +12 -0
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +103 -37
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +44 -37
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts +1 -0
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +32 -11
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +94 -72
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +2 -0
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +4 -4
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts +3 -2
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.js +24 -11
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +2 -4
- 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.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +123 -70
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +240 -121
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +0 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +6 -6
- package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +3 -3
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +1 -3
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +55 -43
- package/lib/esm/components/CaseEditView/PDFContainer.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/PDFContainer.js +19 -15
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +33 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +31 -33
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +116 -91
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +33 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +114 -89
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts +15 -0
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.js +47 -0
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +9 -6
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +54 -48
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +84 -17
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +8 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +0 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +4 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +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.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +137 -59
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +6 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +13 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseSbrGroups.js +3 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +119 -65
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.js +3 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +22 -15
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.d.ts +1 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +6 -5
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.d.ts +25 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.js +102 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +44 -28
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +7 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +158 -101
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +10 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +294 -143
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +16 -16
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +9 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.js +8 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts +29 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.js +29 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts +17 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.js +62 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts +1 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.js +14 -12
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +9 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +223 -277
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +33 -25
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +8 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +55 -42
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +36 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +100 -248
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +4 -5
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +29 -12
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +32 -18
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.js +5 -7
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +41 -55
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RelatedTasks/RelatedTasks.js +2 -3
- package/lib/esm/components/CaseInformation/AISureMessageCard.d.ts +7 -0
- package/lib/esm/components/CaseInformation/AISureMessageCard.d.ts.map +1 -0
- package/lib/esm/components/CaseInformation/AISureMessageCard.js +15 -0
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +177 -55
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseInformation.js +15 -14
- package/lib/esm/components/CaseInformation/CaseLabels.d.ts +3 -0
- package/lib/esm/components/CaseInformation/CaseLabels.d.ts.map +1 -0
- package/lib/esm/components/CaseInformation/CaseLabels.js +108 -0
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +108 -31
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +3 -3
- package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Description.js +25 -7
- package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/FileDiag.js +2 -5
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +41 -27
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts +1 -0
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +8 -3
- package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Severity.js +34 -25
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +43 -51
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts +4 -0
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts.map +1 -0
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.js +141 -0
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +14 -17
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseManagement.js +15 -12
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +56 -51
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +50 -42
- 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 +74 -72
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +14 -9
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts +1 -4
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +136 -84
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +12 -8
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddContactToGroupModal.js +8 -8
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +19 -21
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +15 -10
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +94 -49
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +17 -34
- package/lib/esm/components/ConfirmationModals/PreCaseConfirmationModals.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/PreferredSecureSupportModal.js +1 -1
- package/lib/esm/components/Cve/CveItem.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveItem.js +14 -11
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveModal.js +12 -11
- package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -1
- package/lib/esm/components/Cve/CvePanel.js +18 -10
- package/lib/esm/components/Cve/CveSidebar.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveSidebar.js +9 -8
- package/lib/esm/components/EditDescription/EditDescription.d.ts.map +1 -1
- package/lib/esm/components/EditDescription/EditDescription.js +4 -2
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +30 -24
- package/lib/esm/components/ImproveCase/Hostname.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.js +2 -2
- package/lib/esm/components/ImproveCase/KtQuestions.js +6 -6
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/OpenCase.js +2 -8
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +10 -15
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +0 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +20 -39
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +67 -59
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +47 -56
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts +3 -0
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts.map +1 -0
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.js +9 -0
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +7 -16
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +13 -5
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +22 -12
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts +2 -0
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +18 -13
- package/lib/esm/components/Recommendations/ClusterRecommendationToast.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationToast.js +1 -4
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +3 -9
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.js +10 -11
- 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.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARule.js +9 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +6 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +9 -9
- package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +9 -5
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +25 -16
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +7 -7
- package/lib/esm/components/Recommendations/RecommendationInfoBox.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +7 -7
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +51 -42
- package/lib/esm/components/Recommendations/RecommendationsLoader.js +1 -1
- package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RulesModal.js +10 -12
- package/lib/esm/components/Recommendations/WatsonxAiIcon.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/WatsonxAiIcon.js +9 -10
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.js +10 -8
- package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +43 -28
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.js +7 -5
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts +2 -0
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +35 -13
- package/lib/esm/components/SessionRestore/SessionRestoreCard.js +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +34 -22
- package/lib/esm/components/Suggestions/EmptyTopContentSidebar.d.ts +3 -0
- package/lib/esm/components/Suggestions/EmptyTopContentSidebar.d.ts.map +1 -0
- package/lib/esm/components/Suggestions/EmptyTopContentSidebar.js +26 -0
- package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +31 -25
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +17 -17
- package/lib/esm/components/TroubleshootSection/AskRedHat.d.ts +9 -0
- package/lib/esm/components/TroubleshootSection/AskRedHat.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/AskRedHat.js +367 -0
- package/lib/esm/components/TroubleshootSection/CloseButton.d.ts +9 -0
- package/lib/esm/components/TroubleshootSection/CloseButton.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/CloseButton.js +5 -0
- package/lib/esm/components/TroubleshootSection/QuickResponse.d.ts +15 -0
- package/lib/esm/components/TroubleshootSection/QuickResponse.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/QuickResponse.js +26 -0
- package/lib/esm/components/TroubleshootSection/ResponseActionButton.d.ts +18 -0
- package/lib/esm/components/TroubleshootSection/ResponseActionButton.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/ResponseActionButton.js +28 -0
- package/lib/esm/components/TroubleshootSection/ResponseActions.d.ts +20 -0
- package/lib/esm/components/TroubleshootSection/ResponseActions.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/ResponseActions.js +54 -0
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts +20 -0
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +346 -27
- package/lib/esm/components/TroubleshootSection/UserFeedback.d.ts +13 -0
- package/lib/esm/components/TroubleshootSection/UserFeedback.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/UserFeedback.js +50 -0
- package/lib/esm/components/TroubleshootSection/UserFeedbackComplete.d.ts +10 -0
- package/lib/esm/components/TroubleshootSection/UserFeedbackComplete.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/UserFeedbackComplete.js +50 -0
- package/lib/esm/components/TroubleshootSection/icons/CollapseIcon.d.ts +9 -0
- package/lib/esm/components/TroubleshootSection/icons/CollapseIcon.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/icons/CollapseIcon.js +9 -0
- package/lib/esm/components/TroubleshootSection/icons/StarIcon.d.ts +9 -0
- package/lib/esm/components/TroubleshootSection/icons/StarIcon.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/icons/StarIcon.js +17 -0
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +157 -105
- package/lib/esm/components/shared/Constants.d.ts +1 -4
- package/lib/esm/components/shared/Constants.d.ts.map +1 -1
- package/lib/esm/components/shared/Constants.js +1 -4
- 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.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +11 -14
- package/lib/esm/components/shared/fileUpload/FileUpload.js +2 -3
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.js +3 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -0
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +13 -10
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +2 -0
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +4 -4
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +2 -2
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +22 -5
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +311 -60
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +5 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.js +36 -1
- package/lib/esm/components/shared/fileUpload/types/index.d.ts +5 -1
- package/lib/esm/components/shared/fileUpload/types/index.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts +2 -2
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.js +119 -47
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts +16 -6
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
- package/lib/esm/components/shared/input/ContactSelectorInternal.js +133 -23
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +70 -91
- package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.js +16 -28
- package/lib/esm/components/shared/utils.d.ts +1 -0
- package/lib/esm/components/shared/utils.d.ts.map +1 -1
- package/lib/esm/components/shared/utils.js +9 -3
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +187 -37
- package/lib/esm/components/wizardLayout/MainSection.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/MainSection.js +5 -4
- package/lib/esm/components/wizardLayout/NewFeatureModal.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/NewFeatureModal.js +6 -6
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +35 -15
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +17 -46
- package/lib/esm/components/wizardLayout/WizardMain.d.ts +10 -1
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +361 -22
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +8 -2
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +118 -75
- package/lib/esm/components/wizardLayout/index.d.ts +1 -0
- package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/index.js +1 -0
- package/lib/esm/constants/askRedHatMessages.d.ts +35 -0
- package/lib/esm/constants/askRedHatMessages.d.ts.map +1 -0
- package/lib/esm/constants/askRedHatMessages.js +61 -0
- package/lib/esm/constants/caseDetailsConstants.d.ts +15 -11
- package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
- package/lib/esm/constants/caseDetailsConstants.js +32 -12
- package/lib/esm/context/AIResponseContext.d.ts +10 -0
- package/lib/esm/context/AIResponseContext.d.ts.map +1 -0
- package/lib/esm/context/AIResponseContext.js +26 -0
- package/lib/esm/context/CaseContext.d.ts.map +1 -1
- package/lib/esm/context/RootTroubleshootProvider.d.ts.map +1 -1
- package/lib/esm/context/RootTroubleshootProvider.js +8 -6
- package/lib/esm/css/AskRedHat.css +495 -0
- package/lib/esm/css/app.css +54 -17
- package/lib/esm/css/case.css +499 -37
- package/lib/esm/css/productSelector.css +5 -1
- package/lib/esm/css/results.css +2 -2
- package/lib/esm/graphql/index.d.ts +4 -0
- package/lib/esm/graphql/index.d.ts.map +1 -0
- package/lib/esm/graphql/index.js +3 -0
- package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts +2 -0
- package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts.map +1 -0
- package/lib/esm/graphql/mutations/createRMECaseEscalation.js +24 -0
- package/lib/esm/graphql/mutations/index.d.ts +2 -0
- package/lib/esm/graphql/mutations/index.d.ts.map +1 -0
- package/lib/esm/graphql/mutations/index.js +1 -0
- package/lib/esm/graphql/queries/getEscalationDetails.d.ts +2 -0
- package/lib/esm/graphql/queries/getEscalationDetails.d.ts.map +1 -0
- package/lib/esm/graphql/queries/getEscalationDetails.js +36 -0
- package/lib/esm/graphql/queries/index.d.ts +2 -0
- package/lib/esm/graphql/queries/index.d.ts.map +1 -0
- package/lib/esm/graphql/queries/index.js +1 -0
- package/lib/esm/graphql/schemas/escalation.d.ts +66 -0
- package/lib/esm/graphql/schemas/escalation.d.ts.map +1 -0
- package/lib/esm/graphql/schemas/escalation.js +1 -0
- package/lib/esm/graphql/schemas/index.d.ts +2 -0
- package/lib/esm/graphql/schemas/index.d.ts.map +1 -0
- package/lib/esm/graphql/schemas/index.js +1 -0
- package/lib/esm/hooks/useAB.d.ts +23 -0
- package/lib/esm/hooks/useAB.d.ts.map +1 -0
- package/lib/esm/hooks/useAB.js +75 -0
- package/lib/esm/hooks/useARHResponse.d.ts +15 -0
- package/lib/esm/hooks/useARHResponse.d.ts.map +1 -0
- package/lib/esm/hooks/useARHResponse.js +103 -0
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts +4 -0
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.js +57 -0
- package/lib/esm/hooks/useCaseComments/index.d.ts +8 -0
- package/lib/esm/hooks/useCaseComments/index.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/index.js +5 -0
- package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts +25 -0
- package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/mapCaseComment.js +75 -0
- package/lib/esm/hooks/useCaseComments/types.d.ts +93 -0
- package/lib/esm/hooks/useCaseComments/types.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/types.js +1 -0
- package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts +26 -0
- package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/useCaseComments.js +116 -0
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts +19 -0
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.js +33 -0
- package/lib/esm/hooks/useCaseGroupUiState.d.ts +3 -0
- package/lib/esm/hooks/useCaseGroupUiState.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseGroupUiState.js +10 -0
- package/lib/esm/hooks/useCaseHistory.d.ts +26 -0
- package/lib/esm/hooks/useCaseHistory.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseHistory.js +107 -0
- package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts +23 -0
- package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts.map +1 -0
- package/lib/esm/hooks/useCaseLabelLinkMutations.js +84 -0
- package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts +9 -1
- package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts.map +1 -1
- package/lib/esm/hooks/useCaseUpdateErrorMessage.js +108 -11
- package/lib/esm/hooks/useResetCaseCreate.d.ts.map +1 -1
- package/lib/esm/hooks/useResetCaseCreate.js +18 -11
- package/lib/esm/hooks/useS3Upload.d.ts +5 -4
- package/lib/esm/hooks/useS3Upload.d.ts.map +1 -1
- package/lib/esm/hooks/useS3Upload.js +28 -30
- package/lib/esm/hooks/useWizard.d.ts +14 -0
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +33 -11
- package/lib/esm/i18n/template-de.d.ts +82 -4
- package/lib/esm/i18n/template-de.d.ts.map +1 -1
- package/lib/esm/i18n/template-de.js +82 -4
- package/lib/esm/i18n/template-es.d.ts +81 -3
- package/lib/esm/i18n/template-es.d.ts.map +1 -1
- package/lib/esm/i18n/template-es.js +81 -3
- package/lib/esm/i18n/template-fr.d.ts +81 -3
- package/lib/esm/i18n/template-fr.d.ts.map +1 -1
- package/lib/esm/i18n/template-fr.js +81 -3
- package/lib/esm/i18n/template-it.d.ts +81 -3
- package/lib/esm/i18n/template-it.d.ts.map +1 -1
- package/lib/esm/i18n/template-it.js +81 -3
- package/lib/esm/i18n/template-jp.d.ts +81 -3
- package/lib/esm/i18n/template-jp.d.ts.map +1 -1
- package/lib/esm/i18n/template-jp.js +81 -3
- package/lib/esm/i18n/template-ko.d.ts +81 -3
- package/lib/esm/i18n/template-ko.d.ts.map +1 -1
- package/lib/esm/i18n/template-ko.js +81 -3
- package/lib/esm/i18n/template-pt.d.ts +81 -3
- package/lib/esm/i18n/template-pt.d.ts.map +1 -1
- package/lib/esm/i18n/template-pt.js +81 -3
- package/lib/esm/i18n/template-ru.d.ts +47 -3
- package/lib/esm/i18n/template-ru.d.ts.map +1 -1
- package/lib/esm/i18n/template-ru.js +47 -3
- package/lib/esm/i18n/template-zh.d.ts +59 -3
- package/lib/esm/i18n/template-zh.d.ts.map +1 -1
- package/lib/esm/i18n/template-zh.js +59 -3
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +2 -0
- package/lib/esm/models/cache.d.ts +0 -2
- package/lib/esm/models/cache.d.ts.map +1 -1
- package/lib/esm/models/caseHistory.d.ts +86 -0
- package/lib/esm/models/caseHistory.d.ts.map +1 -0
- package/lib/esm/models/caseHistory.js +1 -0
- package/lib/esm/reducers/AIResponseConstNTypes.d.ts +90 -0
- package/lib/esm/reducers/AIResponseConstNTypes.d.ts.map +1 -0
- package/lib/esm/reducers/AIResponseConstNTypes.js +33 -0
- package/lib/esm/reducers/AIResponseReducer.d.ts +14 -0
- package/lib/esm/reducers/AIResponseReducer.d.ts.map +1 -0
- package/lib/esm/reducers/AIResponseReducer.js +80 -0
- package/lib/esm/reducers/CaseConstNTypes.d.ts +129 -9
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +39 -10
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +7 -5
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.js +61 -26
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +11 -10
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.js +95 -64
- package/lib/esm/reducers/CaseHelpers.d.ts +26 -7
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.js +150 -27
- package/lib/esm/reducers/CaseOverviewReducer.d.ts +3 -1
- package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseOverviewReducer.js +7 -5
- package/lib/esm/reducers/CaseReducer.d.ts +59 -12
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +311 -95
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.js +16 -19
- package/lib/esm/reducers/RouteConstNTypes.d.ts +1 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +4 -1
- package/lib/esm/reducers/RouteReducer.d.ts +2 -2
- package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RouteReducer.js +1 -1
- package/lib/esm/reducers/RulesReducer.d.ts +11 -4
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.js +6 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +4 -3
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +51 -17
- package/lib/esm/reducers/TopContentReducer.d.ts.map +1 -1
- package/lib/esm/reducers/TopContentReducer.js +1 -1
- package/lib/esm/scss/_main.scss +295 -117
- package/lib/esm/scss/_pf-overrides.scss +269 -162
- package/lib/esm/utils/TimelineUtils.d.ts +41 -0
- package/lib/esm/utils/TimelineUtils.d.ts.map +1 -0
- package/lib/esm/utils/TimelineUtils.js +135 -0
- package/lib/esm/utils/caseDetailsCacheUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseDetailsCacheUtils.js +1 -0
- package/lib/esm/utils/caseHistoryUtils.d.ts +85 -0
- package/lib/esm/utils/caseHistoryUtils.d.ts.map +1 -0
- package/lib/esm/utils/caseHistoryUtils.js +200 -0
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts +1 -2
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.js +4 -4
- package/lib/esm/utils/caseSeverityFtsGraphQLUtils.d.ts +6 -0
- package/lib/esm/utils/caseSeverityFtsGraphQLUtils.d.ts.map +1 -0
- package/lib/esm/utils/caseSeverityFtsGraphQLUtils.js +26 -0
- package/lib/esm/utils/caseUtils.d.ts.map +1 -1
- package/lib/esm/utils/engagementUtils.d.ts +3 -0
- package/lib/esm/utils/engagementUtils.d.ts.map +1 -0
- package/lib/esm/utils/engagementUtils.js +16 -0
- package/lib/esm/utils/linkifyHtmlTextNodes.d.ts +8 -0
- package/lib/esm/utils/linkifyHtmlTextNodes.d.ts.map +1 -0
- package/lib/esm/utils/linkifyHtmlTextNodes.js +37 -0
- package/lib/esm/utils/remoteRiderUtils.d.ts.map +1 -1
- package/lib/esm/utils/visitedResourcesUtils.d.ts +31 -0
- package/lib/esm/utils/visitedResourcesUtils.d.ts.map +1 -0
- package/lib/esm/utils/visitedResourcesUtils.js +99 -0
- package/package.json +21 -26
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.css +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterRecommendationsReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/ClusterRecommendationsReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,sBAAsB,EACtB,6BAA6B,EAChC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC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AsB,EAAE,CAAC,CAAC;IACtE,iCAAiC,EAAE,OAAO,CAAC;IAC3C,2BAA2B,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,CAAA;KAAE,CAAC;CACjF;AAED,eAAO,MAAM,YAAY,EAAE,uCAI1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACtC,OAAO,uCAAuC,EAC9C,QAAQ,WAAW,KACpB,uCAmBF,CAAC;AAGF,eAAO,MAAM,2BAA2B,GAAI,UAAU,kCAAkC,SAEvF,CAAC;AACF,eAAO,MAAM,2BAA2B,GACpC,UAAU,kCAAkC,EAC5C,WAAW,MAAM,EACjB,gCAA2B,kBAoC9B,CAAC;AACF,eAAO,MAAM,gCAAgC,GACzC,UAAU,kCAAkC,EAC5C,yBAAyB,OAAO,SAMnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecommendationsReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RecommendationsReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAoB,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACpH,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAiB,MAAM,0CAA0C,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAIH,gCAAgC,
|
|
1
|
+
{"version":3,"file":"RecommendationsReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RecommendationsReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAoB,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACpH,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAiB,MAAM,0CAA0C,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAIH,gCAAgC,EAGnC,MAAM,mBAAmB,CAAC;AAI3B,KAAK,WAAW,GAAG,OAAO,CAAC,wBAAwB,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AC;AAEF,eAAO,MAAM,2BAA2B,GACpC,UAAU,kCAAkC,EAC5C,OAAO,mBAAmB,EAC1B,UAAU,MAAM,EAChB,WAAW,MAAM,EACjB,2BAA2B,MAAM,EACjC,uBAAqB,EACrB,oBAAoB,gCAAgC,EACpD,cAAc,WAAW,kBA6B5B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,UAAU,kCAAkC,EAAE,SAAS,mBAAmB,EAAE,SAE1G,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,UAAU,kCAAkC,EAAE,SAAS,MAAM,SAE3F,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,UAAU,kCAAkC,EAAE,gBAAgB,MAAM,EAAE,SAE5G,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,UAAU,kCAAkC,SAEhF,CAAC"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { search } from '@cee-eng/hydrajs';
|
|
11
|
-
import { convertObjToEncodedQueryParams, getSolrParams, getTrimmedCharacters, replaceHighlightingData, } from '@rh-support/utils';
|
|
11
|
+
import { convertObjToEncodedQueryParams, getSolrParams, getTrimmedCharacters, replaceHighlightingData, uniqueRecommendationDocs, } from '@rh-support/utils';
|
|
12
12
|
import { WATSONX_DESCRIPTION_LIMIT, WATSONX_SUMMARY_LIMIT } from './CaseConstNTypes';
|
|
13
13
|
export const initialRecommendationsState = {
|
|
14
14
|
isLoadingRecommendations: false,
|
|
@@ -76,6 +76,19 @@ export const recommandationsReducer = (state, action) => {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
|
+
const dispatchReceivedRecommendations = (dispatch, response, page_size) => {
|
|
80
|
+
var _a;
|
|
81
|
+
const highlightedDocs = replaceHighlightingData(response.response.docs, response.highlighting);
|
|
82
|
+
const docs = uniqueRecommendationDocs(highlightedDocs);
|
|
83
|
+
dispatch({
|
|
84
|
+
type: RecommendationsConstants.receivedRecommendations,
|
|
85
|
+
payload: {
|
|
86
|
+
allDocs: docs,
|
|
87
|
+
visibleDocs: docs.slice(0, page_size),
|
|
88
|
+
numFound: Math.max(0, ((_a = response.response.numFound) !== null && _a !== void 0 ? _a : docs.length) - (highlightedDocs.length - docs.length)),
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
};
|
|
79
92
|
// Actions
|
|
80
93
|
export const fetchRecommendations = (dispatch_1, body_1, max_rows_1, page_size_1, highlighted_fragment_size_1, ...args_1) => __awaiter(void 0, [dispatch_1, body_1, max_rows_1, page_size_1, highlighted_fragment_size_1, ...args_1], void 0, function* (dispatch, body, max_rows, page_size, highlighted_fragment_size, seQueryFields = false, caseNumber, isSecureSupportAccount, additionalFilters, abortSignal) {
|
|
81
94
|
dispatch({
|
|
@@ -91,15 +104,7 @@ export const fetchRecommendations = (dispatch_1, body_1, max_rows_1, page_size_1
|
|
|
91
104
|
const response = yield search.getRecommendationsForCase(body, Object.assign(Object.assign({}, searchParams), { caseNumber,
|
|
92
105
|
isSecureSupportAccount }), // Need to pass caseNumber and isSecureSupportAccount flag with SOLR parameter which will be used in service worker strategy.
|
|
93
106
|
abortSignal);
|
|
94
|
-
|
|
95
|
-
dispatch({
|
|
96
|
-
type: RecommendationsConstants.receivedRecommendations,
|
|
97
|
-
payload: {
|
|
98
|
-
allDocs: docs,
|
|
99
|
-
visibleDocs: docs.slice(0, page_size),
|
|
100
|
-
numFound: response.response.numFound,
|
|
101
|
-
},
|
|
102
|
-
});
|
|
107
|
+
dispatchReceivedRecommendations(dispatch, response, page_size);
|
|
103
108
|
}
|
|
104
109
|
catch (error) {
|
|
105
110
|
dispatch({ type: RecommendationsConstants.receivedRecommendationsError });
|
|
@@ -118,15 +123,7 @@ export const fetchWatsonXRecommendations = (dispatch_1, query_1, max_rows_1, pag
|
|
|
118
123
|
description: getTrimmedCharacters(query.description, WATSONX_DESCRIPTION_LIMIT),
|
|
119
124
|
};
|
|
120
125
|
const response = yield search.getWatsonXRecommendationsForCase2(convertObjToEncodedQueryParams(Object.assign({ rerank: true }, getSolrParams(max_rows, highlighted_fragment_size, additionalFilters, seQueryFields))), bodyPayload, abortSignal);
|
|
121
|
-
|
|
122
|
-
dispatch({
|
|
123
|
-
type: RecommendationsConstants.receivedRecommendations,
|
|
124
|
-
payload: {
|
|
125
|
-
allDocs: docs,
|
|
126
|
-
visibleDocs: docs.slice(0, page_size),
|
|
127
|
-
numFound: response.response.numFound,
|
|
128
|
-
},
|
|
129
|
-
});
|
|
126
|
+
dispatchReceivedRecommendations(dispatch, response, page_size);
|
|
130
127
|
}
|
|
131
128
|
catch (error) {
|
|
132
129
|
dispatch({ type: RecommendationsConstants.receivedRecommendationsError });
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WizardStep } from '@patternfly/react-core/deprecated';
|
|
2
1
|
export interface IRouteQueryParams {
|
|
3
2
|
product?: string;
|
|
4
3
|
version?: string;
|
|
@@ -11,7 +10,7 @@ export interface IRouteQueryParams {
|
|
|
11
10
|
caseNumber?: string | undefined;
|
|
12
11
|
useflow?: string;
|
|
13
12
|
}
|
|
14
|
-
export interface ISectionConfiguration
|
|
13
|
+
export interface ISectionConfiguration {
|
|
15
14
|
id: number | string;
|
|
16
15
|
stepName: string;
|
|
17
16
|
nextButtonLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"RouteConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteConstNTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MA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,oBAA+D,CAAC;AAEhH,eAAO,MAAM,kCAAkC,oBAM9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,oBAO3C,CAAC;AAEF,eAAO,MAAM,0CAA0C,oBAStD,CAAC;AAEF,eAAO,MAAM,sCAAsC,oBAA4D,CAAC;AAEhH,eAAO,MAAM,qCAAqC,oBAGjD,CAAC;AAEF,eAAO,MAAM,6BAA6B,oBAAiC,CAAC;AAE5E,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAKtD,CAAC"}
|
|
@@ -18,12 +18,14 @@ export const openCaseNonTechnicalSequence = [
|
|
|
18
18
|
AppRouteSections.GET_SUPPORT,
|
|
19
19
|
AppRouteSections.SUMMARIZE,
|
|
20
20
|
AppRouteSections.DESCRIBE_IDEA,
|
|
21
|
+
AppRouteSections.REVIEW,
|
|
21
22
|
];
|
|
22
23
|
export const troubleshootNonTechnicalSequence = [
|
|
23
24
|
AppRouteSections.TROUBLESHOOT,
|
|
24
25
|
AppRouteSections.RESOURCES,
|
|
25
26
|
AppRouteSections.GET_SUPPORT,
|
|
26
27
|
AppRouteSections.DESCRIBE_IDEA,
|
|
28
|
+
AppRouteSections.REVIEW,
|
|
27
29
|
];
|
|
28
30
|
export const troubleshootRouteSectionsSequence = [
|
|
29
31
|
AppRouteSections.TROUBLESHOOT,
|
|
@@ -56,7 +58,6 @@ export const openCaseRouteSectionSequence = [
|
|
|
56
58
|
export const sessionRestoreCardSections = [AppRouteSections.GET_SUPPORT];
|
|
57
59
|
export const hideFileUploadSidebarWidgetSections = [AppRouteSections.GET_SUPPORT, AppRouteSections.SUBMIT_CASE];
|
|
58
60
|
export const showSidebarRecommendationsSections = [
|
|
59
|
-
AppRouteSections.RESOURCES,
|
|
60
61
|
AppRouteSections.ADDITIONAL_INFORMATION,
|
|
61
62
|
AppRouteSections.DESCRIBE_IDEA,
|
|
62
63
|
AppRouteSections.CONFIGURATION,
|
|
@@ -69,6 +70,7 @@ export const showSideBarEARuleWidgetSections = [
|
|
|
69
70
|
AppRouteSections.RESOURCES,
|
|
70
71
|
AppRouteSections.CONFIGURATION,
|
|
71
72
|
AppRouteSections.GET_SUPPORT,
|
|
73
|
+
AppRouteSections.TROUBLESHOOT,
|
|
72
74
|
];
|
|
73
75
|
export const showSideBarEARuleWidgetSectionsExperienceA = [
|
|
74
76
|
AppRouteSections.SUMMARIZE,
|
|
@@ -78,6 +80,7 @@ export const showSideBarEARuleWidgetSectionsExperienceA = [
|
|
|
78
80
|
AppRouteSections.CONFIGURATION,
|
|
79
81
|
AppRouteSections.GET_SUPPORT,
|
|
80
82
|
AppRouteSections.REVIEW,
|
|
83
|
+
AppRouteSections.TROUBLESHOOT,
|
|
81
84
|
];
|
|
82
85
|
export const showSideBarClusterIdRuleWidgetSections = [AppRouteSections.CONFIGURATION, AppRouteSections.REVIEW];
|
|
83
86
|
export const showSideBarFileRecommendationSections = [
|
|
@@ -6,7 +6,7 @@ export interface IRouteState {
|
|
|
6
6
|
isCaseCreate: boolean;
|
|
7
7
|
isSearchIntent: boolean;
|
|
8
8
|
isNextBtnClickedToShowValidationError: boolean;
|
|
9
|
-
noValidEntitlement: boolean;
|
|
9
|
+
noValidEntitlement: boolean | null;
|
|
10
10
|
}
|
|
11
11
|
export declare enum RouteReducerConstants {
|
|
12
12
|
activeSectionChanged = "activeSectionChanged",
|
|
@@ -23,7 +23,7 @@ export type RouteReducerDispatchType = (value: IActionType) => void;
|
|
|
23
23
|
export declare function isSearchIntent(isCaseCreate: boolean, summary: string): boolean;
|
|
24
24
|
export declare const initialRouteReducerState: IRouteState;
|
|
25
25
|
export declare const routeReducer: (pState: IRouteState, action: IActionType) => IRouteState;
|
|
26
|
-
export declare const setNoValidEntitlement: (dispatch: RouteReducerDispatchType, noValidEntitlement: boolean) => void;
|
|
26
|
+
export declare const setNoValidEntitlement: (dispatch: RouteReducerDispatchType, noValidEntitlement: boolean | null) => void;
|
|
27
27
|
export declare const setRouteFlags: (dispatch: RouteReducerDispatchType, isCaseCreate: boolean, isSearchIntent: boolean) => void;
|
|
28
28
|
export declare const setActiveSectionChanged: (dispatch: RouteReducerDispatchType, activeSection: AppRouteSections, activeStepName: string) => void;
|
|
29
29
|
export declare const updateisNextBtnClickedToShowValidationError: (dispatch: RouteReducerDispatchType, isNextBtnClickedToShowValidationError: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RouteReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,WAAW,WAAW;IACxB,aAAa,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC5C,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,qCAAqC,EAAE,OAAO,CAAC;IAC/C,kBAAkB,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RouteReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RouteReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,MAAM,WAAW,WAAW;IACxB,aAAa,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC5C,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,qCAAqC,EAAE,OAAO,CAAC;IAC/C,kBAAkB,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAGD,oBAAY,qBAAqB;IAC7B,oBAAoB,yBAAyB;IAC7C,aAAa,kBAAkB;IAC/B,wCAAwC,6CAA6C;IACrF,qBAAqB,0BAA0B;CAClD;AAED,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAClD,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB;AACD,KAAK,WAAW,GAAG,OAAO,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;AACrE,MAAM,MAAM,wBAAwB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAEpE,wBAAgB,cAAc,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAE9E;AAGD,eAAO,MAAM,wBAAwB,EAAE,WAOtC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,WAAW,EAAE,QAAQ,WAAW,KAAG,WA6BvE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,UAAU,wBAAwB,EAAE,oBAAoB,OAAO,GAAG,IAAI,SAE3G,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,UAAU,wBAAwB,EAAE,cAAc,OAAO,EAAE,gBAAgB,OAAO,SAK/G,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAChC,UAAU,wBAAwB,EAClC,eAAe,gBAAgB,EAC/B,gBAAgB,MAAM,SAMzB,CAAC;AAEF,eAAO,MAAM,2CAA2C,GACpD,UAAU,wBAAwB,EAClC,uCAAuC,OAAO,SAMjD,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const initialRouteReducerState = {
|
|
|
17
17
|
isCaseCreate: false,
|
|
18
18
|
isSearchIntent: false,
|
|
19
19
|
isNextBtnClickedToShowValidationError: false,
|
|
20
|
-
noValidEntitlement:
|
|
20
|
+
noValidEntitlement: null,
|
|
21
21
|
};
|
|
22
22
|
export const routeReducer = (pState, action) => {
|
|
23
23
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { IEdmundAbbottBodyV2, IRule } from '@cee-eng/hydrajs/@types/api/pcm/edmundAbbott';
|
|
2
2
|
import { ISolrRecommendation } from '@cee-eng/hydrajs/@types/models/solr/solr';
|
|
3
3
|
import { IAction } from '@rh-support/types/shared';
|
|
4
|
+
export interface ISOSReportRecommendation extends ISolrRecommendation {
|
|
5
|
+
attachmentId: string;
|
|
6
|
+
isNew: boolean;
|
|
7
|
+
}
|
|
4
8
|
export declare enum RulesReducerConstants {
|
|
5
9
|
CustomerPortalRuleVisibilityChanged = "CustomerPortalRuleVisibilityChanged",
|
|
6
10
|
EARuleVisibilityChanged = "EARuleVisibilityChanged",
|
|
@@ -12,7 +16,8 @@ export declare enum RulesReducerConstants {
|
|
|
12
16
|
resetEARules = "resetEARules",
|
|
13
17
|
setIsEARuleWidgetVisible = "setIsEARuleWidgetVisible",
|
|
14
18
|
EARuleMarkResolved = "EARuleMarkResolved",
|
|
15
|
-
setInsightRules = "setInsightRules"
|
|
19
|
+
setInsightRules = "setInsightRules",
|
|
20
|
+
setAllResults = "setAllResults"
|
|
16
21
|
}
|
|
17
22
|
export interface IAllRules {
|
|
18
23
|
customerPortalRules: IRules;
|
|
@@ -23,6 +28,7 @@ export interface IAllRules {
|
|
|
23
28
|
triggerRuleNotification: boolean;
|
|
24
29
|
isRuleModalVisible: boolean;
|
|
25
30
|
isEARuleWidgetVisible: boolean;
|
|
31
|
+
allResults: ISOSReportRecommendation[];
|
|
26
32
|
}
|
|
27
33
|
export interface IExtendedRule extends IRule {
|
|
28
34
|
isNew?: boolean;
|
|
@@ -31,9 +37,10 @@ export interface IExtendedRule extends IRule {
|
|
|
31
37
|
export interface IExtendedSolrRecommendation extends ISolrRecommendation {
|
|
32
38
|
cta?: string;
|
|
33
39
|
}
|
|
34
|
-
export interface IRulePayloadType extends IAllRules {
|
|
35
|
-
rule
|
|
36
|
-
rules
|
|
40
|
+
export interface IRulePayloadType extends Omit<IAllRules, 'allResults'> {
|
|
41
|
+
rule?: IExtendedRule | IExtendedSolrRecommendation;
|
|
42
|
+
rules?: IExtendedRule[] | IExtendedSolrRecommendation[];
|
|
43
|
+
allResults?: ISOSReportRecommendation[];
|
|
37
44
|
}
|
|
38
45
|
type IActionType = IAction<RulesReducerConstants, IRulePayloadType>;
|
|
39
46
|
export type RulesDispatchType = (value: IActionType) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RulesReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RulesReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,oBAAY,qBAAqB;IAC7B,mCAAmC,wCAAwC;IAC3E,uBAAuB,4BAA4B;IACnD,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,kCAAkC,uCAAuC;IACzE,YAAY,iBAAiB;IAC7B,wBAAwB,6BAA6B;IACrD,kBAAkB,uBAAuB;IACzC,eAAe,oBAAoB;
|
|
1
|
+
{"version":3,"file":"RulesReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/RulesReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnD,MAAM,WAAW,wBAAyB,SAAQ,mBAAmB;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,oBAAY,qBAAqB;IAC7B,mCAAmC,wCAAwC;IAC3E,uBAAuB,4BAA4B;IACnD,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,8BAA8B,mCAAmC;IACjE,uBAAuB,4BAA4B;IACnD,kCAAkC,uCAAuC;IACzE,YAAY,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AAI,OAAO,SAAS,EAAE,QAAQ,WAAW,KAAG,SAiFpE,CAAC;AAGF,eAAO,MAAM,sCAAsC,GAAI,UAAU,iBAAiB,EAAE,MAAM,KAAK,SAE9F,CAAC;AACF,eAAO,MAAM,0BAA0B,GAAI,UAAU,iBAAiB,EAAE,MAAM,KAAK,SAElF,CAAC;AACF,eAAO,MAAM,YAAY,GAAI,UAAU,iBAAiB,SAEvD,CAAC;AACF,eAAO,MAAM,sBAAsB,GAC/B,UAAU,iBAAiB,EAC3B,MAAM,OAAO,CAAC,mBAAmB,CAAC,EAClC,eAAe,CAAC,UAAU,EAAE,KAAK,EAAE,KAAK,IAAI,kBAa/C,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,UAAU,iBAAiB,EAAE,uBAAuB,OAAO,SAKnG,CAAC;AACF,eAAO,MAAM,kBAAkB,GAAI,UAAU,iBAAiB,EAAE,MAAM,KAAK,SAE1E,CAAC;AACF,eAAO,MAAM,eAAe,GAAI,UAAU,iBAAiB,EAAE,aAAa,2BAA2B,EAAE,SAEtG,CAAC"}
|
|
@@ -24,6 +24,7 @@ export var RulesReducerConstants;
|
|
|
24
24
|
RulesReducerConstants["setIsEARuleWidgetVisible"] = "setIsEARuleWidgetVisible";
|
|
25
25
|
RulesReducerConstants["EARuleMarkResolved"] = "EARuleMarkResolved";
|
|
26
26
|
RulesReducerConstants["setInsightRules"] = "setInsightRules";
|
|
27
|
+
RulesReducerConstants["setAllResults"] = "setAllResults";
|
|
27
28
|
})(RulesReducerConstants || (RulesReducerConstants = {}));
|
|
28
29
|
export const initialRulesState = {
|
|
29
30
|
customerPortalRules: {
|
|
@@ -55,9 +56,10 @@ export const initialRulesState = {
|
|
|
55
56
|
triggerRuleNotification: false,
|
|
56
57
|
isRuleModalVisible: false,
|
|
57
58
|
isEARuleWidgetVisible: true,
|
|
59
|
+
allResults: [],
|
|
58
60
|
};
|
|
59
61
|
export const rulesReducer = (state, action) => {
|
|
60
|
-
var _a, _b, _c;
|
|
62
|
+
var _a, _b, _c, _d;
|
|
61
63
|
switch (action.type) {
|
|
62
64
|
case RulesReducerConstants.CustomerPortalRuleVisibilityChanged: {
|
|
63
65
|
const portalRules = state.customerPortalRules.rules;
|
|
@@ -109,6 +111,9 @@ export const rulesReducer = (state, action) => {
|
|
|
109
111
|
case RulesReducerConstants.setInsightRules: {
|
|
110
112
|
return Object.assign(Object.assign({}, state), { insightRules: Object.assign(Object.assign({}, state.insightRules), { rules: action.payload.rules }) });
|
|
111
113
|
}
|
|
114
|
+
case RulesReducerConstants.setAllResults: {
|
|
115
|
+
return Object.assign(Object.assign({}, state), { allResults: (_d = action.payload.allResults) !== null && _d !== void 0 ? _d : [] });
|
|
116
|
+
}
|
|
112
117
|
default: {
|
|
113
118
|
return state;
|
|
114
119
|
}
|
|
@@ -63,11 +63,12 @@ export declare const loadPreviousSessions: (dispatch: SessionReducerDispatchType
|
|
|
63
63
|
export declare const createSession: (dispatch: SessionReducerDispatchType, sessionDetails: ISessionDetails, session: ISession) => Promise<string>;
|
|
64
64
|
export declare const updateSession: (dispatch: SessionReducerDispatchType, sessionId: string, sessionDetails: ISessionDetails, session?: ISession) => Promise<void>;
|
|
65
65
|
export declare const updateActiveSessionId: (dispatch: SessionReducerDispatchType, activeSessionId: string) => void;
|
|
66
|
+
export declare const isAISureSession: (sessionItem: ISessionItem) => boolean;
|
|
66
67
|
export declare function getRelevantSessionFromSessions(dispatch: SessionReducerDispatchType, currentRelevantSessionId: string, previousSessions: IPrevSessions, caseDetails: Partial<ICasePayload>): string;
|
|
67
68
|
export declare function markAllSessionsUnresolved(dispatch: SessionReducerDispatchType, sessionData: IPrevSessions, userAgent: string): Promise<void>;
|
|
68
|
-
export declare function createOrUpdateSessionResources(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources
|
|
69
|
-
export declare function createSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, payload: string, resources
|
|
70
|
-
export declare function updateSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources: ISessionResource[], workflowSource?: string | undefined): Promise<void>;
|
|
69
|
+
export declare function createOrUpdateSessionResources(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources: ISessionResource[] | undefined, payload?: string, workflowSource?: string | undefined): Promise<void>;
|
|
70
|
+
export declare function createSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, payload: string, resources: ISessionResource[] | undefined, workflowSource?: string | undefined): Promise<void>;
|
|
71
|
+
export declare function updateSessionResourcesLocal(dispatch: SessionReducerDispatchType, activeSessionId: string, currentSessionResourceTracking: ISessionResourcesTracking, source: ISessionResourceSource, resources: ISessionResource[] | undefined, workflowSource?: string | undefined): Promise<void>;
|
|
71
72
|
export declare const getSessResTCCategory: (tcCategory: ITopContentList, visibilityStatus: ISessionResourceVisibility, rank?: number) => ISessionResource[];
|
|
72
73
|
export declare const getSessResTC: (tc: ITopContent, visibilityStatus: ISessionResourceVisibility, rank?: number) => ISessionResource;
|
|
73
74
|
export declare function getSessResFromRecs(recs: ISolrRecommendation[], visibilityStatus: ISessionResourceVisibility, pageSize?: number, currentPage?: number): ISessionResource[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionRestoreReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/SessionRestoreReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,IAAI,sBAAsB,EAC/C,yBAAyB,IAAI,0BAA0B,EACvD,gCAAgC,IAAI,iCAAiC,EACxE,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,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AEH,eAAO,MAAM,oBAAoB,GAC7B,QAAQ,cAAc,EACtB,kBAAkB,0BAA0B,EAC5C,OAAM,MAAU,EAChB,oBAAmB,iCAAiC,GAAG,SAAqB,KAC7E,gBAOD,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAC1B,KAAK,0BAA0B,EAC/B,kBAAkB,0BAA0B,EAC5C,OAAM,MAAU,EAChB,oBAAmB,iCAAiC,GAAG,SAAqB,EAC5E,mBAAiB,EACjB,kBAAa,KACd,gBAAgB,EAgBlB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,eAAU,EAAE,eAAU,EAAE,oBAAe,uBAYrE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,eAAU,EAAE,eAAU,EAAE,oBAAe,uBAY5E,CAAC;AAGF,eAAO,MAAM,gBAAgB,GACzB,KAAK,MAAM,EACX,kBAAkB,0BAA0B,EAC5C,OAAM,MAAU,EAChB,sBAAiB,KAClB,gBAMD,CAAC;AAIH,eAAO,MAAM,YAAY,GACrB,YAAY,mBAAmB,EAC/B,iBAAiB,mBAAmB,EAAE,EACtC,UAAS,mBAAmB,EAAO,uBAWtC,CAAC"}
|
|
@@ -19,7 +19,7 @@ import map from 'lodash/map';
|
|
|
19
19
|
import slice from 'lodash/slice';
|
|
20
20
|
import uniqBy from 'lodash/uniqBy';
|
|
21
21
|
import { CaseReducerConstants } from './CaseConstNTypes';
|
|
22
|
-
const { getSessions, patchSession, createNewSession, createSessionResources, updateSessionResources, createSessionCepDetails, SessionResourceVisibility, } = pcm.preCase.session;
|
|
22
|
+
const { getSessions, patchSession, createNewSession, createSessionResources, updateSessionResources, createSessionCepDetails, SessionResourceVisibility, SessionResourceSource, } = pcm.preCase.session;
|
|
23
23
|
// Constants
|
|
24
24
|
export var SessionRestoreConstants;
|
|
25
25
|
(function (SessionRestoreConstants) {
|
|
@@ -131,6 +131,8 @@ export const getIndividualSessionById = (dispatch, sessionId, isCaseCreate, ABTe
|
|
|
131
131
|
sessionId: sessionId,
|
|
132
132
|
});
|
|
133
133
|
let sessionItem = sessions[0];
|
|
134
|
+
if (isAISureSession(sessionItem))
|
|
135
|
+
return;
|
|
134
136
|
if (!sessionItem.session.userAgent) {
|
|
135
137
|
// session created by console, need to add user agent and A/B test variation
|
|
136
138
|
const userAgent = getUserAgentForCaseMode(isCaseCreate) + ABTestVariation
|
|
@@ -169,6 +171,8 @@ export const loadPreviousSessions = (dispatch, caseDispatch) => __awaiter(void 0
|
|
|
169
171
|
const prevSessions = {};
|
|
170
172
|
let foundSessionWithCaseCreationError = {};
|
|
171
173
|
for (const s of sessions) {
|
|
174
|
+
if (isAISureSession(s))
|
|
175
|
+
continue;
|
|
172
176
|
prevSessions[s.session.id] = s;
|
|
173
177
|
s.session.caseCreationError && (foundSessionWithCaseCreationError = s);
|
|
174
178
|
}
|
|
@@ -250,11 +254,18 @@ export const updateSession = (dispatch, sessionId, sessionDetails, session) => _
|
|
|
250
254
|
export const updateActiveSessionId = (dispatch, activeSessionId) => {
|
|
251
255
|
dispatch({ type: SessionRestoreConstants.setActiveSessionId, payload: { activeSessionId } });
|
|
252
256
|
};
|
|
257
|
+
export const isAISureSession = (sessionItem) => {
|
|
258
|
+
var _a, _b, _c, _d;
|
|
259
|
+
const originatingSystem = String((_b = (_a = sessionItem === null || sessionItem === void 0 ? void 0 : sessionItem.session) === null || _a === void 0 ? void 0 : _a.originatingSystem) !== null && _b !== void 0 ? _b : '').toLowerCase();
|
|
260
|
+
const userAgent = String((_d = (_c = sessionItem === null || sessionItem === void 0 ? void 0 : sessionItem.session) === null || _c === void 0 ? void 0 : _c.userAgent) !== null && _d !== void 0 ? _d : '').toLowerCase();
|
|
261
|
+
return originatingSystem === 'aisure' || userAgent === 'aisure';
|
|
262
|
+
};
|
|
253
263
|
const isRestorableSession = (sessionItem) => !isEmpty(sessionItem) &&
|
|
254
264
|
!sessionItem.session.isResolved &&
|
|
255
265
|
sessionItem.session.isActive &&
|
|
256
266
|
!sessionItem.session.hasVisitedResources &&
|
|
257
|
-
isEmpty(sessionItem.sessionDetails.caseNumber)
|
|
267
|
+
isEmpty(sessionItem.sessionDetails.caseNumber) &&
|
|
268
|
+
!isAISureSession(sessionItem);
|
|
258
269
|
export function getRelevantSessionFromSessions(dispatch, currentRelevantSessionId, previousSessions, caseDetails) {
|
|
259
270
|
var _a, _b, _c, _d, _e, _f;
|
|
260
271
|
if (!isEmpty(previousSessions[currentRelevantSessionId]))
|
|
@@ -307,9 +318,12 @@ export function markAllSessionsUnresolved(dispatch, sessionData, userAgent) {
|
|
|
307
318
|
});
|
|
308
319
|
}
|
|
309
320
|
// Create or Update Session Resource Helper
|
|
310
|
-
export function createOrUpdateSessionResources(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1) {
|
|
311
|
-
return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, resources
|
|
312
|
-
if (isEmpty(payload) ||
|
|
321
|
+
export function createOrUpdateSessionResources(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1, resources_1) {
|
|
322
|
+
return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, resources, payload = JSON.stringify({}), workflowSource = undefined) {
|
|
323
|
+
if (isEmpty(payload) ||
|
|
324
|
+
isEmpty(activeSessionId) ||
|
|
325
|
+
isEmpty(source) ||
|
|
326
|
+
(isEmpty(resources) && source !== SessionResourceSource.ASK_RED_HAT))
|
|
313
327
|
return;
|
|
314
328
|
const resourceTracking = currentSessionResourceTracking[workflowSource || source];
|
|
315
329
|
if (isEmpty(resourceTracking) || (resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.payload) !== payload) {
|
|
@@ -323,8 +337,8 @@ export function createOrUpdateSessionResources(dispatch_1, activeSessionId_1, cu
|
|
|
323
337
|
});
|
|
324
338
|
}
|
|
325
339
|
// Create Session Resource Helper
|
|
326
|
-
export function createSessionResourcesLocal(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1, payload_1) {
|
|
327
|
-
return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, payload, resources
|
|
340
|
+
export function createSessionResourcesLocal(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1, payload_1, resources_1) {
|
|
341
|
+
return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, payload, resources, workflowSource = undefined) {
|
|
328
342
|
if (isEmpty(payload) || isEmpty(activeSessionId) || isEmpty(source))
|
|
329
343
|
return;
|
|
330
344
|
const resourceTracking = currentSessionResourceTracking[workflowSource || source];
|
|
@@ -337,12 +351,20 @@ export function createSessionResourcesLocal(dispatch_1, activeSessionId_1, curre
|
|
|
337
351
|
resourceSource: workflowSource || source,
|
|
338
352
|
resourceOriginId: '',
|
|
339
353
|
payload,
|
|
340
|
-
visitedResources:
|
|
341
|
-
|
|
342
|
-
|
|
354
|
+
visitedResources: resources
|
|
355
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.VISITED)
|
|
356
|
+
: [],
|
|
357
|
+
presentedResources: resources
|
|
358
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.PRESENTED)
|
|
359
|
+
: [],
|
|
360
|
+
presentedTabResources: resources
|
|
361
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.PRESENTED_TAB)
|
|
362
|
+
: [],
|
|
343
363
|
},
|
|
344
364
|
});
|
|
345
|
-
const response =
|
|
365
|
+
const response = resources
|
|
366
|
+
? yield createSessionResources(activeSessionId, { source, payload }, resources)
|
|
367
|
+
: yield createSessionResources(activeSessionId, { source, payload });
|
|
346
368
|
dispatch({
|
|
347
369
|
type: SessionRestoreConstants.updateSessionResourceTracking,
|
|
348
370
|
payload: {
|
|
@@ -358,14 +380,20 @@ export function createSessionResourcesLocal(dispatch_1, activeSessionId_1, curre
|
|
|
358
380
|
export function updateSessionResourcesLocal(dispatch_1, activeSessionId_1, currentSessionResourceTracking_1, source_1, resources_1) {
|
|
359
381
|
return __awaiter(this, arguments, void 0, function* (dispatch, activeSessionId, currentSessionResourceTracking, source, resources, workflowSource = undefined) {
|
|
360
382
|
var _a, _b, _c;
|
|
361
|
-
if (isEmpty(activeSessionId) || isEmpty(source)
|
|
383
|
+
if (isEmpty(activeSessionId) || isEmpty(source))
|
|
362
384
|
return;
|
|
363
385
|
const resourceTracking = currentSessionResourceTracking[workflowSource || source];
|
|
364
386
|
if (isEmpty(resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.resourceOriginId))
|
|
365
387
|
return;
|
|
366
|
-
const newlyVisitedResources =
|
|
367
|
-
|
|
368
|
-
|
|
388
|
+
const newlyVisitedResources = resources
|
|
389
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.VISITED)
|
|
390
|
+
: [];
|
|
391
|
+
const newlyPresentedResources = resources
|
|
392
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.PRESENTED)
|
|
393
|
+
: [];
|
|
394
|
+
const newlyPresentedTabResources = resources
|
|
395
|
+
? filter(resources, (res) => res.visibilityStatus === SessionResourceVisibility.PRESENTED_TAB)
|
|
396
|
+
: [];
|
|
369
397
|
const previouslyVisitedResources = (_a = resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.visitedResources) !== null && _a !== void 0 ? _a : [];
|
|
370
398
|
const previouslyPresentedResources = (_b = resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.presentedResources) !== null && _b !== void 0 ? _b : [];
|
|
371
399
|
const previouslyPresentedTabResources = (_c = resourceTracking === null || resourceTracking === void 0 ? void 0 : resourceTracking.presentedTabResources) !== null && _c !== void 0 ? _c : [];
|
|
@@ -377,11 +405,17 @@ export function updateSessionResourcesLocal(dispatch_1, activeSessionId_1, curre
|
|
|
377
405
|
!nonPreviouslyPresentedTabResources.length)
|
|
378
406
|
return;
|
|
379
407
|
try {
|
|
380
|
-
|
|
408
|
+
const resourcesToUpdate = [
|
|
381
409
|
...nonPreviouslyVisitedResources,
|
|
382
410
|
...nonPreviouslyPresentedResources,
|
|
383
411
|
...nonPreviouslyPresentedTabResources,
|
|
384
|
-
]
|
|
412
|
+
];
|
|
413
|
+
if (resources) {
|
|
414
|
+
yield updateSessionResources(activeSessionId, { id: resourceTracking.resourceOriginId }, resourcesToUpdate);
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
yield updateSessionResources(activeSessionId, { id: resourceTracking.resourceOriginId });
|
|
418
|
+
}
|
|
385
419
|
const payloadToDispatch = {
|
|
386
420
|
resourceSource: workflowSource || source,
|
|
387
421
|
sessionResourceTracking: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopContentReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/TopContentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAClH,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,KAAK,WAAW,GAAG,OAAO,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;AAGlE,oBAAY,mBAAmB;IAC3B,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACtC;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAGpC,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,mBAAmB,CAAC,eAAe,EAAE,CAAC,CAAC;IACnD,iBAAiB,EAAE,oBAAoB,CAAC;CAC3C;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAG1D,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"TopContentReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/TopContentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAClH,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAIxE,KAAK,WAAW,GAAG,OAAO,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;AAGlE,oBAAY,mBAAmB;IAC3B,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;CACtC;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAGpC,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,mBAAmB,CAAC,eAAe,EAAE,CAAC,CAAC;IACnD,iBAAiB,EAAE,oBAAoB,CAAC;CAC3C;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAG1D,eAAO,MAAM,iBAAiB,GAAI,OAAO,gBAAgB,EAAE,QAAQ,WAAW,KAAG,gBAgBhF,CAAC;AAEF,eAAO,MAAM,eAAe,GACxB,UAAU,cAAc,EACxB,MAAM,oBAAoB,EAC1B,WAAW,CAAC,UAAU,EAAE,eAAe,EAAE,KAAK,IAAI,kBAmCrD,CAAC;AACF,eAAO,MAAM,eAAe,GAAI,UAAU,cAAc,SAEvD,CAAC"}
|
|
@@ -43,7 +43,7 @@ export const fetchTopContent = (dispatch, body, onTCLoad) => __awaiter(void 0, v
|
|
|
43
43
|
let topContent = response.reduce((accumulator, category) => {
|
|
44
44
|
if (category.content.length !== 0) {
|
|
45
45
|
// sort content by rank
|
|
46
|
-
const content = sortBy(category.content.filter((content) => content.contentTitle
|
|
46
|
+
const content = sortBy(category.content.filter((content) => { var _a, _b; return ((_a = content.contentTitle) === null || _a === void 0 ? void 0 : _a.trim()) && ((_b = content.contentUrl) === null || _b === void 0 ? void 0 : _b.trim()); }), 'contentRank');
|
|
47
47
|
accumulator.push(Object.assign(Object.assign({}, category), { content }));
|
|
48
48
|
}
|
|
49
49
|
return accumulator;
|