@rh-support/manage 2.5.70 → 2.5.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.d.ts.map +1 -1
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.js +3 -2
- package/lib/esm/components/ManageExpiredContents/ExpiredContentSingleItem.js +1 -1
- package/lib/esm/components/ManagePartnerships/PartnershipsList.js +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.js +7 -4
- package/lib/esm/components/ManagePartnerships/Requests.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/Requests.js +3 -2
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.js +1 -1
- package/lib/esm/scss/_main.scss +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/GroupSelect/GroupSelect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"GroupSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Groups/GroupSelect/GroupSelect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AAwC3E,OAAO,KAAmD,MAAM,OAAO,CAAC;AAKxE,UAAU,MAAM;IACZ,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAKD,eAAO,MAAM,WAAW,UAAW,MAAM,sBAwhBxC,CAAC"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { publicApi } from '@cee-eng/hydrajs';
|
|
11
|
-
import { Button, Dropdown, MenuContent, MenuItem, MenuList, MenuToggle, Select, SelectList, SelectOption, Spinner, TextInput, TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, } from '@patternfly/react-core';
|
|
11
|
+
import { Button, Divider, Dropdown, MenuContent, MenuItem, MenuList, MenuToggle, Select, SelectList, SelectOption, Spinner, TextInput, TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, } from '@patternfly/react-core';
|
|
12
12
|
import CogIcon from '@patternfly/react-icons/dist/js/icons/cog-icon';
|
|
13
13
|
import TimesIcon from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
14
14
|
import { AlertMessage, AlertType, ToastNotification, useConfirmation, useFetch, usePrevious, useSelectKeyboardNavigator, } from '@rh-support/components';
|
|
@@ -267,9 +267,10 @@ export const GroupSelect = (props) => {
|
|
|
267
267
|
};
|
|
268
268
|
const dropdownItems = [
|
|
269
269
|
React.createElement(MenuItem, { className: "create-group-action", isDisabled: !ability.can(resourceActions.CREATE, resources.CASE_GROUPS), key: "create", onClick: onActionFocus(actions.create), "data-tracking-id": "manage-group-create" }, t('Create')),
|
|
270
|
+
React.createElement(Divider, { component: "li" }),
|
|
270
271
|
React.createElement(MenuItem, { className: "create-group-action", isDisabled: !selectedGroup || !ability.can(resourceActions.UPDATE, resources.CASE_GROUPS), key: "rename", onClick: onActionFocus(actions.rename), "data-tracking-id": "manage-group-rename" }, t('Rename')),
|
|
271
|
-
React.createElement(MenuItem, { className: "create-group-action", isDisabled: !selectedGroup || !ability.can(resourceActions.DELETE, resources.CASE_GROUPS), key: "delete", onClick: onActionFocus(actions.delete), "data-tracking-id": "manage-group-delete" }, t('Delete')),
|
|
272
272
|
React.createElement(MenuItem, { className: "create-group-action", isDisabled: !selectedGroup || !ability.can(resourceActions.CREATE, resources.CASE_GROUPS), key: "duplicate", onClick: onActionFocus(actions.duplicate), "data-tracking-id": "manage-group-duplicate" }, t('Duplicate')),
|
|
273
|
+
React.createElement(MenuItem, { isDanger: true, className: "create-group-action del-btn", isDisabled: !selectedGroup || !ability.can(resourceActions.DELETE, resources.CASE_GROUPS), key: "delete", onClick: onActionFocus(actions.delete), "data-tracking-id": "manage-group-delete" }, t('Delete')),
|
|
273
274
|
];
|
|
274
275
|
const dropdownToggle = (toggleRef) => (React.createElement(MenuToggle, { isFullHeight: true, className: "pf-v6-u-ml-sm manage-group-actions-toggle-options pf-v6-u-p-md", ref: toggleRef, isDisabled: props.isDisabled || disableOnFetch, onClick: toggleIsDropdownOpen, isExpanded: isDropdownOpen, "data-tracking-id": "manage-group-toggle-options", "aria-label": "Group actions dropdown toggle", icon: React.createElement(CogIcon, null) }));
|
|
275
276
|
const submitActionBtn = useRef();
|
|
@@ -68,7 +68,7 @@ export default function ExpiredContentSingleItem({ content, category }) {
|
|
|
68
68
|
React.createElement("div", null,
|
|
69
69
|
lastModifiedBy,
|
|
70
70
|
" | ",
|
|
71
|
-
React.createElement("span", { className: "pf-v6-u-
|
|
71
|
+
React.createElement("span", { className: "pf-v6-u-text-color-status-danger" }, expiredText),
|
|
72
72
|
" |",
|
|
73
73
|
' ',
|
|
74
74
|
content.product,
|
|
@@ -114,7 +114,7 @@ export function PartnershipsList() {
|
|
|
114
114
|
React.createElement(LoadingIndicator, { isInline: true, show: isDeleting && data.accountNum === isDeletingAccountNum, size: "xs" })), variant: ButtonVariant.plain, "aria-label": t('Remove partnership'), "data-tracking-id": "remove-partnership", onClick: () => removePartnership(data) })),
|
|
115
115
|
},
|
|
116
116
|
];
|
|
117
|
-
const requestCollaborationButton = () => (React.createElement("div",
|
|
117
|
+
const requestCollaborationButton = () => (React.createElement("div", null,
|
|
118
118
|
React.createElement(Button, { variant: ButtonVariant.primary, isInline: true, onClick: () => setIsRequestCollabModalOpen(true), "data-tracking-id": "request-collaboration-button", isDisabled: false },
|
|
119
119
|
React.createElement(Trans, null, "Request Collaboration"))));
|
|
120
120
|
// Get Customer Accounts For A Partner
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestCollaborationModal.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/RequestCollaborationModal.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC;AAID,eAAO,MAAM,yBAAyB,UAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"RequestCollaborationModal.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/RequestCollaborationModal.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,MAAM;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC;AAID,eAAO,MAAM,yBAAyB,UAAW,MAAM,sBAiPtD,CAAC"}
|
|
@@ -121,7 +121,7 @@ export const RequestCollaborationModal = (props) => {
|
|
|
121
121
|
React.createElement("h2", null, isRequestingAgain ? t('Request collaboration again') : t('Request collaboration'))),
|
|
122
122
|
React.createElement(ModalBody, null,
|
|
123
123
|
React.createElement("p", null, "Initiate a new collaboration by generating a unique link for your customer. Check the status under your requests to see if they accept or reject your collaboration."),
|
|
124
|
-
React.createElement(Form, { className: "pf-v6-u-
|
|
124
|
+
React.createElement(Form, { className: "pf-v6-u-mt-md" },
|
|
125
125
|
React.createElement(Grid, { sm: 12, md: 12, lg: 12 },
|
|
126
126
|
React.createElement(GridItem, null,
|
|
127
127
|
React.createElement(FormGroup, { label: t('Name your link'), type: "string", fieldId: partnershipLinkId, isRequired: true },
|
|
@@ -146,7 +146,10 @@ export const RequestCollaborationModal = (props) => {
|
|
|
146
146
|
"Please ",
|
|
147
147
|
React.createElement("strong", null, "copy and send"),
|
|
148
148
|
" this unique link to your customer for approval.")))) : (React.createElement(Trans, null, "Partnership request expiration date is extended."))))),
|
|
149
|
-
React.createElement(ModalFooter, null,
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
React.createElement(ModalFooter, null,
|
|
150
|
+
showDone ? (React.createElement(Button, { key: "done", variant: ButtonVariant.primary, onClick: onDone, isDisabled: validated === 'error' || (!isRequestingAgain && !isCopyClicked && isDoneClicked), "data-tracking-id": "request-collaboration-done-button" },
|
|
151
|
+
React.createElement(Trans, null, "Done"))) : (React.createElement(Button, { key: "next", variant: ButtonVariant.primary, onClick: onNext, isDisabled: validated === 'error' || isFetching, isLoading: isFetching },
|
|
152
|
+
React.createElement(Trans, null, "Next"))),
|
|
153
|
+
!showDone && (React.createElement(Button, { key: "cancel", variant: ButtonVariant.link, onClick: onClose, isDisabled: isFetching },
|
|
154
|
+
React.createElement(Trans, null, "Cancel"))))));
|
|
152
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Requests.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/Requests.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Requests.d.ts","sourceRoot":"","sources":["../../../../src/components/ManagePartnerships/Requests.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAanD,eAAO,MAAM,WAAW,SAAU,MAAM,WAMvC,CAAC;AAGF,eAAO,MAAM,YAAY,SAAU,MAAM,cAAa,MAAM,WAK3D,CAAC;AAEF,wBAAgB,QAAQ,sBAgRvB"}
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { pcm } from '@cee-eng/hydrajs';
|
|
11
|
-
import { AlertVariant, Badge, ExpandableSection, ExpandableSectionToggle, Label, Stack, StackItem, } from '@patternfly/react-core';
|
|
11
|
+
import { AlertVariant, Badge, ButtonVariant, ExpandableSection, ExpandableSectionToggle, Label, Stack, StackItem, } from '@patternfly/react-core';
|
|
12
12
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
13
13
|
import { LoadingIndicator, ToastNotification, useConfirmation } from '@rh-support/components';
|
|
14
14
|
import { UserPreferencesKeys, useUserPreferences } from '@rh-support/react-context';
|
|
@@ -57,6 +57,7 @@ export function Requests() {
|
|
|
57
57
|
title: t('Are you sure?'),
|
|
58
58
|
description: React.createElement(Trans, null, "You will not be able to undo this action after verifying."),
|
|
59
59
|
confirmText: t('Delete'),
|
|
60
|
+
confirmButtonVariant: ButtonVariant.danger,
|
|
60
61
|
});
|
|
61
62
|
try {
|
|
62
63
|
yield pcm.partnerships.removePendingPartnerLink(friendlyName);
|
|
@@ -135,7 +136,7 @@ export function Requests() {
|
|
|
135
136
|
]
|
|
136
137
|
: []),
|
|
137
138
|
{
|
|
138
|
-
title: (React.createElement("div", { className: "pf-v6-u-
|
|
139
|
+
title: (React.createElement("div", { className: "pf-v6-u-text-color-status-danger" },
|
|
139
140
|
React.createElement(Trans, null, "Delete"))),
|
|
140
141
|
onClick: () => deleteRequest(friendlyName),
|
|
141
142
|
itemKey: 'delete-request',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentAccordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/ContentAccordion.tsx"],"names":[],"mappings":"AAUA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,UAAU,MAAM;IACZ,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ContentAccordion.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopContentManagement/ContentUsage/ContentAccordion.tsx"],"names":[],"mappings":"AAUA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,UAAU,MAAM;IACZ,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,MAAM,CAgEvC,CAAC"}
|
|
@@ -25,7 +25,7 @@ export const ContentAccordion = ({ contentList, selectedVersion }) => {
|
|
|
25
25
|
});
|
|
26
26
|
return (React.createElement(AccordionItem, { isExpanded: expanded === topContentId, key: topContentId },
|
|
27
27
|
React.createElement(AccordionToggle, { onClick: onToggle(topContentId), id: contentTitle },
|
|
28
|
-
React.createElement("span", { className: isAttentionNeeded ? 'pf-v6-u-
|
|
28
|
+
React.createElement("span", { className: isAttentionNeeded ? 'pf-v6-u-text-color-status-danger' : '' },
|
|
29
29
|
' ',
|
|
30
30
|
contentTitle)),
|
|
31
31
|
React.createElement(AccordionContent, { id: contentTitle },
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
.toolbar-right {
|
|
133
133
|
flex: 1 1 35%;
|
|
134
134
|
max-width: 35%;
|
|
135
|
+
margin-left: auto;
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
138
|
|
|
@@ -139,7 +140,6 @@
|
|
|
139
140
|
background-color: #d2d2d2;
|
|
140
141
|
border: 1px solid #d2d2d2;
|
|
141
142
|
color: #6a6e73;
|
|
142
|
-
border-radius: var(--pf-t--global--border--radius--small);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.group-actions-dropdown [disabled] {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/manage",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.71",
|
|
4
4
|
"description": "Customer Support Manage App",
|
|
5
5
|
"author": "Jordan Eudy <jeudy100@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"defaults and supports es6-module",
|
|
104
104
|
"maintained node versions"
|
|
105
105
|
],
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "55516f2e9d134de1566ca6d5f5e39e43c92bc296"
|
|
107
107
|
}
|