@rh-support/components 2.1.48 → 2.1.50
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/Table/index.d.ts +0 -1
- package/lib/esm/Table/index.d.ts.map +1 -1
- package/lib/esm/Table/index.js +0 -1
- package/package.json +12 -23
- package/lib/cjs/AlertMessage/AlertMessage.css +0 -9
- package/lib/cjs/AlertMessage/AlertMessage.d.ts +0 -24
- package/lib/cjs/AlertMessage/AlertMessage.d.ts.map +0 -1
- package/lib/cjs/AlertMessage/AlertMessage.js +0 -30
- package/lib/cjs/AlertMessage/index.d.ts +0 -2
- package/lib/cjs/AlertMessage/index.d.ts.map +0 -1
- package/lib/cjs/AlertMessage/index.js +0 -18
- package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts +0 -7
- package/lib/cjs/ConfirmationModal/ConfirmationContext.d.ts.map +0 -1
- package/lib/cjs/ConfirmationModal/ConfirmationContext.js +0 -57
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts +0 -30
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.d.ts.map +0 -1
- package/lib/cjs/ConfirmationModal/ConfirmationDialog.js +0 -28
- package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.d.ts +0 -1
- package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.d.ts.map +0 -1
- package/lib/cjs/ConfirmationModal/ConfirmationModal.stories.js +0 -36
- package/lib/cjs/ConfirmationModal/index.d.ts +0 -3
- package/lib/cjs/ConfirmationModal/index.d.ts.map +0 -1
- package/lib/cjs/ConfirmationModal/index.js +0 -18
- package/lib/cjs/CoverSpinner/CoverSpinner.css +0 -16
- package/lib/cjs/CoverSpinner/CoverSpinner.d.ts +0 -4
- package/lib/cjs/CoverSpinner/CoverSpinner.d.ts.map +0 -1
- package/lib/cjs/CoverSpinner/CoverSpinner.js +0 -13
- package/lib/cjs/CoverSpinner/index.d.ts +0 -2
- package/lib/cjs/CoverSpinner/index.d.ts.map +0 -1
- package/lib/cjs/CoverSpinner/index.js +0 -17
- package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts +0 -15
- package/lib/cjs/CustomContentLoader/CustomContentLoader.d.ts.map +0 -1
- package/lib/cjs/CustomContentLoader/CustomContentLoader.js +0 -62
- package/lib/cjs/CustomContentLoader/index.d.ts +0 -2
- package/lib/cjs/CustomContentLoader/index.d.ts.map +0 -1
- package/lib/cjs/CustomContentLoader/index.js +0 -17
- package/lib/cjs/CustomTextInput/CustomTextInput.d.ts +0 -14
- package/lib/cjs/CustomTextInput/CustomTextInput.d.ts.map +0 -1
- package/lib/cjs/CustomTextInput/CustomTextInput.js +0 -50
- package/lib/cjs/CustomTextInput/index.d.ts +0 -2
- package/lib/cjs/CustomTextInput/index.d.ts.map +0 -1
- package/lib/cjs/CustomTextInput/index.js +0 -17
- package/lib/cjs/DropDownList/AsyncDropDownList.d.ts +0 -6
- package/lib/cjs/DropDownList/AsyncDropDownList.d.ts.map +0 -1
- package/lib/cjs/DropDownList/AsyncDropDownList.js +0 -10
- package/lib/cjs/DropDownList/DropDownList.d.ts +0 -9
- package/lib/cjs/DropDownList/DropDownList.d.ts.map +0 -1
- package/lib/cjs/DropDownList/DropDownList.js +0 -145
- package/lib/cjs/DropDownList/DropdownWrapper.d.ts +0 -16
- package/lib/cjs/DropDownList/DropdownWrapper.d.ts.map +0 -1
- package/lib/cjs/DropDownList/DropdownWrapper.js +0 -25
- package/lib/cjs/DropDownList/MultiSelectDropdownList.d.ts +0 -4
- package/lib/cjs/DropDownList/MultiSelectDropdownList.d.ts.map +0 -1
- package/lib/cjs/DropDownList/MultiSelectDropdownList.js +0 -7
- package/lib/cjs/DropDownList/Readme.md +0 -114
- package/lib/cjs/DropDownList/SearchableList.d.ts +0 -14
- package/lib/cjs/DropDownList/SearchableList.d.ts.map +0 -1
- package/lib/cjs/DropDownList/SearchableList.js +0 -104
- package/lib/cjs/DropDownList/SelectList.d.ts +0 -11
- package/lib/cjs/DropDownList/SelectList.d.ts.map +0 -1
- package/lib/cjs/DropDownList/SelectList.js +0 -41
- package/lib/cjs/DropDownList/async.d.ts +0 -9
- package/lib/cjs/DropDownList/async.d.ts.map +0 -1
- package/lib/cjs/DropDownList/async.js +0 -142
- package/lib/cjs/DropDownList/dropdownList.css +0 -59
- package/lib/cjs/DropDownList/dropdownUtils.d.ts +0 -5
- package/lib/cjs/DropDownList/dropdownUtils.d.ts.map +0 -1
- package/lib/cjs/DropDownList/dropdownUtils.js +0 -29
- package/lib/cjs/DropDownList/index.d.ts +0 -4
- package/lib/cjs/DropDownList/index.d.ts.map +0 -1
- package/lib/cjs/DropDownList/index.js +0 -19
- package/lib/cjs/DropDownList/types.d.ts +0 -54
- package/lib/cjs/DropDownList/types.d.ts.map +0 -1
- package/lib/cjs/DropDownList/types.js +0 -2
- package/lib/cjs/DropDownList/withMulti.d.ts +0 -5
- package/lib/cjs/DropDownList/withMulti.d.ts.map +0 -1
- package/lib/cjs/DropDownList/withMulti.js +0 -73
- package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts +0 -37
- package/lib/cjs/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundary.js +0 -66
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts +0 -15
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.d.ts.map +0 -1
- package/lib/cjs/ErrorBoundary/ErrorBoundaryFallbackComponent.js +0 -39
- package/lib/cjs/ErrorBoundary/index.d.ts +0 -2
- package/lib/cjs/ErrorBoundary/index.d.ts.map +0 -1
- package/lib/cjs/ErrorBoundary/index.js +0 -17
- package/lib/cjs/ErrorPages/Generic403.d.ts +0 -3
- package/lib/cjs/ErrorPages/Generic403.d.ts.map +0 -1
- package/lib/cjs/ErrorPages/Generic403.js +0 -14
- package/lib/cjs/ErrorPages/index.d.ts +0 -2
- package/lib/cjs/ErrorPages/index.d.ts.map +0 -1
- package/lib/cjs/ErrorPages/index.js +0 -17
- package/lib/cjs/FeedbackForm/FeedbackForm.d.ts +0 -12
- package/lib/cjs/FeedbackForm/FeedbackForm.d.ts.map +0 -1
- package/lib/cjs/FeedbackForm/FeedbackForm.js +0 -144
- package/lib/cjs/FeedbackForm/index.d.ts +0 -2
- package/lib/cjs/FeedbackForm/index.d.ts.map +0 -1
- package/lib/cjs/FeedbackForm/index.js +0 -17
- package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts +0 -30
- package/lib/cjs/Functional/CaseContactsSelectorExternal.d.ts.map +0 -1
- package/lib/cjs/Functional/CaseContactsSelectorExternal.js +0 -227
- package/lib/cjs/Functional/index.d.ts +0 -2
- package/lib/cjs/Functional/index.d.ts.map +0 -1
- package/lib/cjs/Functional/index.js +0 -17
- package/lib/cjs/InlineEdit/InlineEdit.d.ts +0 -37
- package/lib/cjs/InlineEdit/InlineEdit.d.ts.map +0 -1
- package/lib/cjs/InlineEdit/InlineEdit.js +0 -173
- package/lib/cjs/InlineEdit/NewInlineEdit.d.ts +0 -41
- package/lib/cjs/InlineEdit/NewInlineEdit.d.ts.map +0 -1
- package/lib/cjs/InlineEdit/NewInlineEdit.js +0 -182
- package/lib/cjs/InlineEdit/index.d.ts +0 -3
- package/lib/cjs/InlineEdit/index.d.ts.map +0 -1
- package/lib/cjs/InlineEdit/index.js +0 -18
- package/lib/cjs/InlineEdit/inlineEdit.css +0 -29
- package/lib/cjs/InlineEdit/newInlineEdit.css +0 -44
- package/lib/cjs/LanguageSelector/LanguageSelector.d.ts +0 -26
- package/lib/cjs/LanguageSelector/LanguageSelector.d.ts.map +0 -1
- package/lib/cjs/LanguageSelector/LanguageSelector.js +0 -65
- package/lib/cjs/LanguageSelector/index.d.ts +0 -2
- package/lib/cjs/LanguageSelector/index.d.ts.map +0 -1
- package/lib/cjs/LanguageSelector/index.js +0 -17
- package/lib/cjs/LanguageSelector/languageSelector.css +0 -5
- package/lib/cjs/LoadingDots/LoadingDots.css +0 -33
- package/lib/cjs/LoadingDots/LoadingDots.d.ts +0 -13
- package/lib/cjs/LoadingDots/LoadingDots.d.ts.map +0 -1
- package/lib/cjs/LoadingDots/LoadingDots.js +0 -25
- package/lib/cjs/LoadingDots/index.d.ts +0 -2
- package/lib/cjs/LoadingDots/index.d.ts.map +0 -1
- package/lib/cjs/LoadingDots/index.js +0 -18
- package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts +0 -15
- package/lib/cjs/LoadingIndicator/LoadingIndicator.d.ts.map +0 -1
- package/lib/cjs/LoadingIndicator/LoadingIndicator.js +0 -25
- package/lib/cjs/LoadingIndicator/index.d.ts +0 -2
- package/lib/cjs/LoadingIndicator/index.d.ts.map +0 -1
- package/lib/cjs/LoadingIndicator/index.js +0 -17
- package/lib/cjs/LoadingIndicator/loadingIndicator.css +0 -79
- package/lib/cjs/LoginModal/LoginModal.d.ts +0 -15
- package/lib/cjs/LoginModal/LoginModal.d.ts.map +0 -1
- package/lib/cjs/LoginModal/LoginModal.js +0 -21
- package/lib/cjs/LoginModal/index.d.ts +0 -2
- package/lib/cjs/LoginModal/index.d.ts.map +0 -1
- package/lib/cjs/LoginModal/index.js +0 -17
- package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts +0 -45
- package/lib/cjs/MarkdownEditor/MarkdownEditor.d.ts.map +0 -1
- package/lib/cjs/MarkdownEditor/MarkdownEditor.js +0 -442
- package/lib/cjs/MarkdownEditor/index.d.ts +0 -2
- package/lib/cjs/MarkdownEditor/index.d.ts.map +0 -1
- package/lib/cjs/MarkdownEditor/index.js +0 -17
- package/lib/cjs/MarkdownEditor/markdownEditor.css +0 -113
- package/lib/cjs/MoreOrLess/MoreOrLess.d.ts +0 -13
- package/lib/cjs/MoreOrLess/MoreOrLess.d.ts.map +0 -1
- package/lib/cjs/MoreOrLess/MoreOrLess.js +0 -75
- package/lib/cjs/MoreOrLess/index.d.ts +0 -2
- package/lib/cjs/MoreOrLess/index.d.ts.map +0 -1
- package/lib/cjs/MoreOrLess/index.js +0 -17
- package/lib/cjs/PaginatedList/PaginatedList.d.ts +0 -18
- package/lib/cjs/PaginatedList/PaginatedList.d.ts.map +0 -1
- package/lib/cjs/PaginatedList/PaginatedList.js +0 -67
- package/lib/cjs/PaginatedList/index.d.ts +0 -2
- package/lib/cjs/PaginatedList/index.d.ts.map +0 -1
- package/lib/cjs/PaginatedList/index.js +0 -17
- package/lib/cjs/PaginationCompact/PaginationCompact.d.ts +0 -10
- package/lib/cjs/PaginationCompact/PaginationCompact.d.ts.map +0 -1
- package/lib/cjs/PaginationCompact/PaginationCompact.js +0 -67
- package/lib/cjs/PaginationCompact/index.d.ts +0 -2
- package/lib/cjs/PaginationCompact/index.d.ts.map +0 -1
- package/lib/cjs/PaginationCompact/index.js +0 -17
- package/lib/cjs/PaginationCompact/paginationCompact.css +0 -5
- package/lib/cjs/PhoneInput/CountryData.d.ts +0 -3
- package/lib/cjs/PhoneInput/CountryData.d.ts.map +0 -1
- package/lib/cjs/PhoneInput/CountryData.js +0 -583
- package/lib/cjs/PhoneInput/PhoneInput.d.ts +0 -20
- package/lib/cjs/PhoneInput/PhoneInput.d.ts.map +0 -1
- package/lib/cjs/PhoneInput/PhoneInput.js +0 -293
- package/lib/cjs/PhoneInput/PhoneInput.scss +0 -753
- package/lib/cjs/PhoneInput/flags.png +0 -0
- package/lib/cjs/PhoneInput/index.d.ts +0 -2
- package/lib/cjs/PhoneInput/index.d.ts.map +0 -1
- package/lib/cjs/PhoneInput/index.js +0 -17
- package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts +0 -9
- package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/CircularProgressBar.js +0 -68
- package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts +0 -12
- package/lib/cjs/ProgressBar/CircularProgressBar/Path.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/Path.js +0 -39
- package/lib/cjs/ProgressBar/CircularProgressBar/constants.d.ts +0 -6
- package/lib/cjs/ProgressBar/CircularProgressBar/constants.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/constants.js +0 -8
- package/lib/cjs/ProgressBar/CircularProgressBar/index.d.ts +0 -2
- package/lib/cjs/ProgressBar/CircularProgressBar/index.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/index.js +0 -17
- package/lib/cjs/ProgressBar/CircularProgressBar/styles.css +0 -60
- package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts +0 -32
- package/lib/cjs/ProgressBar/CircularProgressBar/types.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/CircularProgressBar/types.js +0 -2
- package/lib/cjs/ProgressBar/ProgressBar.d.ts +0 -15
- package/lib/cjs/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/ProgressBar.js +0 -36
- package/lib/cjs/ProgressBar/index.d.ts +0 -3
- package/lib/cjs/ProgressBar/index.d.ts.map +0 -1
- package/lib/cjs/ProgressBar/index.js +0 -18
- package/lib/cjs/PromisifyModal/PromisifyModal.d.ts +0 -15
- package/lib/cjs/PromisifyModal/PromisifyModal.d.ts.map +0 -1
- package/lib/cjs/PromisifyModal/PromisifyModal.js +0 -43
- package/lib/cjs/PromisifyModal/index.d.ts +0 -2
- package/lib/cjs/PromisifyModal/index.d.ts.map +0 -1
- package/lib/cjs/PromisifyModal/index.js +0 -17
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts +0 -8
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.d.ts.map +0 -1
- package/lib/cjs/SubscriptionAbuse/SubscriptionAbuseModal.js +0 -20
- package/lib/cjs/SubscriptionAbuse/const.d.ts +0 -5
- package/lib/cjs/SubscriptionAbuse/const.d.ts.map +0 -1
- package/lib/cjs/SubscriptionAbuse/const.js +0 -15
- package/lib/cjs/SubscriptionAbuse/index.d.ts +0 -3
- package/lib/cjs/SubscriptionAbuse/index.d.ts.map +0 -1
- package/lib/cjs/SubscriptionAbuse/index.js +0 -18
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts +0 -12
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.d.ts.map +0 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackForm.js +0 -48
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts +0 -11
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.d.ts.map +0 -1
- package/lib/cjs/SupportFeedbackForm/SupportFeedbackModal.js +0 -182
- package/lib/cjs/SupportFeedbackForm/index.d.ts +0 -3
- package/lib/cjs/SupportFeedbackForm/index.d.ts.map +0 -1
- package/lib/cjs/SupportFeedbackForm/index.js +0 -18
- package/lib/cjs/Table/PFTable.d.ts +0 -40
- package/lib/cjs/Table/PFTable.d.ts.map +0 -1
- package/lib/cjs/Table/PFTable.js +0 -208
- package/lib/cjs/Table/README.md +0 -65
- package/lib/cjs/Table/TableColumnSelector.d.ts +0 -8
- package/lib/cjs/Table/TableColumnSelector.d.ts.map +0 -1
- package/lib/cjs/Table/TableColumnSelector.js +0 -34
- package/lib/cjs/Table/TableComponent.d.ts +0 -11
- package/lib/cjs/Table/TableComponent.d.ts.map +0 -1
- package/lib/cjs/Table/TableComponent.js +0 -42
- package/lib/cjs/Table/TablePagination.d.ts +0 -19
- package/lib/cjs/Table/TablePagination.d.ts.map +0 -1
- package/lib/cjs/Table/TablePagination.js +0 -50
- package/lib/cjs/Table/TableProvider.d.ts +0 -15
- package/lib/cjs/Table/TableProvider.d.ts.map +0 -1
- package/lib/cjs/Table/TableProvider.js +0 -25
- package/lib/cjs/Table/columnSelector.css +0 -41
- package/lib/cjs/Table/index.d.ts +0 -5
- package/lib/cjs/Table/index.d.ts.map +0 -1
- package/lib/cjs/Table/index.js +0 -20
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts +0 -15
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.d.ts.map +0 -1
- package/lib/cjs/TermsAndConditions/AcceptTermsModal.js +0 -121
- package/lib/cjs/TermsAndConditions/index.d.ts +0 -2
- package/lib/cjs/TermsAndConditions/index.d.ts.map +0 -1
- package/lib/cjs/TermsAndConditions/index.js +0 -17
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts +0 -8
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.d.ts.map +0 -1
- package/lib/cjs/TextAreaAutosize/TextAreaAutosize.js +0 -140
- package/lib/cjs/TextAreaAutosize/index.d.ts +0 -2
- package/lib/cjs/TextAreaAutosize/index.d.ts.map +0 -1
- package/lib/cjs/TextAreaAutosize/index.js +0 -17
- package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts +0 -20
- package/lib/cjs/TextAreaResizable/TextAreaResizable.d.ts.map +0 -1
- package/lib/cjs/TextAreaResizable/TextAreaResizable.js +0 -60
- package/lib/cjs/TextAreaResizable/index.d.ts +0 -2
- package/lib/cjs/TextAreaResizable/index.d.ts.map +0 -1
- package/lib/cjs/TextAreaResizable/index.js +0 -17
- package/lib/cjs/ToastNotification/ToastNotification.d.ts +0 -28
- package/lib/cjs/ToastNotification/ToastNotification.d.ts.map +0 -1
- package/lib/cjs/ToastNotification/ToastNotification.js +0 -71
- package/lib/cjs/ToastNotification/index.d.ts +0 -2
- package/lib/cjs/ToastNotification/index.d.ts.map +0 -1
- package/lib/cjs/ToastNotification/index.js +0 -17
- package/lib/cjs/ToastNotification/toastNotification.css +0 -22
- package/lib/cjs/TopContentSearch/TopContentSearch.d.ts +0 -14
- package/lib/cjs/TopContentSearch/TopContentSearch.d.ts.map +0 -1
- package/lib/cjs/TopContentSearch/TopContentSearch.js +0 -143
- package/lib/cjs/TopContentSearch/index.d.ts +0 -2
- package/lib/cjs/TopContentSearch/index.d.ts.map +0 -1
- package/lib/cjs/TopContentSearch/index.js +0 -17
- package/lib/cjs/TopContentSearch/topContentSearch.scss +0 -22
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts +0 -14
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.d.ts.map +0 -1
- package/lib/cjs/ValueChangedIcon/ValueChangedIcon.js +0 -80
- package/lib/cjs/ValueChangedIcon/index.d.ts +0 -2
- package/lib/cjs/ValueChangedIcon/index.d.ts.map +0 -1
- package/lib/cjs/ValueChangedIcon/index.js +0 -17
- package/lib/cjs/helperFunctions/errorMessage.d.ts +0 -13
- package/lib/cjs/helperFunctions/errorMessage.d.ts.map +0 -1
- package/lib/cjs/helperFunctions/errorMessage.js +0 -95
- package/lib/cjs/helperFunctions/errorMessage.scss +0 -3
- package/lib/cjs/helperFunctions/index.d.ts +0 -2
- package/lib/cjs/helperFunctions/index.d.ts.map +0 -1
- package/lib/cjs/helperFunctions/index.js +0 -17
- package/lib/cjs/hooks/index.d.ts +0 -15
- package/lib/cjs/hooks/index.d.ts.map +0 -1
- package/lib/cjs/hooks/index.js +0 -30
- package/lib/cjs/hooks/useBreakpoint.d.ts +0 -12
- package/lib/cjs/hooks/useBreakpoint.d.ts.map +0 -1
- package/lib/cjs/hooks/useBreakpoint.js +0 -91
- package/lib/cjs/hooks/useCopyToClipboard.d.ts +0 -6
- package/lib/cjs/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/lib/cjs/hooks/useCopyToClipboard.js +0 -40
- package/lib/cjs/hooks/useDebounce.d.ts +0 -9
- package/lib/cjs/hooks/useDebounce.d.ts.map +0 -1
- package/lib/cjs/hooks/useDebounce.js +0 -40
- package/lib/cjs/hooks/useFetch.d.ts +0 -20
- package/lib/cjs/hooks/useFetch.d.ts.map +0 -1
- package/lib/cjs/hooks/useFetch.js +0 -70
- package/lib/cjs/hooks/useForceUpdate.d.ts +0 -18
- package/lib/cjs/hooks/useForceUpdate.d.ts.map +0 -1
- package/lib/cjs/hooks/useForceUpdate.js +0 -28
- package/lib/cjs/hooks/useForkRef.d.ts +0 -2
- package/lib/cjs/hooks/useForkRef.d.ts.map +0 -1
- package/lib/cjs/hooks/useForkRef.js +0 -29
- package/lib/cjs/hooks/useIsMounted.d.ts +0 -3
- package/lib/cjs/hooks/useIsMounted.d.ts.map +0 -1
- package/lib/cjs/hooks/useIsMounted.js +0 -18
- package/lib/cjs/hooks/useLRUCache.d.ts +0 -8
- package/lib/cjs/hooks/useLRUCache.d.ts.map +0 -1
- package/lib/cjs/hooks/useLRUCache.js +0 -28
- package/lib/cjs/hooks/useLocalStorage.d.ts +0 -5
- package/lib/cjs/hooks/useLocalStorage.d.ts.map +0 -1
- package/lib/cjs/hooks/useLocalStorage.js +0 -39
- package/lib/cjs/hooks/useOnScreen.d.ts +0 -2
- package/lib/cjs/hooks/useOnScreen.d.ts.map +0 -1
- package/lib/cjs/hooks/useOnScreen.js +0 -18
- package/lib/cjs/hooks/usePolling.d.ts +0 -2
- package/lib/cjs/hooks/usePolling.d.ts.map +0 -1
- package/lib/cjs/hooks/usePolling.js +0 -19
- package/lib/cjs/hooks/usePrevious.d.ts +0 -2
- package/lib/cjs/hooks/usePrevious.d.ts.map +0 -1
- package/lib/cjs/hooks/usePrevious.js +0 -12
- package/lib/cjs/hooks/useSelectKeyboardNavigator.d.ts +0 -13
- package/lib/cjs/hooks/useSelectKeyboardNavigator.d.ts.map +0 -1
- package/lib/cjs/hooks/useSelectKeyboardNavigator.js +0 -58
- package/lib/cjs/hooks/useTitle.d.ts +0 -2
- package/lib/cjs/hooks/useTitle.d.ts.map +0 -1
- package/lib/cjs/hooks/useTitle.js +0 -14
- package/lib/cjs/hooks/useUndo.d.ts +0 -22
- package/lib/cjs/hooks/useUndo.d.ts.map +0 -1
- package/lib/cjs/hooks/useUndo.js +0 -76
- package/lib/cjs/index.d.ts +0 -34
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js +0 -49
- package/lib/esm/Table/TableColumnSelector.d.ts +0 -8
- package/lib/esm/Table/TableColumnSelector.d.ts.map +0 -1
- package/lib/esm/Table/TableColumnSelector.js +0 -27
- package/lib/esm/Table/columnSelector.css +0 -41
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IColumn } from './PFTable';
|
|
3
|
-
interface IProps<T> {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
columns: IColumn[];
|
|
6
|
-
data: T;
|
|
7
|
-
selectedColumns?: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare function TableComponent<T>({ children, columns, data, selectedColumns }: IProps<T>): React.JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=TableComponent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.TableComponent = void 0;
|
|
27
|
-
const react_1 = __importStar(require("react"));
|
|
28
|
-
const TableProvider_1 = require("./TableProvider");
|
|
29
|
-
function TableComponent({ children, columns, data, selectedColumns }) {
|
|
30
|
-
const [currentPage, setSelectedPage] = (0, react_1.useState)(1);
|
|
31
|
-
const [perPage, setPerPage] = (0, react_1.useState)(10);
|
|
32
|
-
return (react_1.default.createElement(TableProvider_1.TableContext.Provider, { value: {
|
|
33
|
-
columns,
|
|
34
|
-
data,
|
|
35
|
-
perPage,
|
|
36
|
-
currentPage,
|
|
37
|
-
setSelectedPage,
|
|
38
|
-
setPerPage,
|
|
39
|
-
selectedColumns,
|
|
40
|
-
} }, children));
|
|
41
|
-
}
|
|
42
|
-
exports.TableComponent = TableComponent;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PaginationVariant } from '@patternfly/react-core';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IProps {
|
|
4
|
-
itemCount?: number;
|
|
5
|
-
onSetPage?: ({ pageSize, currentPage }: {
|
|
6
|
-
pageSize: any;
|
|
7
|
-
currentPage: any;
|
|
8
|
-
}) => void;
|
|
9
|
-
onPerPageSelect?: ({ pageSize, currentPage }: {
|
|
10
|
-
pageSize: any;
|
|
11
|
-
currentPage: any;
|
|
12
|
-
}) => void;
|
|
13
|
-
perPage?: number;
|
|
14
|
-
currentPage?: number;
|
|
15
|
-
variant: PaginationVariant;
|
|
16
|
-
}
|
|
17
|
-
export declare function TablePagination(props: IProps): React.JSX.Element;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=TablePagination.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.TablePagination = void 0;
|
|
27
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
28
|
-
const react_1 = __importStar(require("react"));
|
|
29
|
-
const TableProvider_1 = require("./TableProvider");
|
|
30
|
-
function TablePagination(props) {
|
|
31
|
-
const { data, setSelectedPage, setPerPage, perPage, currentPage } = (0, TableProvider_1.useTableContext)();
|
|
32
|
-
const onSetPage = (event, pageNumber) => {
|
|
33
|
-
setSelectedPage(pageNumber);
|
|
34
|
-
props.onSetPage && props.onSetPage({ pageSize: perPage, currentPage: pageNumber });
|
|
35
|
-
};
|
|
36
|
-
const onPerPageSelect = (event, pageSize) => {
|
|
37
|
-
setSelectedPage(1);
|
|
38
|
-
setPerPage(pageSize);
|
|
39
|
-
props.onPerPageSelect && props.onPerPageSelect({ pageSize, currentPage: 1 });
|
|
40
|
-
};
|
|
41
|
-
(0, react_1.useEffect)(() => {
|
|
42
|
-
props.perPage && props.perPage !== perPage && setPerPage(props.perPage);
|
|
43
|
-
props.currentPage && props.currentPage !== currentPage && setSelectedPage(props.currentPage);
|
|
44
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
45
|
-
}, [props.perPage, props.currentPage]);
|
|
46
|
-
return (react_1.default.createElement(react_core_1.Pagination, { itemCount: props.itemCount || (data || []).length, widgetId: "pagination-options-menu-top", perPage: perPage, page: currentPage, variant: props.variant, titles: {
|
|
47
|
-
paginationAriaLabel: props.variant === react_core_1.PaginationVariant.top ? 'Upper pagination' : 'Lower pagination',
|
|
48
|
-
}, onSetPage: onSetPage, onPerPageSelect: onPerPageSelect }));
|
|
49
|
-
}
|
|
50
|
-
exports.TablePagination = TablePagination;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IColumn } from './PFTable';
|
|
3
|
-
interface ITableContext {
|
|
4
|
-
columns: IColumn[];
|
|
5
|
-
data: any;
|
|
6
|
-
currentPage: number;
|
|
7
|
-
perPage: number;
|
|
8
|
-
setSelectedPage: React.Dispatch<React.SetStateAction<number>>;
|
|
9
|
-
setPerPage: React.Dispatch<React.SetStateAction<number>>;
|
|
10
|
-
selectedColumns: string[];
|
|
11
|
-
}
|
|
12
|
-
export declare const TableContext: React.Context<ITableContext>;
|
|
13
|
-
export declare function useTableContext(): ITableContext;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=TableProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableProvider.d.ts","sourceRoot":"","sources":["../../../src/Table/TableProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,UAAU,aAAa;IACnB,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,IAAI,EAAE,GAAG,CAAC;IACV,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC9D,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACzD,eAAe,EAAE,MAAM,EAAE,CAAC;CAC7B;AAYD,eAAO,MAAM,YAAY,8BAAyD,CAAC;AAEnF,wBAAgB,eAAe,kBAM9B"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useTableContext = exports.TableContext = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const intialTableContext = {
|
|
9
|
-
columns: [],
|
|
10
|
-
data: [],
|
|
11
|
-
currentPage: 1,
|
|
12
|
-
perPage: 10,
|
|
13
|
-
setSelectedPage: () => { },
|
|
14
|
-
setPerPage: () => { },
|
|
15
|
-
selectedColumns: [],
|
|
16
|
-
};
|
|
17
|
-
exports.TableContext = react_1.default.createContext(intialTableContext);
|
|
18
|
-
function useTableContext() {
|
|
19
|
-
const context = react_1.default.useContext(exports.TableContext);
|
|
20
|
-
if (context === undefined) {
|
|
21
|
-
throw new Error(`useTableContext must be used within a TableProvider`);
|
|
22
|
-
}
|
|
23
|
-
return context;
|
|
24
|
-
}
|
|
25
|
-
exports.useTableContext = useTableContext;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.downshift .column-selector-menu {
|
|
2
|
-
box-shadow: rgba(3, 5, 3, 0.05) 1px 1px 1px 0px, rgba(3, 3, 3, 0.06) 1px 4px 8px 6px;
|
|
3
|
-
max-height: 250px;
|
|
4
|
-
left: unset;
|
|
5
|
-
border-color: #d1d1d1;
|
|
6
|
-
position: absolute;
|
|
7
|
-
top: 100%;
|
|
8
|
-
z-index: 10;
|
|
9
|
-
display: -ms-grid;
|
|
10
|
-
display: grid;
|
|
11
|
-
-ms-grid-columns: 1fr 1fr;
|
|
12
|
-
grid-template-columns: 1fr 1fr;
|
|
13
|
-
grid-gap: 6px;
|
|
14
|
-
margin: 4px 0 0;
|
|
15
|
-
list-style-type: none;
|
|
16
|
-
background-color: #fff;
|
|
17
|
-
min-width: 410px;
|
|
18
|
-
overflow: auto;
|
|
19
|
-
padding: 10px 4px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.downshift .column-selector-menu li:hover:not([disabled]) label {
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
color: #06c;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.downshift .column-selector-menu li[disabled] {
|
|
28
|
-
cursor: not-allowed;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
button.pf-v5-c-button.column-selector-btn::after {
|
|
32
|
-
border: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.downshift .column-selector-menu li label {
|
|
36
|
-
font-weight: 400;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
#case-list-table-column-dropdown ul {
|
|
40
|
-
min-height: 336px;
|
|
41
|
-
}
|
package/lib/cjs/Table/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Table/index.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
package/lib/cjs/Table/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TableComponent"), exports);
|
|
18
|
-
__exportStar(require("./PFTable"), exports);
|
|
19
|
-
__exportStar(require("./TableColumnSelector"), exports);
|
|
20
|
-
__exportStar(require("./TablePagination"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IProps {
|
|
3
|
-
isModalOpen: boolean;
|
|
4
|
-
onModalClose: () => void;
|
|
5
|
-
onConfirm: (pdfId: string) => Promise<void>;
|
|
6
|
-
isSubmitting?: boolean;
|
|
7
|
-
siteCode: string;
|
|
8
|
-
eventCode: string;
|
|
9
|
-
loggedInUser: string;
|
|
10
|
-
dataTrackingId?: string;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare function AcceptTermsModal(props: IProps): React.JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=AcceptTermsModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
exports.AcceptTermsModal = void 0;
|
|
36
|
-
const hydrajs_1 = require("@cee-eng/hydrajs");
|
|
37
|
-
const react_core_1 = require("@patternfly/react-core");
|
|
38
|
-
const deprecated_1 = require("@patternfly/react-core/deprecated");
|
|
39
|
-
const react_1 = __importStar(require("react"));
|
|
40
|
-
const react_i18next_1 = require("react-i18next");
|
|
41
|
-
const hooks_1 = require("../hooks");
|
|
42
|
-
const LoadingIndicator_1 = require("../LoadingIndicator");
|
|
43
|
-
const getLocaleNameFromLocalCode = (localeCode) => {
|
|
44
|
-
if ('Intl' in window && 'DisplayNames' in Intl) {
|
|
45
|
-
try {
|
|
46
|
-
const [lang, locale] = localeCode.includes('_') ? localeCode.split('_') : localeCode.split('-');
|
|
47
|
-
// https://github.com/microsoft/TypeScript/issues/41338
|
|
48
|
-
const langName = new Intl.DisplayNames([lang], { type: 'language' });
|
|
49
|
-
const regionNamesInLang = new Intl.DisplayNames([lang], { type: 'region' });
|
|
50
|
-
return `${regionNamesInLang.of(locale)} (${langName.of(lang)})`;
|
|
51
|
-
}
|
|
52
|
-
catch (e) {
|
|
53
|
-
return localeCode;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return localeCode;
|
|
57
|
-
};
|
|
58
|
-
function AcceptTermsModal(props) {
|
|
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)(() => {
|
|
66
|
-
const fetchTerms = () => __awaiter(this, void 0, void 0, function* () {
|
|
67
|
-
var _a, _b, _c, _d;
|
|
68
|
-
try {
|
|
69
|
-
const { siteCode, eventCode, loggedInUser } = props;
|
|
70
|
-
const response = yield request(siteCode, eventCode, loggedInUser);
|
|
71
|
-
let defaultTranslation = (_b = (_a = response === null || response === void 0 ? void 0 : response[0]) === null || _a === void 0 ? void 0 : _a.translations) === null || _b === void 0 ? void 0 : _b[0];
|
|
72
|
-
const translationLangInfoMap = (_d = (_c = response === null || response === void 0 ? void 0 : response[0]) === null || _c === void 0 ? void 0 : _c.translations) === null || _d === void 0 ? void 0 : _d.reduce((allTranslationsmap, translation) => {
|
|
73
|
-
if (translation.isDefault) {
|
|
74
|
-
defaultTranslation = translation;
|
|
75
|
-
}
|
|
76
|
-
allTranslationsmap[translation['localeCode']] = translation;
|
|
77
|
-
return allTranslationsmap;
|
|
78
|
-
}, {});
|
|
79
|
-
setSelectedTranslation(defaultTranslation);
|
|
80
|
-
setAllTranslations(translationLangInfoMap);
|
|
81
|
-
}
|
|
82
|
-
catch (e) {
|
|
83
|
-
console.log(e);
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
fetchTerms();
|
|
87
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
88
|
-
}, []);
|
|
89
|
-
const onLangChange = (event, lang) => {
|
|
90
|
-
setSelectedTranslation(allTranslations[lang]);
|
|
91
|
-
setisLangSelectorDropdownOpen(false);
|
|
92
|
-
};
|
|
93
|
-
const handleModalToggle = () => {
|
|
94
|
-
!props.isDisabled && props.onModalClose();
|
|
95
|
-
};
|
|
96
|
-
const onSubmitClick = () => {
|
|
97
|
-
props.onConfirm(selectedTranslation.termsPdfId);
|
|
98
|
-
};
|
|
99
|
-
const onDropdownToggle = (toggle) => setisLangSelectorDropdownOpen(toggle);
|
|
100
|
-
return (react_1.default.createElement(react_core_1.Modal, { variant: react_core_1.ModalVariant.medium, className: "pf-v5-u-font-size-sm", title: isFetching || !selectedTranslation ? 'Remote Access Rider' : selectedTranslation.translatedTermsName, isOpen: props.isModalOpen, showClose: props.isSubmitting ? false : true, onClose: handleModalToggle, actions: [
|
|
101
|
-
react_1.default.createElement(react_core_1.Button, { key: "confirm", variant: react_core_1.ButtonVariant.primary, isDisabled: !termsAcked || props.isSubmitting || props.isDisabled, isLoading: props.isDisabled || props.isSubmitting, "data-tracking-id": `${props.dataTrackingId || props.eventCode}-terms-accept`, onClick: onSubmitClick },
|
|
102
|
-
react_1.default.createElement(react_i18next_1.Trans, null, "Submit")),
|
|
103
|
-
react_1.default.createElement(react_core_1.Button, { key: "cancel", isDisabled: props.isSubmitting || props.isDisabled, "data-tracking-id": `${props.dataTrackingId || props.eventCode}-terms-cancel`, variant: react_core_1.ButtonVariant.link, onClick: props.onModalClose },
|
|
104
|
-
react_1.default.createElement(react_i18next_1.Trans, null, "Cancel")),
|
|
105
|
-
] }, isFetching || !selectedTranslation ? (react_1.default.createElement("div", { style: { height: '100px' } },
|
|
106
|
-
react_1.default.createElement(LoadingIndicator_1.LoadingIndicator, null))) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
107
|
-
react_1.default.createElement("p", { className: "pf-v5-u-mb-md" }, selectedTranslation.translatedDescription),
|
|
108
|
-
react_1.default.createElement("strong", null,
|
|
109
|
-
react_1.default.createElement(react_i18next_1.Trans, null, "Download the agreement")),
|
|
110
|
-
react_1.default.createElement("p", { className: "pf-v5-u-mb-md pf-v5-u-mt-sm" }, selectedTranslation.translatedInstructions),
|
|
111
|
-
react_1.default.createElement(react_core_1.Flex, null,
|
|
112
|
-
react_1.default.createElement(react_core_1.FlexItem, null,
|
|
113
|
-
react_1.default.createElement(deprecated_1.Select, { "aria-label": t('Select language'), id: "terms-language-selector", className: "pf-v5-u-mb-md", selections: selectedTranslation.localeCode, onSelect: onLangChange, isOpen: isLangSelectorDropdownOpen, isDisabled: props.isSubmitting, menuAppendTo: document.body, placeholderText: t('Select an option that best fits'), onToggle: (_event, toggle) => onDropdownToggle(toggle) }, Object.keys(allTranslations).map((option, index) => (react_1.default.createElement(deprecated_1.SelectOption, { key: index, value: option }, getLocaleNameFromLocalCode(option)))))),
|
|
114
|
-
react_1.default.createElement(react_core_1.FlexItem, null,
|
|
115
|
-
react_1.default.createElement("a", { href: selectedTranslation.pdfDownloadUrl, "data-tracking-id": `${props.eventCode}-terms-download`, target: "_blank", rel: "noopener noreferrer" },
|
|
116
|
-
react_1.default.createElement(react_i18next_1.Trans, null, "Download")))),
|
|
117
|
-
react_1.default.createElement(react_core_1.Checkbox, { label: t('I have read and agree to the terms'), isChecked: termsAcked, onChange: (_event, checked) => {
|
|
118
|
-
setTermsAcked(checked);
|
|
119
|
-
}, "aria-label": t('I have read and agree to the terms'), id: "agree-terms", name: "agree-terms" })))));
|
|
120
|
-
}
|
|
121
|
-
exports.AcceptTermsModal = AcceptTermsModal;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TermsAndConditions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AcceptTermsModal"), exports);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React, { HTMLProps } from 'react';
|
|
2
|
-
interface IProps extends Omit<HTMLProps<HTMLTextAreaElement>, 'css'> {
|
|
3
|
-
rowsMax?: number;
|
|
4
|
-
rowsMin?: number;
|
|
5
|
-
}
|
|
6
|
-
declare const TextAreaAutosize: React.ForwardRefExoticComponent<Omit<IProps, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
-
export { TextAreaAutosize };
|
|
8
|
-
//# sourceMappingURL=TextAreaAutosize.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,140 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
26
|
-
var t = {};
|
|
27
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
|
-
t[p] = s[p];
|
|
29
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
31
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
32
|
-
t[p[i]] = s[p[i]];
|
|
33
|
-
}
|
|
34
|
-
return t;
|
|
35
|
-
};
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.TextAreaAutosize = void 0;
|
|
41
|
-
const debounce_1 = __importDefault(require("lodash/debounce"));
|
|
42
|
-
const react_1 = __importStar(require("react"));
|
|
43
|
-
const useForkRef_1 = require("../hooks/useForkRef");
|
|
44
|
-
const defaultProps = {
|
|
45
|
-
rowsMax: 20,
|
|
46
|
-
rowsMin: 2,
|
|
47
|
-
};
|
|
48
|
-
function getStyleValue(computedStyle, property) {
|
|
49
|
-
return parseInt(computedStyle[property], 10) || 0;
|
|
50
|
-
}
|
|
51
|
-
const TextAreaAutosize = (0, react_1.forwardRef)((props, ref) => {
|
|
52
|
-
const { rowsMax, rowsMin } = props, rest = __rest(props, ["rowsMax", "rowsMin"]);
|
|
53
|
-
const { current: isControlled } = react_1.default.useRef(props.value != null);
|
|
54
|
-
const inputRef = (0, react_1.useRef)(null);
|
|
55
|
-
const handleRef = (0, useForkRef_1.useForkRef)(ref, inputRef);
|
|
56
|
-
const shadowRef = react_1.default.useRef(null);
|
|
57
|
-
const renders = react_1.default.useRef(0);
|
|
58
|
-
const [state, setState] = (0, react_1.useState)({
|
|
59
|
-
overflow: null,
|
|
60
|
-
outerHeightStyle: null,
|
|
61
|
-
});
|
|
62
|
-
const syncHeight = (0, react_1.useCallback)(() => {
|
|
63
|
-
const input = inputRef.current;
|
|
64
|
-
const computedStyle = window.getComputedStyle(input);
|
|
65
|
-
const inputShallow = shadowRef.current;
|
|
66
|
-
inputShallow.style.width = computedStyle.width;
|
|
67
|
-
inputShallow.value = input.value || 'x';
|
|
68
|
-
if (inputShallow.value.slice(-1) === '\n') {
|
|
69
|
-
// Certain fonts which overflow the line height will cause the textarea
|
|
70
|
-
// to report a different scrollHeight depending on whether the last line
|
|
71
|
-
// is empty. Make it non-empty to avoid this issue.
|
|
72
|
-
inputShallow.value += ' ';
|
|
73
|
-
}
|
|
74
|
-
const boxSizing = computedStyle['box-sizing'];
|
|
75
|
-
const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
|
|
76
|
-
const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width');
|
|
77
|
-
// The height of the inner content
|
|
78
|
-
const innerHeight = inputShallow.scrollHeight - padding;
|
|
79
|
-
// Measure height of a textarea with a single row
|
|
80
|
-
inputShallow.value = 'x';
|
|
81
|
-
const singleRowHeight = inputShallow.scrollHeight - padding;
|
|
82
|
-
// The height of the outer content
|
|
83
|
-
let outerHeight = innerHeight;
|
|
84
|
-
if (props.rowsMin)
|
|
85
|
-
outerHeight = Math.max(Number(props.rowsMin) * singleRowHeight, outerHeight);
|
|
86
|
-
if (props.rowsMax)
|
|
87
|
-
outerHeight = Math.min(Number(props.rowsMax) * singleRowHeight, outerHeight);
|
|
88
|
-
outerHeight = Math.max(outerHeight, singleRowHeight);
|
|
89
|
-
// Take the box sizing into account for applying this value as a style.
|
|
90
|
-
const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
|
|
91
|
-
const overflow = Math.abs(outerHeight - innerHeight) <= 1;
|
|
92
|
-
setState((prevState) => {
|
|
93
|
-
// Need a large enough difference to update the height.
|
|
94
|
-
// This prevents infinite rendering loop.
|
|
95
|
-
if (renders.current < 20 &&
|
|
96
|
-
((outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1) ||
|
|
97
|
-
prevState.overflow !== overflow)) {
|
|
98
|
-
renders.current += 1;
|
|
99
|
-
return {
|
|
100
|
-
overflow,
|
|
101
|
-
outerHeightStyle,
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
return prevState;
|
|
105
|
-
});
|
|
106
|
-
}, [props.rowsMax, props.rowsMin]);
|
|
107
|
-
(0, react_1.useEffect)(() => {
|
|
108
|
-
const debouncedHandleResize = (0, debounce_1.default)(() => {
|
|
109
|
-
renders.current = 0;
|
|
110
|
-
syncHeight();
|
|
111
|
-
}, 1000);
|
|
112
|
-
window.addEventListener('resize', debouncedHandleResize);
|
|
113
|
-
return () => {
|
|
114
|
-
window.removeEventListener('resize', debouncedHandleResize);
|
|
115
|
-
};
|
|
116
|
-
}, [syncHeight]);
|
|
117
|
-
(0, react_1.useLayoutEffect)(() => {
|
|
118
|
-
syncHeight();
|
|
119
|
-
});
|
|
120
|
-
(0, react_1.useEffect)(() => {
|
|
121
|
-
renders.current = 0;
|
|
122
|
-
}, [props.value]);
|
|
123
|
-
const handleChange = (event) => {
|
|
124
|
-
renders.current = 0;
|
|
125
|
-
if (!isControlled)
|
|
126
|
-
syncHeight();
|
|
127
|
-
if (props.onChange)
|
|
128
|
-
props.onChange(event);
|
|
129
|
-
};
|
|
130
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
131
|
-
react_1.default.createElement("textarea", Object.assign({}, rest, { value: props.value, onChange: handleChange, ref: handleRef, rows: props.rows || props.rowsMin, style: {
|
|
132
|
-
height: state.outerHeightStyle,
|
|
133
|
-
// Need a large enough difference to allow scrolling.
|
|
134
|
-
// This prevents infinite rendering loop.
|
|
135
|
-
overflow: state.overflow ? 'hidden' : null,
|
|
136
|
-
} })),
|
|
137
|
-
react_1.default.createElement("textarea", { "aria-hidden": true, className: props.className, style: { visibility: 'hidden', position: 'absolute' }, readOnly: true, ref: shadowRef, tabIndex: -1, rows: 1 })));
|
|
138
|
-
});
|
|
139
|
-
exports.TextAreaAutosize = TextAreaAutosize;
|
|
140
|
-
TextAreaAutosize.defaultProps = defaultProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TextAreaAutosize/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
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);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TextAreaAutosize"), exports);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ValidatedOptions } from '@patternfly/react-core';
|
|
2
|
-
import React, { HTMLProps } from 'react';
|
|
3
|
-
interface IProps extends Omit<HTMLProps<HTMLTextAreaElement>, 'css' | 'onChange' | 'name' | 'validated'> {
|
|
4
|
-
rowsMax?: number;
|
|
5
|
-
rowsMin?: number;
|
|
6
|
-
value?: string;
|
|
7
|
-
autoResize?: boolean;
|
|
8
|
-
isSpaceAllowed?: boolean;
|
|
9
|
-
id?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
isRequired?: boolean;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
name?: string;
|
|
14
|
-
isDisabled?: boolean;
|
|
15
|
-
validated?: ValidatedOptions;
|
|
16
|
-
onChange: (value: string, event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const TextAreaResizable: (props: IProps) => React.JSX.Element;
|
|
19
|
-
export {};
|
|
20
|
-
//# sourceMappingURL=TextAreaResizable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|