@rh-support/troubleshoot 2.2.50 → 2.4.10-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/README.md +1 -1
  2. package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
  3. package/lib/esm/components/AccountInfo/AccountSelector.js +4 -4
  4. package/lib/esm/components/AccountInfo/ManagedAccountsDropdown.js +1 -1
  5. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +2 -2
  6. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
  7. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +19 -22
  8. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
  9. package/lib/esm/components/CaseEditView/CaseDetailsAside.js +9 -14
  10. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +1 -1
  11. package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
  12. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +13 -18
  13. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +1 -1
  14. package/lib/esm/components/CaseEditView/CaseOverview/DateTime.js +1 -1
  15. package/lib/esm/components/CaseEditView/CaseOverview/index.js +8 -8
  16. package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +1 -1
  17. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  18. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +38 -66
  19. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +1 -4
  20. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
  21. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +4 -6
  22. package/lib/esm/components/CaseEditView/CaseSubscriptionAbuseAlert.js +1 -1
  23. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
  24. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +11 -17
  25. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
  26. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
  27. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +6 -7
  28. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
  29. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +10 -11
  30. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
  31. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
  32. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +10 -11
  33. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
  34. package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +3 -3
  35. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +4 -4
  36. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +2 -2
  37. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftPopover.js +1 -1
  38. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenShiftV3Popover.js +1 -1
  39. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +1 -1
  40. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +2 -2
  41. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +2 -2
  42. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
  43. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +7 -7
  44. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +1 -1
  45. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
  46. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +6 -6
  47. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +1 -1
  48. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseChat.js +1 -1
  49. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
  50. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +4 -6
  51. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
  52. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +1 -18
  53. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.d.ts.map +1 -1
  54. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseExternalTrackerUpdate.js +3 -5
  55. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +1 -1
  56. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +4 -4
  57. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
  58. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +2 -3
  59. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
  60. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +3 -3
  61. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +1 -1
  62. package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
  63. package/lib/esm/components/CaseInformation/CaseInformation.js +3 -3
  64. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +1 -1
  65. package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
  66. package/lib/esm/components/CaseInformation/Description.js +3 -3
  67. package/lib/esm/components/CaseInformation/Fts.js +3 -3
  68. package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
  69. package/lib/esm/components/CaseInformation/Severity.js +3 -5
  70. package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
  71. package/lib/esm/components/CaseInformation/SupportLevel.js +3 -4
  72. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
  73. package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +2 -3
  74. package/lib/esm/components/CaseManagement/CaseManagement.js +2 -2
  75. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  76. package/lib/esm/components/CaseManagement/Cep.js +14 -30
  77. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.d.ts.map +1 -1
  78. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +12 -13
  79. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +3 -3
  80. package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +1 -1
  81. package/lib/esm/components/CaseManagement/OpenShiftV3Inputbox.js +1 -1
  82. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
  83. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +3 -4
  84. package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +2 -2
  85. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.d.ts.map +1 -1
  86. package/lib/esm/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.js +14 -15
  87. package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +3 -3
  88. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +1 -1
  89. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +3 -3
  90. package/lib/esm/components/IdeaInformation/IdeaInformation.js +5 -5
  91. package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
  92. package/lib/esm/components/ImproveCase/KtQuestions.js +7 -7
  93. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +15 -12
  94. package/lib/esm/components/ProductSelector/AllProductsSelector.js +1 -1
  95. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  96. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +5 -6
  97. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +2 -2
  98. package/lib/esm/components/ProductSelector/ProductSelector.js +2 -2
  99. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts +0 -3
  100. package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
  101. package/lib/esm/components/Recommendations/AlertToastWrapper.js +2 -2
  102. package/lib/esm/components/Recommendations/AsideResults.d.ts +7 -1
  103. package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
  104. package/lib/esm/components/Recommendations/AsideResults.js +17 -4
  105. package/lib/esm/components/Recommendations/ClusterRecommendationItems.js +1 -1
  106. package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -1
  107. package/lib/esm/components/Recommendations/EARules/EARuleInfoAccordion.js +1 -1
  108. package/lib/esm/components/Recommendations/EARules/EARuleInfoInline.js +7 -7
  109. package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
  110. package/lib/esm/components/Recommendations/InsightsResults.js +3 -3
  111. package/lib/esm/components/Recommendations/InsightsRuleInfo.js +7 -7
  112. package/lib/esm/components/Recommendations/RecommendationFeedbackModal.js +1 -1
  113. package/lib/esm/components/Recommendations/Recommendations.d.ts +3 -0
  114. package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
  115. package/lib/esm/components/Recommendations/Recommendations.js +19 -6
  116. package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
  117. package/lib/esm/components/Recommendations/RulesModal.js +1 -2
  118. package/lib/esm/components/Recommendations/ShowRank.d.ts +12 -0
  119. package/lib/esm/components/Recommendations/ShowRank.d.ts.map +1 -0
  120. package/lib/esm/components/Recommendations/ShowRank.js +27 -0
  121. package/lib/esm/components/RemoteRider/RemoteRiderBanner.js +1 -1
  122. package/lib/esm/components/Review/Review.js +2 -2
  123. package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
  124. package/lib/esm/components/SessionRestore/SessionRestore.js +14 -9
  125. package/lib/esm/components/SessionRestore/SessionRestoreCard.d.ts.map +1 -1
  126. package/lib/esm/components/SessionRestore/SessionRestoreCard.js +16 -9
  127. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts +0 -3
  128. package/lib/esm/components/SubmitCase/ResubmitToast.d.ts.map +1 -1
  129. package/lib/esm/components/SubmitCase/ResubmitToast.js +1 -3
  130. package/lib/esm/components/SubmitCase/SubmitCase.d.ts +7 -1
  131. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  132. package/lib/esm/components/SubmitCase/SubmitCase.js +17 -19
  133. package/lib/esm/components/Suggestions/Suggestions.js +1 -1
  134. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  135. package/lib/esm/components/Suggestions/TopContent.js +12 -58
  136. package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +6 -6
  137. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +4 -4
  138. package/lib/esm/components/shared/Rule.js +6 -6
  139. package/lib/esm/components/shared/fileUpload/FileLister.js +6 -6
  140. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +2 -2
  141. package/lib/esm/components/shared/fileUpload/common/FileUploaderInfoIcon.js +1 -1
  142. package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -1
  143. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
  144. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.js +1 -1
  145. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +2 -2
  146. package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +2 -2
  147. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +1 -1
  148. package/lib/esm/components/shared/useIsSectionValid.js +1 -1
  149. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
  150. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +0 -6
  151. package/lib/esm/components/wizardLayout/MainSection.js +1 -1
  152. package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
  153. package/lib/esm/components/wizardLayout/WizardAside.js +3 -3
  154. package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
  155. package/lib/esm/components/wizardLayout/WizardLayout.js +37 -6
  156. package/lib/esm/components/wizardLayout/WizardMain.js +2 -2
  157. package/lib/esm/components/wizardLayout/WizardNavigation.js +1 -1
  158. package/lib/esm/constants/caseDetailsConstants.d.ts +1 -7
  159. package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
  160. package/lib/esm/constants/caseDetailsConstants.js +0 -7
  161. package/lib/esm/css/app.css +7 -7
  162. package/lib/esm/css/case.css +3 -3
  163. package/lib/esm/hooks/useWizard.js +1 -1
  164. package/lib/esm/reducers/CaseConstNTypes.d.ts +4 -4
  165. package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
  166. package/lib/esm/reducers/CaseConstNTypes.js +4 -4
  167. package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
  168. package/lib/esm/reducers/CaseHelpers.js +0 -2
  169. package/lib/esm/reducers/CaseReducer.d.ts +2 -1
  170. package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
  171. package/lib/esm/reducers/CaseReducer.js +14 -20
  172. package/lib/esm/reducers/RecommendationsReducer.d.ts +2 -1
  173. package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
  174. package/lib/esm/reducers/RecommendationsReducer.js +30 -2
  175. package/lib/esm/reducers/RouteConstNTypes.d.ts +2 -2
  176. package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
  177. package/lib/esm/reducers/SessionRestoreReducer.d.ts +1 -1
  178. package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
  179. package/lib/esm/reducers/SessionRestoreReducer.js +1 -7
  180. package/lib/esm/scss/_main.scss +43 -109
  181. package/lib/esm/scss/_pf4-imports.scss +30 -0
  182. package/lib/esm/scss/{_pf-overrides.scss → _pf4-overrides.scss} +85 -214
  183. package/lib/esm/scss/index.scss +2 -1
  184. package/package.json +14 -13
  185. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts +0 -13
  186. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.d.ts.map +0 -1
  187. package/lib/esm/components/CaseEditView/CaseSolutions/HandpicketItem.js +0 -76
  188. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.d.ts +0 -3
  189. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.d.ts.map +0 -1
  190. package/lib/esm/components/CaseEditView/Tabs/RelatedTickets/RelatedTickets.js +0 -118
