@rh-support/cases 2.6.233 → 2.7.10
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/case-list/CaseList.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseList.js +1 -3
- package/lib/esm/components/case-list/case-list-table/CloseCaseBtn.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/CloseCaseBtn.js +27 -28
- package/lib/esm/components/case-list/case-list-table/TableActionsDropdown.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/TableActionsDropdown.js +2 -2
- package/lib/esm/css/caseList.css +9 -5
- package/lib/esm/hooks/useCloseCase.d.ts +1 -1
- package/lib/esm/hooks/useCloseCase.d.ts.map +1 -1
- package/lib/esm/hooks/useCloseCase.js +36 -29
- package/lib/esm/utils/constants.d.ts +0 -1
- package/lib/esm/utils/constants.d.ts.map +1 -1
- package/lib/esm/utils/constants.js +0 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaseList.d.ts","sourceRoot":"","sources":["../../../../src/components/case-list/CaseList.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"CaseList.d.ts","sourceRoot":"","sources":["../../../../src/components/case-list/CaseList.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAuClC,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAuC1C,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;CACzD;AAMD,MAAM,WAAW,gBAAgB;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,qBA6xBrC"}
|
|
@@ -14,7 +14,7 @@ import { Alert, AlertActionCloseButton, AlertVariant, Button } from '@patternfly
|
|
|
14
14
|
import OpenDrawerRightIcon from '@patternfly/react-icons/dist/js/icons/open-drawer-right-icon';
|
|
15
15
|
import { ErrorBoundary, ToastNotification, useBreakpoint, useDocumentTitle, useForceUpdate, } from '@rh-support/components';
|
|
16
16
|
import { CSSUserModal, fetchAllStatuses, fetchCaseGroupsForAccount, fetchCaseGroupsForSSO, fetchCaseSeverities, fetchCaseTypes, fetchProducts, GlobalMetadataDispatchContext, GlobalMetadataStateContext, setTraditionalSupportSessionAgreed, setUserPreferences, updateUserPreferences, useGlobalDispatchContext, UserPreferencesKeys, } from '@rh-support/react-context';
|
|
17
|
-
import { getStringifiedParams, getUrlParsedParams, haventLoadedMetadata, haventLoadedProductsMetadata,
|
|
17
|
+
import { getStringifiedParams, getUrlParsedParams, haventLoadedMetadata, haventLoadedProductsMetadata, } from '@rh-support/utils';
|
|
18
18
|
import isEmpty from 'lodash/isEmpty';
|
|
19
19
|
import isEqual from 'lodash/isEqual';
|
|
20
20
|
import some from 'lodash/some';
|
|
@@ -30,7 +30,6 @@ import { useFilterStateOnLoad } from '../../hooks/useFilterStateOnLoad';
|
|
|
30
30
|
import { getDefaultGroupFilterSelection, shouldApplyDefaultGroupFilter } from '../../utils/caseGroupDefaultFilterUtils';
|
|
31
31
|
import { clearPageCursors, getCaseListFromGraphQL, loadMoreCases, } from '../../utils/caseListGraphQLUtils';
|
|
32
32
|
import { createFilterStateFromUrlQuery, createURLQueryFromFilterState, FILTER_URL_CURRENT_PAGE_SEARCH_PARAM, FILTER_URL_PAGE_SIZE_SEARCH_PARAM, FILTER_URL_QUERY_SEARCH_PARAM, FILTER_URL_QUERY_TYPE, } from '../../utils/caseSearchUtils';
|
|
33
|
-
import { UpdatedCaseDataEvent } from '../../utils/constants';
|
|
34
33
|
import { NewCaseButton } from '../case/NewCaseButton';
|
|
35
34
|
import { CaseListFilterChips } from './case-list-filters/CaseListFilterChips';
|
|
36
35
|
import { CaseListFilters } from './case-list-filters/CaseListFilters';
|
|
@@ -307,7 +306,6 @@ export function CaseList(props) {
|
|
|
307
306
|
}
|
|
308
307
|
if (changed && location.pathname === '/case/list') {
|
|
309
308
|
setCaseList(CaseListDispatch, caseListResponse.response);
|
|
310
|
-
pendoTrackEvent(UpdatedCaseDataEvent);
|
|
311
309
|
ToastNotification.addSuccessMessage(t('Case data has been updated'));
|
|
312
310
|
}
|
|
313
311
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloseCaseBtn.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/CloseCaseBtn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,UAAU,MAAM;IACZ,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAUD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CloseCaseBtn.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/CloseCaseBtn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,UAAU,MAAM;IACZ,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAUD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,MAAM,qBAoF5F"}
|
|
@@ -26,7 +26,7 @@ export default function CloseCaseBtn({ selectedCases, caseList, onCasesCloseSucc
|
|
|
26
26
|
const isBtnDisabled = (selectedCases || []).length < 1 || caseList.length < 1 || maxCasesSelected || closedCaseSelected || isFetching;
|
|
27
27
|
const [isModalOpen, setIsModalOpen] = useState(false);
|
|
28
28
|
const canCreateCase = useCanCreateCase();
|
|
29
|
-
const { request: postCommentRequest
|
|
29
|
+
const { request: postCommentRequest } = useFetch(publicApi.kase.postComment, {
|
|
30
30
|
propgateErrors: true,
|
|
31
31
|
});
|
|
32
32
|
// To handle button click
|
|
@@ -40,35 +40,34 @@ export default function CloseCaseBtn({ selectedCases, caseList, onCasesCloseSucc
|
|
|
40
40
|
};
|
|
41
41
|
const onConfirm = (commentBody) => __awaiter(this, void 0, void 0, function* () {
|
|
42
42
|
const promiseArr = [];
|
|
43
|
-
setIsModalOpen(false);
|
|
44
43
|
const toastId = ToastNotification.addSuccessMessage(t(`Closing selected cases`));
|
|
45
|
-
selectedCases.forEach((caseNumber
|
|
46
|
-
const p =
|
|
44
|
+
selectedCases.forEach((caseNumber) => {
|
|
45
|
+
const p = (() => __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
try {
|
|
47
|
+
yield postCommentRequest({
|
|
48
|
+
caseNumber,
|
|
49
|
+
commentBody,
|
|
50
|
+
contentType: `markdown`,
|
|
51
|
+
doNotChangeStatus: true,
|
|
52
|
+
});
|
|
53
|
+
yield request(caseNumber, { status: 'Closed' });
|
|
54
|
+
ToastNotification.clearToast(toastId);
|
|
55
|
+
ToastNotification.addSuccessMessage(t('Case {{caseNumber}} successfully closed', { caseNumber }));
|
|
56
|
+
}
|
|
57
|
+
catch (err) {
|
|
58
|
+
ToastNotification.clearToast(toastId);
|
|
59
|
+
ToastNotification.addDangerMessage(t('Could not close case {{caseNumber}}', { caseNumber }));
|
|
60
|
+
throw err;
|
|
61
|
+
}
|
|
62
|
+
}))();
|
|
47
63
|
promiseArr.push(p);
|
|
48
|
-
p.then((res) => __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
yield postCommentRequest({
|
|
50
|
-
caseNumber,
|
|
51
|
-
commentBody,
|
|
52
|
-
contentType: `markdown`,
|
|
53
|
-
doNotChangeStatus: true,
|
|
54
|
-
});
|
|
55
|
-
ToastNotification.clearToast(toastId);
|
|
56
|
-
ToastNotification.addSuccessMessage(t('Case {{caseNumber}} successfully closed', { caseNumber }));
|
|
57
|
-
// We have decided to not call this event here for now. This could be added back.
|
|
58
|
-
// Only call dtm track event only when the case has been closed successfully.
|
|
59
|
-
// dtmTrackEventCaseStepEncountered(
|
|
60
|
-
// 'close',
|
|
61
|
-
// caseNumber,
|
|
62
|
-
// caseList[i].case_product[0],
|
|
63
|
-
// caseList[i].case_version
|
|
64
|
-
// );
|
|
65
|
-
}), (err) => {
|
|
66
|
-
ToastNotification.clearToast(toastId);
|
|
67
|
-
ToastNotification.addDangerMessage(t('Could not close case {{caseNumber}}', { caseNumber }));
|
|
68
|
-
});
|
|
69
64
|
});
|
|
70
|
-
yield Promise.all(promiseArr.map(reflect));
|
|
71
|
-
|
|
65
|
+
const results = yield Promise.all(promiseArr.map(reflect));
|
|
66
|
+
const allSucceeded = results.every((result) => result.status === 'fulfilled');
|
|
67
|
+
if (allSucceeded) {
|
|
68
|
+
onCasesCloseSuccess === null || onCasesCloseSuccess === void 0 ? void 0 : onCasesCloseSuccess();
|
|
69
|
+
}
|
|
70
|
+
return allSucceeded;
|
|
72
71
|
});
|
|
73
72
|
const onCancel = () => {
|
|
74
73
|
setIsModalOpen(false);
|
|
@@ -84,7 +83,7 @@ export default function CloseCaseBtn({ selectedCases, caseList, onCasesCloseSucc
|
|
|
84
83
|
return tooltipText;
|
|
85
84
|
};
|
|
86
85
|
return (React.createElement(React.Fragment, null,
|
|
87
|
-
isModalOpen && React.createElement(CloseCaseModal, { onClose: onCancel, onConfirm: onConfirm
|
|
86
|
+
isModalOpen && React.createElement(CloseCaseModal, { onClose: onCancel, onConfirm: onConfirm }),
|
|
88
87
|
React.createElement("span", { title: getTooltipContent() },
|
|
89
88
|
React.createElement(Button, { variant: "tertiary", isDisabled: isBtnDisabled, onClick: onBtnClick, "data-tracking-id": "case-list-toolbar-close-cases-trigger" },
|
|
90
89
|
React.createElement(Trans, null, "Close case(s)")))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableActionsDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/TableActionsDropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,kBAAkB,EAAgB,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAwB,MAAM,qCAAqC,CAAC;AASlG,UAAU,MAAO,SAAQ,kBAAkB,EAAE,qBAAqB;CAAG;AAErE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TableActionsDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/TableActionsDropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,kBAAkB,EAAgB,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAwB,MAAM,qCAAqC,CAAC;AASlG,UAAU,MAAO,SAAQ,kBAAkB,EAAE,qBAAqB;CAAG;AAErE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,qBA4GjD"}
|
|
@@ -22,7 +22,7 @@ export function TableActionsDropdown(props) {
|
|
|
22
22
|
const currentFilteredCaseCount = (_a = currentFilteredCaseList === null || currentFilteredCaseList === void 0 ? void 0 : currentFilteredCaseList.numFound) !== null && _a !== void 0 ? _a : 0;
|
|
23
23
|
const filterState = useContext(CaseListFilterStateContext);
|
|
24
24
|
const { isExportButtonDisabled, openUpdateSeverityModal, showError: showExportCSVError, getTooltipContent: getExportCSVTooltipContent, toggleDownloadCSVModal, } = useExportCaseListCSV(props);
|
|
25
|
-
const { isModalOpen,
|
|
25
|
+
const { isModalOpen, showError, showWarning, getTooltipContent, onCancel, onConfirm, onBtnClick } = useCloseCase(props);
|
|
26
26
|
let closeCaseIconStatus = 'danger';
|
|
27
27
|
if (showWarning) {
|
|
28
28
|
closeCaseIconStatus = 'warning';
|
|
@@ -68,7 +68,7 @@ export function TableActionsDropdown(props) {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
return (React.createElement(React.Fragment, null,
|
|
71
|
-
isModalOpen && React.createElement(CloseCaseModal, { onClose: onCancel, onConfirm: onConfirm
|
|
71
|
+
isModalOpen && React.createElement(CloseCaseModal, { onClose: onCancel, onConfirm: onConfirm }),
|
|
72
72
|
React.createElement(DownloadCSVFileModal, { filterState: filterState, isDisabled: isExportButtonDisabled, onModalshow: openUpdateSeverityModal, onClose: toggleDownloadCSVModal, selectedCases: selectedCases, filteredCaseCount: currentFilteredCaseCount }),
|
|
73
73
|
React.createElement(SingleSelectDropdown, { hideToggleIcons: true, selected: { value: null, label: '' }, onSelect: onSelect, options: toolbarDropdownItems, id: "table-actions-dropdown", placeholder: t('Actions'), badge: React.createElement(Badge, null, selectedCases.length) })));
|
|
74
74
|
}
|
package/lib/esm/css/caseList.css
CHANGED
|
@@ -353,6 +353,11 @@
|
|
|
353
353
|
background-color: white;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
.case-search-bottom .case-list-table th#product.pf-v6-c-table__th {
|
|
357
|
+
white-space: nowrap;
|
|
358
|
+
min-width: 12.5rem;
|
|
359
|
+
}
|
|
360
|
+
|
|
356
361
|
.case-search-bottom .case-list-table .case-number,
|
|
357
362
|
.case-search-bottom .case-list-table .modified-name,
|
|
358
363
|
.case-search-bottom .case-list-table .created-name {
|
|
@@ -686,11 +691,14 @@
|
|
|
686
691
|
min-width: 180px !important;
|
|
687
692
|
}
|
|
688
693
|
|
|
689
|
-
th#product.pf-v6-c-table__th,
|
|
690
694
|
th#type.pf-v6-c-table__th {
|
|
691
695
|
min-width: 190px !important;
|
|
692
696
|
}
|
|
693
697
|
|
|
698
|
+
th#product.pf-v6-c-table__th {
|
|
699
|
+
min-width: 210px !important;
|
|
700
|
+
}
|
|
701
|
+
|
|
694
702
|
th#accountNumber.pf-v6-c-table__th {
|
|
695
703
|
min-width: 205px;
|
|
696
704
|
}
|
|
@@ -720,10 +728,6 @@
|
|
|
720
728
|
}
|
|
721
729
|
}
|
|
722
730
|
|
|
723
|
-
th#product.pf-v6-c-table__th {
|
|
724
|
-
padding-top: 20px !important;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
731
|
.case-list-table .pf-v6-c-table__button {
|
|
728
732
|
margin-bottom: 0px !important;
|
|
729
733
|
}
|
|
@@ -16,7 +16,7 @@ export declare function useCloseCase(props: IUseCloseCaseProps): {
|
|
|
16
16
|
showError: boolean;
|
|
17
17
|
getTooltipContent: () => any;
|
|
18
18
|
onCancel: () => void;
|
|
19
|
-
onConfirm: (commentBody: any) => Promise<
|
|
19
|
+
onConfirm: (commentBody: any) => Promise<boolean>;
|
|
20
20
|
onBtnClick: () => void;
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=useCloseCase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCloseCase.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCloseCase.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAQD,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"useCloseCase.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCloseCase.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAQD,wBAAgB,YAAY,CAAC,KAAK,EAAE,kBAAkB;;;;;;;;;;;qCAoCX,OAAO,CAAC,OAAO,CAAC;;EAuF1D"}
|
|
@@ -50,7 +50,6 @@ export function useCloseCase(props) {
|
|
|
50
50
|
};
|
|
51
51
|
const onConfirm = (commentBody) => __awaiter(this, void 0, void 0, function* () {
|
|
52
52
|
const promiseArr = [];
|
|
53
|
-
setIsModalOpen(false);
|
|
54
53
|
setIsFetching(true);
|
|
55
54
|
const toastId = ToastNotification.addSuccessMessage(t(`Closing selected cases`));
|
|
56
55
|
const casesToClose = filter(selectedCases, (selected) => !includes(closedCaseIds, selected));
|
|
@@ -61,39 +60,47 @@ export function useCloseCase(props) {
|
|
|
61
60
|
const salesforceCaseId = caseDetails.id;
|
|
62
61
|
const product = caseDetails.case_product[0];
|
|
63
62
|
const version = caseDetails.case_version;
|
|
64
|
-
const p =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
63
|
+
const p = (() => __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
try {
|
|
65
|
+
if (commentBody) {
|
|
66
|
+
setIsPostingComment(true);
|
|
67
|
+
try {
|
|
68
|
+
yield apolloClient.mutate({
|
|
69
|
+
mutation: CREATE_CASE_COMMENT,
|
|
70
|
+
variables: {
|
|
71
|
+
commentInput: {
|
|
72
|
+
Case__c: salesforceCaseId,
|
|
73
|
+
Body__c: sanitizeForSalesforce(commentBody),
|
|
74
|
+
Visibility__c: 'Public',
|
|
75
|
+
IsAssociate__c: false,
|
|
76
|
+
},
|
|
78
77
|
},
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
finally {
|
|
81
|
+
setIsPostingComment(false);
|
|
82
|
+
}
|
|
84
83
|
}
|
|
84
|
+
yield updateCaseDetailsByGraphQL(apolloClient, salesforceCaseId, { Status: 'Closed' });
|
|
85
|
+
ToastNotification.clearToast(toastId);
|
|
86
|
+
ToastNotification.addSuccessMessage(t('Case {{caseNumber}} successfully closed', { caseNumber }));
|
|
87
|
+
dtmTrackEventCaseStepEncountered('close', caseNumber, product, version);
|
|
85
88
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
catch (_a) {
|
|
90
|
+
ToastNotification.clearToast(toastId);
|
|
91
|
+
ToastNotification.addDangerMessage(t('Could not close case {{caseNumber}}', { caseNumber }));
|
|
92
|
+
throw new Error(`Could not close case ${caseNumber}`);
|
|
93
|
+
}
|
|
94
|
+
}))();
|
|
95
|
+
promiseArr.push(p);
|
|
93
96
|
});
|
|
94
|
-
yield Promise.all(promiseArr.map(reflect));
|
|
97
|
+
const results = yield Promise.all(promiseArr.map(reflect));
|
|
95
98
|
setIsFetching(false);
|
|
96
|
-
|
|
99
|
+
const allSucceeded = results.every((result) => result.status === 'fulfilled');
|
|
100
|
+
if (allSucceeded) {
|
|
101
|
+
onCasesCloseSuccess === null || onCasesCloseSuccess === void 0 ? void 0 : onCasesCloseSuccess();
|
|
102
|
+
}
|
|
103
|
+
return allSucceeded;
|
|
97
104
|
});
|
|
98
105
|
const onCancel = () => {
|
|
99
106
|
setIsModalOpen(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,4BAA4B,GAC/B,MAAM,mBAAmB,CAAC;AAI3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAgE1B,CAAC
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAC/B,4BAA4B,GAC/B,MAAM,mBAAmB,CAAC;AAI3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAgE1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@patternfly/patternfly": "6.2.1",
|
|
39
39
|
"@patternfly/react-core": "6.2.1",
|
|
40
40
|
"@patternfly/react-table": "6.2.1",
|
|
41
|
-
"@rh-support/components": "2.
|
|
42
|
-
"@rh-support/react-context": "2.
|
|
41
|
+
"@rh-support/components": "2.6.10",
|
|
42
|
+
"@rh-support/react-context": "2.6.10",
|
|
43
43
|
"@rh-support/types": "2.0.26",
|
|
44
|
-
"@rh-support/user-permissions": "2.5.
|
|
45
|
-
"@rh-support/utils": "2.5.
|
|
44
|
+
"@rh-support/user-permissions": "2.5.170",
|
|
45
|
+
"@rh-support/utils": "2.5.149",
|
|
46
46
|
"localforage": "^1.10.0",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
48
|
"pegjs": "^0.10.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"defaults and supports es6-module",
|
|
95
95
|
"maintained node versions"
|
|
96
96
|
],
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "3f16770cee04217483b234f6d8dceaced57a0695"
|
|
98
98
|
}
|