@rh-support/cases 2.0.7 → 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/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';
|
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
|
}
|