@@ -1 +1 @@
1
- {"version":3,"file":"SupportLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/SupportLevel.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAU5D,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAO5C,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,eA4HlC;kBA5HQ,YAAY;;;AA8HrB,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"SupportLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/SupportLevel.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAU5D,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAO5C,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,eA4HlC;kBA5HQ,YAAY;;;AA8HrB,eAAe,YAAY,CAAC"}
@@ -1,5 +1,4 @@
1
- import { Popover, PopoverPosition, ValidatedOptions } from '@patternfly/react-core';
2
- import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
1
+ import { Popover, PopoverPosition, Select, SelectOption, SelectVariant, ValidatedOptions, } from '@patternfly/react-core';
3
2
  import QuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/question-circle-icon';
4
3
  import { GlobalMetadataStateContext } from '@rh-support/react-context';
5
4
  import { showFtsOnCaseViewEditPage, showFtsOnCreateCasePage } from '@rh-support/utils';
@@ -83,8 +82,8 @@ function SupportLevel(props) {
83
82
  "Learn more about our",
84
83
  ' ',
85
84
  React.createElement("a", { href: "/support/offerings/production/sla", target: "_blank" }, "production support service level agreement"))), closeBtnAriaLabel: "Close" },
86
- React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", "aria-label": "Support Level Info" })),
87
- React.createElement(Select, { variant: SelectVariant.single, "aria-label": t('Select Support Level'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onEntitlementChange, selections: selectedSla, isOpen: isOpen, "aria-labelledby": 'get-support-supportLevel', isDisabled: ownersEntitlements.isError || isEmpty(ownersEntitlements.data), validated: isSupportLevelInValid ? ValidatedOptions.error : ValidatedOptions.default, "data-tracking-id": "get-support-supportLevel" }, getSlaList().map((sla, index) => (React.createElement(SelectOption, { key: index, value: sla })))),
85
+ React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs icon-size", "aria-label": "Support Level Info" })),
86
+ React.createElement(Select, { variant: SelectVariant.single, "aria-label": t('Select Support Level'), onToggle: onToggle, onSelect: onEntitlementChange, selections: selectedSla, isOpen: isOpen, "aria-labelledby": 'get-support-supportLevel', isDisabled: ownersEntitlements.isError || isEmpty(ownersEntitlements.data), validated: isSupportLevelInValid ? ValidatedOptions.error : ValidatedOptions.default, "data-tracking-id": "get-support-supportLevel" }, getSlaList().map((sla, index) => (React.createElement(SelectOption, { key: index, value: sla })))),
88
87
  isEmpty(ownersEntitlements.data) && (React.createElement("p", { className: "form-instructions" }, ownersEntitlements.isError ? t('Error loading support levels') : t('No active subscriptions')))));
89
88
  }
90
89
  SupportLevel.defaultProps = defaultProps;
@@ -1 +1 @@
1
- {"version":3,"file":"CaseLanguageSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/CaseLanguageSelector.tsx"],"names":[],"mappings":"AAcA,MAAM,WAAW,MAAM;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,KAAK,EAAE,MAAM,eA8FzD"}
1
+ {"version":3,"file":"CaseLanguageSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/CaseLanguageSelector.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,MAAM;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,KAAK,EAAE,MAAM,eA8FzD"}
@@ -1,5 +1,4 @@
1
- import { ValidatedOptions } from '@patternfly/react-core';
2
- import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
1
+ import { Select, SelectOption, SelectVariant, ValidatedOptions } from '@patternfly/react-core';
3
2
  import { GlobalMetadataStateContext } from '@rh-support/react-context';
4
3
  import { ability, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
5
4
  import isEmpty from 'lodash/isEmpty';
@@ -56,7 +55,7 @@ export default function CaseLanguageSelector(props) {
56
55
  React.createElement(Trans, null, "Preferred language"),
57
56
  ' ',
58
57
  React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
59
- React.createElement(Select, { variant: SelectVariant.single, "aria-label": t(`Select a language`), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onLanguageChange, selections: caseLanguage, isOpen: isOpen, "aria-labelledby": 'get-support-language', isDisabled: caseLanguages.isError, validated: caseLanguages.isError ? ValidatedOptions.error : ValidatedOptions.default, "data-tracking-id": "preferred-language-select" }, caseLanguages.data.map((sla, index) => (React.createElement(SelectOption, { value: sla, key: index }, Constants.languagesMap[sla])))),
58
+ React.createElement(Select, { variant: SelectVariant.single, "aria-label": t(`Select a language`), onToggle: onToggle, onSelect: onLanguageChange, selections: caseLanguage, isOpen: isOpen, "aria-labelledby": 'get-support-language', isDisabled: caseLanguages.isError, validated: caseLanguages.isError ? ValidatedOptions.error : ValidatedOptions.default, "data-tracking-id": "preferred-language-select" }, caseLanguages.data.map((sla, index) => (React.createElement(SelectOption, { value: sla, key: index }, Constants.languagesMap[sla])))),
60
59
  React.createElement("p", { className: "form-instructions" },
61
60
  React.createElement(Trans, null, "Select a language for communicating with our support engineers."))));
62
61
  }
@@ -33,9 +33,9 @@ export default function CaseManagement(props) {
33
33
  return (React.createElement("form", null,
34
34
  React.createElement(SupportLevel, null),
35
35
  React.createElement(Flex, { direction: { default: 'column', '2xl': 'row' } },
36
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xs" },
36
+ React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-u-mb-xs" },
37
37
  React.createElement(Severity, { showSeverityInfoIcon: true, onSeverityChange: onSeverityChange })),
38
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xs" },
38
+ React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-u-mb-xs" },
39
39
  React.createElement(ContactPhoneNumber, null))),
40
40
  React.createElement(ContactPhoneNumberAlert, null),
41
41
  React.createElement(Fts, { inlineEditable: false }),
@@ -1 +1 @@
1
- {"version":3,"file":"Cep.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/Cep.tsx"],"names":[],"mappings":"AA0CA,UAAU,MAAM;CAAG;AAEnB,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,eAqThC"}
1
+ {"version":3,"file":"Cep.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/Cep.tsx"],"names":[],"mappings":"AAuCA,UAAU,MAAM;CAAG;AAEnB,wBAAgB,GAAG,CAAC,KAAK,EAAE,MAAM,eAwShC"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { Button, Form, FormGroup, FormHelperText, HelperText, HelperTextItem, Modal, ModalVariant, Popover, PopoverPosition, TextArea, TextInput, ValidatedOptions, } from '@patternfly/react-core';
10
+ import { Button, Form, FormGroup, Modal, ModalVariant, Popover, PopoverPosition, TextArea, TextInput, ValidatedOptions, } from '@patternfly/react-core';
11
11
  import QuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/question-circle-icon';
12
12
  import { LoadingIndicator, ToastNotification, useConfirmation } from '@rh-support/components';
13
13
  import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
