@rh-support/troubleshoot 2.6.14 → 2.6.15
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.js +4 -4
- package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +21 -18
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +45 -34
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +13 -19
- package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +8 -8
- package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +8 -8
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +20 -19
- 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/CaseSolutions/HandpicketItem.js +3 -3
- package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +33 -23
- 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 +9 -8
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +13 -16
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +51 -94
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +9 -8
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +36 -31
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +9 -7
- 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.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +2 -2
- 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.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +2 -2
- 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 +2 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +5 -5
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +23 -17
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +19 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +5 -8
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +5 -4
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +4 -6
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummaryErrorMessage.js +4 -6
- package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +1 -1
- 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/CaseGroup.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseGroup.js +1 -2
- package/lib/esm/components/CaseInformation/CaseInformation.js +3 -3
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
- package/lib/esm/components/CaseInformation/Description.js +4 -4
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +13 -9
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +2 -2
- package/lib/esm/components/CaseInformation/Severity.js +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +16 -10
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +14 -11
- package/lib/esm/components/CaseManagement/CaseManagement.js +4 -4
- package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/Cep.js +44 -41
- 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.map +1 -1
- package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +39 -63
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +62 -36
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +1 -1
- 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 +10 -10
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +2 -2
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +57 -16
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +12 -27
- 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 +10 -11
- package/lib/esm/components/Cve/CveModal.d.ts.map +1 -1
- package/lib/esm/components/Cve/CveModal.js +10 -11
- package/lib/esm/components/Cve/CvePanel.d.ts.map +1 -1
- package/lib/esm/components/Cve/CvePanel.js +3 -3
- package/lib/esm/components/Cve/CveSidebar.js +2 -2
- package/lib/esm/components/IdeaInformation/IdeaInformation.js +7 -7
- package/lib/esm/components/ImproveCase/KtQuestions.js +6 -6
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +6 -13
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +8 -7
- 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 +80 -53
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +14 -10
- package/lib/esm/components/ProductSelector/ProductSelector.js +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +4 -4
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +5 -3
- package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendationsModal.js +7 -11
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +4 -4
- package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +7 -7
- package/lib/esm/components/Recommendations/InsightsResults.js +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +16 -16
- package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +6 -6
- 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 +23 -20
- 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 +7 -9
- 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/RemoteRiderBanner.js +1 -1
- package/lib/esm/components/Review/Review.js +4 -4
- package/lib/esm/components/SessionRestore/RestoreLastSessionModal.js +5 -5
- package/lib/esm/components/SessionRestore/SessionRestore.js +1 -1
- 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 +21 -21
- package/lib/esm/components/Suggestions/Suggestions.js +2 -2
- package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/TopContent.js +8 -8
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -1
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +13 -14
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +20 -16
- package/lib/esm/components/shared/Rule.js +6 -6
- package/lib/esm/components/shared/fileUpload/FileLister.js +6 -6
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +7 -6
- package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -0
- 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/input/ContactSelectorInternal.d.ts +15 -6
- package/lib/esm/components/shared/input/ContactSelectorInternal.d.ts.map +1 -1
- package/lib/esm/components/shared/input/ContactSelectorInternal.js +128 -23
- package/lib/esm/components/wizardLayout/MainSection.js +2 -2
- 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.js +3 -3
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +61 -19
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +7 -13
- package/lib/esm/css/app.css +13 -13
- package/lib/esm/css/case.css +23 -16
- package/lib/esm/hooks/useWizard.d.ts.map +1 -1
- package/lib/esm/hooks/useWizard.js +1 -3
- package/lib/esm/reducers/RouteConstNTypes.d.ts +1 -2
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +183 -88
- package/lib/esm/scss/_pf-overrides.scss +150 -140
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, List, ListItem, Popover, Tooltip } from '@patternfly/react-core';
|
|
1
|
+
import { Button, Card, CardBody, CardHeader, List, ListItem, Popover, Tooltip } from '@patternfly/react-core';
|
|
2
2
|
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
3
3
|
import LockIcon from '@patternfly/react-icons/dist/js/icons/lock-icon';
|
|
4
4
|
import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
|
|
@@ -22,12 +22,13 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
|
|
|
22
22
|
setOpenRequestRemoteSessionModal((openRequestRemoteSessionModal) => !openRequestRemoteSessionModal);
|
|
23
23
|
};
|
|
24
24
|
// RSA Aside Section Body
|
|
25
|
-
const RemoteSessionAgreementSectionBody = (React.createElement(
|
|
26
|
-
React.createElement(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
React.createElement(
|
|
30
|
-
|
|
25
|
+
const RemoteSessionAgreementSectionBody = (React.createElement(Card, { className: "card-support escalations", ref: ref },
|
|
26
|
+
React.createElement(CardHeader, null,
|
|
27
|
+
React.createElement("h3", { className: "card-heading pf-v6-u-display-flex pf-v6-u-justify-content-space-between case-detail-panel-card-heading" },
|
|
28
|
+
t('Remote session request'),
|
|
29
|
+
React.createElement(Popover, { "aria-label": t('Remote Session Helper Info'), bodyContent: t('Before Red Hat logs into your systems to analyze your support issue during a remote session, Red Hat needs your approval and authorization for such remote access'), footerContent: React.createElement("a", { href: "/articles/3566571", target: "_blank", rel: "noopener noreferrer", "aria-label": t('Read more about remote sessions') }, t('Read more about remote sessions')) },
|
|
30
|
+
React.createElement(InfoCircleIcon, null)))),
|
|
31
|
+
React.createElement(CardBody, null,
|
|
31
32
|
isInternal && (React.createElement(React.Fragment, null,
|
|
32
33
|
React.createElement("p", null,
|
|
33
34
|
React.createElement(LockIcon, null),
|
|
@@ -43,7 +44,7 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
|
|
|
43
44
|
isExternal && (React.createElement(React.Fragment, null,
|
|
44
45
|
React.createElement("p", null,
|
|
45
46
|
React.createElement("strong", null, `${t('Red Hat may agree to remotely access your systems if:')}`)),
|
|
46
|
-
React.createElement(List, { className: "pf-
|
|
47
|
+
React.createElement(List, { className: "pf-v6-u-pl-lg" },
|
|
47
48
|
React.createElement(ListItem, null, t('Such access will help diagnose and have greater understanding into the issue')),
|
|
48
49
|
React.createElement(ListItem, null, t('Agreed upon by both Red Hat and you, the end user'))),
|
|
49
50
|
React.createElement("p", { className: "rrs-light-grey-text" }, t('Red Hat will add a comment to your case to schedule your remote session.')),
|
package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemoteSessionAgreementModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RemoteSessionAgreementModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,OAAO,KAA8B,MAAM,OAAO,CAAC;AAgBnD,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAClD,QAAQ,EAAE,OAAO,CAAC;CACrB;AAiBD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBAqWxD"}
|
|
@@ -8,11 +8,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { publicApi } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Alert, Button, ButtonVariant, Checkbox, Modal, TextArea, TextInput } from '@patternfly/react-core';
|
|
12
|
-
import { Select, SelectOption } from '@patternfly/react-core/deprecated';
|
|
11
|
+
import { Alert, Button, ButtonVariant, Checkbox, Modal, ModalFooter, TextArea, TextInput, } from '@patternfly/react-core';
|
|
13
12
|
import DownloadIcon from '@patternfly/react-icons/dist/js/icons/download-icon';
|
|
14
13
|
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
15
|
-
import { ToastNotification, useFetch } from '@rh-support/components';
|
|
14
|
+
import { SingleSelectDropdown, ToastNotification, useFetch } from '@rh-support/components';
|
|
16
15
|
import isEqual from 'lodash/isEqual';
|
|
17
16
|
import React, { useEffect, useState } from 'react';
|
|
18
17
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -43,7 +42,6 @@ export function RemoteSessionAgreementModal(props) {
|
|
|
43
42
|
}), isEqual);
|
|
44
43
|
const [isTermsChecked, setIsTermsChecked] = useState(false);
|
|
45
44
|
const { request } = useFetch(publicApi.terms.getRequiredTerms);
|
|
46
|
-
const [isLangSelectorDropdownOpen, setisLangSelectorDropdownOpen] = useState(false);
|
|
47
45
|
const caseDispatch = useCaseDispatch();
|
|
48
46
|
const [selectedTranslation, setSelectedTranslation] = useState({
|
|
49
47
|
id: '5001',
|
|
@@ -154,64 +152,63 @@ export function RemoteSessionAgreementModal(props) {
|
|
|
154
152
|
setIsTermsChecked(value);
|
|
155
153
|
};
|
|
156
154
|
// Handle language change
|
|
157
|
-
const onLangChange = (
|
|
158
|
-
setSelectedTranslation(allTranslations[lang]);
|
|
159
|
-
setisLangSelectorDropdownOpen(false);
|
|
155
|
+
const onLangChange = (lang) => {
|
|
156
|
+
setSelectedTranslation(allTranslations[lang.value]);
|
|
160
157
|
};
|
|
161
|
-
// To handle dropdown toggle
|
|
162
|
-
const onDropdownToggle = (toggle) => setisLangSelectorDropdownOpen(toggle);
|
|
163
158
|
// To check and if I agree button is loading
|
|
164
159
|
const isAgreeLoading = agreeLoading || isPostingComment;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
160
|
+
const languageOptions = Object.keys(allTranslations).map((option) => ({
|
|
161
|
+
value: option,
|
|
162
|
+
label: getLocaleNameFromLocalCode(option),
|
|
163
|
+
}));
|
|
164
|
+
// Create selected option object based on current selection
|
|
165
|
+
const selectedLanguage = {
|
|
166
|
+
value: selectedTranslation.localeCode,
|
|
167
|
+
label: selectedTranslation.localeCode
|
|
168
|
+
? getLocaleNameFromLocalCode(selectedTranslation.localeCode)
|
|
169
|
+
: t('Select an option that best fits'),
|
|
170
|
+
};
|
|
174
171
|
const renderRemoteSessionForm = (React.createElement("div", { id: "remoteSessionForm", className: "form-group" },
|
|
175
172
|
React.createElement(Alert, { variant: "info", isInline: true, title: React.createElement(React.Fragment, null,
|
|
176
173
|
"What is a Remote Support Session and how to acknowledge the Remote Access Rider?",
|
|
177
174
|
' ',
|
|
178
175
|
React.createElement("a", { href: "https://access.redhat.com/articles/3566571", target: "_blank", rel: "noopener noreferrer" }, "Read more.")) }),
|
|
179
176
|
React.createElement("div", null,
|
|
180
|
-
React.createElement("label", { className: "pf-
|
|
177
|
+
React.createElement("label", { className: "pf-v6-u-mt-md" },
|
|
181
178
|
React.createElement(Trans, null, "Preferred Time and Expectations for Remote Session"),
|
|
182
179
|
React.createElement("span", { className: "form-required", "aria-hidden": "true" }, "*")),
|
|
183
180
|
React.createElement(TextArea, { value: sessionExpectations, onChange: updateSessionExpectation, rows: 3, placeholder: "Please share anything that will help prepare for our meeting?", isRequired: true, "aria-label": "Preferred Time and Expectations for Remote Session" })),
|
|
184
181
|
React.createElement("div", null,
|
|
185
|
-
React.createElement("label", { className: "pf-
|
|
182
|
+
React.createElement("label", { className: "pf-v6-u-mt-md" },
|
|
186
183
|
React.createElement(Trans, null, "Describe the impact to you or the business"),
|
|
187
184
|
React.createElement("span", { className: "form-required", "aria-hidden": "true" }, "*")),
|
|
188
185
|
React.createElement(TextArea, { value: impact, onChange: updateImpact, rows: 3, placeholder: "Describe the user or financial impact.", isRequired: true, "aria-label": "Describe the impact to you or the business" })),
|
|
189
186
|
React.createElement("div", null,
|
|
190
|
-
React.createElement("label", { className: "pf-
|
|
187
|
+
React.createElement("label", { className: "pf-v6-u-mt-md" },
|
|
191
188
|
React.createElement(Trans, null, "Remote session link (optional)")),
|
|
192
189
|
React.createElement(TextInput, { value: sessionLink, onChange: updateSessionLink, type: "text", "aria-label": "Remote session link" }),
|
|
193
190
|
React.createElement("p", { className: "form-instructions" }, "If not provided, the Red Hat Support Associate will share a link with you."))));
|
|
194
191
|
const renderRemoteSessionAgreement = (React.createElement("div", { id: "remoteSessionAgreement" },
|
|
195
|
-
React.createElement("p", { className: "pf-
|
|
192
|
+
React.createElement("p", { className: "pf-v6-u-mt-xs" },
|
|
196
193
|
React.createElement(Trans, null,
|
|
197
194
|
"Your acceptance of this remote session agreement is required ",
|
|
198
195
|
React.createElement("strong", null, "for each case"),
|
|
199
196
|
" when you request Red Hat\u2019s support team to directly access your network or systems.")),
|
|
200
|
-
React.createElement("p", { className: "pf-
|
|
197
|
+
React.createElement("p", { className: "pf-v6-u-mt-md" },
|
|
201
198
|
React.createElement(Trans, null, "Remote access to your network or systems is not a standard Red Hat problem resolution process. Before Red Hat logs into your systems to analyze your support issue during a remote session, Red Hat needs your approval and authorization for such remote access.")),
|
|
202
|
-
React.createElement("p", { className: "pf-
|
|
199
|
+
React.createElement("p", { className: "pf-v6-u-mt-md" },
|
|
203
200
|
React.createElement(Trans, null, "Please read and accept the remote session terms below to allow Red Hat to access your network or systems.")),
|
|
204
|
-
React.createElement("div",
|
|
205
|
-
React.createElement(
|
|
206
|
-
React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "rsa-modal-terms-download", className: "pf-
|
|
201
|
+
React.createElement("div", { className: "pf-v6-u-display-flex pf-v6-u-align-items-center pf-v6-u-flex-wrap" },
|
|
202
|
+
React.createElement(SingleSelectDropdown, { id: "terms-language-selector", ariaLabel: t('Select language'), selected: selectedLanguage, options: languageOptions, isDisabled: false, placeholder: t('Select an option that best fits'), onSelect: (option) => onLangChange(option), className: "pf-v6-u-mt-md", toggleClassName: "pf-v6-u-w-50" }),
|
|
203
|
+
React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "rsa-modal-terms-download", className: "pf-v6-u-ml-md pf-v6-u-display-inline-flex pf-v6-u-align-items-center", href: selectedTranslation.pdfDownloadUrl, rel: "noopener noreferrer", target: "_blank" },
|
|
207
204
|
t('Download'),
|
|
208
205
|
" ",
|
|
209
|
-
React.createElement(DownloadIcon, { className: "pf-
|
|
206
|
+
React.createElement(DownloadIcon, { className: "pf-v6-u-ml-xs" }))),
|
|
210
207
|
React.createElement("div", null,
|
|
211
|
-
React.createElement(Checkbox, { className: "pf-
|
|
208
|
+
React.createElement(Checkbox, { className: "pf-v6-u-mt-md rsa-checkbox", id: "terms-accept-checkbox", label: React.createElement(React.Fragment, null,
|
|
212
209
|
React.createElement(Trans, null, "I have read and agree to the"),
|
|
213
210
|
' ',
|
|
214
|
-
React.createElement("a", { className: "pf-
|
|
211
|
+
React.createElement("a", { className: "pf-v6-c-button pf-m-link pf-m-inline align-link-items", rel: "noopener noreferrer", target: "_blank", href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": "case-details-request-remote-session-terms" },
|
|
215
212
|
React.createElement(Trans, null, "terms "),
|
|
216
213
|
React.createElement(ExternalLinkAltIcon, null))), isChecked: isTermsChecked, "aria-label": t('I have read and agree to the terms'), onChange: onCheckBoxChange }))));
|
|
217
214
|
// Body of RSA Modal
|
|
@@ -222,5 +219,13 @@ export function RemoteSessionAgreementModal(props) {
|
|
|
222
219
|
? t('Request remote session')
|
|
223
220
|
: t('Remote session agreement'), title: isRemoteSessionForm || remoteSessionTermsAcked
|
|
224
221
|
? t('Request remote session')
|
|
225
|
-
: t('Remote session agreement'), isOpen: props.show, onClose: onCancel
|
|
222
|
+
: t('Remote session agreement'), isOpen: props.show, onClose: onCancel },
|
|
223
|
+
RemoteSessionAgreementModalBody(),
|
|
224
|
+
React.createElement(ModalFooter, null,
|
|
225
|
+
React.createElement(Button, { "aria-label": t('I agree'), variant: ButtonVariant.primary, onClick: isRemoteSessionForm || remoteSessionTermsAcked ? onSubmit : toggleRemoteSessionForm, "data-tracking-id": isRemoteSessionForm || remoteSessionTermsAcked
|
|
226
|
+
? 'remote-session-details-submission'
|
|
227
|
+
: 'remote-session-agreement-check', isLoading: isAgreeLoading, isDisabled: (isRemoteSessionForm || remoteSessionTermsAcked
|
|
228
|
+
? !sessionExpectations.trim() || !impact.trim()
|
|
229
|
+
: !isTermsChecked) || isAgreeLoading }, t(isRemoteSessionForm || remoteSessionTermsAcked ? 'Submit' : 'I agree')),
|
|
230
|
+
React.createElement(Button, { key: "cancel", variant: "link", onClick: onCancel, isDisabled: isAgreeLoading }, "Cancel"))));
|
|
226
231
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,qBA4HpC;kBA5HQ,cAAc;;;AA+HvB,eAAe,cAAc,CAAC"}
|
|
@@ -71,11 +71,11 @@ function CaseActionPlan(props) {
|
|
|
71
71
|
const isInternalWithoutSFDCUser = loggedInUserRights.data.isInternalWithoutSFDCUser();
|
|
72
72
|
const isActionPlanEmpty = isEmpty(actionPlanState === null || actionPlanState === void 0 ? void 0 : actionPlanState.trim());
|
|
73
73
|
return (React.createElement(React.Fragment, null,
|
|
74
|
-
React.createElement(AlertMessage, { show: isInternalWithoutSFDCUser, variant: AlertType.WARNING, isInline: true, className: "pf-
|
|
74
|
+
React.createElement(AlertMessage, { show: isInternalWithoutSFDCUser, variant: AlertType.WARNING, isInline: true, className: "pf-v6-u-mb-lg", title: t('You need a Salesforce (SFDC) user to edit the action plan.') }),
|
|
75
75
|
React.createElement("label", { htmlFor: "rha-action-plan", className: "sr-only" },
|
|
76
76
|
React.createElement(Trans, null, "Action plan")),
|
|
77
77
|
!canUpdateActionPlan ? (React.createElement(CodeBlock, null,
|
|
78
|
-
React.createElement(CodeBlockCode, { style: {
|
|
78
|
+
React.createElement(CodeBlockCode, { className: "pf-v6-u-text-color-regular", style: {
|
|
79
79
|
fontFamily: isExportingPDF ? 'DejaVu Sans' : undefined,
|
|
80
80
|
} }, isEmpty(actionPlan) ? t('No action plan to display.') : actionPlan))) : (React.createElement("form", null,
|
|
81
81
|
React.createElement(TextAreaResizable, { id: "rha-action-plan", disabled: isUpdating || isInternalWithoutSFDCUser, maxLength: 32768, name: "actionPlan", value: actionPlanState, onChange: onChange, rowsMin: 3 }),
|
|
@@ -86,7 +86,7 @@ function CaseActionPlan(props) {
|
|
|
86
86
|
React.createElement(LoadingIndicator, { show: isUpdating, isInline: true })),
|
|
87
87
|
React.createElement("button", { className: "btn btn-app btn-link", onClick: discardActionPlan, disabled: isUpdating || !formIsDirty, type: "button" },
|
|
88
88
|
React.createElement(Trans, null, "Cancel")))),
|
|
89
|
-
React.createElement("p", { className: "pf-
|
|
89
|
+
React.createElement("p", { className: "pf-v6-u-mt-xl" },
|
|
90
90
|
React.createElement(Trans, null,
|
|
91
91
|
"Updates to the action plan are ",
|
|
92
92
|
React.createElement("strong", null, "customer-facing"),
|
|
@@ -260,7 +260,7 @@ export function CaseContactPhoneNumber() {
|
|
|
260
260
|
}
|
|
261
261
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
262
262
|
}, [contactSSOName]);
|
|
263
|
-
return (React.createElement("div", { className: "form-group
|
|
263
|
+
return (React.createElement("div", { className: "form-group", style: { minWidth: '200px' } },
|
|
264
264
|
React.createElement("h3", { className: `subheading subheading-sm ${isExportingPDF ? 'expand-input' : ''}` },
|
|
265
265
|
React.createElement(Trans, null, "Case owner's phone number"),
|
|
266
266
|
React.createElement("span", { className: `form-required ${isExportingPDF ? 'hide-in-pdf' : ''}`, "aria-hidden": true }, "*"),
|
|
@@ -268,7 +268,7 @@ export function CaseContactPhoneNumber() {
|
|
|
268
268
|
React.createElement(InputGroupText, null,
|
|
269
269
|
React.createElement(PhoneInput, { phoneValue: localFullPhoneState, onPhoneValueChange: onPhoneChange, onCountryCodeChange: onCountryCodeChange, validations: isPhoneNumberValid, isDisabled: isCasePhoneUpdating || isCaseOwnerUpdating || !isEditting, isLoading: isCasePhoneUpdating || isCaseOwnerUpdating || isFetchingSSO, "data-tracking-id": "case-details-page-supplied-phone", invalid: invalid, setInvalid: setInvalid }),
|
|
270
270
|
isEditting ? (React.createElement(React.Fragment, null,
|
|
271
|
-
React.createElement("button", { className: "btn btn-app btn-link pf-
|
|
271
|
+
React.createElement("button", { className: "btn btn-app btn-link pf-v6-u-ml-sm", type: "button", "data-tracking-id": "case-details-page-supplied-phone-save", onClick: () => onSave(), "aria-label": "Save", disabled: (isSaveClicked && isPhoneValueCannotBeSaved) ||
|
|
272
272
|
(localFullPhone === null || localFullPhone === void 0 ? void 0 : localFullPhone.length) > PHONE_LIMIT ||
|
|
273
273
|
localFullPhoneState === phoneCountryCode + ' ' + phoneAreaCodePrefixLineNumber ||
|
|
274
274
|
isCaseOwnerUpdating ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBA6KlC;kBA7KQ,YAAY;;;AAgLrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { accounts } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Popover, PopoverPosition, Spinner, Switch } from '@patternfly/react-core';
|
|
11
|
+
import { Popover, PopoverPosition, Spinner, Switch, TextInput } from '@patternfly/react-core';
|
|
12
12
|
import QuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/question-circle-icon';
|
|
13
13
|
import { InlineEdit, LoadingIndicator, ToastNotification, useFetch, ValueChangedIcon } from '@rh-support/components';
|
|
14
14
|
import { fetchLoggedInUsersAccount, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useCanEditCase, } from '@rh-support/react-context';
|
|
@@ -50,10 +50,10 @@ function CaseHostname(props) {
|
|
|
50
50
|
const [localHostnameChange, setLocalHostnameChange] = useState(false);
|
|
51
51
|
const afterLocalChange = () => setLocalHostnameChange(false);
|
|
52
52
|
const canEditCase = useCanEditCase();
|
|
53
|
-
const onHostnameChange = (
|
|
53
|
+
const onHostnameChange = (hostname) => {
|
|
54
54
|
if (canEditCase.alert())
|
|
55
55
|
return;
|
|
56
|
-
setHostnameState(
|
|
56
|
+
setHostnameState(hostname);
|
|
57
57
|
};
|
|
58
58
|
const onHostnameUpdate = (caseDetails) => __awaiter(this, void 0, void 0, function* () {
|
|
59
59
|
setIsHostnameUpdating(true);
|
|
@@ -102,17 +102,19 @@ function CaseHostname(props) {
|
|
|
102
102
|
const hostNameVisibilityContent = (React.createElement("div", null,
|
|
103
103
|
React.createElement("p", null, "You can share this information at any time to improve your support experience."),
|
|
104
104
|
React.createElement(Switch, { label: shareHostnameLabel, isChecked: isShareHostNamesChecked, onChange: onShareHostnameCheck }),
|
|
105
|
-
isHostnamesLoading && (React.createElement(Spinner, { size: "lg", className: "pf-
|
|
106
|
-
if (!canUseHostName) {
|
|
105
|
+
isHostnamesLoading && (React.createElement(Spinner, { size: "lg", className: "pf-v6-u-ml-sm hostnameSpinner", "aria-label": "Hostname loading" }))));
|
|
106
|
+
if (!canUseHostName && canUseHostName) {
|
|
107
107
|
return React.createElement(React.Fragment, null);
|
|
108
108
|
}
|
|
109
109
|
const lengthError = (hostnameState === null || hostnameState === void 0 ? void 0 : hostnameState.length) > HOSTNAME_LENGTH_LIMIT;
|
|
110
110
|
return (React.createElement(React.Fragment, null,
|
|
111
111
|
React.createElement(InlineEdit, { labelProps: { htmlFor: 'case-details-hostname' }, formClassName: props.className || '', labelContent: React.createElement(React.Fragment, null,
|
|
112
112
|
React.createElement(Trans, null, "Hostname"),
|
|
113
|
+
"*",
|
|
114
|
+
' ',
|
|
113
115
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localHostnameChange, value: hostname, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.hostname) })), helperContent: !isExportingPDF ? (React.createElement(Popover, { "aria-label": "Hostname Info", position: PopoverPosition.auto, bodyContent: hostNameVisibilityContent, closeBtnAriaLabel: "Close", headerContent: 'Share hostname?', onShow: () => userOriginalHostnameValue() },
|
|
114
|
-
React.createElement(QuestionCircleIcon, { className: "pf-
|
|
115
|
-
React.createElement(
|
|
116
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-sm F icon-size pf-v6-u-text-color-status-custom cursor-pointer", "aria-label": "Hostname Info" }))) : undefined, allowInlineEdit: props.inlineEditable, content: hostname, saveDisabled: hostnameState === hostname || isHostnameUpdating || lengthError, onSave: onSave, onCancel: onCancel, initialIsEditing: false, loadingIndicator: isHostnameUpdating ? React.createElement(LoadingIndicator, { show: isHostnameUpdating, isInline: true }) : undefined, isExportingPDF: isExportingPDF },
|
|
117
|
+
React.createElement(TextInput, { type: "text", id: "case-details-hostname", className: `${lengthError ? ' form-invalid' : ''}`, name: "case-details-hostname", value: hostnameState, onChange: (e, phone) => onHostnameChange(phone), isDisabled: isHostnameUpdating, "data-tracking-id": "case-details-hostname", "aria-invalid": lengthError })),
|
|
116
118
|
lengthError && (React.createElement("div", { className: "pull-top" },
|
|
117
119
|
React.createElement("p", { className: "form-instructions form-invalid" },
|
|
118
120
|
React.createElement(Trans, null,
|
|
@@ -4,5 +4,5 @@ import React from 'react';
|
|
|
4
4
|
import { Trans } from 'react-i18next';
|
|
5
5
|
export default function CaseOpenShiftPopover() {
|
|
6
6
|
return (React.createElement(Popover, { "aria-label": "Cluster Id Info", position: PopoverPosition.auto, bodyContent: React.createElement(Trans, null, "Cluster IDs give us the ability to use connected customer tools and services to debug your cluster in conjunction with this support case."), closeBtnAriaLabel: "Close" },
|
|
7
|
-
React.createElement(QuestionCircleIcon, { className: "pf-
|
|
7
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs" })));
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import React from 'react';
|
|
|
4
4
|
import { Trans } from 'react-i18next';
|
|
5
5
|
export default function CaseOpenShiftV3Popover() {
|
|
6
6
|
return (React.createElement(Popover, { "aria-label": "Cluster Id Info", position: PopoverPosition.auto, bodyContent: React.createElement(Trans, null, "Providing a cluster name allows us to link issues more effectively within managed settings through connected customer tools"), closeBtnAriaLabel: "Close" },
|
|
7
|
-
React.createElement(QuestionCircleIcon, { className: "pf-
|
|
7
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v6-u-ml-xs" })));
|
|
8
8
|
}
|
|
@@ -238,7 +238,7 @@ export function CaseOpenshiftClusterId() {
|
|
|
238
238
|
return null;
|
|
239
239
|
}
|
|
240
240
|
else if (isOpenShiftV3) {
|
|
241
|
-
return React.createElement("div", { className: "pull-top pf-
|
|
241
|
+
return React.createElement("div", { className: "pull-top pf-v6-u-pb-xl" }, v3Message());
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
244
244
|
return (React.createElement(React.Fragment, null,
|
|
@@ -59,7 +59,7 @@ export function CaseContactPhoneNumberAlert(props) {
|
|
|
59
59
|
const confirmationMessage = `${t('Is this phone number correct,')} ${phone} ?`;
|
|
60
60
|
if (!isPhoneNeedsReview)
|
|
61
61
|
return React.createElement(React.Fragment, null);
|
|
62
|
-
return (React.createElement(React.Fragment, null, props.isReview && !closeConfirmAlert && !isExportingPDF ? (React.createElement(Alert, { className: "pf-
|
|
62
|
+
return (React.createElement(React.Fragment, null, props.isReview && !closeConfirmAlert && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v6-u-p-sm pf-v6-u-mb-md phone-review-banner", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
63
63
|
React.createElement(Button, { key: "case-contact-phone-number-review-confirm", variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-review-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
64
64
|
React.createElement(Trans, null, "Yes, confirm phone number")),
|
|
65
65
|
React.createElement(Link, { key: "case-contact-phone-number-review", replace: true, to: {
|
|
@@ -69,7 +69,7 @@ export function CaseContactPhoneNumberAlert(props) {
|
|
|
69
69
|
React.createElement(Button, { key: "case-contact-phone-number-alert-close", variant: ButtonVariant.link, onClick: () => setCloseConfirmAlert(!closeConfirmAlert), "data-tracking-id": "case-contact-phone-number-alert-close", isDisabled: isCaseUpdating },
|
|
70
70
|
React.createElement(Trans, null, "Close")),
|
|
71
71
|
] },
|
|
72
|
-
React.createElement(Trans, null, confirmationMessage))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-
|
|
72
|
+
React.createElement(Trans, null, confirmationMessage))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v6-u-p-sm pf-v6-u-mb-md phone-review-banner", variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
73
73
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
74
74
|
React.createElement(Trans, null, "Confirm phone number")),
|
|
75
75
|
] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAW/D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,MAAM,qBA+LxD"}
|
|
@@ -106,17 +106,17 @@ export default function CaseReferenceNumber(props) {
|
|
|
106
106
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localRefNumberChange, value: referenceNumber, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.altID) }),
|
|
107
107
|
' ',
|
|
108
108
|
!isExportingPDF ? (React.createElement(Tooltip, { trigger: 'mouseenter focus', position: TooltipPosition.top, content: React.createElement(Trans, null, "Add your internal tracking ID to better identify and organize support issues.") },
|
|
109
|
-
React.createElement(InfoIcon, { className: "pf-
|
|
109
|
+
React.createElement(InfoIcon, { className: "pf-v6-u-ml-sm cursor-pointer pf-v6-u-text-color-status-custom", "aria-label": "Case Alternate ID" }))) : ('')), allowInlineEdit: inlineEditable, content: referenceNumber || t('No personal reference number to display.'), hideSaveCancel: hideSaveCancel, saveDisabled: saveDisabled, charCount: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) || 0, charTotal: CASE_REFERENCE_NUMBER_LIMIT, cancelToggleState: isCancelClicked, saveToggleState: isSaveClicked, isExportingPDF: isExportingPDF },
|
|
110
110
|
React.createElement(TextInputGroup, null,
|
|
111
111
|
React.createElement(TextInput, { value: referenceNumberState, type: "text", id: "case-details-reference-number", placeholder: t(`Enter the reference number used personally or within your company`), onChange: (_event, value) => onReferenceNumberChange(value), "data-tracking-id": "case-details-reference-number", isDisabled: isUpdating, onKeyDown: handleKeyDown, validated: (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT
|
|
112
112
|
? ValidatedOptions.error
|
|
113
113
|
: ValidatedOptions.default }),
|
|
114
114
|
!isUpdating ? (React.createElement(InputGroupText, null,
|
|
115
|
-
React.createElement("button", { className: "btn btn-app btn-link pf-
|
|
115
|
+
React.createElement("button", { className: "btn btn-app btn-link pf-v6-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
|
|
116
116
|
React.createElement(CheckIcon, null)),
|
|
117
117
|
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
|
|
118
118
|
React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, null,
|
|
119
|
-
React.createElement(Spinner, { size: "lg", className: "pf-
|
|
119
|
+
React.createElement(Spinner, { size: "lg", className: "pf-v6-u-ml-2xl pf-v6-u-mr-xl" }))))),
|
|
120
120
|
isReferenceNumberValid ? (React.createElement("div", { className: "pull-top" },
|
|
121
121
|
React.createElement("p", { className: "form-instructions form-invalid" },
|
|
122
122
|
React.createElement(Trans, null, maxLengthErrorMessage)))) : (React.createElement("p", { className: "form-instructions" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductVersion.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/ProductVersion.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAkD,MAAM,OAAO,CAAC;AASvE,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ProductVersion.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/ProductVersion.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAkD,MAAM,OAAO,CAAC;AASvE,UAAU,MAAM;IACZ,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,MAAM,qBA8VrC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -209,7 +209,7 @@ function ProductNVersion(props) {
|
|
|
209
209
|
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" }),
|
|
210
210
|
isProductUpdating ? (React.createElement(TextInputGroupUtilities, null,
|
|
211
211
|
React.createElement(Spinner, { size: "md" }))) : (React.createElement(TextInputGroupUtilities, Object.assign({}, (!inputValue ? { style: { display: 'none' } } : {})),
|
|
212
|
-
React.createElement(Button, {
|
|
212
|
+
React.createElement(Button, { icon: !isExportingPDF ? React.createElement(TimesIcon, { "aria-hidden": true }) : '', variant: "plain", onClick: onProductClear, "aria-label": "Clear input value" }))))));
|
|
213
213
|
const getVersionDropdownOptions = map(versions, (option) => ({
|
|
214
214
|
label: option,
|
|
215
215
|
value: option,
|
|
@@ -226,7 +226,7 @@ function ProductNVersion(props) {
|
|
|
226
226
|
}, [allProducts, dispatchToGlobalMetadataReducer, contactSSOName]);
|
|
227
227
|
return (React.createElement(React.Fragment, null,
|
|
228
228
|
React.createElement(AlertMessage, { show: !allProducts.isFetching && allProducts.isError, title: t('There was an error loading products.'), variant: AlertType.DANGER }),
|
|
229
|
-
isEmpty(selectedVersionLocal) && (selectedVersionLocal === null || selectedVersionLocal === void 0 ? void 0 : selectedVersionLocal.length) < 2 && (React.createElement(Alert, { isInline: true, className: "pf-
|
|
229
|
+
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") })),
|
|
230
230
|
React.createElement(React.Fragment, null,
|
|
231
231
|
React.createElement("div", { className: "form-group all-product-selector-dropdown" },
|
|
232
232
|
React.createElement("div", { className: "product-selector-wrapper" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SFDCUrl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,MAAM,CAAC,OAAO,UAAU,OAAO,
|
|
1
|
+
{"version":3,"file":"SFDCUrl.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/SFDCUrl.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,MAAM,CAAC,OAAO,UAAU,OAAO,sBAuD9B"}
|
|
@@ -27,11 +27,10 @@ export default function SFDCUrl() {
|
|
|
27
27
|
const handleSFDCUrlClick = () => {
|
|
28
28
|
window.open(getSFDCCaseUrl(), '_blank');
|
|
29
29
|
};
|
|
30
|
-
return (React.createElement("div", { className: "pf-
|
|
31
|
-
React.createElement("label", { htmlFor: "sfdc-case-url", className: "pf-
|
|
30
|
+
return (React.createElement("div", { className: "pf-v6-u-mb-md" },
|
|
31
|
+
React.createElement("label", { htmlFor: "sfdc-case-url", className: "pf-v6-u-mb-sm" },
|
|
32
32
|
React.createElement(Trans, null, "SFDC Case URL")),
|
|
33
33
|
React.createElement(Flex, { className: "sfdc-case-url-clipboard" },
|
|
34
|
-
React.createElement(Button, { variant: "control", "aria-label": "Copy SFDC Url", onClick: handleSFDCUrlClick },
|
|
35
|
-
React.createElement(ExternalLinkAltIcon, null)),
|
|
34
|
+
React.createElement(Button, { className: "pf-v6-u-mr-xs", icon: React.createElement(ExternalLinkAltIcon, null), variant: "control", "aria-label": "Copy SFDC Url", onClick: handleSFDCUrlClick }),
|
|
36
35
|
React.createElement(ClipboardCopy, { isReadOnly: true, hoverTip: "Copy URL", clickTip: "URL copied", id: "sfdc-case-url", "data-tracking-id": "sfdc-case-url" }, getSFDCCaseUrl()))));
|
|
37
36
|
}
|
|
@@ -132,11 +132,11 @@ function Summary(props) {
|
|
|
132
132
|
? ValidatedOptions.error
|
|
133
133
|
: ValidatedOptions.default }),
|
|
134
134
|
!isSummaryUpdating ? (React.createElement(InputGroupText, null,
|
|
135
|
-
React.createElement("button", { className: "btn btn-app btn-link pf-
|
|
135
|
+
React.createElement("button", { className: "btn btn-app btn-link pf-v6-u-ml-sm", type: "button", disabled: saveDisabled, onClick: onSave },
|
|
136
136
|
React.createElement(CheckIcon, null)),
|
|
137
137
|
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
|
|
138
138
|
React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, null,
|
|
139
|
-
React.createElement(Spinner, { size: "lg", className: "pf-
|
|
139
|
+
React.createElement(Spinner, { size: "lg", className: "pf-v6-u-ml-2xl pf-v6-u-mr-xl" }))))),
|
|
140
140
|
isSummaryEmpty && (React.createElement("p", { className: "form-instructions form-invalid" },
|
|
141
141
|
React.createElement(Trans, null, fieldEmptyErrorMessage)))));
|
|
142
142
|
}
|
|
@@ -123,7 +123,7 @@ const CaseAttachment = React.forwardRef((props, ref) => {
|
|
|
123
123
|
return (React.createElement("section", { ref: ref, id: props.attachment.id, className: `prevent-split support-comment comment-attachment ${!isCardIsDeleted ? 'showcard' : ''} ${ref ? 'selected-case-comment' : ''} ${props.attachment.isPrivate ? 'private' : ''}` },
|
|
124
124
|
React.createElement("header", null,
|
|
125
125
|
React.createElement("h4", null,
|
|
126
|
-
React.createElement(Icon, { className: "pf-
|
|
126
|
+
React.createElement(Icon, { className: "pf-v6-u-mr-xs" },
|
|
127
127
|
React.createElement(PaperclipIcon, null)),
|
|
128
128
|
props.attachment.modifiedBy),
|
|
129
129
|
React.createElement("time", { className: "text-right" }, formatDateTime(props.attachment.lastModifiedDate))),
|
|
@@ -150,7 +150,7 @@ const CaseAttachment = React.forwardRef((props, ref) => {
|
|
|
150
150
|
React.createElement(Trans, null, maxCaseAttachmentDescription))),
|
|
151
151
|
React.createElement("footer", null,
|
|
152
152
|
React.createElement("span", { className: "comment-note" }, props.attachment.isPrivate && React.createElement(Trans, null, "Private attachment")),
|
|
153
|
-
React.createElement("span", { className: "pull-right pf-
|
|
153
|
+
React.createElement("span", { className: "pull-right pf-v6-l-flex pf-m-align-items-center" },
|
|
154
154
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.attachment.id), discussionType: DiscussionType.ATTACHMENT, itemId: props.attachment.id, caseNumber: props.attachment.caseNumber, isCopyLink: false },
|
|
155
155
|
React.createElement(Trans, null, "Jump to attachment"))),
|
|
156
156
|
React.createElement("button", { className: `btn btn-app btn-link text-danger ${isExportingPDF ? 'hide-in-pdf' : ''}`, title: "Delete attachment", onClick: deleteAttachment(props.attachment), "data-tracking-id": "delete-attachmentid-button", type: "button" },
|
|
@@ -24,7 +24,7 @@ const CaseChat = React.forwardRef((props, ref) => {
|
|
|
24
24
|
{ visitorName: props.chat.visitorName }),
|
|
25
25
|
React.createElement("p", { className: "push-top-narrow", dangerouslySetInnerHTML: sanetize(props.chat.body) })),
|
|
26
26
|
React.createElement("footer", null,
|
|
27
|
-
React.createElement("span", { className: "pf-
|
|
27
|
+
React.createElement("span", { className: "pf-v6-u-ml-auto pf-v6-l-flex pf-m-align-items-center" },
|
|
28
28
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.chat.id), discussionType: DiscussionType.CHAT, itemId: props.chat.id, caseNumber: caseNumber, isCopyLink: false },
|
|
29
29
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
30
30
|
React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.chat.id, discussionType: DiscussionType.CHAT })))));
|
|
@@ -238,7 +238,7 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
238
238
|
React.createElement("footer", null,
|
|
239
239
|
React.createElement("span", { className: "comment-note" }, computeCommentFooter(props.comment)),
|
|
240
240
|
canSeeFeedbackButtons && commentFeedbackButtons(props.comment, props.feedback),
|
|
241
|
-
React.createElement("span", { className: "pull-right pf-
|
|
241
|
+
React.createElement("span", { className: "pull-right pf-v6-l-flex pf-m-align-items-center" },
|
|
242
242
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.comment.id), discussionType: DiscussionType.COMMENT, itemId: props.comment.id, caseNumber: caseNumber, isCopyLink: false },
|
|
243
243
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
244
244
|
React.createElement("button", { onClick: commentReply(props.comment), className: `btn btn-app btn-link case-reply-button ${isExportingPDF ? 'hide-in-pdf' : ''}`, "data-tracking-id": "case-comment-reply", type: "button" },
|
|
@@ -395,11 +395,11 @@ export default function CaseDiscussion(props) {
|
|
|
395
395
|
React.createElement("div", { className: `pfe-l-grid pfe-m-all-6-col pfe-m-gutters push-bottom ${isExportingPDF ? 'hide-in-pdf' : ''}` },
|
|
396
396
|
React.createElement("div", { className: "pfe-m-12-col" }, allDiscussions.length > 20 && (React.createElement(CommentSearch, { caseDiscussions: computeFilteredComments || [], onCommentSearch: onCaseCommentSearch, isCommentSearchCleared: isCommentSearchCleared }))),
|
|
397
397
|
React.createElement("span", { className: "push-top-narrow" },
|
|
398
|
-
React.createElement("label", { htmlFor: "case-list-comments-dropdown", className: "pf-
|
|
398
|
+
React.createElement("label", { htmlFor: "case-list-comments-dropdown", className: "pf-v6-u-mb-sm" }, t('Filter by')),
|
|
399
399
|
React.createElement(Select, { "data-tracking-id": "discussions-filter-comments-dropdown", id: "case-list-comments-dropdown", role: "menu", isOpen: isOpen, selected: selectedFilterItems, onSelect: onFilterSelect, onOpenChange: (isOpen) => setIsOpen(isOpen), toggle: toggle, popperProps: { direction: 'down', enableFlip: false }, zIndex: 9 },
|
|
400
400
|
React.createElement(SelectList, null, list.map((option) => (React.createElement(SelectOption, { hasCheckbox: true, value: option, isSelected: option.isSelected, isDisabled: option.isDisabled }, option.filterLabel)))))),
|
|
401
401
|
React.createElement("span", { className: "push-top-narrow" },
|
|
402
|
-
React.createElement("label", { htmlFor: "se-discussion-sort", className: "pf-
|
|
402
|
+
React.createElement("label", { htmlFor: "se-discussion-sort", className: "pf-v6-u-mb-sm" }, t('Sort by')),
|
|
403
403
|
React.createElement(Select, { id: "se-discussion-sort", "data-tracking-id": "discussions-sort-dropdown", isOpen: isSortOpen, selected: sortSelected, onSelect: onSortSelect, onOpenChange: (isSortOpen) => setIsSortOpen(isSortOpen), toggle: onSortToggle, shouldFocusToggleOnSelect: true, popperProps: { direction: 'down', enableFlip: false }, zIndex: 9 },
|
|
404
404
|
React.createElement(SelectList, null, discussionSortOrderConst.map((option) => (React.createElement(SelectOption, { value: option, isSelected: isEqual(sort.name, option.name) }, option.name))))))),
|
|
405
405
|
React.createElement("div", { className: "support-comment-section" }, !shouldRenderRVComponent &&
|
|
@@ -46,7 +46,7 @@ const CaseExternalTrackerUpdate = React.forwardRef((props, ref) => {
|
|
|
46
46
|
React.createElement(Trans, null, " External tracker"))))))),
|
|
47
47
|
!isPrivateUpdate() && props.trackerUpdate.customerVisible && (React.createElement("div", { className: "comment-note external-tracker-label" },
|
|
48
48
|
React.createElement(Trans, null, "External tracker"))),
|
|
49
|
-
React.createElement("span", { className: "pull-right pf-
|
|
49
|
+
React.createElement("span", { className: "pull-right pf-v6-l-flex pf-m-align-items-center" },
|
|
50
50
|
props.showJumpToComment && (React.createElement(DiscussionItemLink, { onClick: onJumpToComment(props.trackerUpdate.id), discussionType: DiscussionType.EXTERNAL_TRACKER, itemId: props.trackerUpdate.id, caseNumber: caseNumber, isCopyLink: false },
|
|
51
51
|
React.createElement(Trans, null, "Jump to comment"))),
|
|
52
52
|
React.createElement(JumpAndCopyLink, { caseNumber: caseNumber, cardId: props.trackerUpdate.id, discussionType: DiscussionType.EXTERNAL_TRACKER })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAkB,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5F,UAAU,MAAM;IACZ,eAAe,EAAE,WAAW,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CommentSearch.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAkB,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5F,UAAU,MAAM;IACZ,eAAe,EAAE,WAAW,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,qBAoG1C"}
|
|
@@ -82,9 +82,8 @@ export function CommentSearch(props) {
|
|
|
82
82
|
props.isCommentSearchCleared && !isEmpty(searchValue) && setSearchValue('');
|
|
83
83
|
return (React.createElement("form", { onSubmit: handleSubmit },
|
|
84
84
|
React.createElement("div", { className: "case-comment-input-container", "data-tracking-id": "case-comment-search" },
|
|
85
|
-
React.createElement(TextInput, { type: "search", value: searchValue, className: "pf-
|
|
86
|
-
searchValue && (React.createElement(Button, { onClick: clearSearchVal, className: "clear-btn", variant: "plain", "data-tracking-id": "case-comment-search-clear-button", "aria-label": t('Clear this search') },
|
|
87
|
-
React.createElement(TimesIcon, null))),
|
|
85
|
+
React.createElement(TextInput, { type: "search", value: searchValue, className: "pf-v6-u-mr-lg", placeholder: t('Search for a comment'), id: "case-comment-search", "aria-label": t('Search for a comment'), onChange: (_event, value) => onSearchValChange(value), "data-tracking-id": "case-comment-search-input" }),
|
|
86
|
+
searchValue && (React.createElement(Button, { icon: React.createElement(TimesIcon, null), onClick: clearSearchVal, className: "clear-btn", variant: "plain", "data-tracking-id": "case-comment-search-clear-button", "aria-label": t('Clear this search') })),
|
|
88
87
|
React.createElement(Button, { variant: "secondary", type: "submit", "data-tracking-id": "case-comment-search-button" },
|
|
89
88
|
React.createElement(Trans, null, "Search")))));
|
|
90
89
|
}
|
|
@@ -328,7 +328,7 @@ export function PostComment(props) {
|
|
|
328
328
|
isCommentEmpty ||
|
|
329
329
|
isPostCommentDisabled ||
|
|
330
330
|
(isConfirmedStateSideSupport && !cssCommentAgreed);
|
|
331
|
-
return (React.createElement("div", { className: `pf-
|
|
331
|
+
return (React.createElement("div", { className: `pf-v6-u-mb-md ${isExportingPDF ? 'hide-in-pdf' : ''}`, ref: componentRef },
|
|
332
332
|
React.createElement(MarkdownEditor, { className: `${!isPublic && canPostPrivateComments ? 'is-private' : ''}`, disabled: isProcessing || canEditCase.isCaseNotEditable, "aria-label": "comment text area", showMarkdownPlainTextToggle: true, editorMode: commentType, onFocus: () => setIsTextAreaFocused(true), onBlur: onTextAreaBlur, onChange: onCommentTextChange, value: commentText, rows: isTextAreaFocused ? 12 : 4, bindTextArea: textAreaRef, onCommentExceedCharsLimit: onCommentExceedCharsLimit, mdPlaceholder: isPublic || !canPostPrivateComments
|
|
333
333
|
? 'Add a comment using markdown'
|
|
334
334
|
: 'Add a comment or attach a file privately', plainTextPlaceholder: isPublic || !canPostPrivateComments
|
|
@@ -343,12 +343,12 @@ export function PostComment(props) {
|
|
|
343
343
|
isUploadingFile: isMarkdownFileUploadInProgress,
|
|
344
344
|
onClipboardPaste,
|
|
345
345
|
} }),
|
|
346
|
-
isConfirmedStateSideSupport && (React.createElement("div", { className: "pf-
|
|
346
|
+
isConfirmedStateSideSupport && (React.createElement("div", { className: "pf-v6-u-mt-md pf-v6-u-mb-lg" },
|
|
347
347
|
React.createElement("input", { type: "checkbox", id: "css-case-comment-agreement", name: "css-case-comment-agreement", "data-tracking-id": "css-case-comment-agreement", checked: cssCommentAgreed, onChange: (e) => setCssCommentAgreed(e.target.checked) }),
|
|
348
|
-
React.createElement("label", { htmlFor: "css-case-comment-agreement", className: "pf-
|
|
348
|
+
React.createElement("label", { htmlFor: "css-case-comment-agreement", className: "pf-v6-u-font-weight-normal pf-v6-u-font-size-sm" },
|
|
349
349
|
React.createElement(Trans, null, "I will not transmit controlled unclassified information to or export it from the Red Hat Customer Portal."),
|
|
350
350
|
React.createElement("span", { className: "form-required", "aria-hidden": "true" }, "*")))),
|
|
351
|
-
isProcessing ? (React.createElement(LoadingIndicator, { isInline: true, size: "sm" })) : (React.createElement("div", { className: "pf-
|
|
351
|
+
isProcessing ? (React.createElement(LoadingIndicator, { isInline: true, size: "sm" })) : (React.createElement("div", { className: "pf-v6-l-flex post-comment-btn-group push-top-narrow" },
|
|
352
352
|
isModalOpen && loggedInUserRights.data.isInternal() && isPublic && (React.createElement(VerifyCaseStatusModal, { onClose: onCancel, onConfirm: onConfirm, isUpdating: isPostingComment, caseNumber: props.caseNumber })),
|
|
353
353
|
React.createElement(Button, { "data-tracking-id": "postcomment-submit-button", type: "button", variant: ButtonVariant.primary, onClick: loggedInUser.data.isInternal && isPublic ? onBtnClick : isNotInternalConfirm, isDisabled: isSubmitDisabled, className: "postcomment-submit" },
|
|
354
354
|
React.createElement(Trans, null, "Submit")),
|
|
@@ -358,7 +358,7 @@ export function PostComment(props) {
|
|
|
358
358
|
React.createElement(Trans, null, "Cancel")),
|
|
359
359
|
canPostPrivateComments && (React.createElement("span", { className: "post-comment-checkbox" },
|
|
360
360
|
React.createElement(Checkbox, { label: t('Private'), isChecked: !isPublic && canPostPrivateComments, onChange: handleCheckboxToggle, "aria-label": t('Private'), id: "private-comment", name: "private-comment", "data-tracking-id": "private-comment-checkbox" }))))),
|
|
361
|
-
React.createElement(FileUpload, { className: `file-upload-section ${hasSomeSelectedFilesLocal ? 'card card-white pf-
|
|
361
|
+
React.createElement(FileUpload, { className: `file-upload-section ${hasSomeSelectedFilesLocal ? 'card card-white pf-v6-u-mt-lg pf-v6-u-p-lg' : ''}`, idToUploadTo: caseNumber, onUploadClick: onFileUploadClick, isSessionId: false, isSecureSupport: loggedInUsersAccount.data.secureSupport, isPrivate: !isPublic, autoUploadOnSelect: true, showDescriptionInfoMsg: true }),
|
|
362
362
|
React.createElement("span", Object.assign({}, getRootProps(), { tabIndex: -1 }),
|
|
363
363
|
React.createElement("input", Object.assign({ style: { display: 'none !important' } }, getInputProps()))),
|
|
364
364
|
!loggedInUsersAccount.data.secureSupport && (React.createElement(NewFeaturePopoverAnnouncement, { "aria-label": "Attach and embed images! You'll find all of your uploaded images here.", featureName: FeatureAnnouncementKeys.MARKDOWN_INLINE_IMAGES, sectionRef: componentRef, bodyContent: React.createElement("div", null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyCaseStatusModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VerifyCaseStatusModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAa3E,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,qBAwIlD"}
|