@rh-support/troubleshoot 2.6.340 → 2.6.349
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 +29 -19
- package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.js +16 -91
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +32 -61
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +33 -60
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +10 -39
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +4 -15
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +55 -82
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +0 -2
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +3 -3
- 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/CaseStatus.js +6 -8
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +45 -76
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +109 -203
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +1 -0
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +5 -5
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +3 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +9 -5
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +17 -18
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +47 -51
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +44 -49
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +45 -51
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +10 -21
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +2 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +2 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +57 -132
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +4 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +58 -93
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +9 -16
- 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 +91 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +33 -78
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts +4 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +153 -122
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +2 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +137 -74
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +9 -22
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +2 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.js +1 -8
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts +2 -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 +7 -18
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +3 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +263 -211
- 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 -6
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +1 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +4 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +3 -35
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +224 -63
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +5 -4
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -18
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +2 -7
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +52 -38
- package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +57 -123
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseInformation.js +9 -10
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +30 -107
- package/lib/esm/components/CaseInformation/Description.js +1 -1
- package/lib/esm/components/CaseInformation/FileDiag.js +7 -10
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +1 -2
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +55 -36
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +2 -2
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseManagement.js +7 -8
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +9 -11
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts +1 -2
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -22
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +7 -9
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +18 -13
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +40 -34
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -8
- package/lib/esm/components/EditDescription/EditDescription.js +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +18 -16
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +2 -4
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +1 -0
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +15 -3
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +37 -13
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +50 -37
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +3 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +1 -9
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +3 -4
- package/lib/esm/components/Recommendations/ClusterRecommendationToast.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationToast.js +4 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +4 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +3 -3
- package/lib/esm/components/Recommendations/Recommendations.js +2 -2
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
- package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.js +8 -10
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +16 -20
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +1 -3
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +2 -2
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +62 -135
- package/lib/esm/components/shared/Constants.d.ts +0 -5
- package/lib/esm/components/shared/Constants.d.ts.map +1 -1
- package/lib/esm/components/shared/Constants.js +0 -5
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +3 -3
- package/lib/esm/components/shared/fileUpload/FileUpload.js +3 -2
- package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileUploader.js +1 -3
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +2 -2
- 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/reducer/AttachmentHelper.d.ts +5 -21
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +34 -210
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +1 -5
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.js +1 -36
- package/lib/esm/components/shared/fileUpload/types/index.d.ts +1 -4
- 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 +47 -116
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +57 -22
- package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.js +28 -16
- package/lib/esm/components/shared/utils.d.ts +0 -1
- package/lib/esm/components/shared/utils.d.ts.map +1 -1
- package/lib/esm/components/shared/utils.js +3 -9
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +38 -160
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +4 -2
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +12 -11
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +10 -11
- package/lib/esm/constants/caseDetailsConstants.d.ts +0 -5
- package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
- package/lib/esm/constants/caseDetailsConstants.js +0 -5
- package/lib/esm/context/CaseContext.d.ts.map +1 -1
- package/lib/esm/css/case.css +202 -60
- package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts +1 -1
- package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts.map +1 -1
- package/lib/esm/hooks/useCaseUpdateErrorMessage.js +11 -21
- package/lib/esm/hooks/useResetCaseCreate.d.ts.map +1 -1
- package/lib/esm/hooks/useResetCaseCreate.js +11 -18
- package/lib/esm/hooks/useS3Upload.d.ts +4 -5
- package/lib/esm/hooks/useS3Upload.d.ts.map +1 -1
- package/lib/esm/hooks/useS3Upload.js +30 -28
- package/lib/esm/i18n/template-de.d.ts +2 -2
- package/lib/esm/i18n/template-de.js +2 -2
- package/lib/esm/i18n/template-es.d.ts +2 -2
- package/lib/esm/i18n/template-es.js +2 -2
- package/lib/esm/i18n/template-fr.d.ts +2 -2
- package/lib/esm/i18n/template-fr.js +2 -2
- package/lib/esm/i18n/template-it.d.ts +2 -2
- package/lib/esm/i18n/template-it.js +2 -2
- package/lib/esm/i18n/template-jp.d.ts +2 -2
- package/lib/esm/i18n/template-jp.js +2 -2
- package/lib/esm/i18n/template-ko.d.ts +2 -2
- package/lib/esm/i18n/template-ko.js +2 -2
- package/lib/esm/i18n/template-pt.d.ts +2 -2
- package/lib/esm/i18n/template-pt.js +2 -2
- package/lib/esm/i18n/template-ru.d.ts +2 -2
- package/lib/esm/i18n/template-ru.js +2 -2
- package/lib/esm/i18n/template-zh.d.ts +2 -2
- package/lib/esm/i18n/template-zh.js +2 -2
- package/lib/esm/index.js +0 -1
- package/lib/esm/models/cache.d.ts +2 -0
- package/lib/esm/models/cache.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.d.ts +9 -121
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +7 -30
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +5 -7
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.js +26 -58
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +12 -11
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.js +70 -63
- package/lib/esm/reducers/CaseHelpers.d.ts +2 -3
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.js +15 -98
- package/lib/esm/reducers/CaseOverviewReducer.d.ts +1 -3
- package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseOverviewReducer.js +5 -7
- package/lib/esm/reducers/CaseReducer.d.ts +11 -50
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +99 -270
- package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.js +18 -15
- package/lib/esm/scss/_main.scss +0 -9
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts +2 -1
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.js +4 -4
- package/package.json +8 -9
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts +0 -7
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/ArchivedCaseBanner.js +0 -17
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts +0 -4
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.js +0 -23
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts +0 -29
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.js +0 -29
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts +0 -17
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.js +0 -60
- package/lib/esm/components/CaseInformation/CaseLabels.d.ts +0 -3
- package/lib/esm/components/CaseInformation/CaseLabels.d.ts.map +0 -1
- package/lib/esm/components/CaseInformation/CaseLabels.js +0 -103
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts +0 -4
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts.map +0 -1
- package/lib/esm/components/CaseManagement/CaseLabelsCreate.js +0 -109
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts +0 -3
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts.map +0 -1
- package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.js +0 -9
- package/lib/esm/graphql/index.d.ts +0 -4
- package/lib/esm/graphql/index.d.ts.map +0 -1
- package/lib/esm/graphql/index.js +0 -3
- package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts +0 -2
- package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts.map +0 -1
- package/lib/esm/graphql/mutations/createRMECaseEscalation.js +0 -24
- package/lib/esm/graphql/mutations/index.d.ts +0 -2
- package/lib/esm/graphql/mutations/index.d.ts.map +0 -1
- package/lib/esm/graphql/mutations/index.js +0 -1
- package/lib/esm/graphql/queries/getEscalationDetails.d.ts +0 -2
- package/lib/esm/graphql/queries/getEscalationDetails.d.ts.map +0 -1
- package/lib/esm/graphql/queries/getEscalationDetails.js +0 -31
- package/lib/esm/graphql/queries/getParentId.d.ts +0 -2
- package/lib/esm/graphql/queries/getParentId.d.ts.map +0 -1
- package/lib/esm/graphql/queries/getParentId.js +0 -16
- package/lib/esm/graphql/queries/index.d.ts +0 -3
- package/lib/esm/graphql/queries/index.d.ts.map +0 -1
- package/lib/esm/graphql/queries/index.js +0 -2
- package/lib/esm/graphql/schemas/escalation.d.ts +0 -88
- package/lib/esm/graphql/schemas/escalation.d.ts.map +0 -1
- package/lib/esm/graphql/schemas/escalation.js +0 -1
- package/lib/esm/graphql/schemas/index.d.ts +0 -2
- package/lib/esm/graphql/schemas/index.d.ts.map +0 -1
- package/lib/esm/graphql/schemas/index.js +0 -1
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts +0 -4
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/caseCommentsQuery.js +0 -52
- package/lib/esm/hooks/useCaseComments/index.d.ts +0 -7
- package/lib/esm/hooks/useCaseComments/index.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/index.js +0 -5
- package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts +0 -25
- package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/mapCaseComment.js +0 -75
- package/lib/esm/hooks/useCaseComments/types.d.ts +0 -85
- package/lib/esm/hooks/useCaseComments/types.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/types.js +0 -1
- package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts +0 -17
- package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/useCaseComments.js +0 -38
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts +0 -19
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseComments/useCreateCaseComment.js +0 -33
- package/lib/esm/hooks/useCaseHistory.d.ts +0 -26
- package/lib/esm/hooks/useCaseHistory.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseHistory.js +0 -98
- package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts +0 -21
- package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts.map +0 -1
- package/lib/esm/hooks/useCaseLabelLinkMutations.js +0 -84
- package/lib/esm/models/caseHistory.d.ts +0 -80
- package/lib/esm/models/caseHistory.d.ts.map +0 -1
- package/lib/esm/models/caseHistory.js +0 -1
- package/lib/esm/utils/TimelineUtils.d.ts +0 -41
- package/lib/esm/utils/TimelineUtils.d.ts.map +0 -1
- package/lib/esm/utils/TimelineUtils.js +0 -135
- package/lib/esm/utils/caseHistoryUtils.d.ts +0 -66
- package/lib/esm/utils/caseHistoryUtils.d.ts.map +0 -1
- package/lib/esm/utils/caseHistoryUtils.js +0 -165
|
@@ -7,12 +7,12 @@ 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 { useApolloClient } from '@apollo/client/react';
|
|
11
10
|
import { Alert, AlertVariant, Button, MenuToggle, Select, SelectList, SelectOption, Spinner, TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, } from '@patternfly/react-core';
|
|
12
11
|
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
13
12
|
import { AlertMessage, AlertType, SingleSelectDropdown, ToastNotification, useSelectKeyboardNavigator, } from '@rh-support/components';
|
|
14
13
|
import { fetchProducts, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useCanEditCase, } from '@rh-support/react-context';
|
|
15
|
-
import {
|
|
14
|
+
import { getUniqueSortedVersions, haventLoadedMetadata, toOption, } from '@rh-support/utils';
|
|
15
|
+
import filter from 'lodash/filter';
|
|
16
16
|
import isEmpty from 'lodash/isEmpty';
|
|
17
17
|
import isEqual from 'lodash/isEqual';
|
|
18
18
|
import isUndefined from 'lodash/isUndefined';
|
|
@@ -21,12 +21,10 @@ import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
|
21
21
|
import { Trans, useTranslation } from 'react-i18next';
|
|
22
22
|
import { useCaseDispatch, useCaseSelector } from '../../../../context/CaseContext';
|
|
23
23
|
import { useCaseUpdateErrorMessage } from '../../../../hooks/useCaseUpdateErrorMessage';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { getProductObj, getProductObjById } from '../../../shared/utils';
|
|
24
|
+
import { fetchCaseEntitlements, getVersionsDetails, updateCaseDetails } from '../../../../reducers/CaseReducer';
|
|
25
|
+
import { getProductObj } from '../../../shared/utils';
|
|
27
26
|
import { PDFContext } from '../../PDFContainer';
|
|
28
27
|
function ProductNVersion(props) {
|
|
29
|
-
var _a;
|
|
30
28
|
const { t } = useTranslation();
|
|
31
29
|
const caseUpdateError = useCaseUpdateErrorMessage();
|
|
32
30
|
const [versions, setVersions] = useState([]);
|
|
@@ -34,40 +32,24 @@ function ProductNVersion(props) {
|
|
|
34
32
|
const [isVersionUpdating, setIsVersionUpdating] = useState(false);
|
|
35
33
|
const [isOpen, setIsOpen] = useState(false);
|
|
36
34
|
const textInputRef = useRef();
|
|
37
|
-
const { product, version,
|
|
35
|
+
const { product, version, caseNumber, contactSSOName, versionsDetails, isCaseUpdating } = useCaseSelector((state) => ({
|
|
38
36
|
product: state.caseDetails.product,
|
|
39
37
|
version: state.caseDetails.version,
|
|
40
|
-
|
|
38
|
+
contactSSOName: state.caseDetails.contactSSOName,
|
|
41
39
|
caseNumber: state.caseDetails.caseNumber,
|
|
42
|
-
existingCaseDetails: state.caseDetails,
|
|
43
40
|
versionsDetails: state.versionsDetails,
|
|
44
41
|
isCaseUpdating: state.isCaseUpdating,
|
|
45
|
-
selectedAccountDetails: state.selectedAccountDetails,
|
|
46
|
-
isProductNotEntitled: state.isProductNotEntitled,
|
|
47
42
|
}), isEqual);
|
|
48
43
|
const caseDispatch = useCaseDispatch();
|
|
49
44
|
const dispatchToGlobalMetadataReducer = useContext(GlobalMetadataDispatchContext);
|
|
50
|
-
const apolloClient = useApolloClient();
|
|
51
45
|
const { globalMetadataState: { allProducts }, } = useContext(GlobalMetadataStateContext);
|
|
52
46
|
const [isProductInvalid, setIsProductInvalid] = useState(false);
|
|
53
47
|
const [isVersionInvalid, setIsVersionInvalid] = useState(false);
|
|
54
48
|
const [selectedProductLocal, setSelectedProductLocal] = useState(product);
|
|
55
49
|
const [selectedVersionLocal, setSelectedVersionLocal] = useState(version);
|
|
50
|
+
const [isSEProductApiIsDown, setIsSEProductApiIsDown] = useState(false);
|
|
56
51
|
const [inputValue, setInputValue] = useState(product);
|
|
57
52
|
const [shouldFilter, setShouldFilter] = useState(false);
|
|
58
|
-
useEffect(() => {
|
|
59
|
-
var _a;
|
|
60
|
-
const matched = getProductObjById((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, parentProductId);
|
|
61
|
-
if (matched.product && matched.product !== product) {
|
|
62
|
-
setCaseDetails(caseDispatch, { product: matched.product });
|
|
63
|
-
}
|
|
64
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
65
|
-
}, [parentProductId, (_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, caseDispatch]);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
setSelectedProductLocal(product);
|
|
68
|
-
setInputValue(product || '');
|
|
69
|
-
setSelectedVersionLocal(version);
|
|
70
|
-
}, [product, version]);
|
|
71
53
|
const onToggleClick = () => {
|
|
72
54
|
var _a;
|
|
73
55
|
setIsOpen(!isOpen);
|
|
@@ -77,7 +59,6 @@ function ProductNVersion(props) {
|
|
|
77
59
|
(_a = textInputRef === null || textInputRef === void 0 ? void 0 : textInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
78
60
|
};
|
|
79
61
|
const canEditCase = useCanEditCase();
|
|
80
|
-
const isCaseReadOnly = canEditCase.isCaseNotEditable;
|
|
81
62
|
const { isExportingPDF } = useContext(PDFContext);
|
|
82
63
|
const onProductChange = (option) => __awaiter(this, void 0, void 0, function* () {
|
|
83
64
|
if (canEditCase.alert())
|
|
@@ -124,7 +105,6 @@ function ProductNVersion(props) {
|
|
|
124
105
|
}
|
|
125
106
|
};
|
|
126
107
|
const updateProductVerstion = (selectedProduct, selectedVersion) => __awaiter(this, void 0, void 0, function* () {
|
|
127
|
-
var _a, _b;
|
|
128
108
|
let onlyVersionChanged = false;
|
|
129
109
|
try {
|
|
130
110
|
if (product === selectedProduct) {
|
|
@@ -132,31 +112,17 @@ function ProductNVersion(props) {
|
|
|
132
112
|
}
|
|
133
113
|
setIsProductUpdating(true);
|
|
134
114
|
setIsVersionUpdating(true);
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
yield updateCaseDetailsGraphQL(caseDispatch, apolloClient, caseNumber, Object.assign({ product: selectedProduct, version: selectedVersion }, (selectedVersionId ? { productId: selectedVersionId } : {})), false, { existingCaseDetails });
|
|
140
|
-
if (!onlyVersionChanged) {
|
|
141
|
-
const catalogProduct = getProductObj(allProducts.data.productsResult, selectedProduct);
|
|
142
|
-
if (catalogProduct.productId) {
|
|
143
|
-
setCaseDetails(caseDispatch, { parentProductId: catalogProduct.productId });
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if (!onlyVersionChanged && (serviceLevels === null || serviceLevels === void 0 ? void 0 : serviceLevels.productServiceLevel)) {
|
|
147
|
-
setCaseState(caseDispatch, {
|
|
148
|
-
isProductNotEntitled: false,
|
|
149
|
-
productServiceLevel: serviceLevels.productServiceLevel,
|
|
150
|
-
otherServiceLevels: serviceLevels.otherServiceLevels,
|
|
151
|
-
selectedEntitlementId: serviceLevels.defaultEntitlementId,
|
|
115
|
+
if (!onlyVersionChanged && contactSSOName && caseNumber) {
|
|
116
|
+
yield updateCaseDetails(caseDispatch, caseNumber, {
|
|
117
|
+
product: selectedProduct,
|
|
118
|
+
version: selectedVersion,
|
|
152
119
|
});
|
|
120
|
+
yield fetchCaseEntitlements(caseDispatch, contactSSOName, selectedProduct, undefined, true, caseNumber);
|
|
153
121
|
}
|
|
154
|
-
else
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
otherServiceLevels: [],
|
|
159
|
-
selectedEntitlementId: undefined,
|
|
122
|
+
else {
|
|
123
|
+
yield updateCaseDetails(caseDispatch, caseNumber, {
|
|
124
|
+
product: selectedProduct,
|
|
125
|
+
version: selectedVersion,
|
|
160
126
|
});
|
|
161
127
|
}
|
|
162
128
|
setIsProductUpdating(false);
|
|
@@ -184,59 +150,60 @@ function ProductNVersion(props) {
|
|
|
184
150
|
});
|
|
185
151
|
// To check if version in invalid
|
|
186
152
|
const checkIfVersionIsInvalid = isVersionInvalid && isEmpty(selectedVersionLocal);
|
|
187
|
-
|
|
188
|
-
if (isEmpty(selectedProductLocal)) {
|
|
189
|
-
setCaseState(caseDispatch, {
|
|
190
|
-
isProductNotEntitled: false,
|
|
191
|
-
productServiceLevel: undefined,
|
|
192
|
-
otherServiceLevels: [],
|
|
193
|
-
selectedEntitlementId: undefined,
|
|
194
|
-
});
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
if (selectedAccountDetails.isFetching || isEmpty(selectedAccountDetails.data))
|
|
198
|
-
return;
|
|
199
|
-
const serviceLevels = resolveProductServiceLevelsForAccount(selectedAccountDetails.data, allProducts.data.productsResult, selectedProductLocal);
|
|
200
|
-
if (!serviceLevels || !serviceLevels.productServiceLevel) {
|
|
201
|
-
setCaseState(caseDispatch, {
|
|
202
|
-
isProductNotEntitled: true,
|
|
203
|
-
productServiceLevel: undefined,
|
|
204
|
-
otherServiceLevels: [],
|
|
205
|
-
selectedEntitlementId: undefined,
|
|
206
|
-
});
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
setCaseState(caseDispatch, {
|
|
210
|
-
isProductNotEntitled: false,
|
|
211
|
-
productServiceLevel: serviceLevels.productServiceLevel,
|
|
212
|
-
otherServiceLevels: serviceLevels.otherServiceLevels,
|
|
213
|
-
selectedEntitlementId: serviceLevels.defaultEntitlementId,
|
|
214
|
-
});
|
|
215
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
216
|
-
}, [selectedProductLocal, selectedAccountDetails.data, allProducts.data.productsResult]);
|
|
153
|
+
// when user changes selected product, we need to get the versions
|
|
217
154
|
useEffect(() => {
|
|
218
155
|
if (!selectedProductLocal)
|
|
219
156
|
return;
|
|
157
|
+
const getVersions = () => __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
try {
|
|
159
|
+
yield getVersionsDetails(caseDispatch, selectedProductLocal);
|
|
160
|
+
}
|
|
161
|
+
catch (e) {
|
|
162
|
+
console.log(e);
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
// call sfdc version api to get version flags that we only get from sfdc api
|
|
166
|
+
// flags are used in severity components
|
|
167
|
+
getVersions();
|
|
168
|
+
// populate versions with SE product api versions
|
|
220
169
|
const productObj = getProductObj(allProducts.data.productsResult, selectedProductLocal);
|
|
221
|
-
if (productObj.
|
|
222
|
-
|
|
170
|
+
if (productObj.versions) {
|
|
171
|
+
const productVersions = productObj.hasComponentsInsteadOfVersions
|
|
172
|
+
? productObj.versions.sort()
|
|
173
|
+
: productObj.versions;
|
|
174
|
+
setVersions(productVersions);
|
|
175
|
+
if (productVersions.length === 1 && !selectedVersionLocal) {
|
|
176
|
+
setSelectedVersionLocal(productVersions[0]);
|
|
177
|
+
updateProductVerstion(selectedProductLocal, productVersions[0]);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
setIsSEProductApiIsDown(true);
|
|
223
182
|
}
|
|
224
183
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
225
184
|
}, [selectedProductLocal, caseDispatch, allProducts.data]);
|
|
185
|
+
// observe when fetched versions are available
|
|
226
186
|
useEffect(() => {
|
|
227
|
-
|
|
228
|
-
if (versionsDetails.isFetching || !((_a = versionsDetails.data) === null || _a === void 0 ? void 0 : _a.length))
|
|
187
|
+
if (!isSEProductApiIsDown)
|
|
229
188
|
return;
|
|
230
189
|
const fetchedVersions = versionsDetails.data.map(({ name }) => name);
|
|
231
|
-
setVersions(fetchedVersions);
|
|
232
190
|
if (fetchedVersions.length === 1 && !selectedVersionLocal) {
|
|
191
|
+
setVersions(fetchedVersions);
|
|
233
192
|
setSelectedVersionLocal(fetchedVersions[0]);
|
|
234
193
|
updateProductVerstion(selectedProductLocal, fetchedVersions[0]);
|
|
194
|
+
return;
|
|
235
195
|
}
|
|
196
|
+
const productObj = getProductObj(allProducts.data.productsResult, selectedProductLocal);
|
|
197
|
+
const sfdcVersions = getUniqueSortedVersions(fetchedVersions);
|
|
198
|
+
const versionsForSelectedProduct = productObj.versions ? productObj.versions : sfdcVersions;
|
|
199
|
+
const productVersions = (productObj === null || productObj === void 0 ? void 0 : productObj.hasComponentsInsteadOfVersions)
|
|
200
|
+
? versionsForSelectedProduct.sort()
|
|
201
|
+
: versionsForSelectedProduct;
|
|
202
|
+
setVersions(productVersions);
|
|
236
203
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
237
204
|
}, [versionsDetails.data]);
|
|
238
205
|
const computeDropdownList = () => {
|
|
239
|
-
const list = allProducts.data.productsResult;
|
|
206
|
+
const list = filter(allProducts.data.productsResult, (p) => p.isEntitledProduct);
|
|
240
207
|
if (!list)
|
|
241
208
|
return [];
|
|
242
209
|
const options = shouldFilter && !isUndefined(inputValue) && !isEmpty(inputValue === null || inputValue === void 0 ? void 0 : inputValue.trim())
|
|
@@ -250,7 +217,7 @@ function ProductNVersion(props) {
|
|
|
250
217
|
setIsOpen,
|
|
251
218
|
onSelect: onProductChange,
|
|
252
219
|
});
|
|
253
|
-
const toggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, variant: "typeahead", onClick: onToggleClick, isExpanded: isOpen, isFullWidth: true, isDisabled: isProductUpdating || (allProducts.isFetching && !allProducts.isError)
|
|
220
|
+
const toggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, variant: "typeahead", onClick: onToggleClick, isExpanded: isOpen, isFullWidth: true, isDisabled: isProductUpdating || (allProducts.isFetching && !allProducts.isError), status: isProductInvalid ? 'danger' : undefined },
|
|
254
221
|
React.createElement(TextInputGroup, { isPlain: true },
|
|
255
222
|
React.createElement(TextInputGroupMain, { value: inputValue, onClick: onToggleClick, onChange: onTextInputChange, onKeyDown: onInputKeyDown, autoComplete: "off", innerRef: textInputRef, placeholder: t('Select a product'), role: "combobox", isExpanded: isOpen, "aria-controls": "case-details-product-selector-listbox" }),
|
|
256
223
|
isProductUpdating ? (React.createElement(TextInputGroupUtilities, null,
|
|
@@ -266,10 +233,10 @@ function ProductNVersion(props) {
|
|
|
266
233
|
};
|
|
267
234
|
useEffect(() => {
|
|
268
235
|
if (haventLoadedMetadata(allProducts, (data) => isEmpty(data.productsResult))) {
|
|
269
|
-
fetchProducts(dispatchToGlobalMetadataReducer,
|
|
236
|
+
fetchProducts(dispatchToGlobalMetadataReducer, contactSSOName);
|
|
270
237
|
}
|
|
271
238
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
272
|
-
}, [allProducts, dispatchToGlobalMetadataReducer,
|
|
239
|
+
}, [allProducts, dispatchToGlobalMetadataReducer, contactSSOName]);
|
|
273
240
|
return (React.createElement(React.Fragment, null,
|
|
274
241
|
React.createElement(AlertMessage, { show: !allProducts.isFetching && allProducts.isError, title: t('There was an error loading products.'), variant: AlertType.DANGER }),
|
|
275
242
|
isEmpty(selectedVersionLocal) && (selectedVersionLocal === null || selectedVersionLocal === void 0 ? void 0 : selectedVersionLocal.length) < 2 && (React.createElement(Alert, { isInline: true, className: "pf-v6-u-mb-md", variant: AlertVariant.danger, title: React.createElement(Trans, null, "Please clear the errors to change the product on your case") })),
|
|
@@ -279,15 +246,13 @@ function ProductNVersion(props) {
|
|
|
279
246
|
React.createElement("label", { htmlFor: "case-details-product-selector" },
|
|
280
247
|
React.createElement(Trans, null, "Product")),
|
|
281
248
|
React.createElement(Select, { className: "open-case-product", id: "case-details-product-selector", onChange: onProductChange, "data-tracking-id": "case-details-product-selector", onBlur: () => onOuterClick, isOpen: isOpen, onSelect: (event, value) => onProductChange(value), onOpenChange: () => setIsOpen(false), toggle: toggle, shouldFocusFirstItemOnOpen: false, isScrollable: true, popperProps: { direction: 'down', enableFlip: false } },
|
|
282
|
-
React.createElement(SelectList, { id: "case-details-product-selector-listbox" }, computeDropdownList().map((option, index) => (React.createElement(SelectOption, { key: option.productId, value: option, isFocused: focusedItemIndex === index }, option.name))))),
|
|
283
|
-
isProductNotEntitled && !isEmpty(selectedProductLocal) && React.createElement(ProductNotEntitledWarning, null)),
|
|
249
|
+
React.createElement(SelectList, { id: "case-details-product-selector-listbox" }, computeDropdownList().map((option, index) => (React.createElement(SelectOption, { key: option.productId, value: option, isFocused: focusedItemIndex === index }, option.name)))))),
|
|
284
250
|
React.createElement("div", { className: "version-selector-wrapper" },
|
|
285
251
|
React.createElement("label", { htmlFor: "version-dropdown" },
|
|
286
252
|
React.createElement(Trans, null, "Version")),
|
|
287
253
|
React.createElement(SingleSelectDropdown, { className: "open-case-version", id: "version-dropdown", placeholder: t(`Select a version`), selected: getVersionSelectedDropdownOption, options: getVersionDropdownOptions, isInvalid: checkIfVersionIsInvalid, isDisabled: isVersionUpdating ||
|
|
288
254
|
(allProducts.isFetching && !allProducts.isError) ||
|
|
289
255
|
isEmpty(selectedProductLocal) ||
|
|
290
|
-
isCaseUpdating ||
|
|
291
|
-
isCaseReadOnly, onSelect: onVersionChange, isLoading: isVersionUpdating || versionsDetails.isFetching, dataTrackingId: "case-details-version-selector", isScrollable: true }))))));
|
|
256
|
+
isCaseUpdating, onSelect: onVersionChange, isLoading: isVersionUpdating || (isSEProductApiIsDown && versionsDetails.isFetching), dataTrackingId: "case-details-version-selector", isScrollable: true }))))));
|
|
292
257
|
}
|
|
293
258
|
export default ProductNVersion;
|
|
@@ -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,6 @@ 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 { useApolloClient } from '@apollo/client/react';
|
|
11
10
|
import { InputGroupText, Spinner, TextInput, ValidatedOptions } from '@patternfly/react-core';
|
|
12
11
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
13
12
|
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
@@ -20,7 +19,7 @@ import { Trans, useTranslation } from 'react-i18next';
|
|
|
20
19
|
import { useCaseDispatch, useCaseSelector } from '../../../../context/CaseContext';
|
|
21
20
|
import { useCaseUpdateErrorMessage } from '../../../../hooks/useCaseUpdateErrorMessage';
|
|
22
21
|
import { SUMMARY_LENGTH_LIMIT } from '../../../../reducers/CaseConstNTypes';
|
|
23
|
-
import { setCaseDetails,
|
|
22
|
+
import { setCaseDetails, updateCaseDetails } from '../../../../reducers/CaseReducer';
|
|
24
23
|
import { PDFContext } from '../../PDFContainer';
|
|
25
24
|
const defaultProps = {
|
|
26
25
|
inlineEditable: true,
|
|
@@ -30,13 +29,11 @@ const defaultProps = {
|
|
|
30
29
|
function Summary(props) {
|
|
31
30
|
const { t } = useTranslation();
|
|
32
31
|
const caseUpdateError = useCaseUpdateErrorMessage();
|
|
33
|
-
const { summary, caseNumber
|
|
32
|
+
const { summary, caseNumber } = useCaseSelector((state) => ({
|
|
34
33
|
summary: state.caseDetails.summary,
|
|
35
34
|
caseNumber: state.caseDetails.caseNumber,
|
|
36
|
-
existingCaseDetails: state.caseDetails,
|
|
37
35
|
}), isEqual);
|
|
38
36
|
const caseDispatch = useCaseDispatch();
|
|
39
|
-
const apolloClient = useApolloClient();
|
|
40
37
|
const { isExportingPDF } = useContext(PDFContext);
|
|
41
38
|
const [summaryState, setSummaryState] = useState(summary);
|
|
42
39
|
const [isSummaryUpdating, setIsSummaryUpdating] = useState(false);
|
|
@@ -44,11 +41,9 @@ function Summary(props) {
|
|
|
44
41
|
// value changed logic to show a none local severity change
|
|
45
42
|
const [localSummaryChange, setLocalSummaryChange] = useState(false);
|
|
46
43
|
// To keep track of Cancel button state to close InlineEdit input mode
|
|
47
|
-
const [
|
|
44
|
+
const [isCancelClicked, setIsCancelClicked] = useState(false);
|
|
48
45
|
// To keep track of Save button state to close InlineEdit input mode
|
|
49
|
-
const [
|
|
50
|
-
const closeInlineEdit = () => setSaveToggleKey((key) => key + 1);
|
|
51
|
-
const cancelInlineEdit = () => setCancelToggleKey((key) => key + 1);
|
|
46
|
+
const [isSaveClicked, setIsSaveClicked] = useState(false);
|
|
52
47
|
const afterLocalChange = () => setLocalSummaryChange(false);
|
|
53
48
|
const getSummaryChangedTT = () => React.createElement(Trans, null, "Summary has been updated");
|
|
54
49
|
// Function to handle when summary changes
|
|
@@ -60,9 +55,7 @@ function Summary(props) {
|
|
|
60
55
|
const onSummaryUpdate = (caseDetails) => __awaiter(this, void 0, void 0, function* () {
|
|
61
56
|
setIsSummaryUpdating(true);
|
|
62
57
|
try {
|
|
63
|
-
yield
|
|
64
|
-
existingCaseDetails,
|
|
65
|
-
});
|
|
58
|
+
yield updateCaseDetails(caseDispatch, caseNumber, caseDetails);
|
|
66
59
|
setIsSummaryUpdating(false);
|
|
67
60
|
ToastNotification.addSuccessMessage(t(`Title has been successfully updated`));
|
|
68
61
|
}
|
|
@@ -88,11 +81,11 @@ function Summary(props) {
|
|
|
88
81
|
setCaseDetails(caseDispatch, caseDetails);
|
|
89
82
|
}
|
|
90
83
|
setLocalSummaryChange(true);
|
|
91
|
-
|
|
84
|
+
setIsSaveClicked(!isSaveClicked);
|
|
92
85
|
});
|
|
93
86
|
const onCancel = () => {
|
|
94
87
|
setSummaryState(summary);
|
|
95
|
-
|
|
88
|
+
setIsCancelClicked(!isCancelClicked);
|
|
96
89
|
};
|
|
97
90
|
useEffect(() => {
|
|
98
91
|
setSummaryState(summary);
|
|
@@ -126,14 +119,14 @@ function Summary(props) {
|
|
|
126
119
|
setCaseDetails(caseDispatch, caseDetails);
|
|
127
120
|
}
|
|
128
121
|
setLocalSummaryChange(true);
|
|
129
|
-
|
|
122
|
+
setIsSaveClicked(!isSaveClicked);
|
|
130
123
|
}
|
|
131
124
|
});
|
|
132
125
|
return (React.createElement(React.Fragment, null,
|
|
133
126
|
React.createElement(NewInlineEdit, { labelProps: { htmlFor: 'case-details-summary' }, labelContent: React.createElement(React.Fragment, null,
|
|
134
127
|
React.createElement(Trans, null, "Title"),
|
|
135
128
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localSummaryChange, value: summary, getTooltipContent: getSummaryChangedTT }),
|
|
136
|
-
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")), allowInlineEdit: props.inlineEditable
|
|
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 },
|
|
137
130
|
React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-flex-direction-row pf-v6-u-align-items-center" },
|
|
138
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
|
|
139
132
|
? ValidatedOptions.error
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ASA_FEEDBACK_RATINGS: readonly [{
|
|
3
|
+
readonly value: -1;
|
|
4
|
+
readonly label: "Unsatisfied";
|
|
5
|
+
readonly Icon: React.ComponentClass<import("@patternfly/react-icons/dist/js/createIcon").SVGIconProps, any>;
|
|
6
|
+
}, {
|
|
7
|
+
readonly value: 0;
|
|
8
|
+
readonly label: "Neutral";
|
|
9
|
+
readonly Icon: React.ComponentClass<import("@patternfly/react-icons/dist/js/createIcon").SVGIconProps, any>;
|
|
10
|
+
}, {
|
|
11
|
+
readonly value: 1;
|
|
12
|
+
readonly label: "Satisfied";
|
|
13
|
+
readonly Icon: React.ComponentClass<import("@patternfly/react-icons/dist/js/createIcon").SVGIconProps, any>;
|
|
14
|
+
}];
|
|
15
|
+
interface IProps {
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
isSubmitting: boolean;
|
|
18
|
+
initialFeedback?: number;
|
|
19
|
+
initialFeedbackReason?: string;
|
|
20
|
+
onClose: () => void;
|
|
21
|
+
onSubmit: (feedback: number, feedbackReason: string) => Promise<boolean | void> | boolean | void;
|
|
22
|
+
}
|
|
23
|
+
export declare function AsaCommentFeedbackModal(props: IProps): React.JSX.Element;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=AsaCommentFeedbackModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsaCommentFeedbackModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAIvB,CAAC;AAEX,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC;CACpG;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,qBAgKpD"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { Button, Form, FormGroup, Icon, Modal, ModalBody, ModalFooter, ModalHeader, ModalVariant, TextArea, } from '@patternfly/react-core';
|
|
11
|
+
import OutlinedFrownIcon from '@patternfly/react-icons/dist/js/icons/outlined-frown-icon';
|
|
12
|
+
import OutlinedMehIcon from '@patternfly/react-icons/dist/js/icons/outlined-meh-icon';
|
|
13
|
+
import OutlinedSmileIcon from '@patternfly/react-icons/dist/js/icons/outlined-smile-icon';
|
|
14
|
+
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
15
|
+
import React, { useEffect, useState } from 'react';
|
|
16
|
+
import { Trans, useTranslation } from 'react-i18next';
|
|
17
|
+
export const ASA_FEEDBACK_RATINGS = [
|
|
18
|
+
{ value: -1, label: 'Unsatisfied', Icon: OutlinedFrownIcon },
|
|
19
|
+
{ value: 0, label: 'Neutral', Icon: OutlinedMehIcon },
|
|
20
|
+
{ value: 1, label: 'Satisfied', Icon: OutlinedSmileIcon },
|
|
21
|
+
];
|
|
22
|
+
export function AsaCommentFeedbackModal(props) {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
const { t } = useTranslation();
|
|
25
|
+
const [selectedFeedback, setSelectedFeedback] = useState(props.initialFeedback);
|
|
26
|
+
const [feedbackReason, setFeedbackReason] = useState((_a = props.initialFeedbackReason) !== null && _a !== void 0 ? _a : '');
|
|
27
|
+
const [showRatingError, setShowRatingError] = useState(false);
|
|
28
|
+
const savedFeedbackReason = (_b = props.initialFeedbackReason) !== null && _b !== void 0 ? _b : '';
|
|
29
|
+
const hasChanges = selectedFeedback !== props.initialFeedback || feedbackReason !== savedFeedbackReason;
|
|
30
|
+
const isSubmitDisabled = props.isSubmitting || selectedFeedback === undefined || !hasChanges;
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
var _a;
|
|
33
|
+
if (props.isOpen) {
|
|
34
|
+
setSelectedFeedback(props.initialFeedback);
|
|
35
|
+
setFeedbackReason((_a = props.initialFeedbackReason) !== null && _a !== void 0 ? _a : '');
|
|
36
|
+
setShowRatingError(false);
|
|
37
|
+
}
|
|
38
|
+
}, [props.isOpen, props.initialFeedback, props.initialFeedbackReason]);
|
|
39
|
+
const handleClose = () => {
|
|
40
|
+
if (props.isSubmitting) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
props.onClose();
|
|
44
|
+
};
|
|
45
|
+
const handleSubmit = (event) => __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
event.preventDefault();
|
|
47
|
+
if (selectedFeedback === undefined) {
|
|
48
|
+
setShowRatingError(true);
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
if (isSubmitDisabled) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
yield props.onSubmit(selectedFeedback, feedbackReason);
|
|
55
|
+
});
|
|
56
|
+
return (React.createElement(Modal, { id: "asa-comment-feedback-modal", className: "asa-comment-feedback-modal", "aria-describedby": "asa-comment-feedback-modal-description", isOpen: props.isOpen, variant: ModalVariant.medium, onClose: handleClose },
|
|
57
|
+
React.createElement(ModalHeader, null,
|
|
58
|
+
React.createElement("div", { className: "asa-comment-feedback-modal-title-row" },
|
|
59
|
+
React.createElement("h2", { className: "asa-comment-feedback-modal-title" }, t('Send us your feedback')),
|
|
60
|
+
React.createElement(Button, { variant: "plain", icon: React.createElement(TimesIcon, null), "aria-label": t('Close'), onClick: handleClose, isDisabled: props.isSubmitting, className: "asa-comment-feedback-modal-close", "data-tracking-id": "case-asa-comment-feedback-close" }))),
|
|
61
|
+
React.createElement(ModalBody, null,
|
|
62
|
+
React.createElement("p", { id: "asa-comment-feedback-modal-description", className: "asa-comment-feedback-modal-description" },
|
|
63
|
+
React.createElement(Trans, null, "Let us know if you found a bug or if you have a suggestion to improve the web experience.")),
|
|
64
|
+
React.createElement(Form, { onSubmit: handleSubmit },
|
|
65
|
+
React.createElement(FormGroup, { label: t('How satisfied are you with generated support assistant comment?'), isRequired: true, fieldId: "asa-comment-feedback-rating" },
|
|
66
|
+
React.createElement("div", { className: "asa-feedback-rating-options", role: "radiogroup", "aria-labelledby": "asa-comment-feedback-rating", id: "asa-comment-feedback-rating" }, ASA_FEEDBACK_RATINGS.map((rating) => {
|
|
67
|
+
const isSelected = selectedFeedback === rating.value;
|
|
68
|
+
return (React.createElement("button", { key: rating.value, type: "button", className: `asa-feedback-rating-option${isSelected ? ' is-selected' : ''}`, "aria-pressed": isSelected, "aria-label": t(rating.label), "data-tracking-id": `case-asa-comment-feedback-${rating.label.toLowerCase()}`, disabled: props.isSubmitting, onClick: () => {
|
|
69
|
+
setSelectedFeedback(rating.value);
|
|
70
|
+
setShowRatingError(false);
|
|
71
|
+
} },
|
|
72
|
+
React.createElement(Icon, { size: "md" },
|
|
73
|
+
React.createElement(rating.Icon, { "aria-hidden": "true" })),
|
|
74
|
+
React.createElement("span", null,
|
|
75
|
+
React.createElement(Trans, null, rating.label))));
|
|
76
|
+
})),
|
|
77
|
+
showRatingError && selectedFeedback === undefined && (React.createElement("p", { className: "form-instructions form-invalid pf-v6-u-mt-sm" },
|
|
78
|
+
React.createElement(Trans, null, "Please select a value")))),
|
|
79
|
+
React.createElement(FormGroup, { label: t('How can we improve?'), fieldId: "asa-comment-feedback-reason" },
|
|
80
|
+
React.createElement(TextArea, { id: "asa-comment-feedback-reason", name: "feedbackReason", value: feedbackReason, onChange: (_event, value) => setFeedbackReason(value), placeholder: t('Describe your suggestion in details'), "aria-label": t('How can we improve?'), isDisabled: props.isSubmitting, resizeOrientation: "vertical" })),
|
|
81
|
+
React.createElement("p", { className: "asa-feedback-privacy" },
|
|
82
|
+
React.createElement(Trans, null, "Do not share any personal or other sensitive information in your feedback. Feedback may be used to improve Red Hat's products or services. For more information about Red Hat\u2019s privacy practices, please refer to the"),
|
|
83
|
+
' ',
|
|
84
|
+
React.createElement("a", { href: "https://www.redhat.com/en/about/privacy-policy", target: "_blank", rel: "noreferrer" },
|
|
85
|
+
React.createElement(Trans, null, "Red Hat Privacy Statement."))))),
|
|
86
|
+
React.createElement(ModalFooter, null,
|
|
87
|
+
React.createElement(Button, { key: "confirm", variant: "primary", onClick: handleSubmit, isDisabled: isSubmitDisabled, isLoading: props.isSubmitting, spinnerAriaValueText: props.isSubmitting ? t('Sending feedback') : undefined, "data-tracking-id": "case-asa-comment-feedback-submit", "aria-label": t('Send Feedback') },
|
|
88
|
+
React.createElement(Trans, null, "Send Feedback")),
|
|
89
|
+
React.createElement(Button, { key: "cancel", variant: "link", onClick: handleClose, isDisabled: props.isSubmitting, "data-tracking-id": "case-asa-comment-feedback-cancel", "aria-label": t('Cancel') },
|
|
90
|
+
React.createElement(Trans, null, "Cancel")))));
|
|
91
|
+
}
|
|
@@ -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"}
|