@@ -137,12 +137,12 @@ export function Cep(props) {
137
137
  if (!canUseCep) {
138
138
  return React.createElement(React.Fragment, null);
139
139
  }
140
- return (React.createElement("div", { className: "form-group pf-v5-u-mt-lg" },
140
+ return (React.createElement("div", { className: "form-group pf-u-mt-lg" },
141
141
  React.createElement("input", { type: "checkbox", id: "get-support-cep", name: "get-support-cep", checked: isEqual(cep, undefined) ? false : cep, onChange: onCepChange, "data-tracking-id": "get-support-cep" }),
142
142
  React.createElement("label", { htmlFor: "get-support-cep" },
143
143
  React.createElement(Trans, null, "Consultant has been engaged")),
144
144
  !isExportingPDF ? (React.createElement(Popover, { "aria-label": "CEP info", position: PopoverPosition.top, bodyContent: React.createElement(Trans, null, "Used by consultants to indicate that a consulting engagement is in progress and the issue requires increased attention from support resources."), closeBtnAriaLabel: "Close" },
145
- React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", "aria-label": "CEP Info" }))) : (''),
145
+ React.createElement(QuestionCircleIcon, { className: "pf-u-ml-xs icon-size", "aria-label": "CEP Info" }))) : (''),
146
146
  React.createElement(LoadingIndicator, { show: isCaseUpdating && isPostingCep, isInline: true, size: "sm" }),
147
147
  React.createElement(Modal, { id: "cep-details-modal", title: t('Consultant engagement is in progress'), "aria-describedby": "cep-modal-description", isOpen: isCepModalOpen, showClose: true, variant: ModalVariant.large, onClose: onCancel, actions: [
148
148
  React.createElement(Button, { key: "confirm", variant: "primary", className: "btn btn-app btn-primary", onClick: onSubmit, isDisabled: saveButtonIsClicked && isFormInvalid, "data-tracking-id": "cep-details-save" },
@@ -155,34 +155,18 @@ export function Cep(props) {
155
155
  React.createElement("p", { className: "push-top-narrow", id: "cep-madal-description" },
156
156
  React.createElement(Trans, null, "If requested, Red Hat Support will use this information to initiate direct contact (i.e. phone, chat) with listed contact(s) in order to provide faster assistance. The primary method of communication will continue to be this support ticket.")),
157
157
  React.createElement(Form, { className: "push-top-narrow" },
158
- React.createElement(FormGroup, { label: t('Contact name'), isRequired: true, fieldId: "cep-contact-name" },
159
- React.createElement(TextInput, { type: "text", id: "cep-contact-name", isRequired: true, maxLength: 254, "aria-label": t('Contact name'), onChange: (_event, value) => onCepContactNameChange(value), validated: saveButtonIsClicked && isEmpty((_d = cepDetailsLocal.contactName) === null || _d === void 0 ? void 0 : _d.trim())
158
+ React.createElement(FormGroup, { label: t('Contact name'), isRequired: true, fieldId: "cep-contact-name", helperText: t('Provide main contact(s) troubleshooting the issue.') },
159
+ React.createElement(TextInput, { type: "text", id: "cep-contact-name", isRequired: true, maxLength: 254, "aria-label": t('Contact name'), onChange: onCepContactNameChange, validated: saveButtonIsClicked && isEmpty((_d = cepDetailsLocal.contactName) === null || _d === void 0 ? void 0 : _d.trim())
160
160
  ? ValidatedOptions.error
161
- : ValidatedOptions.default }),
162
- React.createElement(FormHelperText, null,
163
- React.createElement(HelperText, null,
164
- React.createElement(HelperTextItem, null,
165
- React.createElement(Trans, null, "Provide main contact(s) troubleshooting the issue."))))),
166
- React.createElement(FormGroup, { label: t('Availability/Working hours'), isRequired: true, fieldId: "cep-workingHours" },
167
- React.createElement(TextInput, { type: "text", id: "cep-workingHours", isRequired: true, maxLength: 254, "aria-label": t('Availability/Working hours'), onChange: (_event, value) => onCepWorkingHoursChange(value), validated: saveButtonIsClicked && isEmpty((_e = cepDetailsLocal.workingHours) === null || _e === void 0 ? void 0 : _e.trim())
161
+ : ValidatedOptions.default })),
162
+ React.createElement(FormGroup, { label: t('Availability/Working hours'), isRequired: true, fieldId: "cep-workingHours", helperText: t('Indicate working hours, time zone; specify if not available on certain dates (i.e. weekends, holidays).') },
163
+ React.createElement(TextInput, { type: "text", id: "cep-workingHours", isRequired: true, maxLength: 254, "aria-label": t('Availability/Working hours'), onChange: onCepWorkingHoursChange, validated: saveButtonIsClicked && isEmpty((_e = cepDetailsLocal.workingHours) === null || _e === void 0 ? void 0 : _e.trim())
168
164
  ? ValidatedOptions.error
169
- : ValidatedOptions.default }),
170
- React.createElement(FormHelperText, null,
171
- React.createElement(HelperText, null,
172
- React.createElement(HelperTextItem, null,
173
- React.createElement(Trans, null, "Indicate working hours, time zone; specify if not available on certain dates (i.e. weekends, holidays)."))))),
174
- React.createElement(FormGroup, { label: t('Contact information'), isRequired: true, fieldId: "cep-contactInformation" },
175
- React.createElement(TextArea, { id: "cep-contactInformation", "aria-required": true, isRequired: true, maxLength: 2000, name: "cep-contactInformation", value: cepDetailsLocal.contactInformation, onChange: (_event, value) => onCepContactInformationsChange(value), "aria-label": "auto resizing text area example", autoResize: true, validated: saveButtonIsClicked && isEmpty((_f = cepDetailsLocal.contactInformation) === null || _f === void 0 ? void 0 : _f.trim())
165
+ : ValidatedOptions.default })),
166
+ React.createElement(FormGroup, { label: t('Contact information'), isRequired: true, fieldId: "cep-contactInformation", helperText: t('Please provide phone number, chat ID or email.') },
167
+ React.createElement(TextArea, { id: "cep-contactInformation", "aria-required": true, isRequired: true, maxLength: 2000, name: "cep-contactInformation", value: cepDetailsLocal.contactInformation, onChange: onCepContactInformationsChange, "aria-label": "auto resizing text area example", autoResize: true, validated: saveButtonIsClicked && isEmpty((_f = cepDetailsLocal.contactInformation) === null || _f === void 0 ? void 0 : _f.trim())
176
168
  ? ValidatedOptions.error
177
- : ValidatedOptions.default, resizeOrientation: "vertical" }),
178
- React.createElement(FormHelperText, null,
179
- React.createElement(HelperText, null,
180
- React.createElement(HelperTextItem, null,
181
- React.createElement(Trans, null, "Please provide phone number, chat ID or email."))))),
182
- React.createElement(FormGroup, { label: t('Notes'), fieldId: "cep-notes" },
183
- React.createElement(TextArea, { id: "cep-notes", "aria-required": false, isRequired: false, maxLength: 2000, name: "cep-notes", value: cepDetailsLocal.notes, onChange: (_event, value) => onCepNotesChange(value), autoResize: true, resizeOrientation: "vertical" }),
184
- React.createElement(FormHelperText, null,
185
- React.createElement(HelperText, null,
186
- React.createElement(HelperTextItem, null,
187
- React.createElement(Trans, null, "Provide any pertinent information that Red Hat Support should be aware of that's not already captured in the issue statement or comments.")))))))));
169
+ : ValidatedOptions.default })),
170
+ React.createElement(FormGroup, { label: t('Notes'), fieldId: "cep-notes", helperText: t("Provide any pertinent information that Red Hat Support should be aware of that's not already captured in the issue statement or comments.") },
171
+ React.createElement(TextArea, { id: "cep-notes", "aria-required": false, isRequired: false, maxLength: 2000, name: "cep-notes", value: cepDetailsLocal.notes, onChange: onCepNotesChange, autoResize: true }))))));
188
172
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSessionCheckBox.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/ESSRemoteSessionCheckBox.tsx"],"names":[],"mappings":"AA+BA,QAAA,MAAM,qBAAqB,mBAyO1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ESSRemoteSessionCheckBox.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/ESSRemoteSessionCheckBox.tsx"],"names":[],"mappings":"AA8BA,QAAA,MAAM,qBAAqB,mBAyO1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -8,8 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { publicApi } from '@cee-eng/hydrajs';
11
- import { Button, ButtonVariant, Checkbox, Modal } from '@patternfly/react-core';
12
- import { Select, SelectOption } from '@patternfly/react-core/deprecated';
11
+ import { Button, ButtonVariant, Checkbox, Modal, Select, SelectOption } from '@patternfly/react-core';
13
12
  import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
14
13
  import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
15
14
  import { useFetch } from '@rh-support/components';
@@ -86,13 +85,13 @@ const ESSRemoteSessionCheck = () => {
86
85
  fetchTerms();
87
86
  // eslint-disable-next-line react-hooks/exhaustive-deps
88
87
  }, []);
89
- const handleCheckBoxChange = (_event, checked) => {
88
+ const handleCheckBoxChange = (checked) => {
90
89
  setRemoteSessionChecked(checked);
91
90
  setCaseDetails(caseDispatch, {
92
91
  screenSessionRequested: checked,
93
92
  });
94
93
  };
95
- const handleTermsCheckBoxChange = (event, checked) => {
94
+ const handleTermsCheckBoxChange = (checked) => {
96
95
  setRemoteSessionChecked(checked);
97
96
  setIsRSAModalOpen(checked);
98
97
  };
@@ -108,7 +107,7 @@ const ESSRemoteSessionCheck = () => {
108
107
  setIsRSAModalOpen(false);
109
108
  };
110
109
  // Handle terms checkbox
111
- const onCheckBoxChange = (_event, value) => {
110
+ const onCheckBoxChange = (value) => {
112
111
  setIsTermsChecked(value);
113
112
  };
114
113
  // Handle language change
@@ -141,27 +140,27 @@ const ESSRemoteSessionCheck = () => {
141
140
  React.createElement(Trans, null, "remote session"))), description: t('Red Hat will add a comment to your case to schedule your remote session.'), "data-tracking-id": "case-management-remote-session-check", isChecked: remoteSessionChecked, onChange: termsAcceptedOnAccountLevel ? handleCheckBoxChange : handleTermsCheckBoxChange, isDisabled: isCaseUpdating, className: "rsa-checkbox" }),
142
141
  React.createElement(Modal, { id: "remote-session-check-modal", "aria-label": t('Remote Session Agreement'), title: t('Remote Session Agreement'), isOpen: isRSAModalOpen, onClose: onCancel, actions: modalActions },
143
142
  React.createElement(React.Fragment, null,
144
- React.createElement("p", { className: "pf-v5-u-mt-xs" },
143
+ React.createElement("p", { className: "pf-u-mt-xs" },
145
144
  React.createElement(Trans, null,
146
145
  "Your acceptance of this remote session agreement is required ",
147
146
  React.createElement("strong", null, "for each case"),
148
147
  ' ',
149
148
  "when you request Red Hat\u2019s support team to directly access your network or systems.")),
150
- React.createElement("p", { className: "pf-v5-u-mt-md" },
149
+ React.createElement("p", { className: "pf-u-mt-md" },
151
150
  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.")),
152
- React.createElement("p", { className: "pf-v5-u-mt-md" },
151
+ React.createElement("p", { className: "pf-u-mt-md" },
153
152
  React.createElement(Trans, null, "Please read and accept the remote session terms below to allow Red Hat to access your network or systems.")),
154
153
  React.createElement("div", null,
155
- React.createElement(Select, { className: "pf-v5-u-mt-md", "aria-label": t('Select language'), id: "terms-language-selector", selections: selectedTranslation.localeCode, onSelect: onLangChange, isOpen: isLangSelectorDropdownOpen, menuAppendTo: document.body, placeholderText: t('Select an option that best fits'), onToggle: (_event, toggle) => onDropdownToggle(toggle), width: 350 }, Object.keys(allTranslations).map((option, index) => (React.createElement(SelectOption, { key: index, value: option }, getLocaleNameFromLocalCode(option))))),
156
- React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "ess-rsa-modal-terms-download", className: "pf-v5-u-ml-md", href: selectedTranslation.pdfDownloadUrl, rel: "noopener noreferrer", target: "_blank" },
154
+ React.createElement(Select, { className: "pf-u-mt-md", "aria-label": t('Select language'), id: "terms-language-selector", selections: selectedTranslation.localeCode, onSelect: onLangChange, isOpen: isLangSelectorDropdownOpen, menuAppendTo: document.body, placeholderText: t('Select an option that best fits'), onToggle: onDropdownToggle, width: 350 }, Object.keys(allTranslations).map((option, index) => (React.createElement(SelectOption, { key: index, value: option }, getLocaleNameFromLocalCode(option))))),
155
+ React.createElement("a", { "aria-label": t('Download'), "data-tracking-id": "ess-rsa-modal-terms-download", className: "pf-u-ml-md", href: selectedTranslation.pdfDownloadUrl, rel: "noopener noreferrer", target: "_blank" },
157
156
  t('Download'),
158
157
  " ",
159
- React.createElement(DownloadIcon, { className: "pf-v5-u-ml-xs" }))),
158
+ React.createElement(DownloadIcon, { className: "pf-u-ml-xs" }))),
160
159
  React.createElement("div", null,
161
- React.createElement(Checkbox, { className: "pf-v5-u-mt-md rsa-checkbox", id: "terms-accept-checkbox", label: React.createElement(React.Fragment, null,
160
+ React.createElement(Checkbox, { className: "pf-u-mt-md rsa-checkbox", id: "terms-accept-checkbox", label: React.createElement(React.Fragment, null,
162
161
  React.createElement(Trans, null, "I have read and agree to the"),
163
162
  ' ',
164
- React.createElement("a", { className: "pf-v5-c-button pf-m-link pf-m-inline align-link-items", rel: "noopener noreferrer", target: "_blank", href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": "ccase-management-ess-request-rsa" },
163
+ React.createElement("a", { className: "pf-c-button pf-m-link pf-m-inline align-link-items", rel: "noopener noreferrer", target: "_blank", href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": "ccase-management-ess-request-rsa" },
165
164
  React.createElement(Trans, null, "terms "),
166
165
  React.createElement(ExternalLinkAltIcon, null))), isChecked: isTermsChecked, "aria-label": t('I have read and agree to the terms'), onChange: onCheckBoxChange }))))));
167
166
  };
@@ -1,4 +1,4 @@
1
- import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
1
+ import { Select, SelectOption, SelectVariant } from '@patternfly/react-core';
2
2
  import ExclamationCircleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
3
3
  import { LoadingIndicator } from '@rh-support/components';
4
4
  import { fetchNoClusterIdReasonsMetadata, GlobalMetadataStateContext, useGlobalDispatchContext, } from '@rh-support/react-context';
@@ -98,11 +98,11 @@ const NoClusterIDReasonSelector = (props) => {
98
98
  React.createElement("span", { className: `form-required ${isExportingPDF ? 'hide-in-pdf' : ''}`, "aria-hidden": true },
99
99
  ' ',
100
100
  "*")),
101
- React.createElement(Select, { variant: SelectVariant.typeahead, typeAheadAriaLabel: t('Select an option or briefly describe your reason'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onSelect, selections: getSelectedItem(), isOpen: isOpen, placeholderText: t('Select an option or briefly describe your reason'), noValidate: props.isInValid, "aria-labelledby": titleId, "aria-invalid": props.isInValid, "aria-describedby": "validate-reason-helper", validated: validated, className: `${props.isInValid ? ' form-invalid' : ''}`, isDisabled: caseNoClusterIdReasons.isFetching || props.isDisabled, required: true, onFilter: () => null, ref: selectRef, onTypeaheadInputChanged: onTypeaheadInputChanged, "data-tracking-id": "no-openshift-cluster-id-reason" }, (caseNoClusterIdReasonsList || []).map((option, index) => (React.createElement(SelectOption, { key: index, value: createState(option, t(option)) })))),
101
+ React.createElement(Select, { variant: SelectVariant.typeahead, typeAheadAriaLabel: t('Select an option or briefly describe your reason'), onToggle: onToggle, onSelect: onSelect, selections: getSelectedItem(), isOpen: isOpen, placeholderText: t('Select an option or briefly describe your reason'), noValidate: props.isInValid, "aria-labelledby": titleId, "aria-invalid": props.isInValid, "aria-describedby": "validate-reason-helper", validated: validated, className: `form-control${props.isInValid ? ' form-invalid' : ''}`, isDisabled: caseNoClusterIdReasons.isFetching || props.isDisabled, required: true, onFilter: () => null, ref: selectRef, onTypeaheadInputChanged: onTypeaheadInputChanged, "data-tracking-id": "no-openshift-cluster-id-reason" }, (caseNoClusterIdReasonsList || []).map((option, index) => (React.createElement(SelectOption, { key: index, value: createState(option, t(option)) })))),
102
102
  React.createElement(LoadingIndicator, { show: caseNoClusterIdReasons.isFetching, size: "xs" }),
103
103
  React.createElement("p", { id: "validate-reason-helper", className: `form-instructions ${props.isInValid ? 'form-invalid' : ''}` },
104
104
  React.createElement(React.Fragment, null,
105
- props.isInValid && React.createElement(ExclamationCircleIcon, { color: "#c9190b", className: "pf-v5-u-mr-sm" }),
105
+ props.isInValid && React.createElement(ExclamationCircleIcon, { color: "#c9190b", className: "pf-u-mr-sm" }),
106
106
  ' ',
107
107
  notRegistered ? (registerMyClusterID()) : (React.createElement(Trans, null, "Describing your reason can help us better understand and support your issue."))))));
108
108
  };
@@ -29,7 +29,7 @@ export const v3Tov4TransitionLink = () => (React.createElement("a", { className:
29
29
  React.createElement(Trans, null, "How to transition from v3 to v4?")));
30
30
  export const discoverV4ClusterIdLink = () => (React.createElement("a", { className: "show-target", href: "/solutions/4505861", target: "_blank", rel: "noopener noreferrer" }, "How do I determine my OpenShift 4.x Cluster ID?"));
31
31
  export const discoverV4ClusterIdLinkError = () => (React.createElement(React.Fragment, null,
32
- React.createElement(ExclamationCircleIcon, { color: "#c9190b", className: "pf-v5-u-mr-sm" }),
32
+ React.createElement(ExclamationCircleIcon, { color: "#c9190b", className: "pf-u-mr-sm" }),
33
33
  React.createElement(Trans, { i18nKey: 'v4ClusterRequiredField' },
34
34
  "Required field.",
35
35
  React.createElement("a", { className: "show-target", href: "/solutions/4505861", target: "_blank", rel: "noopener noreferrer" }, "How do I determine my OpenShift 4.x Cluster ID?"))));
@@ -12,7 +12,7 @@ function OpenShiftV3Inputbox(props) {
12
12
  React.createElement(Trans, null, "OpenShift Cluster Name"),
13
13
  React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"),
14
14
  React.createElement(CaseOpenShiftV3Popover, null)),
15
- React.createElement(TextInput, { id: "case-details-v3-cluster-name", value: props.v3ClusterName, type: "text", onChange: (e, value) => props.onReasonInputBoxChanged(value), "aria-label": t('Enter your Cluster Name'), placeholder: t('Enter your Cluster Name'), required: true, className: `${props.isInValid ? 'form-invalid' : ''}`, "data-tracking-id": "openshift-v3-cluster-name" }),
15
+ React.createElement(TextInput, { id: "case-details-v3-cluster-name", value: props.v3ClusterName, type: "text", onChange: props.onReasonInputBoxChanged, "aria-label": t('Enter your Cluster Name'), placeholder: t('Enter your Cluster Name'), required: true, className: `form-control ${props.isInValid ? 'form-invalid' : ''}`, "data-tracking-id": "openshift-v3-cluster-name" }),
16
16
  React.createElement("p", { id: "validated-helper", className: `form-instructions ${props.isInValid ? 'form-invalid' : ''}` },
17
17
  "If you do not have your Cluster Name available, briefly explain why.",
18
18
  ' ',
@@ -1 +1 @@
1
- {"version":3,"file":"OpenshiftDropdownV4.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/OpenshiftDropdownV4.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAI5E,OAAO,EAAE,gBAAgB,EAAuB,MAAM,0BAA0B,CAAC;AAWjF,UAAU,MAAO,SAAQ,gBAAgB;IACrC,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iCAAiC,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAChD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC;AAuBD,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,eAqXzC;kBArXQ,mBAAmB;;;AAwX5B,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"OpenshiftDropdownV4.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseManagement/OpenshiftDropdownV4.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAG5E,OAAO,EAAE,gBAAgB,EAAuB,MAAM,0BAA0B,CAAC;AAWjF,UAAU,MAAO,SAAQ,gBAAgB;IACrC,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iCAAiC,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAChD,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC;AAuBD,iBAAS,mBAAmB,CAAC,KAAK,EAAE,MAAM,eAqXzC;kBArXQ,mBAAmB;;;AAwX5B,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -8,8 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { cloud } from '@cee-eng/hydrajs';
11
- import { Checkbox, Divider } from '@patternfly/react-core';
12
- import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
11
+ import { Checkbox, Divider, Select, SelectOption, SelectVariant } from '@patternfly/react-core';
13
12
  import { useLRUCache } from '@rh-support/components';
14
13
  import debounce from 'lodash/debounce';
15
14
  import groupBy from 'lodash/groupBy';
@@ -124,7 +123,7 @@ function OpenshiftDropdownV4(props) {
124
123
  const clusterOptions = [];
125
124
  domainNames.forEach((domain, index) => {
126
125
  domain !== '' &&
127
- clusterOptions.push(React.createElement(SelectOption, { isDisabled: true, className: "pf-v5-u-font-weight-bold pf-v5-u-color-400", value: createState(domain, domain), key: domain + index }));
126
+ clusterOptions.push(React.createElement(SelectOption, { isDisabled: true, className: "pf-u-font-weight-bold pf-u-color-400", value: createState(domain, domain), key: domain + index }));
128
127
  clustersResponseGrouped[domain] &&
129
128
  clustersResponseGrouped[domain].forEach((cluster, i) => {
130
129
  clusterOptions.push(React.createElement(SelectOption, { key: cluster.external_cluster_id, value: createState(cluster.external_cluster_id, getDisplayNameForCluster(cluster) || cluster.external_cluster_id, cluster.openshift_version) }));
@@ -289,7 +288,7 @@ function OpenshiftDropdownV4(props) {
289
288
  React.createElement("span", { className: `form-required ${isExportingPDF ? 'hide-in-pdf' : ''}`, "aria-hidden": true }, "*"),
290
289
  !isExportingPDF ? React.createElement(CaseOpenShiftPopover, null) : ''),
291
290
  React.createElement("span", { id: titleId, hidden: true }, "Select a state"),
292
- React.createElement(Select, Object.assign({ variant: SelectVariant.typeahead, isDisabled: props.isDisabled, typeAheadAriaLabel: t('Search by Cluster ID, alias, and domain or manually enter your Cluster ID'), onToggle: (_event, isOpen) => onToggle(isOpen), onSelect: onSelect, onClear: !isExportingPDF ? onDropdownClear : undefined, selections: getSelectedItem(), isOpen: isOpen, "aria-labelledby": titleId, placeholderText: t('Search by Cluster ID, alias, and domain or manually enter your Cluster ID'), hasInlineFilter: false, onTypeaheadInputChanged: debounceFn, onFilter: () => undefined, validated: validated, "aria-invalid": props.isClusterIdInvalid, "aria-describedby": "clusterID-validate-helper", required: true }, (isFetchingClusters && { loadingVariant: 'spinner' }), (!isFetchingClusters &&
291
+ React.createElement(Select, Object.assign({ variant: SelectVariant.typeahead, isDisabled: props.isDisabled, typeAheadAriaLabel: t('Search by Cluster ID, alias, and domain or manually enter your Cluster ID'), onToggle: onToggle, onSelect: onSelect, onClear: !isExportingPDF ? onDropdownClear : undefined, selections: getSelectedItem(), isOpen: isOpen, "aria-labelledby": titleId, placeholderText: t('Search by Cluster ID, alias, and domain or manually enter your Cluster ID'), hasInlineFilter: false, onTypeaheadInputChanged: debounceFn, onFilter: () => undefined, validated: validated, "aria-invalid": props.isClusterIdInvalid, "aria-describedby": "clusterID-validate-helper", required: true }, (isFetchingClusters && { loadingVariant: 'spinner' }), (!isFetchingClusters &&
293
292
  clustersRawResponse.length < totalResultsNo && {
294
293
  loadingVariant: {
295
294
  text: 'Display additional results',
@@ -115,8 +115,8 @@ function RHAssociatesSelector(props) {
115
115
  }, placeholder: t(`Add an internal associate to watch this case`), onSelect: onNotifiedUserChange, renderToken: renderToken, isUpdating: isRHAssociatesUpdating, "data-tracking-id": "case-contact-select-rh-watcher" }),
116
116
  caseNumber && showAddWatchButton() && !isExportingPDF && (React.createElement(Button, { variant: "secondary", onClick: addCurrentUser, type: "button", "data-tracking-id": "case-add-me-rh-watcher" },
117
117
  React.createElement(Trans, null, "Add me as a watcher"))),
118
- caseNumber && showRemoveWatchButton() && !isExportingPDF && (React.createElement("div", { ref: toolTipRef, className: "remove-me-as-watcher pf-v5-u-display-inline-block" }, isCurrentUserCaseContact ? (React.createElement(React.Fragment, null,
119
- React.createElement(Tooltip, { trigger: 'mouseenter focus', triggerRef: toolTipRef, position: TooltipPosition.top, content: React.createElement(Trans, null, "You are case contact and therefore you cannot be removed as watcher") }),
118
+ caseNumber && showRemoveWatchButton() && !isExportingPDF && (React.createElement("div", { ref: toolTipRef, className: "remove-me-as-watcher pf-u-display-inline-block" }, isCurrentUserCaseContact ? (React.createElement(React.Fragment, null,
119
+ React.createElement(Tooltip, { trigger: 'mouseenter focus', reference: toolTipRef, position: TooltipPosition.top, content: React.createElement(Trans, null, "You are case contact and therefore you cannot be removed as watcher") }),
120
120
  React.createElement(Button, { variant: "tertiary", onClick: removeCurrentUser, type: "button", isDisabled: true, "data-tracking-id": "case-remove-me-rh-watcher-case-contact" },
121
121
  React.createElement(Trans, null, "Remove me as a watcher")))) : (React.createElement(Button, { variant: "secondary", onClick: removeCurrentUser, type: "button", "data-tracking-id": "case-remove-me-rh-watcher" },
122
122
  React.createElement(Trans, null, "Remove me as a watcher")))))))));
@@ -1 +1 @@
1
- {"version":3,"file":"AddCustomEmailToAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AACD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,eA8GpD"}
1
+ {"version":3,"file":"AddCustomEmailToAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseManagement/SendNotifications/AddCustomEmailToAccountModal.tsx"],"names":[],"mappings":"AAOA,UAAU,MAAM;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AACD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,eAiHpD"}
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import { customEmail } from '@cee-eng/hydrajs';
11
- import { Button, Form, FormGroup, FormHelperText, HelperText, HelperTextItem, Modal, ModalVariant, TextInput, ValidatedOptions, } from '@patternfly/react-core';
11
+ import { Button, Form, FormGroup, Modal, ModalVariant, TextInput, ValidatedOptions } from '@patternfly/react-core';
12
12
  import { ToastNotification, useFetch } from '@rh-support/components';
13
13
  import isEmpty from 'lodash/isEmpty';
14
14
  import React, { useState } from 'react';
@@ -40,28 +40,27 @@ export function AddCustomEmailToAccount(props) {
40
40
  setIsSaveButtonClicked(false);
41
41
  props.onClose && props.onClose();
42
42
  };
43
- const firstNameValidated = !isSaveButtonClicked
44
- ? ValidatedOptions.default
45
- : isEmpty(firstName.trim())
46
- ? ValidatedOptions.error
47
- : ValidatedOptions.default;
48
43
  return (React.createElement(Modal, { variant: ModalVariant.medium, title: t('Add a notification email to your account'), isOpen: true, onClose: handleClose, onEscapePress: handleClose, actions: [
49
44
  React.createElement(Button, { spinnerAriaValueText: isFetching ? t('Adding') : undefined, isLoading: isFetching, key: "confirm", variant: "primary", onClick: onAdd, isDisabled: isFetching || (isSaveButtonClicked && isEmpty(firstName.trim())) },
50
45
  React.createElement(Trans, null, "Add to account")),
51
46
  React.createElement(Button, { key: "cancel", variant: "link", onClick: handleClose, isDisabled: isFetching },
52
47
  React.createElement(Trans, null, "Cancel")),
53
48
  ] },
54
- React.createElement("p", { className: "pf-v5-u-mb-lg" },
49
+ React.createElement("p", { className: "pf-u-mb-lg" },
55
50
  React.createElement(Trans, null, "Note: This email will be added at an account level, not a case level.")),
56
51
  React.createElement(Form, null,
57
52
  React.createElement(FormGroup, { label: t('New email address'), fieldId: "custom-email-address", isRequired: true },
58
53
  React.createElement(TextInput, { id: "custom-email", isDisabled: true, value: props.customEmailAddress, className: "form-control", isRequired: true })),
59
- React.createElement(FormGroup, { label: t('First name'), fieldId: "custom-email-firstName", isRequired: true },
60
- firstNameValidated === 'error' && (React.createElement(FormHelperText, null,
61
- React.createElement(HelperText, null,
62
- React.createElement(HelperTextItem, { variant: "error" },
63
- React.createElement(Trans, null, "First name cannot be empty"))))),
64
- React.createElement(TextInput, { id: "custom-email-firstName", value: firstName, className: "form-control", isRequired: true, type: "text", validated: firstNameValidated, onChange: (_event, firstName) => onFirstNameChange(firstName), "aria-label": t('First name'), placeholder: t('First name'), maxLength: 254 })),
65
- React.createElement(FormGroup, { label: t('Last name'), fieldId: "custom-email-lastName", className: "pf-v5-u-mb-md" },
66
- React.createElement(TextInput, { id: "custom-email-lastName", value: lastName, className: "form-control", type: "text", onChange: (_event, lastName) => onLastNameChange(lastName), "aria-label": t('Last name'), placeholder: t('Last name'), maxLength: 254 })))));
54
+ React.createElement(FormGroup, { label: t('First name'), fieldId: "custom-email-firstName", validated: !isSaveButtonClicked
55
+ ? ValidatedOptions.default
56
+ : isEmpty(firstName.trim())
57
+ ? ValidatedOptions.error
58
+ : ValidatedOptions.default, isRequired: true, helperTextInvalid: t('First name cannot be empty') },
59
+ React.createElement(TextInput, { id: "custom-email-firstName", value: firstName, className: "form-control", isRequired: true, type: "text", validated: !isSaveButtonClicked
60
+ ? ValidatedOptions.default
61
+ : isEmpty(firstName.trim())
62
+ ? ValidatedOptions.error
63
+ : ValidatedOptions.default, onChange: onFirstNameChange, "aria-label": t('First name'), placeholder: t('First name'), maxLength: 254 })),
64
+ React.createElement(FormGroup, { label: t('Last name'), fieldId: "custom-email-lastName", className: "pf-u-mb-md" },
65
+ React.createElement(TextInput, { id: "custom-email-lastName", value: lastName, className: "form-control", type: "text", onChange: onLastNameChange, "aria-label": t('Last name'), placeholder: t('Last name'), maxLength: 254 })))));
67
66
  }
@@ -248,7 +248,7 @@ function CaseContactSelector(props) {
248
248
  };
249
249
  if (!canSeeEmailNotifications)
250
250
  return React.createElement(React.Fragment, null);
251
- return (React.createElement("div", { className: "form-group pf-v5-u-mb-md" },
251
+ return (React.createElement("div", { className: "form-group pf-u-mb-md" },
252
252
  React.createElement("label", { htmlFor: "get-support-notifications" },
253
253
  React.createElement(Trans, null, "Send notifications")),
254
254
  loggedInUserRights.data.isOrgAdmin() ? (React.createElement(React.Fragment, null,
@@ -272,8 +272,8 @@ function CaseContactSelector(props) {
272
272
  React.createElement(Button, { variant: "link", isInline: true, component: "span", onClick: onAddEmailToAccountBtnClick }, "add them at the account level"))))),
273
273
  caseNumber && showAddWatchButton() && !isExportingPDF && (React.createElement(Button, { variant: "secondary", onClick: addCurrentUser, type: "button", "data-tracking-id": "case-add-me-watcher" },
274
274
  React.createElement(Trans, null, "Add me as a watcher"))),
275
- caseNumber && showRemoveWatchButton() && !isExportingPDF && (React.createElement("div", { ref: toolTipRef, className: "remove-me-as-watcher pf-v5-u-display-inline-block" }, isCurrentUserCaseContact ? (React.createElement(React.Fragment, null,
276
- React.createElement(Tooltip, { trigger: 'mouseenter focus', triggerRef: toolTipRef, position: TooltipPosition.top, content: React.createElement(Trans, null, "You are case contact and therefore you cannot be removed as watcher") }),
275
+ caseNumber && showRemoveWatchButton() && !isExportingPDF && (React.createElement("div", { ref: toolTipRef, className: "remove-me-as-watcher pf-u-display-inline-block" }, isCurrentUserCaseContact ? (React.createElement(React.Fragment, null,
276
+ React.createElement(Tooltip, { trigger: 'mouseenter focus', reference: toolTipRef, position: TooltipPosition.top, content: React.createElement(Trans, null, "You are case contact and therefore you cannot be removed as watcher") }),
277
277
  React.createElement(Button, { variant: "tertiary", onClick: removeCurrentUser, type: "button", isDisabled: true, "data-tracking-id": "case-remove-me-watcher" },
278
278
  React.createElement(Trans, null, "Remove me as a watcher")))) : (React.createElement(Button, { variant: "secondary", onClick: removeCurrentUser, type: "button", "data-tracking-id": "case-remove-me-watcher" },
279
279
  React.createElement(Trans, null, "Remove me as a watcher"))))))) : (React.createElement(NonOrgCaseNotifyeesSelector, { id: "open-case-notifications", placeholder: "Enter an email address or username for the person you want to notify", isDisabled: isAssociatesUpdating || customEmailsList.isFetching || isUpdatingCustomEmails, selectedItems: [
@@ -119,7 +119,7 @@ export function NonOrgCaseNotifyeesSelector(props) {
119
119
  React.createElement(Typeahead, { id: props.id, "data-tracking-id": props.dataTrackingId, onChange: onItemSelect, onInputChange: onInputChange, open: notifyeesList.length > 0, ref: props.typeaheadRef, selected: props.selectedItems, placeholder: props.placeholder, disabled: props.isDisabled || isFetching, options: notifyeesList, renderToken: renderToken, multiple: true, filterBy: () => true, labelKey: getHydraContactLabel, renderMenuItemChildren: renderMenuItemChildren, onBlur: onBlur, isInvalid: showGroupPermissionError || showAccountPermissionError }),
120
120
  props.selectedItems.length > 0 && !showAccountPermissionError && !showAccountPermissionError && (React.createElement("p", { className: "form-instructions" },
121
121
  React.createElement(Trans, null, "Enter an email address or username for the person you want to notify"))),
122
- React.createElement("p", { className: "pf-v5-c-form__helper-text pf-m-error", style: { color: '#c9190b' } },
122
+ React.createElement("p", { className: "pf-c-form__helper-text pf-m-error", style: { color: '#c9190b' } },
123
123
  showGroupPermissionError && (React.createElement(Trans, null,
124
124
  inputVal,
125
125
  " was not found under the selected group. Please contact your Org Admin to add them to this group.")),
@@ -70,7 +70,7 @@ export function NoAttachmentSelectedModal(props) {
70
70
  else {
71
71
  actionButtons = [
72
72
  React.createElement(FileSelectorButton, { key: "file-selector-btn", buttonLabel: t('Upload a file'), className: "pf-m-primary", "data-tracking-id": "no-attachment-file-selector-button", isSessionId: true }),
73
- React.createElement(Button, { key: "skip-file", onClick: props.onConfirm, className: "pf-v5-u-ml-sm", "data-tracking-id": "submit-without-attachment", variant: ButtonVariant.secondary },
73
+ React.createElement(Button, { key: "skip-file", onClick: props.onConfirm, className: "pf-u-ml-sm", "data-tracking-id": "submit-without-attachment", variant: ButtonVariant.secondary },
74
74
  React.createElement(Trans, null, "Yes, I'm sure")),
75
75
  ];
76
76
  }
@@ -94,10 +94,10 @@ export function NoAttachmentSelectedModal(props) {
94
94
  };
95
95
  return (React.createElement(Modal, { id: "no-attachment-selected", title: t(getModalTitle()), "aria-describedby": "no-attachment-selected-modal", isOpen: props.isOpen, onClose: props.onClose, showClose: true, actions: getModalActionButtons(), variant: ModalVariant.large, "data-tracking-id": "no-attachment-selected-modal-body" },
96
96
  !isAnyFileAttachedLocal && (React.createElement(React.Fragment, null,
97
- React.createElement("p", { className: "pf-v5-u-mb-md" },
97
+ React.createElement("p", { className: "pf-u-mb-md" },
98
98
  React.createElement(Trans, null, "Uploading an attachment will speed up your case's resolution time")),
99
99
  React.createElement(FileEARule, { isInline: true }))),
100
100
  React.createElement(FileUpload, { idToUploadTo: activeSessionId, onUploadClick: onFileUploadClick, isSessionId: true, needsAnalyzing: true, autoUploadOnSelect: loggedInUsersAccount.data.secureSupport ? false : true, isSecureSupport: loggedInUsersAccount.data.secureSupport, isPrivate: false }),
101
- !canUseSessionManagement && isAnyFileAttachedLocal && (React.createElement(Button, { className: "pf-v5-u-mt-sm", variant: ButtonVariant.primary, onClick: props.onConfirm, "data-tracking-id": "no-attachment-modal-create-case" },
101
+ !canUseSessionManagement && isAnyFileAttachedLocal && (React.createElement(Button, { className: "pf-u-mt-sm", variant: ButtonVariant.primary, onClick: props.onConfirm, "data-tracking-id": "no-attachment-modal-create-case" },
102
102
  React.createElement(Trans, null, "Create Case")))));
103
103
  }
@@ -79,14 +79,14 @@ export default function IdeaInformation() {
79
79
  const isESSCustomer = isSpecialSupportOfferingEnabled((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, product);
80
80
  return (React.createElement(React.Fragment, null,
81
81
  React.createElement(LoadingIndicator, { show: isMetadataLoading(), size: "lg" }),
82
- React.createElement(AlertMessage, { variant: AlertType.DANGER, className: "pf-v5-u-mb-md", title: t("Sorry, we're having a problem gathering your information."), show: isMetadataLoadingError(), isInline: true }),
83
- React.createElement(AlertMessage, { show: !canManageCase(loggedInUserJwtToken), variant: AlertType.DANGER, className: "pf-v5-u-mb-md", isInline: true },
82
+ React.createElement(AlertMessage, { variant: AlertType.DANGER, className: "pf-u-mb-md", title: t("Sorry, we're having a problem gathering your information."), show: isMetadataLoadingError(), isInline: true }),
83
+ React.createElement(AlertMessage, { show: !canManageCase(loggedInUserJwtToken), variant: AlertType.DANGER, className: "pf-u-mb-md", isInline: true },
84
84
  React.createElement(Trans, { i18nKey: "i18ManageCaseContactCustomerService" },
85
85
  "You need additional access to manage cases.\u00A0 Please contact",
86
86
  ' ',
87
87
  React.createElement("a", { href: "/support/contact/customerService" }, "Customer Service"),
88
88
  " for assistance.")),
89
- React.createElement(AlertMessage, { show: hasInvalidEntitlements, variant: AlertType.DANGER, className: "pf-v5-u-mb-md", isInline: true },
89
+ React.createElement(AlertMessage, { show: hasInvalidEntitlements, variant: AlertType.DANGER, className: "pf-u-mb-md", isInline: true },
90
90
  React.createElement(Trans, { i18nKey: "i18ValidEntitlementContactCustomerService" },
91
91
  "You need a valid entitlement to create a case.\u00A0 Please contact",
92
92
  ' ',
@@ -101,9 +101,9 @@ export default function IdeaInformation() {
101
101
  React.createElement(KtQuestions, { onlyShowKT4: true }),
102
102
  React.createElement(SupportLevel, null),
103
103
  React.createElement(Flex, { direction: { default: 'column', '2xl': 'row' } },
104
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
104
+ React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-u-mb-xl" },
105
105
  React.createElement(Severity, { showSeverityInfoIcon: true, onSeverityChange: onSeverityChange })),
106
- React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-v5-u-mb-xl" },
106
+ React.createElement(FlexItem, { flex: { default: 'flex_1' }, className: "pf-u-mb-xl" },
107
107
  React.createElement(ContactPhoneNumber, null))),
108
108
  React.createElement(ContactPhoneNumberAlert, null),
109
109
  React.createElement(CaseLanguageSelector, { isManageStep: true }),
@@ -1 +1 @@
1
- {"version":3,"file":"KtQuestions.d.ts","sourceRoot":"","sources":["../../../../src/components/ImproveCase/KtQuestions.tsx"],"names":[],"mappings":"AAqBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,eAkQjC;kBAlQQ,WAAW;;;AAoQpB,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"KtQuestions.d.ts","sourceRoot":"","sources":["../../../../src/components/ImproveCase/KtQuestions.tsx"],"names":[],"mappings":"AAqBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAGD,iBAAS,WAAW,CAAC,KAAK,EAAE,MAAM,eAiQjC;kBAjQQ,WAAW;;;AAmQpB,eAAe,WAAW,CAAC"}
@@ -84,13 +84,13 @@ function KtQuestions(props) {
84
84
  t(KtQuestionConstant.timeFramesAndUrgency),
85
85
  ' ',
86
86
  isKT4Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))), allowInlineEdit: props.inlineEditable, hideSaveCancel: props.hideSaveCancel, initialIsEditing: isEmpty(timeFramesAndUrgency), usePreformattedTag: true, saveOnBlur: true, content: timeFramesAndUrgency },
87
- React.createElement(TextArea, { validated: invalidateQT4(timeFramesAndUrgency) ||
87
+ React.createElement(TextArea, { className: `form-control${invalidateQT4(timeFramesAndUrgency) ||
88
88
  (isNextBtnClickedToShowValidationError && isEmpty(timeFramesAndUrgency)) ||
89
89
  isKTQ4InValid
90
- ? 'error'
91
- : 'default', "aria-invalid": timeFramesAndUrgency && (timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length) > CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT
90
+ ? ' form-invalid'
91
+ : ''}`, "aria-invalid": timeFramesAndUrgency && (timeFramesAndUrgency === null || timeFramesAndUrgency === void 0 ? void 0 : timeFramesAndUrgency.length) > CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT
92
92
  ? 'true'
93
- : 'false', id: "ktQ4-timeFramesAndUrgency", value: timeFramesAndUrgency, isDisabled: isEmpty(timeFramesAndUrgency) && hasLargeCaseDescription && !isKTQ4TextAreaActive, onChange: (e, value) => onKtQ4Change(value, e), onFocus: onKTQ4FocusChange, onBlur: onKTQ4FocusChange, "aria-required": isKT4Required, "data-tracking-id": "get-support-ktQ4-timeFramesAndUrgency", placeholder: t("User or financial impact, and whether there's a legal, national, or medical urgency"), isRequired: isKT4Required, resizeOrientation: "vertical" }),
93
+ : 'false', id: "ktQ4-timeFramesAndUrgency", value: timeFramesAndUrgency, isDisabled: isEmpty(timeFramesAndUrgency) && hasLargeCaseDescription && !isKTQ4TextAreaActive, onChange: onKtQ4Change, onFocus: onKTQ4FocusChange, onBlur: onKTQ4FocusChange, "aria-required": isKT4Required, "data-tracking-id": "get-support-ktQ4-timeFramesAndUrgency", placeholder: t("User or financial impact, and whether there's a legal, national, or medical urgency"), isRequired: isKT4Required }),
94
94
  React.createElement("p", { className: "form-instructions", "data-tracking-id": "large-4k-warning-ktQ4-environment" }, `${isKTQ4TextAreaActive && ((_a = timeFramesAndUrgency) === null || _a === void 0 ? void 0 : _a.length) > CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT
95
95
  ? `Description cannot be more than ${CASE_DETAILS_TIMEFRAMESANDURGENCY_LIMIT} characters`
96
96
  : ''}`),
@@ -100,7 +100,7 @@ function KtQuestions(props) {
100
100
  t(KtQuestionConstant.environment),
101
101
  ' ',
102
102
  isKT2Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))), allowInlineEdit: props.inlineEditable, hideSaveCancel: props.hideSaveCancel, initialIsEditing: isEmpty(environment), usePreformattedTag: true, saveOnBlur: true, content: environment },
103
- React.createElement(TextArea, { id: "ktQ2-environment", value: environment, isDisabled: isEmpty(environment) && hasLargeCaseDescription && !isKTQ2TextAreaActive, onChange: (e, value) => onKtQ2Change(value, e), onFocus: onKTQ2FocusChange, onBlur: onKTQ2FocusChange, "aria-required": isKT2Required, isRequired: isKT2Required, "data-tracking-id": "get-support-ktQ2-environment", "aria-invalid": environment && (environment === null || environment === void 0 ? void 0 : environment.length) > CASE_DEATILS_ENVIRONMENT_LIMIT ? 'true' : 'false', resizeOrientation: "vertical" }),
103
+ React.createElement(TextArea, { className: `form-control`, id: "ktQ2-environment", value: environment, isDisabled: isEmpty(environment) && hasLargeCaseDescription && !isKTQ2TextAreaActive, onChange: onKtQ2Change, onFocus: onKTQ2FocusChange, onBlur: onKTQ2FocusChange, "aria-required": isKT2Required, isRequired: isKT2Required, "data-tracking-id": "get-support-ktQ2-environment", "aria-invalid": environment && (environment === null || environment === void 0 ? void 0 : environment.length) > CASE_DEATILS_ENVIRONMENT_LIMIT ? 'true' : 'false' }),
104
104
  React.createElement("p", { className: "form-instructions", "data-tracking-id": "large-4k-warning-ktQ2-environment" }, `${isKTQ2TextAreaActive && ((_b = environment) === null || _b === void 0 ? void 0 : _b.length) > CASE_DEATILS_ENVIRONMENT_LIMIT
105
105
  ? `Description cannot be more than ${CASE_DEATILS_ENVIRONMENT_LIMIT} characters`
106
106
  : ''}`),
@@ -109,9 +109,9 @@ function KtQuestions(props) {
109
109
  t(KtQuestionConstant.periodicityOfIssue),
110
110
  ' ',
111
111
  isKT3Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))), allowInlineEdit: props.inlineEditable, hideSaveCancel: props.hideSaveCancel, initialIsEditing: isEmpty(periodicityOfIssue), usePreformattedTag: true, saveOnBlur: true, content: periodicityOfIssue },
112
- React.createElement(TextArea, { id: "ktQ3-periodicityOfIssue", value: periodicityOfIssue, isDisabled: isEmpty(periodicityOfIssue) && hasLargeCaseDescription && !isKTQ3TextAreaActive, onChange: (e, value) => onKtQ3Change(value, e), onFocus: onKTQ3FocusChange, onBlur: onKTQ3FocusChange, "aria-required": isKT3Required, isRequired: isKT3Required, "data-tracking-id": "get-support-ktQ3-periodicityOfIssue", "aria-invalid": periodicityOfIssue && (periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length) > CASE_DEATILS_PERIODICITYOFISSUE_LIMIT
112
+ React.createElement(TextArea, { className: `form-control`, id: "ktQ3-periodicityOfIssue", value: periodicityOfIssue, isDisabled: isEmpty(periodicityOfIssue) && hasLargeCaseDescription && !isKTQ3TextAreaActive, onChange: onKtQ3Change, onFocus: onKTQ3FocusChange, onBlur: onKTQ3FocusChange, "aria-required": isKT3Required, isRequired: isKT3Required, "data-tracking-id": "get-support-ktQ3-periodicityOfIssue", "aria-invalid": periodicityOfIssue && (periodicityOfIssue === null || periodicityOfIssue === void 0 ? void 0 : periodicityOfIssue.length) > CASE_DEATILS_PERIODICITYOFISSUE_LIMIT
113
113
  ? 'true'
114
- : 'false', resizeOrientation: "vertical" }),
114
+ : 'false' }),
115
115
  React.createElement("p", { className: "form-instructions", "data-tracking-id": "large-4k-warning-ktQ3-environment" }, `${isKTQ3TextAreaActive && ((_c = periodicityOfIssue) === null || _c === void 0 ? void 0 : _c.length) > CASE_DEATILS_PERIODICITYOFISSUE_LIMIT
116
116
  ? `Description cannot be more than ${CASE_DEATILS_PERIODICITYOFISSUE_LIMIT} characters`
117
117
  : ''}`),