@rh-support/troubleshoot 2.2.31 → 2.2.33-beta.11

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 (34) hide show
  1. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  2. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +7 -2
  3. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.d.ts.map +1 -1
  4. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.js +2 -2
  5. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.d.ts.map +1 -1
  6. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.js +2 -2
  7. package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.js +2 -2
  8. package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts +0 -2
  9. package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
  10. package/lib/esm/components/CaseEditView/ShareCase/TnC.js +2 -20
  11. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.d.ts.map +1 -1
  12. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +1 -3
  13. package/lib/esm/components/CaseEditView/index.d.ts +0 -5
  14. package/lib/esm/components/CaseEditView/index.d.ts.map +1 -1
  15. package/lib/esm/components/CaseEditView/index.js +0 -7
  16. package/lib/esm/components/CaseManagement/ESSRemoteSessionCheckBox.js +3 -3
  17. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
  18. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.js +2 -2
  19. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  20. package/lib/esm/components/SubmitCase/SubmitCase.js +9 -8
  21. package/lib/esm/components/Suggestions/TopContent.d.ts +0 -1
  22. package/lib/esm/components/Suggestions/TopContent.d.ts.map +1 -1
  23. package/lib/esm/components/Suggestions/TopContent.js +0 -1
  24. package/lib/esm/components/shared/useIsSectionValid.d.ts +1 -1
  25. package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
  26. package/lib/esm/components/shared/useIsSectionValid.js +7 -2
  27. package/lib/esm/components/wizardLayout/WizardNavigation.js +1 -1
  28. package/lib/esm/scss/_pf4-overrides.scss +14 -12
  29. package/lib/esm/utils/remoteRiderUtils.d.ts.map +1 -1
  30. package/lib/esm/utils/remoteRiderUtils.js +2 -2
  31. package/package.json +6 -13
  32. package/lib/esm/constants/tncConstants.d.ts +0 -13
  33. package/lib/esm/constants/tncConstants.d.ts.map +0 -1
  34. package/lib/esm/constants/tncConstants.js +0 -12
