@rh-support/troubleshoot 2.6.314 → 2.6.315

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":"SupportLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/SupportLevel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAI5D,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAO5C,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBAqHlC;kBArHQ,YAAY;;;AAuHrB,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"SupportLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/CaseInformation/SupportLevel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAI5D,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,MAAO,SAAQ,gBAAgB;CAAG;AAO5C,iBAAS,YAAY,CAAC,KAAK,EAAE,MAAM,qBA4HlC;kBA5HQ,YAAY;;;AA8HrB,eAAe,YAAY,CAAC"}
@@ -47,14 +47,18 @@ function SupportLevel(props) {
47
47
  const selectedSla = entitlementSla || (productServiceLevel === null || productServiceLevel === void 0 ? void 0 : productServiceLevel.serviceLevelLabel) || '';
48
48
  const currentEntitlementId = selectedEntitlementId || (productServiceLevel === null || productServiceLevel === void 0 ? void 0 : productServiceLevel.entitlementId) || '';
49
49
  useEffect(() => {
50
- if (!productServiceLevel || entitlementSla)
50
+ if (!productServiceLevel)
51
51
  return;
52
- if (entitlementSla !== productServiceLevel.serviceLevelLabel) {
52
+ const validEntitlementIds = new Set([productServiceLevel, ...(otherServiceLevels !== null && otherServiceLevels !== void 0 ? otherServiceLevels : [])]
53
+ .map((sla) => sla.entitlementId)
54
+ .filter((id) => !!id));
55
+ const hasValidSelection = !!selectedEntitlementId && validEntitlementIds.has(selectedEntitlementId);
56
+ if (!hasValidSelection) {
53
57
  onCaseDetailsChange({ entitlementSla: productServiceLevel.serviceLevelLabel });
54
58
  setCaseState(caseDispatch, { selectedEntitlementId: productServiceLevel.entitlementId });
55
59
  }
56
60
  // eslint-disable-next-line react-hooks/exhaustive-deps
57
- }, [productServiceLevel, entitlementSla]);
61
+ }, [productServiceLevel, otherServiceLevels, selectedEntitlementId]);
58
62
  const getSelectedOption = () => ({
59
63
  label: selectedSla,
60
64
  value: currentEntitlementId,
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  de: string;
12
12
  es: string;
13
13
  pt: string;
14
+ pt_BR: string;
14
15
  fr: string;
15
16
  ko: string;
16
17
  it: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Constants.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1B,wBA+BE;AAEF;;GAEG;AACH,oBAAY,iBAAiB;IACzB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,iBAAiB;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,8BAA8B;IACnC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,kBAAkB,yBAAyB;CAC9C;AAED,eAAO,MAAM,8BAA8B,oDAAoD,CAAC;AAEhG,eAAO,MAAM,oCAAoC,wDAAwD,CAAC;AAC1G,eAAO,MAAM,6BAA6B,4CAA4C,CAAC;AACvF,eAAO,MAAM,sBAAsB,2CAA2C,CAAC;AAE/E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC"}
1
+ {"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Constants.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1B,wBAgCE;AAEF;;GAEG;AACH,oBAAY,iBAAiB;IACzB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,iBAAiB;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,8BAA8B;IACnC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,kBAAkB,yBAAyB;CAC9C;AAED,eAAO,MAAM,8BAA8B,oDAAoD,CAAC;AAEhG,eAAO,MAAM,oCAAoC,wDAAwD,CAAC;AAC1G,eAAO,MAAM,6BAA6B,4CAA4C,CAAC;AACvF,eAAO,MAAM,sBAAsB,2CAA2C,CAAC;AAE/E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC"}
@@ -15,6 +15,7 @@ export default {
15
15
  de: 'Deutsch',
16
16
  es: 'Español',
17
17
  pt: 'Português',
18
+ pt_BR: 'Português',
18
19
  fr: 'Français',
19
20
  ko: '한국어',
20
21
  it: 'Italiano',
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalTroubleshootEffects.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/GlobalTroubleshootEffects.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAgBvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAYvG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,qBA2dtD"}
1
+ {"version":3,"file":"GlobalTroubleshootEffects.d.ts","sourceRoot":"","sources":["../../../../src/components/wizardLayout/GlobalTroubleshootEffects.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAgBvD,OAAO,EAAuC,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAYvG,UAAU,MAAM;IACZ,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAAC,CAAC;CACpD;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,qBA0dtD"}
@@ -280,6 +280,7 @@ export function GlobalTroubleshootEffects(props) {
280
280
  otherServiceLevels: [],
281
281
  selectedEntitlementId: undefined,
282
282
  });
283
+ setCaseDetails(caseDispatch, { entitlementSla: undefined });
283
284
  return;
284
285
  }
285
286
  if (selectedAccountDetails.isFetching || isEmpty(selectedAccountDetails.data))
@@ -292,6 +293,7 @@ export function GlobalTroubleshootEffects(props) {
292
293
  otherServiceLevels: [],
293
294
  selectedEntitlementId: undefined,
294
295
  });
296
+ setCaseDetails(caseDispatch, { entitlementSla: undefined });
295
297
  return;
296
298
  }
