@rh-support/cases 0.2.23 → 0.2.27

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 (55) hide show
  1. package/lib/esm/components/case-list/CaseList.d.ts.map +1 -1
  2. package/lib/esm/components/case-list/CaseList.js +1 -1
  3. package/lib/esm/components/case-list/CaseListFilterReducer.d.ts +1 -0
  4. package/lib/esm/components/case-list/CaseListFilterReducer.d.ts.map +1 -1
  5. package/lib/esm/components/case-list/CaseListFilterReducer.js +2 -0
  6. package/lib/esm/components/case-list/case-list-filters/AccountsFilter.js +1 -1
  7. package/lib/esm/components/case-list/case-list-filters/CaseListFilters.d.ts +2 -1
  8. package/lib/esm/components/case-list/case-list-filters/CaseListFilters.d.ts.map +1 -1
  9. package/lib/esm/components/case-list/case-list-filters/CaseListFilters.js +4 -1
  10. package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.js +3 -3
  11. package/lib/esm/components/case-list/case-list-filters/TypeFilter.d.ts +6 -0
  12. package/lib/esm/components/case-list/case-list-filters/TypeFilter.d.ts.map +1 -0
  13. package/lib/esm/components/case-list/case-list-filters/TypeFilter.js +18 -0
  14. package/lib/esm/components/case-list/case-search/AdvanceSearch.d.ts.map +1 -1
  15. package/lib/esm/components/case-list/case-search/AdvanceSearch.js +1 -1
  16. package/lib/esm/enums/case.d.ts +14 -0
  17. package/lib/esm/enums/case.d.ts.map +1 -1
  18. package/lib/esm/enums/case.js +14 -0
  19. package/lib/esm/enums/caseSearch.d.ts +1 -0
  20. package/lib/esm/enums/caseSearch.d.ts.map +1 -1
  21. package/lib/esm/enums/caseSearch.js +1 -0
  22. package/lib/esm/enums/filters.d.ts +3 -1
  23. package/lib/esm/enums/filters.d.ts.map +1 -1
  24. package/lib/esm/enums/filters.js +2 -0
  25. package/lib/esm/i18n/template-de.d.ts +6 -6
  26. package/lib/esm/i18n/template-de.js +6 -6
  27. package/lib/esm/i18n/template-es.d.ts +6 -6
  28. package/lib/esm/i18n/template-es.js +6 -6
  29. package/lib/esm/i18n/template-fr.d.ts +6 -6
  30. package/lib/esm/i18n/template-fr.js +6 -6
  31. package/lib/esm/i18n/template-it.d.ts +6 -6
  32. package/lib/esm/i18n/template-it.d.ts.map +1 -1
  33. package/lib/esm/i18n/template-it.js +6 -6
  34. package/lib/esm/i18n/template-jp.d.ts +6 -6
  35. package/lib/esm/i18n/template-jp.d.ts.map +1 -1
  36. package/lib/esm/i18n/template-jp.js +6 -6
  37. package/lib/esm/i18n/template-ko.d.ts +6 -6
  38. package/lib/esm/i18n/template-ko.d.ts.map +1 -1
  39. package/lib/esm/i18n/template-ko.js +6 -6
  40. package/lib/esm/i18n/template-pt.d.ts +6 -6
  41. package/lib/esm/i18n/template-pt.js +6 -6
  42. package/lib/esm/i18n/template-ru.d.ts +6 -6
  43. package/lib/esm/i18n/template-ru.d.ts.map +1 -1
  44. package/lib/esm/i18n/template-ru.js +6 -6
  45. package/lib/esm/i18n/template-zh.d.ts +6 -6
  46. package/lib/esm/i18n/template-zh.d.ts.map +1 -1
  47. package/lib/esm/i18n/template-zh.js +6 -6
  48. package/lib/esm/models/caseList.d.ts +1 -0
  49. package/lib/esm/models/caseList.d.ts.map +1 -1
  50. package/lib/esm/utils/caseSearchUtils.d.ts.map +1 -1
  51. package/lib/esm/utils/caseSearchUtils.js +6 -3
  52. package/lib/esm/utils/constants.d.ts +1 -0
  53. package/lib/esm/utils/constants.d.ts.map +1 -1
  54. package/lib/esm/utils/constants.js +2 -1
  55. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"CaseList.d.ts","sourceRoot":"","sources":["../../../../src/components/case-list/CaseList.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAChC,OAAO,0BAA0B,CAAC;AAyBlC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAKH,0BAA0B,EAK7B,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EAAE,mB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c,EAAE,CAAC;CAClC;AAED,oBAAY,YAAY,GAAG,0BAA0B,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC;AAM5F,MAAM,WAAW,gBAAgB;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,eA6arC"}
@@ -304,7 +304,7 @@ export function CaseList(props) {
304
304
  React.createElement("div", { className: "filter-wrapper" },
305
305
  React.createElement("pfe-collapse-panel", { id: "case-filters-panel", "pfe-animation": "false", ref: filterSectionRef },
306
306
  React.createElement(ErrorBoundary, { errorMsgInfo: { message: t('There was an error loading filters') } },
307
- React.createElement(CaseListFilters, { filterValues: filterValuesFromFacetResponse })))))),
307
+ React.createElement(CaseListFilters, { filterValues: filterValuesFromFacetResponse, allCaseTypes: allCaseTypes })))))),
308
308
  React.createElement("section", { className: "case-search-table" },
309
309
  React.createElement(CaseListTable, { caseList: caseList, caseGroups: caseGroups.data || [], loggedInUserRights: loggedInUserRights.data, sortInfo: filterState.sortInfo, paginationInfo: filterState.paginationInfo, isCaseListPageLoading: isFetching, hasError: hasError })))));
