@rh-support/manage 2.6.1 → 2.32.2-prodBackup
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/Configs/ConfigsTable.d.ts.map +1 -1
- package/lib/esm/components/Configs/ConfigsTable.js +6 -4
- package/lib/esm/components/Groups/DefualtGroupSwitch/DefaultGroupSwitch.d.ts.map +1 -1
- package/lib/esm/components/Groups/DefualtGroupSwitch/DefaultGroupSwitch.js +1 -1
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.d.ts.map +1 -1
- package/lib/esm/components/Groups/GroupSelect/GroupSelect.js +54 -23
- package/lib/esm/components/Groups/GroupUserPermissionsSelect/GroupUserPermissionsSelect.d.ts.map +1 -1
- package/lib/esm/components/Groups/GroupUserPermissionsSelect/GroupUserPermissionsSelect.js +19 -14
- package/lib/esm/components/Groups/ManageGroupUsers/ManageGroupUsers.js +5 -5
- package/lib/esm/components/ManageBookmarkedAccountsTab/AddEditBookmarkModal.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/AddEditBookmarkModal.js +15 -12
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkAccountSelector.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/BookmarkAccountSelector.js +106 -67
- package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.d.ts.map +1 -1
- package/lib/esm/components/ManageBookmarkedAccountsTab/ManageGroupedBookmarkedAccountsTab.js +14 -21
- package/lib/esm/components/ManageExpiredContents/ExpiredContentCategory.js +4 -4
- package/lib/esm/components/ManageExpiredContents/ExpiredContentHeader.js +1 -1
- package/lib/esm/components/ManageExpiredContents/ExpiredContentManager.d.ts.map +1 -1
- package/lib/esm/components/ManageExpiredContents/ExpiredContentManager.js +12 -12
- package/lib/esm/components/ManageExpiredContents/ExpiredContentSingleItem.js +3 -3
- package/lib/esm/components/ManageExpiredContents/ExpiredContentSingleItemView.d.ts.map +1 -1
- package/lib/esm/components/ManageExpiredContents/ExpiredContentSingleItemView.js +37 -35
- package/lib/esm/components/ManagePartnerships/NonOrgCustomerInfoModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/NonOrgCustomerInfoModal.js +8 -5
- package/lib/esm/components/ManagePartnerships/PartnershipsList.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/PartnershipsList.js +8 -9
- package/lib/esm/components/ManagePartnerships/PartnershipsTermsModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/PartnershipsTermsModal.js +17 -20
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/RequestCollaborationModal.js +21 -25
- package/lib/esm/components/ManagePartnerships/Requests.d.ts.map +1 -1
- package/lib/esm/components/ManagePartnerships/Requests.js +9 -9
- package/lib/esm/components/ManagePartnerships/index.js +1 -1
- package/lib/esm/components/ManagePreferences/PreferencesHeader.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/PreferencesHeader.js +1 -1
- package/lib/esm/components/ManagePreferences/components/PreferenceSelect.d.ts +1 -1
- package/lib/esm/components/ManagePreferences/components/PreferenceSelect.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/components/PreferenceSelect.js +26 -27
- package/lib/esm/components/ManagePreferences/sections/PreferencesACL.js +5 -5
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseCreate.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseCreate.js +4 -5
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseSearch.d.ts.map +1 -1
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseSearch.js +3 -4
- package/lib/esm/components/ManagePreferences/sections/PreferencesCaseView.js +7 -8
- package/lib/esm/components/ManageTable/ManageTable.d.ts +3 -4
- package/lib/esm/components/ManageTable/ManageTable.d.ts.map +1 -1
- package/lib/esm/components/ManageTable/ManageTable.js +12 -18
- package/lib/esm/components/ManageTags/TagsManager.d.ts.map +1 -1
- package/lib/esm/components/ManageTags/TagsManager.js +58 -50
- package/lib/esm/components/NotificationEmails/NotificationEmailsModal.d.ts.map +1 -1
- package/lib/esm/components/NotificationEmails/NotificationEmailsModal.js +30 -23
- package/lib/esm/components/NotificationEmails/index.d.ts.map +1 -1
- package/lib/esm/components/NotificationEmails/index.js +10 -7
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimit.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimit.js +2 -3
- package/lib/esm/components/TopContentManagement/CategoryLimit/CategoryLimitGuidelines.js +6 -6
- package/lib/esm/components/TopContentManagement/CategoryLimit/QuestionAnswer.js +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/ContentAccordion.js +7 -9
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricClickCount.d.ts +1 -0
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricClickCount.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricClickCount.js +2 -2
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetrics.js +12 -10
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.d.ts +2 -3
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/PerformanceMetricsSelect.js +16 -9
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/ContentUsage/VersionPerformanceMetrics.js +15 -16
- package/lib/esm/components/TopContentManagement/NoTopContentFound.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/NoTopContentFound.js +14 -15
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/AddNewCategoryDropDown.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/AddNewCategoryDropDown.js +47 -39
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentCategory.js +4 -4
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentCategoryNew.js +3 -3
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentComponent.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentComponent.js +4 -6
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItem.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItem.js +62 -53
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItemLink.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentCategoryContent/TopContentSingleItemLink.js +2 -3
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentEditor.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentEditor.js +8 -9
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestion.js +2 -2
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHint.js +4 -5
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.js +51 -25
- package/lib/esm/components/TopContentManagement/TopContentHeader.js +1 -1
- package/lib/esm/components/TopContentManagement/TopContentProductVersionSelector.d.ts.map +1 -1
- package/lib/esm/components/TopContentManagement/TopContentProductVersionSelector.js +64 -32
- package/lib/esm/reducers/TagManagmentReducer.d.ts +1 -1
- package/lib/esm/reducers/TagManagmentReducer.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +158 -25
- package/lib/esm/scss/_pf-overrides.scss +61 -53
- package/lib/esm/scss/index.scss +4 -4
- package/package.json +12 -12
|
@@ -149,13 +149,13 @@ export function TopContentEditor() {
|
|
|
149
149
|
React.createElement(TopContentHeader, null),
|
|
150
150
|
!topContentResponse.isFetching && topContentResponse.isError && (React.createElement(Alert, { isInline: true, variant: AlertVariant.danger, title: React.createElement(Trans, null, "Error loading Top Content") })),
|
|
151
151
|
React.createElement(TopContentProductVersionSelector, { selectedProduct: selectedProduct, selectedVersion: selectedVersion, onProductChange: onProductChange, onVersionChange: onVersionChange }),
|
|
152
|
-
!topContentResponse.isFetching && (React.createElement("div", { className: "toolbar" },
|
|
152
|
+
!topContentResponse.isFetching && (React.createElement("div", { className: "toolbar secondary-toolbar" },
|
|
153
153
|
React.createElement(TopContentSearch, { dataTrackingId: "top-content-filter-manage", topContentData: flagContentEditState, onSearch: onSearch, topContentResultsWrapperRef: topContentResultsRef, searchQuery: searchQuery, setSearchQuery: setSearchQuery, className: "toolbar-content", isDisabled: isEmpty(flagContentEditState) }),
|
|
154
|
-
React.createElement("div", { className: "toolbar-content pf-
|
|
154
|
+
React.createElement("div", { className: "toolbar-content pf-v6-u-ml-md" },
|
|
155
155
|
React.createElement("label", { htmlFor: 'tag-selector' },
|
|
156
156
|
React.createElement(Trans, null, "All tags")),
|
|
157
|
-
React.createElement(TagsSelector, { tagOptions: tags, onChange: onTagFilterChange, selectedTags: filteredTags, disabled: isEmpty(flagContentEditState) })))),
|
|
158
|
-
React.createElement("div", { className: "top-content-manage-wrapper pf-
|
|
157
|
+
React.createElement(TagsSelector, { typeahead: true, tagOptions: tags, onChange: onTagFilterChange, selectedTags: filteredTags, disabled: isEmpty(flagContentEditState) })))),
|
|
158
|
+
React.createElement("div", { className: "top-content-manage-wrapper pf-v6-u-p-md" },
|
|
159
159
|
!topContentResponse.isFetching && React.createElement(TopContentSuggestion, { searchQuery: searchQuery }),
|
|
160
160
|
topContentResponse.isFetching ? (React.createElement(Bullseye, null,
|
|
161
161
|
React.createElement(EmptyState, { variant: EmptyStateVariant.full },
|
|
@@ -166,7 +166,7 @@ export function TopContentEditor() {
|
|
|
166
166
|
provided.innerRef(el);
|
|
167
167
|
topContentResultsRef.current = el;
|
|
168
168
|
} }),
|
|
169
|
-
React.createElement(Accordion, { asDefinitionList: true },
|
|
169
|
+
React.createElement(Accordion, { asDefinitionList: true, togglePosition: "start" },
|
|
170
170
|
!topContentResponse.isFetching &&
|
|
171
171
|
filteredTC.map((category, i) => (React.createElement("div", { key: `div-${i}-${category.id}` },
|
|
172
172
|
category.catMode === CategoryMode.EXISTING_SECTION && (React.createElement(Draggable, { draggableId: `c${category.id}`, index: i, isDragDisabled: !isArrangingCats, key: `c-${i}-${category.id}` }, (provided, snapshot) => category.helperText ? (React.createElement(Tooltip, { content: React.createElement("div", null, category.helperText) },
|
|
@@ -179,15 +179,14 @@ export function TopContentEditor() {
|
|
|
179
179
|
: category.id === categoryToOpen, category: category, provided: provided, innerRef: provided.innerRef, isArrangingCats: isArrangingCats, snapshot: snapshot })))),
|
|
180
180
|
category.catMode === CategoryMode.NEW_SECTION && (React.createElement(TopContentCategoryNew, { category: category, key: 'new-section', version: newCategoryVersion }))))),
|
|
181
181
|
provided.placeholder),
|
|
182
|
-
React.createElement("div", { className: "pf-
|
|
182
|
+
React.createElement("div", { className: "pf-v6-u-p-md" },
|
|
183
183
|
showSectionFooter && (React.createElement(React.Fragment, null,
|
|
184
184
|
isCategoryLimitReached && React.createElement(CategoryLimit, null),
|
|
185
185
|
React.createElement(Button, { variant: "primary", onClick: () => onAddCategory(isContentOnlyForMajorVersion, false, selectedVersion), isDisabled: isCategoryLimitReached, id: "add-new-section-topcontent", "data-tracking-id": "add-new-section-topcontent" },
|
|
186
186
|
React.createElement(Trans, null, "Add a new section")),
|
|
187
|
-
|
|
188
|
-
React.createElement(Button, { variant: "secondary", onClick: arrangeSection, isDisabled: flagContentEditState.length < 2 },
|
|
187
|
+
React.createElement(Button, { variant: "secondary", className: "pf-v6-u-ml-sm", onClick: arrangeSection, isDisabled: flagContentEditState.length < 2 },
|
|
189
188
|
React.createElement(Trans, null, "Arrange section")),
|
|
190
|
-
isMajorOrNamedVersion(selectedVersion) && (React.createElement(Button, { variant: "link", className: "pf-
|
|
189
|
+
isMajorOrNamedVersion(selectedVersion) && (React.createElement(Button, { variant: "link", className: "pf-v6-u-float-right pf-v6-u-ml-sm", isInline: true, onClick: onOpenModal },
|
|
191
190
|
React.createElement(Trans, null, "View performance"))))),
|
|
192
191
|
isArrangingCats && (React.createElement(React.Fragment, null,
|
|
193
192
|
React.createElement(Button, { variant: "primary", onClick: onSaveArrangement },
|
|
@@ -34,7 +34,7 @@ export const TopContentSuggestion = ({ searchQuery = '' }) => {
|
|
|
34
34
|
if (ref.current == null)
|
|
35
35
|
return;
|
|
36
36
|
setExpanded(!isEmpty(searchQuery));
|
|
37
|
-
const containers = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.querySelectorAll('div.pf-
|
|
37
|
+
const containers = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.querySelectorAll('div.pf-v6-c-card');
|
|
38
38
|
const markInstance = new Mark(containers);
|
|
39
39
|
markInstance.unmark({
|
|
40
40
|
done: () => {
|
|
@@ -46,7 +46,7 @@ export const TopContentSuggestion = ({ searchQuery = '' }) => {
|
|
|
46
46
|
}, [searchedContent, searchQuery]);
|
|
47
47
|
if (isEmpty(searchedContent))
|
|
48
48
|
return React.createElement(React.Fragment, null);
|
|
49
|
-
return (React.createElement(Panel, { variant: "raised", className: "pf-
|
|
49
|
+
return (React.createElement(Panel, { variant: "raised", className: "pf-v6-u-mx-md pf-v6-u-p-md top-content-panel", ref: ref },
|
|
50
50
|
React.createElement(PanelMain, null,
|
|
51
51
|
React.createElement(PanelMainBody, null,
|
|
52
52
|
React.createElement(ExpandableSection, { onToggle: onToggle, isExpanded: isExpanded, toggleContent: React.createElement(Title, { headingLevel: "h6", className: "accordion_title" },
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { Button,
|
|
10
|
+
import { Button, Card, CardBody, Truncate } from '@patternfly/react-core';
|
|
11
11
|
import { ToastNotification, useConfirmation } from '@rh-support/components';
|
|
12
12
|
import React, { useState } from 'react';
|
|
13
13
|
import { Trans, useTranslation } from 'react-i18next';
|
|
@@ -32,7 +32,6 @@ export const TopContentSuggestionHint = ({ resources }) => {
|
|
|
32
32
|
yield confirmation({
|
|
33
33
|
catchOnCancel: true,
|
|
34
34
|
confirmText: t('Yes, I am sure'),
|
|
35
|
-
confirmButtonVariant: ButtonVariant.danger,
|
|
36
35
|
description: ignoreModalContent,
|
|
37
36
|
});
|
|
38
37
|
setIsRemoving(true);
|
|
@@ -50,12 +49,12 @@ export const TopContentSuggestionHint = ({ resources }) => {
|
|
|
50
49
|
setIsRemoving(false);
|
|
51
50
|
}
|
|
52
51
|
});
|
|
53
|
-
return !isAccepted ? (React.createElement(Card, { className: "pf-
|
|
52
|
+
return !isAccepted ? (React.createElement(Card, { className: "pf-v6-u-m-sm card-hint" },
|
|
54
53
|
React.createElement(CardBody, { className: "card-body" },
|
|
55
54
|
React.createElement("span", { className: "hint-title", "data-testid": "suggestion-content-title" },
|
|
56
55
|
React.createElement(Truncate, { content: resources === null || resources === void 0 ? void 0 : resources.resourceTitle })),
|
|
57
|
-
React.createElement("span", { className: "pf-
|
|
58
|
-
React.createElement(Button, { variant: "link", isInline: true, className: "pf-
|
|
56
|
+
React.createElement("span", { className: "pf-v6-u-float-right" },
|
|
57
|
+
React.createElement(Button, { variant: "link", isInline: true, className: "pf-v6-u-mr-xl", onClick: () => setAccepted(true), title: "Accept" },
|
|
59
58
|
React.createElement("b", null,
|
|
60
59
|
React.createElement(Trans, null, "Accept"))),
|
|
61
60
|
React.createElement(Button, { variant: "link", isInline: true, onClick: onIgnore, isDisabled: isRemoving },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopContentSuggestionHintAccept.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;
|
|
1
|
+
{"version":3,"file":"TopContentSuggestionHintAccept.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TopContentManagement/TopContentEditor/TopContentSuggestion/TopContentSuggestionHintAccept.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;AAyBrH,OAAc,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAgB7E,UAAU,MAAM;IACZ,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,mBAAmB,CAAC;CAClC;AAED,eAAO,MAAM,8BAA8B,EAAE,EAAE,CAAC,MAAM,CAuTrD,CAAC"}
|
|
@@ -7,15 +7,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { Button, Card, CardBody, Form, FormGroup, TextInput, Tooltip, ValidatedOptions } from '@patternfly/react-core';
|
|
11
|
-
import { Select, SelectOption, SelectVariant } from '@patternfly/react-core/deprecated';
|
|
10
|
+
import { Button, Card, CardBody, Form, FormGroup, MenuToggle, Select, SelectList, SelectOption, TextInput, TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, Tooltip, ValidatedOptions, } from '@patternfly/react-core';
|
|
12
11
|
import PencilAltIcon from '@patternfly/react-icons/dist/js/icons/pencil-alt-icon';
|
|
13
|
-
import { ToastNotification } from '@rh-support/components';
|
|
12
|
+
import { ToastNotification, useSelectKeyboardNavigator } from '@rh-support/components';
|
|
14
13
|
import { getVersion, isRegularVersion, isValidUrl } from '@rh-support/utils';
|
|
15
14
|
import isEmpty from 'lodash/isEmpty';
|
|
16
15
|
import isUndefined from 'lodash/isUndefined';
|
|
17
16
|
import trim from 'lodash/trim';
|
|
18
|
-
import React, { useEffect, useMemo, useState } from 'react';
|
|
17
|
+
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
19
18
|
import { Trans, useTranslation } from 'react-i18next';
|
|
20
19
|
import { CATEGORY_LIMIT } from '../../../../constants/TopContent';
|
|
21
20
|
import { useTopContentContext, useTopContentDispatchContext } from '../../../../context/TopContentProvider';
|
|
@@ -31,6 +30,9 @@ export const TopContentSuggestionHintAccept = ({ onCancel, resources }) => {
|
|
|
31
30
|
const [isSaving, setIsSaving] = useState(false);
|
|
32
31
|
const [resourceTitle, setResourceTitle] = useState('');
|
|
33
32
|
const [isEditClicked, setIsEditClicked] = useState(false);
|
|
33
|
+
const [inputValue, setInputValue] = useState('');
|
|
34
|
+
const [shouldFilter, setShouldFilter] = useState(false);
|
|
35
|
+
const textInputRef = useRef();
|
|
34
36
|
const categoryToSave = useMemo(() => topContentEditState.find((category) => category.categoryId === (selected === null || selected === void 0 ? void 0 : selected.id)), [topContentEditState, selected]);
|
|
35
37
|
const flagContentEditState = useMemo(() => flagContentUsage(topContentEditState, categoryUsage, selectedVersion), [topContentEditState, categoryUsage, selectedVersion]);
|
|
36
38
|
const isMajorVersionOnly = isUndefined(getVersion(selectedVersion).minor);
|
|
@@ -43,18 +45,43 @@ export const TopContentSuggestionHintAccept = ({ onCancel, resources }) => {
|
|
|
43
45
|
!isAddingCategory;
|
|
44
46
|
const isCategoryLimitReached = (minorSelectedNoMinorContentButAvailableMajorContent ? [] : flagContentEditState).length >= CATEGORY_LIMIT.MAX;
|
|
45
47
|
const isCategoryInList = flagContentEditState.some((c) => c.categoryId === (selected === null || selected === void 0 ? void 0 : selected.id));
|
|
46
|
-
const onToggle = (isExpanded) => {
|
|
47
|
-
setSelectOpen(isExpanded);
|
|
48
|
-
};
|
|
49
|
-
const onSelect = (event, selection, isPlaceholder) => {
|
|
50
|
-
setSelected(selection);
|
|
51
|
-
onToggle(false);
|
|
52
|
-
};
|
|
53
48
|
const isDisabled = isEmpty(linkToContent) ||
|
|
54
49
|
isEmpty(trim(resourceTitle)) ||
|
|
55
50
|
isUndefined(selected) ||
|
|
56
51
|
!isValidUrl(linkToContent) ||
|
|
57
52
|
(isCategoryLimitReached && !isCategoryInList);
|
|
53
|
+
const onToggleClick = () => {
|
|
54
|
+
var _a;
|
|
55
|
+
setSelectOpen((prev) => !prev);
|
|
56
|
+
if (!isSelectOpen) {
|
|
57
|
+
setShouldFilter(false);
|
|
58
|
+
}
|
|
59
|
+
(_a = textInputRef === null || textInputRef === void 0 ? void 0 : textInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
60
|
+
};
|
|
61
|
+
const computeFilteredCategories = () => {
|
|
62
|
+
if (!categories.data)
|
|
63
|
+
return [];
|
|
64
|
+
return shouldFilter && (inputValue === null || inputValue === void 0 ? void 0 : inputValue.trim())
|
|
65
|
+
? categories.data.filter((category) => category.categoryName.toLowerCase().includes(inputValue === null || inputValue === void 0 ? void 0 : inputValue.toLowerCase()))
|
|
66
|
+
: categories.data;
|
|
67
|
+
};
|
|
68
|
+
const { onInputKeyDown, focusedItemIndex } = useSelectKeyboardNavigator({
|
|
69
|
+
list: computeFilteredCategories(),
|
|
70
|
+
isOpen: isSelectOpen,
|
|
71
|
+
setIsOpen: setSelectOpen,
|
|
72
|
+
onSelect: (category) => onCategorySelect(category),
|
|
73
|
+
});
|
|
74
|
+
const onInputQueryChange = (_event, query) => {
|
|
75
|
+
if (isSelectOpen) {
|
|
76
|
+
setInputValue(query);
|
|
77
|
+
setShouldFilter(true);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const onCategorySelect = (selection) => {
|
|
81
|
+
setSelected(selection);
|
|
82
|
+
setInputValue(selection.categoryName);
|
|
83
|
+
setSelectOpen(false);
|
|
84
|
+
};
|
|
58
85
|
const addContentToCategory = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
59
86
|
try {
|
|
60
87
|
setIsSaving(true);
|
|
@@ -106,16 +133,14 @@ export const TopContentSuggestionHintAccept = ({ onCancel, resources }) => {
|
|
|
106
133
|
addContentToCategory();
|
|
107
134
|
}
|
|
108
135
|
});
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
return getCategoryOptions(newOptions);
|
|
118
|
-
};
|
|
136
|
+
const toggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, variant: "typeahead", onClick: onToggleClick, isExpanded: isSelectOpen, isDisabled: categories.isError || categories.isFetching, isFullWidth: true },
|
|
137
|
+
React.createElement(TextInputGroup, { isPlain: true },
|
|
138
|
+
React.createElement(TextInputGroupMain, { value: inputValue, onClick: onToggleClick, onChange: onInputQueryChange, onKeyDown: onInputKeyDown, autoComplete: "off", innerRef: textInputRef, placeholder: t('Select an option or enter a new category'), role: "combobox", isExpanded: isSelectOpen, "aria-controls": "select-typeahead-listbox" }),
|
|
139
|
+
categories.isFetching && (React.createElement(TextInputGroupUtilities, null,
|
|
140
|
+
React.createElement("span", { className: "pf-v6-c-spinner pf-m-md", role: "progressbar" },
|
|
141
|
+
React.createElement("span", { className: "pf-v6-c-spinner__clipper" }),
|
|
142
|
+
React.createElement("span", { className: "pf-v6-c-spinner__lead-ball" }),
|
|
143
|
+
React.createElement("span", { className: "pf-v6-c-spinner__tail-ball" })))))));
|
|
119
144
|
useEffect(() => {
|
|
120
145
|
setResourceTitle(resources.resourceTitle);
|
|
121
146
|
}, [resources.resourceTitle]);
|
|
@@ -127,21 +152,22 @@ export const TopContentSuggestionHintAccept = ({ onCancel, resources }) => {
|
|
|
127
152
|
ToastNotification.addDangerMessage(t('There was an error loading top content categories'));
|
|
128
153
|
}
|
|
129
154
|
}, [topContentDispatch, t]);
|
|
130
|
-
return (React.createElement(Card, { className: "pf-
|
|
155
|
+
return (React.createElement(Card, { className: "pf-v6-u-m-sm" },
|
|
131
156
|
React.createElement(CardBody, { className: "card-hint" },
|
|
132
157
|
React.createElement(Form, null,
|
|
133
158
|
isEditClicked ? (React.createElement(FormGroup, { label: t('Heading'), isRequired: true, fieldId: "simple-form-email-01" },
|
|
134
159
|
React.createElement(TextInput, { isRequired: true, type: "text", id: "top-content-headline-category", name: "top-content-headline-category", "data-tracking-id": "top-content-headline-category", value: resourceTitle, onChange: (_event, val) => setResourceTitle(val), placeholder: t('Copy and paste the heading for consistency'), validated: isEmpty(trim(resourceTitle)) ? ValidatedOptions.error : ValidatedOptions.default }))) : (React.createElement("span", null,
|
|
135
160
|
React.createElement(Button, { variant: "link", isInline: true },
|
|
136
161
|
React.createElement("u", null,
|
|
137
|
-
React.createElement("a", { className: "hint-title pf-
|
|
162
|
+
React.createElement("a", { className: "hint-title pf-v6-u-font-size-md", target: "_blank", href: linkToContent, rel: "noreferrer" }, resources.resourceTitle))),
|
|
138
163
|
React.createElement(Tooltip, { content: t('Edit heading'), position: "top" },
|
|
139
164
|
React.createElement(Button, { variant: "link", icon: React.createElement(PencilAltIcon, null), onClick: () => setIsEditClicked((pre) => !pre) })))),
|
|
140
165
|
React.createElement(FormGroup, { label: t('Category'), isRequired: true, fieldId: "simple-form-email-01" },
|
|
141
|
-
React.createElement(Select,
|
|
166
|
+
React.createElement(Select, { id: "category-selection", "data-testid": "category-selection", isOpen: isSelectOpen, selected: selected === null || selected === void 0 ? void 0 : selected.categoryName, onSelect: (event, val) => onCategorySelect(val), onOpenChange: () => setSelectOpen(false), toggle: toggle, shouldFocusFirstItemOnOpen: false, isScrollable: true },
|
|
167
|
+
React.createElement(SelectList, null, computeFilteredCategories().map((category, index) => (React.createElement(SelectOption, { key: index, isFocused: focusedItemIndex === index, value: category, isSelected: category.id === (selected === null || selected === void 0 ? void 0 : selected.id) }, category.categoryName)))))),
|
|
142
168
|
isEditClicked && (React.createElement(FormGroup, { label: t('Link to content'), isRequired: true, fieldId: "top-content-link" },
|
|
143
169
|
React.createElement(TextInput, { type: "text", id: "top-content-resource-link", name: "top-content-resource-link", "data-tracking-id": "top-content-resource-link", value: linkToContent, isDisabled: true }))),
|
|
144
|
-
React.createElement("div", { className: "pf-
|
|
170
|
+
React.createElement("div", { className: "pf-v6-u-mt-sm" },
|
|
145
171
|
isCategoryLimitReached && !isCategoryInList && !isUndefined(selected) && React.createElement(CategoryLimit, null),
|
|
146
172
|
React.createElement(Button, { variant: "primary", onClick: onSaveContent, isDisabled: isSaving || isDisabled, isLoading: isSaving, "data-tracking-id": "suggested-content-save-button" },
|
|
147
173
|
React.createElement(Trans, null, "Save")),
|
|
@@ -4,6 +4,6 @@ export function TopContentHeader() {
|
|
|
4
4
|
return (React.createElement("header", null,
|
|
5
5
|
React.createElement("h2", null,
|
|
6
6
|
React.createElement(Trans, null, "Top content")),
|
|
7
|
-
React.createElement("p", { className: "pf-
|
|
7
|
+
React.createElement("p", { className: "pf-v6-u-mt-md pf-v6-u-mb-sm" },
|
|
8
8
|
React.createElement(Trans, null, "Add, edit, or remove top content solutions and categories. You can also create a new set of top content recommendations for specific versions."))));
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopContentProductVersionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/TopContentManagement/TopContentProductVersionSelector.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,QAAQ,IAAI,aAAa,
|
|
1
|
+
{"version":3,"file":"TopContentProductVersionSelector.d.ts","sourceRoot":"","sources":["../../../../src/components/TopContentManagement/TopContentProductVersionSelector.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAc,MAAM,wCAAwC,CAAC;AAY/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,UAAU,MAAO,SAAQ,gBAAgB;IACrC,eAAe,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IAC3D,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC;CACrB;AAQD,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,aAAa,CAAC,MAAM,EAAE,CAAC,2BAG1E;AAqBD,iBAAS,gCAAgC,CAAC,KAAK,EAAE,MAAM,qBAiNtD;kBAjNQ,gCAAgC;;;AAoNzC,OAAO,EAAE,gCAAgC,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { products as productsApi } from '@cee-eng/hydrajs';
|
|
2
|
-
import { Select, SelectOption,
|
|
3
|
-
import
|
|
4
|
-
import { useFetch } from '@rh-support/components';
|
|
2
|
+
import { Button, MenuToggle, Select, SelectOption, TextInputGroup, TextInputGroupMain, } from '@patternfly/react-core';
|
|
3
|
+
import TimesCircleIcon from '@patternfly/react-icons/dist/js/icons/times-circle-icon';
|
|
4
|
+
import { SingleSelectDropdown, useFetch } from '@rh-support/components';
|
|
5
5
|
import { getUniqueSortedVersions, getVersion } from '@rh-support/utils';
|
|
6
6
|
import isEmpty from 'lodash/isEmpty';
|
|
7
|
-
import React, { useEffect, useState } from 'react';
|
|
7
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
8
8
|
import { Trans, useTranslation } from 'react-i18next';
|
|
9
9
|
import { useTopContentDispatchContext } from '../../context/TopContentProvider';
|
|
10
10
|
import { setIsAddingCategory } from '../../reducers/TopContentReducer';
|
|
@@ -41,10 +41,14 @@ function TopContentProductVersionSelector(props) {
|
|
|
41
41
|
const { request: getProducts, isFetching: isLoadingProducts, data: products, } = useFetch(productsApi.getProducts, {
|
|
42
42
|
initialData: [],
|
|
43
43
|
});
|
|
44
|
-
const { request: getProductVersions,
|
|
44
|
+
const { request: getProductVersions, data: versions } = useFetch(productsApi.getProductVersions, {
|
|
45
|
+
initialData: [],
|
|
46
|
+
postProcessor: postVersionsProcessor,
|
|
47
|
+
});
|
|
45
48
|
const [isProductOpen, setIsProductOpen] = useState(false);
|
|
46
|
-
const [isVersionOpen, setIsVersionOpen] = useState(false);
|
|
47
49
|
const [selected, setSelected] = useState(undefined);
|
|
50
|
+
const [input, setInput] = useState('');
|
|
51
|
+
const textInputRef = useRef();
|
|
48
52
|
const { selectedVersion } = props;
|
|
49
53
|
const topContentDispatch = useTopContentDispatchContext();
|
|
50
54
|
const productOptions = products === null || products === void 0 ? void 0 : products.map((p, id) => (Object.assign(Object.assign({}, p), { toString: function () {
|
|
@@ -68,9 +72,10 @@ function TopContentProductVersionSelector(props) {
|
|
|
68
72
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
69
73
|
}, [versions]);
|
|
70
74
|
const onProductChange = (option) => {
|
|
75
|
+
var _a;
|
|
71
76
|
setIsAddingCategory(topContentDispatch, false);
|
|
72
77
|
props.onProductChange(option);
|
|
73
|
-
getProductVersions(option.name);
|
|
78
|
+
getProductVersions((_a = option === null || option === void 0 ? void 0 : option.name) !== null && _a !== void 0 ? _a : '');
|
|
74
79
|
};
|
|
75
80
|
const onVersionChange = (option) => {
|
|
76
81
|
setIsAddingCategory(topContentDispatch, false);
|
|
@@ -79,46 +84,73 @@ function TopContentProductVersionSelector(props) {
|
|
|
79
84
|
const onProductClear = () => {
|
|
80
85
|
onProductChange({ name: '', id: '' });
|
|
81
86
|
setSelected(undefined);
|
|
87
|
+
setInput('');
|
|
82
88
|
};
|
|
83
|
-
const getProductOptions = (options) => {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
return getProductOptions(productOptions);
|
|
92
|
-
const input = new RegExp(value, 'i');
|
|
93
|
-
const newOptions = productOptions === null || productOptions === void 0 ? void 0 : productOptions.filter((p) => input.test(p.name));
|
|
94
|
-
return getProductOptions(newOptions);
|
|
89
|
+
const getProductOptions = (options, filterValue = '') => {
|
|
90
|
+
const filteredOptions = filterValue && filterValue !== (selected === null || selected === void 0 ? void 0 : selected.name)
|
|
91
|
+
? options.filter((p) => new RegExp(filterValue, 'i').test(p.name))
|
|
92
|
+
: options;
|
|
93
|
+
if (filteredOptions.length === 0) {
|
|
94
|
+
return React.createElement(SelectOption, { key: "no-results" }, t('No results found'));
|
|
95
|
+
}
|
|
96
|
+
return filteredOptions.map((product, index) => (React.createElement(SelectOption, { key: index, value: product.productId, className: "pf-v6-c-select__menu-wrapper", isSelected: (selected === null || selected === void 0 ? void 0 : selected.productId) === product.productId }, product.name)));
|
|
95
97
|
};
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
+
const onToggleClick = (e) => {
|
|
99
|
+
var _a;
|
|
100
|
+
setIsProductOpen((prev) => !prev);
|
|
101
|
+
(_a = textInputRef === null || textInputRef === void 0 ? void 0 : textInputRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
98
102
|
};
|
|
99
|
-
const onProductSelect = (
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
+
const onProductSelect = (e, selection) => {
|
|
104
|
+
const product = productOptions === null || productOptions === void 0 ? void 0 : productOptions.find((v) => v.productId === selection);
|
|
105
|
+
if (product) {
|
|
106
|
+
onProductChange(product);
|
|
107
|
+
setSelected(product);
|
|
108
|
+
setInput(product.name);
|
|
109
|
+
setIsProductOpen(false);
|
|
110
|
+
}
|
|
103
111
|
};
|
|
104
|
-
const
|
|
105
|
-
|
|
112
|
+
const onChange = (e, value) => {
|
|
113
|
+
setInput(value);
|
|
114
|
+
if (!isProductOpen) {
|
|
115
|
+
setIsProductOpen(true);
|
|
116
|
+
}
|
|
117
|
+
return [];
|
|
106
118
|
};
|
|
107
|
-
const onVersionSelect = (
|
|
108
|
-
onVersionChange(selection);
|
|
109
|
-
onVersionToggle(false);
|
|
119
|
+
const onVersionSelect = (selection) => {
|
|
120
|
+
onVersionChange(selection.value);
|
|
110
121
|
};
|
|
111
122
|
const productLabelId = 'tc-product-dropdown-selector';
|
|
112
123
|
const versionLabelId = 'version-dropdown-selector';
|
|
124
|
+
const getSelectedDropdownOption = {
|
|
125
|
+
label: selectedVersion,
|
|
126
|
+
value: selectedVersion,
|
|
127
|
+
};
|
|
128
|
+
const getVersionOptions = (options) => {
|
|
129
|
+
return options.map((version) => ({
|
|
130
|
+
label: version,
|
|
131
|
+
value: version,
|
|
132
|
+
}));
|
|
133
|
+
};
|
|
134
|
+
const toggle = (toggleRef) => (React.createElement(MenuToggle, { ref: toggleRef, variant: "typeahead", onClick: onToggleClick, isExpanded: isProductOpen, isFullWidth: true, isDisabled: isLoadingProducts, onBlur: () => {
|
|
135
|
+
if (selected) {
|
|
136
|
+
setInput(selected === null || selected === void 0 ? void 0 : selected.name);
|
|
137
|
+
}
|
|
138
|
+
} },
|
|
139
|
+
React.createElement(TextInputGroup, { isPlain: true },
|
|
140
|
+
React.createElement(TextInputGroupMain, { value: input, onClick: onToggleClick, onChange: onChange, autoComplete: "off", innerRef: textInputRef, placeholder: t('Select a product'), role: "combobox", isExpanded: isProductOpen })),
|
|
141
|
+
!isEmpty(selected) && (React.createElement(Button, { variant: "plain", icon: React.createElement(TimesCircleIcon, { "aria-hidden": true }), onClick: (e) => {
|
|
142
|
+
e.stopPropagation();
|
|
143
|
+
onProductClear();
|
|
144
|
+
} }))));
|
|
113
145
|
return (React.createElement("div", { className: "toolbar" },
|
|
114
146
|
React.createElement("div", { className: "toolbar-left" },
|
|
115
147
|
React.createElement("label", { htmlFor: 'tc-product-selector-dropdown-toggle' },
|
|
116
148
|
React.createElement(Trans, null, "Product")),
|
|
117
|
-
React.createElement(Select, Object.assign({
|
|
149
|
+
React.createElement(Select, Object.assign({ isScrollable: true, toggle: toggle, selected: selected, isOpen: isProductOpen, maxMenuHeight: "20rem", onSelect: onProductSelect, onOpenChange: (isOpen) => setIsProductOpen(isOpen) }, (isLoadingProducts && { loadingVariant: 'spinner' }), { id: productLabelId, "data-tracking-id": productLabelId, "aria-label": productLabelId }), getProductOptions(productOptions, input))),
|
|
118
150
|
React.createElement("div", { className: "toolbar-right" },
|
|
119
151
|
React.createElement("label", { htmlFor: "version-selector-dropdown-toggle" },
|
|
120
152
|
React.createElement(Trans, null, "Version")),
|
|
121
|
-
React.createElement(
|
|
153
|
+
React.createElement(SingleSelectDropdown, { placeholder: t('Select a version'), dataTrackingId: "case-details-status-selector", options: getVersionOptions((versions === null || versions === void 0 ? void 0 : versions.items) || []), selected: getSelectedDropdownOption, isDisabled: isEmpty(versions === null || versions === void 0 ? void 0 : versions.items), id: versionLabelId, "data-tracking-id": versionLabelId, onSelect: onVersionSelect, "aria-label": t(versionLabelId) }))));
|
|
122
154
|
}
|
|
123
155
|
TopContentProductVersionSelector.defaultProps = defaultProps;
|
|
124
156
|
export { TopContentProductVersionSelector };
|
|
@@ -7,7 +7,7 @@ export declare enum TagManagementReducerConstants {
|
|
|
7
7
|
deleteTag = "deleteTag",
|
|
8
8
|
resetTags = "resetTags"
|
|
9
9
|
}
|
|
10
|
-
interface ITagItemState extends ITag {
|
|
10
|
+
export interface ITagItemState extends ITag {
|
|
11
11
|
numberOfLinkedContents?: number;
|
|
12
12
|
}
|
|
13
13
|
export interface ITagManagementState {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagManagmentReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/TagManagmentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,IAAI,EAEJ,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC/B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGxE,oBAAY,6BAA6B;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;CAC1B;AAED,
|
|
1
|
+
{"version":3,"file":"TagManagmentReducer.d.ts","sourceRoot":"","sources":["../../../src/reducers/TagManagmentReducer.ts"],"names":[],"mappings":"AACA,OAAO,EACH,IAAI,EAEJ,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC/B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGxE,oBAAY,6BAA6B;IACrC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;CAC1B;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI;IACvC,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AACD,MAAM,WAAW,mBAAmB;IAChC,WAAW,EAAE,mBAAmB,CAAC,IAAI,EAAE,CAAC,CAAC;IACzC,IAAI,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,eAAO,MAAM,yBAAyB,EAAE,mBAGvC,CAAC;AAEF,KAAK,WAAW,GAAG,OAAO,CAAC,6BAA6B,EAAE,mBAAmB,CAAC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAErE,eAAO,MAAM,oBAAoB,UAAW,mBAAmB,UAAU,WAAW,KAAG,mBAsBtF,CAAC;AAEF,eAAO,MAAM,mBAAmB,aAAoB,yBAAyB,qBAAoB,OAAO,mBAsDvG,CAAC;AAEF,eAAO,MAAM,aAAa,aAAoB,yBAAyB,QAAQ,YAAY,EAAE,kBAW5F,CAAC;AAEF,eAAO,MAAM,SAAS,aAAoB,yBAAyB,OAAO,WAAW,aAAa,aAAa,EAAE,kBAahH,CAAC;AAEF,eAAO,MAAM,SAAS,aACR,yBAAyB,cACvB,IAAI,sBACI,mBAAmB,kBAe1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,aACvB,yBAAyB,WAC1B,4BAA4B,sBACjB,mBAAmB,kBAQ1C,CAAC"}
|