297
299
  setCaseState(caseDispatch, {
@@ -300,9 +302,7 @@ export function GlobalTroubleshootEffects(props) {
300
302
  otherServiceLevels: serviceLevels.otherServiceLevels,
301
303
  selectedEntitlementId: serviceLevels.defaultEntitlementId,
302
304
  });
303
- if (serviceLevels.entitlementSla) {
304
- setCaseDetails(caseDispatch, { entitlementSla: serviceLevels.entitlementSla });
305
- }
305
+ setCaseDetails(caseDispatch, { entitlementSla: serviceLevels.entitlementSla });
306
306
  // eslint-disable-next-line react-hooks/exhaustive-deps
307
307
  }, [product, selectedAccountDetails.data, allProducts.data.productsResult]);
308
308
  // set case language to preferred language
@@ -1 +1 @@
1
- {"version":3,"file":"caseCommentsQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/caseCommentsQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAEhF,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,6BAA6B,EAAE,sBAAsB,CAqDtG,CAAC"}
1
+ {"version":3,"file":"caseCommentsQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/caseCommentsQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAEhF,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,6BAA6B,EAAE,sBAAsB,CAkDtG,CAAC"}
@@ -21,9 +21,6 @@ export const GET_CASE_COMMENTS = gql `
21
21
  Name {
22
22
  value
23
23
  }
24
- IsPartner {
25
- value
26
- }
27
24
  }
28
25
  IsCustomer__c {
29
26
  value
@@ -10,10 +10,10 @@ import { ICaseCommentNode, IGetCaseCommentsQueryResponse } from './types';
10
10
  */
11
11
  export declare function decodeHtmlEntities(text: string): string;
12
12
  /**
13
- * Derives the comment author type with priority: Associate > Customer > Partner.
13
+ * Derives the comment author type with priority: Associate > Customer.
14
14
  * Falls back to 'Customer' when no flags match.
15
15
  */
16
- export declare function deriveCreatedByType(isAssociate: boolean, isCustomer: boolean, isPartner: boolean): string;
16
+ export declare function deriveCreatedByType(isAssociate: boolean, isCustomer: boolean): string;
17
17
  export declare function deriveIsPublic(visibility: string | null | undefined): boolean;
18
18
  export declare function mapVisibility(isPublic: boolean): string;
19
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"mapCaseComment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/mapCaseComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAGvE,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAY1E;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM,CAKzG;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAG7E;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAEvD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,YAAY,CAuBvE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,6BAA6B,GAAG,SAAS,GAAG,YAAY,EAAE,CAOvG"}
1
+ {"version":3,"file":"mapCaseComment.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/mapCaseComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAGvE,OAAO,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAY1E;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,MAAM,CAIrF;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAG7E;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,CAEvD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,GAAG,YAAY,CAmBvE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,6BAA6B,GAAG,SAAS,GAAG,YAAY,EAAE,CAOvG"}
@@ -22,16 +22,14 @@ export function decodeHtmlEntities(text) {
22
22
  return decoded;
23
23
  }
24
24
  /**
25
- * Derives the comment author type with priority: Associate > Customer > Partner.
25
+ * Derives the comment author type with priority: Associate > Customer.
26
26
  * Falls back to 'Customer' when no flags match.
27
27
  */
28
- export function deriveCreatedByType(isAssociate, isCustomer, isPartner) {
28
+ export function deriveCreatedByType(isAssociate, isCustomer) {
29
29
  if (isAssociate)
30
30
  return 'Associate';
31
31
  if (isCustomer)
32
32
  return 'Customer';
33
- if (isPartner)
34
- return 'Partner';
35
33
  return 'Customer';
36
34
  }
37
35
  export function deriveIsPublic(visibility) {
@@ -47,7 +45,7 @@ export function mapVisibility(isPublic) {
47
45
  * into the flat ICaseComment interface expected by the discussion UI layer.
48
46
  */
49
47
  export function mapCaseCommentNode(node) {
50
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
48
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
51
49
  const rawBody = (_b = (_a = node.Body__c) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : '';
52
50
  const body = decodeHtmlEntities(rawBody);
53
51
  const visibility = (_d = (_c = node.Visibility__c) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : null;
@@ -55,10 +53,10 @@ export function mapCaseCommentNode(node) {
55
53
  id: node.Id,
56
54
  commentBody: body,
57
55
  createdBy: (_g = (_f = (_e = node.CreatedBy) === null || _e === void 0 ? void 0 : _e.Name) === null || _f === void 0 ? void 0 : _f.value) !== null && _g !== void 0 ? _g : '',
58
- createdByType: deriveCreatedByType(!!((_h = node.IsAssociate__c) === null || _h === void 0 ? void 0 : _h.value), !!((_j = node.IsCustomer__c) === null || _j === void 0 ? void 0 : _j.value), !!((_l = (_k = node.CreatedBy) === null || _k === void 0 ? void 0 : _k.IsPartner) === null || _l === void 0 ? void 0 : _l.value)),
59
- lastModifiedById: (_p = (_o = (_m = node.LastModifiedBy) === null || _m === void 0 ? void 0 : _m.Name) === null || _o === void 0 ? void 0 : _o.value) !== null && _p !== void 0 ? _p : '',
60
- lastModifiedDate: (_r = (_q = node.LastModifiedDate) === null || _q === void 0 ? void 0 : _q.value) !== null && _r !== void 0 ? _r : '',
61
- createdDate: (_t = (_s = node.CreatedDate) === null || _s === void 0 ? void 0 : _s.value) !== null && _t !== void 0 ? _t : '',
56
+ createdByType: deriveCreatedByType(!!((_h = node.IsAssociate__c) === null || _h === void 0 ? void 0 : _h.value), !!((_j = node.IsCustomer__c) === null || _j === void 0 ? void 0 : _j.value)),
57
+ lastModifiedById: (_m = (_l = (_k = node.LastModifiedBy) === null || _k === void 0 ? void 0 : _k.Name) === null || _l === void 0 ? void 0 : _l.value) !== null && _m !== void 0 ? _m : '',
58
+ lastModifiedDate: (_p = (_o = node.LastModifiedDate) === null || _o === void 0 ? void 0 : _o.value) !== null && _p !== void 0 ? _p : '',
59
+ createdDate: (_r = (_q = node.CreatedDate) === null || _q === void 0 ? void 0 : _q.value) !== null && _r !== void 0 ? _r : '',
62
60
  visibility: visibility !== null && visibility !== void 0 ? visibility : undefined,
63
61
  isPublic: deriveIsPublic(visibility),
64
62
  contentType: 'markdown',
@@ -10,7 +10,6 @@ export interface ISalesforcePicklistField {
10
10
  }
11
11
  export interface ICaseCommentCreatedBy {
12
12
  Name: ISalesforceStringField;
13
- IsPartner: ISalesforceBooleanField;
14
13
  }
15
14
  export interface ICaseCommentLastModifiedBy {
16
15
  Name: ISalesforceStringField;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;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E,CAAC,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B;IACxC,YAAY,EAAE,uBAAuB,CAAC;CACzC;AAED,MAAM,WAAW,0BAA0B;IACvC,oBAAoB,EAAE;QAClB,oBAAoB,EAAE;YAClB,mBAAmB,EAAE;gBACjB,EAAE,EAAE,MAAM,CAAC;aACd,CAAC;SACL,CAAC;KACL,CAAC;CACL"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useCaseComments/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACnC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,sBAAsB,CAAC;CAChC;AAED,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,sBAAsB,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,sBAAsB,CAAC;IAC7B,OAAO,EAAE,sBAAsB,CAAC;IAChC,SAAS,EAAE,qBAAqB,CAAC;IACjC,aAAa,EAAE,uBAAuB,CAAC;IACvC,cAAc,EAAE,uBAAuB,CAAC;IACxC,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,aAAa,EAAE,wBAAwB,CAAC;IACxC,cAAc,EAAE,0BAA0B,CAAC;IA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action.payload.caseDetails.entitlementSla = undefined;
50
50
  resetEntitlementId = true;
51
51
  }
52
- if (((_f = (_e = action.payload) === null || _e === void 0 ? void 0 : _e.caseDetails) === null || _f === void 0 ? void 0 : _f.product) &&
52
+ if (Object.prototype.hasOwnProperty.call((_f = (_e = action.payload) === null || _e === void 0 ? void 0 : _e.caseDetails) !== null && _f !== void 0 ? _f : {}, 'product') &&
53
53
  pState.caseDetails.product !== ((_h = (_g = action.payload) === null || _g === void 0 ? void 0 : _g.caseDetails) === null || _h === void 0 ? void 0 : _h.product)) {
54
54
  // Reset SLA on product change unless the caller already provided the new entitlement SLA
55
55
  if (!Object.prototype.hasOwnProperty.call(action.payload.caseDetails, 'entitlementSla')) {
@@ -1 +1 @@
1
- {"version":3,"file":"TimelineUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/TimelineUtils.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAMD,eAAO,MAAM,mBAAmB,UAAmB,CAAC;AAEpD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAcxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAY1C,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,WAAW,MAAM,EAAE,UAAU,MAAM,EAAE,UAAU,MAAM,KAAG,MAgB/F,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAC5B,MAAM,kBAAkB,EACxB,WAAW,MAAM,EACjB,UAAU,MAAM,EAChB,UAAU,MAAM,KACjB,MAiBF,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AAM,kBAAkB,KAAG,MAM5E,CAAC"}
@@ -11,6 +11,7 @@ export const LANGUAGE_CODE_MAPPING = {
11
11
  fr: 'French',
12
12
  it: 'Italian',
13
13
  pt: 'Portuguese',
14
+ pt_BR: 'Portuguese',
14
15
  ko: 'Korean',
15
16
  ja: 'Japanese',
16
17
  zh: 'Chinese',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/troubleshoot",
3
- "version": "2.6.314",
3
+ "version": "2.6.315",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -52,11 +52,11 @@
52
52
  "@progress/kendo-licensing": "1.3.5",
53
53
  "@progress/kendo-react-pdf": "^5.16.0",
54
54
  "@redux-devtools/extension": "^3.3.0",
55
- "@rh-support/components": "2.5.195",
56
- "@rh-support/react-context": "2.5.289",
55
+ "@rh-support/components": "2.5.196",
56
+ "@rh-support/react-context": "2.5.290",
57
57
  "@rh-support/types": "2.0.26",
58
- "@rh-support/user-permissions": "2.5.141",
59
- "@rh-support/utils": "2.5.123",
58
+ "@rh-support/user-permissions": "2.5.142",
59
+ "@rh-support/utils": "2.5.124",
60
60
  "@types/react-redux": "^7.1.33",
61
61
  "@types/redux": "^3.6.0",
62
62
  "date-fns": "3.6.0",
@@ -84,6 +84,8 @@
84
84
  "timers": "^0.1.1"
85
85
  },
86
86
  "devDependencies": {
87
+ "@patternfly/react-styles": "^6.2.1",
88
+ "@patternfly/react-tokens": "^6.2.1",
87
89
  "@testing-library/dom": "^10.4.0",
88
90
  "@testing-library/jest-dom": "^6.2.0",
89
91
  "@testing-library/react": "^14.1.2",
@@ -126,5 +128,5 @@
126
128
  "defaults and supports es6-module",
127
129
  "maintained node versions"
128
130
  ],
129
- "gitHead": "f5994856f35873c8555a84006c0d278fbc98b067"
131
+ "gitHead": "907d40a56d025100127fb157061424ff1c934e2d"
130
132
  }