@rh-support/react-context 2.4.10-beta.6 → 2.5.1

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.
Files changed (63) hide show
  1. package/README.md +0 -2
  2. package/lib/esm/GlobalContextWrapper.d.ts +2 -3
  3. package/lib/esm/GlobalContextWrapper.d.ts.map +1 -1
  4. package/lib/esm/GlobalContextWrapper.js +4 -1
  5. package/lib/esm/components/AccountSelector/AccountSelectorInternal.d.ts +2 -1
  6. package/lib/esm/components/AccountSelector/AccountSelectorInternal.d.ts.map +1 -1
  7. package/lib/esm/components/AccountSelector/AccountSelectorInternal.js +180 -95
  8. package/lib/esm/components/EmbeddedServiceChat/ChatSVGIcon.d.ts +2 -1
  9. package/lib/esm/components/EmbeddedServiceChat/ChatSVGIcon.d.ts.map +1 -1
  10. package/lib/esm/components/EmbeddedServiceChat/EmbeddedServiceChat.js +4 -4
  11. package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.d.ts +2 -1
  12. package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.d.ts.map +1 -1
  13. package/lib/esm/components/HostnameAwarenessModal/HostnameAwarenessModal.js +43 -48
  14. package/lib/esm/components/HostnameAwarenessModal/hostnameAwarenessModal.css +1 -1
  15. package/lib/esm/components/NewFeatureAnnouncement/NewFeatureLabel.d.ts +2 -1
  16. package/lib/esm/components/NewFeatureAnnouncement/NewFeatureLabel.d.ts.map +1 -1
  17. package/lib/esm/components/NewFeatureAnnouncement/NewFeatureLabel.js +1 -1
  18. package/lib/esm/components/NewFeatureAnnouncement/NewFeaturePopoverAnnouncement.d.ts +1 -1
  19. package/lib/esm/components/NewFeatureAnnouncement/NewFeaturePopoverAnnouncement.d.ts.map +1 -1
  20. package/lib/esm/components/SharedModals/CSSUserModal.d.ts +8 -0
  21. package/lib/esm/components/SharedModals/CSSUserModal.d.ts.map +1 -0
  22. package/lib/esm/components/SharedModals/CSSUserModal.js +34 -0
  23. package/lib/esm/components/SharedModals/CloseCaseModal.d.ts +2 -1
  24. package/lib/esm/components/SharedModals/CloseCaseModal.d.ts.map +1 -1
  25. package/lib/esm/components/SharedModals/CloseCaseModal.js +12 -6
  26. package/lib/esm/components/SharedModals/CloseCaseModal.scss +6 -6
  27. package/lib/esm/components/SharedModals/index.d.ts +1 -0
  28. package/lib/esm/components/SharedModals/index.d.ts.map +1 -1
  29. package/lib/esm/components/SharedModals/index.js +1 -0
  30. package/lib/esm/components/index.d.ts +0 -1
  31. package/lib/esm/components/index.d.ts.map +1 -1
  32. package/lib/esm/components/index.js +0 -1
  33. package/lib/esm/context/GlobalAlertMessageContext.d.ts +1 -1
  34. package/lib/esm/context/GlobalAlertMessageContext.d.ts.map +1 -1
  35. package/lib/esm/context/GlobalMetadataContext.d.ts +1 -1
  36. package/lib/esm/context/GlobalMetadataContext.d.ts.map +1 -1
  37. package/lib/esm/context/GlobalTranslationProvider.d.ts +1 -1
  38. package/lib/esm/context/GlobalTranslationProvider.d.ts.map +1 -1
  39. package/lib/esm/context/GlobalTranslationProvider.js +0 -1
  40. package/lib/esm/hooks/useChatConfig.js +9 -9
  41. package/lib/esm/hooks/useFeatureAnnouncement.d.ts.map +1 -1
  42. package/lib/esm/hooks/useFeatureAnnouncement.js +2 -2
  43. package/lib/esm/hooks/useUserPreferences.d.ts +19 -18
  44. package/lib/esm/hooks/useUserPreferences.d.ts.map +1 -1
  45. package/lib/esm/hooks/useUserPreferences.js +0 -1
  46. package/lib/esm/index.d.ts +1 -0
  47. package/lib/esm/index.d.ts.map +1 -1
  48. package/lib/esm/index.js +1 -0
  49. package/lib/esm/reducers/GlobalAlertMessageReducer.d.ts +2 -2
  50. package/lib/esm/reducers/GlobalAlertMessageReducer.d.ts.map +1 -1
  51. package/lib/esm/reducers/GlobalMetadataReducer.d.ts +15 -9
  52. package/lib/esm/reducers/GlobalMetadataReducer.d.ts.map +1 -1
  53. package/lib/esm/reducers/GlobalMetadataReducer.js +34 -12
  54. package/lib/esm/utils/index.d.ts +5 -0
  55. package/lib/esm/utils/index.d.ts.map +1 -0
  56. package/lib/esm/utils/index.js +21 -0
  57. package/package.json +36 -28
  58. package/lib/esm/components/bookmarks/BookmarkedAccountsDropdown.d.ts +0 -15
  59. package/lib/esm/components/bookmarks/BookmarkedAccountsDropdown.d.ts.map +0 -1
  60. package/lib/esm/components/bookmarks/BookmarkedAccountsDropdown.js +0 -35
  61. package/lib/esm/components/bookmarks/index.d.ts +0 -2
  62. package/lib/esm/components/bookmarks/index.d.ts.map +0 -1
  63. package/lib/esm/components/bookmarks/index.js +0 -1