@@ -1 +1 @@
1
- {"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAsD,MAAM,OAAO,CAAC;AA+D3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+EAoYxB,CAAC"}
1
+ {"version":3,"file":"CaseSolutions.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseSolutions/CaseSolutions.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAsD,MAAM,OAAO,CAAC;AA+D3E,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,EAAE,OAAO,CAAC;CACnC;AAUD,eAAO,MAAM,aAAa,+EA2YxB,CAAC"}
@@ -109,8 +109,13 @@ export const CaseSolutions = forwardRef((props, ref) => {
109
109
  };
110
110
  if (recommendationToUpdate.resourceViewURI)
111
111
  recommendation.resourceViewURI = recommendationToUpdate.resourceViewURI;
112
- if (recommendationToUpdate.resourceURI)
113
- recommendation.resourceURI = recommendationToUpdate.resourceURI;
112
+ // for some doc types like Errata we don't have resourceURI. If resourceURI was not avalable,
113
+ // we constructe a 'fake' one to be used when linking in SFDC
114
+ recommendation.resourceURI = recommendationToUpdate.resourceURI
115
+ ? recommendationToUpdate.resourceURI
116
+ : recommendationToUpdate.resourceViewURI
117
+ ? recommendationToUpdate.resourceViewURI
118
+ : recommendationToUpdate.resourceId;
114
119
  yield updateCaseDetails(caseDispatch, caseNumber, {
115
120
  caseResourceLinks: [recommendation],
116
121
  }, true);
@@ -1 +1 @@
1
- {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAOxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,+EAkH3B,CAAC"}
1
+ {"version":3,"file":"ESSRemoteSession.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/ESSRemoteSession.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,sBAAsB,EAAE,OAAO,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,eAAO,MAAM,gBAAgB,+EAkH3B,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { Button, Popover, Tooltip } from '@patternfly/react-core';
2
2
  import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
3
3
  import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
4
+ import { TncConstants } from '@rh-support/utils';
4
5
  import React, { forwardRef, useContext, useRef, useState } from 'react';
5
6
  import { useTranslation } from 'react-i18next';
6
- import { TnC } from '../../../constants/tncConstants';
7
7
  import { ESSRemoteSessionModal } from './ESSRemoteSessionModal';
8
8
  import { NewEssTermsModal } from './NewEssTermsModal';
9
9
  export const ESSRemoteSession = forwardRef((props, ref) => {
@@ -44,5 +44,5 @@ export const ESSRemoteSession = forwardRef((props, ref) => {
44
44
  React.createElement(Button, { "aria-label": screenSessionRequested ? t('Remote session requested') : t('Request remote session'), variant: screenSessionRequested ? 'primary' : 'secondary', onClick: termsAcked ? toggleESSRemoteSessionModal : toggleNewESSRemoteSessionModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: screenSessionRequested, ref: tooltipRef }, screenSessionRequested ? t('Remote session requested') : t('Request remote session')))));
45
45
  return (React.createElement(React.Fragment, null,
46
46
  ESSRemoteSessionSectionBody,
47
- remoteSessionTermsAcked && !screenSessionRequested ? (React.createElement(ESSRemoteSessionModal, { caseNumber: caseNumber, caseStatus: caseStatus, screenSessionRequested: screenSessionRequested, show: openESSRemoteSessionModal, onClose: toggleESSRemoteSessionModal, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })) : (React.createElement(NewEssTermsModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openNewESSRemoteSessionModal, onClose: toggleNewESSRemoteSessionModal, siteCode: TnC.REMOTE_RIDER_SITE_CODE, eventCode: TnC.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly }))));
47
+ remoteSessionTermsAcked && !screenSessionRequested ? (React.createElement(ESSRemoteSessionModal, { caseNumber: caseNumber, caseStatus: caseStatus, screenSessionRequested: screenSessionRequested, show: openESSRemoteSessionModal, onClose: toggleESSRemoteSessionModal, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })) : (React.createElement(NewEssTermsModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openNewESSRemoteSessionModal, onClose: toggleNewESSRemoteSessionModal, siteCode: TncConstants.REMOTE_RIDER_SITE_CODE, eventCode: TncConstants.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly }))));
48
48
  });
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteSessionAgreement.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,+EA8FjC,CAAC"}
1
+ {"version":3,"file":"RemoteSessionAgreement.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreement.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,sBAAsB,+EA8FjC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { Button, Popover, Tooltip } from '@patternfly/react-core';
2
2
  import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
3
3
  import { GlobalMetadataStateContext, useCanEditCase } from '@rh-support/react-context';
4
+ import { TncConstants } from '@rh-support/utils';
4
5
  import React, { forwardRef, useContext, useRef, useState } from 'react';
5
6
  import { useTranslation } from 'react-i18next';
6
- import { TnC } from '../../../constants/tncConstants';
7
7
  import { RemoteSessionAgreementModal } from './RemoteSessionAgreementModal';
8
8
  export const RemoteSessionAgreement = forwardRef((props, ref) => {
9
9
  const tooltipRef = useRef();
@@ -35,5 +35,5 @@ export const RemoteSessionAgreement = forwardRef((props, ref) => {
35
35
  React.createElement(Button, { "aria-label": acceptedRemoteSessionTerms ? t('Agreement accepted') : t('Accept agreement'), variant: acceptedRemoteSessionTerms ? 'primary' : 'secondary', onClick: toggleRemoteSessionAgreementModal, "data-tracking-id": "accept-remote-session-agreement-trigger", isAriaDisabled: acceptedRemoteSessionTerms, ref: tooltipRef }, acceptedRemoteSessionTerms ? t('Agreement accepted') : t('Accept agreement')))));
36
36
  return (React.createElement(React.Fragment, null,
37
37
  RemoteSessionAgreementSectionBody,
38
- React.createElement(RemoteSessionAgreementModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openRequestRemoteSessionModal, onClose: toggleRemoteSessionAgreementModal, siteCode: TnC.REMOTE_RIDER_SITE_CODE, eventCode: TnC.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })));
38
+ React.createElement(RemoteSessionAgreementModal, { caseNumber: caseNumber, caseStatus: caseStatus, show: openRequestRemoteSessionModal, onClose: toggleRemoteSessionAgreementModal, siteCode: TncConstants.REMOTE_RIDER_SITE_CODE, eventCode: TncConstants.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername, loggedInUserRights: loggedInUserRights, readOnly: readOnly })));
39
39
  });
@@ -7,10 +7,10 @@ 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 { getUrlParsedParams } from '@rh-support/utils';
10
+ import { getTnCHost, getUrlParsedParams } from '@rh-support/utils';
11
11
  import React, { useEffect, useState } from 'react';
12
12
  import { useLocation } from 'react-router';
