@rh-support/troubleshoot 1.0.371-beta.7 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/esm/components/AccountInfo/AccountSelector.js +1 -1
- package/lib/esm/components/AccountInfo/OwnerSelector.js +2 -2
- package/lib/esm/components/CaseEditView/Case.js +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +2 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/CaseType.js +6 -5
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +8 -5
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +13 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts +7 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/{CaseAlternateId.js → CaseReferenceNumber.js} +35 -36
- package/lib/esm/components/CaseInformation/CaseGroup.js +2 -2
- package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseInformation.js +4 -10
- package/lib/esm/components/CaseInformation/CaseType.d.ts +1 -0
- package/lib/esm/components/CaseInformation/CaseType.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/CaseType.js +15 -6
- package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +2 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/ContactPhoneNumberAlert.js +2 -2
- package/lib/esm/components/CaseInformation/Description.d.ts +1 -0
- package/lib/esm/components/CaseInformation/Description.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Description.js +3 -4
- package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/FileDiag.js +8 -2
- package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Fts.js +9 -7
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts +1 -0
- package/lib/esm/components/CaseInformation/OpenCaseIssue.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +11 -6
- package/lib/esm/components/CaseInformation/Severity.d.ts +1 -2
- package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/Severity.js +35 -26
- package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/SupportLevel.js +28 -24
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts +1 -0
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +41 -18
- package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/CaseManagement.js +7 -39
- package/lib/esm/components/CaseManagement/Cep.js +2 -2
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts +7 -0
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.d.ts.map +1 -0
- package/lib/esm/components/CaseManagement/OpenReferenceNumber.js +38 -0
- package/lib/esm/components/CaseManagement/RHAssociatesSelector.js +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +9 -10
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
- package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +5 -3
- package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +1 -1
- package/lib/esm/components/IdeaInformation/IdeaInformtion.d.ts +2 -0
- package/lib/esm/components/IdeaInformation/IdeaInformtion.d.ts.map +1 -0
- package/lib/esm/components/IdeaInformation/IdeaInformtion.js +116 -0
- package/lib/esm/components/ImproveCase/FileEARule.d.ts +1 -0
- package/lib/esm/components/ImproveCase/FileEARule.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/FileEARule.js +1 -1
- package/lib/esm/components/ImproveCase/Hostname.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/Hostname.js +10 -6
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts +1 -0
- package/lib/esm/components/ImproveCase/KtQuestions.d.ts.map +1 -1
- package/lib/esm/components/ImproveCase/KtQuestions.js +25 -29
- package/lib/esm/components/Issue/Issue.js +5 -5
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/BugIcon.js +7 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CertificationIcon.js +10 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/CustomerServiceIcon.js +9 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/DocumentationIcon.js +7 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/GearIcon.js +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/IdeaIcon.js +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/RcaIcon.js +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/index.d.ts +8 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/index.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/CaseTypeIcons/index.js +7 -0
- package/lib/esm/components/OpenCase/OpenCase.js +2 -2
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/BugIcon.js +7 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CertificationIcon.js +10 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/CustomerServiceIcon.js +9 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/DocumentationIcon.js +7 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/GearIcon.js +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/IdeaIcon.js +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/RcaIcon.js +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/index.d.ts +8 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/index.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeIcons/index.js +7 -0
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts +2 -0
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -0
- package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +130 -0
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +6 -1
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts +15 -0
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -0
- package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +88 -0
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts +10 -0
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -0
- package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +57 -0
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.js +6 -20
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +9 -74
- package/lib/esm/components/ProductSelector/TopProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AlertToastWrapper.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AlertToastWrapper.js +8 -3
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +10 -4
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts +7 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/ClusterRecommendations.js +6 -5
- package/lib/esm/components/Recommendations/InsightsResults.d.ts +1 -0
- package/lib/esm/components/Recommendations/InsightsResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +3 -0
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +17 -14
- package/lib/esm/components/Recommendations/Recommendations.d.ts +5 -1
- package/lib/esm/components/Recommendations/Recommendations.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/Recommendations.js +5 -5
- package/lib/esm/components/Recommendations/RulesModal.d.ts +1 -0
- package/lib/esm/components/Recommendations/RulesModal.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/RulesModal.js +12 -2
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/Review/Review.js +4 -7
- package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +5 -4
- package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +88 -51
- package/lib/esm/components/Suggestions/Suggestions.d.ts +2 -0
- package/lib/esm/components/Suggestions/Suggestions.d.ts.map +1 -1
- package/lib/esm/components/Suggestions/Suggestions.js +8 -5
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts +14 -0
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.d.ts.map +1 -0
- package/lib/esm/components/TroubleshootSection/TroubleshootSection.js +50 -0
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +2 -2
- package/lib/esm/components/shared/Constants.d.ts +2 -2
- package/lib/esm/components/shared/Constants.d.ts.map +1 -1
- package/lib/esm/components/shared/Constants.js +2 -2
- package/lib/esm/components/shared/Rule.d.ts +1 -0
- package/lib/esm/components/shared/Rule.d.ts.map +1 -1
- package/lib/esm/components/shared/Rule.js +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/FileLister.js +58 -44
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -0
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +15 -10
- package/lib/esm/components/shared/fileUpload/css/fileSelector.css +1 -9
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelector.js +0 -1
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts +8 -0
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.d.ts.map +1 -0
- package/lib/esm/components/shared/fileUpload/fileSelectors/WidgetFileSelectorImage.js +42 -0
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.js +24 -5
- package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
- package/lib/esm/components/shared/useIsSectionValid.js +32 -19
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +29 -31
- package/lib/esm/components/wizardLayout/WizardAside.d.ts +0 -1
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.js +19 -18
- package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardLayout.js +18 -11
- package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardMain.js +43 -31
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +12 -54
- package/lib/esm/components/wizardLayout/WizardProgress.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardProgress.js +26 -15
- package/lib/esm/components/wizardLayout/index.d.ts +0 -1
- package/lib/esm/components/wizardLayout/index.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/index.js +6 -2
- package/lib/esm/css/results.css +22 -27
- package/lib/esm/enums/pageTitle.d.ts +1 -1
- package/lib/esm/enums/pageTitle.js +1 -1
- package/lib/esm/reducers/CaseConstNTypes.d.ts +6 -5
- package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/CaseConstNTypes.js +6 -5
- package/lib/esm/reducers/CaseHelpers.d.ts +1 -0
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.js +27 -6
- package/lib/esm/reducers/RouteConstNTypes.d.ts +10 -5
- package/lib/esm/reducers/RouteConstNTypes.d.ts.map +1 -1
- package/lib/esm/reducers/RouteConstNTypes.js +29 -16
- package/lib/esm/reducers/RouteReducer.d.ts +13 -19
- package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RouteReducer.js +85 -94
- package/lib/esm/reducers/RulesReducer.d.ts +2 -2
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.js +3 -7
- package/lib/esm/reducers/SessionRestoreReducer.d.ts +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +1 -0
- package/lib/esm/scss/_main.scss +931 -131
- package/lib/esm/scss/_pf4-overrides.scss +35 -14
- package/lib/esm/utils/routeUtils.d.ts +6 -6
- package/lib/esm/utils/routeUtils.d.ts.map +1 -1
- package/lib/esm/utils/routeUtils.js +14 -16
- package/package.json +11 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseAlternateId.d.ts +0 -10
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseAlternateId.d.ts.map +0 -1
- package/lib/esm/components/CaseManagement/OpenAlternateID.d.ts +0 -10
- package/lib/esm/components/CaseManagement/OpenAlternateID.d.ts.map +0 -1
- package/lib/esm/components/CaseManagement/OpenAlternateID.js +0 -44
- package/lib/esm/components/OpenCase/CaseTypeSelectorPage.d.ts +0 -2
- package/lib/esm/components/OpenCase/CaseTypeSelectorPage.d.ts.map +0 -1
- package/lib/esm/components/OpenCase/CaseTypeSelectorPage.js +0 -40
- package/lib/esm/css/feedbackForm.css +0 -92
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ function AccountSelector(props) {
|
|
|
69
69
|
React.createElement(Trans, null, "Account"),
|
|
70
70
|
' ',
|
|
71
71
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
72
|
-
canUseFindMyAccount && (React.createElement("button", { role: "link", className: "btn btn-link btn-app find-my-account pf-u-ml-auto", onClick: onFindMyAccountClick, disabled: selectedAccountDetails.isFetching, "data-tracking-id": "
|
|
72
|
+
canUseFindMyAccount && (React.createElement("button", { role: "link", className: "btn btn-link btn-app find-my-account pf-u-ml-auto", onClick: onFindMyAccountClick, disabled: selectedAccountDetails.isFetching, "data-tracking-id": "get-support-find-my-account" },
|
|
73
73
|
React.createElement(Trans, null, "Find my account")))),
|
|
74
74
|
React.createElement("div", { className: "account-selector-wrapper" },
|
|
75
75
|
React.createElement(AccountSelectorInternal, { selectedAccounts: [selectedAccount], canBookmarkAccount: canBookmarkAccounts, bookmarkedAccounts: bookmarkedGroupAccounts.data, id: "account-or-bookmark-selector", className: "account-selector", name: "account-or-bookmark-selector", placeholder: t(`Search for an account ${loggedInUserRights.data.isExternal() ? 'or select a bookmark' : ''} `), onSelect: onInternalAccountSelect, disabled: loggedInUserRights.data.isExternal() || selectedAccountDetails.isFetching, isInValid: isSelectedAccountSubscriptionAbused, restrictedOnSubscriptionAbuse: true })),
|
|
@@ -208,10 +208,10 @@ function OwnerSelector(props) {
|
|
|
208
208
|
(selectedCaseGroupUsers.isFetching ||
|
|
209
209
|
(!selectedCaseGroupUsers.isFetching && (selectedCaseGroupUsers.data || []).length > 0));
|
|
210
210
|
return (React.createElement("div", { className: "form-group" },
|
|
211
|
-
React.createElement("label", { htmlFor: "
|
|
211
|
+
React.createElement("label", { htmlFor: "get-support-owner" },
|
|
212
212
|
React.createElement(Trans, null, "Owner"),
|
|
213
213
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, comparator: ownerComparator, isLocalChange: localOwnerChange, value: selectedOwner.data, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.owner, (v) => v.fullNameCustom) }),
|
|
214
214
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
215
|
-
showUsersWithSelectedGroupAccess ? (React.createElement(Typeahead, { id: "
|
|
215
|
+
showUsersWithSelectedGroupAccess ? (React.createElement(Typeahead, { id: "get-support-owner", className: "react-select-custom", clearButton: true, isLoading: selectedCaseGroupUsers.isFetching || isCaseOwnerUpdating, options: usersWithGroupAccess, selected: !isEmpty(selectedOwner.data) ? [selectedOwner.data] : [], onChange: onCustomerContactSelect, labelKey: getHydraContactLabel, placeholder: t(`Search by name or username`), disabled: selectedCaseGroupUsers.isFetching || isCaseOwnerUpdating, renderMenuItemChildren: renderMenuItemChildren, "data-tracking-id": "get-support-owner" })) : (React.createElement(CaseContactsSelectorExternal, { loggedInUserRights: loggedInUserRights.data, selectedAccountNumber: accountNumber, selected: !isEmpty(selectedOwner.data) ? [selectedOwner.data] : [], onChange: onCustomerContactSelect, placeholder: t(`Search by name or username`), clearButton: true, id: "get-support-owner", name: "get-support-owner", className: "react-select-custom", isUpdating: isCaseOwnerUpdating, isInvalid: showValidationErrorAlert && isEmpty(selectedOwner.data) }))));
|
|
216
216
|
}
|
|
217
217
|
export { OwnerSelector };
|
|
@@ -107,7 +107,7 @@ export default function Case(props) {
|
|
|
107
107
|
return (React.createElement(React.Fragment, null,
|
|
108
108
|
isExportingPDF && React.createElement(CoverSpinner, null),
|
|
109
109
|
React.createElement("div", { id: "rh-support-case" },
|
|
110
|
-
React.createElement("div", { className: "support-grid support-case" }, isFetchingCaseDetails && !isFetchingCaseDetailsError && isEmpty(product) ? (React.createElement(OverviewContentLoader, null)) : (React.createElement(React.Fragment, null,
|
|
110
|
+
React.createElement("div", { className: "support-grid-case-details support-case" }, isFetchingCaseDetails && !isFetchingCaseDetailsError && isEmpty(product) ? (React.createElement(OverviewContentLoader, null)) : (React.createElement(React.Fragment, null,
|
|
111
111
|
React.createElement("article", { className: "grid-main" },
|
|
112
112
|
React.createElement("section", { className: "grid-main-section" },
|
|
113
113
|
(isFetchingCaseDetailsError || !canReadCase) && (React.createElement(CaseDetailsErrorMessage, { isError: isFetchingCaseDetailsError, errorDetails: caseDetailsError, canReadCase: canReadCase, caseNumber: caseNumber, isInlineError: true })),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AA6BA,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,eA+T7C"}
|
|
@@ -22,6 +22,7 @@ import { isEmpty } from 'lodash';
|
|
|
22
22
|
import isEqual from 'lodash/isEqual';
|
|
23
23
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
24
24
|
import { Trans, useTranslation } from 'react-i18next';
|
|
25
|
+
import { Link } from 'react-router-dom';
|
|
25
26
|
import { useCaseSelector } from '../../context/CaseContext';
|
|
26
27
|
import { useCaseDetailsPageStateContext } from '../../context/CaseDetailsPageContext';
|
|
27
28
|
import { useRecommendationStateContext } from '../../context/RecommendationContext';
|
|
@@ -139,7 +140,7 @@ export function CaseDetailsAside(props) {
|
|
|
139
140
|
ToastNotification.addSuccessMessage(t('Successfully set the default case view'), React.createElement("p", null,
|
|
140
141
|
React.createElement(Trans, null,
|
|
141
142
|
"You can view these settings in ",
|
|
142
|
-
React.createElement(
|
|
143
|
+
React.createElement(Link, { to: '/manage/preferences' }, "Preferences"))));
|
|
143
144
|
}
|
|
144
145
|
catch (error) {
|
|
145
146
|
console.log(error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseType.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/CaseType.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAW,MAAM,0BAA0B,CAAC;AASrE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACrB;AAOD,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseType.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/CaseType.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAW,MAAM,0BAA0B,CAAC;AASrE,UAAU,MAAO,SAAQ,gBAAgB;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,GAAG,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACrB;AAOD,iBAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,eAoD9B;kBApDQ,QAAQ;;;AAuDjB,eAAe,QAAQ,CAAC"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { Dropdown, ValueChangedIcon } from '@rh-support/components';
|
|
11
|
-
import { toOption, toOptions } from '@rh-support/utils';
|
|
11
|
+
import { toOldCaseTypeSwitcher, toOption, toOptions } from '@rh-support/utils';
|
|
12
12
|
import isEmpty from 'lodash/isEmpty';
|
|
13
13
|
import React, { useState } from 'react';
|
|
14
14
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -25,10 +25,11 @@ function CaseType(props) {
|
|
|
25
25
|
setIsCaseTypeInValid(isEmpty(selectedItem));
|
|
26
26
|
};
|
|
27
27
|
const onCaseTypeChange = (option) => __awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
|
|
28
|
+
const switchedCaseType = toOldCaseTypeSwitcher(option.value);
|
|
29
|
+
if (switchedCaseType === props.selectedType) {
|
|
29
30
|
return;
|
|
30
31
|
}
|
|
31
|
-
yield props.onTypeChange(
|
|
32
|
+
yield props.onTypeChange(switchedCaseType);
|
|
32
33
|
setLocalTypeChange(true);
|
|
33
34
|
validateCaseType(option);
|
|
34
35
|
});
|
|
@@ -37,10 +38,10 @@ function CaseType(props) {
|
|
|
37
38
|
const afterLocalChange = () => setLocalTypeChange(false);
|
|
38
39
|
return (React.createElement("div", { className: `form-group ${props.className}`, id: `${props.id}` },
|
|
39
40
|
React.createElement("h3", { className: "subheading subheading-sm" },
|
|
40
|
-
React.createElement(Trans, null, "
|
|
41
|
+
React.createElement(Trans, null, "Support type"),
|
|
41
42
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localTypeChange, value: props.selectedType, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.type) }),
|
|
42
43
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
43
|
-
React.createElement(Dropdown, { name: "
|
|
44
|
+
React.createElement(Dropdown, { name: "get-support-type", placeholder: t(`Select`), title: t(`Select a category`), list: toOptions(props.allTypes || []), selectedItem: toOption(props.selectedType), disabled: props.hasError || props.isDisabled, isLoadingList: props.isFetching, isInValid: isCaseTypeInValid, required: true, onChange: onCaseTypeChange, onOuterClick: validateCaseType, "data-tracking-id": "case-details-type-selector" })));
|
|
44
45
|
}
|
|
45
46
|
CaseType.defaultProps = defaultProps;
|
|
46
47
|
export default CaseType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAA8D,MAAM,OAAO,CAAC;AA6BnF,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,MAAM,eAyejD"}
|
|
@@ -11,7 +11,7 @@ import { Alert, AlertVariant, Button, ButtonVariant, ExpandableSection, Label }
|
|
|
11
11
|
import { ToastNotification, useConfirmation } from '@rh-support/components';
|
|
12
12
|
import { CloseCaseModal, fetchCaseSeverities, fetchCaseTypes, GlobalMetadataDispatchContext, GlobalMetadataStateContext, useCanEditCase, } from '@rh-support/react-context';
|
|
13
13
|
import { AbilityContext, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
14
|
-
import { haventLoadedMetadata, isOpenShiftOnlineProduct } from '@rh-support/utils';
|
|
14
|
+
import { haventLoadedMetadata, isOpenShiftOnlineProduct, toNewCaseTypeMapper, toNewCaseTypeSwitcher, } from '@rh-support/utils';
|
|
15
15
|
import isEqual from 'lodash/isEqual';
|
|
16
16
|
import React, { useContext, useEffect, useReducer, useRef, useState } from 'react';
|
|
17
17
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -74,6 +74,7 @@ export default function CaseOverview(props) {
|
|
|
74
74
|
const { isCaseUpdating, contactIsPartner, hotfixRequested, hotfixDelivered, selectedAccountDetails, caseDetails: { firstCaseInactivityWarningSentAt, secondCaseInactivityWarningSentAt }, } = caseState;
|
|
75
75
|
const globalMetadataDispatchContext = useContext(GlobalMetadataDispatchContext);
|
|
76
76
|
const { globalMetadataState: { allCaseTypes, allCaseSeverities, viewAsCustomer, loggedInUsersAccount, loggedInUserRights, }, } = useContext(GlobalMetadataStateContext);
|
|
77
|
+
const switchedCaseType = toNewCaseTypeSwitcher(caseType);
|
|
77
78
|
const updatingUser = loggedInUsersAccount.data.name;
|
|
78
79
|
const canSeeManagedByPartnerFlag = contactIsPartner &&
|
|
79
80
|
ability.can(resourceActions.PATCH, resources.CASE_DETAILS, CaseDetailsFields.CASE_DETAILS_MANAGED_BY_PARTNER_FLAG);
|
|
@@ -111,11 +112,11 @@ export default function CaseOverview(props) {
|
|
|
111
112
|
try {
|
|
112
113
|
yield updateCaseDetails(caseDispatch, props.caseNumber, { caseType: type });
|
|
113
114
|
setTypeUpdating(caseOverviewDispatch, false);
|
|
114
|
-
ToastNotification.addSuccessMessage(t('
|
|
115
|
+
ToastNotification.addSuccessMessage(t('Support type has been successfully updated'));
|
|
115
116
|
}
|
|
116
117
|
catch (e) {
|
|
117
118
|
setTypeUpdating(caseOverviewDispatch, false);
|
|
118
|
-
caseUpdateError.showError(e, t('
|
|
119
|
+
caseUpdateError.showError(e, t('Support type failed to update'));
|
|
119
120
|
}
|
|
120
121
|
});
|
|
121
122
|
const onSeverityChange = (payLoad) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -210,6 +211,8 @@ export default function CaseOverview(props) {
|
|
|
210
211
|
return (React.createElement("a", { href: link, target: "_blank", className: "show-target", rel: "noopener noreferrer", "data-tracking-id": "case-details-support-level-info" }, linkText));
|
|
211
212
|
};
|
|
212
213
|
const isCaseInOpenState = status !== CaseStatusEnum.CLOSED;
|
|
214
|
+
// To switch from old case type to new support type
|
|
215
|
+
const newCaseTypesArray = toNewCaseTypeMapper(allCaseTypes.data).sort();
|
|
213
216
|
return (React.createElement(React.Fragment, null,
|
|
214
217
|
React.createElement("div", { className: "case-overview push-bottom-wide" },
|
|
215
218
|
React.createElement("div", { className: "case-overview-header" },
|
|
@@ -277,9 +280,9 @@ export default function CaseOverview(props) {
|
|
|
277
280
|
React.createElement("div", { className: "form-wrapper" },
|
|
278
281
|
React.createElement(CaseStatus, { selectedStatus: status, onStatusChange: onStatusChange, isDisabled: !canManageCase || caseOverviewState.allCaseStatuses.isFetching, allStatuses: caseOverviewState.allCaseStatuses.data, isFetching: caseOverviewState.caseStatusUpdating && isCaseUpdating, hasError: caseOverviewState.allCaseStatuses.isError })),
|
|
279
282
|
React.createElement("div", { className: "form-wrapper" },
|
|
280
|
-
React.createElement(CaseType, { selectedType:
|
|
283
|
+
React.createElement(CaseType, { selectedType: switchedCaseType, onTypeChange: onTypeChange, isDisabled: !canManageCase || allCaseTypes.isFetching, allTypes: newCaseTypesArray, isFetching: caseOverviewState.caseTypeUpdating && isCaseUpdating, hasError: allCaseTypes.isError })),
|
|
281
284
|
React.createElement("div", { className: "form-wrapper" },
|
|
282
|
-
React.createElement(Severity, {
|
|
285
|
+
React.createElement(Severity, { onSeverityChange: onSeverityChange, isDisabled: !canManageCase, isFetching: caseOverviewState.caseSeverityUpdating && isCaseUpdating })))),
|
|
283
286
|
React.createElement(ExpandableSection, { className: "case-details-main", toggleText: t('Case information'), isExpanded: isDetailsExpanded, onToggle: onToggleDetails },
|
|
284
287
|
React.createElement(CaseInformation, null))),
|
|
285
288
|
showCloseCaseModal && (React.createElement(CloseCaseModal, { onConfirm: (commentBody) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseContactPhoneNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.tsx"],"names":[],"mappings":"AAsBA,wBAAgB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"CaseContactPhoneNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.tsx"],"names":[],"mappings":"AAsBA,wBAAgB,sBAAsB,gBA4IrC"}
|
|
@@ -36,6 +36,7 @@ export function CaseContactPhoneNumber() {
|
|
|
36
36
|
const caseDispatch = useCaseDispatch();
|
|
37
37
|
const caseUpdateError = useCaseUpdateErrorMessage();
|
|
38
38
|
const { t } = useTranslation();
|
|
39
|
+
// To handle phone change
|
|
39
40
|
const onPhoneChange = (phone) => __awaiter(this, void 0, void 0, function* () {
|
|
40
41
|
if (canEditCase.alert())
|
|
41
42
|
return;
|
|
@@ -11,10 +11,10 @@ import { RHAssociatesSelector } from '../../../CaseManagement/RHAssociatesSelect
|
|
|
11
11
|
import CaseContactSelector from '../../../CaseManagement/SendNotifications/CaseContactSelector';
|
|
12
12
|
import { PartnerCaseHelper } from '../../ShareCase/PartnerCaseHelper';
|
|
13
13
|
import { ShareWithPartner } from '../../ShareCase/PartnerShare';
|
|
14
|
-
import CaseAlternateId from './CaseAlternateId';
|
|
15
14
|
import { CaseContactPhoneNumber } from './CaseContactPhoneNumber';
|
|
16
15
|
import CaseInternalStatus from './CaseInternalStatus';
|
|
17
16
|
import { CaseContactPhoneNumberAlert } from './CasePhoneNumberConfirmAlert';
|
|
17
|
+
import CaseReferenceNumber from './CaseReferenceNumber';
|
|
18
18
|
import CaseSbrGroups from './CaseSbrGroups';
|
|
19
19
|
export default function CaseDetailsManagement(props) {
|
|
20
20
|
const [isUpdatingPartner, setIsUpdatingPartner] = useState(false);
|
|
@@ -42,7 +42,7 @@ export default function CaseDetailsManagement(props) {
|
|
|
42
42
|
canSeeInternalStatus && React.createElement(CaseInternalStatus, null),
|
|
43
43
|
canSeeSBRGroups && React.createElement(CaseSbrGroups, null),
|
|
44
44
|
React.createElement(CaseGroup, null),
|
|
45
|
-
React.createElement(
|
|
45
|
+
React.createElement(CaseReferenceNumber, null),
|
|
46
46
|
canSeeEmailNotifications && React.createElement(CaseContactSelector, null),
|
|
47
47
|
React.createElement(RHAssociatesSelector, null),
|
|
48
48
|
React.createElement(Fts, { inlineEditable: true }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseInformation.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseInformation.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAe5D,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAE5C,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,eAqE5C"}
|
|
@@ -2,10 +2,12 @@ import { encodeAngularBrackets, linkifyBZIDs, linkifyWithCaseIDs } from '@cee-en
|
|
|
2
2
|
import { MoreOrLess } from '@rh-support/components';
|
|
3
3
|
import { useGlobalStateContext } from '@rh-support/react-context';
|
|
4
4
|
import { ability, CaseDetailsFields, resourceActions, resources } from '@rh-support/user-permissions';
|
|
5
|
+
import { PreviousCaseTypes } from '@rh-support/utils';
|
|
5
6
|
import { isEqual } from 'lodash';
|
|
6
7
|
import React from 'react';
|
|
7
8
|
import { Trans } from 'react-i18next';
|
|
8
9
|
import { useCaseSelector } from '../../../../context/CaseContext';
|
|
10
|
+
import { KtQuestionConstant } from '../../../../reducers/CaseConstNTypes';
|
|
9
11
|
import { isClusterIdEnabledForProduct } from '../../../../utils/caseOpenshiftClusterIdUtils';
|
|
10
12
|
import EditDescription from '../../../EditDescription/EditDescription';
|
|
11
13
|
import { CaseHostname } from './CaseHostname';
|
|
@@ -13,11 +15,20 @@ import { CaseOpenshiftClusterId } from './CaseOpenshiftClusterId/CaseOpenshiftCl
|
|
|
13
15
|
import ProductVersion from './ProductVersion';
|
|
14
16
|
export function CaseInformation(props) {
|
|
15
17
|
var _a;
|
|
16
|
-
const { product, description } = useCaseSelector((state) => ({
|
|
18
|
+
const { product, description, caseType } = useCaseSelector((state) => ({
|
|
17
19
|
product: state.caseDetails.product,
|
|
18
20
|
description: state.caseDetails.description,
|
|
21
|
+
caseType: state.caseDetails.caseType,
|
|
19
22
|
}), isEqual);
|
|
20
23
|
const { globalMetadataState: { navBarRef, allProducts }, } = useGlobalStateContext();
|
|
24
|
+
// To replace description KTQ for Idea
|
|
25
|
+
const replaceDescriptionHeading = (description) => {
|
|
26
|
+
let ideaHeading = KtQuestionConstant.ideaIssue;
|
|
27
|
+
let normalHeading = KtQuestionConstant.issue;
|
|
28
|
+
let replacedDescription = description === null || description === void 0 ? void 0 : description.replace(normalHeading, ideaHeading);
|
|
29
|
+
const finalDescription = caseType === PreviousCaseTypes.FEATURE_ENHANCEMENT ? replacedDescription : description;
|
|
30
|
+
return finalDescription;
|
|
31
|
+
};
|
|
21
32
|
const linkifiedDescription = (text) => {
|
|
22
33
|
text = encodeAngularBrackets(text);
|
|
23
34
|
text = linkifyWithCaseIDs(text);
|
|
@@ -36,6 +47,6 @@ export function CaseInformation(props) {
|
|
|
36
47
|
React.createElement(Trans, null, "Description")),
|
|
37
48
|
React.createElement(MoreOrLess, { maxHeight: 600, appStickyHeaderRef: navBarRef },
|
|
38
49
|
React.createElement("pre", { id: "case-description" },
|
|
39
|
-
React.createElement("div", { dangerouslySetInnerHTML: linkifiedDescription(description) }))))) : (React.createElement(MoreOrLess, { maxHeight: 600, appStickyHeaderRef: navBarRef },
|
|
50
|
+
React.createElement("div", { dangerouslySetInnerHTML: linkifiedDescription(replaceDescriptionHeading(description)) }))))) : (React.createElement(MoreOrLess, { maxHeight: 600, appStickyHeaderRef: navBarRef },
|
|
40
51
|
React.createElement(EditDescription, { inlineEditable: true })))))));
|
|
41
52
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseReferenceNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.tsx"],"names":[],"mappings":"AA2BA,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,eAsLxD"}
|
|
@@ -18,75 +18,74 @@ import React, { useEffect, useState } from 'react';
|
|
|
18
18
|
import { Trans, useTranslation } from 'react-i18next';
|
|
19
19
|
import { useCaseDispatch, useCaseSelector } from '../../../../context/CaseContext';
|
|
20
20
|
import { useCaseUpdateErrorMessage } from '../../../../hooks/useCaseUpdateErrorMessage';
|
|
21
|
-
import {
|
|
21
|
+
import { CASE_REFERENCE_NUMBER_LIMIT } from '../../../../reducers/CaseConstNTypes';
|
|
22
22
|
import { setCaseDetails, updateCaseDetails } from '../../../../reducers/CaseReducer';
|
|
23
23
|
import { CaseValuesToWatch } from '../../../shared/Constants';
|
|
24
24
|
import { getChangedValueTooltip } from '../../../shared/utils';
|
|
25
|
-
|
|
26
|
-
inlineEditable
|
|
27
|
-
hideSaveCancel: true,
|
|
28
|
-
};
|
|
29
|
-
function CaseAlternateId(props) {
|
|
25
|
+
export default function CaseReferenceNumber(props) {
|
|
26
|
+
const { hideSaveCancel = true, inlineEditable = true } = props;
|
|
30
27
|
const { t } = useTranslation();
|
|
31
28
|
const caseUpdateError = useCaseUpdateErrorMessage();
|
|
32
|
-
const {
|
|
33
|
-
|
|
29
|
+
const { referenceNumber, caseNumber } = useCaseSelector((state) => ({
|
|
30
|
+
referenceNumber: state.caseDetails.alternateId,
|
|
34
31
|
caseNumber: state.caseDetails.caseNumber,
|
|
35
32
|
}), isEqual);
|
|
36
33
|
const caseDispatch = useCaseDispatch();
|
|
37
34
|
const [isUpdating, setIsUpdating] = useState(false);
|
|
38
|
-
const [
|
|
35
|
+
const [referenceNumberState, setReferenceNumberState] = useState(referenceNumber);
|
|
39
36
|
// value changed logic to show a none local type change
|
|
40
|
-
const [
|
|
41
|
-
const afterLocalChange = () =>
|
|
37
|
+
const [localRefNumberChange, setLocalRefNumberChange] = useState(false);
|
|
38
|
+
const afterLocalChange = () => setLocalRefNumberChange(false);
|
|
42
39
|
const canEditCase = useCanEditCase();
|
|
43
40
|
// To keep track of Cancel button state to close InlineEdit input mode
|
|
44
41
|
const [isCancelClicked, setIsCancelClicked] = useState(false);
|
|
45
42
|
// To keep track of Save button state to close InlineEdit input mode
|
|
46
43
|
const [isSaveClicked, setIsSaveClicked] = useState(false);
|
|
47
44
|
useEffect(() => {
|
|
48
|
-
if (
|
|
49
|
-
|
|
45
|
+
if (referenceNumber !== referenceNumberState) {
|
|
46
|
+
setReferenceNumberState(referenceNumber);
|
|
50
47
|
}
|
|
51
48
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
52
|
-
}, [
|
|
49
|
+
}, [referenceNumber]);
|
|
53
50
|
// Function to handle when Alternate ID changes
|
|
54
|
-
const
|
|
51
|
+
const onReferenceNumberChange = (value) => {
|
|
55
52
|
if (canEditCase.alert())
|
|
56
53
|
return;
|
|
57
|
-
|
|
54
|
+
setReferenceNumberState(value);
|
|
58
55
|
!caseNumber && setCaseDetails(caseDispatch, { alternateId: value === null || value === void 0 ? void 0 : value.trim() });
|
|
59
56
|
};
|
|
60
|
-
const
|
|
57
|
+
const updateReferenceNumber = () => __awaiter(this, void 0, void 0, function* () {
|
|
61
58
|
try {
|
|
62
59
|
setIsUpdating(true);
|
|
63
|
-
const caseDetails = { alternateId:
|
|
60
|
+
const caseDetails = { alternateId: referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.trim() };
|
|
64
61
|
yield updateCaseDetails(caseDispatch, caseNumber, caseDetails);
|
|
65
|
-
ToastNotification.addSuccessMessage(t(`
|
|
62
|
+
ToastNotification.addSuccessMessage(t(`Personal reference number has been successfully updated`));
|
|
66
63
|
setIsUpdating(false);
|
|
67
64
|
}
|
|
68
65
|
catch (e) {
|
|
69
|
-
caseUpdateError.showError(e, t('
|
|
66
|
+
caseUpdateError.showError(e, t('Personal reference number failed to update'));
|
|
70
67
|
setIsUpdating(false);
|
|
71
68
|
throw e;
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
71
|
const onSave = () => __awaiter(this, void 0, void 0, function* () {
|
|
75
72
|
if (caseNumber) {
|
|
76
|
-
yield
|
|
73
|
+
yield updateReferenceNumber();
|
|
77
74
|
}
|
|
78
|
-
|
|
75
|
+
setLocalRefNumberChange(true);
|
|
79
76
|
setIsSaveClicked(!isSaveClicked);
|
|
80
77
|
});
|
|
81
78
|
const onCancel = () => {
|
|
82
|
-
|
|
79
|
+
setReferenceNumberState(referenceNumber);
|
|
83
80
|
setIsCancelClicked(!isCancelClicked);
|
|
84
81
|
};
|
|
85
|
-
const maxLengthErrorMessage = t('
|
|
86
|
-
limit:
|
|
82
|
+
const maxLengthErrorMessage = t('Personal reference number cannot be more than {{limit}} characters.', {
|
|
83
|
+
limit: CASE_REFERENCE_NUMBER_LIMIT,
|
|
87
84
|
});
|
|
88
85
|
// Conditions to disable save button
|
|
89
|
-
const saveDisabled =
|
|
86
|
+
const saveDisabled = referenceNumberState === referenceNumber ||
|
|
87
|
+
isUpdating ||
|
|
88
|
+
(referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT;
|
|
90
89
|
// Function to handle keyDown events
|
|
91
90
|
const handleKeyDown = (e) => __awaiter(this, void 0, void 0, function* () {
|
|
92
91
|
// Cancel on pressing esc
|
|
@@ -98,15 +97,16 @@ function CaseAlternateId(props) {
|
|
|
98
97
|
yield onSave();
|
|
99
98
|
}
|
|
100
99
|
});
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
React.createElement(
|
|
100
|
+
const isReferenceNumberValid = (referenceNumberState === null || referenceNumberState === void 0 ? void 0 : referenceNumberState.length) > CASE_REFERENCE_NUMBER_LIMIT;
|
|
101
|
+
return (React.createElement("div", null,
|
|
102
|
+
React.createElement(NewInlineEdit, { formClassName: "case-details-ref-number", labelProps: { htmlFor: 'case-details-reference-number' }, labelContent: React.createElement(React.Fragment, null,
|
|
103
|
+
React.createElement(Trans, null, "Personal reference number"),
|
|
104
|
+
React.createElement(ValueChangedIcon, { afterLocalChange: afterLocalChange, isLocalChange: localRefNumberChange, value: referenceNumber, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.altID) }),
|
|
105
105
|
' ',
|
|
106
106
|
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.") },
|
|
107
|
-
React.createElement(InfoIcon, { className: "pf-u-ml-sm", "aria-label": "Case Alternate ID" }))), allowInlineEdit:
|
|
107
|
+
React.createElement(InfoIcon, { className: "pf-u-ml-sm", "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 },
|
|
108
108
|
React.createElement(TextInputGroup, null,
|
|
109
|
-
React.createElement(TextInput, { value:
|
|
109
|
+
React.createElement(TextInput, { value: referenceNumberState, type: "text", className: "form-control", id: "case-details-reference-number", placeholder: t(`Enter the reference number used personally or within your company`), onChange: onReferenceNumberChange, "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
|
|
110
110
|
? ValidatedOptions.error
|
|
111
111
|
: ValidatedOptions.default }),
|
|
112
112
|
!isUpdating ? (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
|
|
@@ -115,9 +115,8 @@ function CaseAlternateId(props) {
|
|
|
115
115
|
React.createElement("button", { className: "btn btn-app btn-link", type: "button", onClick: onCancel },
|
|
116
116
|
React.createElement(TimesIcon, { color: "#6A6E73" })))) : (React.createElement(InputGroupText, { variant: InputGroupTextVariant.plain },
|
|
117
117
|
React.createElement(Spinner, { isSVG: true, size: "lg", className: "pf-u-ml-2xl pf-u-mr-xl" }))))),
|
|
118
|
-
|
|
118
|
+
isReferenceNumberValid ? (React.createElement("div", { className: "pull-top" },
|
|
119
119
|
React.createElement("p", { className: "form-instructions form-invalid" },
|
|
120
|
-
React.createElement(Trans, null, maxLengthErrorMessage))))
|
|
120
|
+
React.createElement(Trans, null, maxLengthErrorMessage)))) : (React.createElement("p", { className: "form-instructions" },
|
|
121
|
+
React.createElement(Trans, null, "Add a personal or company reference number to help you connect, organize, and track cases.")))));
|
|
121
122
|
}
|
|
122
|
-
CaseAlternateId.defaultProps = defaultProps;
|
|
123
|
-
export default CaseAlternateId;
|
|
@@ -152,11 +152,11 @@ function CaseGroup(props) {
|
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
return (React.createElement("div", { className: "form-group" },
|
|
155
|
-
React.createElement("label", { htmlFor: "
|
|
155
|
+
React.createElement("label", { htmlFor: "get-support-group" },
|
|
156
156
|
React.createElement(Trans, null, "Group"),
|
|
157
157
|
React.createElement(ValueChangedIcon, { afterLocalChange: afterGroupLocalChange, comparator: groupComparator, isLocalChange: localGroupChange, value: selectedCaseGroup, getTooltipContent: getChangedValueTooltip(() => CaseValuesToWatch.group, (v) => v.name) }),
|
|
158
158
|
isGroupMandatory && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*"))),
|
|
159
|
-
React.createElement(Dropdown, { id: "
|
|
159
|
+
React.createElement(Dropdown, { id: "get-support-group", searchable: (ownersCaseGroups.data || []).length > 10, onClearSelection: onCaseGroupClear, name: "get-support-group", placeholder: t(`Select a group`), title: t(`Select a group`), list: computeDropdownList(), selectedItem: toOption(selectedCaseGroup, { labelKey: 'name' }), disabled: ownersCaseGroups.isError || ownersCaseGroups.isFetching || isCaseGroupUpdating, isLoadingList: ownersCaseGroups.isFetching || isCaseGroupUpdating, onChange: onCaseGroupChange, isInValid: (ownersCaseGroups.isError || isCaseGroupInvalid || isSelectedUngroupedInvalid) && isGroupMandatory, required: isGroupMandatory, onOuterClick: onOuterClickGroupCheck, "data-tracking-id": "get-support-group" }),
|
|
160
160
|
isSelectedUngroupedInvalid && (React.createElement("p", { className: "form-instructions form-invalid" },
|
|
161
161
|
React.createElement(Trans, null, "'Ungrouped Case' cannot be selected. Please select a group."))),
|
|
162
162
|
isCaseGroupInvalid && isGroupMandatory && (React.createElement("p", { className: "form-instructions form-invalid" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseInformation.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseInformation.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseInformation.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAUvD,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,MAAM,eAiHpD"}
|
|
@@ -7,14 +7,11 @@ import React, { useContext, useEffect } from 'react';
|
|
|
7
7
|
import { Trans, useTranslation } from 'react-i18next';
|
|
8
8
|
import { AppMetadataStateContext } from '../../context/AppMetadataContext';
|
|
9
9
|
import { useCaseSelector } from '../../context/CaseContext';
|
|
10
|
-
import { RouteContext } from '../../context/RouteContext';
|
|
11
10
|
import { OpenShiftClusterId } from '../CaseManagement/OpenShiftClusterId';
|
|
12
11
|
import { Hostname } from '../ImproveCase/Hostname';
|
|
13
12
|
import KtQuestions from '../ImproveCase/KtQuestions';
|
|
14
|
-
import
|
|
13
|
+
import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
|
|
15
14
|
import Description from './Description';
|
|
16
|
-
import { FileDiag } from './FileDiag';
|
|
17
|
-
import OpenCaseIssue from './OpenCaseIssue';
|
|
18
15
|
export default function CaseInformation(props) {
|
|
19
16
|
const { t } = useTranslation();
|
|
20
17
|
const { appMetadataState: { nextButtonRef }, } = useContext(AppMetadataStateContext);
|
|
@@ -26,7 +23,6 @@ export default function CaseInformation(props) {
|
|
|
26
23
|
selectedAccountDetails: state.selectedAccountDetails,
|
|
27
24
|
hasInvalidEntitlements: state.hasInvalidEntitlements,
|
|
28
25
|
}), isEqual);
|
|
29
|
-
const { routeState: { skippedTroubleshooting }, } = useContext(RouteContext);
|
|
30
26
|
const isMetadataLoading = () => {
|
|
31
27
|
return !isMetadataLoadingError() && (loggedInUser.isFetching || selectedAccountDetails.isFetching);
|
|
32
28
|
};
|
|
@@ -89,11 +85,9 @@ export default function CaseInformation(props) {
|
|
|
89
85
|
!isMetadataLoadingError() &&
|
|
90
86
|
canManageCase(loggedInUserJwtToken) && (React.createElement(React.Fragment, null,
|
|
91
87
|
React.createElement("form", { onSubmit: handleFormSubmit },
|
|
92
|
-
skippedTroubleshooting && (React.createElement(AllProductsSelector, { isDropdownSelected: true, routeProps: props.routeProps, loadTCOnChange: true, checkEntitledProduct: true })),
|
|
93
|
-
React.createElement(OpenShiftClusterId, null),
|
|
94
88
|
React.createElement(Hostname, null),
|
|
95
|
-
|
|
89
|
+
React.createElement(OpenShiftClusterId, null),
|
|
90
|
+
React.createElement(ClusterRecommendations, { className: "push-bottom" }),
|
|
96
91
|
React.createElement(Description, { inlineEditable: false }),
|
|
97
|
-
React.createElement(KtQuestions, null)
|
|
98
|
-
React.createElement(FileDiag, null))))));
|
|
92
|
+
React.createElement(KtQuestions, null))))));
|
|
99
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseType.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseType.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CaseType.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/CaseType.tsx"],"names":[],"mappings":"AAmBA,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,MAAM,eAoE7C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dropdown } from '@rh-support/components';
|
|
2
2
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
3
|
-
import { toOption, toOptions } from '@rh-support/utils';
|
|
3
|
+
import { PreviousCaseTypes, toNewCaseTypeMapper, toNewCaseTypeSwitcher, toOldCaseTypeSwitcher, toOption, toOptions, } from '@rh-support/utils';
|
|
4
4
|
import isEmpty from 'lodash/isEmpty';
|
|
5
5
|
import React, { useContext, useMemo, useState } from 'react';
|
|
6
6
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -20,22 +20,31 @@ export default function CaseType(props) {
|
|
|
20
20
|
setCaseDetails(caseDispatch, caseDetails);
|
|
21
21
|
};
|
|
22
22
|
const onCaseTypeChange = (option) => {
|
|
23
|
-
|
|
23
|
+
const selectedOldCaseTypeValue = toOldCaseTypeSwitcher(option.value);
|
|
24
|
+
onCaseDetailsChange({ caseType: selectedOldCaseTypeValue });
|
|
24
25
|
validateCaseType(option);
|
|
25
26
|
};
|
|
27
|
+
// To convert selected case type to new case type
|
|
28
|
+
const selectedNewCaseType = toNewCaseTypeSwitcher(caseType);
|
|
29
|
+
// To convert all case types to new case types
|
|
30
|
+
const mappedSupportTypes = toNewCaseTypeMapper(props.hideIdea
|
|
31
|
+
? allCaseTypes.data.filter((type) => type !== PreviousCaseTypes.FEATURE_ENHANCEMENT)
|
|
32
|
+
: allCaseTypes.data).sort();
|
|
33
|
+
const newCaseTypes = toOptions(mappedSupportTypes);
|
|
26
34
|
return (React.createElement("div", { className: "form-group" },
|
|
27
|
-
React.createElement("label", { htmlFor: "
|
|
28
|
-
React.createElement(Trans, null, "
|
|
35
|
+
React.createElement("label", { htmlFor: "get-support-type" },
|
|
36
|
+
React.createElement(Trans, null, "Support type"),
|
|
29
37
|
' ',
|
|
30
38
|
React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
31
|
-
React.createElement(Dropdown, { id: "
|
|
39
|
+
React.createElement(Dropdown, { id: "get-support-type", name: "get-support-type", placeholder: t(`Select a category`), title: t(`Select a category`), list: allCaseTypes.data ? newCaseTypes : [], selectedItem: toOption(selectedNewCaseType), disabled: allCaseTypes.isError, isLoadingList: allCaseTypes.isFetching, isInValid: isCaseTypeInValid, required: true, onChange: onCaseTypeChange, onOuterClick: validateCaseType, "data-tracking-id": "get-support-type" })));
|
|
32
40
|
}, [
|
|
33
41
|
allCaseTypes.data,
|
|
34
42
|
allCaseTypes.isError,
|
|
35
43
|
allCaseTypes.isFetching,
|
|
36
|
-
caseType,
|
|
37
44
|
isCaseTypeInValid,
|
|
38
45
|
caseDispatch,
|
|
46
|
+
caseType,
|
|
47
|
+
props.hideIdea,
|
|
39
48
|
t,
|
|
40
49
|
]);
|
|
41
50
|
}
|
|
@@ -18,6 +18,7 @@ import { PHONE_LIMIT } from '../../reducers/CaseConstNTypes';
|
|
|
18
18
|
import { setCaseDetails } from '../../reducers/CaseReducer';
|
|
19
19
|
import { ContactPhoneNumberPopOver } from './ContactPhoneNumberPopOver';
|
|
20
20
|
export function ContactPhoneNumber() {
|
|
21
|
+
var _a;
|
|
21
22
|
const { caseDetails } = useCaseSelector((state) => ({
|
|
22
23
|
caseDetails: state.caseDetails,
|
|
23
24
|
selectedOwner: state.selectedOwner,
|
|
@@ -34,7 +35,7 @@ export function ContactPhoneNumber() {
|
|
|
34
35
|
React.createElement("h3", { className: "subheading subheading-sm" },
|
|
35
36
|
React.createElement(Trans, null, "Case owner's phone number"),
|
|
36
37
|
ContactPhoneNumberPopOver()),
|
|
37
|
-
React.createElement(TextInput, { id: "case-phone-number", placeholder: "+1 555-555-5555", value: caseDetails.phone, onChange: handlePhoneChange, validated: caseDetails.phone.length > PHONE_LIMIT
|
|
38
|
+
React.createElement(TextInput, { id: "case-phone-number", placeholder: "+1 555-555-5555", value: caseDetails.phone, onChange: handlePhoneChange, validated: ((_a = caseDetails.phone) === null || _a === void 0 ? void 0 : _a.length) > PHONE_LIMIT
|
|
38
39
|
? ValidatedOptions.error
|
|
39
40
|
: caseDetails.severity === "1 (Urgent)" /* SEV_1 */ &&
|
|
40
41
|
isEmpty(caseDetails.suppliedPhoneNumberVerified)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactPhoneNumberAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberAlert.tsx"],"names":[],"mappings":"AAWA,wBAAgB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ContactPhoneNumberAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/ContactPhoneNumberAlert.tsx"],"names":[],"mappings":"AAWA,wBAAgB,uBAAuB,gBAwDtC"}
|
|
@@ -15,7 +15,7 @@ export function ContactPhoneNumberAlert() {
|
|
|
15
15
|
setCaseDetails(caseDispatch, caseDetails);
|
|
16
16
|
};
|
|
17
17
|
useEffect(() => {
|
|
18
|
-
if (caseDetails.severity === "1 (Urgent)" /* SEV_1 */) {
|
|
18
|
+
if (caseDetails.severity === "1 (Urgent)" /* SEV_1 */ && !caseDetails.suppliedPhoneNumberVerified) {
|
|
19
19
|
onCaseDetailsChange({ suppliedPhoneNumberVerified: undefined });
|
|
20
20
|
}
|
|
21
21
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -29,5 +29,5 @@ export function ContactPhoneNumberAlert() {
|
|
|
29
29
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'Deferred' }), "data-tracking-id": "case-contact-phone-number-dont-know" },
|
|
30
30
|
React.createElement(Trans, null, "I don't know")),
|
|
31
31
|
] },
|
|
32
|
-
React.createElement(Trans, null, "You are opening an urgent
|
|
32
|
+
React.createElement(Trans, null, "You are opening an urgent severity case, please confirm the phone number we have on file is correct.")));
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAkBA,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,eAsGhD"}
|