@rh-support/troubleshoot 2.2.172 → 2.2.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Case.js +0 -2
- package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseDetailsAside.js +1 -0
- package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/CaseOverview/index.js +2 -4
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/PartnerCaseHelper.js +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts +1 -1
- package/lib/esm/components/CaseEditView/ShareCase/TnC.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.js +1 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +0 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +3 -3
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.js +17 -11
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/useCustomEmails.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +3 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +2 -2
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +1 -0
- package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +16 -1
- 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/OpenCaseIssue.d.ts.map +1 -1
- package/lib/esm/components/CaseInformation/OpenCaseIssue.js +1 -1
- package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +4 -4
- package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +2 -2
- package/lib/esm/components/CaseManagement/SendNotifications/CaseContactSelector.js +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/AllProductsSelector.js +2 -3
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts +1 -1
- package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts +2 -0
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
- package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +4 -1
- package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/AsideResults.js +7 -9
- package/lib/esm/components/Recommendations/EARules/EARuleWidget.js +1 -1
- package/lib/esm/components/Recommendations/InsightsResults.js +2 -2
- package/lib/esm/components/Recommendations/InsightsRuleInfo.d.ts.map +1 -1
- package/lib/esm/components/Recommendations/InsightsRuleInfo.js +1 -1
- package/lib/esm/components/Recommendations/RecommendationInfoBox.js +1 -1
- package/lib/esm/components/Review/Review.d.ts +1 -1
- package/lib/esm/components/Review/Review.d.ts.map +1 -1
- package/lib/esm/components/SessionRestore/SessionRestore.js +1 -1
- package/lib/esm/components/SubmitCase/SubmitCase.js +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
- package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +27 -25
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +22 -22
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +3 -3
- package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
- package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
- package/lib/esm/components/shared/usePostComment.js +1 -1
- package/lib/esm/components/shared/utils.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.d.ts +1 -1
- package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
- package/lib/esm/components/wizardLayout/WizardNavigation.js +3 -3
- package/lib/esm/css/app.css +0 -5
- package/lib/esm/css/productSelector.css +5 -0
- package/lib/esm/enums/cache.d.ts +1 -1
- package/lib/esm/enums/cache.d.ts.map +1 -1
- package/lib/esm/hooks/useParseRuleMarkdown.d.ts.map +1 -1
- package/lib/esm/hooks/useParseRuleMarkdown.js +1 -1
- package/lib/esm/hooks/useS3Upload.js +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseDetailsPageReducer.js +1 -1
- package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
- package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
- package/lib/esm/reducers/CaseReducer.js +21 -17
- package/lib/esm/reducers/ClusterRecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RecommendationsReducer.js +7 -9
- package/lib/esm/reducers/RouteReducer.d.ts.map +1 -1
- package/lib/esm/reducers/RulesReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.d.ts.map +1 -1
- package/lib/esm/reducers/SessionRestoreReducer.js +5 -5
- package/lib/esm/reducers/TopContentReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +13 -2
- package/lib/esm/scss/_pf-overrides.scss +1 -0
- package/lib/esm/scss/index.scss +0 -5
- package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
- package/lib/esm/utils/insightRuleInfoUtils.d.ts +4 -0
- package/lib/esm/utils/insightRuleInfoUtils.d.ts.map +1 -0
- package/lib/esm/utils/insightRuleInfoUtils.js +23 -0
- package/lib/esm/utils/routeUtils.d.ts +1 -1
- package/lib/esm/utils/routeUtils.d.ts.map +1 -1
- package/package.json +15 -13
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts +0 -9
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseDetailsWarningMessage.js +0 -10
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts +0 -9
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/CaseSecureSupportAlert.js +0 -22
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts +0 -9
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.d.ts.map +0 -1
- package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert.js +0 -75
- package/lib/esm/hooks/useUserPreference.d.ts +0 -7
- package/lib/esm/hooks/useUserPreference.d.ts.map +0 -1
- package/lib/esm/hooks/useUserPreference.js +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Case.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/Case.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAS,mBAAmB,EAAiD,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Case.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/Case.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAS,mBAAmB,EAAiD,MAAM,kBAAkB,CAAC;AAkB7G,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,MAAM,qBA6LzC"}
|
|
@@ -15,7 +15,6 @@ import { CaseDetailsAside } from './CaseDetailsAside';
|
|
|
15
15
|
import { CaseDetailsErrorMessage } from './CaseDetailsErrorMessage';
|
|
16
16
|
import CaseDetailsModals from './CaseDetailsModals';
|
|
17
17
|
import { CaseDetailsTabs } from './CaseDetailsTabs';
|
|
18
|
-
import { CaseDetailsWarningMessage } from './CaseDetailsWarningMessage';
|
|
19
18
|
import CaseOverview from './CaseOverview';
|
|
20
19
|
import { PDFContext } from './PDFContainer';
|
|
21
20
|
export default function Case(props) {
|
|
@@ -112,7 +111,6 @@ export default function Case(props) {
|
|
|
112
111
|
React.createElement("article", { className: "grid-main" },
|
|
113
112
|
React.createElement("section", { className: "grid-main-section" },
|
|
114
113
|
(isFetchingCaseDetailsError || !canReadCase) && (React.createElement(CaseDetailsErrorMessage, { isError: isFetchingCaseDetailsError, errorDetails: caseDetailsError, canReadCase: canReadCase, caseNumber: caseNumber, isInlineError: true })),
|
|
115
|
-
React.createElement(CaseDetailsWarningMessage, { caseNumber: caseNumber, selectedAccountDetails: selectedAccountDetails.data || {} }),
|
|
116
114
|
canReadCase &&
|
|
117
115
|
(!isFetchingCaseDetails || !isEmpty(product)) &&
|
|
118
116
|
!isFetchingCaseDetailsError && (React.createElement(React.Fragment, null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAYvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseDetailsAside.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseEditView/CaseDetailsAside.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAYvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAmX7C"}
|
|
@@ -135,6 +135,7 @@ export function CaseDetailsAside(props) {
|
|
|
135
135
|
const onDefaultCheckboxChange = (e) => __awaiter(this, void 0, void 0, function* () {
|
|
136
136
|
try {
|
|
137
137
|
if (viewAsInternalPref !== undefined) {
|
|
138
|
+
// @ts-ignore
|
|
138
139
|
yield updateOriginalCaseView(+!viewAsInternalPref);
|
|
139
140
|
setIsDefaultBoxChecked(!isDefaultBoxChecked);
|
|
140
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAkD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/CaseOverview/index.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAkD,MAAM,OAAO,CAAC;AA4BvE,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,qBA6fjD"}
|
|
@@ -28,7 +28,6 @@ import { ReopenCaseModal } from '../ConfirmationModals/ReopenCaseModal';
|
|
|
28
28
|
import { PDFContext } from '../PDFContainer';
|
|
29
29
|
import { CaseInformation } from '../Tabs/CaseDetails/CaseInformation';
|
|
30
30
|
import { CaseContactPhoneNumberAlert } from '../Tabs/CaseDetails/CasePhoneNumberConfirmAlert';
|
|
31
|
-
import { CasePhoneNumberSev1ConfirmAlert } from '../Tabs/CaseDetails/CasePhoneNumberSev1ConfirmAlert';
|
|
32
31
|
import Summary from '../Tabs/CaseDetails/Summary';
|
|
33
32
|
import CaseOwnerInfo from './CaseOwnerInfo';
|
|
34
33
|
import CaseStatus from './CaseStatus';
|
|
@@ -149,7 +148,7 @@ export default function CaseOverview(props) {
|
|
|
149
148
|
caseUpdateError.showError(e, t('Severity failed to update'));
|
|
150
149
|
}
|
|
151
150
|
});
|
|
152
|
-
const updateStatusState = (
|
|
151
|
+
const updateStatusState = (statusVal_1, reopenedAt_1, reopenedBySSOName_1, reopenedReason_1, reopenedReasonOther_1, ...args_1) => __awaiter(this, [statusVal_1, reopenedAt_1, reopenedBySSOName_1, reopenedReason_1, reopenedReasonOther_1, ...args_1], void 0, function* (statusVal, reopenedAt, reopenedBySSOName, reopenedReason, reopenedReasonOther, onStatusUpdate = null) {
|
|
153
152
|
setStatusUpdating(caseOverviewDispatch, true);
|
|
154
153
|
let updateStatusObj = {
|
|
155
154
|
status: statusVal,
|
|
@@ -192,7 +191,7 @@ export default function CaseOverview(props) {
|
|
|
192
191
|
const onCaseClose = () => __awaiter(this, void 0, void 0, function* () {
|
|
193
192
|
setShowCaseCloseModal(true);
|
|
194
193
|
});
|
|
195
|
-
const onCaseReopen = (
|
|
194
|
+
const onCaseReopen = (...args_1) => __awaiter(this, [...args_1], void 0, function* (selectedStatus = null) {
|
|
196
195
|
reopenStatusRef.current = selectedStatus;
|
|
197
196
|
setShowReopenCaseModal(true);
|
|
198
197
|
});
|
|
@@ -240,7 +239,6 @@ export default function CaseOverview(props) {
|
|
|
240
239
|
React.createElement("p", { className: "pf-v5-u-mb-sm" },
|
|
241
240
|
React.createElement(Trans, null, "The customer has received two warnings regarding inactivity. This case will be closed soon if we don't receive any input."))) })))),
|
|
242
241
|
React.createElement(CaseContactPhoneNumberAlert, { isReview: true, tabRef: props.tabsRef }),
|
|
243
|
-
React.createElement(CasePhoneNumberSev1ConfirmAlert, { isReview: true, tabRef: props.tabsRef }),
|
|
244
242
|
React.createElement("header", null,
|
|
245
243
|
React.createElement("h2", { className: "case-ID" },
|
|
246
244
|
React.createElement(Trans, null, "Case"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerCaseHelper.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/PartnerCaseHelper.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"PartnerCaseHelper.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/PartnerCaseHelper.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAIpE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CACxE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,qBAsB9C"}
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { getTnCHost, getUrlParsedParams } from '@rh-support/utils';
|
|
11
11
|
import React, { useEffect, useState } from 'react';
|
|
12
|
-
import { useLocation } from 'react-router';
|
|
12
|
+
import { useLocation } from 'react-router-dom';
|
|
13
13
|
import { handleTnCQueryParams } from './TnC';
|
|
14
14
|
export function PartnerCaseHelper(props) {
|
|
15
15
|
var _a, _b;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RouteComponentProps } from 'react-router';
|
|
1
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
2
2
|
export declare function getTnCUrl(accountNumber: any): string;
|
|
3
3
|
export declare const handleTnCQueryParams: (caseNumber: string, routeProps: RouteComponentProps) => Promise<void>;
|
|
4
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,
|
|
1
|
+
{"version":3,"file":"TnC.d.ts","sourceRoot":"","sources":["../../../../../src/components/CaseEditView/ShareCase/TnC.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,wBAAgB,SAAS,CAAC,aAAa,KAAA,UAQtC;AAMD,eAAO,MAAM,oBAAoB,eAAsB,MAAM,cAAc,mBAAmB,kBAc7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseActionPlan.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseActionPlan/CaseActionPlan.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAQ/D,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;CACtB;AAMD,iBAAS,cAAc,CAAC,KAAK,EAAE,MAAM,qBAqHpC;kBArHQ,cAAc;;;AAwHvB,eAAe,cAAc,CAAC"}
|
|
@@ -76,8 +76,7 @@ function CaseActionPlan(props) {
|
|
|
76
76
|
React.createElement(Trans, null, "Action plan")),
|
|
77
77
|
!canUpdateActionPlan ? (React.createElement(CodeBlock, null,
|
|
78
78
|
React.createElement(CodeBlockCode, null, isEmpty(actionPlan) ? t('No action plan to display.') : actionPlan))) : (React.createElement("form", null,
|
|
79
|
-
React.createElement("
|
|
80
|
-
React.createElement(TextAreaResizable, { id: "rha-action-plan", disabled: isUpdating || isInternalWithoutSFDCUser, maxLength: 32768, name: "actionPlan", value: actionPlanState, onChange: onChange, rowsMin: 3 })),
|
|
79
|
+
React.createElement(TextAreaResizable, { id: "rha-action-plan", disabled: isUpdating || isInternalWithoutSFDCUser, maxLength: 32768, name: "actionPlan", value: actionPlanState, onChange: onChange, rowsMin: 3 }),
|
|
81
80
|
!isInternalWithoutSFDCUser && (React.createElement("div", { className: `${isExportingPDF ? 'hide-in-pdf' : ''} push-top-narrow` },
|
|
82
81
|
React.createElement("button", { className: "btn btn-app btn-primary", onClick: updateCase, disabled: isActionPlanEmpty || isUpdating || !formIsDirty, type: "button" },
|
|
83
82
|
React.createElement(Trans, null, "Submit"),
|
|
@@ -71,13 +71,13 @@ export function CaseContactPhoneNumber() {
|
|
|
71
71
|
!isEmpty(phoneAreaCodePrefixLineNumber) &&
|
|
72
72
|
isEmpty(phoneCountryCode); // country code empty
|
|
73
73
|
const onSave = () => __awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
var
|
|
74
|
+
var _a, _b;
|
|
75
75
|
setIsSavedClicked(true);
|
|
76
76
|
if (isPhoneValueCannotBeSaved)
|
|
77
77
|
return;
|
|
78
78
|
setCaseState(caseDispatch, { isCasePhoneUpdating: true });
|
|
79
|
-
const phoneLine = (
|
|
80
|
-
const countryCode = (
|
|
79
|
+
const phoneLine = (_a = getPhoneObj(localFullPhoneState)) === null || _a === void 0 ? void 0 : _a.phoneLine;
|
|
80
|
+
const countryCode = (_b = getPhoneObj(localFullPhoneState)) === null || _b === void 0 ? void 0 : _b.countryCode;
|
|
81
81
|
try {
|
|
82
82
|
// update case contact info
|
|
83
83
|
yield updateCaseDetails(caseDispatch, caseNumber, Object.assign(Object.assign({ phoneCountryCode: countryCode, phoneAreaCodePrefixLineNumber: phoneLine }, (contactSSOName === loggedInUser.data.ssoUsername && { suppliedPhoneNumberVerified: 'True' })), (!countryCode && !phoneLine && { clearPhoneNumber: true, suppliedPhoneNumberVerified: 'False' })));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDClassNameProps } from '@rh-support/types/shared';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { RouteComponentProps } from 'react-router';
|
|
3
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
4
4
|
interface IProps extends IDClassNameProps {
|
|
5
5
|
caseNumber: string;
|
|
6
6
|
routeProps: RouteComponentProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseDetailsManagement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CaseDetailsManagement.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAkBvD,UAAU,MAAO,SAAQ,gBAAgB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,mBAAmB,CAAC;IAChC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CAClD;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,MAAM,qBAgE1D"}
|
|
@@ -14,7 +14,6 @@ import { ShareWithPartner } from '../../ShareCase/PartnerShare';
|
|
|
14
14
|
import { CaseContactPhoneNumber } from './CaseContactPhoneNumber';
|
|
15
15
|
import CaseInternalStatus from './CaseInternalStatus';
|
|
16
16
|
import { CaseContactPhoneNumberAlert } from './CasePhoneNumberConfirmAlert';
|
|
17
|
-
import { CasePhoneNumberSev1ConfirmAlert } from './CasePhoneNumberSev1ConfirmAlert';
|
|
18
17
|
import CaseReferenceNumber from './CaseReferenceNumber';
|
|
19
18
|
import CaseSbrGroups from './CaseSbrGroups';
|
|
20
19
|
import SFDCUrl from './SFDCUrl';
|
|
@@ -40,7 +39,6 @@ export default function CaseDetailsManagement(props) {
|
|
|
40
39
|
React.createElement(FlexItem, { flex: { default: 'flex_1' } },
|
|
41
40
|
React.createElement(CaseContactPhoneNumber, null))),
|
|
42
41
|
React.createElement(CaseContactPhoneNumberAlert, { isConfirm: true }),
|
|
43
|
-
React.createElement(CasePhoneNumberSev1ConfirmAlert, { isConfirm: true }),
|
|
44
42
|
canSeeInternalStatus && React.createElement(CaseInternalStatus, null),
|
|
45
43
|
canSeeSBRGroups && React.createElement(CaseSbrGroups, null),
|
|
46
44
|
React.createElement(CaseGroup, null),
|
|
@@ -72,8 +72,8 @@ export function CaseOpenshiftClusterId() {
|
|
|
72
72
|
useEffect(() => {
|
|
73
73
|
var _a;
|
|
74
74
|
const isClusterVisible = () => __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
var
|
|
76
|
-
const hasCluster = yield isClusterIdEnabledForProduct(product, (
|
|
75
|
+
var _a;
|
|
76
|
+
const hasCluster = yield isClusterIdEnabledForProduct(product, (_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult);
|
|
77
77
|
setShowClusterId(hasCluster);
|
|
78
78
|
// when product changes from a product with cluster to a product without cluster, reset the clusterId
|
|
79
79
|
const hasPreviousProduct = previousProduct !== undefined;
|
|
@@ -111,7 +111,7 @@ export function CaseOpenshiftClusterId() {
|
|
|
111
111
|
}
|
|
112
112
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
113
113
|
}, [noClusterIdReason, openshiftClusterID, openshiftClusterVersion]);
|
|
114
|
-
const clusterIdUpdate = (
|
|
114
|
+
const clusterIdUpdate = (caseDetails_1, ...args_1) => __awaiter(this, [caseDetails_1, ...args_1], void 0, function* (caseDetails, showToast = true) {
|
|
115
115
|
if (showToast)
|
|
116
116
|
setIsClusterIdUpdating(true);
|
|
117
117
|
try {
|
package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CasePhoneNumberConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CasePhoneNumberConfirmAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDetails/CasePhoneNumberConfirmAlert.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA+B,MAAM,OAAO,CAAC;AASpD,UAAU,MAAM;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACnD;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,qBAsIxD"}
|
|
@@ -23,12 +23,14 @@ import { PDFContext } from '../../PDFContainer';
|
|
|
23
23
|
export function CaseContactPhoneNumberAlert(props) {
|
|
24
24
|
const { globalMetadataState: { loggedInUser }, } = useContext(GlobalMetadataStateContext);
|
|
25
25
|
const [isCaseUpdating, setCasUpdating] = useState(false);
|
|
26
|
-
const
|
|
26
|
+
const [closeConfirmAlert, setCloseConfirmAlert] = useState(false);
|
|
27
|
+
const { caseNumber, suppliedPhoneNumberVerified, contactSSOName, isCaseOwnerUpdating, phoneCountryCode, phoneAreaCodePrefixLineNumber, } = useCaseSelector((state) => ({
|
|
27
28
|
caseNumber: state.caseDetails.caseNumber,
|
|
28
29
|
suppliedPhoneNumberVerified: state.caseDetails.suppliedPhoneNumberVerified,
|
|
29
30
|
contactSSOName: state.caseDetails.contactSSOName,
|
|
30
31
|
isCaseOwnerUpdating: state.isCaseOwnerUpdating,
|
|
31
|
-
|
|
32
|
+
phoneCountryCode: state.caseDetails.phoneCountryCode,
|
|
33
|
+
phoneAreaCodePrefixLineNumber: state.caseDetails.phoneAreaCodePrefixLineNumber,
|
|
32
34
|
}), isEqual);
|
|
33
35
|
const { t } = useTranslation();
|
|
34
36
|
const caseDispatch = useCaseDispatch();
|
|
@@ -51,21 +53,25 @@ export function CaseContactPhoneNumberAlert(props) {
|
|
|
51
53
|
};
|
|
52
54
|
const isPhoneNeedsReview = !isEmpty(contactSSOName) &&
|
|
53
55
|
contactSSOName === loggedInUser.data.ssoUsername &&
|
|
54
|
-
suppliedPhoneNumberVerified
|
|
55
|
-
!isCaseOwnerUpdating
|
|
56
|
-
|
|
57
|
-
const
|
|
56
|
+
suppliedPhoneNumberVerified !== 'True' &&
|
|
57
|
+
!isCaseOwnerUpdating;
|
|
58
|
+
const phone = phoneCountryCode + ' ' + phoneAreaCodePrefixLineNumber;
|
|
59
|
+
const confirmationMessage = `${t('Is this phone number correct,')} ${phone} ?`;
|
|
58
60
|
if (!isPhoneNeedsReview)
|
|
59
61
|
return React.createElement(React.Fragment, null);
|
|
60
|
-
return (React.createElement(React.Fragment, null, props.isReview && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md phone-review-banner", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
61
|
-
React.createElement(
|
|
62
|
+
return (React.createElement(React.Fragment, null, props.isReview && !closeConfirmAlert && !isExportingPDF ? (React.createElement(Alert, { className: "pf-v5-u-mb-md phone-review-banner", isInline: true, variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
63
|
+
React.createElement(Button, { key: "case-contact-phone-number-review-confirm", variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-review-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
64
|
+
React.createElement(Trans, null, "Yes, confirm phone number")),
|
|
65
|
+
React.createElement(Link, { key: "case-contact-phone-number-review", replace: true, to: {
|
|
62
66
|
pathname: `/case/${caseNumber}/management`,
|
|
63
67
|
}, onClick: () => goToPhoneField(), "data-tracking-id": "case-contact-phone-number-review" },
|
|
64
|
-
React.createElement(Trans, null, "
|
|
68
|
+
React.createElement(Trans, null, "No, update phone number")),
|
|
69
|
+
React.createElement(Button, { key: "case-contact-phone-number-alert-close", variant: ButtonVariant.link, onClick: () => setCloseConfirmAlert(!closeConfirmAlert), "data-tracking-id": "case-contact-phone-number-alert-close", isDisabled: isCaseUpdating },
|
|
70
|
+
React.createElement(Trans, null, "Close")),
|
|
65
71
|
] },
|
|
66
|
-
React.createElement(Trans, null,
|
|
72
|
+
React.createElement(Trans, null, confirmationMessage))) : props.isConfirm && !isExportingPDF ? (React.createElement(Alert, { isInline: true, className: "pf-v5-u-mb-md phone-review-banner", variant: AlertVariant.warning, title: t('Review phone number'), component: "p", actionLinks: [
|
|
67
73
|
React.createElement(Button, { variant: ButtonVariant.link, isInline: true, onClick: () => onCaseDetailsChange({ suppliedPhoneNumberVerified: 'True' }), "data-tracking-id": "case-contact-phone-number-confirm", isLoading: isCaseUpdating, isDisabled: isCaseUpdating },
|
|
68
74
|
React.createElement(Trans, null, "Confirm phone number")),
|
|
69
75
|
] },
|
|
70
|
-
React.createElement(Trans, null,
|
|
76
|
+
React.createElement(Trans, null, confirmationMessage))) : (React.createElement(React.Fragment, null))));
|
|
71
77
|
}
|
|
@@ -42,7 +42,7 @@ export function useCustomEmails(props) {
|
|
|
42
42
|
isAdded && fetchAccountCustomEmails(globalMetadataDispatch, props.accountNumber);
|
|
43
43
|
return !!isAdded;
|
|
44
44
|
});
|
|
45
|
-
const addCustomEmail = (
|
|
45
|
+
const addCustomEmail = (emailVal_1, onAdd_1, ...args_1) => __awaiter(this, [emailVal_1, onAdd_1, ...args_1], void 0, function* (emailVal, onAdd, skipAccountCheck = false) {
|
|
46
46
|
try {
|
|
47
47
|
if (isEmpty(emailVal) || !isEmailValid(emailVal)) {
|
|
48
48
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"CaseComments.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AA8BvE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAChH;AAED,QAAA,MAAM,YAAY,4EAkVhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -137,7 +137,9 @@ const CaseComments = React.forwardRef((props, ref) => {
|
|
|
137
137
|
return { __html: DOMPurify.sanitize(text) };
|
|
138
138
|
};
|
|
139
139
|
const commentMarkdown = (markdown) => {
|
|
140
|
-
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true, disableImagePreview: isExportingPDF },
|
|
140
|
+
const htmlString = parseCommentMarkdown(markdown, { showButtonForAttachmentLink: true, disableImagePreview: isExportingPDF },
|
|
141
|
+
// @ts-ignore
|
|
142
|
+
{ openLinksInNewTab: true, gfm: true, breaks: true });
|
|
141
143
|
return { __html: DOMPurify.sanitize(htmlString) };
|
|
142
144
|
};
|
|
143
145
|
const onCommentAreaClick = (e) => {
|
|
@@ -21,7 +21,7 @@ import isEqual from 'lodash/isEqual';
|
|
|
21
21
|
import Mark from 'mark.js';
|
|
22
22
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
23
23
|
import { Trans, useTranslation } from 'react-i18next';
|
|
24
|
-
import { useLocation } from 'react-router';
|
|
24
|
+
import { useLocation } from 'react-router-dom';
|
|
25
25
|
import { AutoSizer, CellMeasurer, CellMeasurerCache, List, WindowScroller } from 'react-virtualized';
|
|
26
26
|
import { useCaseDispatch, useCaseSelector } from '../../../../context/CaseContext';
|
|
27
27
|
import { useCaseDetailsPageStateContext } from '../../../../context/CaseDetailsPageContext';
|
|
@@ -225,7 +225,7 @@ export default function CaseDiscussion(props) {
|
|
|
225
225
|
const onMetadataUpdate = (attachmentId, updatedAttachment) => {
|
|
226
226
|
updateAttachment(dispatchDiscussion, attachmentId, updatedAttachment, allDiscussions);
|
|
227
227
|
};
|
|
228
|
-
const downloadAttachment = (
|
|
228
|
+
const downloadAttachment = (_a) => __awaiter(this, [_a], void 0, function* ({ caseNumber, uuid, name }) {
|
|
229
229
|
const tempToastId = ToastNotification.addInfoMessage(t('Starting file download'));
|
|
230
230
|
try {
|
|
231
231
|
yield caseAttachments.downloadAttachmentS3(caseNumber, uuid, name, false, loggedInUsersAccount.data.secureSupport);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMarkdownFileUploader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAcxE,UAAU,MAAM;IACZ,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,QAAkB,CAAC;AAE/C,wBAAgB,uBAAuB,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,EAAE,MAAM;;;;;;+BAyDpD,
|
|
1
|
+
{"version":3,"file":"useMarkdownFileUploader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAcxE,UAAU,MAAM;IACZ,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,QAAkB,CAAC;AAE/C,wBAAgB,uBAAuB,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,EAAE,MAAM;;;;;;+BAyDpD,OAAO,CAAC,WAAW,CAAC;;EA2C/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostComment.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/PostComment.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAQ7F,OAAO,EAAkB,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAsB5F,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,WAAW,EAAE,CAAC;CACjC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PostComment.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseDiscussion/PostComment.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAQ7F,OAAO,EAAkB,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAsB5F,UAAU,MAAM;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,WAAW,EAAE,CAAC;CACjC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,qBAyiBxC"}
|
|
@@ -62,6 +62,7 @@ export function PostComment(props) {
|
|
|
62
62
|
const retrievedComment = yield getCommentTypeFromPreference();
|
|
63
63
|
const retrievedCommentSignature = yield getCommentSignature();
|
|
64
64
|
const defaultCommentType = retrievedComment ? retrievedComment : EditorMode.PLAIN;
|
|
65
|
+
// @ts-ignore
|
|
65
66
|
setCommentType(defaultCommentType);
|
|
66
67
|
const defaultCommentSignature = retrievedCommentSignature || '';
|
|
67
68
|
setCommentSignature(defaultCommentSignature);
|
|
@@ -63,7 +63,7 @@ export function VerifyCaseStatusModal(props) {
|
|
|
63
63
|
yield updateStatusState(statusChange);
|
|
64
64
|
setIsVerifyCaseStatusLoading(true);
|
|
65
65
|
});
|
|
66
|
-
const updateStatusState = (
|
|
66
|
+
const updateStatusState = (statusVal_1, ...args_1) => __awaiter(this, [statusVal_1, ...args_1], void 0, function* (statusVal, onStatusUpdate = null) {
|
|
67
67
|
if (status !== statusVal) {
|
|
68
68
|
setStatusUpdating(caseOverviewDispatch, true);
|
|
69
69
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseHistory/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAwBxB,OAAO,KAAuD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../src/components/CaseEditView/Tabs/CaseHistory/Timeline.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAwBxB,OAAO,KAAuD,MAAM,OAAO,CAAC;AAoK5E,QAAA,MAAM,QAAQ;;uBAgRb,CAAC;AACF,eAAe,QAAQ,CAAC"}
|
|
@@ -40,9 +40,23 @@ const TimelineNode = React.forwardRef(({ leftEvent, rightEvent, user, useAvatar
|
|
|
40
40
|
React.createElement("div", { ref: ref, "aria-label": `${useAvatar ? 'Open user profile' : 'Marker'}`, tabIndex: 0 }, useAvatar ? (React.createElement(Avatar, { src: 'https://www.patternfly.org/images/668560cd.svg', className: `timeline-avatar timeline-avatar-${user}`, alt: `${user}'s avatar` })) : (React.createElement("div", { className: `timeline-marker timeline-${user}` }))),
|
|
41
41
|
rightEvent && React.createElement(TimelineEvent, Object.assign({}, rightEvent, { side: "right" }))));
|
|
42
42
|
});
|
|
43
|
+
const applyReplacements = (text) => {
|
|
44
|
+
let newText = text;
|
|
45
|
+
//replacing Problem Statement to Title
|
|
46
|
+
if (newText.includes('Problem Statement')) {
|
|
47
|
+
newText = newText.replace(/Problem Statement/g, 'Title');
|
|
48
|
+
}
|
|
49
|
+
//we can add more conditions here if needed
|
|
50
|
+
return newText;
|
|
51
|
+
};
|
|
52
|
+
//function to replace Problem Statement with Title
|
|
53
|
+
const specialTimelineData = (apiResponse) => {
|
|
54
|
+
return Object.assign(Object.assign({}, apiResponse), { historyItems: apiResponse.historyItems.map((item) => (Object.assign(Object.assign({}, item), { outputText: applyReplacements(item.outputText) }))) });
|
|
55
|
+
};
|
|
43
56
|
const transformApiResponseToTimelineData = (apiResponse) => {
|
|
44
57
|
let previousUser = null;
|
|
45
|
-
const
|
|
58
|
+
const modifiedApiResponse = specialTimelineData(apiResponse);
|
|
59
|
+
const timelineEvents = modifiedApiResponse.historyItems.map((item, index) => {
|
|
46
60
|
const currentUser = item.createdByUserName;
|
|
47
61
|
// If the current user is the same as the previous one, and it's not the first item, don't use an avatar. use !! cause previousUser start null.
|
|
48
62
|
const useAvatar = index === 0 || (!!previousUser && currentUser !== previousUser);
|
|
@@ -142,6 +156,7 @@ const Timeline = ({ caseNumber }) => {
|
|
|
142
156
|
});
|
|
143
157
|
}
|
|
144
158
|
fetchHistory();
|
|
159
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
145
160
|
}, [caseNumber]);
|
|
146
161
|
//Using useLayoutEffect because we are measuring styles based on DOM, useLayoutEffect runs after DOM Mutations https://react.dev/reference/react/useLayoutEffect
|
|
147
162
|
useLayoutEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAQ3D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/Description.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAQ3D,UAAU,MAAM;IACZ,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,qBA6JhD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Badge,
|
|
2
|
-
import
|
|
1
|
+
import { Badge, Popover, TextArea } from '@patternfly/react-core';
|
|
2
|
+
import QuestionCircleIcon from '@patternfly/react-icons/dist/js/icons/question-circle-icon';
|
|
3
3
|
// import ArrowRightIcon from '@patternfly/react-icons/dist/js/icons/arrow-right-icon'; This will be used for the Learn More button
|
|
4
4
|
import StarIcon from '@patternfly/react-icons/dist/js/icons/star-icon';
|
|
5
5
|
import { InlineEdit, useBreakpoint } from '@rh-support/components';
|
|
@@ -72,8 +72,7 @@ export default function Description(props) {
|
|
|
72
72
|
React.createElement(Trans, null, "Describe your problem. Include specific actions and error messages."),
|
|
73
73
|
isKT1Required && (React.createElement("span", { className: "form-required", "aria-hidden": true }, "*")),
|
|
74
74
|
React.createElement(Popover, { position: 'right', isVisible: isOpen, shouldClose: handleClose, headerContent: headerPopoverContent, bodyContent: PopoverContent },
|
|
75
|
-
React.createElement(
|
|
76
|
-
React.createElement(HelpIcon, null)))))), labelProps: { htmlFor: 'get-support-ktQ1-issue' }, content: issue, allowInlineEdit: !!props.inlineEditable, hideSaveCancel: !!props.hideSaveCancel, initialIsEditing: isEmpty(issue), usePreformattedTag: true, saveOnBlur: true },
|
|
75
|
+
React.createElement(QuestionCircleIcon, { className: "pf-v5-u-ml-xs icon-size", onClick: handleToggle }))))), labelProps: { htmlFor: 'get-support-ktQ1-issue' }, content: issue, allowInlineEdit: !!props.inlineEditable, hideSaveCancel: !!props.hideSaveCancel, initialIsEditing: isEmpty(issue), usePreformattedTag: true, saveOnBlur: true },
|
|
77
76
|
React.createElement(TextArea, { id: "get-support-ktQ1-issue", name: "get-support-ktQ1-issue", className: (isEmpty(summary) || isEmpty(version)) && isEmpty(issue) ? 'kt1-disabled' : '', "aria-invalid": (issue === null || issue === void 0 ? void 0 : issue.length) > CASE_DETAILS_ISSUE_LIMIT ? 'true' : 'false', "aria-required": isKT1Required, isRequired: isKT1Required, value: issue, disabled: (isEmpty(summary) || isEmpty(version)) && isEmpty(issue), onChange: (e, value) => onKTQ1IssueChange(value, e), "data-tracking-id": "get-support-ktQ1-issue", placeholder: t(`The more detail that you include, the easier it is for us to help you. \nExample: \nI'm unable to start the SSHD service and am receiving the error message "Bad yes/no \nargument for ShowPatchLevel parameter"`), resizeOrientation: "vertical", validated: props.isSummarizeInvalid ? 'error' : 'default', rows: isLgScreenHeight ? 10 : 4, ref: textAreaRef, onClick: handleTextAreaClick }),
|
|
78
77
|
React.createElement("p", { className: "form-instructions pf-v5-u-danger-color-100", "data-tracking-id": "large-20k-warning-ktQ1-environment" }, `${(issue === null || issue === void 0 ? void 0 : issue.length) > CASE_DETAILS_ISSUE_LIMIT
|
|
79
78
|
? `This description exceeds ${CASE_DETAILS_ISSUE_LIMIT} characters. Try shortening it.`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenCaseIssue.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/OpenCaseIssue.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,UAAU,MAAM;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;CAC5B;AASD,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"OpenCaseIssue.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/OpenCaseIssue.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAS/D,UAAU,MAAM;IACZ,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;CAC5B;AASD,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,qBA6InC;kBA7IQ,aAAa;;;AAgJtB,eAAe,aAAa,CAAC"}
|
|
@@ -82,7 +82,7 @@ function OpenCaseIssue(props) {
|
|
|
82
82
|
" "), allowInlineEdit: props.inlineEditable, hideSaveCancel: !!props.hideSaveCancel, initialIsEditing: !!props.initialIsEditing, saveOnBlur: true, collapseOnBlur: !!props.collapseOnBlur && !isSummaryEmpty, content: summary },
|
|
83
83
|
React.createElement(TextInput, { id: isIdea() ? 'get-support-title' : 'get-support-summary', className: `form-control ${getTitleSummaryInvalid() ? ' form-invalid' : ''} ${isEmpty(version) ? 'issue-title-disabled' : ''}`, validated: summary && (summary === null || summary === void 0 ? void 0 : summary.length) > TITLE_SUMMARY_LENGTH_LIMIT ? 'error' : 'default', "aria-invalid": getTitleSummaryInvalid(), "aria-required": !!props.required, required: !!props.required, name: isIdea() ? 'get-support-title' : 'get-support-summary', placeholder: isIdea()
|
|
84
84
|
? t('i18nkeySummarizeIdea', "Summarize what you're experiencing today")
|
|
85
|
-
: t('i18nkeySummarizeExperience', 'Create a heading that summarizes your issue'), value: summary, onChange: onSummaryChange, onBlur: onSummaryBlur, autoFocus: !!props.autoFocus, "data-tracking-id": isIdea() ? 'get-support-title' : 'get-support-summary',
|
|
85
|
+
: t('i18nkeySummarizeExperience', 'Create a heading that summarizes your issue'), value: summary, onChange: onSummaryChange, onBlur: onSummaryBlur, autoFocus: !!props.autoFocus, "data-tracking-id": isIdea() ? 'get-support-title' : 'get-support-summary', "aria-disabled": isEmpty(version), isDisabled: isEmpty(version) }),
|
|
86
86
|
React.createElement(React.Fragment, null, hasLargeTitleSummary && (React.createElement("div", null,
|
|
87
87
|
React.createElement("p", { className: "form-instructions form-invalid pf-v5-u-danger-color-100 title-summary-error" }, t(`This title exceeds ${TITLE_SUMMARY_LENGTH_LIMIT} characters. Try shortening it.`))))),
|
|
88
88
|
React.createElement(Description, { isSummarizeInvalid: getIssueSummaryInvalid() }),
|
|
@@ -14,7 +14,7 @@ import isEmpty from 'lodash/isEmpty';
|
|
|
14
14
|
import isEqual from 'lodash/isEqual';
|
|
15
15
|
import React, { useContext, useEffect, useState } from 'react';
|
|
16
16
|
import { Trans } from 'react-i18next';
|
|
17
|
-
import { useLocation } from 'react-router';
|
|
17
|
+
import { useLocation } from 'react-router-dom';
|
|
18
18
|
import { useCaseDispatch, useCaseSelector } from '../../context/CaseContext';
|
|
19
19
|
import { ClusterRecommendationsContext, ClusterRecommendationsDispatchContext, } from '../../context/ClusterRecommendationsContext';
|
|
20
20
|
import { RouteContext } from '../../context/RouteContext';
|
|
@@ -88,8 +88,8 @@ export function OpenShiftClusterId(props) {
|
|
|
88
88
|
if (isEmpty(product) || isEmpty(version))
|
|
89
89
|
return;
|
|
90
90
|
const isClusterVisible = () => __awaiter(this, void 0, void 0, function* () {
|
|
91
|
-
var
|
|
92
|
-
const hasCluster = yield isClusterIdEnabledForProduct(product, (
|
|
91
|
+
var _a, _b;
|
|
92
|
+
const hasCluster = yield isClusterIdEnabledForProduct(product, (_a = allProducts.data) === null || _a === void 0 ? void 0 : _a.productsResult);
|
|
93
93
|
if (!hasCluster) {
|
|
94
94
|
resetClusterData();
|
|
95
95
|
return;
|
|
@@ -115,7 +115,7 @@ export function OpenShiftClusterId(props) {
|
|
|
115
115
|
setIsClusterIdInValid(false);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
const majorVersion = (
|
|
118
|
+
const majorVersion = (_b = getVersion(version)) === null || _b === void 0 ? void 0 : _b.major;
|
|
119
119
|
const isOpenShiftV3 = product === 'OpenShift Container Platform' && majorVersion === '3';
|
|
120
120
|
setShowV3TextBox(isOpenShiftV3);
|
|
121
121
|
if (isOpenShiftV3 || noClusterIdReasonExplanation === 'v3-cluster') {
|
|
@@ -161,7 +161,7 @@ function OpenshiftDropdownV4(props) {
|
|
|
161
161
|
return {};
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
|
-
const fetchAccountClusters = (
|
|
164
|
+
const fetchAccountClusters = (...args_1) => __awaiter(this, [...args_1], void 0, function* (search = '', page = 1) {
|
|
165
165
|
search = search.trim();
|
|
166
166
|
setIsFetchingClusters(true);
|
|
167
167
|
try {
|
|
@@ -213,7 +213,7 @@ function OpenshiftDropdownV4(props) {
|
|
|
213
213
|
catch (e) {
|
|
214
214
|
// silently fails
|
|
215
215
|
setIsFetchingClusters(false);
|
|
216
|
-
return { items: [], totalResult: 0, page:
|
|
216
|
+
return { items: [], totalResult: 0, page: 1, total: 0 };
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
219
|
// when user visits case detail or clusterId comes from url,
|
|
@@ -185,7 +185,7 @@ function CaseContactSelector(props) {
|
|
|
185
185
|
}
|
|
186
186
|
return hasGroupAccess;
|
|
187
187
|
});
|
|
188
|
-
const onNotifiedUserChange = (
|
|
188
|
+
const onNotifiedUserChange = (...args_1) => __awaiter(this, [...args_1], void 0, function* (selectedContacts = []) {
|
|
189
189
|
// check if selection changed
|
|
190
190
|
const alreadySelected = [
|
|
191
191
|
...customEmailsList.data,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RouteComponentProps } from 'react-router';
|
|
2
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
3
3
|
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
4
4
|
interface IProps {
|
|
5
5
|
setIsDropdownSelected?: (flag: boolean) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllProductsSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/AllProductsSelector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AllProductsSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/AllProductsSelector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAqB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMrF,UAAU,MAAM;IACZ,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAQD;;;;;;;GAOG;AACH,QAAA,MAAM,mBAAmB,4EAuIvB,CAAC;AAGH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Modal, ModalVariant } from '@patternfly/react-core';
|
|
2
|
-
import { AlertMessage, AlertType
|
|
2
|
+
import { AlertMessage, AlertType } from '@rh-support/components';
|
|
3
3
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
4
4
|
import filter from 'lodash/filter';
|
|
5
5
|
import find from 'lodash/find';
|
|
@@ -79,13 +79,12 @@ const AllProductsSelector = forwardRef((props, ref) => {
|
|
|
79
79
|
return (React.createElement(React.Fragment, null,
|
|
80
80
|
React.createElement("div", { className: "form-group product-selector-wrapper" },
|
|
81
81
|
React.createElement("div", { className: "all-product-selector-dropdown" },
|
|
82
|
-
React.createElement(ProductVersionDropdownSelector, { isLoading: allProducts.isFetching, products: props.checkEntitledProduct ? entitledProducts : allProducts.data.productsResult, onProductChange: onProductChange, onVersionChange: onVersionChange, ref: ref, isOnSummaryPage: props.isOnSummaryPage }))),
|
|
82
|
+
React.createElement(ProductVersionDropdownSelector, { isLoading: allProducts.isFetching, products: props.checkEntitledProduct ? entitledProducts : allProducts.data.productsResult, onProductChange: onProductChange, onVersionChange: onVersionChange, ref: ref, isOnSummaryPage: props.isOnSummaryPage, loadTCOnChange: props.loadTCOnChange, isFetching: topContent.isFetching }))),
|
|
83
83
|
React.createElement("div", { className: "case-details-summary" },
|
|
84
84
|
React.createElement(OpenCaseIssue, { inlineEditable: false, required: true, isOnSummaryPage: props.isOnSummaryPage })),
|
|
85
85
|
React.createElement(AlertMessage, { isInline: true, variant: AlertType.DANGER, className: "pf-v5-u-mt-lg", title: t(`${loggedInUserRights.data.isSSOUsernameSameAsLoggedInUser(contactSSOName)
|
|
86
86
|
? 'You are'
|
|
87
87
|
: 'Selected owner is'} not allowed to create case on this product.`), show: !allProducts.isFetching && props.checkEntitledProduct && !isEntitledProduct && !isEmpty(product) }),
|
|
88
|
-
React.createElement(LoadingIndicator, { show: topContent.isFetching && props.loadTCOnChange }),
|
|
89
88
|
showModalButton &&
|
|
90
89
|
!isEmpty(product) &&
|
|
91
90
|
!isEmpty(version) &&
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { RouteComponentProps } from 'react-router';
|
|
2
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
3
3
|
import { IRouteUrlParams } from '../../reducers/RouteConstNTypes';
|
|
4
4
|
interface IProps {
|
|
5
5
|
routeProps: RouteComponentProps<IRouteUrlParams>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/ProductSelector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ProductSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/ProductSelector.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMlE,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACjD,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACzE,gCAAgC,EAAE,OAAO,CAAC;IAC1C,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAChE;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,MAAM,qBAsFpD"}
|
|
@@ -9,6 +9,8 @@ interface IProps extends IDClassNameProps {
|
|
|
9
9
|
htmlForId?: string;
|
|
10
10
|
isLoading?: boolean;
|
|
11
11
|
isOnSummaryPage?: boolean;
|
|
12
|
+
loadTCOnChange?: boolean;
|
|
13
|
+
isFetching?: boolean;
|
|
12
14
|
}
|
|
13
15
|
declare const ProductVersionDropdownSelector: React.ForwardRefExoticComponent<IProps & React.RefAttributes<unknown>>;
|
|
14
16
|
export { ProductVersionDropdownSelector };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductVersionDropdownSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/ProductVersionDropdownSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductVersionDropdownSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/ProductSelector/ProductVersionDropdownSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAiC,MAAM,OAAO,CAAC;AAOtD,UAAU,MAAO,SAAQ,gBAAgB;IACrC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAChC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAOD,QAAA,MAAM,8BAA8B,wEAuClC,CAAC;AAEH,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
|