@@ -1,4 +1,4 @@
1
- div.dontAskCheckbox div.pf-c-check label.pf-c-check__label {
1
+ div.dontAskCheckbox div.pf-v5-c-check label.pf-v5-c-check__label {
2
2
  line-height: 1;
3
3
  }
4
4
 
@@ -1,8 +1,9 @@
1
1
  import { PopoverProps } from '@patternfly/react-core';
2
+ import React from 'react';
2
3
  import { FeatureAnnouncementKeys } from '../../hooks/useFeatureAnnouncement';
3
4
  interface IProps extends PopoverProps {
4
5
  featureName: FeatureAnnouncementKeys;
5
6
  }
6
- export declare function NewFeatureLabel(props: IProps): JSX.Element;
7
+ export declare function NewFeatureLabel(props: IProps): React.JSX.Element;
7
8
  export {};
8
9
  //# sourceMappingURL=NewFeatureLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewFeatureLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/NewFeatureAnnouncement/NewFeatureLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAKtE,OAAO,EAAE,uBAAuB,EAA0B,MAAM,oCAAoC,CAAC;AAErG,UAAU,MAAO,SAAQ,YAAY;IACjC,WAAW,EAAE,uBAAuB,CAAC;CACxC;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,eAyB5C"}
1
+ {"version":3,"file":"NewFeatureLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/NewFeatureAnnouncement/NewFeatureLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,uBAAuB,EAA0B,MAAM,oCAAoC,CAAC;AAErG,UAAU,MAAO,SAAQ,YAAY;IACjC,WAAW,EAAE,uBAAuB,CAAC;CACxC;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,qBAyB5C"}
@@ -28,6 +28,6 @@ export function NewFeatureLabel(props) {
28
28
  onFeatureDismiss();
29
29
  };
30
30
  return (React.createElement(Popover, Object.assign({}, popoverProps, conditionalProps, { hasAutoWidth: true, onHidden: onHidden }),
31
- React.createElement(Label, { color: "green", className: "pf-u-ml-sm", icon: React.createElement(InfoCircleIcon, null) },
31
+ React.createElement(Label, { color: "green", className: "pf-v5-u-ml-sm", icon: React.createElement(InfoCircleIcon, null) },
32
32
  React.createElement(Trans, null, "New"))));
33
33
  }
@@ -6,6 +6,6 @@ interface IProps extends PopoverProps {
6
6
  sectionRef: React.MutableRefObject<any>;
7
7
  popoverVisbilityDelay?: number;
8
8
  }
9
- export declare function NewFeaturePopoverAnnouncement(props: IProps): JSX.Element;
9
+ export declare function NewFeaturePopoverAnnouncement(props: IProps): React.JSX.Element;
10
10
  export {};
11
11
  //# sourceMappingURL=NewFeaturePopoverAnnouncement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewFeaturePopoverAnnouncement.d.ts","sourceRoot":"","sources":["../../../../src/components/NewFeatureAnnouncement/NewFeaturePopoverAnnouncement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,uBAAuB,EAA0B,MAAM,oCAAoC,CAAC;AAErG,UAAU,MAAO,SAAQ,YAAY;IACjC,WAAW,EAAE,uBAAuB,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACxC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AACD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,eAiD1D"}
1
+ {"version":3,"file":"NewFeaturePopoverAnnouncement.d.ts","sourceRoot":"","sources":["../../../../src/components/NewFeatureAnnouncement/NewFeaturePopoverAnnouncement.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,uBAAuB,EAA0B,MAAM,oCAAoC,CAAC;AAErG,UAAU,MAAO,SAAQ,YAAY;IACjC,WAAW,EAAE,uBAAuB,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACxC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AACD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,qBAiD1D"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ onConfirmTraditionalSupportAgreement: () => void;
4
+ display: boolean;
5
+ }
6
+ export declare function CSSUserModal({ onConfirmTraditionalSupportAgreement, display }: IProps): React.JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=CSSUserModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CSSUserModal.d.ts","sourceRoot":"","sources":["../../../../src/components/SharedModals/CSSUserModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAIpD,UAAU,MAAM;IACZ,oCAAoC,EAAE,MAAM,IAAI,CAAC;IACjD,OAAO,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAAE,oCAAoC,EAAE,OAAO,EAAE,EAAE,MAAM,qBA2FrF"}
@@ -0,0 +1,34 @@
1
+ import { Button, Modal, ModalVariant } from '@patternfly/react-core';
2
+ import React, { useContext, useState } from 'react';
3
+ import { GlobalMetadataStateContext } from '../../context/GlobalMetadataContext';
4
+ export function CSSUserModal({ onConfirmTraditionalSupportAgreement, display }) {
5
+ var _a;
6
+ const [showSupportTypeModal, setShowSupportTypeModal] = useState(true);
7
+ const [showTraditionalSupportAgreement, setShowTraditionalSupportAgreement] = useState(false);
8
+ const { globalMetadataState: { loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
9
+ const isConfirmedStateSideSupport = (_a = loggedInUsersAccount === null || loggedInUsersAccount === void 0 ? void 0 : loggedInUsersAccount.data) === null || _a === void 0 ? void 0 : _a.hasConfirmedStatesideSupport;
10
+ const handleCSSclick = () => {
11
+ window.open('https://css-redhat.zendesk.com', '_self');
12
+ };
13
+ const handleTraditionalSupportClick = () => {
14
+ setShowTraditionalSupportAgreement(true);
15
+ };
16
+ const handleTraditionalSupportAgreement = () => {
17
+ setShowTraditionalSupportAgreement(false);
18
+ setShowSupportTypeModal(false);
19
+ onConfirmTraditionalSupportAgreement && onConfirmTraditionalSupportAgreement();
20
+ };
21
+ if (!display || !isConfirmedStateSideSupport)
22
+ return null;
23
+ return (React.createElement(React.Fragment, null,
24
+ React.createElement(Modal, { variant: ModalVariant.medium, title: 'Choose the type of support you want', isOpen: isConfirmedStateSideSupport && showSupportTypeModal, onClose: () => setShowSupportTypeModal(false), actions: [
25
+ React.createElement(Button, { key: "confirmed-stateside-support-btn", "data-tracking-id": "confirmed-stateside-support-btn", "aria-label": "Confirmed stateside support", onClick: handleCSSclick }, "Confirmed Stateside Support"),
26
+ React.createElement(Button, { variant: "secondary", key: "traditional-support-btn", "data-tracking-id": "traditional-support-btn", "aria-label": "Traditional support", onClick: handleTraditionalSupportClick }, "Traditional Support"),
27
+ ] }, "You have a Confirmed Stateside Support account"),
28
+ React.createElement(Modal, { variant: ModalVariant.medium, title: 'Traditional Support', isOpen: isConfirmedStateSideSupport && showTraditionalSupportAgreement, onClose: () => setShowTraditionalSupportAgreement(false), actions: [
29
+ React.createElement(Button, { variant: "secondary", key: "traditional-support-back-button", "data-tracking-id": "traditional-support-back-button", "aria-label": "Traditional support back button", onClick: () => setShowTraditionalSupportAgreement(false) }, "Back"),
30
+ React.createElement(Button, { key: "agree-traditional-support-button", "data-tracking-id": "agree-traditional-support-button", "aria-label": "Agree traditional support button", onClick: handleTraditionalSupportAgreement }, "I agree"),
31
+ ] },
32
+ React.createElement("p", null, "By continuing you agree not to transmit Controlled Unclassified Information(CUI) or export-controlled information to the Red Hat Customer Portal."),
33
+ React.createElement("p", { className: "pf-v5-u-pt-md" }, "The Customer Portal is not certified to store data regulated by the US government, including data covered by ITAR or EAR (Export Administration Regulations)."))));
34
+ }
@@ -1,10 +1,11 @@
1
1
  import './CloseCaseModal.scss';
2
+ import React from 'react';
2
3
  interface IProps {
3
4
  onConfirm: (commentBody: string) => void;
4
5
  onClose: () => void;
5
6
  caseNumber?: string;
6
7
  isUpdating: boolean;
7
8
  }
8
- export declare function CloseCaseModal(props: IProps): JSX.Element;
9
+ export declare function CloseCaseModal(props: IProps): React.JSX.Element;
9
10
  export {};
10
11
  //# sourceMappingURL=CloseCaseModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CloseCaseModal.d.ts","sourceRoot":"","sources":["../../../../src/components/SharedModals/CloseCaseModal.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAkB/B,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAUD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,eA6J3C"}
1
+ {"version":3,"file":"CloseCaseModal.d.ts","sourceRoot":"","sources":["../../../../src/components/SharedModals/CloseCaseModal.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAgB/B,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,UAAU,MAAM;IACZ,SAAS,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACvB;AAUD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,qBAmK3C"}
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  });
9
9
  };
10
10
  import './CloseCaseModal.scss';
11
- import { Button, ButtonVariant, Form, FormGroup, Modal, ModalVariant, Select, SelectOption, TextArea, } from '@patternfly/react-core';
12
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
11
+ import { Button, ButtonVariant, Form, FormGroup, FormHelperText, HelperText, HelperTextItem, Modal, ModalVariant, TextArea, } from '@patternfly/react-core';
12
+ import { Select, SelectOption } from '@patternfly/react-core/deprecated';
13
13
  import isEmpty from 'lodash/isEmpty';
14
14
  import React, { useState } from 'react';
15
15
  import { Trans, useTranslation } from 'react-i18next';
@@ -67,7 +67,7 @@ export function CloseCaseModal(props) {
67
67
  React.createElement(Button, { key: "close-modal", variant: ButtonVariant.secondary, onClick: props.onClose, isDisabled: props.isUpdating, "data-tracking-id": "close-case-description-modal-cancel" },
68
68
  React.createElement(Trans, null, "Cancel")),
69
69
  ], variant: ModalVariant.medium },
70
- React.createElement("div", { className: "pf-u-mb-md" }, !isCaseListPage ? (React.createElement("p", null,
70
+ React.createElement("div", { className: "pf-v5-u-mb-md" }, !isCaseListPage ? (React.createElement("p", null,
71
71
  React.createElement(Trans, null,
72
72
  "Confirming will set the status of this case ",
73
73
  React.createElement("strong", null, "closed"),
@@ -80,9 +80,15 @@ export function CloseCaseModal(props) {
80
80
  React.createElement("p", null,
81
81
  React.createElement(Trans, null, "This action will also reset the currently selected filters to default state."))))),
82
82
  React.createElement(Form, { className: "close-case-modal-form" },
83
- React.createElement(FormGroup, { label: t('Resolution'), isRequired: true, fieldId: "case-resolution", helperText: isCaseListPage ? t('All of the selected cases will have the same resolution in bulk edit.') : '', helperTextInvalid: "Required field", validated: showValidationError && !selectedResolution ? 'error' : 'default', helperTextInvalidIcon: React.createElement(ExclamationCircleIcon, null) },
84
- React.createElement(Select, { "aria-label": t('Select an option that best fits'), id: "case-resolution", selections: selectedResolution, onSelect: onResolutionChange, isOpen: showDropdown, isDisabled: props.isUpdating, menuAppendTo: document.body, validated: showValidationError && !selectedResolution ? 'error' : 'default', placeholderText: t('Select an option that best fits'), onToggle: onDropdownToggle }, resolutionOptions.map((option, index) => (React.createElement(SelectOption, { key: index, value: option },
83
+ React.createElement(FormGroup, { label: t('Resolution'), isRequired: true, fieldId: "case-resolution" },
84
+ React.createElement(FormHelperText, null,
85
+ React.createElement(HelperText, null,
86
+ isCaseListPage && !(showValidationError && !selectedResolution) && (React.createElement(HelperTextItem, null,
87
+ React.createElement(Trans, null, "All of the selected cases will have the same resolution in bulk edit."))),
88
+ showValidationError && !selectedResolution && (React.createElement(HelperTextItem, { variant: "error", hasIcon: true },
89
+ React.createElement(Trans, null, "Required field"))))),
90
+ React.createElement(Select, { "aria-label": t('Select an option that best fits'), id: "case-resolution", selections: selectedResolution, onSelect: onResolutionChange, isOpen: showDropdown, isDisabled: props.isUpdating, menuAppendTo: document.body, validated: showValidationError && !selectedResolution ? 'error' : 'default', placeholderText: t('Select an option that best fits'), onToggle: (_event, toggle) => onDropdownToggle(toggle) }, resolutionOptions.map((option, index) => (React.createElement(SelectOption, { key: index, value: option },
85
91
  React.createElement(Trans, null, option)))))),
86
92
  showTextArea && (React.createElement(FormGroup, { label: t('Please describe your resolution'), type: "text", isRequired: true, fieldId: "close-case-description" },
87
- React.createElement(TextArea, { validated: showValidationError && !resolutionDescription ? 'error' : 'default', isRequired: true, id: "close-case-description", name: "close-case-description", "aria-describedby": "close-case-description", value: resolutionDescription, placeholder: t('Please describe your resolution to help us better understand.'), onChange: onDescriptionChange, isDisabled: props.isUpdating }))))));
93
+ React.createElement(TextArea, { validated: showValidationError && !resolutionDescription ? 'error' : 'default', isRequired: true, id: "close-case-description", name: "close-case-description", "aria-describedby": "close-case-description", value: resolutionDescription, placeholder: t('Please describe your resolution to help us better understand.'), onChange: (_event, description) => onDescriptionChange(description), isDisabled: props.isUpdating, resizeOrientation: "vertical" }))))));
88
94
  }
@@ -1,10 +1,10 @@
1
1
  // To override close case modal font weight - PCM-11644
2
- div#case-close-modal.pf-c-modal-box__body {
3
- form.pf-c-form.close-case-modal-form {
4
- div.pf-c-form__group {
5
- div.pf-c-form__group-label {
6
- label.pf-c-form__label {
7
- span.pf-c-form__label-text {
2
+ div#case-close-modal.pf-v5-c-modal-box__body {
3
+ form.pf-v5-c-form.close-case-modal-form {
4
+ div.pf-v5-c-form__group {
5
+ div.pf-v5-c-form__group-label {
6
+ label.pf-v5-c-form__label {
7
+ span.pf-v5-c-form__label-text {
8
8
  font-weight: 600 !important;
9
9
  }
10
10
  }
@@ -1,2 +1,3 @@
1
1
  export * from './CloseCaseModal';
2
+ export * from './CSSUserModal';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SharedModals/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SharedModals/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './CloseCaseModal';
2
+ export * from './CSSUserModal';
@@ -1,4 +1,3 @@
1
- export * from './bookmarks';
2
1
  export * from './AccountSelector';
3
2
  export * from './NewFeatureAnnouncement';
4
3
  export * from './SharedModals';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './bookmarks';
2
1
  export * from './AccountSelector';
3
2
  export * from './NewFeatureAnnouncement';
4
3
  export * from './SharedModals';
@@ -9,5 +9,5 @@ export declare const useGlobalAlertMessageStateContext: () => IGlobalAlertMessag
9
9
  export declare const useGlobalAlertMessageDispatchContext: () => GlobalAlertMessageReducerDispatchType;
10
10
  export declare function GlobalAlertMessageContextProvider({ children }: {
11
11
  children: any;
12
- }): JSX.Element;
12
+ }): React.JSX.Element;
13
13
  //# sourceMappingURL=GlobalAlertMessageContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalAlertMessageContext.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalAlertMessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEH,qCAAqC,EACrC,wBAAwB,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,MAAM,WAAW,+BAA+B;IAC5C,uBAAuB,EAAE,wBAAwB,CAAC;CACrD;AAMD,eAAO,MAAM,8BAA8B,gDAA2C,CAAC;AACvF,eAAO,MAAM,iCAAiC,sDAA6C,CAAC;AAE5F,eAAO,MAAM,iCAAiC,uCAAmD,CAAC;AAClG,eAAO,MAAM,oCAAoC,6CAAsD,CAAC;AAExG,wBAAgB,iCAAiC,CAAC,EAAE,QAAQ,EAAE;;CAAA,eAS7D"}
1
+ {"version":3,"file":"GlobalAlertMessageContext.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalAlertMessageContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEH,qCAAqC,EACrC,wBAAwB,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,MAAM,WAAW,+BAA+B;IAC5C,uBAAuB,EAAE,wBAAwB,CAAC;CACrD;AAMD,eAAO,MAAM,8BAA8B,gDAA2C,CAAC;AACvF,eAAO,MAAM,iCAAiC,sDAA6C,CAAC;AAE5F,eAAO,MAAM,iCAAiC,uCAAmD,CAAC;AAClG,eAAO,MAAM,oCAAoC,6CAAsD,CAAC;AAExG,wBAAgB,iCAAiC,CAAC,EAAE,QAAQ,EAAE;;CAAA,qBAS7D"}
@@ -9,5 +9,5 @@ export declare const useGlobalStateContext: () => IGlobalMetadataStateContext;
9
9
  export declare const useGlobalDispatchContext: () => GlobalMetadataReducerDispatchType;
10
10
  export declare function GlobalMetadataContextProvider({ children }: {
11
11
  children: any;
12
- }): JSX.Element;
12
+ }): React.JSX.Element;
13
13
  //# sourceMappingURL=GlobalMetadataContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalMetadataContext.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalMetadataContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEH,iCAAiC,EACjC,oBAAoB,EAEvB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,2BAA2B;IACxC,mBAAmB,EAAE,oBAAoB,CAAC;CAC7C;AAMD,eAAO,MAAM,0BAA0B,4CAA2C,CAAC;AACnF,eAAO,MAAM,6BAA6B,kDAA6C,CAAC;AAExF,eAAO,MAAM,qBAAqB,mCAA+C,CAAC;AAClF,eAAO,MAAM,wBAAwB,yCAAkD,CAAC;AAExF,wBAAgB,6BAA6B,CAAC,EAAE,QAAQ,EAAE;;CAAA,eAOzD"}
1
+ {"version":3,"file":"GlobalMetadataContext.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalMetadataContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEH,iCAAiC,EACjC,oBAAoB,EAEvB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,WAAW,2BAA2B;IACxC,mBAAmB,EAAE,oBAAoB,CAAC;CAC7C;AAMD,eAAO,MAAM,0BAA0B,4CAA2C,CAAC;AACnF,eAAO,MAAM,6BAA6B,kDAA6C,CAAC;AAExF,eAAO,MAAM,qBAAqB,mCAA+C,CAAC;AAClF,eAAO,MAAM,wBAAwB,yCAAkD,CAAC;AAExF,wBAAgB,6BAA6B,CAAC,EAAE,QAAQ,EAAE;;CAAA,qBAOzD"}
@@ -11,6 +11,6 @@ interface ITranslationContext {
11
11
  export declare const SELECTED_TRANS_LANGUAGE = "selected_trans_language";
12
12
  export declare const cacheTrans: CacheUtilsService<string>;
13
13
  export declare const GlobalTranslationContext: React.Context<ITranslationContext>;
14
- export declare function GlobalTranslationProvider(props: IProps): JSX.Element;
14
+ export declare function GlobalTranslationProvider(props: IProps): React.JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=GlobalTranslationProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalTranslationProvider.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalTranslationProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAc,MAAM,mBAAmB,CAAC;AAMlE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,MAAM;IACZ,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACtC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAC9C;AAED,UAAU,mBAAmB;IACzB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACtD,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAgBD,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,eAAO,MAAM,wBAAwB,oCAAiD,CAAC;AAEvF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,eAyEtD"}
1
+ {"version":3,"file":"GlobalTranslationProvider.d.ts","sourceRoot":"","sources":["../../../src/context/GlobalTranslationProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAc,MAAM,mBAAmB,CAAC;AAMlE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,UAAU,MAAM;IACZ,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACtC,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;CAC9C;AAED,UAAU,mBAAmB;IACzB,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACtD,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAgBD,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,eAAO,MAAM,wBAAwB,oCAAiD,CAAC;AAEvF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,qBAwEtD"}
@@ -62,7 +62,6 @@ export function GlobalTranslationProvider(props) {
62
62
  },
63
63
  resources: resources && resources.translation,
64
64
  react: {
65
- wait: true,
66
65
  bindI18n: 'languageChanged loaded',
67
66
  },
68
67
  nsSeparator: ':::',
@@ -11,14 +11,14 @@ export const useChatConfig = () => {
11
11
  host: 'https://gss--qa.sandbox.my.salesforce.com',
12
12
  sandBox: 'https://gss--qa.sandbox.my.site.com/botchat',
13
13
  gslbBaseURL: 'https://service.force.com',
14
- key: '00D7j0000008oSo',
14
+ key: '00D8I0000016hOv',
15
15
  appName: 'RedHatChatBot',
16
16
  extra: {
17
- baseLiveAgentContentURL: 'https://c.la3-c1cs-ia5.salesforceliveagent.com/content',
18
- deploymentId: '5727j0000004CqR',
19
- buttonId: '5737j0000004CKB',
20
- baseLiveAgentURL: 'https://d.la3-c1cs-ia5.salesforceliveagent.com/chat',
21
- eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I7j000000CadEEAS_180b2280b37',
17
+ baseLiveAgentContentURL: 'https://c.la4-c1cs-ia4.salesforceliveagent.com/content',
18
+ deploymentId: '5726R000000sXtR',
19
+ buttonId: '5736R000000wk2n',
20
+ baseLiveAgentURL: 'https://d.la4-c1cs-ia4.salesforceliveagent.com/chat',
21
+ eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I6R000000wk2oUAA_180f4e169cb',
22
22
  isOfflineSupportEnabled: false,
23
23
  },
24
24
  };
@@ -27,13 +27,13 @@ export const useChatConfig = () => {
27
27
  host: 'https://gss--stage2.sandbox.my.salesforce.com',
28
28
  sandBox: 'https://gss--stage2.sandbox.my.site.com/botchat',
29
29
  gslbBaseURL: 'https://service.force.com',
30
- key: '00DDJ0000009qNz',
30
+ key: '00DDU000000sXEf',
31
31
  appName: 'RedHatChatBot',
32
32
  extra: {
33
- baseLiveAgentContentURL: 'https://c.la1-c1cs-ia7.salesforceliveagent.com/content',
33
+ baseLiveAgentContentURL: 'https://c.la2-c1cs-ia7.salesforceliveagent.com/content',
34
34
  deploymentId: '5726R000000sXtR',
35
35
  buttonId: '5736R000000wk2n',
36
- baseLiveAgentURL: 'https://d.la1-c1cs-ia6.salesforceliveagent.com/chat',
36
+ baseLiveAgentURL: 'https://d.la2-c1cs-ia7.salesforceliveagent.com/chat',
37
37
  eswLiveAgentDevName: 'EmbeddedServiceLiveAgent_Parent04I6R000000wk2oUAA_180f4e169cb',
38
38
  isOfflineSupportEnabled: false,
39
39
  },
@@ -1 +1 @@
1
- {"version":3,"file":"useFeatureAnnouncement.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFeatureAnnouncement.ts"],"names":[],"mappings":"AAYA,oBAAY,uBAAuB;IAC/B,kBAAkB,sBAAsB;IACxC,sBAAsB,yBAAyB;IAC/C,gBAAgB,mBAAmB;IACnC,eAAe,0BAA0B;IACzC,QAAQ,YAAY;CACvB;AAED,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,uBAAuB;;;;;;EAgG1E"}
1
+ {"version":3,"file":"useFeatureAnnouncement.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFeatureAnnouncement.ts"],"names":[],"mappings":"AAOA,oBAAY,uBAAuB;IAC/B,kBAAkB,sBAAsB;IACxC,sBAAsB,yBAAyB;IAC/C,gBAAgB,mBAAmB;IACnC,eAAe,0BAA0B;IACzC,QAAQ,YAAY;CACvB;AAED,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,KAAK,GAAG,UAAU,CAAC;IAC9B,eAAe,EAAE,MAAM,CAAC;CAC3B;AAOD,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,uBAAuB;;;;;;EAgG1E"}
@@ -1,4 +1,4 @@
1
- import { getConfigField, isCurrentDateSameAsOrBeforeDate, isFutureDate, PCM_CONFIG_FIELD_TYPE, } from '@rh-support/utils';
1
+ import { getConfigField, isCurrentDateAfterDate, isFutureDate, PCM_CONFIG_FIELD_TYPE } from '@rh-support/utils';
2
2
  import isEmpty from 'lodash/isEmpty';
3
3
  import { useContext, useMemo, useRef } from 'react';
4
4
  import { GlobalMetadataDispatchContext, GlobalMetadataStateContext } from '../context/GlobalMetadataContext';
@@ -38,7 +38,7 @@ export function useFeatureAnnouncement(featureName) {
38
38
  (visibilty === 'internal' && !loggedInUserRights.data.isInternal()) ||
39
39
  (showCount !== -1 && Number(shownCount) >= Number(showCount)) ||
40
40
  (startDate && isFutureDate(startDate)) ||
41
- (expireDate && !isCurrentDateSameAsOrBeforeDate(expireDate))) {
41
+ (expireDate && isCurrentDateAfterDate(expireDate))) {
42
42
  isFeatureAnnouncementVisible = false;
43
43
  }
44
44
  else {
@@ -1,31 +1,32 @@
1
- export declare function useUserPreferences(): {
2
- getHostnamesVisibilityObj: () => any;
1
+ interface IUserPreferences {
2
+ getHostnamesVisibilityObj: () => string;
3
3
  updateShowHostnamesCount: (value: {
4
4
  shownCount: number;
5
5
  doNotShow?: number;
6
6
  }) => Promise<void>;
7
- getNewPreferenceTooltipSeenCount: () => any;
8
- updateNewPreferenceTooltipSeenCount: (newCount: any) => Promise<void>;
7
+ getNewPreferenceTooltipSeenCount: () => number;
8
+ updateNewPreferenceTooltipSeenCount: (value: number) => Promise<void>;
9
9
  updateCommentType: (value: string) => Promise<void>;
10
- getCommentTypeFromPreference: () => any;
11
- hydraUserPreferences: import("@rh-support/types/shared").IApiResponseDetails<import("@cee-eng/hydrajs/@types/models/general").IPreference[]>;
12
- getAutoRestoreSavedSearchPreference: () => any;
10
+ getCommentTypeFromPreference: () => string;
11
+ getAutoRestoreSavedSearchPreference: () => string;
13
12
  updateAutoRestoreSavedSearchPreference: (value: string) => Promise<void>;
14
- getAutoRestoreLastSearchPreference: () => any;
13
+ getAutoRestoreLastSearchPreference: () => string;
15
14
  updateAutoRestoreLastSearchPreference: (value: boolean) => Promise<void>;
16
- getAutoSaveSelectedColumnsPreference: () => any;
15
+ getAutoSaveSelectedColumnsPreference: () => string;
17
16
  updateAutoSaveSelectedColumnsPreference: (value: boolean) => Promise<void>;
18
- getCommentSignature: () => any;
17
+ getCommentSignature: () => string;
19
18
  updateCommentSignature: (value: string) => Promise<void>;
20
- getShareHostNames: () => any;
19
+ getShareHostNames: () => string;
21
20
  updateShareHostNames: (value: boolean) => Promise<void>;
22
- getPreferredLanguage: () => any;
21
+ getPreferredLanguage: () => string;
23
22
  updatePreferredLanguage: (value: string) => Promise<void>;
24
- getDefaultGroup: () => any;
23
+ getDefaultGroup: () => string;
25
24
  updateDefaultGroup: (value: string) => Promise<void>;
26
- getOriginalCaseView: () => any;
27
- updateOriginalCaseView: (value: any) => Promise<void>;
28
- updatePreferences: (key: any, value: any) => Promise<void>;
29
- getPreferenceByKey: (key: any) => any;
30
- };
25
+ getOriginalCaseView: () => string;
26
+ updateOriginalCaseView: (value: boolean) => Promise<void>;
27
+ updatePreferences: (key: string, value: string) => Promise<void>;
28
+ getPreferenceByKey: (key: string) => string;
29
+ }
30
+ export declare function useUserPreferences(): IUserPreferences;
31
+ export {};
31
32
  //# sourceMappingURL=useUserPreferences.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUserPreferences.d.ts","sourceRoot":"","sources":["../../../src/hooks/useUserPreferences.tsx"],"names":[],"mappings":"AAKA,wBAAgB,kBAAkB;;sCAoBiB;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE;;;+BAyJjD,MAAM;;;;oDApHe,MAAM;;mDAoBP,OAAO;;qDAgBL,OAAO;;oCAgBxB,MAAM;;kCAgBR,OAAO;;qCAgBJ,MAAM;;gCAgBX,MAAM;;;;;EA4FlD"}
1
+ {"version":3,"file":"useUserPreferences.d.ts","sourceRoot":"","sources":["../../../src/hooks/useUserPreferences.tsx"],"names":[],"mappings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AAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,mBAAmB,EAAE,MAAM,MAAM,CAAC;IAClC,sBAAsB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjE,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/C;AAED,wBAAgB,kBAAkB,IAAI,gBAAgB,CAwPrD"}
@@ -138,7 +138,6 @@ export function useUserPreferences() {
138
138
  updateNewPreferenceTooltipSeenCount,
139
139
  updateCommentType,
140
140
  getCommentTypeFromPreference,
141
- hydraUserPreferences,
142
141
  getAutoRestoreSavedSearchPreference,
143
142
  updateAutoRestoreSavedSearchPreference,
144
143
  getAutoRestoreLastSearchPreference,
@@ -5,4 +5,5 @@ export { GlobalContextWrapper } from './GlobalContextWrapper';
5
5
  export { GlobalMetadataContextProvider, GlobalMetadataStateContext, GlobalMetadataDispatchContext, IGlobalMetadataStateContext, useGlobalDispatchContext, useGlobalStateContext, } from './context/GlobalMetadataContext';
6
6
  export { GlobalTranslationContext, GlobalTranslationProvider, cacheTrans, SELECTED_TRANS_LANGUAGE, } from './context/GlobalTranslationProvider';
7
7
  export { GlobalAlertMessageContextProvider, GlobalAlertMessageStateContext, GlobalAlertMessageDispatchContext, IGlobalAlertMessageStateContext, useGlobalAlertMessageDispatchContext, useGlobalAlertMessageStateContext, } from './context/GlobalAlertMessageContext';
8
+ export * from './utils';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACH,6BAA6B,EAC7B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,uBAAuB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACH,iCAAiC,EACjC,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,EAC/B,oCAAoC,EACpC,iCAAiC,GACpC,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACH,6BAA6B,EAC7B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,uBAAuB,GAC1B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACH,iCAAiC,EACjC,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,EAC/B,oCAAoC,EACpC,iCAAiC,GACpC,MAAM,qCAAqC,CAAC;AAE7C,cAAc,SAAS,CAAC"}
package/lib/esm/index.js CHANGED
@@ -5,3 +5,4 @@ export { GlobalContextWrapper } from './GlobalContextWrapper';
5
5
  export { GlobalMetadataContextProvider, GlobalMetadataStateContext, GlobalMetadataDispatchContext, useGlobalDispatchContext, useGlobalStateContext, } from './context/GlobalMetadataContext';
6
6
  export { GlobalTranslationContext, GlobalTranslationProvider, cacheTrans, SELECTED_TRANS_LANGUAGE, } from './context/GlobalTranslationProvider';
7
7
  export { GlobalAlertMessageContextProvider, GlobalAlertMessageStateContext, GlobalAlertMessageDispatchContext, useGlobalAlertMessageDispatchContext, useGlobalAlertMessageStateContext, } from './context/GlobalAlertMessageContext';
8
+ export * from './utils';
@@ -7,8 +7,8 @@ export interface IGlobalAlertMessageState {
7
7
  }
8
8
  export interface IGlobalAlertMessagePayloadType extends IGlobalAlertMessageState {
9
9
  }
10
- declare type IActionType = IAction<GlobalAlertMessageReducerConstants, IGlobalAlertMessagePayloadType>;
11
- export declare type GlobalAlertMessageReducerDispatchType = (value: IActionType) => void;
10
+ type IActionType = IAction<GlobalAlertMessageReducerConstants, IGlobalAlertMessagePayloadType>;
11
+ export type GlobalAlertMessageReducerDispatchType = (value: IActionType) => void;
12
12
  export declare const initialGlobalAlertMessageState: IGlobalAlertMessageState;
13
13
  export declare const globalAlertMessageReducer: (state: IGlobalAlertMessageState, action: IActionType) => IGlobalAlertMessageState;
14
14
  export declare const toggleSubscriptionAbuseModalOpen: (dispatch: GlobalAlertMessageReducerDispatchType) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalAlertMessageReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalAlertMessageReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,oBAAY,kCAAkC;IAC1C,gCAAgC,qCAAqC;CACxE;AAED,MAAM,WAAW,wBAAwB;IACrC,4BAA4B,EAAE,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AACnF,aAAK,WAAW,GAAG,OAAO,CAAC,kCAAkC,EAAE,8BAA8B,CAAC,CAAC;AAC/F,oBAAY,qCAAqC,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAEjF,eAAO,MAAM,8BAA8B,EAAE,wBAE5C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC3B,wBAAwB,0BAEhC,wBASF,CAAC;AAEF,eAAO,MAAM,gCAAgC,aAAc,qCAAqC,SAI/F,CAAC"}
1
+ {"version":3,"file":"GlobalAlertMessageReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalAlertMessageReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,oBAAY,kCAAkC;IAC1C,gCAAgC,qCAAqC;CACxE;AAED,MAAM,WAAW,wBAAwB;IACrC,4BAA4B,EAAE,OAAO,CAAC;CACzC;AAED,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;CAAG;AACnF,KAAK,WAAW,GAAG,OAAO,CAAC,kCAAkC,EAAE,8BAA8B,CAAC,CAAC;AAC/F,MAAM,MAAM,qCAAqC,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAEjF,eAAO,MAAM,8BAA8B,EAAE,wBAE5C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC3B,wBAAwB,UACvB,WAAW,KACpB,wBASF,CAAC;AAEF,eAAO,MAAM,gCAAgC,aAAc,qCAAqC,SAI/F,CAAC"}
@@ -26,7 +26,9 @@ export declare enum UserPreferencesKeys {
26
26
  showHostnames = "PCM-showHostName",
27
27
  showNewPreferenceTooltip = "PCM-prefToolTipVisibility",
28
28
  caseViewInternal = "PCM-caseViewInternal",
29
- partnershipLastestAcceptedLink = "PCM-PartnershipLastestAcceptedLink"
29
+ partnershipLastestAcceptedLink = "PCM-PartnershipLastestAcceptedLink",
30
+ partnershipLastestRejectedLink = "PCM-PartnershipLastestRejectedLink",
31
+ userLastSavedABTest = "PCM-UserLastSavedABTest"
30
32
  }
31
33
  export declare const BOOKMARK_APPLICATION_NAME = "pcm";
32
34
  export declare const BOOKMARK_NAME_SPACE = "customer-portal";
@@ -76,11 +78,12 @@ export declare enum GlobalMetadataReducerConstants {
76
78
  setAccountCustomEmails = "setAccountCustomEmails",
77
79
  setReferrerUrl = "setReferrerUrl",
78
80
  getNoclusteridreasons = "getNoclusteridreasons",
79
- setIsSharingHostnameswithRHt = "setIsSharingHostnameswithRHt"
81
+ setIsSharingHostnameswithRHt = "setIsSharingHostnameswithRHt",
82
+ setCaseListTraditionalSupportAgreed = "setCaseListTraditionalSupportAgreed"
80
83
  }
81
- export declare type ICaseType = string;
82
- export declare type ICaseSeverity = string;
83
- export declare type ICaseStatus = string;
84
+ export type ICaseType = string;
85
+ export type ICaseSeverity = string;
86
+ export type ICaseStatus = string;
84
87
  export interface IIntraction {
85
88
  time: Date;
86
89
  action: string;
@@ -89,7 +92,7 @@ export interface IIntraction {
89
92
  export interface IUserPreferences {
90
93
  isCaseListFilterPanelExanded?: boolean;
91
94
  }
92
- export declare type IFeatureFlags = {
95
+ export type IFeatureFlags = {
93
96
  [k in keyof typeof FeatureFlagKey]?: boolean;
94
97
  };
95
98
  export interface IBookmarkedGroupIds {
@@ -125,14 +128,15 @@ export interface IGlobalMetadataState {
125
128
  accountCustomEmails: IApiResponseDetails<IAccountNotificationAddresses[]>;
126
129
  referrerUrl: string;
127
130
  caseNoClusterIdReasons: IApiResponseDetails<string[]>;
131
+ caseListTraditionalSupportAgreed: boolean;
128
132
  }
129
133
  export interface IGlobalMetadataPayloadType extends IGlobalMetadataState {
130
134
  interaction: IIntraction;
131
135
  account: IAccount;
132
136
  flag: boolean;
133
137
  }
134
- declare type IActionType = IAction<GlobalMetadataReducerConstants, IGlobalMetadataPayloadType>;
135
- export declare type GlobalMetadataReducerDispatchType = (value: IActionType) => void;
138
+ type IActionType = IAction<GlobalMetadataReducerConstants, IGlobalMetadataPayloadType>;
139
+ export type GlobalMetadataReducerDispatchType = (value: IActionType) => void;
136
140
  export declare const initialGlobalMetadataState: IGlobalMetadataState;
137
141
  export declare const globalMetadataReducer: (pState: IGlobalMetadataState, action: IActionType) => IGlobalMetadataState;
138
142
  export declare const setReferrerUrl: (dispatch: GlobalMetadataReducerDispatchType, referrerUrl: string) => void;
@@ -163,10 +167,12 @@ export declare const setUserPreferences: (dispatch: GlobalMetadataReducerDispatc
163
167
  export declare const setNavbarRef: (dispatch: GlobalMetadataReducerDispatchType, navBarRef: MutableRefObject<HTMLElement>) => void;
164
168
  export declare const toggleViewAsCustomerFlag: (dispatch: GlobalMetadataReducerDispatchType) => void;
165
169
  export declare const fetchUserPreferences: (dispatch: GlobalMetadataReducerDispatchType, token: Partial<IPortalJwtToken>) => Promise<void>;
166
- export declare const updateUserPreferences: (dispatch: GlobalMetadataReducerDispatchType, ssoUserName: string, preferences: IPreference[], operation?: 'add' | 'remove', silent?: boolean, throwAdditionalError?: boolean) => Promise<void>;
170
+ export declare const updateUserPreferences: (dispatch: GlobalMetadataReducerDispatchType, ssoUserName: string, preferences: IPreference[], operation?: "add" | "remove", silent?: boolean, throwAdditionalError?: boolean) => Promise<void>;
167
171
  export declare const updateFeatureFlag: (dispatch: GlobalMetadataReducerDispatchType, featureFlags: Partial<IFeatureFlags>) => void;
168
172
  export declare const fetchAccountCustomEmails: (dispatch: GlobalMetadataReducerDispatchType, accountNumber: string) => Promise<void>;
169
173
  export declare const setAccountCustomEmails: (dispatch: GlobalMetadataReducerDispatchType, accountCustomEmails: IAccountNotificationAddresses[]) => void;
170
174
  export declare const fetchNoClusterIdReasonsMetadata: (dispatch: GlobalMetadataReducerDispatchType) => Promise<void>;
175
+ export declare const updateCaseListTraditionalSupportAgreed: (dispatch: GlobalMetadataReducerDispatchType, value: boolean) => void;
176
+ export declare const updateShareHostnameWithRHTState: (dispatch: GlobalMetadataReducerDispatchType, loggedInUsersAccount: Partial<IAccount>, shareHostnameWithRHT: boolean) => void;
171
177
  export {};
172
178
  //# sourceMappingURL=GlobalMetadataReducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalMetadataReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/GlobalMetadataReducer.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CA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