@rh-support/components 2.1.37 → 2.1.39
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/cjs/AlertMessage/AlertMessage.d.ts +2 -2
- package/lib/cjs/AlertMessage/AlertMessage.d.ts.map +1 -1
- package/lib/cjs/AlertMessage/AlertMessage.js +1 -1
- package/lib/cjs/AlertMessage/index.js +5 -1
- package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts +2 -1
- package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
- package/lib/cjs/ConfirmationModal/ConfirmationContext.js +8 -4
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +1 -1
- package/lib/cjs/ConfirmationModal/index.js +5 -1
- package/lib/cjs/CoverSpinner/CoverSpinner.d.ts +2 -1
- package/lib/cjs/CoverSpinner/CoverSpinner.d.ts.map +1 -1
- package/lib/cjs/CoverSpinner/index.js +5 -1
- package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts +2 -2
- package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
- package/lib/cjs/CustomContentLoader/index.js +5 -1
- package/lib/cjs/CustomTextInput/CustomTextInput.d.ts +1 -1
- package/lib/cjs/CustomTextInput/CustomTextInput.d.ts.map +1 -1
- package/lib/cjs/CustomTextInput/CustomTextInput.js +3 -3
- package/lib/cjs/CustomTextInput/index.js +5 -1
- package/lib/cjs/DropDownList/AsyncDropDownList.js +2 -2
- package/lib/cjs/DropDownList/DropDownList.d.ts +2 -1
- package/lib/cjs/DropDownList/DropDownList.d.ts.map +1 -1
- package/lib/cjs/DropDownList/DropDownList.js +16 -12
- package/lib/cjs/DropDownList/DropdownWrapper.d.ts +1 -1
- package/lib/cjs/DropDownList/DropdownWrapper.d.ts.map +1 -1
- package/lib/cjs/DropDownList/DropdownWrapper.js +1 -1
- package/lib/cjs/DropDownList/MultiSelectDropdownList.js +1 -1
- package/lib/cjs/DropDownList/SearchableList.d.ts +1 -1
- package/lib/cjs/DropDownList/SearchableList.d.ts.map +1 -1
- package/lib/cjs/DropDownList/SearchableList.js +6 -6
- package/lib/cjs/DropDownList/SelectList.d.ts +1 -1
- package/lib/cjs/DropDownList/SelectList.d.ts.map +1 -1
- package/lib/cjs/DropDownList/SelectList.js +4 -4
- package/lib/cjs/DropDownList/async.d.ts +1 -1
- package/lib/cjs/DropDownList/async.js +16 -12
- package/lib/cjs/DropDownList/index.js +5 -1
- package/lib/cjs/DropDownList/types.d.ts +6 -6
- package/lib/cjs/DropDownList/types.d.ts.map +1 -1
- package/lib/cjs/DropDownList/withMulti.js +9 -5
- package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts +2 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundary.js +7 -3
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.js +1 -1
- package/lib/cjs/ErrorBoundary/index.js +5 -1
- package/lib/cjs/ErrorPages/Generic403.d.ts +2 -1
- package/lib/cjs/ErrorPages/Generic403.d.ts.map +1 -1
- package/lib/cjs/ErrorPages/index.js +5 -1
- package/lib/cjs/FeedbackForm/FeedbackForm.d.ts +2 -1
- package/lib/cjs/FeedbackForm/FeedbackForm.d.ts.map +1 -1
- package/lib/cjs/FeedbackForm/FeedbackForm.js +12 -8
- package/lib/cjs/FeedbackForm/index.js +5 -1
- package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts +4 -4
- package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
- package/lib/cjs/Functional/CaseContactsSelectorExternal.js +26 -22
- package/lib/cjs/Functional/index.js +5 -1
- package/lib/cjs/InlineEdit/InlineEdit.d.ts +2 -2
- package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +1 -1
- package/lib/cjs/InlineEdit/InlineEdit.js +8 -4
- package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +2 -2
- package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +1 -1
- package/lib/cjs/InlineEdit/NewInlineEdit.js +9 -5
- package/lib/cjs/InlineEdit/index.js +5 -1
- package/lib/cjs/LanguageSelector/LanguageSelector.d.ts +2 -1
- package/lib/cjs/LanguageSelector/LanguageSelector.d.ts.map +1 -1
- package/lib/cjs/LanguageSelector/LanguageSelector.js +8 -4
- package/lib/cjs/LanguageSelector/index.js +5 -1
- package/lib/cjs/LoadingDots/LoadingDots.d.ts +2 -1
- package/lib/cjs/LoadingDots/LoadingDots.d.ts.map +1 -1
- package/lib/cjs/LoadingDots/index.js +5 -1
- package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts +2 -1
- package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
- package/lib/cjs/LoadingIndicator/index.js +5 -1
- package/lib/cjs/LoginModal/LoginModal.d.ts +2 -1
- package/lib/cjs/LoginModal/LoginModal.d.ts.map +1 -1
- package/lib/cjs/LoginModal/index.js +5 -1
- package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts +1 -1
- package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
- package/lib/cjs/MarkdownEditor/MarkdownEditor.js +33 -29
- package/lib/cjs/MarkdownEditor/index.js +5 -1
- package/lib/cjs/MoreOrLess/MoreOrLess.d.ts +1 -1
- package/lib/cjs/MoreOrLess/MoreOrLess.d.ts.map +1 -1
- package/lib/cjs/MoreOrLess/MoreOrLess.js +14 -10
- package/lib/cjs/MoreOrLess/index.js +5 -1
- package/lib/cjs/PaginatedList/PaginatedList.d.ts +1 -1
- package/lib/cjs/PaginatedList/PaginatedList.d.ts.map +1 -1
- package/lib/cjs/PaginatedList/PaginatedList.js +9 -5
- package/lib/cjs/PaginatedList/index.js +5 -1
- package/lib/cjs/PaginationCompact/PaginationCompact.d.ts +2 -1
- package/lib/cjs/PaginationCompact/PaginationCompact.d.ts.map +1 -1
- package/lib/cjs/PaginationCompact/PaginationCompact.js +8 -4
- package/lib/cjs/PaginationCompact/index.js +5 -1
- package/lib/cjs/PhoneInput/PhoneInput.d.ts +2 -1
- package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/lib/cjs/PhoneInput/PhoneInput.js +41 -37
- package/lib/cjs/PhoneInput/index.js +5 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/index.js +5 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts +3 -3
- package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
- package/lib/cjs/ProgressBar/ProgressBar.d.ts +1 -1
- package/lib/cjs/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/lib/cjs/ProgressBar/index.js +5 -1
- package/lib/cjs/PromisifyModal/PromisifyModal.d.ts +3 -3
- package/lib/cjs/PromisifyModal/PromisifyModal.d.ts.map +1 -1
- package/lib/cjs/PromisifyModal/PromisifyModal.js +6 -4
- package/lib/cjs/PromisifyModal/index.js +5 -1
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.js +1 -1
- package/lib/cjs/SubscriptionAbuse/const.d.ts +2 -1
- package/lib/cjs/SubscriptionAbuse/const.d.ts.map +1 -1
- package/lib/cjs/SubscriptionAbuse/index.js +5 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.js +6 -2
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.js +13 -9
- package/lib/cjs/SupportFeedbackForm/index.js +5 -1
- package/lib/cjs/Table/PFTable.d.ts +2 -2
- package/lib/cjs/Table/PFTable.d.ts.map +1 -1
- package/lib/cjs/Table/PFTable.js +15 -11
- package/lib/cjs/Table/TableColumnSelector.d.ts +2 -1
- package/lib/cjs/Table/TableColumnSelector.d.ts.map +1 -1
- package/lib/cjs/Table/TableColumnSelector.js +4 -4
- package/lib/cjs/Table/TableComponent.d.ts +1 -1
- package/lib/cjs/Table/TableComponent.d.ts.map +1 -1
- package/lib/cjs/Table/TableComponent.js +7 -3
- package/lib/cjs/Table/TablePagination.d.ts +2 -1
- package/lib/cjs/Table/TablePagination.d.ts.map +1 -1
- package/lib/cjs/Table/TablePagination.js +7 -3
- package/lib/cjs/Table/index.js +5 -1
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.js +12 -8
- package/lib/cjs/TermsAndConditions/index.js +5 -1
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.js +14 -10
- package/lib/cjs/TextAreaAutosize/index.js +5 -1
- package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts +1 -1
- package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
- package/lib/cjs/TextAreaResizable/TextAreaResizable.js +7 -3
- package/lib/cjs/TextAreaResizable/index.js +5 -1
- package/lib/cjs/ToastNotification/ToastNotification.d.ts.map +1 -1
- package/lib/cjs/ToastNotification/ToastNotification.js +17 -9
- package/lib/cjs/ToastNotification/index.js +5 -1
- package/lib/cjs/TopContentSearch/TopContentSearch.d.ts +1 -1
- package/lib/cjs/TopContentSearch/TopContentSearch.d.ts.map +1 -1
- package/lib/cjs/TopContentSearch/TopContentSearch.js +19 -15
- package/lib/cjs/TopContentSearch/index.js +5 -1
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.js +13 -9
- package/lib/cjs/ValueChangedIcon/index.js +5 -1
- package/lib/cjs/helperFunctions/errorMessage.d.ts +1 -0
- package/lib/cjs/helperFunctions/errorMessage.d.ts.map +1 -1
- package/lib/cjs/helperFunctions/errorMessage.js +1 -1
- package/lib/cjs/helperFunctions/index.js +5 -1
- package/lib/cjs/hooks/index.js +5 -1
- package/lib/cjs/hooks/useBreakpoint.d.ts +2 -2
- package/lib/cjs/hooks/useBreakpoint.d.ts.map +1 -1
- package/lib/cjs/hooks/useBreakpoint.js +8 -4
- package/lib/cjs/hooks/useCopyToClipboard.d.ts.map +1 -1
- package/lib/cjs/hooks/useCopyToClipboard.js +4 -3
- package/lib/cjs/hooks/useDebounce.js +4 -4
- package/lib/cjs/hooks/useFetch.js +6 -7
- package/lib/cjs/hooks/useForceUpdate.js +1 -1
- package/lib/cjs/hooks/useForkRef.js +1 -1
- package/lib/cjs/hooks/useLRUCache.js +2 -2
- package/lib/cjs/hooks/useLocalStorage.d.ts +2 -2
- package/lib/cjs/hooks/useLocalStorage.d.ts.map +1 -1
- package/lib/cjs/hooks/useLocalStorage.js +2 -2
- package/lib/cjs/hooks/useOnScreen.js +2 -2
- package/lib/cjs/hooks/usePolling.js +2 -2
- package/lib/cjs/hooks/usePrevious.js +2 -2
- package/lib/cjs/hooks/useSelectKeyboardNavigator.js +2 -2
- package/lib/cjs/hooks/useTitle.js +1 -1
- package/lib/cjs/hooks/useUndo.js +6 -6
- package/lib/cjs/index.js +5 -1
- package/lib/esm/AlertMessage/AlertMessage.d.ts +2 -2
- package/lib/esm/AlertMessage/AlertMessage.d.ts.map +1 -1
- package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts +2 -1
- package/lib/esm/ConfirmationModal/ConfirmationContext.d.ts.map +1 -1
- package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts +2 -1
- package/lib/esm/ConfirmationModal/ConfirmationDialog.d.ts.map +1 -1
- package/lib/esm/CoverSpinner/CoverSpinner.d.ts +2 -1
- package/lib/esm/CoverSpinner/CoverSpinner.d.ts.map +1 -1
- package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts +2 -2
- package/lib/esm/CustomContentLoader/CustomContentLoader.d.ts.map +1 -1
- package/lib/esm/CustomTextInput/CustomTextInput.d.ts +1 -1
- package/lib/esm/CustomTextInput/CustomTextInput.d.ts.map +1 -1
- package/lib/esm/DropDownList/DropDownList.d.ts +2 -1
- package/lib/esm/DropDownList/DropDownList.d.ts.map +1 -1
- package/lib/esm/DropDownList/DropdownWrapper.d.ts +1 -1
- package/lib/esm/DropDownList/DropdownWrapper.d.ts.map +1 -1
- package/lib/esm/DropDownList/SearchableList.d.ts +1 -1
- package/lib/esm/DropDownList/SearchableList.d.ts.map +1 -1
- package/lib/esm/DropDownList/SelectList.d.ts +1 -1
- package/lib/esm/DropDownList/SelectList.d.ts.map +1 -1
- package/lib/esm/DropDownList/SelectList.js +1 -1
- package/lib/esm/DropDownList/async.d.ts +1 -1
- package/lib/esm/DropDownList/types.d.ts +6 -6
- package/lib/esm/DropDownList/types.d.ts.map +1 -1
- package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts +2 -1
- package/lib/esm/ErrorBoundary/ErrorBoundary.d.ts.map +1 -1
- package/lib/esm/ErrorBoundary/ErrorBoundary.js +1 -1
- package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +2 -1
- package/lib/esm/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +1 -1
- package/lib/esm/ErrorPages/Generic403.d.ts +2 -1
- package/lib/esm/ErrorPages/Generic403.d.ts.map +1 -1
- package/lib/esm/FeedbackForm/FeedbackForm.d.ts +2 -1
- package/lib/esm/FeedbackForm/FeedbackForm.d.ts.map +1 -1
- package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts +4 -4
- package/lib/esm/Functional/CaseContactsSelectorExternal.d.ts.map +1 -1
- package/lib/esm/Functional/CaseContactsSelectorExternal.js +7 -7
- package/lib/esm/InlineEdit/InlineEdit.d.ts +2 -2
- package/lib/esm/InlineEdit/InlineEdit.d.ts.map +1 -1
- package/lib/esm/InlineEdit/NewInlineEdit.d.ts +2 -2
- package/lib/esm/InlineEdit/NewInlineEdit.d.ts.map +1 -1
- package/lib/esm/LanguageSelector/LanguageSelector.d.ts +2 -1
- package/lib/esm/LanguageSelector/LanguageSelector.d.ts.map +1 -1
- package/lib/esm/LoadingDots/LoadingDots.d.ts +2 -1
- package/lib/esm/LoadingDots/LoadingDots.d.ts.map +1 -1
- package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts +2 -1
- package/lib/esm/LoadingIndicator/LoadingIndicator.d.ts.map +1 -1
- package/lib/esm/LoginModal/LoginModal.d.ts +2 -1
- package/lib/esm/LoginModal/LoginModal.d.ts.map +1 -1
- package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts +1 -1
- package/lib/esm/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
- package/lib/esm/MoreOrLess/MoreOrLess.d.ts +1 -1
- package/lib/esm/MoreOrLess/MoreOrLess.d.ts.map +1 -1
- package/lib/esm/PaginatedList/PaginatedList.d.ts +1 -1
- package/lib/esm/PaginatedList/PaginatedList.d.ts.map +1 -1
- package/lib/esm/PaginationCompact/PaginationCompact.d.ts +2 -1
- package/lib/esm/PaginationCompact/PaginationCompact.d.ts.map +1 -1
- package/lib/esm/PhoneInput/PhoneInput.d.ts +2 -1
- package/lib/esm/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/lib/esm/PhoneInput/PhoneInput.js +7 -7
- package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +2 -1
- package/lib/esm/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +1 -1
- package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts +1 -1
- package/lib/esm/ProgressBar/CircularProgressBar/Path.d.ts.map +1 -1
- package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts +3 -3
- package/lib/esm/ProgressBar/CircularProgressBar/types.d.ts.map +1 -1
- package/lib/esm/ProgressBar/ProgressBar.d.ts +1 -1
- package/lib/esm/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/lib/esm/PromisifyModal/PromisifyModal.d.ts +3 -3
- package/lib/esm/PromisifyModal/PromisifyModal.d.ts.map +1 -1
- package/lib/esm/PromisifyModal/PromisifyModal.js +6 -4
- package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +2 -1
- package/lib/esm/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +1 -1
- package/lib/esm/SubscriptionAbuse/const.d.ts +2 -1
- package/lib/esm/SubscriptionAbuse/const.d.ts.map +1 -1
- package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts +2 -1
- package/lib/esm/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +1 -1
- package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts +2 -1
- package/lib/esm/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +1 -1
- package/lib/esm/Table/PFTable.d.ts +2 -2
- package/lib/esm/Table/PFTable.d.ts.map +1 -1
- package/lib/esm/Table/TableColumnSelector.d.ts +2 -1
- package/lib/esm/Table/TableColumnSelector.d.ts.map +1 -1
- package/lib/esm/Table/TableComponent.d.ts +1 -1
- package/lib/esm/Table/TableComponent.d.ts.map +1 -1
- package/lib/esm/Table/TablePagination.d.ts +2 -1
- package/lib/esm/Table/TablePagination.d.ts.map +1 -1
- package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts +2 -1
- package/lib/esm/TermsAndConditions/AcceptTermsModal.d.ts.map +1 -1
- package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts +1 -1
- package/lib/esm/TextAreaAutosize/TextAreaAutosize.d.ts.map +1 -1
- package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts +1 -1
- package/lib/esm/TextAreaResizable/TextAreaResizable.d.ts.map +1 -1
- package/lib/esm/ToastNotification/ToastNotification.d.ts.map +1 -1
- package/lib/esm/ToastNotification/ToastNotification.js +12 -4
- package/lib/esm/TopContentSearch/TopContentSearch.d.ts +1 -1
- package/lib/esm/TopContentSearch/TopContentSearch.d.ts.map +1 -1
- package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts +1 -1
- package/lib/esm/ValueChangedIcon/ValueChangedIcon.d.ts.map +1 -1
- package/lib/esm/helperFunctions/errorMessage.d.ts +1 -0
- package/lib/esm/helperFunctions/errorMessage.d.ts.map +1 -1
- package/lib/esm/hooks/useBreakpoint.d.ts +2 -2
- package/lib/esm/hooks/useBreakpoint.d.ts.map +1 -1
- package/lib/esm/hooks/useCopyToClipboard.d.ts.map +1 -1
- package/lib/esm/hooks/useCopyToClipboard.js +1 -0
- package/lib/esm/hooks/useFetch.js +1 -2
- package/lib/esm/hooks/useLocalStorage.d.ts +2 -2
- package/lib/esm/hooks/useLocalStorage.d.ts.map +1 -1
- package/package.json +23 -19
package/lib/cjs/Table/PFTable.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -71,10 +75,10 @@ const defaultSortMethod = (a, b) => (a < b ? -1 : a > b ? 1 : 0);
|
|
|
71
75
|
exports.defaultTableSortMethod = defaultSortMethod;
|
|
72
76
|
function PFTable(props) {
|
|
73
77
|
const { className, pagination, onRowClick, onSortChange, onSelect, emptyStateRow = emptyStateRowDefault, loadingRow = loadingRowDefault, isLoading, keepPageNumberOnDataChange, sortInfo } = props, restProps = __rest(props, ["className", "pagination", "onRowClick", "onSortChange", "onSelect", "emptyStateRow", "loadingRow", "isLoading", "keepPageNumberOnDataChange", "sortInfo"]);
|
|
74
|
-
const { columns, data, currentPage, perPage, setSelectedPage } = TableProvider_1.useTableContext();
|
|
75
|
-
const [sortBy, setSortBy] = react_1.useState();
|
|
76
|
-
const [pfColumns, setPFColumns] = react_1.useState([]);
|
|
77
|
-
const [pfRows, setPFRows] = react_1.useState([]);
|
|
78
|
+
const { columns, data, currentPage, perPage, setSelectedPage } = (0, TableProvider_1.useTableContext)();
|
|
79
|
+
const [sortBy, setSortBy] = (0, react_1.useState)();
|
|
80
|
+
const [pfColumns, setPFColumns] = (0, react_1.useState)([]);
|
|
81
|
+
const [pfRows, setPFRows] = (0, react_1.useState)([]);
|
|
78
82
|
const isSelectColumnVisible = onSelect && (data || []).length > 0;
|
|
79
83
|
const onSort = (event, index, direction) => {
|
|
80
84
|
// if onselect option is passed we need to decrease index by 1 to account for the checkbox column
|
|
@@ -87,7 +91,7 @@ function PFTable(props) {
|
|
|
87
91
|
});
|
|
88
92
|
onSortChange ? onSortChange(columns[actualIndex], direction) : setSortedRows(actualIndex, direction);
|
|
89
93
|
};
|
|
90
|
-
react_1.useEffect(() => {
|
|
94
|
+
(0, react_1.useEffect)(() => {
|
|
91
95
|
if (!sortInfo)
|
|
92
96
|
return;
|
|
93
97
|
const { column, direction } = sortInfo;
|
|
@@ -101,7 +105,7 @@ function PFTable(props) {
|
|
|
101
105
|
});
|
|
102
106
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
103
107
|
}, [sortInfo]);
|
|
104
|
-
const setSortedRows = react_1.useCallback((index, direction, rows = null) => {
|
|
108
|
+
const setSortedRows = (0, react_1.useCallback)((index, direction, rows = null) => {
|
|
105
109
|
if (onSortChange)
|
|
106
110
|
return;
|
|
107
111
|
const sortMethod = columns[index].sortMethod || defaultSortMethod;
|
|
@@ -111,7 +115,7 @@ function PFTable(props) {
|
|
|
111
115
|
},
|
|
112
116
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
113
117
|
[pfRows, columns]);
|
|
114
|
-
react_1.useEffect(() => {
|
|
118
|
+
(0, react_1.useEffect)(() => {
|
|
115
119
|
const mappedPFColumns = columns.map((item) => {
|
|
116
120
|
const { title, sortable: isSortable, show, cellWidth: width } = item;
|
|
117
121
|
// tslint:disable-next-line:no-object-literal-type-assertion
|
|
@@ -123,16 +127,16 @@ function PFTable(props) {
|
|
|
123
127
|
}
|
|
124
128
|
if (width) {
|
|
125
129
|
mappedColumn['transforms'] = mappedColumn['transforms'] || [];
|
|
126
|
-
mappedColumn['transforms'].push(react_table_1.cellWidth(width));
|
|
130
|
+
mappedColumn['transforms'].push((0, react_table_1.cellWidth)(width));
|
|
127
131
|
}
|
|
128
132
|
if (show !== undefined && !show) {
|
|
129
|
-
mappedColumn['columnTransforms'] = [react_table_1.classNames(react_table_1.Visibility.hidden)];
|
|
133
|
+
mappedColumn['columnTransforms'] = [(0, react_table_1.classNames)(react_table_1.Visibility.hidden)];
|
|
130
134
|
}
|
|
131
135
|
return mappedColumn;
|
|
132
136
|
});
|
|
133
137
|
setPFColumns(mappedPFColumns);
|
|
134
138
|
}, [columns]);
|
|
135
|
-
react_1.useEffect(() => {
|
|
139
|
+
(0, react_1.useEffect)(() => {
|
|
136
140
|
const rows = data.map((row, index) => {
|
|
137
141
|
const a = [];
|
|
138
142
|
columns.forEach((item) => {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import './columnSelector.css';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface IProps {
|
|
3
4
|
onColumnSelectorChange: (columns: string[]) => void;
|
|
4
5
|
}
|
|
5
|
-
export declare function TableColumnSelector({ onColumnSelectorChange }: IProps): JSX.Element;
|
|
6
|
+
export declare function TableColumnSelector({ onColumnSelectorChange }: IProps): React.JSX.Element;
|
|
6
7
|
export {};
|
|
7
8
|
//# sourceMappingURL=TableColumnSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumnSelector.d.ts","sourceRoot":"","sources":["../../../src/Table/TableColumnSelector.tsx"],"names":[],"mappings":"AACA,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"TableColumnSelector.d.ts","sourceRoot":"","sources":["../../../src/Table/TableColumnSelector.tsx"],"names":[],"mappings":"AACA,OAAO,sBAAsB,CAAC;AAI9B,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,MAAM;IACZ,sBAAsB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACvD;AAED,wBAAgB,mBAAmB,CAAC,EAAE,sBAAsB,EAAE,EAAE,MAAM,qBAoCrE"}
|
|
@@ -12,20 +12,20 @@ const react_i18next_1 = require("react-i18next");
|
|
|
12
12
|
const DropDownList_1 = require("../DropDownList");
|
|
13
13
|
const TableProvider_1 = require("./TableProvider");
|
|
14
14
|
function TableColumnSelector({ onColumnSelectorChange }) {
|
|
15
|
-
const { selectedColumns: selectedItems, columns } = TableProvider_1.useTableContext();
|
|
16
|
-
const { t } = react_i18next_1.useTranslation();
|
|
15
|
+
const { selectedColumns: selectedItems, columns } = (0, TableProvider_1.useTableContext)();
|
|
16
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
17
17
|
const handleChange = (selectedCols) => {
|
|
18
18
|
selectedCols = selectedCols.map((i) => i.value.value);
|
|
19
19
|
onColumnSelectorChange(selectedCols);
|
|
20
20
|
};
|
|
21
|
-
return (react_1.default.createElement(DropDownList_1.MultiSelectDropDownList, { id: "case-list-table-column-dropdown", "data-tracking-id": "case-list-table-column-dropdown", selectedItems: utils_1.toOptions((selectedItems || []).map((item) => {
|
|
21
|
+
return (react_1.default.createElement(DropDownList_1.MultiSelectDropDownList, { id: "case-list-table-column-dropdown", "data-tracking-id": "case-list-table-column-dropdown", selectedItems: (0, utils_1.toOptions)((selectedItems || []).map((item) => {
|
|
22
22
|
var _a;
|
|
23
23
|
return ({
|
|
24
24
|
value: item,
|
|
25
25
|
label: (((_a = columns.find((col) => item === col.id)) === null || _a === void 0 ? void 0 : _a.title) || ''),
|
|
26
26
|
isDisabled: false,
|
|
27
27
|
});
|
|
28
|
-
}), { labelKey: 'label', disabledKey: 'isDisabled' }), list: utils_1.toOptions(columns.map((column) => ({
|
|
28
|
+
}), { labelKey: 'label', disabledKey: 'isDisabled' }), list: (0, utils_1.toOptions)(columns.map((column) => ({
|
|
29
29
|
value: column.id,
|
|
30
30
|
label: column.title,
|
|
31
31
|
isDisabled: column.show === undefined,
|
|
@@ -6,6 +6,6 @@ interface IProps<T> {
|
|
|
6
6
|
data: T;
|
|
7
7
|
selectedColumns?: string[];
|
|
8
8
|
}
|
|
9
|
-
export declare function TableComponent<T>({ children, columns, data, selectedColumns }: IProps<T>): JSX.Element;
|
|
9
|
+
export declare function TableComponent<T>({ children, columns, data, selectedColumns }: IProps<T>): React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=TableComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableComponent.d.ts","sourceRoot":"","sources":["../../../src/Table/TableComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,UAAU,MAAM,CAAC,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"TableComponent.d.ts","sourceRoot":"","sources":["../../../src/Table/TableComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,UAAU,MAAM,CAAC,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,CAAC;IACR,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,qBAkBxF"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -23,8 +27,8 @@ exports.TableComponent = void 0;
|
|
|
23
27
|
const react_1 = __importStar(require("react"));
|
|
24
28
|
const TableProvider_1 = require("./TableProvider");
|
|
25
29
|
function TableComponent({ children, columns, data, selectedColumns }) {
|
|
26
|
-
const [currentPage, setSelectedPage] = react_1.useState(1);
|
|
27
|
-
const [perPage, setPerPage] = react_1.useState(10);
|
|
30
|
+
const [currentPage, setSelectedPage] = (0, react_1.useState)(1);
|
|
31
|
+
const [perPage, setPerPage] = (0, react_1.useState)(10);
|
|
28
32
|
return (react_1.default.createElement(TableProvider_1.TableContext.Provider, { value: {
|
|
29
33
|
columns,
|
|
30
34
|
data,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PaginationVariant } from '@patternfly/react-core';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface IProps {
|
|
3
4
|
itemCount?: number;
|
|
4
5
|
onSetPage?: ({ pageSize, currentPage }: {
|
|
@@ -13,6 +14,6 @@ interface IProps {
|
|
|
13
14
|
currentPage?: number;
|
|
14
15
|
variant: PaginationVariant;
|
|
15
16
|
}
|
|
16
|
-
export declare function TablePagination(props: IProps): JSX.Element;
|
|
17
|
+
export declare function TablePagination(props: IProps): React.JSX.Element;
|
|
17
18
|
export {};
|
|
18
19
|
//# sourceMappingURL=TablePagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../src/Table/TablePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../src/Table/TablePagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,UAAU,MAAM;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE;;;KAAA,KAAK,IAAI,CAAC;IAChD,eAAe,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE;;;KAAA,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,qBAgC5C"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -24,7 +28,7 @@ const react_core_1 = require("@patternfly/react-core");
|
|
|
24
28
|
const react_1 = __importStar(require("react"));
|
|
25
29
|
const TableProvider_1 = require("./TableProvider");
|
|
26
30
|
function TablePagination(props) {
|
|
27
|
-
const { data, setSelectedPage, setPerPage, perPage, currentPage } = TableProvider_1.useTableContext();
|
|
31
|
+
const { data, setSelectedPage, setPerPage, perPage, currentPage } = (0, TableProvider_1.useTableContext)();
|
|
28
32
|
const onSetPage = (event, pageNumber) => {
|
|
29
33
|
setSelectedPage(pageNumber);
|
|
30
34
|
props.onSetPage && props.onSetPage({ pageSize: perPage, currentPage: pageNumber });
|
|
@@ -34,7 +38,7 @@ function TablePagination(props) {
|
|
|
34
38
|
setPerPage(pageSize);
|
|
35
39
|
props.onPerPageSelect && props.onPerPageSelect({ pageSize, currentPage: 1 });
|
|
36
40
|
};
|
|
37
|
-
react_1.useEffect(() => {
|
|
41
|
+
(0, react_1.useEffect)(() => {
|
|
38
42
|
props.perPage && props.perPage !== perPage && setPerPage(props.perPage);
|
|
39
43
|
props.currentPage && props.currentPage !== currentPage && setSelectedPage(props.currentPage);
|
|
40
44
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
package/lib/cjs/Table/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
interface IProps {
|
|
2
3
|
isModalOpen: boolean;
|
|
3
4
|
onModalClose: () => void;
|
|
@@ -9,6 +10,6 @@ interface IProps {
|
|
|
9
10
|
dataTrackingId?: string;
|
|
10
11
|
isDisabled?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare function AcceptTermsModal(props: IProps): JSX.Element;
|
|
13
|
+
export declare function AcceptTermsModal(props: IProps): React.JSX.Element;
|
|
13
14
|
export {};
|
|
14
15
|
//# sourceMappingURL=AcceptTermsModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptTermsModal.d.ts","sourceRoot":"","sources":["../../../src/TermsAndConditions/AcceptTermsModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AcceptTermsModal.d.ts","sourceRoot":"","sources":["../../../src/TermsAndConditions/AcceptTermsModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,MAAM;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAiBD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,qBAyI7C"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -52,13 +56,13 @@ const getLocaleNameFromLocalCode = (localeCode) => {
|
|
|
52
56
|
return localeCode;
|
|
53
57
|
};
|
|
54
58
|
function AcceptTermsModal(props) {
|
|
55
|
-
const { request, isFetching } = hooks_1.useFetch(hydrajs_1.publicApi.terms.getRequiredTerms);
|
|
56
|
-
const [termsAcked, setTermsAcked] = react_1.useState(false);
|
|
57
|
-
const [allTranslations, setAllTranslations] = react_1.useState({});
|
|
58
|
-
const [isLangSelectorDropdownOpen, setisLangSelectorDropdownOpen] = react_1.useState(false);
|
|
59
|
-
const [selectedTranslation, setSelectedTranslation] = react_1.useState(null);
|
|
60
|
-
const { t } = react_i18next_1.useTranslation();
|
|
61
|
-
react_1.useEffect(() => {
|
|
59
|
+
const { request, isFetching } = (0, hooks_1.useFetch)(hydrajs_1.publicApi.terms.getRequiredTerms);
|
|
60
|
+
const [termsAcked, setTermsAcked] = (0, react_1.useState)(false);
|
|
61
|
+
const [allTranslations, setAllTranslations] = (0, react_1.useState)({});
|
|
62
|
+
const [isLangSelectorDropdownOpen, setisLangSelectorDropdownOpen] = (0, react_1.useState)(false);
|
|
63
|
+
const [selectedTranslation, setSelectedTranslation] = (0, react_1.useState)(null);
|
|
64
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
65
|
+
(0, react_1.useEffect)(() => {
|
|
62
66
|
const fetchTerms = () => __awaiter(this, void 0, void 0, function* () {
|
|
63
67
|
var _a, _b, _c, _d;
|
|
64
68
|
try {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -3,6 +3,6 @@ interface IProps extends Omit<HTMLProps<HTMLTextAreaElement>, 'css'> {
|
|
|
3
3
|
rowsMax?: number;
|
|
4
4
|
rowsMin?: number;
|
|
5
5
|
}
|
|
6
|
-
declare const TextAreaAutosize: React.ForwardRefExoticComponent<
|
|
6
|
+
declare const TextAreaAutosize: React.ForwardRefExoticComponent<Omit<IProps, "ref"> & React.RefAttributes<unknown>>;
|
|
7
7
|
export { TextAreaAutosize };
|
|
8
8
|
//# sourceMappingURL=TextAreaAutosize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaAutosize.d.ts","sourceRoot":"","sources":["../../../src/TextAreaAutosize/TextAreaAutosize.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,SAAS,EAA6D,MAAM,OAAO,CAAC;AAKhH,UAAU,MAAO,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAWD,QAAA,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"TextAreaAutosize.d.ts","sourceRoot":"","sources":["../../../src/TextAreaAutosize/TextAreaAutosize.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,SAAS,EAA6D,MAAM,OAAO,CAAC;AAKhH,UAAU,MAAO,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAWD,QAAA,MAAM,gBAAgB,qFAyHpB,CAAC;AAGH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -44,18 +48,18 @@ const defaultProps = {
|
|
|
44
48
|
function getStyleValue(computedStyle, property) {
|
|
45
49
|
return parseInt(computedStyle[property], 10) || 0;
|
|
46
50
|
}
|
|
47
|
-
const TextAreaAutosize = react_1.forwardRef((props, ref) => {
|
|
51
|
+
const TextAreaAutosize = (0, react_1.forwardRef)((props, ref) => {
|
|
48
52
|
const { rowsMax, rowsMin } = props, rest = __rest(props, ["rowsMax", "rowsMin"]);
|
|
49
53
|
const { current: isControlled } = react_1.default.useRef(props.value != null);
|
|
50
|
-
const inputRef = react_1.useRef(null);
|
|
51
|
-
const handleRef = useForkRef_1.useForkRef(ref, inputRef);
|
|
54
|
+
const inputRef = (0, react_1.useRef)(null);
|
|
55
|
+
const handleRef = (0, useForkRef_1.useForkRef)(ref, inputRef);
|
|
52
56
|
const shadowRef = react_1.default.useRef(null);
|
|
53
57
|
const renders = react_1.default.useRef(0);
|
|
54
|
-
const [state, setState] = react_1.useState({
|
|
58
|
+
const [state, setState] = (0, react_1.useState)({
|
|
55
59
|
overflow: null,
|
|
56
60
|
outerHeightStyle: null,
|
|
57
61
|
});
|
|
58
|
-
const syncHeight = react_1.useCallback(() => {
|
|
62
|
+
const syncHeight = (0, react_1.useCallback)(() => {
|
|
59
63
|
const input = inputRef.current;
|
|
60
64
|
const computedStyle = window.getComputedStyle(input);
|
|
61
65
|
const inputShallow = shadowRef.current;
|
|
@@ -100,8 +104,8 @@ const TextAreaAutosize = react_1.forwardRef((props, ref) => {
|
|
|
100
104
|
return prevState;
|
|
101
105
|
});
|
|
102
106
|
}, [props.rowsMax, props.rowsMin]);
|
|
103
|
-
react_1.useEffect(() => {
|
|
104
|
-
const debouncedHandleResize = debounce_1.default(() => {
|
|
107
|
+
(0, react_1.useEffect)(() => {
|
|
108
|
+
const debouncedHandleResize = (0, debounce_1.default)(() => {
|
|
105
109
|
renders.current = 0;
|
|
106
110
|
syncHeight();
|
|
107
111
|
}, 1000);
|
|
@@ -110,10 +114,10 @@ const TextAreaAutosize = react_1.forwardRef((props, ref) => {
|
|
|
110
114
|
window.removeEventListener('resize', debouncedHandleResize);
|
|
111
115
|
};
|
|
112
116
|
}, [syncHeight]);
|
|
113
|
-
react_1.useLayoutEffect(() => {
|
|
117
|
+
(0, react_1.useLayoutEffect)(() => {
|
|
114
118
|
syncHeight();
|
|
115
119
|
});
|
|
116
|
-
react_1.useEffect(() => {
|
|
120
|
+
(0, react_1.useEffect)(() => {
|
|
117
121
|
renders.current = 0;
|
|
118
122
|
}, [props.value]);
|
|
119
123
|
const handleChange = (event) => {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -15,6 +15,6 @@ interface IProps extends Omit<HTMLProps<HTMLTextAreaElement>, 'css' | 'onChange'
|
|
|
15
15
|
validated?: ValidatedOptions;
|
|
16
16
|
onChange: (value: string, event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
17
17
|
}
|
|
18
|
-
export declare const TextAreaResizable: (props: IProps) => JSX.Element;
|
|
18
|
+
export declare const TextAreaResizable: (props: IProps) => React.JSX.Element;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=TextAreaResizable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextAreaResizable.d.ts","sourceRoot":"","sources":["../../../src/TextAreaResizable/TextAreaResizable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAEnD,UAAU,MAAO,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAC;IACpG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACpF;AACD,eAAO,MAAM,iBAAiB,UAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"TextAreaResizable.d.ts","sourceRoot":"","sources":["../../../src/TextAreaResizable/TextAreaResizable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAEnD,UAAU,MAAO,SAAQ,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAC;IACpG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CACpF;AACD,eAAO,MAAM,iBAAiB,UAAW,MAAM,sBAqD9C,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -29,11 +33,11 @@ const react_1 = __importStar(require("react"));
|
|
|
29
33
|
const TextAreaResizable = (props) => {
|
|
30
34
|
// To set defaultProps
|
|
31
35
|
const { rowsMin = 2, autoResize = false, onChange, rows, id, className, isRequired, maxLength, name, value, isDisabled, isSpaceAllowed = true, } = props;
|
|
32
|
-
const [isTextAreaEmpty, setIsTextAreaEmpty] = react_1.useState(false);
|
|
36
|
+
const [isTextAreaEmpty, setIsTextAreaEmpty] = (0, react_1.useState)(false);
|
|
33
37
|
// Function to handle onChange event
|
|
34
38
|
const onTextAreaChange = (value, event) => {
|
|
35
39
|
onChange(value, event);
|
|
36
|
-
setIsTextAreaEmpty(isEmpty_1.default(value === null || value === void 0 ? void 0 : value.trim()));
|
|
40
|
+
setIsTextAreaEmpty((0, isEmpty_1.default)(value === null || value === void 0 ? void 0 : value.trim()));
|
|
37
41
|
event.preventDefault();
|
|
38
42
|
return [];
|
|
39
43
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastNotification.d.ts","sourceRoot":"","sources":["../../../src/ToastNotification/ToastNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,2CAA2C,CAAC;AACnD,OAAO,yBAAyB,CAAC;AAIjC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAA+C,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEzG,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAsBD,cAAM,iBAAiB;WACL,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,GAAE,YAAiB;
|
|
1
|
+
{"version":3,"file":"ToastNotification.d.ts","sourceRoot":"","sources":["../../../src/ToastNotification/ToastNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,2CAA2C,CAAC;AACnD,OAAO,yBAAyB,CAAC;AAIjC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,cAAc,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAA+C,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEzG,oBAAY,SAAS;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAsBD,cAAM,iBAAiB;WACL,gBAAgB,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,GAAE,YAAiB;WAalG,iBAAiB,CAC3B,OAAO,EAAE,KAAK,CAAC,SAAS,EACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,EAC3B,OAAO,GAAE,YAAkC;WAajC,iBAAiB,CAAC,OAAO,KAAA,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,EAAE,OAAO,GAAE,YAAiB;WAY3F,cAAc,CAAC,OAAO,KAAA,EAAE,OAAO,GAAE,YAAkC;WAQnE,kBAAkB,CAAC,KAAK,KAAA,EAAE,eAAe,CAAC,EAAE,SAAS;WAOrD,QAAQ;WAIR,gBAAgB,CAAC,cAAc,EAAE,MAAM;WAIvC,UAAU,CAAC,OAAO,KAAA;IAIhC;;;OAGG;WACW,kBAAkB,CAAC,cAAc,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE;CAG1F;AAED,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -18,7 +18,7 @@ var ToastType;
|
|
|
18
18
|
ToastType["INFO"] = "info";
|
|
19
19
|
ToastType["SUCCESS"] = "success";
|
|
20
20
|
ToastType["WARNING"] = "warning";
|
|
21
|
-
})(ToastType
|
|
21
|
+
})(ToastType || (exports.ToastType = ToastType = {}));
|
|
22
22
|
const AlertComponent = ({ variant, message, alertActions = {}, closeToast, children }) => {
|
|
23
23
|
return (react_1.default.createElement(react_core_1.Alert, { variant: variant, title: message, actionClose: react_1.default.createElement(react_core_1.AlertActionCloseButton, { onClose: closeToast }) }, children));
|
|
24
24
|
};
|
|
@@ -26,28 +26,36 @@ const defaultCloseMs = 8000;
|
|
|
26
26
|
const defaultToastOptions = { autoClose: defaultCloseMs };
|
|
27
27
|
class ToastNotification {
|
|
28
28
|
static addDangerMessage(message, alertBody, options = {}) {
|
|
29
|
-
return
|
|
29
|
+
return (0, react_toastify_1.toast)(
|
|
30
|
+
//@ts-ignore
|
|
31
|
+
({ closeToast }) => (react_1.default.createElement(AlertComponent, { variant: ToastType.DANGER, message: message, closeToast: closeToast }, alertBody)), Object.assign({}, options));
|
|
30
32
|
}
|
|
31
33
|
// removed options: ToastOptions = defaultToastOptions to fix auto-dismissing of success alerts.
|
|
32
34
|
static addSuccessMessage(message, alertBody, options = defaultToastOptions) {
|
|
33
|
-
return
|
|
35
|
+
return (0, react_toastify_1.toast)(
|
|
36
|
+
//@ts-ignore
|
|
37
|
+
({ closeToast }) => (react_1.default.createElement(AlertComponent, { variant: ToastType.SUCCESS, message: message, closeToast: closeToast }, alertBody)), Object.assign({}, options));
|
|
34
38
|
}
|
|
35
39
|
static addWarningMessage(message, alertBody, options = {}) {
|
|
36
|
-
return
|
|
40
|
+
return (0, react_toastify_1.toast)(
|
|
41
|
+
//@ts-ignore
|
|
42
|
+
({ closeToast }) => (react_1.default.createElement(AlertComponent, { variant: ToastType.WARNING, message: message, closeToast: closeToast }, alertBody)), Object.assign({}, options));
|
|
37
43
|
}
|
|
38
44
|
static addInfoMessage(message, options = defaultToastOptions) {
|
|
39
|
-
return
|
|
45
|
+
return (0, react_toastify_1.toast)(
|
|
46
|
+
//@ts-ignore
|
|
47
|
+
({ closeToast }) => react_1.default.createElement(AlertComponent, { variant: ToastType.INFO, message: message, closeToast: closeToast }), Object.assign({}, options));
|
|
40
48
|
}
|
|
41
49
|
static addXHRErrorMessage(error, errorMessageObj) {
|
|
42
|
-
const messageBody = errorMessage_1.formattedApiErrorMessage(error, errorMessageObj);
|
|
43
|
-
const messageHeader = errorMessage_1.errorMessageTitle(error, errorMessageObj);
|
|
50
|
+
const messageBody = (0, errorMessage_1.formattedApiErrorMessage)(error, errorMessageObj);
|
|
51
|
+
const messageHeader = (0, errorMessage_1.errorMessageTitle)(error, errorMessageObj);
|
|
44
52
|
ToastNotification.addDangerMessage(messageHeader, messageBody, { closeOnClick: false });
|
|
45
53
|
}
|
|
46
54
|
static clearAll() {
|
|
47
55
|
react_toastify_1.toast.dismiss();
|
|
48
56
|
}
|
|
49
57
|
static clearAllDebounce(timeToDebounce) {
|
|
50
|
-
debounce_1.default(() => react_toastify_1.toast.dismiss, timeToDebounce)();
|
|
58
|
+
(0, debounce_1.default)(() => react_toastify_1.toast.dismiss, timeToDebounce)();
|
|
51
59
|
}
|
|
52
60
|
static clearToast(toastId) {
|
|
53
61
|
react_toastify_1.toast.dismiss(toastId);
|
|
@@ -57,7 +65,7 @@ class ToastNotification {
|
|
|
57
65
|
* after a certain amount of time.
|
|
58
66
|
*/
|
|
59
67
|
static clearToastDebounce(timeToDebounce, ...toastIds) {
|
|
60
|
-
debounce_1.default(() => toastIds.forEach((id) => ToastNotification.clearToast(id)), timeToDebounce)();
|
|
68
|
+
(0, debounce_1.default)(() => toastIds.forEach((id) => ToastNotification.clearToast(id)), timeToDebounce)();
|
|
61
69
|
}
|
|
62
70
|
}
|
|
63
71
|
exports.ToastNotification = ToastNotification;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -9,6 +9,6 @@ interface IProps {
|
|
|
9
9
|
onSearch: (searchVal: string, searchResults: ITopContentList[]) => void;
|
|
10
10
|
}
|
|
11
11
|
export declare const getTopContentUrl: (contentUrl: string) => string;
|
|
12
|
-
export declare function TopContentSearch({ topContentData, topContentResultsWrapperRef, onSearch, dataTrackingId, enableEventTracking, }: IProps): JSX.Element;
|
|
12
|
+
export declare function TopContentSearch({ topContentData, topContentResultsWrapperRef, onSearch, dataTrackingId, enableEventTracking, }: IProps): React.JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=TopContentSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopContentSearch.d.ts","sourceRoot":"","sources":["../../../src/TopContentSearch/TopContentSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAQ5F,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,UAAU,MAAM;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACzD,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;CAC3E;AAED,eAAO,MAAM,gBAAgB,eAAgB,MAAM,WASlD,CAAC;AAOF,wBAAgB,gBAAgB,CAAC,EAC7B,cAAmB,EACnB,2BAA6C,EAC7C,QAAQ,EACR,cAAc,EACd,mBAA2B,GAC9B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TopContentSearch.d.ts","sourceRoot":"","sources":["../../../src/TopContentSearch/TopContentSearch.tsx"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAQ5F,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,UAAU,MAAM;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACzD,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;CAC3E;AAED,eAAO,MAAM,gBAAgB,eAAgB,MAAM,WASlD,CAAC;AAOF,wBAAgB,gBAAgB,CAAC,EAC7B,cAAmB,EACnB,2BAA6C,EAC7C,QAAQ,EACR,cAAc,EACd,mBAA2B,GAC9B,EAAE,MAAM,qBA8GR"}
|