@adyen/adyen-platform-experience-web 1.0.0-beta.1 → 1.0.0-beta.3
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/dist/ModalContent-387502da.js +2 -0
- package/dist/ModalContent-387502da.js.map +1 -0
- package/dist/cjs/index.js +1 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/components/external/BaseElement.js +48 -88
- package/dist/es/components/external/EventEmitter.js +17 -28
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +15 -20
- package/dist/es/components/external/TransactionDetails/components/TransactionData.js +41 -42
- package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +13 -13
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.js +28 -39
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +25 -31
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +7 -10
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/constants.js +4 -6
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.js +21 -22
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.js +13 -21
- package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +22 -25
- package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +36 -47
- package/dist/es/components/external/TransactionsOverview/components/Balances/constants.js +2 -2
- package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +8 -9
- package/dist/es/components/external/TransactionsOverview/components/ModalContent.js +9 -9
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +23 -25
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +13 -16
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +16 -26
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +7 -9
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +42 -50
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +18 -19
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/constants.js +8 -14
- package/dist/es/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.js +16 -16
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +37 -42
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +36 -39
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +48 -60
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.js +62 -73
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +133 -155
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/constants.js +4 -6
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +32 -40
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.js +49 -53
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionTable.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +75 -84
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/constants.js +6 -10
- package/dist/es/components/external/TransactionsOverview/components/utils.js +7 -13
- package/dist/es/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.js +21 -40
- package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +9 -10
- package/dist/es/components/external/TransactionsOverview/hooks/useMediaQuery.js +23 -28
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +24 -28
- package/dist/es/components/external/TransactionsOverview/types.js +4 -0
- package/dist/es/components/external/UIElement.js +38 -51
- package/dist/es/components/internal/BaseButton/BaseButton.js +18 -21
- package/dist/es/components/internal/BaseButton/BaseButton.scss.js +4 -0
- package/dist/es/components/internal/BaseButton/constants.js +2 -2
- package/dist/es/components/internal/BaseList/BaseList.js +5 -8
- package/dist/es/components/internal/BaseList/BaseList.scss.js +4 -0
- package/dist/es/components/internal/BaseList/constants.js +2 -2
- package/dist/es/components/internal/Button/Button.js +39 -41
- package/dist/es/components/internal/Button/Button.scss.js +4 -0
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +27 -8
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.scss.js +4 -0
- package/dist/es/components/internal/Button/ButtonActions/types.js +7 -0
- package/dist/es/components/internal/Button/constants.js +9 -16
- package/dist/es/components/internal/Button/hooks/useButton.js +13 -17
- package/dist/es/components/internal/Button/types.js +4 -0
- package/dist/es/components/internal/Calendar/Calendar.js +20 -21
- package/dist/es/components/internal/Calendar/Calendar.scss.js +4 -0
- package/dist/es/components/internal/Calendar/calendar/constants.js +35 -70
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +322 -552
- package/dist/es/components/internal/Calendar/calendar/facade/index.js +37 -46
- package/dist/es/components/internal/Calendar/calendar/shared/indexed/index.js +34 -46
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +31 -5
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/utils.js +14 -16
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +122 -221
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +238 -418
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +40 -63
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +16 -27
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +14 -23
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +21 -29
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +9 -13
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +49 -83
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +38 -61
- package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +17 -21
- package/dist/es/components/internal/Calendar/calendar/types.js +15 -0
- package/dist/es/components/internal/Calendar/calendar/utils.js +15 -22
- package/dist/es/components/internal/Calendar/clock/clock.js +23 -41
- package/dist/es/components/internal/Calendar/clock/today.js +37 -57
- package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +7 -12
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +26 -28
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +33 -58
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +30 -40
- package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +44 -49
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +84 -115
- package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +35 -40
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +24 -46
- package/dist/es/components/internal/Calendar/types.js +4 -0
- package/dist/es/components/internal/CopyText/CopyText.js +26 -31
- package/dist/es/components/internal/CopyText/CopyText.scss.js +4 -0
- package/dist/es/components/internal/DataGrid/DataGrid.js +93 -10
- package/dist/es/components/internal/DataGrid/DataGrid.scss.js +4 -0
- package/dist/es/components/internal/DataGrid/DataGridCell.js +4 -4
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +38 -8
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +15 -17
- package/dist/es/components/internal/DataGrid/components/TableBody.js +19 -19
- package/dist/es/components/internal/DataGrid/components/TableCells.js +19 -25
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +76 -5
- package/dist/es/components/internal/DataGrid/types.js +4 -0
- package/dist/es/components/internal/DatePicker/DatePicker.js +45 -62
- package/dist/es/components/internal/DatePicker/DatePicker.scss.js +4 -0
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +26 -43
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +56 -85
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +45 -53
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.scss.js +4 -0
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +56 -75
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.scss.js +4 -0
- package/dist/es/components/internal/ExpandableCard/constants.js +11 -20
- package/dist/es/components/internal/FilterBar/FilterBar.js +32 -35
- package/dist/es/components/internal/FilterBar/FilterBar.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +15 -17
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +41 -63
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +53 -68
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/constants.js +2 -2
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +104 -153
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +118 -10
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/DateFilter/types.js +4 -0
- package/dist/es/components/internal/FormFields/FormFields.scss.js +4 -0
- package/dist/es/components/internal/FormFields/InputBase.js +53 -66
- package/dist/es/components/internal/FormFields/InputText.js +6 -6
- package/dist/es/components/internal/FormFields/Select/Select.js +187 -246
- package/dist/es/components/internal/FormFields/Select/Select.scss.js +4 -0
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +68 -72
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +62 -71
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +37 -41
- package/dist/es/components/internal/FormFields/Select/constants.js +27 -49
- package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +27 -35
- package/dist/es/components/internal/Image/Image.js +10 -10
- package/dist/es/components/internal/Img/Img.js +18 -32
- package/dist/es/components/internal/Img/Img.scss.js +4 -0
- package/dist/es/components/internal/Modal/Modal.js +58 -77
- package/dist/es/components/internal/Modal/Modal.scss.js +4 -0
- package/dist/es/components/internal/Pagination/Pagination.js +52 -58
- package/dist/es/components/internal/Pagination/Pagination.scss.js +4 -0
- package/dist/es/components/internal/Pagination/constants.js +4 -6
- package/dist/es/components/internal/Pagination/hooks/useCursorPaginatedRecords.js +7 -8
- package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +18 -30
- package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +14 -21
- package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +52 -60
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +78 -11
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +12 -13
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +43 -87
- package/dist/es/components/internal/Pagination/types.js +5 -0
- package/dist/es/components/internal/Pagination/utils.js +5 -5
- package/dist/es/components/internal/Popover/Popover.js +106 -139
- package/dist/es/components/internal/Popover/Popover.scss.js +4 -0
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +18 -22
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.scss.js +4 -0
- package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +8 -10
- package/dist/es/components/internal/Popover/constants.js +9 -16
- package/dist/es/components/internal/Popover/types.js +6 -0
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +27 -45
- package/dist/es/components/internal/Popover/utils/utils.js +23 -29
- package/dist/es/components/internal/SVGIcons/CheckedBox.js +6 -6
- package/dist/es/components/internal/SVGIcons/Checkmark.js +7 -7
- 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 +4 -4
- package/dist/es/components/internal/SVGIcons/Copy.js +3 -3
- package/dist/es/components/internal/SVGIcons/Filter.js +4 -4
- package/dist/es/components/internal/SVGIcons/UncheckedBox.js +6 -6
- package/dist/es/components/internal/Spinner/Spinner.js +4 -5
- package/dist/es/components/internal/Spinner/Spinner.scss.js +4 -0
- package/dist/es/components/internal/Tag/Tag.js +19 -5
- package/dist/es/components/internal/Tag/Tag.scss.js +4 -0
- package/dist/es/components/internal/Tag/types.js +4 -0
- package/dist/es/components/internal/Tooltip/Tooltip.js +31 -38
- package/dist/es/components/internal/Tooltip/Tooltip.scss.js +4 -0
- package/dist/es/components/internal/Tooltip/useTooltipListeners.js +17 -20
- package/dist/es/components/internal/Typography/Typography.js +33 -7
- package/dist/es/components/internal/Typography/Typography.scss.js +4 -0
- package/dist/es/components/internal/Typography/constants.js +2 -2
- package/dist/es/components/internal/Typography/types.js +6 -0
- package/dist/es/components/shared.scss.js +4 -0
- package/dist/es/components/types.js +4 -0
- package/dist/es/components/utils/transactionResourceErrorCodes.js +14 -15
- package/dist/es/constants.js +2 -2
- package/dist/es/core/Auth/AuthContext.js +7 -7
- package/dist/es/core/Auth/AuthProvider.js +15 -23
- 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 +17 -23
- package/dist/es/core/Context/useCoreContext.js +4 -4
- package/dist/es/core/Errors/AdyenPlatformExperienceError.js +12 -17
- package/dist/es/core/Errors/constants.js +2 -4
- package/dist/es/core/Localization/Localization.js +155 -12
- package/dist/es/core/Localization/amount/amount-util.js +19 -42
- 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 +5 -7
- package/dist/es/core/Localization/constants/localization.js +6 -9
- package/dist/es/core/Localization/datetime/restamper/constants.js +20 -29
- package/dist/es/core/Localization/datetime/restamper/restamper.js +32 -44
- package/dist/es/core/Localization/datetime/restamper/utils.js +26 -44
- package/dist/es/core/Localization/localization-utils.js +31 -7
- package/dist/es/core/Localization/translations/ar.json.js +4 -0
- package/dist/es/core/Localization/translations/cs-CZ.json.js +4 -0
- package/dist/es/core/Localization/translations/da-DK.json.js +4 -0
- package/dist/es/core/Localization/translations/de-DE.json.js +4 -0
- package/dist/es/core/Localization/translations/el-GR.json.js +4 -0
- package/dist/es/core/Localization/translations/en-US.json.js +371 -0
- package/dist/es/core/Localization/translations/es-ES.json.js +255 -0
- package/dist/es/core/Localization/translations/fi-FI.json.js +4 -0
- package/dist/es/core/Localization/translations/fr-FR.json.js +4 -0
- package/dist/es/core/Localization/translations/hr-HR.json.js +4 -0
- package/dist/es/core/Localization/translations/hu-HU.json.js +4 -0
- package/dist/es/core/Localization/translations/index.js +79 -356
- package/dist/es/core/Localization/translations/it-IT.json.js +4 -0
- package/dist/es/core/Localization/translations/ja-JP.json.js +4 -0
- package/dist/es/core/Localization/translations/ko-KR.json.js +4 -0
- package/dist/es/core/Localization/translations/nl-NL.json.js +4 -0
- package/dist/es/core/Localization/translations/no-NO.json.js +4 -0
- package/dist/es/core/Localization/translations/pl-PL.json.js +4 -0
- package/dist/es/core/Localization/translations/pt-BR.json.js +4 -0
- package/dist/es/core/Localization/translations/pt-PT.json.js +4 -0
- package/dist/es/core/Localization/translations/ro-RO.json.js +4 -0
- package/dist/es/core/Localization/translations/ru-RU.json.js +4 -0
- package/dist/es/core/Localization/translations/sk-SK.json.js +4 -0
- package/dist/es/core/Localization/translations/sl-SI.json.js +4 -0
- package/dist/es/core/Localization/translations/sv-SE.json.js +4 -0
- package/dist/es/core/Localization/translations/zh-CN.json.js +4 -0
- package/dist/es/core/Localization/translations/zh-TW.json.js +4 -0
- package/dist/es/core/Localization/utils.js +44 -72
- package/dist/es/core/Services/requests/http.js +31 -49
- package/dist/es/core/Services/requests/utils.js +34 -49
- 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 +23 -38
- package/dist/es/core/Session/utils.js +5 -5
- package/dist/es/core/config.js +2 -6
- package/dist/es/core/core.js +44 -85
- package/dist/es/core/utils.js +8 -10
- package/dist/es/external/preact/compat/dist/compat.module.js +253 -0
- package/dist/es/external/preact/dist/preact.module.js +323 -0
- package/dist/es/external/preact/hooks/dist/hooks.module.js +163 -0
- package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +19 -0
- package/dist/es/hooks/element/useClickOutside.js +32 -73
- package/dist/es/hooks/element/useDetachedRender.js +15 -17
- package/dist/es/hooks/element/useFocusCursor.js +14 -19
- package/dist/es/hooks/element/useFocusTrap.js +48 -91
- package/dist/es/hooks/element/usePopoverPositioner.js +105 -5
- package/dist/es/hooks/element/useUniqueIdentifier.js +13 -17
- package/dist/es/hooks/useBooleanState/useBooleanState.js +6 -8
- package/dist/es/hooks/useCommitAction/types.js +4 -0
- package/dist/es/hooks/useCommitAction/useCommitAction.js +27 -38
- package/dist/es/hooks/useFetch/useFetch.js +27 -37
- package/dist/es/hooks/useImageUrl/useImageUrl.js +22 -26
- package/dist/es/hooks/useModalDetails/types.js +6 -0
- package/dist/es/hooks/useModalDetails/useModalDetails.js +28 -37
- package/dist/es/hooks/useMounted/useMounted.js +8 -14
- package/dist/es/hooks/useReactiveState/useReactiveState.js +27 -53
- package/dist/es/hooks/useReflex/constants.js +2 -2
- package/dist/es/hooks/useReflex/core/reflex.js +47 -66
- package/dist/es/hooks/useReflex/core/registry.js +46 -68
- package/dist/es/hooks/useReflex/core/utils.js +16 -18
- package/dist/es/hooks/useReflex/errors.js +6 -6
- package/dist/es/hooks/useReflex/hooks/useReflex.js +7 -12
- package/dist/es/hooks/useSessionAwareRequest/useSessionAwareRequest.js +22 -36
- package/dist/es/hooks/useSetupEndpoint/useSetupEndpoint.js +20 -26
- package/dist/es/images/no-data-female.svg.js +4 -0
- package/dist/es/images/no-results.svg.js +4 -0
- package/dist/es/index.js +41 -45
- package/dist/es/style/index.scss.js +4 -0
- package/dist/es/utils/SessionStorage.js +31 -0
- package/dist/es/utils/class-name-utils.js +5 -11
- package/dist/es/utils/common/constants.js +6 -10
- package/dist/es/utils/common/index.js +32 -59
- package/dist/es/utils/fixedForwardRef.js +3 -3
- package/dist/es/utils/get-image.js +11 -12
- package/dist/es/utils/idGenerator.js +3 -6
- package/dist/es/utils/memoComparator/memoComparator.js +17 -26
- package/dist/es/utils/tabbable.js +71 -110
- package/dist/es/utils/uuid.js +5 -5
- package/dist/es/utils/validator-utils.js +3 -44
- package/dist/es/utils/watchable/constants.js +2 -2
- package/dist/es/utils/watchable/core/Watchable.js +45 -83
- package/dist/es/utils/watchable/core/helpers.js +19 -26
- package/dist/es/utils/watchable/core/syncEffect.js +15 -19
- package/dist/es/utils/watchable/index.js +16 -17
- package/dist/index-8daceaea.js +12 -0
- package/dist/index-8daceaea.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +3 -3
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts +2 -2
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +3 -3
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/ModalContent.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/ModalContent.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +2 -6
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +4 -4
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/utils.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMaxWidths.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/types.d.ts.map +1 -1
- package/dist/types/components/external/UIElement.d.ts +1 -1
- package/dist/types/components/external/UIElement.d.ts.map +1 -1
- package/dist/types/components/internal/BaseList/BaseList.d.ts +1 -1
- package/dist/types/components/internal/BaseList/BaseList.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/ButtonActions.d.ts +1 -1
- package/dist/types/components/internal/Button/ButtonActions/ButtonActions.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts +1 -1
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts.map +1 -1
- package/dist/types/components/internal/Button/constants.d.ts +7 -7
- package/dist/types/components/internal/Button/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/shared/indexed/index.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/types.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +2 -2
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/clock/today.d.ts +1 -1
- package/dist/types/components/internal/Calendar/clock/today.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/clock/types.d.ts +2 -2
- package/dist/types/components/internal/Calendar/clock/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/components/CalendarGrid/utils.d.ts +2 -2
- package/dist/types/components/internal/Calendar/components/CalendarGrid/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/hooks/useTimezone.d.ts +1 -1
- package/dist/types/components/internal/Calendar/hooks/useTimezone.d.ts.map +1 -1
- package/dist/types/components/internal/CopyText/CopyText.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/SkeletonBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +2 -2
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +3 -3
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +2 -2
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/components/internal/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +3 -3
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/types.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/types.d.ts +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +1 -3
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/constants.d.ts +21 -21
- package/dist/types/components/internal/FormFields/Select/constants.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/useCursorPaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/useOffsetPaginatedRecords.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/usePaginatedRecordsFilters.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/types.d.ts +6 -2
- package/dist/types/components/internal/Pagination/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/constants.d.ts +6 -6
- package/dist/types/components/internal/Popover/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/types.d.ts +1 -1
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/types.d.ts +2 -2
- package/dist/types/components/internal/Tooltip/types.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +2 -0
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts +2 -2
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts.map +1 -1
- package/dist/types/core/Auth/AuthContext.d.ts +1 -1
- package/dist/types/core/Auth/AuthContext.d.ts.map +1 -1
- package/dist/types/core/Auth/AuthProvider.d.ts +1 -1
- package/dist/types/core/Auth/AuthProvider.d.ts.map +1 -1
- package/dist/types/core/Auth/types.d.ts +1 -1
- package/dist/types/core/Auth/types.d.ts.map +1 -1
- package/dist/types/core/Context/CoreContext.d.ts +1 -1
- package/dist/types/core/Context/CoreContext.d.ts.map +1 -1
- package/dist/types/core/Context/types.d.ts +1 -1
- package/dist/types/core/Context/types.d.ts.map +1 -1
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts +1 -1
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts.map +1 -1
- package/dist/types/core/Localization/amount/amount-util.d.ts +28 -0
- package/dist/types/core/Localization/amount/amount-util.d.ts.map +1 -1
- package/dist/types/core/Localization/datetime/restamper/utils.d.ts.map +1 -1
- package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
- package/dist/types/core/Localization/types.d.ts +3 -3
- package/dist/types/core/Localization/types.d.ts.map +1 -1
- package/dist/types/core/Localization/utils.d.ts +468 -3
- package/dist/types/core/Localization/utils.d.ts.map +1 -1
- package/dist/types/core/Session/types.d.ts +1 -1
- package/dist/types/core/Session/types.d.ts.map +1 -1
- package/dist/types/core/core.d.ts +19 -0
- package/dist/types/core/core.d.ts.map +1 -1
- package/dist/types/core/types.d.ts +5 -0
- package/dist/types/core/types.d.ts.map +1 -1
- package/dist/types/hooks/element/useClickOutside.d.ts +2 -2
- package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
- package/dist/types/hooks/element/useDetachedRender.d.ts.map +1 -1
- package/dist/types/hooks/element/useFocusTrap.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useCommitAction/types.d.ts +1 -1
- package/dist/types/hooks/useCommitAction/types.d.ts.map +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts.map +1 -1
- package/dist/types/hooks/useImageUrl/useImageUrl.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts +2 -2
- package/dist/types/hooks/useModalDetails/types.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/useModalDetails.d.ts.map +1 -1
- package/dist/types/hooks/useMounted/useMounted.d.ts +1 -1
- package/dist/types/hooks/useMounted/useMounted.d.ts.map +1 -1
- package/dist/types/hooks/useReactiveState/useReactiveState.d.ts.map +1 -1
- package/dist/types/hooks/useReflex/core/reflex.d.ts.map +1 -1
- package/dist/types/hooks/useReflex/core/utils.d.ts.map +1 -1
- package/dist/types/hooks/useReflex/hooks/useReflex.d.ts.map +1 -1
- package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts +1 -1
- package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts.map +1 -1
- package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts +3 -3
- package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts.map +1 -1
- package/dist/types/types/models/openapi/BalanceAccountsResource.d.ts +104 -0
- package/dist/types/types/models/openapi/BalanceAccountsResource.d.ts.map +1 -0
- package/dist/types/types/models/openapi/SetupResource.d.ts +59 -0
- package/dist/types/types/models/openapi/SetupResource.d.ts.map +1 -0
- package/dist/types/types/models/openapi/TransactionsResource.d.ts +198 -0
- package/dist/types/types/models/openapi/TransactionsResource.d.ts.map +1 -0
- package/dist/types/types/models/openapi/endpoints.d.ts +11 -0
- package/dist/types/types/models/openapi/endpoints.d.ts.map +1 -0
- package/dist/types/utils/SessionStorage.d.ts +11 -0
- package/dist/types/utils/SessionStorage.d.ts.map +1 -0
- package/dist/types/utils/Validator/types.d.ts +1 -1
- package/dist/types/utils/Validator/types.d.ts.map +1 -1
- package/dist/types/utils/common/index.d.ts +2 -2
- package/dist/types/utils/common/index.d.ts.map +1 -1
- package/dist/types/utils/fixedForwardRef.d.ts +3 -3
- package/dist/types/utils/fixedForwardRef.d.ts.map +1 -1
- package/dist/types/utils/useForm/types.d.ts +1 -1
- package/dist/types/utils/useForm/types.d.ts.map +1 -1
- package/dist/types/utils/watchable/core/Watchable.d.ts +5 -3
- package/dist/types/utils/watchable/core/Watchable.d.ts.map +1 -1
- package/dist/types/utils/watchable/core/helpers.d.ts +4 -2
- package/dist/types/utils/watchable/core/helpers.d.ts.map +1 -1
- package/dist/types/utils/watchable/core/syncEffect.d.ts +1 -1
- package/dist/types/utils/watchable/core/syncEffect.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/AmountSkeleton.css +0 -23
- package/dist/BalanceAccountSelector.css +0 -4
- package/dist/BaseButton.css +0 -14
- package/dist/BaseList.css +0 -5
- package/dist/Button.css +0 -114
- package/dist/ButtonActions-eb064f69.mjs +0 -46
- package/dist/ButtonActions.css +0 -28
- package/dist/CalendarGrid.css +0 -113
- package/dist/CopyText.css +0 -18
- package/dist/DatePicker.css +0 -64
- package/dist/ErrorMessageDisplay.css +0 -20
- package/dist/ErrorPanel.css +0 -15
- package/dist/ExpandableCard.css +0 -71
- package/dist/FilterBar.css +0 -40
- package/dist/FilterButton.css +0 -48
- package/dist/Img.css +0 -7
- package/dist/InputBase.css +0 -175
- package/dist/Modal.css +0 -110
- package/dist/Pagination.css +0 -25
- package/dist/Popover.css +0 -127
- package/dist/PopoverDismissButton.css +0 -12
- package/dist/RangeSelection.css +0 -26
- package/dist/Select.css +0 -149
- package/dist/SkeletonBody.css +0 -154
- package/dist/Spinner.css +0 -50
- package/dist/SummaryItem.css +0 -37
- package/dist/Tag-6d02fd64.mjs +0 -32
- package/dist/Tag.css +0 -34
- package/dist/Tooltip.css +0 -7
- package/dist/TotalsCard.css +0 -14
- package/dist/TransactionDetails.css +0 -74
- package/dist/TransactionsDisplay.css +0 -4
- package/dist/TransactionsOverview.css +0 -29
- package/dist/TransactionsOverviewContainer.css +0 -3
- package/dist/TransactionsTable.css +0 -18
- package/dist/Typography-11b95870.mjs +0 -68
- package/dist/Typography.css +0 -57
- package/dist/cjs/ModalContent-e142d135.js +0 -10
- package/dist/cjs/ModalContent-e142d135.js.map +0 -1
- package/dist/cjs/index-2231054e.js +0 -10406
- package/dist/cjs/index-2231054e.js.map +0 -1
- package/dist/cjs/index.css +0 -1707
- package/dist/compat.module-a4d537ff.mjs +0 -237
- package/dist/en-US-1daadfc1.mjs +0 -371
- package/dist/es/components/external/FormElement.js +0 -78
- package/dist/es/components/external/TransactionDetails/index.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/index.js +0 -6
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/index.js +0 -15
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/index.js +0 -13
- package/dist/es/components/external/TransactionsOverview/index.js +0 -6
- package/dist/es/components/external/index.js +0 -8
- package/dist/es/components/index.js +0 -11
- package/dist/es/components/internal/BaseButton/index.js +0 -4
- package/dist/es/components/internal/Button/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/YearFrame.js +0 -197
- package/dist/es/components/internal/Calendar/calendar/timeframe/index.js +0 -8
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.test.js +0 -139
- package/dist/es/components/internal/Calendar/calendar/timerange/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/index.js +0 -14
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.test.js +0 -69
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.test.js +0 -69
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.test.js +0 -108
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/fixtures.js +0 -15
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/helpers.js +0 -19
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.test.js +0 -46
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.test.js +0 -85
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.test.js +0 -49
- package/dist/es/components/internal/Calendar/clock/clock.test.js +0 -43
- package/dist/es/components/internal/Calendar/clock/index.js +0 -7
- package/dist/es/components/internal/Calendar/clock/testing/fixtures.js +0 -60
- package/dist/es/components/internal/Calendar/clock/today.test.js +0 -98
- package/dist/es/components/internal/Calendar/components/CalendarControls/index.js +0 -4
- package/dist/es/components/internal/Calendar/components/CalendarGrid/index.js +0 -4
- package/dist/es/components/internal/Calendar/index.js +0 -4
- package/dist/es/components/internal/DataGrid/index.js +0 -4
- package/dist/es/components/internal/DataGrid/tests/DataGrid.test.js +0 -190
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/index.js +0 -7
- package/dist/es/components/internal/DatePicker/index.js +0 -4
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.test.js +0 -45
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/DateFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/TextFilter/TextFilter.js +0 -8
- package/dist/es/components/internal/FilterBar/filters/TextFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/index.js +0 -4
- package/dist/es/components/internal/FormFields/Select/index.js +0 -4
- package/dist/es/components/internal/FormFields/index.js +0 -18
- package/dist/es/components/internal/FormFields/utils.js +0 -4
- package/dist/es/components/internal/Img/index.js +0 -4
- package/dist/es/components/internal/Modal/index.js +0 -4
- package/dist/es/components/internal/Pagination/components/LimitSelect.js +0 -1
- package/dist/es/components/internal/Pagination/hooks/index.js +0 -6
- package/dist/es/components/internal/Pagination/hooks/useOffsetPaginatedRecords.js +0 -10
- package/dist/es/components/internal/Pagination/index.js +0 -4
- package/dist/es/components/internal/Popover/Popover.test.js +0 -119
- package/dist/es/components/internal/Spinner/index.js +0 -4
- package/dist/es/components/utils/utils.js +0 -34
- package/dist/es/core/Analytics/Analytics.js +0 -63
- package/dist/es/core/Analytics/EventsQueue.js +0 -22
- package/dist/es/core/Analytics/index.js +0 -4
- package/dist/es/core/Errors/ErrorPanel.js +0 -19
- package/dist/es/core/Localization/Localization.test.js +0 -70
- package/dist/es/core/Localization/amount/amount-util.test.js +0 -54
- package/dist/es/core/Localization/datetime/restamper/index.js +0 -9
- package/dist/es/core/Localization/datetime/restamper/restamper.test.js +0 -179
- package/dist/es/core/Localization/datetime/restamper/testing/fixtures.js +0 -21
- package/dist/es/core/Localization/datetime/restamper/testing/helpers.js +0 -27
- package/dist/es/core/Localization/index.js +0 -32
- package/dist/es/core/Localization/utils.test.js +0 -215
- package/dist/es/core/ProcessResponse/index.js +0 -4
- package/dist/es/core/ProcessResponse/process-response.js +0 -40
- package/dist/es/core/Services/analytics/collect-id.js +0 -37
- package/dist/es/core/Services/analytics/log-event.js +0 -14
- package/dist/es/core/Services/analytics/post-telemetry.js +0 -22
- package/dist/es/core/Services/data-set.js +0 -1
- package/dist/es/core/Services/get-dataset.js +0 -13
- package/dist/es/core/Services/requests/endpoints.js +0 -9
- package/dist/es/core/Session/index.js +0 -4
- package/dist/es/core/index.js +0 -36
- package/dist/es/hooks/element/useIdentifierString.js +0 -61
- package/dist/es/hooks/useBooleanState/index.js +0 -4
- package/dist/es/hooks/useCommitAction/index.js +0 -6
- package/dist/es/hooks/useDefinedValue/index.js +0 -4
- package/dist/es/hooks/useDefinedValue/useDefinedValue.js +0 -16
- package/dist/es/hooks/useMounted/index.js +0 -4
- package/dist/es/hooks/useReactiveState/index.js +0 -4
- package/dist/es/hooks/useReflex/core/reflex.test.js +0 -170
- package/dist/es/hooks/useReflex/core/registry.test.js +0 -114
- package/dist/es/hooks/useReflex/core/utils.test.js +0 -59
- package/dist/es/hooks/useReflex/index.js +0 -8
- package/dist/es/utils/Storage.js +0 -35
- package/dist/es/utils/Validator/ValidationRuleResult.js +0 -28
- package/dist/es/utils/Validator/Validator.js +0 -67
- package/dist/es/utils/Validator/Validator.test.js +0 -27
- package/dist/es/utils/Validator/defaultRules.js +0 -12
- package/dist/es/utils/Validator/index.js +0 -4
- package/dist/es/utils/get-image.test.js +0 -38
- package/dist/es/utils/memoComparator/index.js +0 -4
- package/dist/es/utils/regex.js +0 -6
- package/dist/es/utils/useForm/index.js +0 -4
- package/dist/es/utils/useForm/reducer.js +0 -153
- package/dist/es/utils/useForm/useForm.js +0 -85
- package/dist/es/utils/useForm/useForm.test.js +0 -107
- package/dist/es/utils/uuid.test.js +0 -13
- package/dist/es/utils/watchable/core/Watchable.test.js +0 -103
- package/dist/es/utils/watchable/core/helpers.test.js +0 -106
- package/dist/es/utils/watchable/core/syncEffect.test.js +0 -103
- package/dist/flags-41c36e13.mjs +0 -83
- package/dist/hooks.module-8565d716.mjs +0 -161
- package/dist/index-2c0f6175.mjs +0 -12069
- package/dist/index-6e47f755.mjs +0 -231
- package/dist/index-944be685.mjs +0 -6609
- package/dist/index-c88cd37e.mjs +0 -243
- package/dist/index-f5bc0382.mjs +0 -155
- package/dist/index.css +0 -63
- package/dist/index2.css +0 -4
- package/dist/jsxRuntime.module-69493d81.mjs +0 -15
- package/dist/magic-string.es-219c273f.mjs +0 -1146
- package/dist/preact.module-38e5a571.mjs +0 -323
- package/dist/types/utils/Storage.d.ts +0 -11
- package/dist/types/utils/Storage.d.ts.map +0 -1
- package/dist/types-0027b7c2.mjs +0 -9
- package/dist/types-0aaff3aa.mjs +0 -19
- package/dist/types-7ad6576a.mjs +0 -10
- package/dist/types-deec0d78.mjs +0 -14
- package/dist/types-e6a6a3ff.mjs +0 -9
- package/dist/usePaginatedRecords-63a69bf1.mjs +0 -131
- package/dist/usePopoverPositioner-882fea89.mjs +0 -182
- package/dist/vendor-vi.a3ff54b1-5e924357.mjs +0 -22389
|
@@ -1,2 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* @param currencyCode -
|
|
4
|
+
* Get divider amount
|
|
5
|
+
*/
|
|
6
|
+
export declare const getDivider: (currencyCode: string) => number;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* @param currencyCode -
|
|
10
|
+
* Returns whether a CURRENCY CODE is valid
|
|
11
|
+
*/
|
|
12
|
+
export declare const isValidCurrencyCode: (currencyCode: string) => currencyCode is "MAD" | "AED" | "AFN" | "ALL" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTC" | "BTN" | "BWP" | "BYR" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHC" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RMB" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRL" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XBT" | "XCD" | "XOF" | "XPF" | "YER" | "ZAR" | "ZWD";
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const getCurrencyCode: (currencyCode: string) => string | null;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare const getDecimalAmount: (amount: number | string, currencyCode: string) => number;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const getLocalisedAmount: (amount: number, locale: string, currencyCode: string, hideCurrency?: boolean, options?: Intl.NumberFormatOptions) => string;
|
|
1
25
|
export declare const formatAmountWithoutCurrency: (locale: string, options: Intl.NumberFormatOptions, amount: number) => string;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const getLocalisedPercentage: (percent: number | undefined, locale: string) => string | null;
|
|
2
30
|
//# sourceMappingURL=amount-util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount-util.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/amount/amount-util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"amount-util.d.ts","sourceRoot":"","sources":["../../../../../src/core/Localization/amount/amount-util.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,UAAU,iBAAkB,MAAM,KAAG,MAAuE,CAAC;AAE1H;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,iBAAkB,MAAM,kzCAAiF,CAAC;AAE1I;;GAEG;AACH,eAAO,MAAM,eAAe,iBAAkB,MAAM,KAAG,MAAM,GAAG,IAAiF,CAAC;AAElJ;;GAEG;AACH,eAAO,MAAM,gBAAgB,WAAY,MAAM,GAAG,MAAM,gBAAgB,MAAM,KAAG,MAGhF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,WACnB,MAAM,UACN,MAAM,gBACA,MAAM,oCAEX,KAAK,mBAAmB,KAClC,MAmBF,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAAY,MAAM,WAAW,KAAK,mBAAmB,UAAU,MAAM,WAM5G,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,wCAAyB,MAAM,KAAG,MAAM,GAAG,IAY7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/core/Localization/datetime/restamper/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAKxE,eAAO,MAAM,8BAA8B,iCAAkC,SAAS;IAAC,MAAM;IAAE,MAAM;CAAC,WACzB,CAAC;AAE9E,eAAO,MAAM,iCAAiC,4BAA6B,MAAM,8BAIlE,CAAC;AAEhB,eAAO,MAAM,mBAAmB,WAAY,MAAM,GAAG,MAAM,WAAwC,CAAC;AAEpG;;;GAGG;AACH,eAAO,MAAM,6BAA6B,mBAAoB,aAAa,CAAC,QAAQ,CAAC,KAAG,MAIvF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,mBACtC,aAAa,CAAC,QAAQ,CAAC,kCACP,aAAa,CAAC,QAAQ,CAAC,KACxD,MAAwF,CAAC;AAE5F,eAAO,MAAM,wCAAwC,UAAW,MAAM,KAAG,MAGxE,CAAC;AAEF,eAAO,MAAM,6BAA6B,cAAe,MAAM,sBAAqB,cAAc,CAAC,WAAW,CAAC,WAI9G,CAAC;AAQF,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/core/Localization/datetime/restamper/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAKxE,eAAO,MAAM,8BAA8B,iCAAkC,SAAS;IAAC,MAAM;IAAE,MAAM;CAAC,WACzB,CAAC;AAE9E,eAAO,MAAM,iCAAiC,4BAA6B,MAAM,8BAIlE,CAAC;AAEhB,eAAO,MAAM,mBAAmB,WAAY,MAAM,GAAG,MAAM,WAAwC,CAAC;AAEpG;;;GAGG;AACH,eAAO,MAAM,6BAA6B,mBAAoB,aAAa,CAAC,QAAQ,CAAC,KAAG,MAIvF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6CAA6C,mBACtC,aAAa,CAAC,QAAQ,CAAC,kCACP,aAAa,CAAC,QAAQ,CAAC,KACxD,MAAwF,CAAC;AAE5F,eAAO,MAAM,wCAAwC,UAAW,MAAM,KAAG,MAGxE,CAAC;AAEF,eAAO,MAAM,6BAA6B,cAAe,MAAM,sBAAqB,cAAc,CAAC,WAAW,CAAC,WAI9G,CAAC;AAQF,eAAO,MAAM,gBAAgB,+CAAgD,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,WAAgC,CAAC;AACvI,eAAO,MAAM,gBAAgB,+CAAgD,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,WAAiC,CAAC"}
|
|
@@ -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,
|
|
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;AAC9D,OAAO,EAAgB,gBAAgB,EAAe,MAAM,SAAS,CAAC;AAItE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,YAAY;UAE7C,CAAC,kBAAkB,CAAC,EAAE,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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import CURRENCY_CODES from './constants/currency-codes';
|
|
2
2
|
import CURRENCY_DECIMALS from './constants/currency-decimals';
|
|
3
|
-
import { SUPPORTED_LOCALES } from '
|
|
4
|
-
import type { ReplaceUnderscoreOrDash } from '
|
|
5
|
-
import { en_US } from '
|
|
3
|
+
import { SUPPORTED_LOCALES } from './constants/localization';
|
|
4
|
+
import type { ReplaceUnderscoreOrDash } from '../../utils/types';
|
|
5
|
+
import { en_US } from '../../core';
|
|
6
6
|
export type CurrencyCode = keyof typeof CURRENCY_CODES;
|
|
7
7
|
export type CurrencyDecimalCode = keyof typeof CURRENCY_DECIMALS;
|
|
8
8
|
export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/Localization/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/Localization/types.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,4BAA4B,CAAC;AACxD,OAAO,iBAAiB,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,cAAc,CAAC;AACvD,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,iBAAiB,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,CAAC,eAAe,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAEtF,MAAM,MAAM,QAAQ,GAAG;KAClB,CAAC,IAAI,oBAAoB,GAAG;SACxB,CAAC,IAAI,CAAC,GAAG,WAAW;KACxB;CACJ,CAAC,oBAAoB,CAAC,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG;SACV,OAAO,IAAI,cAAc,CAAC,CAAC,EAAE,MAAM;KACvC,CAAC;CACL,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'preact';
|
|
2
|
-
import { CustomTranslations, SupportedLocale, Translation } from './types';
|
|
2
|
+
import { CustomTranslations, SupportedLocale, Translation, TranslationOptions } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Convert to ISO 639-1
|
|
5
5
|
*/
|
|
@@ -37,6 +37,15 @@ export declare function parseLocale(locale: string, supportedLocales: Readonly<S
|
|
|
37
37
|
* @param supportedLocales -
|
|
38
38
|
*/
|
|
39
39
|
export declare function formatCustomTranslations(customTranslations: CustomTranslations | undefined, supportedLocales: Readonly<SupportedLocale[]> | string[]): Record<string, any>;
|
|
40
|
+
/**
|
|
41
|
+
* Returns a translation string by key
|
|
42
|
+
* @param translations -
|
|
43
|
+
* @param key -
|
|
44
|
+
* @param options -
|
|
45
|
+
*
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
export declare const getTranslation: (translations: Record<string, string>, key: string, options?: TranslationOptions) => string | null;
|
|
40
49
|
/**
|
|
41
50
|
* Returns an array with all the locales
|
|
42
51
|
* @param locale - The locale the user wants to use
|
|
@@ -72,12 +81,468 @@ export declare const loadTranslations: (locale: string, translations?: {
|
|
|
72
81
|
} | {
|
|
73
82
|
[k: string]: Translation;
|
|
74
83
|
} | undefined, customTranslations?: CustomTranslations) => Promise<{
|
|
75
|
-
|
|
84
|
+
Pending: string;
|
|
76
85
|
Booked: string;
|
|
86
|
+
Reversed: string;
|
|
87
|
+
no: string;
|
|
88
|
+
transferID: string;
|
|
89
|
+
individual: string;
|
|
90
|
+
paymentId: string;
|
|
91
|
+
transactionType: string;
|
|
92
|
+
account: string;
|
|
93
|
+
description: string;
|
|
94
|
+
amount: string;
|
|
95
|
+
creationTime: string;
|
|
96
|
+
paginatedNavigation: string;
|
|
97
|
+
"pagination.page": string;
|
|
98
|
+
"pagination.previousPage": string;
|
|
99
|
+
"pagination.nextPage": string;
|
|
100
|
+
unableToLoadTransactions: string;
|
|
101
|
+
notSet: string;
|
|
102
|
+
"filter.date.since": string;
|
|
103
|
+
"filter.date.until": string;
|
|
104
|
+
"filterPlaceholder.category": string;
|
|
105
|
+
"filterPlaceholder.currency": string;
|
|
106
|
+
"filterPlaceholder.status": string;
|
|
107
|
+
"calendar.controls": string;
|
|
108
|
+
"calendar.previousMonth": string;
|
|
109
|
+
"calendar.nextMonth": string;
|
|
110
|
+
"calendar.timezone": string;
|
|
111
|
+
"button.clearAll": string;
|
|
112
|
+
editFilter: string;
|
|
113
|
+
balanceAccount: string;
|
|
114
|
+
balancePlatform: string;
|
|
115
|
+
"expandableCard.collapse": string;
|
|
116
|
+
"expandableCard.expand": string;
|
|
117
|
+
toStart: string;
|
|
118
|
+
reset: string;
|
|
119
|
+
apply: string;
|
|
120
|
+
referenceForBeneficiary: string;
|
|
121
|
+
"status.booked": string;
|
|
122
|
+
"status.active": string;
|
|
123
|
+
"status.inactive": string;
|
|
124
|
+
"status.pending": string;
|
|
125
|
+
"status.closed": string;
|
|
126
|
+
category: string;
|
|
127
|
+
"category.internal": string;
|
|
128
|
+
reference: string;
|
|
129
|
+
referenceID: string;
|
|
130
|
+
transactions: string;
|
|
131
|
+
dateRange: string;
|
|
132
|
+
from: string;
|
|
133
|
+
to: string;
|
|
134
|
+
balanceAccountId: string;
|
|
135
|
+
defaultCurrency: string;
|
|
136
|
+
created: string;
|
|
137
|
+
status: string;
|
|
138
|
+
expandContent: string;
|
|
139
|
+
hideContent: string;
|
|
140
|
+
storeDetails: string;
|
|
141
|
+
preauthorizeWith: string;
|
|
142
|
+
continueTo: string;
|
|
143
|
+
telephoneNumber: string;
|
|
144
|
+
infix: string;
|
|
145
|
+
firstName: string;
|
|
146
|
+
lastName: string;
|
|
147
|
+
dateOfBirth: string;
|
|
148
|
+
"dateOfBirth.format": string;
|
|
149
|
+
shopperEmail: string;
|
|
150
|
+
"select.noOptionsFound": string;
|
|
151
|
+
"select.filter.placeholder": string;
|
|
152
|
+
"select.provinceOrTerritory": string;
|
|
153
|
+
"select.state": string;
|
|
154
|
+
"select.country": string;
|
|
155
|
+
male: string;
|
|
156
|
+
female: string;
|
|
157
|
+
personalDetails: string;
|
|
158
|
+
"field.valid": string;
|
|
159
|
+
"field.invalid": string;
|
|
160
|
+
companyDetails: string;
|
|
161
|
+
"companyDetails.name": string;
|
|
162
|
+
"companyDetails.registrationNumber": string;
|
|
163
|
+
"payButton.redirecting": string;
|
|
164
|
+
apartmentSuite: string;
|
|
165
|
+
state: string;
|
|
166
|
+
address: string;
|
|
167
|
+
provinceOrTerritory: string;
|
|
168
|
+
cityTown: string;
|
|
169
|
+
zipCode: string;
|
|
170
|
+
"field.title.optional": string;
|
|
171
|
+
invalidFormatExpects: string;
|
|
172
|
+
country: string;
|
|
173
|
+
accountHolder: string;
|
|
174
|
+
legalEntity: string;
|
|
175
|
+
legalEntityID: string;
|
|
176
|
+
balances: string;
|
|
177
|
+
currentBalance: string;
|
|
178
|
+
availableBalance: string;
|
|
179
|
+
reservedBalance: string;
|
|
180
|
+
accountConfiguration: string;
|
|
181
|
+
accountHolderID: string;
|
|
182
|
+
timezone: string;
|
|
183
|
+
salesDayClosingTime: string;
|
|
184
|
+
settlementDelayDays: string;
|
|
185
|
+
transactionDetails: string;
|
|
186
|
+
processingInformation: string;
|
|
187
|
+
type: string;
|
|
188
|
+
incompleteField: string;
|
|
189
|
+
legalEntityDetails: string;
|
|
190
|
+
accountIdentifier: string;
|
|
191
|
+
transferInstrumentId: string;
|
|
192
|
+
overview: string;
|
|
193
|
+
transferInstruments: string;
|
|
194
|
+
id: string;
|
|
195
|
+
legalEntityType: string;
|
|
196
|
+
name: string;
|
|
197
|
+
mobile: string;
|
|
198
|
+
fax: string;
|
|
199
|
+
landline: string;
|
|
200
|
+
email: string;
|
|
201
|
+
residentialAddress: string;
|
|
202
|
+
countryOfResidence: string;
|
|
203
|
+
legalNameOfTheCompany: string;
|
|
204
|
+
companyType: string;
|
|
205
|
+
tradingName: string;
|
|
206
|
+
registrationNumber: string;
|
|
207
|
+
taxNumber: string;
|
|
208
|
+
taxExempt: string;
|
|
209
|
+
registeredBusinessAddress: string;
|
|
210
|
+
"txType.Payment": string;
|
|
211
|
+
"txType.capture": string;
|
|
212
|
+
"txType.captureReversal": string;
|
|
213
|
+
"txType.Refund": string;
|
|
214
|
+
"txType.refundReversal": string;
|
|
215
|
+
"txType.Chargeback": string;
|
|
216
|
+
"txType.chargebackReversal": string;
|
|
217
|
+
"txType.secondChargeback": string;
|
|
218
|
+
"txType.ATM": string;
|
|
219
|
+
"txType.Capital": string;
|
|
220
|
+
"txType.Correction": string;
|
|
221
|
+
"txType.Transfer": string;
|
|
222
|
+
"txType.Other": string;
|
|
223
|
+
"txType.atmWithdrawal": string;
|
|
224
|
+
"txType.atmWithdrawalReversal": string;
|
|
225
|
+
"txType.internalTransfer": string;
|
|
226
|
+
"txType.manualCorrection": string;
|
|
227
|
+
"txType.invoiceDeduction": string;
|
|
228
|
+
"txType.depositCorrection": string;
|
|
229
|
+
"txType.bankTransfer": string;
|
|
230
|
+
"txType.miscCost": string;
|
|
231
|
+
"txType.paymentCost": string;
|
|
232
|
+
"txType.Fee": string;
|
|
233
|
+
"txType.leftover": string;
|
|
234
|
+
"txType.balanceAdjustment": string;
|
|
235
|
+
"txType.balanceMigration": string;
|
|
236
|
+
"txType.balanceRollover": string;
|
|
237
|
+
"txType.cardTransfer": string;
|
|
238
|
+
"txType.cashOutFee": string;
|
|
239
|
+
"txType.cashOutFunding": string;
|
|
240
|
+
"txType.cashOutInstruction": string;
|
|
241
|
+
"txType.chargebackCorrection": string;
|
|
242
|
+
"txType.chargebackReversalCorrection": string;
|
|
243
|
+
"txType.grant": string;
|
|
244
|
+
"txType.installment": string;
|
|
245
|
+
"txType.installmentReversal": string;
|
|
246
|
+
"txType.repayment": string;
|
|
247
|
+
"txType.reserveAdjustment": string;
|
|
248
|
+
txAmount: string;
|
|
249
|
+
unableToLoadAccountHolder: string;
|
|
250
|
+
"txType.secondChargebackCorrection": string;
|
|
251
|
+
unableToLoadBalanceAccount: string;
|
|
252
|
+
unableToLoadLegalEntity: string;
|
|
253
|
+
unableToLoadTransaction: string;
|
|
254
|
+
dismiss: string;
|
|
255
|
+
organization: string;
|
|
256
|
+
originalAmount: string;
|
|
257
|
+
instructedAmount: string;
|
|
258
|
+
date: string;
|
|
259
|
+
structuredList: string;
|
|
260
|
+
tabs: string;
|
|
261
|
+
value: string;
|
|
262
|
+
filterBar: string;
|
|
263
|
+
default: string;
|
|
264
|
+
contactDetails: string;
|
|
265
|
+
transactionsOverview: string;
|
|
266
|
+
"rangePreset.custom": string;
|
|
267
|
+
"rangePreset.last7Days": string;
|
|
268
|
+
"rangePreset.lastMonth": string;
|
|
269
|
+
"rangePreset.lastWeek": string;
|
|
270
|
+
"rangePreset.thisMonth": string;
|
|
271
|
+
"rangePreset.thisWeek": string;
|
|
272
|
+
"rangePreset.yearToDate": string;
|
|
273
|
+
paymentMethod: string;
|
|
274
|
+
currency: string;
|
|
275
|
+
totalIncoming: string;
|
|
276
|
+
totalOutgoing: string;
|
|
277
|
+
accountBalance: string;
|
|
278
|
+
closeIconLabel: string;
|
|
279
|
+
thereAreNoResults: string;
|
|
280
|
+
noTransactionsFound: string;
|
|
281
|
+
tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain: string;
|
|
282
|
+
tryAgainPlease: string;
|
|
283
|
+
noData: string;
|
|
284
|
+
thereWasAnUnexpectedError: string;
|
|
285
|
+
somethingWentWrong: string;
|
|
286
|
+
weCouldNotLoadTheTransactionsOverview: string;
|
|
287
|
+
tryRefreshingThePageOrComeBackLater: string;
|
|
288
|
+
weCouldNotLoadYourTransactions: string;
|
|
289
|
+
anInternalErrorHappened: string;
|
|
290
|
+
contactSupportForHelpAndShareErrorCode: string;
|
|
291
|
+
theErrorCodeIs: string;
|
|
292
|
+
pleaseReachOutToSupportForAssistance: string;
|
|
293
|
+
theRequestIsMissingRequiredFieldsOrContainsInvalidData: string;
|
|
294
|
+
entityWasNotFound: string;
|
|
295
|
+
entityWasNotFoundDetail: string;
|
|
296
|
+
noResultsFoundSeekSupport: string;
|
|
297
|
+
seemsLikeThereIsAndInternalError: string;
|
|
298
|
+
refresh: string;
|
|
299
|
+
reachOutToSupport: string;
|
|
300
|
+
noNegativeNumbersAllowed: string;
|
|
301
|
+
secondValueShouldBeGreaterThanTheFirstOne: string;
|
|
302
|
+
export: string;
|
|
303
|
+
"tooltip.totalIncoming": string;
|
|
304
|
+
"tooltip.totalOutgoing": string;
|
|
305
|
+
"tooltip.Payout": string;
|
|
306
|
+
"tooltip.Refund": string;
|
|
307
|
+
"tooltip.Fee": string;
|
|
308
|
+
"tooltip.Chargeback": string;
|
|
309
|
+
"tooltip.Incoming": string;
|
|
310
|
+
theSelectedBalanceAccountIsIncorrect: string;
|
|
311
|
+
} | {
|
|
77
312
|
Pending: string;
|
|
313
|
+
Booked: string;
|
|
314
|
+
Reversed: string;
|
|
315
|
+
no: string;
|
|
78
316
|
transferID: string;
|
|
79
317
|
individual: string;
|
|
318
|
+
paymentId: string;
|
|
319
|
+
transactionType: string;
|
|
320
|
+
account: string;
|
|
321
|
+
description: string;
|
|
322
|
+
amount: string;
|
|
323
|
+
creationTime: string;
|
|
324
|
+
paginatedNavigation: string;
|
|
325
|
+
"pagination.page": string;
|
|
326
|
+
"pagination.previousPage": string;
|
|
327
|
+
"pagination.nextPage": string;
|
|
328
|
+
unableToLoadTransactions: string;
|
|
329
|
+
notSet: string;
|
|
330
|
+
"filter.date.since": string;
|
|
331
|
+
"filter.date.until": string;
|
|
332
|
+
"filterPlaceholder.category": string;
|
|
333
|
+
"filterPlaceholder.currency": string;
|
|
334
|
+
"filterPlaceholder.status": string;
|
|
335
|
+
"calendar.controls": string;
|
|
336
|
+
"calendar.previousMonth": string;
|
|
337
|
+
"calendar.nextMonth": string;
|
|
338
|
+
"calendar.timezone": string;
|
|
339
|
+
"button.clearAll": string;
|
|
340
|
+
editFilter: string;
|
|
341
|
+
balanceAccount: string;
|
|
342
|
+
balancePlatform: string;
|
|
343
|
+
"expandableCard.collapse": string;
|
|
344
|
+
"expandableCard.expand": string;
|
|
345
|
+
toStart: string;
|
|
346
|
+
reset: string;
|
|
347
|
+
apply: string;
|
|
348
|
+
referenceForBeneficiary: string;
|
|
349
|
+
"status.booked": string;
|
|
350
|
+
"status.active": string;
|
|
351
|
+
"status.inactive": string;
|
|
352
|
+
"status.pending": string;
|
|
353
|
+
"status.closed": string;
|
|
354
|
+
category: string;
|
|
355
|
+
"category.internal": string;
|
|
356
|
+
reference: string;
|
|
357
|
+
referenceID: string;
|
|
358
|
+
transactions: string;
|
|
359
|
+
dateRange: string;
|
|
360
|
+
from: string;
|
|
361
|
+
to: string;
|
|
362
|
+
balanceAccountId: string;
|
|
363
|
+
defaultCurrency: string;
|
|
364
|
+
created: string;
|
|
365
|
+
status: string;
|
|
366
|
+
expandContent: string;
|
|
367
|
+
hideContent: string;
|
|
368
|
+
storeDetails: string;
|
|
369
|
+
preauthorizeWith: string;
|
|
370
|
+
continueTo: string;
|
|
371
|
+
telephoneNumber: string;
|
|
372
|
+
infix: string;
|
|
373
|
+
firstName: string;
|
|
374
|
+
lastName: string;
|
|
375
|
+
dateOfBirth: string;
|
|
376
|
+
"dateOfBirth.format": string;
|
|
377
|
+
shopperEmail: string;
|
|
378
|
+
"select.noOptionsFound": string;
|
|
379
|
+
"select.filter.placeholder": string;
|
|
380
|
+
"select.provinceOrTerritory": string;
|
|
381
|
+
"select.state": string;
|
|
382
|
+
"select.country": string;
|
|
383
|
+
male: string;
|
|
384
|
+
female: string;
|
|
385
|
+
personalDetails: string;
|
|
386
|
+
"field.valid": string;
|
|
387
|
+
"field.invalid": string;
|
|
388
|
+
companyDetails: string;
|
|
389
|
+
"companyDetails.name": string;
|
|
390
|
+
"companyDetails.registrationNumber": string;
|
|
391
|
+
"payButton.redirecting": string;
|
|
392
|
+
apartmentSuite: string;
|
|
393
|
+
state: string;
|
|
394
|
+
address: string;
|
|
395
|
+
provinceOrTerritory: string;
|
|
396
|
+
cityTown: string;
|
|
397
|
+
zipCode: string;
|
|
398
|
+
"field.title.optional": string;
|
|
399
|
+
invalidFormatExpects: string;
|
|
400
|
+
country: string;
|
|
401
|
+
accountHolder: string;
|
|
402
|
+
legalEntity: string;
|
|
403
|
+
legalEntityID: string;
|
|
404
|
+
balances: string;
|
|
405
|
+
currentBalance: string;
|
|
406
|
+
availableBalance: string;
|
|
407
|
+
reservedBalance: string;
|
|
408
|
+
accountConfiguration: string;
|
|
409
|
+
accountHolderID: string;
|
|
410
|
+
timezone: string;
|
|
411
|
+
salesDayClosingTime: string;
|
|
412
|
+
settlementDelayDays: string;
|
|
413
|
+
transactionDetails: string;
|
|
414
|
+
processingInformation: string;
|
|
415
|
+
type: string;
|
|
416
|
+
incompleteField: string;
|
|
417
|
+
legalEntityDetails: string;
|
|
418
|
+
accountIdentifier: string;
|
|
419
|
+
transferInstrumentId: string;
|
|
420
|
+
overview: string;
|
|
421
|
+
transferInstruments: string;
|
|
422
|
+
id: string;
|
|
423
|
+
legalEntityType: string;
|
|
424
|
+
name: string;
|
|
425
|
+
mobile: string;
|
|
426
|
+
fax: string;
|
|
427
|
+
landline: string;
|
|
428
|
+
email: string;
|
|
429
|
+
residentialAddress: string;
|
|
430
|
+
countryOfResidence: string;
|
|
431
|
+
legalNameOfTheCompany: string;
|
|
432
|
+
companyType: string;
|
|
433
|
+
tradingName: string;
|
|
434
|
+
registrationNumber: string;
|
|
435
|
+
taxNumber: string;
|
|
436
|
+
taxExempt: string;
|
|
437
|
+
registeredBusinessAddress: string;
|
|
438
|
+
"txType.Payment": string;
|
|
439
|
+
"txType.capture": string;
|
|
440
|
+
"txType.captureReversal": string;
|
|
441
|
+
"txType.Refund": string;
|
|
442
|
+
"txType.refundReversal": string;
|
|
443
|
+
"txType.Chargeback": string;
|
|
444
|
+
"txType.chargebackReversal": string;
|
|
445
|
+
"txType.secondChargeback": string;
|
|
446
|
+
"txType.ATM": string;
|
|
447
|
+
"txType.Capital": string;
|
|
448
|
+
"txType.Correction": string;
|
|
449
|
+
"txType.Transfer": string;
|
|
450
|
+
"txType.Other": string;
|
|
451
|
+
"txType.atmWithdrawal": string;
|
|
452
|
+
"txType.atmWithdrawalReversal": string;
|
|
453
|
+
"txType.internalTransfer": string;
|
|
454
|
+
"txType.manualCorrection": string;
|
|
455
|
+
"txType.invoiceDeduction": string;
|
|
456
|
+
"txType.depositCorrection": string;
|
|
457
|
+
"txType.bankTransfer": string;
|
|
458
|
+
"txType.miscCost": string;
|
|
459
|
+
"txType.paymentCost": string;
|
|
460
|
+
"txType.Fee": string;
|
|
461
|
+
"txType.leftover": string;
|
|
462
|
+
"txType.balanceAdjustment": string;
|
|
463
|
+
"txType.balanceMigration": string;
|
|
464
|
+
"txType.balanceRollover": string;
|
|
465
|
+
"txType.cardTransfer": string;
|
|
466
|
+
"txType.cashOutFee": string;
|
|
467
|
+
"txType.cashOutFunding": string;
|
|
468
|
+
"txType.cashOutInstruction": string;
|
|
469
|
+
"txType.chargebackCorrection": string;
|
|
470
|
+
"txType.chargebackReversalCorrection": string;
|
|
471
|
+
"txType.grant": string;
|
|
472
|
+
"txType.installment": string;
|
|
473
|
+
"txType.installmentReversal": string;
|
|
474
|
+
"txType.repayment": string;
|
|
475
|
+
"txType.reserveAdjustment": string;
|
|
476
|
+
txAmount: string;
|
|
477
|
+
unableToLoadAccountHolder: string;
|
|
478
|
+
"txType.secondChargebackCorrection": string;
|
|
479
|
+
unableToLoadBalanceAccount: string;
|
|
480
|
+
unableToLoadLegalEntity: string;
|
|
481
|
+
unableToLoadTransaction: string;
|
|
482
|
+
dismiss: string;
|
|
483
|
+
organization: string;
|
|
484
|
+
originalAmount: string;
|
|
485
|
+
instructedAmount: string;
|
|
486
|
+
date: string;
|
|
487
|
+
structuredList: string;
|
|
488
|
+
tabs: string;
|
|
489
|
+
value: string;
|
|
490
|
+
filterBar: string;
|
|
491
|
+
default: string;
|
|
492
|
+
contactDetails: string;
|
|
493
|
+
transactionsOverview: string;
|
|
494
|
+
"rangePreset.custom": string;
|
|
495
|
+
"rangePreset.last7Days": string;
|
|
496
|
+
"rangePreset.lastMonth": string;
|
|
497
|
+
"rangePreset.lastWeek": string;
|
|
498
|
+
"rangePreset.thisMonth": string;
|
|
499
|
+
"rangePreset.thisWeek": string;
|
|
500
|
+
"rangePreset.yearToDate": string;
|
|
501
|
+
paymentMethod: string;
|
|
502
|
+
currency: string;
|
|
503
|
+
totalIncoming: string;
|
|
504
|
+
totalOutgoing: string;
|
|
505
|
+
accountBalance: string;
|
|
506
|
+
closeIconLabel: string;
|
|
507
|
+
thereAreNoResults: string;
|
|
508
|
+
noTransactionsFound: string;
|
|
509
|
+
tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain: string;
|
|
510
|
+
tryAgainPlease: string;
|
|
511
|
+
noData: string;
|
|
512
|
+
thereWasAnUnexpectedError: string;
|
|
513
|
+
somethingWentWrong: string;
|
|
514
|
+
weCouldNotLoadTheTransactionsOverview: string;
|
|
515
|
+
tryRefreshingThePageOrComeBackLater: string;
|
|
516
|
+
weCouldNotLoadYourTransactions: string;
|
|
517
|
+
anInternalErrorHappened: string;
|
|
518
|
+
contactSupportForHelpAndShareErrorCode: string;
|
|
519
|
+
theErrorCodeIs: string;
|
|
520
|
+
pleaseReachOutToSupportForAssistance: string;
|
|
521
|
+
theRequestIsMissingRequiredFieldsOrContainsInvalidData: string;
|
|
522
|
+
entityWasNotFound: string;
|
|
523
|
+
entityWasNotFoundDetail: string;
|
|
524
|
+
noResultsFoundSeekSupport: string;
|
|
525
|
+
seemsLikeThereIsAndInternalError: string;
|
|
526
|
+
refresh: string;
|
|
527
|
+
reachOutToSupport: string;
|
|
528
|
+
noNegativeNumbersAllowed: string;
|
|
529
|
+
secondValueShouldBeGreaterThanTheFirstOne: string;
|
|
530
|
+
export: string;
|
|
531
|
+
"tooltip.totalIncoming": string;
|
|
532
|
+
"tooltip.totalOutgoing": string;
|
|
533
|
+
"tooltip.Payout": string;
|
|
534
|
+
"tooltip.Refund": string;
|
|
535
|
+
"tooltip.Fee": string;
|
|
536
|
+
"tooltip.Chargeback": string;
|
|
537
|
+
"tooltip.Incoming": string;
|
|
538
|
+
theSelectedBalanceAccountIsIncorrect: string;
|
|
539
|
+
} | {
|
|
540
|
+
Pending: string;
|
|
541
|
+
Booked: string;
|
|
80
542
|
Reversed: string;
|
|
543
|
+
no: string;
|
|
544
|
+
transferID: string;
|
|
545
|
+
individual: string;
|
|
81
546
|
paymentId: string;
|
|
82
547
|
transactionType: string;
|
|
83
548
|
account: string;
|
|
@@ -306,5 +771,5 @@ export declare const loadTranslations: (locale: string, translations?: {
|
|
|
306
771
|
* @param translation - Translation string
|
|
307
772
|
* @param renderFunctions - An array function that renders JSX elements
|
|
308
773
|
*/
|
|
309
|
-
export declare const interpolateElement: (translation: string, renderFunctions: (
|
|
774
|
+
export declare const interpolateElement: (translation: string, renderFunctions: Array<(translation: string) => JSX.Element>) => (string | JSX.Element | undefined)[];
|
|
310
775
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -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,
|
|
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,EAAE,kBAAkB,EAAE,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,EAC3C,gBAAgB,EAAE,QAAQ,CAAC,eAAe,EAAE,CAAC,GAAG,MAAM,EAAE,GACzD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAQrB;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,iBACT,OAAO,MAAM,EAAE,MAAM,CAAC,OAC/B,MAAM,YACF,kBAAkB,KAC5B,MAAM,GAAG,IAsBX,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,WACjB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAEM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,mBAAmB,MAAM,CAAC,WAAW,EAAE,MAAM,KAAK,WAAW,CAAC,yCAUnH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/Session/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/core/Session/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,SAAS,EAAE,aAAa,CAAC;CAC5B,CAAC"}
|
|
@@ -35,6 +35,25 @@ declare class Core<T extends CoreOptions<T> = any> {
|
|
|
35
35
|
* @returns this - the element instance
|
|
36
36
|
*/
|
|
37
37
|
remove: (component: BaseElement<any>) => this;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* Register components in core to be able to update them all at once
|
|
41
|
+
*/
|
|
42
|
+
registerComponent: (component: BaseElement<any>) => void;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* Enhances the config object passed when AdyenPlatformExperience is initialised (environment, clientKey, etc...)
|
|
46
|
+
* (Re)Initializes core properties & processes (i18n, etc...)
|
|
47
|
+
* @param options - the config object passed when AdyenPlatformExperience is initialised
|
|
48
|
+
* @returns this
|
|
49
|
+
*/
|
|
50
|
+
private setOptions;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @param options - options that will be merged to the global Checkout props
|
|
54
|
+
* @returns props for a new UIElement
|
|
55
|
+
*/
|
|
56
|
+
private getPropsForComponent;
|
|
38
57
|
}
|
|
39
58
|
export default Core;
|
|
40
59
|
//# sourceMappingURL=core.d.ts.map
|
|
@@ -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,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAK7D,cAAM,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAAG,GAAG;IACrC,gBAAuB,OAAO;;;;;MAK5B;IACK,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACxB,UAAU,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAM;IACpC,YAAY,eAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,cAAc,CAAC;IAEjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,sBAAsB,CAAC,EAAE,OAAO,CAAC;gBAE5B,OAAO,EAAE,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;
|
|
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,WAAW,CAAC;AAChC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAK7D,cAAM,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAAG,GAAG;IACrC,gBAAuB,OAAO;;;;;MAK5B;IACK,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IACxB,UAAU,EAAE,WAAW,CAAC,GAAG,CAAC,EAAE,CAAM;IACpC,YAAY,eAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,cAAc,CAAC;IAEjC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,sBAAsB,CAAC,EAAE,OAAO,CAAC;gBAE5B,OAAO,EAAE,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;IAEF;;;OAGG;IAEI,iBAAiB,cAAe,YAAY,GAAG,CAAC,UAErD;IAEF;;;;;;OAMG;IACH,OAAO,CAAC,UAAU,CAmBhB;IAEF;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;CAU/B;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SessionResponse } from './Session/types';
|
|
2
2
|
import type { CustomTranslations } from './Localization/types';
|
|
3
|
+
import { AnalyticsOptions } from './Analytics/types';
|
|
3
4
|
import { LangFile } from './Localization/types';
|
|
4
5
|
import { ReplaceUnderscoreOrDash } from '../utils/types';
|
|
5
6
|
import Session from './Session';
|
|
@@ -32,6 +33,10 @@ export interface CoreOptions<T extends CoreOptions<T> = any> {
|
|
|
32
33
|
onSessionCreate: SessionRequest;
|
|
33
34
|
onError?: (e: any) => any;
|
|
34
35
|
balanceAccountId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* */
|
|
39
|
+
analytics?: AnalyticsOptions;
|
|
35
40
|
timezone?: Intl.DateTimeFormatOptions['timeZone'];
|
|
36
41
|
sessionSetupError?: boolean;
|
|
37
42
|
}
|
|
@@ -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;
|
|
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;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,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,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,GAC1E,KAAK,CAAC;AAEZ,MAAM,WAAW,WAAW,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,GAAG,GAAG;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC;IAE7B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,uBAAuB,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,GAC7E,kCAAkC,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,GAAG,OAAO,GACxE,OAAO,GAAG,SAAS,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAElC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEnC,eAAe,EAAE,cAAc,CAAC;IAEhC,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IAE1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;SAEK;IAEL,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B,QAAQ,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAElD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Nullable, Reflexable } from '
|
|
1
|
+
import { Nullable, Reflexable } from '../useReflex';
|
|
2
2
|
export declare const enum ClickOutsideVariant {
|
|
3
3
|
POPOVER = "POPOVER",
|
|
4
4
|
DEFAULT = "DEFAULT"
|
|
5
5
|
}
|
|
6
|
-
export declare const useClickOutside: <T extends Element = Element>(rootElementRef?: Nullable<Reflexable<T>>, callback?: (
|
|
6
|
+
export declare const useClickOutside: <T extends Element = Element>(rootElementRef?: Nullable<Reflexable<T>>, callback?: (interactionKeyPressed: boolean) => void, disableClickOutside?: boolean, variant?: ClickOutsideVariant) => import("../useReflex").Reflex<T>;
|
|
7
7
|
//# sourceMappingURL=useClickOutside.d.ts.map
|