310
310
  }
@@ -39,6 +39,7 @@ export interface IFilterInfo {
39
39
  [SolrKeys.escalation]: Array<IKeyValue<string>>;
40
40
  [SolrKeys.createdBySsoUsername]: Array<string>;
41
41
  [SolrKeys.caseContactSSO]: Array<string>;
42
+ [SolrKeys.type]: Array<string>;
42
43
  }
43
44
  export declare const emptyFilters: IFilterInfo;
44
45
  export interface ICaseListFilterState {
@@ -1 +1 @@
1
- {"version":3,"file":"CaseListFilterReducer.d.ts","sourceRoot":"","sources":["../../../../src/components/case-list/CaseListFilterReduc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ACrB,yBAAyB,GAC5B,CAAC"}
@@ -10,6 +10,7 @@ export const initialFilterInfo = {
10
10
  [SolrKeys.escalation]: [],
11
11
  [SolrKeys.createdBySsoUsername]: [],
12
12
  [SolrKeys.caseContactSSO]: [],
13
+ [SolrKeys.type]: [],
13
14
  };
14
15
  var CaseListReducerEnum;
15
16
  (function (CaseListReducerEnum) {
@@ -33,6 +34,7 @@ export const emptyFilters = {
33
34
  [SolrKeys.escalation]: [],
34
35
  [SolrKeys.createdBySsoUsername]: [],
35
36
  [SolrKeys.caseContactSSO]: [],
37
+ [SolrKeys.type]: [],
36
38
  };
37
39
  const caseListFilterReducer = (pState, action) => {
38
40
  switch (action.type) {
@@ -95,5 +95,5 @@ export function AccountsFilter(props) {
95
95
  if (!canReadBookmarkAccounts) {
96
96
  return null;
97
97
  }
98
- return (React.createElement(AccountSelectorInternal, { label: 'Accounts', selectedAccounts: selectedAccounts, multiple: true, suggestBookmarkAccounts: false, placeholder: getDropdownBtnPlaceholder(t('Search for an account'), (selectedAccounts || []).map((i) => i.name), ''), onSelect: onAccountsFilterChange }));
98
+ return (React.createElement(AccountSelectorInternal, { label: t('i18nAccounts', 'Accounts'), selectedAccounts: selectedAccounts, multiple: true, suggestBookmarkAccounts: false, placeholder: getDropdownBtnPlaceholder(t('Search for an account'), (selectedAccounts || []).map((i) => i.name), ''), onSelect: onAccountsFilterChange }));
99
99
  }
@@ -2,7 +2,8 @@ import { ISolrResponseToFacetFields } from '@rh-support/utils';
2
2
  import { IFacetFields } from '../../../models/caseList';
3
3
  interface IProps {
4
4
  filterValues: ISolrResponseToFacetFields<IFacetFields>;
5
+ allCaseTypes: any;
5
6
  }
6
- export declare const CaseListFilters: ({ filterValues }: IProps) => JSX.Element;
7
+ export declare const CaseListFilters: ({ filterValues, allCaseTypes }: IProps) => JSX.Element;
7
8
  export {};
8
9
  //# sourceMappingURL=CaseListFilters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaseListFilters.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/CaseListFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAK/D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUxD,UAAU,MAAM;IACZ,YAAY,EAAE,0BAA0B,CAAC,YAAY,CAAC,CAAC;CAC1D;AAID,eAAO,MAAM,eAAe,qBAAsB,MAAM,gBAkEvD,CAAC"}
1
+ {"version":3,"file":"CaseListFilters.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/CaseListFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAK/D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWxD,UAAU,MAAM;IACZ,YAAY,EAAE,0BAA0B,CAAC,YAAY,CAAC,CAAC;IACvD,YAAY,EAAE,GAAG,CAAC;CACrB;AAID,eAAO,MAAM,eAAe,mCAAoC,MAAM,gBAoErE,CAAC"}
@@ -11,9 +11,10 @@ import { GroupsFilter } from './GroupsFilter';
11
11
  import { ProductsFilter } from './ProductsFilter';
12
12
  import { SeverityFilter } from './SeverityFilter';
13
13
  import { StatusFilter } from './StatusFilter';
14
+ import { TypeFilter } from './TypeFilter';
14
15
  // Adding a new filter here? Make sure you add in caseSearchUtils also so that
15
16
  // it get included in the solr search query fq parameter
16
- export const CaseListFilters = ({ filterValues }) => {
17
+ export const CaseListFilters = ({ filterValues, allCaseTypes }) => {
17
18
  const ability = useContext(AbilityContext);
18
19
  const { globalMetadataState: { loggedInUsersAccount }, } = useContext(GlobalMetadataStateContext);
19
20
  const canReadBookmarkAccounts = ability.can(resourceActions.READ, resources.BOOKMARK_ACCOUNTS);
@@ -26,6 +27,7 @@ export const CaseListFilters = ({ filterValues }) => {
26
27
  const canAccessGroupsFilter = ability.can(resourceActions.PATCH, resources.CASE_LIST, CaseListFields.GROUPS_FILTER);
27
28
  const isSecureSupportAccount = loggedInUsersAccount.data.secureSupport;
28
29
  const canAccessCreatorFilter = ability.can(resourceActions.PATCH, resources.CASE_LIST, CaseListFields.CREATOR_FILTER);
30
+ const canAccessTypeFilter = ability.can(resourceActions.PATCH, resources.CASE_LIST, CaseListFields.TYPE_FILTER);
29
31
  return (React.createElement(React.Fragment, null,
30
32
  React.createElement("div", { className: "filter-group" },
31
33
  canReadBookmarkAccounts && React.createElement(AccountsFilter, { canReadBookmarkAccounts: canReadBookmarkAccounts }),
@@ -35,5 +37,6 @@ export const CaseListFilters = ({ filterValues }) => {
35
37
  canAccessSeverityFilter && (React.createElement(SeverityFilter, { filterValues: get(filterValues, SolrKeys.severity, []), forceSingleSelect: isSecureSupportAccount })),
36
38
  canAccessStatusFilter && React.createElement(StatusFilter, { filterValues: get(filterValues, SolrKeys.status, []) }),
37
39
  canAccessCreatorFilter && React.createElement(CreatorSsoNameFilter, null),
40
+ canAccessTypeFilter && React.createElement(TypeFilter, { allCaseTypes: allCaseTypes.data }),
38
41
  canAccessAdditionalFilter && React.createElement(AdditionalFilters, null))));
39
42
  };
@@ -46,8 +46,8 @@ export function CreatorSsoNameFilter() {
46
46
  const PER_PAGE = 200;
47
47
  const isExternalNonOrgAdmin = !loggedInUserRights.data.isInternal() && loggedInUserRights.data.isCustomerNonOrgAdmin();
48
48
  const ASYNC_DROPDOWN_PAGE_SIZE = 10000;
49
- const { request: getExternalUserContactsList, isFetching: isFetchingExternalContacts, } = useFetch(accounts.getAccountContacts, { propgateErrors: true });
50
- const { request: getInternalUserContactsList, isFetching: isFetchingInternalContacts, } = useFetch(contacts.getSFDCContacts, { propgateErrors: true });
49
+ const { request: getExternalUserContactsList, isFetching: isFetchingExternalContacts } = useFetch(accounts.getAccountContacts, { propgateErrors: true });
50
+ const { request: getInternalUserContactsList, isFetching: isFetchingInternalContacts } = useFetch(contacts.getSFDCContacts, { propgateErrors: true });
51
51
  const abortControllerRef = useRef(undefined);
52
52
  const [externalContactList, setExternalContactList] = useState([]);
53
53
  const [internalContactList, setInternalContactList] = useState([]);
@@ -241,5 +241,5 @@ export function CreatorSsoNameFilter() {
241
241
  nonSearchableItemKey: 'isNotSearchable',
242
242
  nonActionableItemKey: 'isNonActionable',
243
243
  nonSelectableItemKey: 'isNotSelectable',
244
- }), title: filterNamesMap['usernameFilterTitle'], onChange: onFilterChangeAsync, delay: 300, useCache: true, paginate: true, emptyListLabel: t('No results found'), maxResults: PER_PAGE, onSearch: onSearchAsync, minLength: 0, label: filterNamesMap['usernameFilterTitle'], isLoadingList: isFetchingInternalContacts }))));
244
+ }), title: t(filterNamesMap['usernameFilterTitle']), onChange: onFilterChangeAsync, delay: 300, useCache: true, paginate: true, emptyListLabel: t('No results found'), maxResults: PER_PAGE, onSearch: onSearchAsync, minLength: 0, label: t(filterNamesMap['usernameFilterTitle']), isLoadingList: isFetchingInternalContacts }))));
245
245
  }
