@rh-support/cases 0.2.19-alpha.3 → 0.2.22

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":"CaseListTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/CaseListTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AA6B3E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAWxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAEH,eAAe,EACf,SAAS,EAIZ,MAAM,0BAA0B,CAAC;AA2BlC,UAAU,MAAM;IACZ,QAAQ,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC3C,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,kBAAkB,EAAE,QAAQ,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,eA8V1C"}
1
+ {"version":3,"file":"CaseListTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-table/CaseListTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AA6B3E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAWxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAEH,eAAe,EACf,SAAS,EAIZ,MAAM,0BAA0B,CAAC;AA2BlC,UAAU,MAAM;IACZ,QAAQ,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAC3C,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,kBAAkB,EAAE,QAAQ,CAAC;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,eAuW1C"}
@@ -152,6 +152,14 @@ export function CaseListTable(props) {
152
152
  accessor: (data) => data.case_alternate_id,
153
153
  show: isColumnVisible(CaseListColumnIds.alternateCaseId),
154
154
  },
155
+ {
156
+ id: CaseListColumnIds.type,
157
+ cellWidth: 10,
158
+ title: t('Type'),
159
+ sortable: true,
160
+ accessor: (data) => data.case_type,
161
+ show: isColumnVisible(CaseListColumnIds.type),
162
+ },
155
163
  ...(props.loggedInUserRights && props.loggedInUserRights.isOrgAdmin()
156
164
  ? [
157
165
  {
@@ -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;AA4C7D,UAAU,MAAM;IACZ,uBAAuB,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;CAC7D;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,eAyE9C"}
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;AA8C7D,UAAU,MAAM;IACZ,uBAAuB,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;CAC7D;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,eAyE9C"}
@@ -34,6 +34,7 @@ const csvHeadersSolr = [
34
34
  { label: 'Modified date', key: SolrKeys.modifiedDate, transform: formatDateTime },
35
35
  { label: 'Uri', key: SolrKeys.uri },
36
36
  { label: 'Alternate case ID', key: SolrKeys.alternateId },
37
+ { label: 'Type', key: SolrKeys.type },
37
38
  ];
38
39
  const csvHeadersSFDC = [
39
40
  { label: 'Account number', key: SFDCKeys.accountNumber },
@@ -51,6 +52,7 @@ const csvHeadersSFDC = [
51
52
  { label: 'Modified date', key: SFDCKeys.lastPublicUpdateDate, transform: formatDateTime },
52
53
  { label: 'Uri', key: SFDCKeys.uri },
53
54
  { label: 'Alternate case ID', key: SFDCKeys.alternateId },
55
+ { label: 'Type', key: SFDCKeys.caseType },
54
56
  ];
55
57
  const groupHeaderSOLR = { label: 'Group', key: SolrKeys.groupName };
56
58
  const groupHeaderSFDC = { label: 'Group', key: SFDCKeys.groupName };
@@ -1 +1 @@
1
- {"version":3,"file":"CaseSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/CaseSearch.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,gBAkIzB"}
1
+ {"version":3,"file":"CaseSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/CaseSearch.tsx"],"names":[],"mappings":"AAeA,wBAAgB,UAAU,gBA8IzB"}
@@ -34,11 +34,11 @@ export function CaseSearch() {
34
34
  // eslint-disable-next-line react-hooks/exhaustive-deps
35
35
  }, [filterQueryInfo.type]);
36
36
  const onSearchValChange = (value) => {
37
- if (isEmpty(value)) {
37
+ if (isEmpty(value.trim())) {
38
38
  clearSearchVal();
39
39
  }
40
40
  else {
41
- setSearchVal(value);
41
+ setSearchVal(value.trim());
42
42
  }
43
43
  };
44
44
  const clearSearchVal = () => {
@@ -64,6 +64,16 @@ export function CaseSearch() {
64
64
  }
65
65
  setSearchType(newType);
66
66
  };
67
+ // To check is Search Button is disabled or not
68
+ const isSearchButtonDisabled = isEmpty(filterQueryInfo.queryString) && isEmpty(searchVal.trim());
69
+ // To handle return or enter keydown event when search button is disabled
70
+ const handleSearchInputKeyDown = (e) => {
71
+ const key = e.which;
72
+ if (key === 13 && isSearchButtonDisabled) {
73
+ e.preventDefault();
74
+ return;
75
+ }
76
+ };
67
77
  const handleSubmit = (ev) => {
68
78
  ev.preventDefault();
69
79
  // for advance search submit should only happen on btn click or ctrl+enter which will be handled manually
@@ -73,7 +83,7 @@ export function CaseSearch() {
73
83
  return (React.createElement(React.Fragment, null,
74
84
  React.createElement("div", { className: "case-search-input-container" },
75
85
  React.createElement(SearchInput, { className: "pf-u-w-100", placeholder: t('Search by keyword or case ID'), value: searchVal.trim(), "data-tracking-id": "search-cases-text-input", id: "case-search-basic", "aria-label": t('Search by keyword or case ID'), onChange: onSearchValChange, onClear: clearSearchVal }),
76
- React.createElement(Button, { variant: "primary", type: "submit", className: "search-btn", "data-tracking-id": "case-list-search-button", isDisabled: isEmpty(filterQueryInfo.queryString) && isEmpty(searchVal.trim()) },
86
+ React.createElement(Button, { variant: "primary", type: "submit", className: "search-btn", "data-tracking-id": "case-list-search-button", isDisabled: isSearchButtonDisabled },
77
87
  React.createElement(Trans, null, "Search")),
78
88
  canUseAdvancedSearch && (React.createElement(Button, { variant: "link", onClick: () => onSearchTypeChange(CaseSearchQueryType.ADVANCED), isDisabled: isFetching, "data-tracking-id": "case-list-adv-toggle-button" },
79
89
  React.createElement(Trans, null, "Advanced"))))));
@@ -83,7 +93,7 @@ export function CaseSearch() {
83
93
  React.createElement(AdvanceSearch, { onSearchValChange: onSearchValChange, onSearchClear: clearSearchVal, onSearchSubmit: onCaseSearch, onSearchTypeChange: onSearchTypeChange }))) : (React.createElement(React.Fragment, null));
84
94
  };
85
95
  return (React.createElement(React.Fragment, null,
86
- React.createElement("form", { onSubmit: handleSubmit },
96
+ React.createElement("form", { onSubmit: handleSubmit, onKeyDown: handleSearchInputKeyDown },
87
97
  React.createElement("div", { className: "form-group case-search-form-group" }, CaseSearchQueryType.BASIC === searchType ? renderBasicSearch() : renderAdvanceSearch())),
88
98
  React.createElement(BookmarkedSearchesSelector, { currentCaseSearchString: searchVal, currentSearchType: searchType })));
89
99
  }
@@ -183,6 +183,8 @@
183
183
  .cases-main .case-search-table {
184
184
  -ms-flex: 1;
185
185
  flex-grow: 1;
186
+ display: block;
187
+ overflow-x: auto;
186
188
  }
187
189
 
188
190
  .case-search-bottom .case-list-table-toolbar {
@@ -23,6 +23,7 @@ export declare enum CaseListColumnIds {
23
23
  productAndVersion = "product",
24
24
  accountNumber = "accountNumber",
25
25
  group = "folderName",
26
- alternateCaseId = "alternateCaseId"
26
+ alternateCaseId = "alternateCaseId",
27
+ type = "type"
27
28
  }
28
29
  //# sourceMappingURL=case.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"case.d.ts","sourceRoot":"","sources":["../../../src/enums/case.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,iBAAiB,wBAAwB;IACzC,eAAe,uBAAuB;IACtC,IAAI,mBAAmB;IACvB,MAAM,WAAW;IACjB,GAAG,cAAc;CACpB;AAED,oBAAY,YAAY;IACpB,MAAM,eAAe;IACrB,SAAS,kBAAkB;IAC3B,MAAM,eAAe;IACrB,GAAG,YAAY;CAClB;AAED,eAAO,MAAM,cAAc,0TACgS,CAAC;AAE5T,oBAAY,iBAAiB;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,gBAAgB;IACrB,OAAO,gBAAgB;IACvB,MAAM,WAAW;IACjB,QAAQ,qBAAqB;IAC7B,iBAAiB,YAAY;IAC7B,aAAa,kBAAkB;IAC/B,KAAK,eAAe;IACpB,eAAe,oBAAoB;CACtC"}
1
+ {"version":3,"file":"case.d.ts","sourceRoot":"","sources":["../../../src/enums/case.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,iBAAiB,wBAAwB;IACzC,eAAe,uBAAuB;IACtC,IAAI,mBAAmB;IACvB,MAAM,WAAW;IACjB,GAAG,cAAc;CACpB;AAED,oBAAY,YAAY;IACpB,MAAM,eAAe;IACrB,SAAS,kBAAkB;IAC3B,MAAM,eAAe;IACrB,GAAG,YAAY;CAClB;AAED,eAAO,MAAM,cAAc,0TACgS,CAAC;AAE5T,oBAAY,iBAAiB;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,gBAAgB;IACrB,OAAO,gBAAgB;IACvB,MAAM,WAAW;IACjB,QAAQ,qBAAqB;IAC7B,iBAAiB,YAAY;IAC7B,aAAa,kBAAkB;IAC/B,KAAK,eAAe;IACpB,eAAe,oBAAoB;IACnC,IAAI,SAAS;CAChB"}
@@ -27,4 +27,5 @@ export var CaseListColumnIds;
27
27
  CaseListColumnIds["accountNumber"] = "accountNumber";
28
28
  CaseListColumnIds["group"] = "folderName";
29
29
  CaseListColumnIds["alternateCaseId"] = "alternateCaseId";
30
+ CaseListColumnIds["type"] = "type";
30
31
  })(CaseListColumnIds || (CaseListColumnIds = {}));
@@ -17,4 +17,4 @@ export const fieldNameToSolrFieldMapping = {
17
17
  [SolrKeys.caseContactSSO]: 'ownedByMe',
18
18
  [SolrKeys.createdBySsoUsername]: 'createdBySsoUsername',
19
19
  };
20
- export const advanceSearchFieldNameToSolrFieldMapping = Object.assign(Object.assign({}, fieldNameToSolrFieldMapping), { [SolrKeys.fts]: 'FTS', [SolrKeys.cep]: 'CEP', [SolrKeys.accountNumber]: 'accountNumber', [SolrKeys.caseType]: 'caseType', [SolrKeys.caseNumber]: 'caseNumber', [SolrKeys.caseOwner]: 'ownerSSO', [SolrKeys.modifiedBy]: 'lastModifiedByName', [SolrKeys.createdBySsoUsername]: 'createdBySSO', [SolrKeys.createdBy]: 'createdByName', [SolrKeys.contactName]: 'contactName', [SolrKeys.caseContactSSO]: 'contactSSO', [SolrKeys.modifiedDate]: 'lastModifiedDate', [SolrKeys.createdDate]: 'createdDate', [SolrKeys.description]: 'description', [SolrKeys.caseSummary]: 'summary' });
20
+ export const advanceSearchFieldNameToSolrFieldMapping = Object.assign(Object.assign({}, fieldNameToSolrFieldMapping), { [SolrKeys.fts]: 'FTS', [SolrKeys.cep]: 'CEP', [SolrKeys.accountNumber]: 'accountNumber', [SolrKeys.type]: 'caseType', [SolrKeys.caseNumber]: 'caseNumber', [SolrKeys.caseOwner]: 'ownerSSO', [SolrKeys.modifiedBy]: 'lastModifiedByName', [SolrKeys.createdBySsoUsername]: 'createdBySSO', [SolrKeys.createdBy]: 'createdByName', [SolrKeys.contactName]: 'contactName', [SolrKeys.caseContactSSO]: 'contactSSO', [SolrKeys.modifiedDate]: 'lastModifiedDate', [SolrKeys.createdDate]: 'createdDate', [SolrKeys.description]: 'description', [SolrKeys.caseSummary]: 'summary' });
@@ -30,7 +30,7 @@ export declare enum SolrKeys {
30
30
  description = "case_description",
31
31
  uri = "uri",
32
32
  fts = "case_24_7",
33
- caseType = "case_type",
33
+ type = "case_type",
34
34
  cep = "case_is_cep",
35
35
  accountName = "case_accountName",
36
36
  alternateId = "case_alternate_id"
@@ -62,7 +62,8 @@ export declare enum SFDCKeys {
62
62
  uri = "uri",
63
63
  groupNumber = "groupNumber",
64
64
  groupName = "groupName",
65
- alternateId = "alternateId"
65
+ alternateId = "alternateId",
66
+ caseType = "caseType"
66
67
  }
67
68
  export declare const sfdcFieldToSolrMap: {
68
69
  caseNumber: SolrKeys;
@@ -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;CAC5B;AAED,oBAAY,QAAQ;IAChB,UAAU,gBAAgB;IAC1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;IACjC,oBAAoB,qBAAqB;IACzC,sBAAsB,qBAAqB;IAC3C,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
@@ -32,7 +32,7 @@ export var SolrKeys;
32
32
  SolrKeys["description"] = "case_description";
33
33
  SolrKeys["uri"] = "uri";
34
34
  SolrKeys["fts"] = "case_24_7";
35
- SolrKeys["caseType"] = "case_type";
35
+ SolrKeys["type"] = "case_type";
36
36
  SolrKeys["cep"] = "case_is_cep";
37
37
  SolrKeys["accountName"] = "case_accountName";
38
38
  SolrKeys["alternateId"] = "case_alternate_id";
@@ -68,6 +68,7 @@ export var SFDCKeys;
68
68
  SFDCKeys["groupNumber"] = "groupNumber";
69
69
  SFDCKeys["groupName"] = "groupName";
70
70
  SFDCKeys["alternateId"] = "alternateId";
71
+ SFDCKeys["caseType"] = "caseType";
71
72
  })(SFDCKeys || (SFDCKeys = {}));
72
73
  export const sfdcFieldToSolrMap = {
73
74
  [SFDCKeys.caseNumber]: SolrKeys.caseNumber,
@@ -1 +1 @@
1
- {"version":3,"file":"caseSearchUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseSearchUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAWxD,OAAO,EACH,oBAAoB,EACpB,WAAW,EAId,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAEH,mBAAmB,EAEtB,MAAM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kBAAkB,EAAE,QAAQ,EAC5B,oBAAoB,KAAA,EACpB,UAAU,SAAI,EACd,UAAU,SAAO,OAmBpB;AAkBD,iBAAS,8BAA8B,CACnC,WAAW,EAAE,oBAAoB,EACjC,YAAY,EAAE,QAAQ,EACtB,mBAAmB,EAAE,OAAO,CAAC,QAAQ,CAAC,EACtC,kBAAkB,EAAE,OAAO,GAC5B,OAAO,CAAC,eAAe,CAAC,CAgE1B;AAED,iBAAS,6BAA6B,CAAC,QAAQ,GAAE,qBAAqB,EAAO,GAAG,qBAAqB,EAAE,CAEtG;AAcD,iBAAS,6BAA6B,CAAC,WAAW,EAAE,oBAAoB,UAUvE;AAED,iBAAS,6BAA6B,CAClC,QAAQ,EAAE,MAAM,EAChB,mBAAmB,EAAE,oBAAoB,EACzC,QAAQ,CAAC,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,GAAE,mBAA+C,wBA4C9D;AAED,iBAAS,kCAAkC,CACvC,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE,oBAAoB,EACzC,kBAAkB,EAAE,oBAAoB,wBAmC3C;AAgGD,OAAO,EACH,8BAA8B,EAC9B,sCAAsC,EACtC,yBAAyB,EACzB,8BAA8B,EAC9B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,wCAAwC,EACxC,kCAAkC,GACrC,CAAC"}
@@ -61,7 +61,7 @@ function createSolrQueryFromFilterState(filterState, loggedInUser) {
61
61
  'f.case_product.facet.limit': -1,
62
62
  'f.case_version.facet.pivot.limit': -1,
63
63
  'f.case_version.facet.pivot.mincount': 1,
64
- fl: 'case_createdByName,case_createdDate,case_lastModifiedDate,case_lastModifiedByName,id,uri,case_summary,case_status,case_product,case_version,case_accountNumber,case_number,case_contactName,case_owner,case_severity,case_last_public_update_date,case_last_public_update_by,case_customer_escalation,case_folderName,case_alternate_id',
64
+ fl: 'case_createdByName,case_createdDate,case_lastModifiedDate,case_lastModifiedByName,id,uri,case_summary,case_status,case_product,case_version,case_accountNumber,case_number,case_contactName,case_owner,case_severity,case_last_public_update_date,case_last_public_update_by,case_customer_escalation,case_folderName,case_alternate_id,case_type',
65
65
  })
66
66
  .facetField(SolrKeys.product, [SolrTags.c_product])
67
67
  .facetField(SolrKeys.severity, [SolrTags.c_severity])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/cases",
3
- "version": "0.2.19-alpha.3",
3
+ "version": "0.2.22",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -26,12 +26,12 @@
26
26
  "lib/**/*"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@cee-eng/hydrajs": "4.6.0",
29
+ "@cee-eng/hydrajs": "4.7.3",
30
30
  "@patternfly/patternfly": "4.102.2",
31
31
  "@patternfly/pfe-collapse": "1.1.0",
32
32
  "@patternfly/react-core": "4.128.2",
33
33
  "@patternfly/react-table": "4.26.7",
34
- "@rh-support/api": "^0.1.3",
34
+ "@rh-support/api": "0.3.9",
35
35
  "@rh-support/components": "^0.1.3",
36
36
  "@rh-support/react-context": "^0.1.3",
37
37
  "@rh-support/types": "^0.1.3",
@@ -47,17 +47,17 @@
47
47
  "solr-query-builder": "1.0.1"
48
48
  },
49
49
  "dependencies": {
50
- "@cee-eng/hydrajs": "4.6.0",
50
+ "@cee-eng/hydrajs": "4.7.3",
51
51
  "@patternfly/patternfly": "4.102.2",
52
52
  "@patternfly/pfe-collapse": "1.1.0",
53
53
  "@patternfly/react-core": "4.128.2",
54
54
  "@patternfly/react-table": "4.26.7",
55
- "@rh-support/api": "0.3.7",
56
- "@rh-support/components": "1.1.13",
57
- "@rh-support/react-context": "0.2.15",
55
+ "@rh-support/api": "0.3.9",
56
+ "@rh-support/components": "1.1.17",
57
+ "@rh-support/react-context": "0.2.19",
58
58
  "@rh-support/types": "0.2.0",
59
- "@rh-support/user-permissions": "0.2.9",
60
- "@rh-support/utils": "0.2.9",
59
+ "@rh-support/user-permissions": "0.2.13",
60
+ "@rh-support/utils": "0.2.13",
61
61
  "i18next": "^19.0.1",
62
62
  "localforage": "^1.7.3",
63
63
  "lodash": "^4.17.15",
@@ -101,5 +101,5 @@
101
101
  "not ie <= 11",
102
102
  "not op_mini all"
103
103
  ],
104
- "gitHead": "683f533578a8b7dce296d89858d7e159ce2dce13"
104
+ "gitHead": "76d987895943b6cb401d9dae98424e50cdedb38f"
105
105
  }