13
- import { getTnCHost, handleTnCQueryParams } from './TnC';
13
+ import { handleTnCQueryParams } from './TnC';
14
14
  export function PartnerCaseHelper(props) {
15
15
  var _a, _b;
16
16
  const [isUpdating, setIsUpdating] = useState(false);
@@ -1,6 +1,4 @@
1
1
  import { RouteComponentProps } from 'react-router';
2
- export declare function getTnCHost(): string;
3
- export declare function baseTnCUrl(): string;
4
2
  export declare function getTnCUrl(accountNumber: any): string;
5
3
  export declare const handleTnCQueryParams: (caseNumber: string, routeProps: RouteComponentProps) => Promise<void>;
6
4
  //# sourceMappingURL=TnC.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TnC.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/TnC.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAInD,wBAAgB,UAAU,WAYzB;AAED,wBAAgB,UAAU,WAGzB;AAED,wBAAgB,SAAS,CAAC,aAAa,KAAA,UAQtC;AAMD,eAAO,MAAM,oBAAoB,eAAsB,MAAM,cAAc,mBAAmB,kBAc7F,CAAC"}
1
+ {"version":3,"file":"TnC.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/TnC.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,wBAAgB,SAAS,CAAC,aAAa,KAAA,UAQtC;AAMD,eAAO,MAAM,oBAAoB,eAAsB,MAAM,cAAc,mBAAmB,kBAc7F,CAAC"}
@@ -10,30 +10,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  // code replicated from legacy PCM<TnC.js>
11
11
  import hydrajs from '@cee-eng/hydrajs';
12
12
  import { ToastNotification } from '@rh-support/components';
13
- import { getText } from '@rh-support/utils';
13
+ import { baseTnCUrl, getText, TncConstants } from '@rh-support/utils';
14
14
  import get from 'lodash/get';
15
- import { TnC } from '../../../constants/tncConstants';
16
- export function getTnCHost() {
17
- const env = hydrajs.Env.getEnvName();
18
- switch (env) {
19
- case 'QA':
20
- return TnC.HOSTS.QA;
21
- case 'DEV':
22
- return TnC.HOSTS.DEV;
23
- case 'Stage':
24
- return TnC.HOSTS.Stage;
25
- default:
26
- return TnC.HOSTS.PROD;
27
- }
28
- }
29
- export function baseTnCUrl() {
30
- const wejava_host = getTnCHost();
31
- return `https://${wejava_host}/wapps/tnc/ackrequired`;
32
- }
33
15
  export function getTnCUrl(accountNumber) {
34
16
  const redirectUrl = encodeURIComponent(window.location.href + (accountNumber ? `?partnerAccountNumber=${accountNumber}` : ''));
35
17
  const cancelRedirectUrl = encodeURIComponent(window.location.href + `?rejectedTnC=true`);
36
- return `${baseTnCUrl()}?site=${TnC.PARTNER_SHARE_SITE_CODE}&event=${TnC.PARTNER_SHARE_EVENT_CODE}&redirect=${redirectUrl}&cancelRedirect=${cancelRedirectUrl}`;
18
+ return `${baseTnCUrl()}?site=${TncConstants.PARTNER_SHARE_SITE_CODE}&event=${TncConstants.PARTNER_SHARE_EVENT_CODE}&redirect=${redirectUrl}&cancelRedirect=${cancelRedirectUrl}`;
37
19
  }
38
20
  const removeQueryParams = (routeProps) => {
39
21
  routeProps.history.replace({ search: '' });
@@ -1 +1 @@
1
- {"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAc5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,eA0KlC;kBA1KQ,YAAY;;;AA6KrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"CaseHostname.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseHostname.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAc5D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,cAAc,EAAE,OAAO,CAAC;CAC3B;AAMD,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,eAuKlC;kBAvKQ,YAAY;;;AA0KrB,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -41,10 +41,8 @@ function CaseHostname(props) {
41
41
  const [isHostnamesLoading, setIsHostnamesLoading] = useState(true);
42
42
  const { isExportingPDF } = useContext(PDFContext);
43
43
  const { globalMetadataState: { loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
44
- const { request: fetchHostnameDefault } = useFetch(accounts.getIsSharingHostname);
45
44
  const userOriginalHostnameValue = () => __awaiter(this, void 0, void 0, function* () {
46
- const fetchedHostnameStatus = yield fetchHostnameDefault(accountNumber);
47
- setIsShareHostNamesChecked(fetchedHostnameStatus.shareHostnameWithRHT);
45
+ setIsShareHostNamesChecked(loggedInUsersAccount.data.shareHostnameWithRHT);
48
46
  setIsHostnamesLoading(false);
49
47
  });
50
48
  // value changed logic to show a none local status change
@@ -1,6 +1,5 @@
1
1
  import '../../css/app.css';
2
2
  import '../../css/case.css';
3
- import { IPfeCollapse } from '@rh-support/types/pfe/pfe-collapse';
4
3
  import { RouteComponentProps } from 'react-router-dom';
5
4
  declare global {
6
5
  interface Window {
@@ -15,10 +14,6 @@ declare global {
15
14
  hydrajs: string;
16
15
  };
17
16
  }
18
- namespace JSX {
19
- interface IntrinsicElements extends IPfeCollapse {
20
- }
21
- }
22
17
  interface Document {
23
18
  documentMode: any;
24
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,oBAAoB,CAAC;AAI5B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAM,OAAA,KAAK,GAAG,KAAK,GAAG,CAAC;QAC9E,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,eAAe,EAAE,GAAG,CAAC;QACrB,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,GAAG,CAAC;QACV,UAAU,iBAAkB,SAAQ,YAAY;SAAG;KACtD;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;CACJ;AAED,UAAU,MAAM;CAAG;AASnB,wBAAgB,OAAO,CAAC,UAAU,EAAE,mBAAmB,CAAC,MAAM,CAAC,eAkB9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,oBAAoB,CAAC;AAI5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AASvD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,MAAM;QACZ,SAAS,EAAE,GAAG,CAAC;QACf,oBAAoB,EAAE,GAAG,CAAC;QAC1B,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAM,OAAA,KAAK,GAAG,KAAK,GAAG,CAAC;QAC9E,MAAM,EAAE,GAAG,CAAC;QACZ,KAAK,EAAE,GAAG,CAAC;QACX,eAAe,EAAE,GAAG,CAAC;QACrB,aAAa,EAAE;YACX,cAAc,EAAE,MAAM,CAAC;YACvB,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;KACL;IAED,UAAU,QAAQ;QACd,YAAY,EAAE,GAAG,CAAC;KACrB;CACJ;AAED,UAAU,MAAM;CAAG;AAEnB,wBAAgB,OAAO,CAAC,UAAU,EAAE,mBAAmB,CAAC,MAAM,CAAC,eAkB9D"}
@@ -1,7 +1,6 @@
1
1
  import '../../css/app.css';
2
2
  import '../../css/case.css';
3
3
  import { ConfirmationServiceProvider, ErrorBoundary } from '@rh-support/components';
4
- import { CustomElements, requireCustomElement } from '@rh-support/utils';
5
4
  import React from 'react';
6
5
  import { CaseContextProvider } from '../../context/CaseContext';
7
6
  import { CaseDetailsPageContextProvider } from '../../context/CaseDetailsPageContext';
@@ -9,12 +8,6 @@ import { CaseDiscussionTabContextProvider } from '../../context/CaseDiscussionTa
9
8
  import { RecommendationContextProvider } from '../../context/RecommendationContext';
10
9
  import Case from './Case';
11
10
  import { PDFContainer } from './PDFContainer';
12
- requireCustomElement([
13
- {
14
- element: CustomElements.pfeCollapse,
15
- requireCb: () => require('@patternfly/pfe-collapse'),
16
- },
17
- ]);
18
11
  export function CaseApp(routeProps) {
19
12
  return (React.createElement(ErrorBoundary, { isPageLevelError: true },
20
13
  React.createElement(CaseContextProvider, null,
@@ -13,10 +13,10 @@ import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
13
13
  import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
14
14
  import { useFetch } from '@rh-support/components';
15
15
  import { GlobalMetadataStateContext } from '@rh-support/react-context';
16
+ import { TncConstants } from '@rh-support/utils';
16
17
  import isEqual from 'lodash/isEmpty';
17
18
  import React, { useContext, useEffect, useState } from 'react';
18
19
  import { Trans, useTranslation } from 'react-i18next';
19
- import { TnC } from '../../constants/tncConstants';
20
20
  import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
21
21
  import { setCaseDetails } from '../../reducers/CaseReducer';
22
22
  const getLocaleNameFromLocalCode = (localeCode) => {
@@ -60,8 +60,8 @@ const ESSRemoteSessionCheck = () => {
60
60
  const caseDispatch = useCaseDispatch();
61
61
  const [remoteSessionChecked, setRemoteSessionChecked] = useState(screenSessionRequested);
62
62
  const { globalMetadataState: { loggedInUser, loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
63
- const siteCode = TnC.REMOTE_RIDER_SITE_CODE;
64
- const eventCode = TnC.REMOTER_RIDER_EVENT_CODE;
63
+ const siteCode = TncConstants.REMOTE_RIDER_SITE_CODE;
64
+ const eventCode = TncConstants.REMOTER_RIDER_EVENT_CODE;
65
65
  const user = loggedInUser.data.ssoUsername === undefined ? '' : loggedInUser.data.ssoUsername;
66
66
  useEffect(() => {
67
67
  const fetchTerms = () => __awaiter(void 0, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteRiderAcceptanceModal.d.ts","sourceRoot":"","sources":["../../../../src/components/RemoteRider/RemoteRiderAcceptanceModal.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAMxD,UAAU,MAAM;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;CACrD;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,KAAK,EAAE,MAAM,eAsD/D"}
1
+ {"version":3,"file":"RemoteRiderAcceptanceModal.d.ts","sourceRoot":"","sources":["../../../../src/components/RemoteRider/RemoteRiderAcceptanceModal.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAKxD,UAAU,MAAM;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;CACrD;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,KAAK,EAAE,MAAM,eAsD/D"}
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  import { publicApi } from '@cee-eng/hydrajs';
11
11
  import { AcceptTermsModal, ToastNotification, useFetch } from '@rh-support/components';
12
12
  import { GlobalMetadataStateContext } from '@rh-support/react-context';
13
+ import { TncConstants } from '@rh-support/utils';
13
14
  import React, { useContext } from 'react';
14
15
  import { useTranslation } from 'react-i18next';
15
- import { TnC } from '../../constants/tncConstants';
16
16
  export default function RemoteRiderAcceptanceModal(props) {
17
17
  const { globalMetadataState: { loggedInUser }, } = useContext(GlobalMetadataStateContext);
18
18
  const { t } = useTranslation();
@@ -41,5 +41,5 @@ export default function RemoteRiderAcceptanceModal(props) {
41
41
  props.onFailure && props.onFailure();
42
42
  }
43
43
  });
44
- return (React.createElement(AcceptTermsModal, { isSubmitting: isFetching, siteCode: TnC.REMOTE_RIDER_SITE_CODE, eventCode: TnC.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername, isModalOpen: props.isModalOpen, onModalClose: props.onModalClose, dataTrackingId: props.isCaseDetailsPage ? 'rar-case-details' : 'rar-case-submit', onConfirm: onConfirm, isDisabled: isPostingComment }));
44
+ return (React.createElement(AcceptTermsModal, { isSubmitting: isFetching, siteCode: TncConstants.REMOTE_RIDER_SITE_CODE, eventCode: TncConstants.REMOTER_RIDER_EVENT_CODE, loggedInUser: loggedInUser.data.ssoUsername, isModalOpen: props.isModalOpen, onModalClose: props.onModalClose, dataTrackingId: props.isCaseDetailsPage ? 'rar-case-details' : 'rar-case-submit', onConfirm: onConfirm, isDisabled: isPostingComment }));
45
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAkCA,MAAM,CAAC,OAAO,UAAU,UAAU,gBAoTjC"}
1
+ {"version":3,"file":"SubmitCase.d.ts","sourceRoot":"","sources":["../../../../src/components/SubmitCase/SubmitCase.tsx"],"names":[],"mappings":"AAkCA,MAAM,CAAC,OAAO,UAAU,UAAU,gBA0TjC"}
@@ -21,7 +21,7 @@ import ClusterRecommendations from '../Recommendations/ClusterRecommendations';
21
21
  import InsightsResults from '../Recommendations/InsightsResults';
22
22
  import { RemoteRiderBanner } from '../RemoteRider/RemoteRiderBanner';
23
23
  import FileUploader from '../shared/fileUpload/FileUploader';
24
- import { isUploadedAndAnalyzed, isUploadingAttachment } from '../shared/fileUpload/reducer/AttachmentHelper';
24
+ import { isUploadingAttachment } from '../shared/fileUpload/reducer/AttachmentHelper';
25
25
  import { AttachmentStateContext } from '../shared/fileUpload/reducer/AttachmentReducerContext';
26
26
  import Suggestions from '../Suggestions/Suggestions';
27
27
  export default function SubmitCase() {
@@ -81,9 +81,6 @@ export default function SubmitCase() {
81
81
  showRemoteRiderTermsInline &&
82
82
  !selectedAccountDetails.data.remoteSessionTermsAcked &&
83
83
  !isIdea;
84
- const viewDisabled = isEmpty(attachmentState.caseFiles.selectedLocalFiles)
85
- ? false
86
- : attachmentState.caseFiles.selectedLocalFiles.every((localFile) => !isUploadedAndAnalyzed(localFile));
87
84
  const isNotAnIdea = caseType !== PreviousCaseTypes.FEATURE_ENHANCEMENT;
88
85
  // To check if the user is ESS Customer and Product has ESS Support
89
86
  const isESSCustomer = isSpecialSupportOfferingEnabled((_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult, product);
@@ -107,7 +104,9 @@ export default function SubmitCase() {
107
104
  React.createElement("div", { className: "pf-u-mt-sm" },
108
105
  React.createElement(Trans, null, "Case number:"),
109
106
  "\u00A0",
110
- React.createElement(Link, { to: `/case/${caseNoOfCreatedCase}`, "data-tracking-id": "get-support-queued-case-number", className: viewDisabled ? 'case-link-disabled' : '' }, caseNoOfCreatedCase)))) : (React.createElement(React.Fragment, null,
107
+ React.createElement(Link, { to: `/case/${caseNoOfCreatedCase}`, "data-tracking-id": "get-support-queued-case-number", className: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles)
108
+ ? 'case-link-disabled'
109
+ : '' }, caseNoOfCreatedCase)))) : (React.createElement(React.Fragment, null,
111
110
  React.createElement("div", { className: "submit-page-title" },
112
111
  React.createElement(CheckCircleIcon, { className: "submit-case-check-icon", size: "lg" }),
113
112
  ' ',
@@ -115,7 +114,9 @@ export default function SubmitCase() {
115
114
  React.createElement(Trans, null, "We\u2019ve added your case to our queue"))),
116
115
  React.createElement(React.Fragment, null,
117
116
  React.createElement(Trans, null, "Case number: "),
118
- React.createElement("a", { href: getCaseURL(), target: "_blank", rel: "noopener noreferrer", "data-tracking-id": "get-support-case-number", className: viewDisabled ? 'case-link-disabled' : '' }, caseNoOfCreatedCase))))),
117
+ React.createElement("a", { href: getCaseURL(), target: "_blank", rel: "noopener noreferrer", "data-tracking-id": "get-support-case-number", className: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles)
118
+ ? 'case-link-disabled'
119
+ : '' }, caseNoOfCreatedCase))))),
119
120
  React.createElement("p", null,
120
121
  !versionsDetails.isFetching &&
121
122
  !versionsDetails.isFetching &&
@@ -134,9 +135,9 @@ export default function SubmitCase() {
134
135
  React.createElement(ActionList, null,
135
136
  React.createElement(ActionListItem, null,
136
137
  React.createElement(Button, { component: "a", href: `${getRedhatDotComHost(Env.getEnvName())}/wapps/ugc/protected/${'personalInfo.html'}`, target: "_blank", variant: "secondary", "data-tracking-id": "get-support-update-info", className: "update-info-button" }, "Update info")),
137
- React.createElement(ActionListItem, null, viewDisabled ? (React.createElement(React.Fragment, null,
138
+ React.createElement(ActionListItem, null, isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) ? (React.createElement(React.Fragment, null,
138
139
  React.createElement(Tooltip, { content: t('File upload in progress.'), position: "bottom" },
139
- React.createElement(Button, { className: "pf-u-ml-md", component: "a", href: getCaseURL(), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case'), isAriaDisabled: viewDisabled }, "View case")))) : (React.createElement(Button, { className: "pf-u-ml-md", component: (props) => (React.createElement(Link, Object.assign({}, props, { to: `/case/${caseNoOfCreatedCase}` }))), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case') }, "View case")))))),
140
+ React.createElement(Button, { className: "pf-u-ml-md", component: "a", href: getCaseURL(), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case'), isAriaDisabled: isUploadingAttachment(attachmentState.caseFiles.selectedLocalFiles) }, "View case")))) : (React.createElement(Button, { className: "pf-u-ml-md", component: (props) => (React.createElement(Link, Object.assign({}, props, { to: `/case/${caseNoOfCreatedCase}` }))), variant: "primary", "data-tracking-id": "get-support-view-case", "aria-label": t('View case') }, "View case")))))),
140
141
  !isEmpty(attachmentState.caseFiles.selectedLocalFiles) && (React.createElement(FileUploader, { idToUploadTo: caseNoOfCreatedCase, isSessionId: false, isSecureSupport: loggedInUsersAccount.data.secureSupport })),
141
142
  React.createElement("div", null,
142
143
  (!isEmpty(topContent.data) || !rulesState.EARules.rules || !clusterRecommendations) &&
@@ -1,4 +1,3 @@
1
- import '@patternfly/pfe-accordion';
2
1
  import { ITopContent } from '@cee-eng/hydrajs/@types/models/topContent/topContentModel';
3
2
  interface IProps {
4
3
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"TopContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/TopContent.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAGnC,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAQxF,UAAU,MAAM;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,eA6C/C"}
1
+ {"version":3,"file":"TopContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Suggestions/TopContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2DAA2D,CAAC;AAQxF,UAAU,MAAM;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,MAAM,eA6C/C"}
@@ -1,4 +1,3 @@
1
- import '@patternfly/pfe-accordion';
2
1
  import { pcm } from '@cee-eng/hydrajs';
3
2
  import { Tooltip } from '@patternfly/react-core';
4
3
  import map from 'lodash/map';
@@ -3,6 +3,6 @@ export declare function useIsSectionValid(sectionName: AppRouteSections): {
3
3
  isSectionValid: boolean;
4
4
  isSectionValidFn: (sectionNameLocal: any) => boolean;
5
5
  isActiveSectionValid: boolean;
6
- activeSectionError: string;
6
+ activeSectionError: string | JSX.Element;
7
7
  };
8
8
  //# sourceMappingURL=useIsSectionValid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EA0L9D"}
1
+ {"version":3,"file":"useIsSectionValid.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/useIsSectionValid.tsx"],"names":[],"mappings":"AAyBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,gBAAgB;;;;;EAiM9D"}
@@ -2,7 +2,8 @@ import { GlobalMetadataStateContext } from '@rh-support/react-context';
2
2
  import find from 'lodash/find';
3
3
  import isEmpty from 'lodash/isEmpty';
4
4
  import isEqual from 'lodash/isEqual';
5
- import { useContext } from 'react';
5
+ import React, { useContext } from 'react';
6
+ import { Trans } from 'react-i18next';
6
7
  import { useCaseSelector } from '../../context/CaseContext';
7
8
  import { RecommendationStateContext } from '../../context/RecommendationContext';
8
9
  import { RouteContext } from '../../context/RouteContext';
@@ -129,7 +130,11 @@ export function useIsSectionValid(sectionName) {
129
130
  if (!product)
130
131
  return '';
131
132
  const isEntitledProductLocal = isSearchIntent ? true : isEntitledProduct;
132
- return !isEntitledProductLocal ? 'You are not allowed to create case on this product' : '';
133
+ return !isEntitledProductLocal ? (React.createElement(Trans, { i18nKey: "i18ValidEntitlementContactCustomerService" },
134
+ "You need a valid entitlement to create a case.\u00A0 Please contact",
135
+ ' ',
136
+ React.createElement("a", { href: "/support/contact/customerService" }, "Customer Service"),
137
+ " for assistance.")) : ('');
133
138
  };
134
139
  const activeSectionError = (sectionNameLocal) => {
135
140
  if (!sectionNameLocal)
@@ -112,7 +112,7 @@ function WizardNavigation(props) {
112
112
  noValidEntitlement, onClick: onNext, className: "btn btn-app btn-primary main-nav-button", "data-tracking-id": `next-of-${activeSection}` }, t(props.activeStep.nextButtonLabel)),
113
113
  activeSection === AppRouteSections.TROUBLESHOOT && isFileRecommendationsTriggered && (React.createElement(Button, { onClick: handleFileRecsSelfSolved, variant: ButtonVariant.secondary, className: "issue-solved-button solved-issue-button", "data-tracking-id": "troubleshoot-self-solved-issue" }, t('I solved my issue'))),
114
114
  React.createElement(RecommendationFeedbackModal, { isModalOpen: isRecsModalVisible, handleModalToggle: onRecsFeedbackModalToggle, modalContent: t(`Great, we're glad that resolved your issue`) }),
115
- activeSectionError ? (React.createElement("small", { className: "pf-u-align-self-center pf-u-ml-md text-red" }, t(activeSectionError))) : null));
115
+ activeSectionError ? (React.createElement("small", { className: "pf-u-align-self-center pf-u-ml-md text-red" }, activeSectionError)) : null));
116
116
  }
117
117
  WizardNavigation.defaultProps = defaultProps;
118
118
  export default WizardNavigation;
@@ -172,20 +172,22 @@
172
172
  }
173
173
  }
174
174
 
175
- .pf-c-expandable-section {
176
- .pf-c-expandable-section__content {
177
- margin-top: 0 !important;
178
- padding: 10px 5px;
179
- border: 1px solid #d2d2d2;
180
- border-top: none;
181
- }
175
+ #rh-support-case {
176
+ .pf-c-expandable-section {
177
+ .pf-c-expandable-section__content {
178
+ margin-top: 0 !important;
179
+ padding: 10px 5px;
180
+ border: 1px solid #d2d2d2;
181
+ border-top: none;
182
+ }
182
183
 
183
- .pf-c-expandable-section__toggle {
184
- font-size: 16px;
184
+ .pf-c-expandable-section__toggle {
185
+ font-size: 16px;
185
186
 
186
- .pf-c-expandable-section__toggle-text {
187
- margin-left: 8px;
188
- font-weight: 500;
187
+ .pf-c-expandable-section__toggle-text {
188
+ margin-left: 8px;
189
+ font-weight: 500;
190
+ }
189
191
  }
190
192
  }
191
193
  }
@@ -1 +1 @@
1
- {"version":3,"file":"remoteRiderUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/remoteRiderUtils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,oBAAoB,mDAUhC,CAAC"}
1
+ {"version":3,"file":"remoteRiderUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/remoteRiderUtils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,mDAUhC,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import hydrajs from '@cee-eng/hydrajs';
2
- import { TnC } from '../constants/tncConstants';
2
+ import { TncConstants } from '@rh-support/utils';
3
3
  export const getTnCRemoteRiderUrl = (caseNumber, isSecureSupport) => {
4
4
  const path = `${isSecureSupport ? hydrajs.Env.securePathPrefix : hydrajs.Env.pathPrefix}/cases/${caseNumber}/remotesessionterms`;
5
5
  const redirectUrl = hydrajs.Env.hydraHostName.clone().setPath(path);
6
6
  const cancelRedirectUrl = encodeURIComponent(`${window.location.href}?remoteSessionTermsAcked=false`);
7
- const tncUrl = `https://${TnC.HOSTS[hydrajs.Env.getEnvName()]}/wapps/tnc/ackrequired?site=${TnC.REMOTE_RIDER_SITE_CODE}&event=${TnC.REMOTER_RIDER_EVENT_CODE}&redirect=${redirectUrl}&cancelRedirect=${cancelRedirectUrl}`;
7
+ const tncUrl = `https://${TncConstants.HOSTS[hydrajs.Env.getEnvName()]}/wapps/tnc/ackrequired?site=${TncConstants.REMOTE_RIDER_SITE_CODE}&event=${TncConstants.REMOTER_RIDER_EVENT_CODE}&redirect=${redirectUrl}&cancelRedirect=${cancelRedirectUrl}`;
8
8
  return tncUrl;
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.2.31",
3
+ "version": "2.2.33-beta.11",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -29,9 +29,6 @@
29
29
  "@cee-eng/hydrajs": "4.16.21",
30
30
  "@cee-eng/ui-toolkit": "1.1.6",
31
31
  "@patternfly/patternfly": "4.196.7",
32
- "@patternfly/pfe-accordion": "1.12.3",
33
- "@patternfly/pfe-collapse": "1.12.3",
34
- "@patternfly/pfe-tabs": "1.12.3",
35
32
  "@patternfly/react-core": "4.264.0",
36
33
  "dompurify": "^2.2.6",
37
34
  "downshift": "^6.0.5",
@@ -59,18 +56,14 @@
59
56
  "@cee-eng/hydrajs": "4.16.21",
60
57
  "@cee-eng/ui-toolkit": "1.1.6",
61
58
  "@patternfly/patternfly": "4.196.7",
62
- "@patternfly/pfe-accordion": "1.12.3",
63
- "@patternfly/pfe-collapse": "1.12.3",
64
- "@patternfly/pfe-icon": "^1.12.3",
65
- "@patternfly/pfe-tabs": "1.12.3",
66
59
  "@patternfly/react-core": "4.264.0",
67
60
  "@progress/kendo-drawing": "^1.6.0",
68
61
  "@progress/kendo-react-pdf": "^3.12.0",
69
- "@rh-support/components": "2.1.18",
70
- "@rh-support/react-context": "2.1.18",
62
+ "@rh-support/components": "2.1.19-beta.11",
63
+ "@rh-support/react-context": "2.1.20-beta.11",
71
64
  "@rh-support/types": "2.0.2",
72
- "@rh-support/user-permissions": "2.1.12",
73
- "@rh-support/utils": "2.1.9",
65
+ "@rh-support/user-permissions": "2.1.13-beta.11",
66
+ "@rh-support/utils": "2.1.10-beta.11",
74
67
  "@types/react-redux": "^7.1.12",
75
68
  "@types/redux": "^3.6.0",
76
69
  "dompurify": "^2.4.1",
@@ -133,5 +126,5 @@
133
126
  "defaults and supports es6-module",
134
127
  "maintained node versions"
135
128
  ],
136
- "gitHead": "ec73b04b857523eb9ced98302c2245c095db46e1"
129
+ "gitHead": "8e73de8237d47996bd99c8e61d3e06a5f8c5f40c"
137
130
  }
@@ -1,13 +0,0 @@
1
- export declare const TnC: {
2
- HOSTS: {
3
- DEV: string;
4
- QA: string;
5
- Stage: string;
6
- PROD: string;
7
- };
8
- PARTNER_SHARE_SITE_CODE: string;
9
- PARTNER_SHARE_EVENT_CODE: string;
10
- REMOTER_RIDER_EVENT_CODE: string;
11
- REMOTE_RIDER_SITE_CODE: string;
12
- };
13
- //# sourceMappingURL=tncConstants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tncConstants.d.ts","sourceRoot":"","sources":["../../../src/constants/tncConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;CAWf,CAAC"}
@@ -1,12 +0,0 @@
1
- export const TnC = {
2
- HOSTS: {
3
- DEV: 'ams-dev1.devlab.redhat.com',
4
- QA: 'www.qa.redhat.com',
5
- Stage: 'www.stage.redhat.com',
6
- PROD: 'www.redhat.com',
7
- },
8
- PARTNER_SHARE_SITE_CODE: 'customerPortal',
9
- PARTNER_SHARE_EVENT_CODE: 'partnerAuthorization',
10
- REMOTER_RIDER_EVENT_CODE: 'remoteAccessRider',
11
- REMOTE_RIDER_SITE_CODE: 'remoteAccessRider',
12
- };