@rh-support/cases 1.0.41-beta.49 → 1.0.41-beta.52
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportCaseListCSV.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/ExportCaseListCSV.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAgD7D,UAAU,MAAM;IACZ,uBAAuB,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC1D,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ExportCaseListCSV.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/ExportCaseListCSV.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAMzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAgD7D,UAAU,MAAM;IACZ,uBAAuB,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC1D,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,eAoG9C"}
|
|
@@ -73,6 +73,7 @@ export function ExportCaseListCSV(props) {
|
|
|
73
73
|
const filterState = useContext(CaseListFilterStateContext);
|
|
74
74
|
const { globalMetadataState: { loggedInUserRights, loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
|
|
75
75
|
const isOrgAdmin = loggedInUserRights.data.isOrgAdmin();
|
|
76
|
+
// CSV For Secure Support Users
|
|
76
77
|
const onExportCSVClickSecureSupport = () => __awaiter(this, void 0, void 0, function* () {
|
|
77
78
|
try {
|
|
78
79
|
const sfdcFilter = createQueryForCSVDownload(filterState, loggedInUserRights.data, loggedInUsersAccount.data);
|
|
@@ -90,6 +91,7 @@ export function ExportCaseListCSV(props) {
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
const partnerSearch = loggedInUserRights.data.hasManagedAccounts();
|
|
94
|
+
// CSV For Normal Users
|
|
93
95
|
const onExportCSVClick = () => __awaiter(this, void 0, void 0, function* () {
|
|
94
96
|
try {
|
|
95
97
|
const res = yield request(createQueryForCSVDownload(filterState, loggedInUserRights.data, loggedInUsersAccount.data), partnerSearch, null, loggedInUsersAccount.data.secureSupport);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "1.0.41-beta.
|
|
3
|
+
"version": "1.0.41-beta.52",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
52
52
|
"@patternfly/react-core": "4.264.0",
|
|
53
53
|
"@patternfly/react-table": "4.111.33",
|
|
54
|
-
"@rh-support/components": "1.2.22-beta.
|
|
55
|
-
"@rh-support/react-context": "1.0.30-beta.
|
|
54
|
+
"@rh-support/components": "1.2.22-beta.52",
|
|
55
|
+
"@rh-support/react-context": "1.0.30-beta.52",
|
|
56
56
|
"@rh-support/types": "0.2.1-beta.33",
|
|
57
|
-
"@rh-support/user-permissions": "1.0.12-beta.
|
|
58
|
-
"@rh-support/utils": "1.0.10-beta.
|
|
57
|
+
"@rh-support/user-permissions": "1.0.12-beta.52",
|
|
58
|
+
"@rh-support/utils": "1.0.10-beta.52",
|
|
59
59
|
"i18next": "^19.0.1",
|
|
60
60
|
"localforage": "^1.7.3",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"not ie <= 11",
|
|
100
100
|
"not op_mini all"
|
|
101
101
|
],
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "4e640a09555885046a05d3f5a552d0bf90f46d9c"
|
|
103
103
|
}
|