@@ -0,0 +1,6 @@
1
+ interface IProps {
2
+ allCaseTypes: string[];
3
+ }
4
+ export declare function TypeFilter(props: IProps): JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=TypeFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypeFilter.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-list-filters/TypeFilter.tsx"],"names":[],"mappings":"AAUA,UAAU,MAAM;IACZ,YAAY,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,eA6BvC"}
@@ -0,0 +1,18 @@
1
+ import { MultiSelectDropDownList } from '@rh-support/components';
2
+ import { getDropdownBtnPlaceholder, toOptions } from '@rh-support/utils';
3
+ import React, { useContext } from 'react';
4
+ import { useTranslation } from 'react-i18next';
5
+ import { SolrKeys } from '../../../enums/filters';
6
+ import { filterNamesMap } from '../../../utils/constants';
7
+ import { CaseListFilterDispatchContext, CaseListFilterStateContext } from '../CaseListFilterContext';
8
+ import { updateFilter } from '../CaseListFilterReducer';
9
+ export function TypeFilter(props) {
10
+ const { t } = useTranslation();
11
+ const dispatch = useContext(CaseListFilterDispatchContext);
12
+ const { filterInfo } = useContext(CaseListFilterStateContext);
13
+ const onFilterChangeMultipleSelect = (selectedTypes) => updateFilter(dispatch, {
14
+ filterKey: SolrKeys.type,
15
+ values: selectedTypes.map((selectedType) => selectedType.label),
16
+ });
17
+ return (React.createElement(MultiSelectDropDownList, { placeholder: getDropdownBtnPlaceholder(t('Select a type'), filterInfo[SolrKeys.type], ' ', props.allCaseTypes.length, t('All selected')), "data-tracking-id": "type-filter", id: "case-list-type-filter", title: t(filterNamesMap[SolrKeys.type]), label: t(filterNamesMap[SolrKeys.type]), onChange: onFilterChangeMultipleSelect, selectedItems: toOptions(filterInfo[SolrKeys.type]), list: toOptions(props.allCaseTypes) }));
18
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"AdvanceSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/AdvanceSearch.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAMhE,UAAU,MAAM;IACZ,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,eAmV1C"}
1
+ {"version":3,"file":"AdvanceSearch.d.ts","sourceRoot":"","sources":["../../../../../src/components/case-list/case-search/AdvanceSearch.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAMhE,UAAU,MAAM;IACZ,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,eAsV1C"}
@@ -237,7 +237,7 @@ export function AdvanceSearch(props) {
237
237
  React.createElement("div", { className: "pf-c-select pf-m-expanded", ref: dropdownWrapperRef },
238
238
  React.createElement("div", { className: "pf-c-select__toggle pf-m-typeahead" },
239
239
  React.createElement("div", { className: "pf-c-select__toggle-wrapper" },
240
- React.createElement("input", { value: queryString, onChange: onQueryStringChange, onFocus: onInputFocus, ref: searchInputRef, onKeyDown: onKeyDown, placeholder: `Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"`, className: `pf-c-form-control pf-c-select__toggle-typeahead ${queryString && isParsingSuccessful && !showComplexQueryError ? 'pf-m-success' : ''}`, type: "text", "aria-invalid": isQueryInValid ? true : false, autoComplete: "off", id: "advance-search-typeahead", "aria-label": t('Enter search query'), "aria-describedby": "advance-query-error-helper" })),
240
+ React.createElement("input", { value: queryString, onChange: onQueryStringChange, onFocus: onInputFocus, ref: searchInputRef, onKeyDown: onKeyDown, placeholder: t('i18nEnterSolrQuery', 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"'), className: `pf-c-form-control pf-c-select__toggle-typeahead ${queryString && isParsingSuccessful && !showComplexQueryError ? 'pf-m-success' : ''}`, type: "text", "aria-invalid": isQueryInValid ? true : false, autoComplete: "off", id: "advance-search-typeahead", "aria-label": t('Enter search query'), "aria-describedby": "advance-query-error-helper" })),
241
241
  queryString && (React.createElement(Button, { onClick: onClear, className: "pf-c-button pf-m-plain pf-c-select__toggle-clear", variant: "plain", "data-tracking-id": "clear-search", "aria-label": t('Clear this search') },
242
242
  React.createElement(TimesCircleIcon, null)))),
243
243
  showComplexQueryError && (React.createElement("p", { className: "pf-c-form__helper-text pf-m-error", style: { color: '#c9190b' }, id: "advance-query-error-helper", "aria-live": "polite" },
@@ -1,3 +1,4 @@
1
+ import { SolrKeys } from './filters';
1
2
  export declare enum CaseStatus {
2
3
  WaitingOnCustomer = "Waiting on Customer",
3
4
  WaitingOnRedHat = "Waiting on Red Hat",
@@ -26,4 +27,17 @@ export declare enum CaseListColumnIds {
26
27
  alternateCaseId = "alternateCaseId",
27
28
  type = "type"
28
29
  }
30
+ export declare const caseListSortColumnIdsToSolrMap: {
31
+ number: SolrKeys;
32
+ summary: SolrKeys;
33
+ severity: SolrKeys;
34
+ contactName: SolrKeys;
35
+ createdDate: SolrKeys;
36
+ status: SolrKeys;
37
+ lastModifiedDate: SolrKeys;
38
+ accountNumber: SolrKeys;
39
+ folderName: SolrKeys;
40
+ alternateCaseId: SolrKeys;
41
+ type: SolrKeys;
42
+ };
29
43
  //# 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;IACnC,IAAI,SAAS;CAChB"}
1
+ {"version":3,"file":"case.d.ts","sourceRoot":"","sources":["../../../src/enums/case.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,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;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;CAY1C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { SolrKeys } from './filters';
1
2
  export var CaseStatus;
2
3
  (function (CaseStatus) {
3
4
  CaseStatus["WaitingOnCustomer"] = "Waiting on Customer";
@@ -29,3 +30,16 @@ export var CaseListColumnIds;
29
30
  CaseListColumnIds["alternateCaseId"] = "alternateCaseId";
30
31
  CaseListColumnIds["type"] = "type";
31
32
  })(CaseListColumnIds || (CaseListColumnIds = {}));
33
+ export const caseListSortColumnIdsToSolrMap = {
34
+ [CaseListColumnIds.caseId]: SolrKeys.caseNumber,
35
+ [CaseListColumnIds.summary]: SolrKeys.caseSummary,
36
+ [CaseListColumnIds.severity]: SolrKeys.severity,
37
+ [CaseListColumnIds.owner]: SolrKeys.ownerName,
38
+ [CaseListColumnIds.created]: SolrKeys.createdDate,
39
+ [CaseListColumnIds.status]: SolrKeys.status,
40
+ [CaseListColumnIds.modified]: SolrKeys.modifiedDate,
41
+ [CaseListColumnIds.accountNumber]: SolrKeys.accountNumber,
42
+ [CaseListColumnIds.group]: SolrKeys.groupName,
43
+ [CaseListColumnIds.alternateCaseId]: SolrKeys.alternateId,
44
+ [CaseListColumnIds.type]: SolrKeys.type,
45
+ };
@@ -14,6 +14,7 @@ export declare const fieldNameToSolrFieldMapping: {
14
14
  case_version: string;
15
15
  case_contact_sso_username: string;
16
16
  case_createdby_sso_username: string;
17
+ case_type: string;
17
18
  };
18
19
  export declare const advanceSearchFieldNameToSolrFieldMapping: {
19
20
  case_24_7: string;
@@ -1 +1 @@
1
- {"version":3,"file":"caseSearch.d.ts","sourceRoot":"","sources":["../../../src/enums/caseSearch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;CAWvC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;CAiBpD,CAAC"}
1
+ {"version":3,"file":"caseSearch.d.ts","sourceRoot":"","sources":["../../../src/enums/caseSearch.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAYvC,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;CAiBpD,CAAC"}
@@ -16,5 +16,6 @@ export const fieldNameToSolrFieldMapping = {
16
16
  [SolrKeys.version]: 'productVersion',
17
17
  [SolrKeys.caseContactSSO]: 'ownedByMe',
18
18
  [SolrKeys.createdBySsoUsername]: 'createdBySsoUsername',
19
+ [SolrKeys.type]: 'type',
19
20
  };
20
21
  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' });
@@ -3,7 +3,8 @@ export declare enum SolrTags {
3
3
  c_status = "c_status",
4
4
  c_account = "c_account",
5
5
  c_group = "c_group",
6
- c_severity = "c_severity"
6
+ c_severity = "c_severity",
7
+ c_type = "c_type"
7
8
  }
8
9
  export declare enum SolrKeys {
9
10
  caseNumber = "case_number",
@@ -85,6 +86,7 @@ export declare const sfdcFieldToSolrMap: {
85
86
  groupNumber: SolrKeys;
86
87
  groupName: SolrKeys;
87
88
  alternateId: SolrKeys;
89
+ caseType: SolrKeys;
88
90
  };
89
91
  export declare const AdditionalFilterLabels: {
90
92
  case_customer_escalation: string;
@@ -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;IAC1B,WAAW,iBAAiB;IAC5B,OAAO,iBAAiB;IACxB,MAAM,gBAAgB;IACtB,aAAa,uBAAuB;IACpC,KAAK,sBAAsB;IAC3B,SAAS,oBAAoB;IAC7B,QAAQ,kBAAkB;IAC1B,SAAS,4BAA4B;IACrC,SAAS,eAAe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IAC3B,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
@@ -5,6 +5,7 @@ export var SolrTags;
5
5
  SolrTags["c_account"] = "c_account";
6
6
  SolrTags["c_group"] = "c_group";
7
7
  SolrTags["c_severity"] = "c_severity";
8
+ SolrTags["c_type"] = "c_type";
8
9
  })(SolrTags || (SolrTags = {}));
9
10
  export var SolrKeys;
10
11
  (function (SolrKeys) {
@@ -90,6 +91,7 @@ export const sfdcFieldToSolrMap = {
90
91
  [SFDCKeys.groupNumber]: SolrKeys.group,
91
92
  [SFDCKeys.groupName]: SolrKeys.groupName,
92
93
  [SFDCKeys.alternateId]: SolrKeys.alternateId,
94
+ [SFDCKeys.caseType]: SolrKeys.type,
93
95
  };
94
96
  export const AdditionalFilterLabels = {
95
97
  [SolrKeys.escalation]: 'Escalated cases',
@@ -49,7 +49,7 @@ declare const _default: {
49
49
  'click here': string;
50
50
  'for more information about the ICE process.': string;
51
51
  'for more information.': string;
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': string;
52
+ i18Case403: string;
53
53
  'Support subscription required': string;
54
54
  'The credentials you provided are valid, but you do not have <strong>direct support from Red Hat.</strong>': string;
55
55
  Owner: string;
@@ -60,14 +60,14 @@ declare const _default: {
60
60
  'Chat with support': string;
61
61
  'Chat offline': string;
62
62
  Troubleshoot: string;
63
- Accounts: string;
63
+ i18nAccounts: string;
64
64
  'Search for an account': string;
65
65
  Bookmark: string;
66
66
  Advanced: string;
67
67
  'Search for an bookmark': string;
68
68
  Username: string;
69
69
  Basic: string;
70
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': string;
70
+ i18nEnterSolrQuery: string;
71
71
  Export: string;
72
72
  'Close case': string;
73
73
  Collapse: string;
@@ -86,10 +86,10 @@ declare const _default: {
86
86
  'Defect / Bug': string;
87
87
  'Please address the errors to proceed': string;
88
88
  'Search for an email address or username of the person you want to notify': string;
89
- 'Send us your feedback': string;
90
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': string;
89
+ i18nSendUsFeedback: string;
90
+ i18nFeedbackFormFoundBug: string;
91
91
  'How can we improve?': string;
92
- 'Describe your suggestion in detail': string;
92
+ i18nDescribeSuggestionDetail: string;
93
93
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': string;
94
94
  'Send feedback': string;
95
95
  };
@@ -51,7 +51,7 @@ export default {
51
51
  'for more information about the ICE process.': 'für weitere Informationen über den ICE-Vorgang.',
52
52
  'for more information.': 'für weitere Informationen.',
53
53
  // Case 403
54
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': 'Wenn Sie der Meinung sind, eine Berechtigung für das Anzeigen dieser Ressource zu haben, wenden Sie sich bitte an den <a href="/support/contact/customerService.html">Kundendienst</a>. Ihre Red Hat Anmeldeinformationen sind möglicherweise nicht mit dem richtigen Account für Ihre Organisation verknüpft, oder es gibt ein Problem mit Ihrem Abonnement. Der Kundendienst sollten Ihnen bei der Lösung des Problems helfen können.',
54
+ i18Case403: 'Wenn Sie der Meinung sind, eine Berechtigung für das Anzeigen dieser Ressource zu haben, wenden Sie sich bitte an den <1>Kundendienst</1>. Ihre Red Hat Anmeldeinformationen sind möglicherweise nicht mit dem richtigen Account für Ihre Organisation verknüpft, oder es gibt ein Problem mit Ihrem Abonnement. Der Kundendienst sollten Ihnen bei der Lösung des Problems helfen können.',
55
55
  'Support subscription required': 'Support-Subskription erforderlich',
56
56
  'The credentials you provided are valid, but you do not have <strong>direct support from Red Hat.</strong>': 'Die eingegebenen Anmeldeinformationen sind gültig, aber Sie haben keinen <strong>Direkt-Support von Red Hat.</strong>',
57
57
  Owner: 'Besitzer',
@@ -62,14 +62,14 @@ export default {
62
62
  'Chat with support': 'Mit Support-Team chatten',
63
63
  'Chat offline': 'Offline chatten',
64
64
  Troubleshoot: 'Fehler beheben',
65
- Accounts: 'Konten',
65
+ i18nAccounts: 'Konten',
66
66
  'Search for an account': 'Suche nach einem Konto',
67
67
  Bookmark: 'Lesezeichen',
68
68
  Advanced: 'Erweitert',
69
69
  'Search for an bookmark': 'Suche nach einem Lesezeichen',
70
70
  Username: 'Benutzername',
71
71
  Basic: 'Grundlegend',
72
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': 'Geben Sie die SOLR-Abfrage ein, zum Beispiel: severity: "1 (Dringend)" und -status: "Wartet auf den Kunden"',
72
+ i18nEnterSolrQuery: 'Geben Sie die SOLR-Abfrage ein, zum Beispiel: severity: "1 (Dringend)" und -status: "Wartet auf den Kunden"',
73
73
  Export: 'Exportieren',
74
74
  'Close case': 'Fall schließen',
75
75
  Collapse: 'Reduzieren',
@@ -89,10 +89,10 @@ export default {
89
89
  'Please address the errors to proceed': 'Bitte beheben Sie die Fehler, um fortzufahren',
90
90
  'Search for an email address or username of the person you want to notify': 'Suchen Sie nach einer E-Mail-Adresse oder dem Benutzernamen der Person, die Sie benachrichtigen möchten.',
91
91
  //FeedbackForm
92
- 'Send us your feedback': 'Senden Sie uns Ihr Feedback',
93
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': 'Teilen Sie uns mit, wenn Sie einen Fehler gefunden haben oder wenn Sie einen Vorschlag zur Verbesserung des Webangebots haben.',
92
+ i18nSendUsFeedback: 'Senden Sie uns Ihr Feedback',
93
+ i18nFeedbackFormFoundBug: 'Teilen Sie uns mit, wenn Sie einen Fehler gefunden haben oder wenn Sie einen Vorschlag zur Verbesserung des Webangebots haben.',
94
94
  'How can we improve?': 'Was können wir noch besser machen?',
95
- 'Describe your suggestion in detail': 'Beschreiben Sie Ihren Vorschlag im Detail',
95
+ i18nDescribeSuggestionDetail: 'Beschreiben Sie Ihren Vorschlag im Detail',
96
96
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': 'Das Feedback wird an das Webteam gesendet, das an dieser Anwendung arbeitet, nicht an den Supportmitarbeiter, der Ihren Fall bearbeitet.',
97
97
  'Send feedback': 'Feedback senden',
98
98
  };
@@ -49,17 +49,17 @@ declare const _default: {
49
49
  'click here': string;
50
50
  'for more information about the ICE process.': string;
51
51
  'for more information.': string;
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': string;
52
+ i18Case403: string;
53
53
  'Support subscription required': string;
54
54
  'The credentials you provided are valid, but you do not have<strong>direct support from Red Hat.</strong>': string;
55
- Accounts: string;
55
+ i18nAccounts: string;
56
56
  'Search for an account': string;
57
57
  Bookmark: string;
58
58
  'Search for an bookmark': string;
59
59
  Advanced: string;
60
60
  Username: string;
61
61
  Basic: string;
62
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': string;
62
+ i18nEnterSolrQuery: string;
63
63
  Export: string;
64
64
  'Close case': string;
65
65
  Collapse: string;
@@ -78,10 +78,10 @@ declare const _default: {
78
78
  'Defect / Bug': string;
79
79
  'Please address the errors to proceed': string;
80
80
  'Search for an email address or username of the person you want to notify': string;
81
- 'Send us your feedback': string;
82
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': string;
81
+ i18nSendUsFeedback: string;
82
+ i18nFeedbackFormFoundBug: string;
83
83
  'How can we improve?': string;
84
- 'Describe your suggestion in detail': string;
84
+ i18nDescribeSuggestionDetail: string;
85
85
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': string;
86
86
  'Send feedback': string;
87
87
  };
@@ -49,17 +49,17 @@ export default {
49
49
  'click here': 'Haga clic aquí',
50
50
  'for more information about the ICE process.': 'para más información sobre el proceso ICE.',
51
51
  'for more information.': 'para más información.',
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': 'Si cree que debería tener permiso para ver este recurso,<a href="/support/contact/customerService.html">comuníquese con el Servicio al Cliente</a>para obtener ayuda. Es posible que su inicio de sesión en Red Hat no esté vinculado a la cuenta correcta de su organización,\n o podría haber un problema con la suscripción. En ambos casos, el Servicio al Cliente debería poder ayudarlo\n a solucionar el problema.',
52
+ i18Case403: 'Si cree que debería tener permiso para ver este recurso,<1>comuníquese con el Servicio al Cliente</1>para obtener ayuda. Es posible que su inicio de sesión en Red Hat no esté vinculado a la cuenta correcta de su organización,\n o podría haber un problema con la suscripción. En ambos casos, el Servicio al Cliente debería poder ayudarlo\n a solucionar el problema.',
53
53
  'Support subscription required': 'Se requiere una suscripción de soporte',
54
54
  'The credentials you provided are valid, but you do not have<strong>direct support from Red Hat.</strong>': 'Las credenciales que proporcionó son válidas, pero no cuenta con<strong>soporte directo de Red Hat.</b>',
55
- Accounts: 'Cuentas',
55
+ i18nAccounts: 'Cuentas',
56
56
  'Search for an account': 'Buscar una cuenta',
57
57
  Bookmark: 'Marcador',
58
58
  'Search for an bookmark': 'Buscar un marcador',
59
59
  Advanced: 'Avanzado',
60
60
  Username: 'Nombre de usuario',
61
61
  Basic: 'Básico',
62
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': 'Ingrese la solicitud SOLR, por ejemplo: severidad: "1 (Urgente)" y estado: "Esperando al cliente"',
62
+ i18nEnterSolrQuery: 'Ingrese la solicitud SOLR, por ejemplo: severidad: "1 (Urgente)" y estado: "Esperando al cliente"',
63
63
  Export: 'Exportar',
64
64
  'Close case': 'Cerrar caso',
65
65
  Collapse: 'Contraer',
@@ -79,10 +79,10 @@ export default {
79
79
  'Please address the errors to proceed': 'Corrija los errores para continuar',
80
80
  'Search for an email address or username of the person you want to notify': 'Busque una dirección de correo electrónico o un nombre de usuario de la persona a la que desea notificar',
81
81
  //feedback form
82
- 'Send us your feedback': 'Envíenos sus comentarios',
83
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': 'Infórmenos si ha encontrado un error o si tiene alguna sugerencia para mejorar la experiencia en la web.',
82
+ i18nSendUsFeedback: 'Envíenos sus comentarios',
83
+ i18nFeedbackFormFoundBug: 'Infórmenos si ha encontrado un error o si tiene alguna sugerencia para mejorar la experiencia en la web.',
84
84
  'How can we improve?': '¿Cómo podemos mejorar?',
85
- 'Describe your suggestion in detail': 'Describa en detalle su sugerencia',
85
+ i18nDescribeSuggestionDetail: 'Describa en detalle su sugerencia',
86
86
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': 'Los comentarios se envían al equipo web que trabaja en esta aplicación, no al asociado de soporte que trabaja en su caso.',
87
87
  'Send feedback': 'Enviar comentarios',
88
88
  };
@@ -49,17 +49,17 @@ declare const _default: {
49
49
  'click here': string;
50
50
  'for more information about the ICE process.': string;
51
51
  'for more information.': string;
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': string;
52
+ i18Case403: string;
53
53
  'Support subscription required': string;
54
54
  'The credentials you provided are valid, but you do not have<strong>direct support from Red Hat.</strong>': string;
55
- Accounts: string;
55
+ i18nAccounts: string;
56
56
  'Search for an account': string;
57
57
  Bookmark: string;
58
58
  'Search for an bookmark': string;
59
59
  Advanced: string;
60
60
  Username: string;
61
61
  Basic: string;
62
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': string;
62
+ i18nEnterSolrQuery: string;
63
63
  Export: string;
64
64
  'Close case': string;
65
65
  Collapse: string;
@@ -78,10 +78,10 @@ declare const _default: {
78
78
  'Defect / Bug': string;
79
79
  'Please address the errors to proceed': string;
80
80
  'Search for an email address or username of the person you want to notify': string;
81
- 'Send us your feedback': string;
82
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': string;
81
+ i18nSendUsFeedback: string;
82
+ i18nFeedbackFormFoundBug: string;
83
83
  'How can we improve?': string;
84
- 'Describe your suggestion in detail': string;
84
+ i18nDescribeSuggestionDetail: string;
85
85
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': string;
86
86
  'Send feedback': string;
87
87
  };
@@ -49,17 +49,17 @@ export default {
49
49
  'click here': 'cliquez ici',
50
50
  'for more information about the ICE process.': 'pour obtenir des informations supplémentaires sur le processus ICE.',
51
51
  'for more information.': "pour davantage d'informations.",
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': 'Si vous pensez être autorisé à consulter cette ressource, veuillez <a href="/support/contact/customerService.html">contacter le service client</a> pour obtenir de l\'aide. Il se peut que votre identifiant Red Hat ne soit pas associé à un compte approprié pour votre organisation ou que votre abonnement présente un dysfonctionnement. Quel que soit le problème rencontré, le service client devrait pouvoir vous aider à le résoudre.',
52
+ i18Case403: "Si vous pensez être autorisé à consulter cette ressource, veuillez <1>contacter le service client</1> pour obtenir de l'aide. Il se peut que votre identifiant Red Hat ne soit pas associé à un compte approprié pour votre organisation ou que votre abonnement présente un dysfonctionnement. Quel que soit le problème rencontré, le service client devrait pouvoir vous aider à le résoudre.",
53
53
  'Support subscription required': "Abonnement à l'assistance technique requis",
54
54
  'The credentials you provided are valid, but you do not have<strong>direct support from Red Hat.</strong>': "Les certifications que vous avez fournies sont valides, mais vous ne bénéficiez pas de l' <strong>assistance technique directe de Red Hat</strong>.",
55
- Accounts: 'Comptes',
55
+ i18nAccounts: 'Comptes',
56
56
  'Search for an account': 'Rechercher un compte',
57
57
  Bookmark: 'Signet',
58
58
  'Search for an bookmark': "Recherche d'un signet",
59
59
  Advanced: 'Avancé',
60
60
  Username: "Nom d'utilisateur",
61
61
  Basic: 'De base',
62
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': 'Entrez la requête SOLR, par exemple : sévérité : ""1 (Urgent)"" et -statut : ""Attente Client""',
62
+ i18nEnterSolrQuery: 'Entrez la requête SOLR, par exemple : sévérité : ""1 (Urgent)"" et -statut : ""Attente Client""',
63
63
  Export: 'Exportation',
64
64
  'Close case': 'Clôturer le dossier',
65
65
  Collapse: 'Effondrement',
@@ -79,10 +79,10 @@ export default {
79
79
  'Please address the errors to proceed': 'Veuillez corriger les erreurs pour poursuivre',
80
80
  'Search for an email address or username of the person you want to notify': "Recherchez l'adresse électronique ou le nom d'utilisateur de la personne que vous souhaitez avertir",
81
81
  //Feedback Form
82
- 'Send us your feedback': 'Envoyez-nous vos commentaires',
83
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': "Faites-nous savoir si vous avez trouvé un bogue ou si vous avez une suggestion pour améliorer l'expérience web.",
82
+ i18nSendUsFeedback: 'Envoyez-nous vos commentaires',
83
+ i18nFeedbackFormFoundBug: "Faites-nous savoir si vous avez trouvé un bogue ou si vous avez une suggestion pour améliorer l'expérience web.",
84
84
  'How can we improve?': 'Comment pouvons-nous améliorer les choses?',
85
- 'Describe your suggestion in detail': 'Décrivez votre suggestion en détail',
85
+ i18nDescribeSuggestionDetail: 'Décrivez votre suggestion en détail',
86
86
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': "Les commentaires sont envoyés à l'équipe Web qui travaille sur cette application, et non au collaborateur de l'assistance technique qui s'occupe de votre cas.",
87
87
  'Send feedback': 'Envoyez vos commentaires',
88
88
  };
@@ -49,17 +49,17 @@ declare const _default: {
49
49
  'click here': string;
50
50
  'for more information about the ICE process.': string;
51
51
  'for more information.': string;
52
- 'If you believe you should have permission to view this resource, please<a href="/support/contact/customerService.html">contact Customer Service</a>for assistance. Your Red Hat login might not be associated with the right account for your organization,\n or there might be an issue with your subscription. Either way, Customer Service should be able to help\n you resolve the problem.': string;
52
+ i18Case403: string;
53
53
  'Support subscription required': string;
54
54
  'The credentials you provided are valid, but you do not have<strong>direct support from Red Hat.</strong>': string;
55
- Accounts: string;
55
+ i18nAccounts: string;
56
56
  'Search for an account': string;
57
57
  Bookmark: string;
58
58
  'Search for an bookmark': string;
59
59
  Advanced: string;
60
60
  Username: string;
61
61
  Basic: string;
62
- 'Enter SOLR query, for example: severity:"1 (Urgent)" and -status:"Waiting on Customer"': string;
62
+ i18nEnterSolrQuery: string;
63
63
  Export: string;
64
64
  'Close case': string;
65
65
  Collapse: string;
@@ -78,10 +78,10 @@ declare const _default: {
78
78
  'Defect / Bug': string;
79
79
  'Please address the errors to proceed': string;
80
80
  'Search for an email address or username of the person you want to notify': string;
81
- 'Send us your feedback': string;
82
- 'Let us know if you found a bug or if you have a suggestion to improve the web experience.': string;
81
+ i18nSendUsFeedback: string;
82
+ i18nFeedbackFormFoundBug: string;
83
83
  'How can we improve?': string;
84
- 'Describe your suggestion in detail': string;
84
+ i18nDescribeSuggestionDetail: string;
85
85
  'Feedback is sent to the web team working on this application, not the support associate working on your case.': string;
86
86
  'Send feedback': string;
87
87
  };
@@ -1 +1 @@
1
- {"version":3,"file":"template-it.d.ts","sourceRoot":"","sources":["../../../src/i18n/template-it.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAsHE"}
1
+ {"version":3,"file":"template-it.d.ts","sourceRoot":"","sources":["../../../src/i18n/template-it.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAqHE"}