@rh-support/cases 2.0.5 → 2.0.8
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.js +1 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.js +5 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsFilter.js +1 -1
- package/lib/esm/components/case-list/case-list-filters/ProductsFilter.js +1 -1
- package/lib/esm/components/case-list/case-list-table/CaseListTable.js +1 -1
- package/lib/esm/enums/filters.d.ts +2 -2
- package/lib/esm/enums/filters.d.ts.map +1 -1
- package/lib/esm/enums/filters.js +1 -1
- package/package.json +11 -16
|
@@ -17,8 +17,8 @@ import AngleDoubleUpIcon from '@patternfly/react-icons/dist/js/icons/angle-doubl
|
|
|
17
17
|
import { ErrorBoundary, ToastNotification, useBreakpoint, useDocumentTitle, useForceUpdate, usePrevious, } from '@rh-support/components';
|
|
18
18
|
import { fetchAllStatuses, fetchCaseGroupsForSSO, fetchCaseSeverities, fetchCaseTypes, fetchProducts, GlobalMetadataDispatchContext, GlobalMetadataStateContext, setUserPreferences, updateUserPreferences, UserPreferencesKeys, } from '@rh-support/react-context';
|
|
19
19
|
import { getStringifiedParams, getUrlParsedParams, haventLoadedMetadata, haventLoadedProductsMetadata, pendoTrackEvent, solrResponseToFacetFields, solrResponseToPivotFields, } from '@rh-support/utils';
|
|
20
|
-
import { isEmpty } from 'lodash';
|
|
21
20
|
import get from 'lodash/get';
|
|
21
|
+
import isEmpty from 'lodash/isEmpty';
|
|
22
22
|
import mapValues from 'lodash/mapValues';
|
|
23
23
|
import some from 'lodash/some';
|
|
24
24
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountsBookmarkedGroupFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccountsBookmarkedGroupFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,YAAY,eAAgB,MAAM,gBAS9C,CAAC;AAEF,UAAU,MAAM;IACZ,uBAAuB,EAAE,OAAO,CAAC;IACjC,wBAAwB,EAAE,OAAO,CAAC;IAClC,yBAAyB,EAAE,OAAO,CAAC;CACtC;AAOD,eAAO,MAAM,QAAQ,cAAe,MAAM,eAAe,MAAM,WACiB,CAAC;AAEjF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,eAgJ1D"}
|
|
@@ -2,7 +2,11 @@ import { Label, Select, SelectOption, SelectVariant, Tooltip } from '@patternfly
|
|
|
2
2
|
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
3
3
|
import { GlobalMetadataStateContext } from '@rh-support/react-context';
|
|
4
4
|
import { getDropdownBtnPlaceholder } from '@rh-support/utils';
|
|
5
|
-
import
|
|
5
|
+
import groupBy from 'lodash/groupBy';
|
|
6
|
+
import isEmpty from 'lodash/isEmpty';
|
|
7
|
+
import isEqual from 'lodash/isEqual';
|
|
8
|
+
import some from 'lodash/some';
|
|
9
|
+
import sortBy from 'lodash/sortBy';
|
|
6
10
|
import React, { useContext, useMemo, useState } from 'react';
|
|
7
11
|
import { Trans, useTranslation } from 'react-i18next';
|
|
8
12
|
import { Link } from 'react-router-dom';
|
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
import { accounts } from '@cee-eng/hydrajs';
|
|
11
11
|
import { AccountSelectorInternal } from '@rh-support/react-context';
|
|
12
12
|
import { getDropdownBtnPlaceholder } from '@rh-support/utils';
|
|
13
|
-
import
|
|
13
|
+
import differenceBy from 'lodash/differenceBy';
|
|
14
14
|
import filter from 'lodash/filter';
|
|
15
15
|
import remove from 'lodash/remove';
|
|
16
16
|
import uniqBy from 'lodash/uniqBy';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Checkbox, Select, SelectOption, SelectVariant } from '@patternfly/react-core';
|
|
2
2
|
import { getDropdownBtnPlaceholder } from '@rh-support/utils';
|
|
3
|
-
import
|
|
3
|
+
import isUndefined from 'lodash/isUndefined';
|
|
4
4
|
import React, { useContext, useState } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { SolrKeys, SolrPivotKeys } from '../../../enums/filters';
|
|
@@ -98,7 +98,7 @@ export declare enum SFDCKeys {
|
|
|
98
98
|
groupNumber = "groupNumber",
|
|
99
99
|
groupName = "groupName",
|
|
100
100
|
alternateId = "alternateId",
|
|
101
|
-
caseType = "
|
|
101
|
+
caseType = "caseType",
|
|
102
102
|
caseClosedDate = "lastClosedAt"
|
|
103
103
|
}
|
|
104
104
|
export declare const sfdcFieldToSolrMap: {
|
|
@@ -121,7 +121,7 @@ export declare const sfdcFieldToSolrMap: {
|
|
|
121
121
|
groupNumber: SolrKeys;
|
|
122
122
|
groupName: SolrKeys;
|
|
123
123
|
alternateId: SolrKeys;
|
|
124
|
-
|
|
124
|
+
caseType: SolrKeys;
|
|
125
125
|
lastClosedAt: SolrKeys;
|
|
126
126
|
};
|
|
127
127
|
export declare const AdditionalFilterLabels: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/enums/filters.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;CACpB;AAED,oBAAY,QAAQ;IAChB,UAAU,g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,gBAAgB;IAC3B,SAAS,mBAAmB;IAC5B,UAAU,uBAAuB;IACjC,OAAO,YAAY;IACnB,SAAS,gBAAgB;IACzB,oBAAoB,gCAAgC;IACpD,WAAW,gBAAgB;IAC3B,UAAU,qBAAqB;IAC/B,YAAY,qBAAqB;IACjC,oBAAoB,qBAAqB;IACzC,sBAAsB,qBAAqB;IAC3C,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,cAAc,iBAAiB;CAClC;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;CAsB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
|
package/lib/esm/enums/filters.js
CHANGED
|
@@ -103,7 +103,7 @@ export var SFDCKeys;
|
|
|
103
103
|
SFDCKeys["groupNumber"] = "groupNumber";
|
|
104
104
|
SFDCKeys["groupName"] = "groupName";
|
|
105
105
|
SFDCKeys["alternateId"] = "alternateId";
|
|
106
|
-
SFDCKeys["caseType"] = "
|
|
106
|
+
SFDCKeys["caseType"] = "caseType";
|
|
107
107
|
SFDCKeys["caseClosedDate"] = "lastClosedAt";
|
|
108
108
|
})(SFDCKeys || (SFDCKeys = {}));
|
|
109
109
|
export const sfdcFieldToSolrMap = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/cases",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -26,18 +26,13 @@
|
|
|
26
26
|
"lib/**/*"
|
|
27
27
|
],
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@cee-eng/hydrajs": "4.15.
|
|
29
|
+
"@cee-eng/hydrajs": "4.15.78",
|
|
30
30
|
"@patternfly/patternfly": "4.196.7",
|
|
31
31
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
32
32
|
"@patternfly/react-core": "4.264.0",
|
|
33
33
|
"@patternfly/react-table": "4.111.33",
|
|
34
|
-
"@rh-support/components": "^0.1.3",
|
|
35
|
-
"@rh-support/react-context": "^0.1.3",
|
|
36
|
-
"@rh-support/types": "^0.1.3",
|
|
37
|
-
"@rh-support/user-permissions": "^0.1.3",
|
|
38
|
-
"@rh-support/utils": "^0.1.3",
|
|
39
34
|
"i18next": "^19.0.1",
|
|
40
|
-
"localforage": "^1.
|
|
35
|
+
"localforage": "^1.10.0",
|
|
41
36
|
"lodash": "^4.17.21",
|
|
42
37
|
"react": "17.0.2",
|
|
43
38
|
"react-dom": "17.0.2",
|
|
@@ -46,18 +41,18 @@
|
|
|
46
41
|
"solr-query-builder": "1.0.1"
|
|
47
42
|
},
|
|
48
43
|
"dependencies": {
|
|
49
|
-
"@cee-eng/hydrajs": "4.15.
|
|
44
|
+
"@cee-eng/hydrajs": "4.15.78",
|
|
50
45
|
"@patternfly/patternfly": "4.196.7",
|
|
51
46
|
"@patternfly/pfe-collapse": "1.12.3",
|
|
52
47
|
"@patternfly/react-core": "4.264.0",
|
|
53
48
|
"@patternfly/react-table": "4.111.33",
|
|
54
|
-
"@rh-support/components": "2.0.
|
|
55
|
-
"@rh-support/react-context": "2.0.
|
|
49
|
+
"@rh-support/components": "2.0.5",
|
|
50
|
+
"@rh-support/react-context": "2.0.5",
|
|
56
51
|
"@rh-support/types": "2.0.1",
|
|
57
|
-
"@rh-support/user-permissions": "2.0.
|
|
58
|
-
"@rh-support/utils": "2.0.
|
|
52
|
+
"@rh-support/user-permissions": "2.0.5",
|
|
53
|
+
"@rh-support/utils": "2.0.5",
|
|
59
54
|
"i18next": "^19.0.1",
|
|
60
|
-
"localforage": "^1.
|
|
55
|
+
"localforage": "^1.10.0",
|
|
61
56
|
"lodash": "^4.17.21",
|
|
62
57
|
"pegjs": "^0.10.0",
|
|
63
58
|
"react": "17.0.2",
|
|
@@ -87,7 +82,7 @@
|
|
|
87
82
|
"test:watch": "./../../node_modules/.bin/jest --watchAll -c ./../../configs/tests/jest.config.unit.js",
|
|
88
83
|
"test:unit": "./../../node_modules/.bin/jest -c ./../../configs/tests/jest.config.unit.js",
|
|
89
84
|
"test:snap": "./../../node_modules/.bin/jest -c ./../../configs/tests/jest.config.snapshot.js",
|
|
90
|
-
"test:coverage": "./../../node_modules/.bin/jest --passWithNoTests -c ./../../configs/tests/jest.config.coverage.js",
|
|
85
|
+
"test:coverage": "./../../node_modules/.bin/jest --passWithNoTests --all -c ./../../configs/tests/jest.config.coverage.js",
|
|
91
86
|
"test:changes": "./../../node_modules/.bin/jest --passWithNoTests -c ./../../configs/tests/jest-only-changed-from-upstream.js",
|
|
92
87
|
"test": "npm run test:changes",
|
|
93
88
|
"watch:css": "./../../node_modules/.bin/chokidar 'src/**/*.(css|scss)' -c '../../node_modules/.bin/copyfiles -V -u 1 -a {path} lib/esm'",
|
|
@@ -99,5 +94,5 @@
|
|
|
99
94
|
"not ie <= 11",
|
|
100
95
|
"not op_mini all"
|
|
101
96
|
],
|
|
102
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "f4106bdae110f32d4968b2a9544fc4bbf76ce11e"
|
|
103
98
|
}
|