@adyen/adyen-platform-experience-web 0.1.1 → 1.0.0-beta
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/README.md +13 -13
- package/dist/AmountSkeleton.css +23 -0
- package/dist/BalanceAccountSelector.css +4 -0
- package/dist/BaseButton.css +14 -0
- package/dist/BaseList.css +5 -0
- package/dist/Button.css +114 -0
- package/dist/ButtonActions-eb064f69.mjs +46 -0
- package/dist/ButtonActions.css +28 -0
- package/dist/CalendarGrid.css +113 -0
- package/dist/CopyText.css +18 -0
- package/dist/DatePicker.css +64 -0
- package/dist/ErrorMessageDisplay.css +20 -0
- package/dist/ErrorPanel.css +15 -0
- package/dist/ExpandableCard.css +71 -0
- package/dist/FilterBar.css +40 -0
- package/dist/FilterButton.css +48 -0
- package/dist/Img.css +7 -0
- package/dist/InputBase.css +175 -0
- package/dist/Modal.css +110 -0
- package/dist/Pagination.css +25 -0
- package/dist/Popover.css +127 -0
- package/dist/PopoverDismissButton.css +12 -0
- package/dist/RangeSelection.css +26 -0
- package/dist/Select.css +149 -0
- package/dist/SkeletonBody.css +154 -0
- package/dist/Spinner.css +50 -0
- package/dist/SummaryItem.css +37 -0
- package/dist/Tag-6d02fd64.mjs +32 -0
- package/dist/Tag.css +34 -0
- package/dist/Tooltip.css +7 -0
- package/dist/TotalsCard.css +14 -0
- package/dist/TransactionDetails.css +74 -0
- package/dist/TransactionsDisplay.css +4 -0
- package/dist/TransactionsOverview.css +29 -0
- package/dist/TransactionsOverviewContainer.css +3 -0
- package/dist/TransactionsTable.css +18 -0
- package/dist/Typography-11b95870.mjs +68 -0
- package/dist/Typography.css +57 -0
- package/dist/cjs/ModalContent-f4990141.js +10 -0
- package/dist/cjs/ModalContent-f4990141.js.map +1 -0
- package/dist/cjs/index-8c098f20.js +10401 -0
- package/dist/cjs/index-8c098f20.js.map +1 -0
- package/dist/cjs/index.css +1709 -0
- package/dist/cjs/index.js +35 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/compat.module-a4d537ff.mjs +237 -0
- package/dist/en-US-1daadfc1.mjs +371 -0
- package/dist/es/components/external/BaseElement.js +89 -49
- package/dist/es/components/external/EventEmitter.js +28 -17
- package/dist/es/components/external/FormElement.js +78 -0
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +20 -15
- package/dist/es/components/external/TransactionDetails/components/TransactionData.js +43 -42
- package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +13 -10
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.js +39 -28
- package/dist/es/components/external/TransactionDetails/index.js +4 -0
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +35 -0
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +12 -0
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/constants.js +8 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.js +31 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/index.js +6 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.js +25 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +41 -0
- package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +56 -0
- package/dist/es/components/external/TransactionsOverview/components/Balances/constants.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +12 -0
- package/dist/es/components/external/TransactionsOverview/components/ModalContent.js +12 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +33 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/index.js +15 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +27 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/index.js +13 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +31 -0
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +11 -0
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +60 -0
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +22 -0
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/constants.js +16 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.js +21 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +61 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +50 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +66 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/constants.js +6 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.js +91 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/constants.js +6 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +179 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/constants.js +8 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +52 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/constants.js +6 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.js +71 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +112 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/constants.js +12 -0
- package/dist/es/components/external/{Transactions → TransactionsOverview}/components/utils.js +13 -7
- package/dist/es/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.js +41 -0
- package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +16 -0
- package/dist/es/components/external/TransactionsOverview/hooks/useMediaQuery.js +37 -0
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +33 -0
- package/dist/es/components/external/TransactionsOverview/index.js +6 -0
- package/dist/es/components/external/UIElement.js +51 -39
- package/dist/es/components/external/index.js +8 -0
- package/dist/es/components/index.js +11 -0
- package/dist/es/components/internal/BaseButton/BaseButton.js +22 -13
- package/dist/es/components/internal/BaseButton/constants.js +2 -2
- package/dist/es/components/internal/BaseButton/index.js +4 -0
- package/dist/es/components/internal/BaseList/BaseList.js +8 -5
- package/dist/es/components/internal/BaseList/constants.js +2 -2
- package/dist/es/components/internal/Button/Button.js +41 -39
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +8 -27
- package/dist/es/components/internal/Button/constants.js +16 -9
- package/dist/es/components/internal/Button/hooks/useButton.js +16 -12
- package/dist/es/components/internal/Button/index.js +4 -0
- package/dist/es/components/internal/Calendar/Calendar.js +21 -20
- package/dist/es/components/internal/Calendar/calendar/constants.js +70 -35
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +554 -317
- package/dist/es/components/internal/Calendar/calendar/facade/index.js +46 -37
- package/dist/es/components/internal/Calendar/calendar/index.js +4 -0
- package/dist/es/components/internal/Calendar/calendar/shared/indexed/index.js +46 -34
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +5 -31
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/utils.js +16 -14
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +221 -122
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +418 -238
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/YearFrame.js +197 -0
- package/dist/es/components/internal/Calendar/calendar/timeframe/index.js +8 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +63 -40
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.test.js +139 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/index.js +4 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/index.js +14 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.test.js +69 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +27 -16
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.test.js +69 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.test.js +108 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +23 -14
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +29 -21
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/fixtures.js +15 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/helpers.js +19 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.test.js +46 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.test.js +85 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +13 -9
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.test.js +49 -0
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +83 -49
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +61 -38
- package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +21 -17
- package/dist/es/components/internal/Calendar/calendar/utils.js +22 -15
- package/dist/es/components/internal/Calendar/clock/clock.js +41 -23
- package/dist/es/components/internal/Calendar/clock/clock.test.js +43 -0
- package/dist/es/components/internal/Calendar/clock/index.js +7 -0
- package/dist/es/components/internal/Calendar/clock/testing/fixtures.js +60 -0
- package/dist/es/components/internal/Calendar/clock/today.js +57 -37
- package/dist/es/components/internal/Calendar/clock/today.test.js +98 -0
- package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +12 -7
- package/dist/es/components/internal/Calendar/components/CalendarControls/index.js +4 -0
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +29 -27
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +58 -33
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +40 -30
- package/dist/es/components/internal/Calendar/components/CalendarGrid/index.js +4 -0
- package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +49 -44
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +115 -84
- package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +40 -35
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +45 -23
- package/dist/es/components/internal/Calendar/index.js +4 -0
- package/dist/es/components/internal/CopyText/CopyText.js +41 -0
- package/dist/es/components/internal/DataGrid/DataGrid.js +10 -84
- package/dist/es/components/internal/DataGrid/DataGridCell.js +4 -4
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +8 -31
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +16 -14
- package/dist/es/components/internal/DataGrid/components/TableBody.js +26 -9
- package/dist/es/components/internal/DataGrid/components/TableCells.js +25 -17
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +5 -76
- package/dist/es/components/internal/DataGrid/index.js +4 -0
- package/dist/es/components/internal/DataGrid/tests/DataGrid.test.js +190 -0
- package/dist/es/components/internal/DatePicker/DatePicker.js +62 -45
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +46 -19
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/index.js +7 -0
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +85 -56
- package/dist/es/components/internal/DatePicker/index.js +4 -0
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +53 -40
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +74 -51
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.test.js +45 -0
- package/dist/es/components/internal/ExpandableCard/constants.js +20 -11
- package/dist/es/components/internal/FilterBar/FilterBar.js +46 -11
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +17 -15
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +68 -29
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +68 -60
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/constants.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +155 -99
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/index.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +10 -107
- package/dist/es/components/internal/FilterBar/filters/DateFilter/index.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/TextFilter/TextFilter.js +8 -0
- package/dist/es/components/internal/FilterBar/filters/TextFilter/index.js +4 -0
- package/dist/es/components/internal/FilterBar/index.js +4 -0
- package/dist/es/components/internal/FormFields/InputBase.js +67 -54
- package/dist/es/components/internal/FormFields/InputText.js +6 -6
- package/dist/es/components/internal/FormFields/Select/Select.js +246 -182
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +73 -69
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +71 -49
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +41 -37
- package/dist/es/components/internal/FormFields/Select/constants.js +49 -27
- package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +35 -27
- package/dist/es/components/internal/FormFields/Select/index.js +4 -0
- package/dist/es/components/internal/FormFields/index.js +18 -0
- package/dist/es/components/internal/FormFields/utils.js +4 -0
- package/dist/es/components/internal/Image/Image.js +10 -10
- package/dist/es/components/internal/Img/Img.js +33 -19
- package/dist/es/components/internal/Img/index.js +4 -0
- package/dist/es/components/internal/Modal/Modal.js +79 -66
- package/dist/es/components/internal/Modal/index.js +4 -0
- package/dist/es/components/internal/Pagination/Pagination.js +61 -45
- package/dist/es/components/internal/Pagination/components/LimitSelect.js +1 -0
- package/dist/es/components/internal/Pagination/constants.js +6 -4
- package/dist/es/components/internal/Pagination/hooks/index.js +6 -0
- package/dist/es/components/internal/Pagination/hooks/useCursorPaginatedRecords.js +8 -7
- package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +30 -18
- package/dist/es/components/internal/Pagination/hooks/useOffsetPaginatedRecords.js +10 -0
- package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +21 -14
- package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +60 -52
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +11 -78
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +13 -12
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +87 -41
- package/dist/es/components/internal/Pagination/index.js +4 -0
- package/dist/es/components/internal/Pagination/utils.js +5 -5
- package/dist/es/components/internal/Popover/Popover.js +160 -102
- package/dist/es/components/internal/Popover/Popover.test.js +119 -0
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +22 -18
- package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +10 -8
- package/dist/es/components/internal/Popover/constants.js +16 -7
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +51 -0
- package/dist/es/components/internal/Popover/utils/utils.js +28 -22
- package/dist/es/components/internal/SVGIcons/CheckedBox.js +5 -5
- package/dist/es/components/internal/SVGIcons/Checkmark.js +6 -6
- package/dist/es/components/internal/SVGIcons/ChevronDown.js +6 -6
- package/dist/es/components/internal/SVGIcons/ChevronLeft.js +8 -8
- package/dist/es/components/internal/SVGIcons/ChevronRight.js +8 -8
- package/dist/es/components/internal/SVGIcons/ChevronUp.js +7 -7
- package/dist/es/components/internal/SVGIcons/Close.js +13 -0
- package/dist/es/components/internal/SVGIcons/Copy.js +5 -0
- package/dist/es/components/internal/SVGIcons/Filter.js +11 -0
- package/dist/es/components/internal/SVGIcons/UncheckedBox.js +5 -5
- package/dist/es/components/internal/Spinner/Spinner.js +5 -4
- package/dist/es/components/internal/Spinner/index.js +4 -0
- package/dist/es/components/internal/Tag/Tag.js +5 -19
- package/dist/es/components/internal/Tooltip/Tooltip.js +48 -0
- package/dist/es/components/internal/Tooltip/useTooltipListeners.js +31 -0
- package/dist/es/components/internal/Typography/Typography.js +7 -33
- package/dist/es/components/internal/Typography/constants.js +2 -2
- package/dist/es/components/utils/transactionResourceErrorCodes.js +17 -13
- package/dist/es/components/utils/utils.js +34 -0
- package/dist/es/constants.js +8 -0
- package/dist/es/core/Analytics/Analytics.js +63 -0
- package/dist/es/core/Analytics/EventsQueue.js +22 -0
- package/dist/es/core/Analytics/index.js +4 -0
- package/dist/es/core/Auth/AuthContext.js +7 -5
- package/dist/es/core/Auth/AuthProvider.js +24 -5
- package/dist/es/core/Auth/useAuthContext.js +4 -4
- package/dist/es/core/Context/CoreContext.js +5 -5
- package/dist/es/core/Context/CoreProvider.js +23 -17
- package/dist/es/core/Context/useCoreContext.js +4 -4
- package/dist/es/core/Errors/AdyenPlatformExperienceError.js +21 -0
- package/dist/es/core/Errors/ErrorPanel.js +19 -0
- package/dist/es/core/Errors/constants.js +4 -2
- package/dist/es/core/Localization/Localization.js +12 -145
- package/dist/es/core/Localization/Localization.test.js +70 -0
- package/dist/es/core/Localization/amount/amount-util.js +42 -19
- package/dist/es/core/Localization/amount/amount-util.test.js +54 -0
- package/dist/es/core/Localization/constants/currency-codes.js +3 -3
- package/dist/es/core/Localization/constants/currency-decimals.js +3 -3
- package/dist/es/core/Localization/constants/locale.js +7 -5
- package/dist/es/core/Localization/constants/localization.js +9 -6
- package/dist/es/core/Localization/datetime/restamper/constants.js +29 -20
- package/dist/es/core/Localization/datetime/restamper/index.js +9 -0
- package/dist/es/core/Localization/datetime/restamper/restamper.js +44 -32
- package/dist/es/core/Localization/datetime/restamper/restamper.test.js +179 -0
- package/dist/es/core/Localization/datetime/restamper/testing/fixtures.js +21 -0
- package/dist/es/core/Localization/datetime/restamper/testing/helpers.js +27 -0
- package/dist/es/core/Localization/datetime/restamper/utils.js +44 -26
- package/dist/es/core/Localization/index.js +32 -0
- package/dist/es/core/Localization/localization-utils.js +7 -31
- package/dist/es/core/Localization/translations/index.js +356 -79
- package/dist/es/core/Localization/utils.js +72 -44
- package/dist/es/core/Localization/utils.test.js +215 -0
- package/dist/es/core/ProcessResponse/index.js +4 -0
- package/dist/es/core/ProcessResponse/process-response.js +40 -0
- package/dist/es/core/Services/analytics/collect-id.js +37 -0
- package/dist/es/core/Services/analytics/log-event.js +14 -0
- package/dist/es/core/Services/analytics/post-telemetry.js +22 -0
- package/dist/es/core/Services/data-set.js +1 -0
- package/dist/es/core/Services/get-dataset.js +13 -0
- package/dist/es/core/Services/requests/endpoints.js +9 -0
- package/dist/es/core/Services/requests/http.js +55 -28
- package/dist/es/core/Services/requests/utils.js +49 -34
- package/dist/es/core/Services/sessions/constants.js +2 -2
- package/dist/es/core/Services/sessions/setup-session.js +9 -9
- package/dist/es/core/Session/Session.js +38 -23
- package/dist/es/core/Session/index.js +4 -0
- package/dist/es/core/Session/utils.js +5 -5
- package/dist/es/core/config.js +6 -2
- package/dist/es/core/core.js +87 -45
- package/dist/es/core/index.js +36 -0
- package/dist/es/core/utils.js +10 -8
- package/dist/es/hooks/element/useClickOutside.js +75 -18
- package/dist/es/hooks/element/useDetachedRender.js +17 -15
- package/dist/es/hooks/element/useFocusCursor.js +18 -13
- package/dist/es/hooks/element/useFocusTrap.js +90 -47
- package/dist/es/hooks/element/useIdentifierString.js +61 -0
- package/dist/es/hooks/element/usePopoverPositioner.js +5 -69
- package/dist/es/hooks/element/useUniqueIdentifier.js +16 -12
- package/dist/es/hooks/useBooleanState/index.js +4 -0
- package/dist/es/hooks/useBooleanState/useBooleanState.js +8 -6
- package/dist/es/hooks/useCommitAction/index.js +6 -0
- package/dist/es/hooks/useCommitAction/useCommitAction.js +38 -27
- package/dist/es/hooks/useDefinedValue/index.js +4 -0
- package/dist/es/hooks/useDefinedValue/useDefinedValue.js +16 -0
- package/dist/es/hooks/useFetch/useFetch.js +37 -27
- package/dist/es/hooks/useImageUrl/useImageUrl.js +26 -22
- package/dist/es/hooks/useModalDetails/useModalDetails.js +38 -23
- package/dist/es/hooks/useMounted/index.js +4 -0
- package/dist/es/hooks/useMounted/useMounted.js +14 -8
- package/dist/es/hooks/useReactiveState/index.js +4 -0
- package/dist/es/hooks/useReactiveState/useReactiveState.js +53 -27
- package/dist/es/hooks/useReflex/constants.js +2 -2
- package/dist/es/hooks/useReflex/core/reflex.js +66 -47
- package/dist/es/hooks/useReflex/core/reflex.test.js +170 -0
- package/dist/es/hooks/useReflex/core/registry.js +68 -46
- package/dist/es/hooks/useReflex/core/registry.test.js +114 -0
- package/dist/es/hooks/useReflex/core/utils.js +18 -16
- package/dist/es/hooks/useReflex/core/utils.test.js +59 -0
- package/dist/es/hooks/useReflex/errors.js +6 -6
- package/dist/es/hooks/useReflex/hooks/useReflex.js +12 -7
- package/dist/es/hooks/useReflex/index.js +8 -0
- package/dist/es/hooks/useSessionAwareRequest/useSessionAwareRequest.js +37 -20
- package/dist/es/hooks/useSetupEndpoint/useSetupEndpoint.js +26 -20
- package/dist/es/index.js +45 -41
- package/dist/es/utils/Storage.js +21 -17
- package/dist/es/utils/Validator/ValidationRuleResult.js +28 -0
- package/dist/es/utils/Validator/Validator.js +67 -0
- package/dist/es/utils/Validator/Validator.test.js +27 -0
- package/dist/es/utils/Validator/defaultRules.js +12 -0
- package/dist/es/utils/Validator/index.js +4 -0
- package/dist/es/utils/class-name-utils.js +11 -5
- package/dist/es/utils/common/constants.js +10 -6
- package/dist/es/utils/common/index.js +59 -32
- package/dist/es/utils/fixedForwardRef.js +3 -3
- package/dist/es/utils/get-image.js +12 -11
- package/dist/es/utils/get-image.test.js +38 -0
- package/dist/es/utils/idGenerator.js +6 -3
- package/dist/es/utils/memoComparator/index.js +4 -0
- package/dist/es/utils/memoComparator/memoComparator.js +26 -17
- package/dist/es/utils/regex.js +6 -0
- package/dist/es/utils/tabbable.js +109 -70
- package/dist/es/utils/useForm/index.js +4 -0
- package/dist/es/utils/useForm/reducer.js +153 -0
- package/dist/es/utils/useForm/useForm.js +85 -0
- package/dist/es/utils/useForm/useForm.test.js +107 -0
- package/dist/es/utils/uuid.js +5 -5
- package/dist/es/utils/uuid.test.js +13 -0
- package/dist/es/utils/validator-utils.js +44 -3
- package/dist/es/utils/watchable/constants.js +2 -2
- package/dist/es/utils/watchable/core/Watchable.js +83 -45
- package/dist/es/utils/watchable/core/Watchable.test.js +103 -0
- package/dist/es/utils/watchable/core/helpers.js +26 -19
- package/dist/es/utils/watchable/core/helpers.test.js +106 -0
- package/dist/es/utils/watchable/core/syncEffect.js +19 -15
- package/dist/es/utils/watchable/core/syncEffect.test.js +103 -0
- package/dist/es/utils/watchable/index.js +17 -16
- package/dist/flags-41c36e13.mjs +83 -0
- package/dist/hooks.module-8565d716.mjs +161 -0
- package/dist/index-2c0f6175.mjs +12069 -0
- package/dist/index-6e47f755.mjs +231 -0
- package/dist/index-944be685.mjs +6609 -0
- package/dist/index-c88cd37e.mjs +243 -0
- package/dist/index-f5bc0382.mjs +155 -0
- package/dist/index.css +65 -0
- package/dist/index2.css +4 -0
- package/dist/jsxRuntime.module-69493d81.mjs +15 -0
- package/dist/magic-string.es-219c273f.mjs +1146 -0
- package/dist/preact.module-38e5a571.mjs +323 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/index.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/index.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/TransactionsOverviewElement.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/components/AmountSkeleton/AmountSkeleton.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/constants.d.ts +4 -0
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/types.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/components/BalanceAccountSelector/BalanceAccountSelector.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/components/BalanceItem/BalanceItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/types.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts +11 -0
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/Balances/constants.d.ts +2 -0
- package/dist/types/components/external/TransactionsOverview/components/Balances/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts +4 -0
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts +7 -0
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/ModalContent.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.d.ts +4 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts +14 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/constants.d.ts +8 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts +36 -0
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts +7 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts +3 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/components/TransactionTotalItem/types.d.ts +2 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/types.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts +11 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts +12 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/constants.d.ts +3 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts +5 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/constants.d.ts +3 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts +5 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions/components → TransactionsOverview/components/TransactionsOverview}/TransactionsOverview.d.ts +2 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/constants.d.ts +4 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.d.ts +6 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewContainer/constants.d.ts +3 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewContainer/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts +5 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts +6 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +18 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/components/utils.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/utils.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useMaxWidths.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts +26 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/index.d.ts +3 -0
- package/dist/types/components/external/TransactionsOverview/index.d.ts.map +1 -0
- package/dist/types/components/external/{Transactions → TransactionsOverview}/types.d.ts +3 -16
- package/dist/types/components/external/TransactionsOverview/types.d.ts.map +1 -0
- package/dist/types/components/external/index.d.ts +1 -1
- package/dist/types/components/external/index.d.ts.map +1 -1
- package/dist/types/components/internal/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/types/components/internal/BaseButton/constants.d.ts +1 -1
- package/dist/types/components/internal/BaseButton/types.d.ts +1 -0
- package/dist/types/components/internal/BaseButton/types.d.ts.map +1 -1
- package/dist/types/components/internal/BaseList/constants.d.ts +1 -1
- package/dist/types/components/internal/Button/constants.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/facade/Calendar.d.ts.map +1 -1
- package/dist/types/components/internal/CopyText/CopyText.d.ts +6 -0
- package/dist/types/components/internal/CopyText/CopyText.d.ts.map +1 -0
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts +2 -0
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +2 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +2 -0
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +5 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts +1 -1
- package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
- package/dist/types/components/internal/ExpandableCard/constants.d.ts +1 -1
- package/dist/types/components/internal/ExpandableCard/types.d.ts +5 -0
- package/dist/types/components/internal/ExpandableCard/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/AmountFilter.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/constants.d.ts +2 -0
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/constants.d.ts.map +1 -0
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts +0 -2
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/BaseFilter.d.ts +0 -1
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/BaseFilter.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilter.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/constants.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +9 -0
- package/dist/types/components/internal/FormFields/Select/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts +3 -18
- package/dist/types/components/internal/FormFields/index.d.ts.map +1 -1
- package/dist/types/components/internal/Img/types.d.ts +1 -1
- package/dist/types/components/internal/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts +3 -3
- package/dist/types/components/internal/Pagination/hooks/types.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/types.d.ts +2 -1
- package/dist/types/components/internal/Pagination/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts +1 -2
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/constants.d.ts +3 -1
- package/dist/types/components/internal/Popover/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/types.d.ts +6 -0
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/utils/popoverUtil.d.ts +7 -0
- package/dist/types/components/internal/Popover/utils/popoverUtil.d.ts.map +1 -0
- package/dist/types/components/internal/SVGIcons/Close.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/Close.d.ts.map +1 -0
- package/dist/types/components/internal/SVGIcons/Copy.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/Copy.d.ts.map +1 -0
- package/dist/types/components/internal/SVGIcons/Filter.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/Filter.d.ts.map +1 -0
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts +5 -0
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/types/components/internal/Tooltip/types.d.ts +13 -0
- package/dist/types/components/internal/Tooltip/types.d.ts.map +1 -0
- package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts +12 -0
- package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts.map +1 -0
- package/dist/types/components/internal/Typography/constants.d.ts +1 -1
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts +6 -2
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts.map +1 -1
- package/dist/types/constants.d.ts +6 -0
- package/dist/types/constants.d.ts.map +1 -0
- package/dist/types/core/Auth/AuthContext.d.ts +2 -2
- package/dist/types/core/Auth/AuthContext.d.ts.map +1 -1
- package/dist/types/core/Auth/AuthProvider.d.ts.map +1 -1
- package/dist/types/core/Auth/types.d.ts +9 -2
- package/dist/types/core/Auth/types.d.ts.map +1 -1
- package/dist/types/core/Auth/useAuthContext.d.ts +1 -1
- package/dist/types/core/Auth/useAuthContext.d.ts.map +1 -1
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts +9 -0
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts.map +1 -0
- package/dist/types/core/Localization/Localization.d.ts +7 -0
- package/dist/types/core/Localization/Localization.d.ts.map +1 -1
- package/dist/types/core/Localization/amount/amount-util.d.ts +1 -5
- package/dist/types/core/Localization/amount/amount-util.d.ts.map +1 -1
- package/dist/types/core/Localization/constants/locale.d.ts +17 -7
- package/dist/types/core/Localization/constants/locale.d.ts.map +1 -1
- package/dist/types/core/Localization/localization-utils.d.ts +1 -0
- package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
- package/dist/types/core/Localization/translations/index.d.ts +17 -7
- package/dist/types/core/Localization/translations/index.d.ts.map +1 -1
- package/dist/types/core/Localization/utils.d.ts +17 -7
- package/dist/types/core/Localization/utils.d.ts.map +1 -1
- package/dist/types/core/Services/requests/http.d.ts.map +1 -1
- package/dist/types/core/Services/requests/types.d.ts +2 -0
- package/dist/types/core/Services/requests/types.d.ts.map +1 -1
- package/dist/types/core/Services/requests/utils.d.ts +2 -1
- package/dist/types/core/Services/requests/utils.d.ts.map +1 -1
- package/dist/types/core/core.d.ts +1 -0
- package/dist/types/core/core.d.ts.map +1 -1
- package/dist/types/core/types.d.ts +1 -0
- package/dist/types/core/types.d.ts.map +1 -1
- package/dist/types/hooks/element/useClickOutside.d.ts +5 -1
- package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +2 -2
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts.map +1 -1
- package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/utils/types.d.ts.map +1 -1
- package/dist/types-0027b7c2.mjs +9 -0
- package/dist/types-0aaff3aa.mjs +19 -0
- package/dist/types-7ad6576a.mjs +10 -0
- package/dist/types-e4bbd37f.mjs +13 -0
- package/dist/types-e6a6a3ff.mjs +9 -0
- package/dist/usePaginatedRecords-63a69bf1.mjs +131 -0
- package/dist/usePopoverPositioner-882fea89.mjs +182 -0
- package/dist/vendor-vi.a3ff54b1-5e924357.mjs +22389 -0
- package/package.json +12 -9
- package/dist/ModalContent-83a84ba5.js +0 -2
- package/dist/ModalContent-83a84ba5.js.map +0 -1
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.scss.js +0 -4
- package/dist/es/components/external/Transactions/TransactionsOverviewElement.js +0 -28
- package/dist/es/components/external/Transactions/components/AmountSkeleton/AmountSkeleton.js +0 -9
- package/dist/es/components/external/Transactions/components/AmountSkeleton/AmountSkeleton.scss.js +0 -4
- package/dist/es/components/external/Transactions/components/AmountSkeleton/constants.js +0 -6
- package/dist/es/components/external/Transactions/components/BalanceAccountSelector/BalanceAccountSelector.js +0 -23
- package/dist/es/components/external/Transactions/components/BalanceAccountSelector/useBalanceAccountSelection.js +0 -17
- package/dist/es/components/external/Transactions/components/BalanceItem/BalanceItem.js +0 -35
- package/dist/es/components/external/Transactions/components/Balances/Balances.js +0 -50
- package/dist/es/components/external/Transactions/components/Balances/constants.js +0 -4
- package/dist/es/components/external/Transactions/components/ModalContent.js +0 -12
- package/dist/es/components/external/Transactions/components/MultiSelectionFilter/MultiSelectionFilter.js +0 -25
- package/dist/es/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +0 -24
- package/dist/es/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +0 -21
- package/dist/es/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +0 -9
- package/dist/es/components/external/Transactions/components/SummaryItem/SummaryItem.js +0 -42
- package/dist/es/components/external/Transactions/components/SummaryItem/SummaryItem.scss.js +0 -4
- package/dist/es/components/external/Transactions/components/SummaryItem/constants.js +0 -7
- package/dist/es/components/external/Transactions/components/TransactionList.js +0 -127
- package/dist/es/components/external/Transactions/components/TransactionList.scss.js +0 -4
- package/dist/es/components/external/Transactions/components/TransactionListError/TransactionListError.js +0 -20
- package/dist/es/components/external/Transactions/components/TransactionTotalItem/TransactionTotalItem.js +0 -48
- package/dist/es/components/external/Transactions/components/TransactionTotals/TransactionTotals.js +0 -60
- package/dist/es/components/external/Transactions/components/TransactionTotals/constants.js +0 -4
- package/dist/es/components/external/Transactions/components/TransactionsOverview.js +0 -148
- package/dist/es/components/external/Transactions/components/TransactionsOverviewContainer.js +0 -36
- package/dist/es/components/external/Transactions/components/TransactionsOverviewDateFilter.js +0 -61
- package/dist/es/components/external/Transactions/hooks/useDefaultTransactionsOverviewFilterParams.js +0 -22
- package/dist/es/components/external/Transactions/hooks/useMaxWidths.js +0 -15
- package/dist/es/components/external/Transactions/hooks/useTransactionsOverviewMultiSelectionFilters.js +0 -29
- package/dist/es/components/external/Transactions/types.js +0 -4
- package/dist/es/components/internal/BaseButton/BaseButton.scss.js +0 -4
- package/dist/es/components/internal/BaseList/BaseList.scss.js +0 -4
- package/dist/es/components/internal/Button/Button.scss.js +0 -4
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.scss.js +0 -4
- package/dist/es/components/internal/Button/ButtonActions/types.js +0 -7
- package/dist/es/components/internal/Button/types.js +0 -4
- package/dist/es/components/internal/Calendar/Calendar.scss.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/types.js +0 -15
- package/dist/es/components/internal/Calendar/types.js +0 -4
- package/dist/es/components/internal/DataGrid/DataGrid.scss.js +0 -4
- package/dist/es/components/internal/DataGrid/types.js +0 -4
- package/dist/es/components/internal/DatePicker/DatePicker.scss.js +0 -4
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.scss.js +0 -4
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/FilterBar.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/DateFilter/types.js +0 -4
- package/dist/es/components/internal/FormFields/FormFields.scss.js +0 -4
- package/dist/es/components/internal/FormFields/Select/Select.scss.js +0 -4
- package/dist/es/components/internal/Img/Img.scss.js +0 -4
- package/dist/es/components/internal/Modal/Modal.scss.js +0 -4
- package/dist/es/components/internal/Pagination/Pagination.scss.js +0 -4
- package/dist/es/components/internal/Pagination/types.js +0 -5
- package/dist/es/components/internal/Popover/Popover.scss.js +0 -4
- package/dist/es/components/internal/Popover/PopoverContainer.scss.js +0 -4
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.scss.js +0 -4
- package/dist/es/components/internal/Popover/types.js +0 -6
- package/dist/es/components/internal/Spinner/Spinner.scss.js +0 -4
- package/dist/es/components/internal/Tag/Tag.scss.js +0 -4
- package/dist/es/components/internal/Tag/types.js +0 -4
- package/dist/es/components/internal/Typography/Typography.scss.js +0 -4
- package/dist/es/components/internal/Typography/types.js +0 -6
- package/dist/es/components/shared.scss.js +0 -4
- package/dist/es/components/types.js +0 -4
- package/dist/es/core/Errors/AdyenFPError.js +0 -15
- package/dist/es/core/Localization/translations/ar.json.js +0 -4
- package/dist/es/core/Localization/translations/cs-CZ.json.js +0 -4
- package/dist/es/core/Localization/translations/da-DK.json.js +0 -4
- package/dist/es/core/Localization/translations/de-DE.json.js +0 -4
- package/dist/es/core/Localization/translations/el-GR.json.js +0 -4
- package/dist/es/core/Localization/translations/en-US.json.js +0 -358
- package/dist/es/core/Localization/translations/es-ES.json.js +0 -255
- package/dist/es/core/Localization/translations/fi-FI.json.js +0 -4
- package/dist/es/core/Localization/translations/fr-FR.json.js +0 -4
- package/dist/es/core/Localization/translations/hr-HR.json.js +0 -4
- package/dist/es/core/Localization/translations/hu-HU.json.js +0 -4
- package/dist/es/core/Localization/translations/it-IT.json.js +0 -4
- package/dist/es/core/Localization/translations/ja-JP.json.js +0 -4
- package/dist/es/core/Localization/translations/ko-KR.json.js +0 -4
- package/dist/es/core/Localization/translations/nl-NL.json.js +0 -4
- package/dist/es/core/Localization/translations/no-NO.json.js +0 -4
- package/dist/es/core/Localization/translations/pl-PL.json.js +0 -4
- package/dist/es/core/Localization/translations/pt-BR.json.js +0 -4
- package/dist/es/core/Localization/translations/pt-PT.json.js +0 -4
- package/dist/es/core/Localization/translations/ro-RO.json.js +0 -4
- package/dist/es/core/Localization/translations/ru-RU.json.js +0 -4
- package/dist/es/core/Localization/translations/sk-SK.json.js +0 -4
- package/dist/es/core/Localization/translations/sl-SI.json.js +0 -4
- package/dist/es/core/Localization/translations/sv-SE.json.js +0 -4
- package/dist/es/core/Localization/translations/zh-CN.json.js +0 -4
- package/dist/es/core/Localization/translations/zh-TW.json.js +0 -4
- package/dist/es/external/preact/compat/dist/compat.module.js +0 -254
- package/dist/es/external/preact/hooks/dist/hooks.module.js +0 -161
- package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +0 -19
- package/dist/es/hooks/useCommitAction/types.js +0 -4
- package/dist/es/hooks/useModalDetails/types.js +0 -6
- package/dist/es/images/no-data-female.svg.js +0 -4
- package/dist/es/images/no-results.svg.js +0 -4
- package/dist/es/style/index.scss.js +0 -4
- package/dist/index-ff45d757.js +0 -12
- package/dist/index-ff45d757.js.map +0 -1
- package/dist/style.css +0 -1
- package/dist/types/components/external/Transactions/TransactionsOverviewElement.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/AmountSkeleton/AmountSkeleton.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/AmountSkeleton/constants.d.ts +0 -4
- package/dist/types/components/external/Transactions/components/AmountSkeleton/constants.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/AmountSkeleton/types.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/BalanceAccountSelector/BalanceAccountSelector.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/BalanceAccountSelector/index.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/BalanceItem/BalanceItem.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/BalanceItem/types.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/Balances/Balances.d.ts +0 -11
- package/dist/types/components/external/Transactions/components/Balances/Balances.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/Balances/constants.d.ts +0 -2
- package/dist/types/components/external/Transactions/components/Balances/constants.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/ModalContent.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/index.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/index.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/SummaryItem/SummaryItem.d.ts +0 -4
- package/dist/types/components/external/Transactions/components/SummaryItem/SummaryItem.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/SummaryItem/constants.d.ts +0 -5
- package/dist/types/components/external/Transactions/components/SummaryItem/constants.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/SummaryItem/types.d.ts +0 -20
- package/dist/types/components/external/Transactions/components/SummaryItem/types.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionList.d.ts +0 -6
- package/dist/types/components/external/Transactions/components/TransactionList.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionListError/TransactionListError.d.ts +0 -7
- package/dist/types/components/external/Transactions/components/TransactionListError/TransactionListError.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionTotalItem/TransactionTotalItem.d.ts +0 -3
- package/dist/types/components/external/Transactions/components/TransactionTotalItem/TransactionTotalItem.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionTotalItem/types.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionTotals/TransactionTotals.d.ts +0 -9
- package/dist/types/components/external/Transactions/components/TransactionTotals/TransactionTotals.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionTotals/constants.d.ts +0 -2
- package/dist/types/components/external/Transactions/components/TransactionTotals/constants.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionsOverview.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionsOverviewContainer.d.ts +0 -6
- package/dist/types/components/external/Transactions/components/TransactionsOverviewContainer.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/TransactionsOverviewDateFilter.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/components/utils.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/hooks/useDefaultTransactionsOverviewFilterParams.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/hooks/useMaxWidths.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/index.d.ts +0 -3
- package/dist/types/components/external/Transactions/index.d.ts.map +0 -1
- package/dist/types/components/external/Transactions/types.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts +0 -22
- package/dist/types/components/internal/FormFields/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts +0 -2
- package/dist/types/components/internal/FormFields/Checkbox/index.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts +0 -3
- package/dist/types/components/internal/FormFields/InputDate/InputDate.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts +0 -2
- package/dist/types/components/internal/FormFields/InputDate/index.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts +0 -22
- package/dist/types/components/internal/FormFields/InputDate/utils.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/InputEmail.d.ts +0 -3
- package/dist/types/components/internal/FormFields/InputEmail.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts +0 -3
- package/dist/types/components/internal/FormFields/InputTelephone.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts +0 -11
- package/dist/types/components/internal/FormFields/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts +0 -2
- package/dist/types/components/internal/FormFields/RadioGroup/index.d.ts.map +0 -1
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts +0 -19
- package/dist/types/components/internal/FormFields/RadioGroup/types.d.ts.map +0 -1
- package/dist/types/core/Errors/AdyenFPError.d.ts +0 -8
- package/dist/types/core/Errors/AdyenFPError.d.ts.map +0 -1
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/TransactionsOverviewElement.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/AmountSkeleton/types.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/BalanceAccountSelector/index.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/BalanceItem/types.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/ModalContent.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/index.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/useMultiSelectionFilter/index.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/components/TransactionsOverviewDateFilter.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/hooks/useDefaultTransactionsOverviewFilterParams.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/hooks/useMaxWidths.d.ts +0 -0
- /package/dist/types/components/external/{Transactions → TransactionsOverview}/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount-util.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/amount/amount-util.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amount-util.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/amount/amount-util.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,2BAA2B,WAAY,MAAM,WAAW,KAAK,mBAAmB,UAAU,MAAM,WAM5G,CAAC"}
|
|
@@ -195,31 +195,41 @@ export declare const defaultTranslation: {
|
|
|
195
195
|
"rangePreset.yearToDate": string;
|
|
196
196
|
paymentMethod: string;
|
|
197
197
|
currency: string;
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
totalIncoming: string;
|
|
199
|
+
totalOutgoing: string;
|
|
200
200
|
accountBalance: string;
|
|
201
201
|
closeIconLabel: string;
|
|
202
202
|
thereAreNoResults: string;
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
noTransactionsFound: string;
|
|
204
|
+
tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain: string;
|
|
205
205
|
tryAgainPlease: string;
|
|
206
206
|
noData: string;
|
|
207
207
|
thereWasAnUnexpectedError: string;
|
|
208
208
|
somethingWentWrong: string;
|
|
209
209
|
weCouldNotLoadTheTransactionsOverview: string;
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
tryRefreshingThePageOrComeBackLater: string;
|
|
211
|
+
weCouldNotLoadYourTransactions: string;
|
|
212
212
|
anInternalErrorHappened: string;
|
|
213
|
+
contactSupportForHelpAndShareErrorCode: string;
|
|
214
|
+
theErrorCodeIs: string;
|
|
213
215
|
pleaseReachOutToSupportForAssistance: string;
|
|
214
216
|
theRequestIsMissingRequiredFieldsOrContainsInvalidData: string;
|
|
215
217
|
entityWasNotFound: string;
|
|
216
218
|
entityWasNotFoundDetail: string;
|
|
217
219
|
noResultsFoundSeekSupport: string;
|
|
218
220
|
seemsLikeThereIsAndInternalError: string;
|
|
219
|
-
|
|
221
|
+
refresh: string;
|
|
220
222
|
reachOutToSupport: string;
|
|
221
223
|
noNegativeNumbersAllowed: string;
|
|
222
224
|
secondValueShouldBeGreaterThanTheFirstOne: string;
|
|
223
225
|
export: string;
|
|
226
|
+
"tooltip.totalIncoming": string;
|
|
227
|
+
"tooltip.totalOutgoing": string;
|
|
228
|
+
"tooltip.Payout": string;
|
|
229
|
+
"tooltip.Refund": string;
|
|
230
|
+
"tooltip.Fee": string;
|
|
231
|
+
"tooltip.Chargeback": string;
|
|
232
|
+
"tooltip.Incoming": string;
|
|
233
|
+
theSelectedBalanceAccountIsIncorrect: string;
|
|
224
234
|
};
|
|
225
235
|
//# sourceMappingURL=locale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/constants/locale.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,eAAO,MAAM,eAAe,SAAmB,CAAC;AAChD,eAAO,MAAM,mBAAmB,QAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/constants/locale.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,eAAO,MAAM,eAAe,SAAmB,CAAC;AAChD,eAAO,MAAM,mBAAmB,QAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2B,CAAC"}
|
|
@@ -11,6 +11,7 @@ export declare function getLocalizationProxyDescriptors(this: Localization): {
|
|
|
11
11
|
timezone: PropertyDescriptor;
|
|
12
12
|
date: PropertyDescriptor;
|
|
13
13
|
get: PropertyDescriptor;
|
|
14
|
+
has: PropertyDescriptor;
|
|
14
15
|
locale: PropertyDescriptor;
|
|
15
16
|
readonly languageCode: PropertyDescriptor;
|
|
16
17
|
customTranslations: PropertyDescriptor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization-utils.d.ts","sourceRoot":"","sources":["../../../../src/core/Localization/localization-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAC3E,OAAO,EAAgB,gBAAgB,EAAe,MAAM,SAAS,CAAC;AAItE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,YAAY;gCAEvB,kBAAkB,KAAK,WAAW,uBAAuB,CAAC;YAC9E,eAAe,GAAG,MAAM;sBACd,CAAC,eAAe,GAAG,MAAM,CAAC,EAAE;EAwBrD;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"localization-utils.d.ts","sourceRoot":"","sources":["../../../../src/core/Localization/localization-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAe,MAAM,SAAS,CAAC;AAC3E,OAAO,EAAgB,gBAAgB,EAAe,MAAM,SAAS,CAAC;AAItE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,YAAY;gCAEvB,kBAAkB,KAAK,WAAW,uBAAuB,CAAC;YAC9E,eAAe,GAAG,MAAM;sBACd,CAAC,eAAe,GAAG,MAAM,CAAC,EAAE;EAwBrD;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,YAAY;;;;;;;;;;;;;EAgBjE"}
|
|
@@ -191,32 +191,42 @@ export declare const en_US: {
|
|
|
191
191
|
"rangePreset.yearToDate": string;
|
|
192
192
|
paymentMethod: string;
|
|
193
193
|
currency: string;
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
totalIncoming: string;
|
|
195
|
+
totalOutgoing: string;
|
|
196
196
|
accountBalance: string;
|
|
197
197
|
closeIconLabel: string;
|
|
198
198
|
thereAreNoResults: string;
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
noTransactionsFound: string;
|
|
200
|
+
tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain: string;
|
|
201
201
|
tryAgainPlease: string;
|
|
202
202
|
noData: string;
|
|
203
203
|
thereWasAnUnexpectedError: string;
|
|
204
204
|
somethingWentWrong: string;
|
|
205
205
|
weCouldNotLoadTheTransactionsOverview: string;
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
tryRefreshingThePageOrComeBackLater: string;
|
|
207
|
+
weCouldNotLoadYourTransactions: string;
|
|
208
208
|
anInternalErrorHappened: string;
|
|
209
|
+
contactSupportForHelpAndShareErrorCode: string;
|
|
210
|
+
theErrorCodeIs: string;
|
|
209
211
|
pleaseReachOutToSupportForAssistance: string;
|
|
210
212
|
theRequestIsMissingRequiredFieldsOrContainsInvalidData: string;
|
|
211
213
|
entityWasNotFound: string;
|
|
212
214
|
entityWasNotFoundDetail: string;
|
|
213
215
|
noResultsFoundSeekSupport: string;
|
|
214
216
|
seemsLikeThereIsAndInternalError: string;
|
|
215
|
-
|
|
217
|
+
refresh: string;
|
|
216
218
|
reachOutToSupport: string;
|
|
217
219
|
noNegativeNumbersAllowed: string;
|
|
218
220
|
secondValueShouldBeGreaterThanTheFirstOne: string;
|
|
219
221
|
export: string;
|
|
222
|
+
"tooltip.totalIncoming": string;
|
|
223
|
+
"tooltip.totalOutgoing": string;
|
|
224
|
+
"tooltip.Payout": string;
|
|
225
|
+
"tooltip.Refund": string;
|
|
226
|
+
"tooltip.Fee": string;
|
|
227
|
+
"tooltip.Chargeback": string;
|
|
228
|
+
"tooltip.Incoming": string;
|
|
229
|
+
theSelectedBalanceAccountIsIncorrect: string;
|
|
220
230
|
};
|
|
221
231
|
};
|
|
222
232
|
export declare const ar: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/translations/index.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/translations/index.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;CAAoB,CAAC;AACvC,eAAO,MAAM,KAAK;;CAAoB,CAAC;AACvC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BvB,CAAC"}
|
|
@@ -263,32 +263,42 @@ export declare const loadTranslations: (locale: string, translations?: {
|
|
|
263
263
|
"rangePreset.yearToDate": string;
|
|
264
264
|
paymentMethod: string;
|
|
265
265
|
currency: string;
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
totalIncoming: string;
|
|
267
|
+
totalOutgoing: string;
|
|
268
268
|
accountBalance: string;
|
|
269
269
|
closeIconLabel: string;
|
|
270
270
|
thereAreNoResults: string;
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
noTransactionsFound: string;
|
|
272
|
+
tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain: string;
|
|
273
273
|
tryAgainPlease: string;
|
|
274
274
|
noData: string;
|
|
275
275
|
thereWasAnUnexpectedError: string;
|
|
276
276
|
somethingWentWrong: string;
|
|
277
277
|
weCouldNotLoadTheTransactionsOverview: string;
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
tryRefreshingThePageOrComeBackLater: string;
|
|
279
|
+
weCouldNotLoadYourTransactions: string;
|
|
280
280
|
anInternalErrorHappened: string;
|
|
281
|
+
contactSupportForHelpAndShareErrorCode: string;
|
|
282
|
+
theErrorCodeIs: string;
|
|
281
283
|
pleaseReachOutToSupportForAssistance: string;
|
|
282
284
|
theRequestIsMissingRequiredFieldsOrContainsInvalidData: string;
|
|
283
285
|
entityWasNotFound: string;
|
|
284
286
|
entityWasNotFoundDetail: string;
|
|
285
287
|
noResultsFoundSeekSupport: string;
|
|
286
288
|
seemsLikeThereIsAndInternalError: string;
|
|
287
|
-
|
|
289
|
+
refresh: string;
|
|
288
290
|
reachOutToSupport: string;
|
|
289
291
|
noNegativeNumbersAllowed: string;
|
|
290
292
|
secondValueShouldBeGreaterThanTheFirstOne: string;
|
|
291
293
|
export: string;
|
|
294
|
+
"tooltip.totalIncoming": string;
|
|
295
|
+
"tooltip.totalOutgoing": string;
|
|
296
|
+
"tooltip.Payout": string;
|
|
297
|
+
"tooltip.Refund": string;
|
|
298
|
+
"tooltip.Fee": string;
|
|
299
|
+
"tooltip.Chargeback": string;
|
|
300
|
+
"tooltip.Incoming": string;
|
|
301
|
+
theSelectedBalanceAccountIsIncorrect: string;
|
|
292
302
|
}>;
|
|
293
303
|
/**
|
|
294
304
|
* Injects JSX elements in a middle of a translation and returns a JSX array
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/core/Localization/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,WAAW,EAAsB,MAAM,SAAS,CAAC;AAG/F;;GAEG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,WAAyC,CAAC;AAExF;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,eAAe,EAAE,GAAG,MAAM,EAAE,GAAG,eAAe,GAAG,IAAI,CAIlH;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CAgBnE;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,QAAQ,CAAC,eAAe,EAAE,CAAC,GAAG,MAAM,EAAE,GAAG,eAAe,GAAG,IAAI,CAU5H;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACpC,kBAAkB,gCAAyB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,kCAAuC,MAAM,KAAK,WAAW,4CAUlH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/http.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/http.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,wBAAsB,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CA6E1E;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAE3E;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CAExF"}
|
|
@@ -20,7 +20,9 @@ export type AdyenErrorResponse = {
|
|
|
20
20
|
errorCode: string;
|
|
21
21
|
detail: string;
|
|
22
22
|
type: string;
|
|
23
|
+
invalidFields?: any[];
|
|
23
24
|
status: number;
|
|
25
|
+
requestId: string;
|
|
24
26
|
};
|
|
25
27
|
export type FunctionOrStringLiteral = `/${string}` | ((...params: any) => `/${string}`);
|
|
26
28
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE7E,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAEjF,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IACtC,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM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
15
15
|
export declare const getRequestObject: (options: HttpOptions, data?: any) => RequestInit;
|
|
16
|
-
export declare function handleFetchError({ message, level, errorCode, type, }: {
|
|
16
|
+
export declare function handleFetchError({ message, level, errorCode, type, requestId, }: {
|
|
17
17
|
message: string;
|
|
18
18
|
level: ErrorLevel | undefined;
|
|
19
19
|
errorCode?: string;
|
|
20
20
|
type?: ErrorTypes;
|
|
21
|
+
requestId?: string;
|
|
21
22
|
}): void;
|
|
22
23
|
export declare function isAdyenErrorResponse(data: any): data is AdyenErrorResponse;
|
|
23
24
|
export declare function parseSearchParams<T extends Record<string, any>>(parameters: T): URLSearchParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtE,0BAAkB,UAAU;IACxB,qBAAqB;IACrB,aAAa,kBAAkB;IAE/B,gDAAgD;IAChD,MAAM,WAAW;IAEjB,wFAAwF;IACxF,oBAAoB,yBAAyB;IAE7C,qBAAqB;IACrB,KAAK,UAAU;IAEf,oBAAoB;IACpB,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,YAAY,cAAe,MAAM,KAAG,UAOhD,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,WAAW,SAAS,GAAG,KAAG,WAkBnE,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,SAAS,EACT,IAA+B,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/core/Services/requests/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtE,0BAAkB,UAAU;IACxB,qBAAqB;IACrB,aAAa,kBAAkB;IAE/B,gDAAgD;IAChD,MAAM,WAAW;IAEjB,wFAAwF;IACxF,oBAAoB,yBAAyB;IAE7C,qBAAqB;IACrB,KAAK,UAAU;IAEf,oBAAoB;IACpB,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,YAAY,cAAe,MAAM,KAAG,UAOhD,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,WAAW,SAAS,GAAG,KAAG,WAkBnE,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC7B,OAAO,EACP,KAAK,EACL,SAAS,EACT,IAA+B,EAC/B,SAAS,GACZ,EAAE;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,QAaA;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,IAAI,kBAAkB,CAE1E;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,UAAU,EAAE,CAAC,mBAgB7E"}
|
|
@@ -18,6 +18,7 @@ declare class Core<T extends CoreOptions<T> = any> {
|
|
|
18
18
|
loadingContext: string;
|
|
19
19
|
onSessionCreate?: SessionRequest;
|
|
20
20
|
sessionSetupError?: boolean;
|
|
21
|
+
isUpdatingSessionToken?: boolean;
|
|
21
22
|
constructor(options: CoreOptions<T>);
|
|
22
23
|
initialize(initSession?: boolean): Promise<this>;
|
|
23
24
|
updateSession: () => Promise<this | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,OAAO,MAAM,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AAE,WAAW,CAAC,CAAC,CAAC;IAS7B,UAAU,CAAC,WAAW,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ7C,aAAa,kCAkBlB;IAEF;;;;;OAKG;IACI,MAAM,aAAa,QAAQ,YAAY,CAAC,CAAC,CAAC,4BAAuC,QAAQ,IAAI,CAAC,CASnG;IAEF;;;;OAIG;IACI,MAAM,cAAe,YAAY,GAAG,CAAC,KAAG,IAAI,CAKjD;CAsDL;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -31,6 +31,7 @@ export interface CoreOptions<T extends CoreOptions<T> = any> {
|
|
|
31
31
|
availableTranslations?: LangFile[];
|
|
32
32
|
onSessionCreate: SessionRequest;
|
|
33
33
|
onError?: (e: any) => any;
|
|
34
|
+
balanceAccountId?: string;
|
|
34
35
|
timezone?: Intl.DateTimeFormatOptions['timeZone'];
|
|
35
36
|
sessionSetupError?: boolean;
|
|
36
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AAEtD,KAAK,kCAAkC,CAAC,CAAC,SAAS,QAAQ,EAAE,GAAG,SAAS,IAAI,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAC9F,OAAO,CAAC,uBAAuB,CAAC,WA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AAM,OAAO,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { Nullable, Reflexable } from '@src/hooks/useReflex';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const enum ClickOutsideVariant {
|
|
3
|
+
POPOVER = "POPOVER",
|
|
4
|
+
DEFAULT = "DEFAULT"
|
|
5
|
+
}
|
|
6
|
+
export declare const useClickOutside: <T extends Element = Element>(rootElementRef?: Nullable<Reflexable<T>>, callback?: ((interactionKeyPressed: boolean) => void) | undefined, disableClickOutside?: boolean, variant?: ClickOutsideVariant) => import("@src/hooks/useReflex").Reflex<T>;
|
|
3
7
|
//# sourceMappingURL=useClickOutside.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../../../src/hooks/element/useClickOutside.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useClickOutside.d.ts","sourceRoot":"","sources":["../../../../src/hooks/element/useClickOutside.ts"],"names":[],"mappings":"AACA,OAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvE,0BAAkB,mBAAmB;IACjC,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAID,eAAO,MAAM,eAAe,8GAEW,OAAO,KAAK,IAAI,qCAC7B,OAAO,YACnB,mBAAmB,6CAqEhC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverContainerPosition, PopoverContainerVariant } from '@src/components/internal/Popover/types';
|
|
2
|
-
import { MutableRef } from 'preact/hooks';
|
|
2
|
+
import { MutableRef, Ref } from 'preact/hooks';
|
|
3
3
|
import { Nullable, Reflexable } from '../useReflex';
|
|
4
|
-
declare const usePopoverPositioner: (offset: number
|
|
4
|
+
declare const usePopoverPositioner: (offset: [number, number, number, number], targetElement: MutableRef<Element | null>, variant: PopoverContainerVariant, position?: PopoverContainerPosition, arrowRef?: Ref<HTMLSpanElement> | undefined, setToTargetWidth?: boolean, showOverlay?: boolean, fitPosition?: boolean, ref?: Nullable<Reflexable<Element>>) => import("../useReflex").Reflex<Element>;
|
|
5
5
|
export default usePopoverPositioner;
|
|
6
6
|
//# sourceMappingURL=usePopoverPositioner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePopoverPositioner.d.ts","sourceRoot":"","sources":["../../../../src/hooks/element/usePopoverPositioner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAE3G,OAAO,EAAE,UAAU,EAA4C,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"usePopoverPositioner.d.ts","sourceRoot":"","sources":["../../../../src/hooks/element/usePopoverPositioner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAE3G,OAAO,EAAE,UAAU,EAAE,GAAG,EAA4C,MAAM,cAAc,CAAC;AACzF,OAAkB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA2E/D,QAAA,MAAM,oBAAoB,WACd,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,iBACzB,WAAW,OAAO,GAAG,IAAI,CAAC,WAChC,uBAAuB,aACrB,wBAAwB,aACxB,IAAI,eAAe,CAAC,GAAG,SAAS,qBACxB,OAAO,gBACZ,OAAO,gBACP,OAAO,QACf,SAAS,WAAW,OAAO,CAAC,CAAC,2CA2GtC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { TranslationKey } from '@src/core/Localization/types';
|
|
|
2
2
|
import { ModalSize } from '@src/components/internal/Modal/types';
|
|
3
3
|
type CallbackFunction<T> = (arg: T) => void;
|
|
4
4
|
type DetailsConfig<T> = {
|
|
5
|
-
showDetails:
|
|
5
|
+
showDetails: boolean;
|
|
6
6
|
callback?: CallbackFunction<T>;
|
|
7
7
|
};
|
|
8
8
|
export type SelectedDetail<Options> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useModalDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;AAE5C,KAAK,aAAa,CAAC,CAAC,IAAI;IACpB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useModalDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;AAE5C,KAAK,aAAa,CAAC,CAAC,IAAI;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,OAAO,IAAI;IAClC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,OAAO,CAAC;QAAC,IAAI,EAAE,GAAG,CAAA;KAAE,CAAC;IAC9C,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;AAE5H,MAAM,MAAM,mBAAmB,GAAG;IAC9B,CAAC,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,mBAAmB,EAAE,CAAC,SAAS,cAAc,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS;IAC5I,QAAQ,EAAE,GAAG,CAAC;CACjB,GACK,IAAI,GACJ,KAAK,CAAC;AAEZ,MAAM,MAAM,cAAc,CAAC,OAAO,SAAS,mBAAmB,EAAE,CAAC,SAAS,cAAc,CAAC,OAAO,CAAC,IAAI;IACjG,QAAQ,EAAE,CACN,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS;QAAE,QAAQ,EAAE,GAAG,CAAA;KAAE,GAAG,qBAAqB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,KACzI,IAAI,CAAC;CACb,CAAC;AACF,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,IAAI,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSessionAwareRequest.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSessionAwareRequest/useSessionAwareRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"useSessionAwareRequest.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSessionAwareRequest/useSessionAwareRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAkB5E,iBAAS,sBAAsB;wCAgBG,KAAK,WAAW,EAAE,QAAQ,CAAC,UAAU,UAAU,SAAS,GAAG;EAc5F;AAED,eAAe,sBAAsB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import './style/index.scss';
|
|
|
4
4
|
export * from './core';
|
|
5
5
|
export * from './components';
|
|
6
6
|
export * from './types';
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function AdyenPlatformExperience<T extends CoreOptions<T>>(props: T): Promise<Core<T>>;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAE5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,wBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,0BAA0B,CAAC;AAClC,OAAO,oBAAoB,CAAC;AAE5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,wBAAsB,uBAAuB,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,oBAG/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7D,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;CAAE,CAAC;AACnE,MAAM,MAAM,uBAAuB,CAC/B,CAAC,SAAS,MAAM,EAChB,SAAS,SAAS,GAAG,GAAG,GAAG,EAC3B,OAAO,SAAS,GAAG,GAAG,GAAG,IACzB,CAAC,SAAS,GAAG,MAAM,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,OAAO,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC;AAC5E,MAAM,MAAM,uBAAuB,CAAC,CAAC,EAAE,KAAK,SAAS,MAAM,CAAC,IAAI;KAC3D,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC;CAC5D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var CalendarGridRenderToken = /* @__PURE__ */ ((CalendarGridRenderToken2) => {
|
|
2
|
+
CalendarGridRenderToken2[CalendarGridRenderToken2["DATE"] = 0] = "DATE";
|
|
3
|
+
CalendarGridRenderToken2[CalendarGridRenderToken2["DAY_OF_WEEK"] = 1] = "DAY_OF_WEEK";
|
|
4
|
+
CalendarGridRenderToken2[CalendarGridRenderToken2["MONTH_HEADER"] = 2] = "MONTH_HEADER";
|
|
5
|
+
return CalendarGridRenderToken2;
|
|
6
|
+
})(CalendarGridRenderToken || {});
|
|
7
|
+
export {
|
|
8
|
+
CalendarGridRenderToken as C
|
|
9
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var InteractionKeyCode = /* @__PURE__ */ ((InteractionKeyCode2) => {
|
|
2
|
+
InteractionKeyCode2["ARROW_DOWN"] = "ArrowDown";
|
|
3
|
+
InteractionKeyCode2["ARROW_LEFT"] = "ArrowLeft";
|
|
4
|
+
InteractionKeyCode2["ARROW_RIGHT"] = "ArrowRight";
|
|
5
|
+
InteractionKeyCode2["ARROW_UP"] = "ArrowUp";
|
|
6
|
+
InteractionKeyCode2["BACKSPACE"] = "Backspace";
|
|
7
|
+
InteractionKeyCode2["END"] = "End";
|
|
8
|
+
InteractionKeyCode2["ENTER"] = "Enter";
|
|
9
|
+
InteractionKeyCode2["ESCAPE"] = "Escape";
|
|
10
|
+
InteractionKeyCode2["HOME"] = "Home";
|
|
11
|
+
InteractionKeyCode2["PAGE_DOWN"] = "PageDown";
|
|
12
|
+
InteractionKeyCode2["PAGE_UP"] = "PageUp";
|
|
13
|
+
InteractionKeyCode2["SPACE"] = "Space";
|
|
14
|
+
InteractionKeyCode2["TAB"] = "Tab";
|
|
15
|
+
return InteractionKeyCode2;
|
|
16
|
+
})(InteractionKeyCode || {});
|
|
17
|
+
export {
|
|
18
|
+
InteractionKeyCode as I
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var ButtonVariant = /* @__PURE__ */ ((ButtonVariant2) => {
|
|
2
|
+
ButtonVariant2["PRIMARY"] = "primary";
|
|
3
|
+
ButtonVariant2["SECONDARY"] = "secondary";
|
|
4
|
+
ButtonVariant2["TERTIARY"] = "tertiary";
|
|
5
|
+
ButtonVariant2["LINK"] = "link";
|
|
6
|
+
return ButtonVariant2;
|
|
7
|
+
})(ButtonVariant || {});
|
|
8
|
+
export {
|
|
9
|
+
ButtonVariant as B
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var TransactionFilterParam = /* @__PURE__ */ ((TransactionFilterParam2) => {
|
|
2
|
+
TransactionFilterParam2["CATEGORIES"] = "categories";
|
|
3
|
+
TransactionFilterParam2["CURRENCIES"] = "currencies";
|
|
4
|
+
TransactionFilterParam2["STATUSES"] = "statuses";
|
|
5
|
+
TransactionFilterParam2["CREATED_SINCE"] = "createdSince";
|
|
6
|
+
TransactionFilterParam2["CREATED_UNTIL"] = "createdUntil";
|
|
7
|
+
TransactionFilterParam2["MIN_AMOUNT"] = "minAmount";
|
|
8
|
+
TransactionFilterParam2["MAX_AMOUNT"] = "maxAmount";
|
|
9
|
+
return TransactionFilterParam2;
|
|
10
|
+
})(TransactionFilterParam || {});
|
|
11
|
+
export {
|
|
12
|
+
TransactionFilterParam as T
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var CommitAction = /* @__PURE__ */ ((CommitAction2) => {
|
|
2
|
+
CommitAction2[CommitAction2["NONE"] = 0] = "NONE";
|
|
3
|
+
CommitAction2[CommitAction2["APPLY"] = 1] = "APPLY";
|
|
4
|
+
CommitAction2[CommitAction2["CLEAR"] = 2] = "CLEAR";
|
|
5
|
+
return CommitAction2;
|
|
6
|
+
})(CommitAction || {});
|
|
7
|
+
export {
|
|
8
|
+
CommitAction as C
|
|
9
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { h, _, F, T, p } from "./hooks.module-8565d716.mjs";
|
|
2
|
+
import "./es/utils/common/index.js";
|
|
3
|
+
import usePageLimit from "./es/components/internal/Pagination/hooks/usePageLimit.js";
|
|
4
|
+
import useCursorPagination from "./es/components/internal/Pagination/hooks/useCursorPagination.js";
|
|
5
|
+
import useOffsetPagination from "./es/components/internal/Pagination/hooks/useOffsetPagination.js";
|
|
6
|
+
import usePaginatedRecordsFilters from "./es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js";
|
|
7
|
+
import useBooleanState from "./es/hooks/useBooleanState/useBooleanState.js";
|
|
8
|
+
import useMounted from "./es/hooks/useMounted/useMounted.js";
|
|
9
|
+
import { EMPTY_OBJECT } from "./es/utils/common/constants.js";
|
|
10
|
+
var PageNeighbour = /* @__PURE__ */ ((PageNeighbour2) => {
|
|
11
|
+
PageNeighbour2["NEXT"] = "next";
|
|
12
|
+
PageNeighbour2["PREV"] = "prev";
|
|
13
|
+
return PageNeighbour2;
|
|
14
|
+
})(PageNeighbour || {});
|
|
15
|
+
var PaginationType = /* @__PURE__ */ ((PaginationType2) => {
|
|
16
|
+
PaginationType2["CURSOR"] = "cursor";
|
|
17
|
+
PaginationType2["OFFSET"] = "offset";
|
|
18
|
+
return PaginationType2;
|
|
19
|
+
})(PaginationType || {});
|
|
20
|
+
const pageNeighbours = [PageNeighbour.NEXT, PageNeighbour.PREV];
|
|
21
|
+
const offsetPaginatedResponseFields = ["hasNext", "hasPrevious"];
|
|
22
|
+
const isCursorPaginatedResponseData = (data) => {
|
|
23
|
+
const dataProperties = Object.getOwnPropertyNames(data);
|
|
24
|
+
return !offsetPaginatedResponseFields.some((prop) => dataProperties.includes(prop));
|
|
25
|
+
};
|
|
26
|
+
const parseCursorPaginatedResponseData = (data, dataField = "data") => {
|
|
27
|
+
const records = data[dataField];
|
|
28
|
+
if (isCursorPaginatedResponseData(data)) {
|
|
29
|
+
const paginationData = Object.fromEntries(
|
|
30
|
+
Object.entries(data || EMPTY_OBJECT).filter(
|
|
31
|
+
([neighbour, cursor]) => pageNeighbours.includes(neighbour) && cursor
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
return { records, paginationData };
|
|
35
|
+
}
|
|
36
|
+
throw new TypeError("MALFORMED_PAGINATED_DATA");
|
|
37
|
+
};
|
|
38
|
+
const parseOffsetPaginatedResponseData = (data, dataField = "data") => {
|
|
39
|
+
const records = data[dataField];
|
|
40
|
+
if (!isCursorPaginatedResponseData(data)) {
|
|
41
|
+
const { hasNext, hasPrevious } = data;
|
|
42
|
+
const paginationData = {
|
|
43
|
+
[PageNeighbour.NEXT]: hasNext === true,
|
|
44
|
+
[PageNeighbour.PREV]: hasPrevious === true
|
|
45
|
+
};
|
|
46
|
+
return { records, paginationData };
|
|
47
|
+
}
|
|
48
|
+
throw new TypeError("MALFORMED_PAGINATED_DATA");
|
|
49
|
+
};
|
|
50
|
+
const usePaginatedRecords = ({
|
|
51
|
+
dataField = "data",
|
|
52
|
+
fetchRecords,
|
|
53
|
+
filterParams = EMPTY_OBJECT,
|
|
54
|
+
initialFiltersSameAsDefault = true,
|
|
55
|
+
initialize,
|
|
56
|
+
onFiltersChanged,
|
|
57
|
+
onLimitChanged,
|
|
58
|
+
pagination,
|
|
59
|
+
preferredLimit,
|
|
60
|
+
preferredLimitOptions,
|
|
61
|
+
enabled
|
|
62
|
+
}) => {
|
|
63
|
+
const [records, setRecords] = h([]);
|
|
64
|
+
const [fetching, updateFetching] = useBooleanState(true);
|
|
65
|
+
const [error, setError] = h();
|
|
66
|
+
const [preferredPageLimit, setPreferredPageLimit] = h(preferredLimit);
|
|
67
|
+
const $mounted = useMounted();
|
|
68
|
+
const $initialFetchInProgress = _(true);
|
|
69
|
+
const $lastRequestedPage = _(1);
|
|
70
|
+
const $recordsFilters = usePaginatedRecordsFilters(filterParams, initialFiltersSameAsDefault);
|
|
71
|
+
const { limit, limitOptions } = usePageLimit({ preferredLimit: preferredPageLimit, preferredLimitOptions });
|
|
72
|
+
const { defaultFilters, filters, updateFilters, ...filtersProps } = $recordsFilters;
|
|
73
|
+
const [parsePaginatedResponseData, usePagination] = F(
|
|
74
|
+
() => pagination === PaginationType.CURSOR ? [parseCursorPaginatedResponseData, useCursorPagination] : [parseOffsetPaginatedResponseData, useOffsetPagination],
|
|
75
|
+
[]
|
|
76
|
+
);
|
|
77
|
+
const updateLimit = T((limit2) => setPreferredPageLimit(limit2), []);
|
|
78
|
+
const { goto, page, pages, resetPagination, ...paginationProps } = usePagination(
|
|
79
|
+
T(
|
|
80
|
+
async ({ page: page2, ...pageRequestParams }, signal) => {
|
|
81
|
+
try {
|
|
82
|
+
setError(void 0);
|
|
83
|
+
$lastRequestedPage.current = page2;
|
|
84
|
+
if (!$mounted.current || updateFetching(true))
|
|
85
|
+
return;
|
|
86
|
+
const res = await fetchRecords({ ...pageRequestParams, ...filters }, signal);
|
|
87
|
+
const { records: records2, paginationData } = parsePaginatedResponseData(res, dataField);
|
|
88
|
+
if ($initialFetchInProgress.current) {
|
|
89
|
+
initialize == null ? void 0 : initialize([records2, paginationData], $recordsFilters);
|
|
90
|
+
$initialFetchInProgress.current = false;
|
|
91
|
+
}
|
|
92
|
+
if ($mounted.current) {
|
|
93
|
+
setRecords(records2);
|
|
94
|
+
updateFetching(false);
|
|
95
|
+
}
|
|
96
|
+
return { ...paginationData, size: records2 == null ? void 0 : records2.length };
|
|
97
|
+
} catch (err) {
|
|
98
|
+
if (signal == null ? void 0 : signal.aborted)
|
|
99
|
+
return;
|
|
100
|
+
updateFetching(false);
|
|
101
|
+
setError(err);
|
|
102
|
+
console.error(err);
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
[fetchRecords, filters, limit]
|
|
106
|
+
),
|
|
107
|
+
limit
|
|
108
|
+
);
|
|
109
|
+
F(() => {
|
|
110
|
+
$initialFetchInProgress.current = true;
|
|
111
|
+
}, [filterParams]);
|
|
112
|
+
F(() => {
|
|
113
|
+
resetPagination();
|
|
114
|
+
$lastRequestedPage.current = 1;
|
|
115
|
+
}, [filters, limit, resetPagination]);
|
|
116
|
+
p(() => {
|
|
117
|
+
if (enabled)
|
|
118
|
+
goto($lastRequestedPage.current);
|
|
119
|
+
}, [goto, enabled]);
|
|
120
|
+
p(() => {
|
|
121
|
+
onFiltersChanged == null ? void 0 : onFiltersChanged(filters);
|
|
122
|
+
}, [filters]);
|
|
123
|
+
p(() => {
|
|
124
|
+
onLimitChanged == null ? void 0 : onLimitChanged(limit);
|
|
125
|
+
}, [limit]);
|
|
126
|
+
return { error, fetching, filters, goto, limitOptions, page, pages, records, updateFilters, updateLimit, ...filtersProps, ...paginationProps };
|
|
127
|
+
};
|
|
128
|
+
export {
|
|
129
|
+
PaginationType as P,
|
|
130
|
+
usePaginatedRecords as u
|
|
131
|
+
};
|