@adyen/adyen-platform-experience-web 1.10.0 → 1.10.1
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/adyen-platform-experience-web.css +1 -1
- package/dist/{angle-right-DFK1XWip.cjs → angle-right-DTy2TWx4.cjs} +2 -2
- package/dist/{angle-right-DFK1XWip.cjs.map → angle-right-DTy2TWx4.cjs.map} +1 -1
- package/dist/{arrow-right-CZ1F_uRT.cjs → arrow-right-B6dKAgxC.cjs} +2 -2
- package/dist/{arrow-right-CZ1F_uRT.cjs.map → arrow-right-B6dKAgxC.cjs.map} +1 -1
- package/dist/{checkbox-disabled-CiswqFEh.cjs → checkbox-disabled-6YdgSLrS.cjs} +2 -2
- package/dist/{checkbox-disabled-CiswqFEh.cjs.map → checkbox-disabled-6YdgSLrS.cjs.map} +1 -1
- package/dist/{checkmark-Dlu9dKL2.cjs → checkmark-Cj21KYtP.cjs} +2 -2
- package/dist/{checkmark-Dlu9dKL2.cjs.map → checkmark-Cj21KYtP.cjs.map} +1 -1
- package/dist/{checkmark-circle-fill-D23DKFpy.cjs → checkmark-circle-fill-DnOmKCts.cjs} +2 -2
- package/dist/{checkmark-circle-fill-D23DKFpy.cjs.map → checkmark-circle-fill-DnOmKCts.cjs.map} +1 -1
- package/dist/{checkmark-square-fill-BllnBadT.cjs → checkmark-square-fill-TZSUoFxb.cjs} +2 -2
- package/dist/{checkmark-square-fill-BllnBadT.cjs.map → checkmark-square-fill-TZSUoFxb.cjs.map} +1 -1
- package/dist/{chevron-down-BjPOpPFg.cjs → chevron-down-BdvakWqj.cjs} +2 -2
- package/dist/{chevron-down-BjPOpPFg.cjs.map → chevron-down-BdvakWqj.cjs.map} +1 -1
- package/dist/{chevron-left-w1GDYuEM.cjs → chevron-left-DX05QuGW.cjs} +2 -2
- package/dist/{chevron-left-w1GDYuEM.cjs.map → chevron-left-DX05QuGW.cjs.map} +1 -1
- package/dist/{chevron-right-C4n0pSGH.cjs → chevron-right-QttS4nKf.cjs} +2 -2
- package/dist/{chevron-right-C4n0pSGH.cjs.map → chevron-right-QttS4nKf.cjs.map} +1 -1
- package/dist/{chevron-up-BWw2Y-DY.cjs → chevron-up-DZGBIDS6.cjs} +2 -2
- package/dist/{chevron-up-BWw2Y-DY.cjs.map → chevron-up-DZGBIDS6.cjs.map} +1 -1
- package/dist/{chevron-up-down-0CejMoYD.cjs → chevron-up-down-Db3jqYfl.cjs} +2 -2
- package/dist/{chevron-up-down-0CejMoYD.cjs.map → chevron-up-down-Db3jqYfl.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{cog-zCi8ed-S.cjs → cog-CUHLvzAw.cjs} +2 -2
- package/dist/{cog-zCi8ed-S.cjs.map → cog-CUHLvzAw.cjs.map} +1 -1
- package/dist/{copy-DCwuC7lR.cjs → copy-BTOZkU8Q.cjs} +2 -2
- package/dist/{copy-DCwuC7lR.cjs.map → copy-BTOZkU8Q.cjs.map} +1 -1
- package/dist/{cross-BG2GJUzl.cjs → cross-Bllu7Gj8.cjs} +2 -2
- package/dist/{cross-BG2GJUzl.cjs.map → cross-Bllu7Gj8.cjs.map} +1 -1
- package/dist/{cross-circle-fill-D1c2YpdT.cjs → cross-circle-fill-5WmWlQcI.cjs} +2 -2
- package/dist/{cross-circle-fill-D1c2YpdT.cjs.map → cross-circle-fill-5WmWlQcI.cjs.map} +1 -1
- package/dist/{download-BxWw1k2Q.cjs → download-Cq_hJlBy.cjs} +2 -2
- package/dist/{download-BxWw1k2Q.cjs.map → download-Cq_hJlBy.cjs.map} +1 -1
- package/dist/es/assets/translations/en-US.json.js +4 -0
- package/dist/es/components/external/BaseElement.js +18 -22
- package/dist/es/components/external/CapitalOffer/CapitalOfferElement.js +10 -14
- package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +51 -52
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferLegalNotice/CapitalOfferLegalNotice.js +35 -38
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +102 -104
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +99 -101
- package/dist/es/components/external/CapitalOverview/CapitalOverviewElement.js +21 -26
- package/dist/es/components/external/CapitalOverview/components/CapitalOverview/CapitalOverview.js +77 -81
- package/dist/es/components/external/CapitalOverview/components/GrantActions/GrantActions.js +55 -56
- package/dist/es/components/external/CapitalOverview/components/GrantActions/utils.js +1 -4
- package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +125 -129
- package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +19 -21
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +25 -26
- package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +24 -28
- package/dist/es/components/external/CapitalOverview/components/PreQualifiedIntro.js +26 -27
- package/dist/es/components/external/CapitalOverview/components/Unqualified.js +6 -6
- package/dist/es/components/external/DisputeManagement/DisputeManagementElement.js +10 -14
- package/dist/es/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.js +43 -43
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.js +93 -95
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.js +14 -14
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.js +97 -106
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.js +16 -16
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.js +53 -55
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeData.js +151 -154
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.js +126 -133
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.js +36 -38
- package/dist/es/components/external/DisputeManagement/context/dispute/context.js +44 -44
- package/dist/es/components/external/DisputeManagement/utils/index.js +15 -15
- package/dist/es/components/external/DisputesOverview/DisputesOverviewElement.js +10 -14
- package/dist/es/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.js +167 -167
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.js +10 -10
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputesTable.js +56 -56
- package/dist/es/components/external/PaymentLinkCreation/PaymentLinkCreationElement.js +10 -13
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/CustomerDetailsForm.js +100 -172
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingAddressSection.js +88 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCityField.js +29 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCountryField.js +29 -23
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingHouseNumberField.js +29 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingPostalCodeField.js +29 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingStreetField.js +29 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/DeliveryAddressSection.js +65 -0
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCityField.js +18 -19
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCountryField.js +27 -29
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingHouseNumberField.js +20 -21
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingPostalCodeField.js +20 -21
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingStreetField.js +20 -21
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/BillingAndShippingCheckboxField.js +20 -16
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/CountryRegionField.js +16 -17
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/LanguageField.js +22 -22
- package/dist/es/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/ShopperPhoneField.js +46 -47
- package/dist/es/components/external/PaymentLinkCreation/components/Form/PaymentDetailsForm/Fields/AmountField.js +41 -53
- package/dist/es/components/external/PaymentLinkCreation/components/Form/PaymentDetailsForm/Fields/LinkTypeField.js +16 -19
- package/dist/es/components/external/PaymentLinkCreation/components/Form/PaymentDetailsForm/Fields/ValidityField.js +91 -100
- package/dist/es/components/external/PaymentLinkCreation/components/Form/StoreForm/Fields/StoreField.js +15 -16
- package/dist/es/components/external/PaymentLinkCreation/components/Form/Summary/FormSummary.js +72 -85
- package/dist/es/components/external/PaymentLinkCreation/components/PaymentLinkCreationContainer/PaymentLinkCreationContainer.js +14 -15
- package/dist/es/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/FormStepRenderer.js +26 -26
- package/dist/es/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/PaymentLinkCreationFormContainer.js +163 -173
- package/dist/es/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/usePaymentLinkFormData.js +77 -78
- package/dist/es/components/external/PaymentLinkCreation/hooks/useInvalidFieldsConfig.js +12 -12
- package/dist/es/components/external/PaymentLinkCreation/utils.js +202 -210
- package/dist/es/components/external/PaymentLinkDetails/PaymentLinkDetailsElement.js +10 -14
- package/dist/es/components/external/PaymentLinkDetails/components/PaymentLinkDetails/PaymentLinkDetails.js +113 -103
- package/dist/es/components/external/PaymentLinkDetails/components/PaymentLinkSummary/PaymentLinkSummary.js +31 -26
- package/dist/es/components/external/PaymentLinkDetails/components/PaymentLinkTabs/PaymentLinkTabs.js +82 -83
- package/dist/es/components/external/PaymentLinkSettings/PaymentLinkSettingsElement.js +10 -13
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/PaymentLinkSettings.js +32 -32
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/PaymentLinkSettingsContainer.js +23 -23
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/PaymentLinkSettingsContent/PaymentLinkSettingsContent.js +43 -31
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/SettingsActionButtons/SettingsActionButtons.js +31 -30
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/SettingsError/SettingsError.js +15 -15
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/context/context.js +112 -112
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/utils/getSettingsErrorMessage.js +30 -22
- package/dist/es/components/external/PaymentLinkSettings/components/PaymentLinkThemeContainer/components/ThemeForm/ThemeForm.js +67 -69
- package/dist/es/components/external/PaymentLinkSettings/components/TermsAndConditions/Requirements/useTermsRequirementsConfig.js +9 -9
- package/dist/es/components/external/PaymentLinkSettings/components/TermsAndConditions/TermsAndConditions.js +82 -84
- package/dist/es/components/external/PaymentLinkSettings/hooks/useSaveAction.js +24 -24
- package/dist/es/components/external/PaymentLinkSettings/hooks/useSettingsPermission.js +11 -0
- package/dist/es/components/external/PaymentLinkSettings/hooks/useStoreTermsAndConditions.js +10 -10
- package/dist/es/components/external/PaymentLinkSettings/hooks/useStoreTheme.js +20 -20
- package/dist/es/components/external/PaymentLinksOverview/PaymentLinksOverviewElement.js +10 -14
- package/dist/es/components/external/PaymentLinksOverview/components/PaymentLinksErrors.js +19 -19
- package/dist/es/components/external/PaymentLinksOverview/components/PaymentLinksOverview.js +274 -255
- package/dist/es/components/external/PaymentLinksOverview/components/PaymentLinksOverviewContainer.js +4 -4
- package/dist/es/components/external/PaymentLinksOverview/components/PaymentLinksOverviewModal.js +42 -43
- package/dist/es/components/external/PaymentLinksOverview/components/PaymentLinksTable.js +52 -53
- package/dist/es/components/external/PaymentLinksOverview/components/constants.js +17 -15
- package/dist/es/components/external/PaymentLinksOverview/utils/getPaymentLinksErrorMessage.js +24 -25
- package/dist/es/components/external/PayoutDetails/PayoutDetails.js +10 -14
- package/dist/es/components/external/PayoutDetails/components/PayoutData.js +118 -128
- package/dist/es/components/external/PayoutsOverview/PayoutsOverviewElement.js +10 -14
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +102 -106
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +65 -66
- package/dist/es/components/external/ReportsOverview/ReportsOverviewElement.js +10 -14
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +78 -82
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +11 -11
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +8 -12
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetails.js +18 -21
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsActions.js +49 -53
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsProperties.js +82 -87
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsStatusBox.js +28 -29
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsSummary.js +49 -55
- package/dist/es/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsTimeline.js +31 -32
- package/dist/es/components/external/TransactionDetails/components/PaymentRefund/PaymentRefund.js +63 -65
- package/dist/es/components/external/TransactionDetails/components/PaymentRefund/PaymentRefundActions.js +38 -39
- package/dist/es/components/external/TransactionDetails/components/PaymentRefund/PaymentRefundAmount.js +50 -51
- package/dist/es/components/external/TransactionDetails/components/PaymentRefund/PaymentRefundReason.js +23 -24
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionData.js +43 -44
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +45 -45
- package/dist/es/components/external/TransactionDetails/constants.js +12 -13
- package/dist/es/components/external/TransactionDetails/hooks/useRefundMetadata/useRefundMetadata.js +46 -50
- package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +25 -25
- package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +32 -33
- package/dist/es/components/external/TransactionDetails/utils.js +9 -9
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +8 -12
- package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +22 -22
- package/dist/es/components/external/TransactionsOverview/components/Balances/BalancesCard.js +27 -27
- package/dist/es/components/external/TransactionsOverview/components/InsightsTotals/InsightsTotals.js +38 -37
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +18 -18
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +26 -29
- package/dist/es/components/external/TransactionsOverview/components/TransactionFilters/TransactionDateFilter.js +71 -67
- package/dist/es/components/external/TransactionsOverview/components/TransactionFilters/TransactionFilters.js +99 -89
- package/dist/es/components/external/TransactionsOverview/components/TransactionFilters/TransactionPspReferenceFilter.js +73 -59
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +15 -15
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +39 -39
- package/dist/es/components/external/TransactionsOverview/components/TransactionsExport/TransactionsExport.js +175 -175
- package/dist/es/components/external/TransactionsOverview/components/TransactionsExport/constants.js +1 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsList/TransactionsList.js +40 -41
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +103 -85
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewInsights.js +9 -12
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewList.js +45 -50
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +9 -9
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +44 -44
- package/dist/es/components/external/TransactionsOverview/components/utils.js +32 -29
- package/dist/es/components/external/TransactionsOverview/constants.js +51 -42
- package/dist/es/components/external/TransactionsOverview/hooks/useCurrenciesLookup.js +50 -0
- package/dist/es/components/external/TransactionsOverview/hooks/useCurrencySelection.js +31 -28
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsList.js +55 -54
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsTotals.js +35 -37
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsViewSwitcher.js +18 -0
- package/dist/es/components/external/UIElement/UIElement.js +27 -33
- package/dist/es/components/internal/Accordion/Accordion.js +19 -20
- package/dist/es/components/internal/Alert/Alert.js +18 -18
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +46 -46
- package/dist/es/components/internal/Button/hooks/useButton.js +31 -31
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +360 -409
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +98 -105
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +218 -232
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +42 -28
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +21 -36
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +18 -18
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +14 -14
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +81 -81
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +7 -7
- package/dist/es/components/internal/CapitalHeader/CapitalHeader.js +12 -13
- package/dist/es/components/internal/CapitalHeader/helpers.js +16 -20
- package/dist/es/components/internal/CapitalSlider/CapitalSlider.js +33 -33
- package/dist/es/components/internal/Checkbox/Checkbox.js +25 -26
- package/dist/es/components/internal/DataGrid/DataGrid.js +41 -45
- package/dist/es/components/internal/DataGrid/DataGridCell.js +15 -16
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +27 -27
- package/dist/es/components/internal/DataGrid/components/TableBody.js +15 -15
- package/dist/es/components/internal/DataGrid/components/TableCells.js +36 -38
- package/dist/es/components/internal/DataGrid/components/TableHeaderCell.js +12 -13
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +38 -41
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +44 -46
- package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +23 -23
- package/dist/es/components/internal/DatePicker/DatePicker.js +33 -34
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +24 -24
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +47 -48
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +55 -54
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +43 -44
- package/dist/es/components/internal/FilterBar/FilterBar.js +23 -23
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +75 -74
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +61 -62
- package/dist/es/components/internal/FormFields/CalendarInput/CalendarInput.js +35 -36
- package/dist/es/components/internal/FormFields/CalendarInput/components/CalendarInputButton.js +18 -18
- package/dist/es/components/internal/FormFields/CalendarInput/components/CalendarInputPopover.js +28 -27
- package/dist/es/components/internal/FormFields/CurrencyInput/CurrencyInput.js +75 -80
- package/dist/es/components/internal/FormFields/FileInput/FileInput.js +36 -36
- package/dist/es/components/internal/FormFields/FileInput/components/Dropzone.js +77 -79
- package/dist/es/components/internal/FormFields/InputBase.js +110 -111
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +30 -30
- package/dist/es/components/internal/FormFields/Select/Select.js +199 -200
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +80 -84
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +15 -15
- package/dist/es/components/internal/FormFields/utils.js +5 -5
- package/dist/es/components/internal/FormWrappers/FormCalendarInput.js +27 -33
- package/dist/es/components/internal/FormWrappers/FormSelect.js +51 -55
- package/dist/es/components/internal/FormWrappers/FormTextInput.js +51 -55
- package/dist/es/components/internal/FormWrappers/VisibleField.js +7 -8
- package/dist/es/components/internal/Header/Header.js +35 -35
- package/dist/es/components/internal/Img/Img.js +6 -6
- package/dist/es/components/internal/Modal/Modal.js +51 -53
- package/dist/es/components/internal/Pagination/Pagination.js +42 -42
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +48 -46
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +30 -32
- package/dist/es/components/internal/Popover/Popover.js +117 -121
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +29 -26
- package/dist/es/components/internal/Popover/utils/utils.js +21 -22
- package/dist/es/components/internal/ProgressBar/ProgressBar.js +25 -25
- package/dist/es/components/internal/SecondaryNav/SecondaryNav.js +19 -19
- package/dist/es/components/internal/StatusBox/StatusBox.js +9 -9
- package/dist/es/components/internal/StatusBox/utils.js +4 -7
- package/dist/es/components/internal/Stepper/Stepper.js +29 -32
- package/dist/es/components/internal/ToggleSwitch/ToggleSwitch.js +17 -17
- package/dist/es/components/internal/Tooltip/Tooltip.js +24 -27
- package/dist/es/components/internal/Tooltip/useTooltipListeners.js +19 -19
- package/dist/es/components/utils/customData/hasCustomField.js +10 -11
- package/dist/es/components/utils/customData/normalizeCustomFields.js +8 -9
- package/dist/es/components/utils/translation/factory.js +10 -10
- package/dist/es/components/utils/translation/getters.js +18 -14
- package/dist/es/core/Analytics/analytics/customTranslations.js +32 -41
- package/dist/es/core/Analytics/analytics/user-events.js +23 -26
- package/dist/es/core/Analytics/analytics/utils.js +12 -7
- package/dist/es/core/Assets/Assets.js +5 -8
- package/dist/es/core/ConfigContext/session/AuthSession.js +51 -54
- package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +50 -53
- package/dist/es/core/ConfigContext/session/SetupContext.js +59 -60
- package/dist/es/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.js +1 -1
- package/dist/es/core/ConfigContext/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.js +5 -8
- package/dist/es/core/ConfigContext/session/utils/sessionReady.js +2 -2
- package/dist/es/core/Context/CoreProvider.js +21 -21
- package/dist/es/core/Context/analytics/AnalyticsProvider.js +19 -24
- package/dist/es/core/Errors/AdyenPlatformExperienceError.js +9 -13
- package/dist/es/core/Http/http.js +30 -30
- package/dist/es/core/Http/utils.js +2 -6
- package/dist/es/core/Localization/Localization.js +100 -110
- package/dist/es/core/Localization/datetime/restamper/restamper.js +19 -19
- package/dist/es/core/Localization/datetime/restamper/utils.js +23 -25
- package/dist/es/core/Localization/localization-utils.js +15 -16
- package/dist/es/core/Localization/utils.js +49 -49
- package/dist/es/core/core.js +54 -61
- package/dist/es/core/utils.js +37 -46
- package/dist/es/hooks/element/useClickOutside.js +20 -20
- package/dist/es/hooks/element/useFocusCursor.js +7 -7
- package/dist/es/hooks/element/useFocusTrap.js +38 -40
- package/dist/es/hooks/element/usePopoverPositioner.js +135 -101
- package/dist/es/hooks/form/useForm.js +86 -86
- package/dist/es/hooks/form/wizard/useWizardForm.js +1 -1
- package/dist/es/hooks/useAccountBalances.js +33 -31
- package/dist/es/hooks/useAnalytics/useDurationEvent.js +13 -14
- package/dist/es/hooks/useAnalytics/useFilterAnalyticsEvent.js +16 -17
- package/dist/es/hooks/useAnalytics/useLandedPageEvent.js +7 -8
- package/dist/es/hooks/useAnalytics/usePushAnalyticEvent.js +10 -10
- package/dist/es/hooks/useBalanceAccountSelection.js +35 -35
- package/dist/es/hooks/useBalanceAccounts.js +24 -24
- package/dist/es/hooks/useCommitAction/useCommitAction.js +31 -31
- package/dist/es/hooks/useComponentHeadingElement.js +12 -13
- package/dist/es/hooks/useContainerQuery.js +11 -12
- package/dist/es/hooks/useCustomColumnsData.js +13 -13
- package/dist/es/hooks/useFetch.js +24 -24
- package/dist/es/hooks/useModalDetails/useModalDetails.js +14 -23
- package/dist/es/hooks/useMultiSelectionFilterProps.js +22 -22
- package/dist/es/hooks/useMutation/useMutation.js +23 -23
- package/dist/es/hooks/usePaymentLinkFilters.js +13 -13
- package/dist/es/hooks/useStores.js +28 -35
- package/dist/es/hooks/useTabbedControl.js +46 -47
- package/dist/es/hooks/useTableColumns.js +36 -37
- package/dist/es/hooks/useTrackedRef.js +6 -6
- package/dist/es/primitives/auxiliary/errorContainer/main.js +0 -1
- package/dist/es/primitives/context/session/SessionContext.js +25 -28
- package/dist/es/primitives/context/session/internal/deadline.js +43 -43
- package/dist/es/primitives/context/session/internal/refresher.js +38 -39
- package/dist/es/primitives/dom/tabbableRoot/tabbable.js +43 -44
- package/dist/es/primitives/reactive/watchlist/main.js +39 -39
- package/dist/es/primitives/time/clock/main.js +4 -4
- package/dist/es/primitives/time/interval/main.js +22 -23
- package/dist/es/primitives/time/today/main.js +26 -26
- package/dist/es/utils/abort/main.js +1 -1
- package/dist/es/utils/file/upload.js +9 -9
- package/dist/es/utils/preact/className.js +5 -5
- package/dist/es/utils/preact/memoComparator/main.js +10 -10
- package/dist/es/utils/preact/props.js +3 -3
- package/dist/es/utils/value/string.js +3 -3
- package/dist/{external-link-Do522Qjt.cjs → external-link-D2YLetxs.cjs} +2 -2
- package/dist/{external-link-Do522Qjt.cjs.map → external-link-D2YLetxs.cjs.map} +1 -1
- package/dist/{filter-6B73tLOP.cjs → filter-CKtA0pkK.cjs} +2 -2
- package/dist/{filter-6B73tLOP.cjs.map → filter-CKtA0pkK.cjs.map} +1 -1
- package/dist/index-WqTob51p.cjs +12 -0
- package/dist/index-WqTob51p.cjs.map +1 -0
- package/dist/{info-DqFoQd5P.cjs → info-B2W15PDg.cjs} +2 -2
- package/dist/{info-DqFoQd5P.cjs.map → info-B2W15PDg.cjs.map} +1 -1
- package/dist/{info-filled-B5pVGuJ8.cjs → info-filled-BDKVrESq.cjs} +2 -2
- package/dist/{info-filled-B5pVGuJ8.cjs.map → info-filled-BDKVrESq.cjs.map} +1 -1
- package/dist/{minus-circle-outline-Mcf_kMSi.cjs → minus-circle-outline-Cu3Bj3E6.cjs} +2 -2
- package/dist/{minus-circle-outline-Mcf_kMSi.cjs.map → minus-circle-outline-Cu3Bj3E6.cjs.map} +1 -1
- package/dist/{plus-EU2UHO2V.cjs → plus-DNTi3wgg.cjs} +2 -2
- package/dist/{plus-EU2UHO2V.cjs.map → plus-DNTi3wgg.cjs.map} +1 -1
- package/dist/{plus-circle-outline-DSIoo7so.cjs → plus-circle-outline-CF85OXY-.cjs} +2 -2
- package/dist/{plus-circle-outline-DSIoo7so.cjs.map → plus-circle-outline-CF85OXY-.cjs.map} +1 -1
- package/dist/{search--An9znzz.cjs → search-n5YUXFFI.cjs} +2 -2
- package/dist/{search--An9znzz.cjs.map → search-n5YUXFFI.cjs.map} +1 -1
- package/dist/{square-5S1xqTOx.cjs → square-6eUylWPu.cjs} +2 -2
- package/dist/{square-5S1xqTOx.cjs.map → square-6eUylWPu.cjs.map} +1 -1
- package/dist/{square-small-fill-BKgrg2zd.cjs → square-small-fill-DrJJvWZc.cjs} +2 -2
- package/dist/{square-small-fill-BKgrg2zd.cjs.map → square-small-fill-DrJJvWZc.cjs.map} +1 -1
- package/dist/{trash-can-CfN0iDyZ.cjs → trash-can-DBTU4_IJ.cjs} +2 -2
- package/dist/{trash-can-CfN0iDyZ.cjs.map → trash-can-DBTU4_IJ.cjs.map} +1 -1
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.d.ts.map +1 -1
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/CustomerDetailsForm.d.ts +3 -3
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/CustomerDetailsForm.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingAddressSection.d.ts +20 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingAddressSection.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCityField.d.ts +9 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCityField.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCountryField.d.ts +3 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingCountryField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingHouseNumberField.d.ts +9 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingHouseNumberField.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingPostalCodeField.d.ts +9 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingPostalCodeField.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingStreetField.d.ts +9 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/BillingStreetField.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/DeliveryAddressSection.d.ts +19 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/DeliveryAddressSection.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCityField.d.ts +2 -2
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCityField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCountryField.d.ts +2 -2
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingCountryField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingHouseNumberField.d.ts +2 -2
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingHouseNumberField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingPostalCodeField.d.ts +2 -2
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingPostalCodeField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingStreetField.d.ts +2 -2
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/Address/ShippingStreetField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/BillingAndShippingCheckboxField.d.ts +4 -3
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/BillingAndShippingCheckboxField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/LanguageField.d.ts +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/LanguageField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/ShopperPhoneField.d.ts +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/Form/CustomerDetailsForm/Fields/ShopperPhoneField.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/FormStepRenderer.d.ts +3 -3
- package/dist/types/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/FormStepRenderer.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/components/PaymentLinkCreationFormContainer/PaymentLinkCreationFormContainer.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkCreation/utils.d.ts +1 -1
- package/dist/types/components/external/PaymentLinkCreation/utils.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkDetails/components/PaymentLinkDetails/PaymentLinkDetails.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkDetails/components/PaymentLinkSummary/PaymentLinkSummary.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/PaymentLinkSettingsContent/PaymentLinkSettingsContent.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/SettingsActionButtons/SettingsActionButtons.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/context/context.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/utils/getSettingsErrorMessage.d.ts +1 -0
- package/dist/types/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/utils/getSettingsErrorMessage.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/components/TermsAndConditions/TermsAndConditions.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinkSettings/hooks/useSettingsPermission.d.ts +5 -0
- package/dist/types/components/external/PaymentLinkSettings/hooks/useSettingsPermission.d.ts.map +1 -0
- package/dist/types/components/external/PaymentLinksOverview/components/PaymentLinksOverview.d.ts.map +1 -1
- package/dist/types/components/external/PaymentLinksOverview/components/constants.d.ts +2 -0
- package/dist/types/components/external/PaymentLinksOverview/components/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsSummary.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/InsightsTotals/InsightsTotals.d.ts +2 -8
- package/dist/types/components/external/TransactionsOverview/components/InsightsTotals/InsightsTotals.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionFilters/TransactionDateFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionFilters/TransactionFilters.d.ts +2 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionFilters/TransactionFilters.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionFilters/TransactionPspReferenceFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsExport/TransactionsExport.d.ts +2 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsExport/TransactionsExport.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsExport/constants.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsExport/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsList/TransactionsList.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsList/TransactionsList.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsList/types.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/TransactionsList/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewInsights.d.ts +4 -2
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewInsights.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewList.d.ts +3 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewList.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/utils.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/constants.d.ts +13 -2
- package/dist/types/components/external/TransactionsOverview/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useCurrenciesLookup.d.ts +20 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useCurrenciesLookup.d.ts.map +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useCurrencySelection.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsList.d.ts +2 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsList.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsTotals.d.ts +10 -13
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsTotals.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsViewSwitcher.d.ts +17 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsViewSwitcher.d.ts.map +1 -0
- 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/internal/Calendar/calendar/timerange/presets/index.d.ts +1 -0
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/index.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/lastNMonths.d.ts +8 -0
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/lastNMonths.d.ts.map +1 -0
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +5 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +2 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/BaseFilter.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/CalendarInput/components/CalendarInputPopover.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/types.d.ts +2 -0
- package/dist/types/components/internal/FormFields/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormWrappers/FormSelect.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/utils/popoverUtil.d.ts.map +1 -1
- package/dist/types/components/internal/SecondaryNav/SecondaryNav.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/utils/translation/getters.d.ts +1 -0
- package/dist/types/components/utils/translation/getters.d.ts.map +1 -1
- package/dist/types/core/Analytics/analytics/customTranslations.d.ts.map +1 -1
- package/dist/types/core/Analytics/analytics/user-events.d.ts.map +1 -1
- package/dist/types/core/Analytics/analytics/utils.d.ts +1 -0
- package/dist/types/core/Analytics/analytics/utils.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/context.d.ts +4 -0
- package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts +8 -0
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts +4 -0
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
- package/dist/types/core/utils.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useAccountBalances.d.ts +2 -10
- package/dist/types/hooks/useAccountBalances.d.ts.map +1 -1
- package/dist/types/translations/index.d.ts +4 -0
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/models/payByLink.d.ts +1 -0
- package/dist/types/types/api/models/payByLink.d.ts.map +1 -1
- package/dist/types/types/api/resources/TransactionsResourceV2.d.ts +4 -0
- package/dist/types/types/api/resources/TransactionsResourceV2.d.ts.map +1 -1
- package/dist/{upload-DhJ5Ryve.cjs → upload-DU_Zw02S.cjs} +2 -2
- package/dist/{upload-DhJ5Ryve.cjs.map → upload-DU_Zw02S.cjs.map} +1 -1
- package/dist/{warning-Cd0hhCpU.cjs → warning-DPnFvfFh.cjs} +2 -2
- package/dist/{warning-Cd0hhCpU.cjs.map → warning-DPnFvfFh.cjs.map} +1 -1
- package/dist/{warning-filled-CS3RxwaE.cjs → warning-filled-CVFCE8nl.cjs} +2 -2
- package/dist/{warning-filled-CS3RxwaE.cjs.map → warning-filled-CVFCE8nl.cjs.map} +1 -1
- package/package.json +12 -19
- package/dist/es/components/internal/Popover/PopoverContainer.js +0 -36
- package/dist/index-B_Fws5NV.cjs +0 -12
- package/dist/index-B_Fws5NV.cjs.map +0 -1
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts +0 -6
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsActionButtons.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/SettingsActionButtons/SettingsActionButtons.tsx"],"names":[],"mappings":"AAOA,OAAO,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsActionButtons.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/components/SettingsActionButtons/SettingsActionButtons.tsx"],"names":[],"mappings":"AAOA,OAAO,6BAA6B,CAAC;AAOrC,QAAA,MAAM,qBAAqB,GAAI,gCAAgC;IAAE,YAAY,CAAC,EAAE,MAAM,IAAI,GAAG,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,IAAI,GAAG,SAAS,CAAA;CAAE,iCAsD9I,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/context/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIxD,OAAO,EAAE,2BAA2B,EAAE,YAAY,EAAgF,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/context/context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIxD,OAAO,EAAE,2BAA2B,EAAE,YAAY,EAAgF,MAAM,SAAS,CAAC;AAUlJ,eAAO,MAAM,0BAA0B,uDA6BrC,CAAC;AAEH,eAAO,MAAM,2BAA2B,iFAOjC,iBAAiB,CAAC;IACjB,iBAAiB,EAAE,YAAY,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC,iCA8LL,CAAC;AAEF,eAAO,MAAM,6BAA6B,mCAA+C,CAAC;AAC1F,eAAe,6BAA6B,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { ErrorMessage } from '../../../../../utils/getCommonErrorCode';
|
|
|
4
4
|
import { AssetOptions } from '../../../../../../core/Assets/Assets';
|
|
5
5
|
export declare const ACCOUNT_MISCONFIGURATION = "ACCOUNT_MISCONFIGURATION";
|
|
6
6
|
export declare const WRONG_STORE_IDS = "WRONG_STORE_IDS";
|
|
7
|
+
export declare const PERMISSION_ERROR = "PERMISSION_ERROR";
|
|
7
8
|
declare const getSettingsErrorMessage: (error: AdyenPlatformExperienceError | undefined, errorMessage: TranslationKey, onContactSupport?: () => void, getImageAsset?: (props: AssetOptions) => string) => ErrorMessage;
|
|
8
9
|
export default getSettingsErrorMessage;
|
|
9
10
|
//# sourceMappingURL=getSettingsErrorMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSettingsErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/utils/getSettingsErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAmB,MAAM,yCAAyC,CAAC;AAExF,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,eAAe,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"getSettingsErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/PaymentLinkSettings/components/PaymentLinkSettingsContainer/utils/getSettingsErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,MAAM,4DAA4D,CAAC;AACtG,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAmB,MAAM,yCAAyC,CAAC;AAExF,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAEpE,eAAO,MAAM,wBAAwB,6BAA6B,CAAC;AACnE,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,QAAA,MAAM,uBAAuB,GACzB,OAAO,4BAA4B,GAAG,SAAS,EAC/C,cAAc,cAAc,EAC5B,mBAAmB,MAAM,IAAI,EAC7B,gBAAgB,CAAC,KAAK,EAAE,YAAY,KAAK,MAAM,KAChD,YAoDF,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermsAndConditions.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/PaymentLinkSettings/components/TermsAndConditions/TermsAndConditions.tsx"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC;AAGnC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAUtE,eAAO,MAAM,kBAAkB,GAAI,uBAAuB;IAAE,IAAI,EAAE,8BAA8B,CAAC;IAAC,WAAW,EAAE,8BAA8B,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"TermsAndConditions.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/PaymentLinkSettings/components/TermsAndConditions/TermsAndConditions.tsx"],"names":[],"mappings":"AACA,OAAO,2BAA2B,CAAC;AAGnC,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAQ3B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAUtE,eAAO,MAAM,kBAAkB,GAAI,uBAAuB;IAAE,IAAI,EAAE,8BAA8B,CAAC;IAAC,WAAW,EAAE,8BAA8B,CAAA;CAAE,kBA6M9I,CAAC"}
|
package/dist/types/components/external/PaymentLinkSettings/hooks/useSettingsPermission.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSettingsPermission.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/PaymentLinkSettings/hooks/useSettingsPermission.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;CAOjC,CAAC"}
|
package/dist/types/components/external/PaymentLinksOverview/components/PaymentLinksOverview.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentLinksOverview.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/PaymentLinksOverview/components/PaymentLinksOverview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaymentLinksOverview.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/PaymentLinksOverview/components/PaymentLinksOverview.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,wBAAwB,EAAe,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAmF,MAAM,mBAAmB,CAAC;AAOzI,OAAO,4BAA4B,MAAM,sDAAsD,CAAC;AAWhG,OAAO,6BAA6B,CAAC;AAQrC,OAAO,EAAiC,SAAS,EAAE,MAAM,SAAS,CAAC;AAwDnE,eAAO,MAAM,oBAAoB,GAAI,yPAiBlC,wBAAwB,CACvB,kCAAkC,GAAG;IACjC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACvD,UAAU,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACtD,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CAC3B,CACJ,wCA2ZA,CAAC"}
|
|
@@ -3,6 +3,7 @@ export declare const BASE_CLASS = "adyen-pe-payment-links-overview";
|
|
|
3
3
|
export declare const BASE_DETAILS_CLASS = "adyen-pe-payment-link-details";
|
|
4
4
|
export declare const BASE_TABLE_GRID_CLASS = "adyen-pe-payment-link-table";
|
|
5
5
|
export declare const BASE_XS_CLASS = "adyen-pe-payment-links-overview--xs";
|
|
6
|
+
export declare const BASE_ACTIONS_CLASS = "adyen-pe-payment-links-overview__actions-container";
|
|
6
7
|
export declare const TABS_CONTAINER_CLASS = "adyen-pe-payment-links-overview__tabs-container";
|
|
7
8
|
export declare const MOBILE_TABLE_CELL_CLASS = "adyen-pe-payment-link-table__mobile-cell";
|
|
8
9
|
export declare const MOBILE_AMOUNT_CELL_CLASS = "adyen-pe-payment-link-table__mobile-amount-cell";
|
|
@@ -11,6 +12,7 @@ export declare const FILTERS_CONTAINER_CLASS = "adyen-pe-payment-links-overview_
|
|
|
11
12
|
export declare const ACTION_BUTTONS_CONTAINER_CLASS = "adyen-pe-payment-links-overview__action-buttons-container";
|
|
12
13
|
export declare const FILTERS_ALERT_CONTAINER_CLASS = "adyen-pe-payment-links-overview__filters-alert-container";
|
|
13
14
|
export declare const ACTION_BUTTON_CLASS = "adyen-pe-payment-links-overview__action-button";
|
|
15
|
+
export declare const ACTION_BUTTON_MOBILE_CLASS = "adyen-pe-payment-links-overview__action-button--xs";
|
|
14
16
|
export declare const EARLIEST_PAYMENT_LINK_DATE = 90;
|
|
15
17
|
export declare const DEFAULT_PAYMENT_LINK_STATUS_GROUP: IPaymentLinkStatusGroup;
|
|
16
18
|
export declare const PAYMENT_LINK_STATUS_GROUPS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/PaymentLinksOverview/components/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAqD,uBAAuB,EAAoB,MAAM,mBAAmB,CAAC;AAGjI,eAAO,MAAM,UAAU,oCAAoC,CAAC;AAC5D,eAAO,MAAM,kBAAkB,kCAAkC,CAAC;AAClE,eAAO,MAAM,qBAAqB,gCAAgC,CAAC;AACnE,eAAO,MAAM,aAAa,wCAAsB,CAAC;AACjD,eAAO,MAAM,oBAAoB,oDAAkC,CAAC;AACpE,eAAO,MAAM,uBAAuB,6CAA0C,CAAC;AAC/E,eAAO,MAAM,wBAAwB,oDAAiD,CAAC;AACvF,eAAO,MAAM,6BAA6B,yDAAsD,CAAC;AACjG,eAAO,MAAM,uBAAuB,uDAAqC,CAAC;AAC1E,eAAO,MAAM,8BAA8B,8DAA4C,CAAC;AACxF,eAAO,MAAM,6BAA6B,6DAA2C,CAAC;AACtF,eAAO,MAAM,mBAAmB,mDAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/PaymentLinksOverview/components/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAqD,uBAAuB,EAAoB,MAAM,mBAAmB,CAAC;AAGjI,eAAO,MAAM,UAAU,oCAAoC,CAAC;AAC5D,eAAO,MAAM,kBAAkB,kCAAkC,CAAC;AAClE,eAAO,MAAM,qBAAqB,gCAAgC,CAAC;AACnE,eAAO,MAAM,aAAa,wCAAsB,CAAC;AACjD,eAAO,MAAM,kBAAkB,uDAAqC,CAAC;AACrE,eAAO,MAAM,oBAAoB,oDAAkC,CAAC;AACpE,eAAO,MAAM,uBAAuB,6CAA0C,CAAC;AAC/E,eAAO,MAAM,wBAAwB,oDAAiD,CAAC;AACvF,eAAO,MAAM,6BAA6B,yDAAsD,CAAC;AACjG,eAAO,MAAM,uBAAuB,uDAAqC,CAAC;AAC1E,eAAO,MAAM,8BAA8B,8DAA4C,CAAC;AACxF,eAAO,MAAM,6BAA6B,6DAA2C,CAAC;AACtF,eAAO,MAAM,mBAAmB,mDAAiC,CAAC;AAClE,eAAO,MAAM,0BAA0B,uDAAqC,CAAC;AAE7E,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C,eAAO,MAAM,iCAAiC,EAAE,uBAAkC,CAAC;AAEnF,eAAO,MAAM,0BAA0B;;;CAGgC,CAAC;AAExE,eAAO,MAAM,+BAA+B;QACrB,uBAAuB;;;GAGkB,CAAC;AAEjE,eAAO,MAAM,yCAAyC;;;CAGmC,CAAC;AAE1F,eAAO,MAAM,qBAAqB;;;;;CAK6B,CAAC;AAEhE,eAAO,MAAM,kBAAkB;;;CAG8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentDetailsSummary.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsSummary.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAoBjD,MAAM,WAAW,0BAA0B;IACvC,WAAW,EAAE,kBAAkB,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"PaymentDetailsSummary.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionDetails/components/PaymentDetails/PaymentDetailsSummary.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAoBjD,MAAM,WAAW,0BAA0B;IACvC,WAAW,EAAE,kBAAkB,CAAC;CACnC;0CAE+C,0BAA0B;AAwF1E,wBAA2C"}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { ITransactionCategory } from '../../../../../types';
|
|
2
|
+
import { TransactionsOverviewInsightsProps } from '../TransactionsOverview/TransactionsOverviewInsights';
|
|
2
3
|
import { AmountDisplayProps } from '../AmountDisplay/AmountDisplay';
|
|
3
|
-
import useTransactionsTotals from '../../hooks/useTransactionsTotals';
|
|
4
4
|
import './InsightsTotals.scss';
|
|
5
|
-
export interface InsightsTotalsProps {
|
|
6
|
-
currency?: string;
|
|
7
|
-
loadingTotals: boolean;
|
|
8
|
-
totals: ReturnType<typeof useTransactionsTotals>['totalsLookup'];
|
|
9
|
-
error?: Error;
|
|
10
|
-
}
|
|
11
5
|
interface BreakdownProps extends AmountDisplayProps {
|
|
12
6
|
ariaLabel?: string;
|
|
13
7
|
breakdown: readonly {
|
|
@@ -16,7 +10,7 @@ interface BreakdownProps extends AmountDisplayProps {
|
|
|
16
10
|
}[];
|
|
17
11
|
}
|
|
18
12
|
declare const _default: {
|
|
19
|
-
({ currency
|
|
13
|
+
({ currency, currenciesLookupResult, transactionsTotalsResult }: TransactionsOverviewInsightsProps): import("preact/compat").JSX.Element;
|
|
20
14
|
Breakdown({ ariaLabel, breakdown, ...amountDisplayProps }: BreakdownProps): import("preact/compat").JSX.Element;
|
|
21
15
|
};
|
|
22
16
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightsTotals.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/InsightsTotals/InsightsTotals.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAI5D,
|
|
1
|
+
{"version":3,"file":"InsightsTotals.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/InsightsTotals/InsightsTotals.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAI5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sDAAsD,CAAC;AAEzG,OAAsB,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAInF,OAAO,uBAAuB,CAAC;AA6E/B,UAAU,cAAe,SAAQ,kBAAkB;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS;QAAE,QAAQ,EAAE,oBAAoB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC3E;;qEA9EuF,iCAAiC;+DAgF5C,cAAc;;AAqC3F,wBAAoC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDateFilter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionDateFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionDateFilter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionDateFilter.tsx"],"names":[],"mappings":"AAmBA,OAAqC,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AAKjH,MAAM,WAAW,0BAA0B;IACvC,WAAW,EAAE,eAAe,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,IAAI,CAAC;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AA2BD,QAAA,MAAM,qBAAqB,GAAI,4EAA4E,0BAA0B,iCAoGpI,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -5,9 +5,10 @@ export interface TransactionsFiltersProps extends Omit<FilterBarState, 'setShowi
|
|
|
5
5
|
availableCurrencies: readonly string[];
|
|
6
6
|
balanceAccounts?: IBalanceAccountBase[];
|
|
7
7
|
isTransactionsView: boolean;
|
|
8
|
+
insightsCurrency?: string;
|
|
8
9
|
onChange?: (filters: Readonly<Filters>) => void;
|
|
9
10
|
setInsightsCurrency?: (currency?: string) => void;
|
|
10
11
|
}
|
|
11
|
-
declare const TransactionsFilters: ({ availableCurrencies, balanceAccounts, isTransactionsView, onChange, setInsightsCurrency, ...filterBarProps }: TransactionsFiltersProps) => import("preact").JSX.Element;
|
|
12
|
+
declare const TransactionsFilters: ({ availableCurrencies, balanceAccounts, isTransactionsView, onChange, insightsCurrency, setInsightsCurrency, ...filterBarProps }: TransactionsFiltersProps) => import("preact").JSX.Element;
|
|
12
13
|
export default TransactionsFilters;
|
|
13
14
|
//# sourceMappingURL=TransactionFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionFilters.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionFilters.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactionFilters.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionFilters.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAsBtE,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,cAAc,EAAE,mBAAmB,CAAC;IACvF,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,eAAe,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACxC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IAChD,mBAAmB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD;AAED,QAAA,MAAM,mBAAmB,GAAI,kIAQ1B,wBAAwB,iCA0J1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionPspReferenceFilter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionPspReferenceFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionPspReferenceFilter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionFilters/TransactionPspReferenceFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAE1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yDAAyD,CAAC;AAOrG,OAAO,sCAAsC,CAAC;AAc9C,MAAM,WAAW,kCAAkC;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,6BAA6B;2DAA0D,kCAAkC;4EA+C5H,0BAA0B,CAAC,eAAe,CAAC;CAT7C,CAAC;AAiGF,eAAe,6BAA6B,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import { TransactionsFilters } from '../../types';
|
|
3
3
|
import './TransactionsExport.scss';
|
|
4
|
-
declare const TransactionsExport: ({ disabled, filters }: {
|
|
4
|
+
declare const TransactionsExport: ({ disabled, filters, now }: {
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
filters: Readonly<TransactionsFilters>;
|
|
7
|
+
now: number;
|
|
7
8
|
}) => h.JSX.Element | null;
|
|
8
9
|
export default TransactionsExport;
|
|
9
10
|
//# sourceMappingURL=TransactionsExport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsExport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsExport/TransactionsExport.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactionsExport.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsExport/TransactionsExport.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AA2B3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,2BAA2B,CAAC;AAuCnC,QAAA,MAAM,kBAAkB,GAAI,4BAA4B;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,yBA6RlI,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -2,6 +2,7 @@ export declare const classes: {
|
|
|
2
2
|
readonly root: "adyen-pe-transactions-export";
|
|
3
3
|
readonly popover: string;
|
|
4
4
|
readonly button: string;
|
|
5
|
+
readonly errorAlert: string;
|
|
5
6
|
readonly popoverActions: string;
|
|
6
7
|
readonly popoverActionsAlert: string;
|
|
7
8
|
readonly popoverSections: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsExport/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsExport/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAeV,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TransactionsListProps } from './types';
|
|
2
|
-
declare const TransactionsList: ({
|
|
2
|
+
declare const TransactionsList: ({ balanceAccount, currenciesLookupResult, dataCustomization, loadingBalanceAccounts, onContactSupport, onRecordSelection, showDetails, transactionsListResult, }: TransactionsListProps) => import("preact").JSX.Element;
|
|
3
3
|
export default TransactionsList;
|
|
4
4
|
//# sourceMappingURL=TransactionsList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsList/TransactionsList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAShD,QAAA,MAAM,gBAAgB,GAAI,
|
|
1
|
+
{"version":3,"file":"TransactionsList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsList/TransactionsList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAShD,QAAA,MAAM,gBAAgB,GAAI,kKASvB,qBAAqB,iCAgEvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/types/components/external/TransactionsOverview/components/TransactionsList/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { IBalanceAccountBase } from '../../../../../types';
|
|
2
2
|
import { ExternalUIComponentProps, TransactionOverviewComponentProps } from '../../../../types';
|
|
3
|
-
import useAccountBalances from '../../../../../hooks/useAccountBalances';
|
|
4
3
|
import useTransactionsList from '../../hooks/useTransactionsList';
|
|
4
|
+
import useCurrenciesLookup from '../../hooks/useCurrenciesLookup';
|
|
5
5
|
type PropsFromTransactionComponent = Pick<ExternalUIComponentProps<TransactionOverviewComponentProps>, 'dataCustomization' | 'onContactSupport' | 'onRecordSelection' | 'showDetails'>;
|
|
6
6
|
export interface TransactionsListProps extends PropsFromTransactionComponent {
|
|
7
7
|
balanceAccount?: IBalanceAccountBase;
|
|
8
8
|
loadingBalanceAccounts: boolean;
|
|
9
|
-
|
|
9
|
+
currenciesLookupResult: ReturnType<typeof useCurrenciesLookup>;
|
|
10
10
|
transactionsListResult: ReturnType<typeof useTransactionsList>;
|
|
11
11
|
}
|
|
12
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AAChG,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AAChG,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAElE,KAAK,6BAA6B,GAAG,IAAI,CACrC,wBAAwB,CAAC,iCAAiC,CAAC,EAC3D,mBAAmB,GAAG,kBAAkB,GAAG,mBAAmB,GAAG,aAAa,CACjF,CAAC;AAEF,MAAM,WAAW,qBAAsB,SAAQ,6BAA6B;IACxE,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,sBAAsB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAC/D,sBAAsB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;CAClE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsOverview.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"TransactionsOverview.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,wBAAwB,EAAoD,MAAM,aAAa,CAAC;AAIzG,OAAO,6BAA6B,CAAC;AAMrC,eAAO,MAAM,oBAAoB,GAAI,sLAWlC,wBAAwB,iCA0H1B,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import useTransactionsTotals from '../../hooks/useTransactionsTotals';
|
|
2
|
-
|
|
2
|
+
import useCurrenciesLookup from '../../hooks/useCurrenciesLookup';
|
|
3
|
+
export interface TransactionsOverviewInsightsProps {
|
|
3
4
|
currency?: string;
|
|
5
|
+
currenciesLookupResult: ReturnType<typeof useCurrenciesLookup>;
|
|
4
6
|
transactionsTotalsResult: ReturnType<typeof useTransactionsTotals>;
|
|
5
7
|
}
|
|
6
|
-
declare const TransactionsOverviewInsights: (
|
|
8
|
+
declare const TransactionsOverviewInsights: (props: TransactionsOverviewInsightsProps) => import("preact").JSX.Element;
|
|
7
9
|
export default TransactionsOverviewInsights;
|
|
8
10
|
//# sourceMappingURL=TransactionsOverviewInsights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsOverviewInsights.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewInsights.tsx"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactionsOverviewInsights.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewInsights.tsx"],"names":[],"mappings":"AAGA,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAQlE,MAAM,WAAW,iCAAiC;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAC/D,wBAAwB,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE;AAED,QAAA,MAAM,4BAA4B,GAAI,OAAO,iCAAiC,iCAI7E,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -4,12 +4,14 @@ import { TransactionsListProps } from '../TransactionsList/types';
|
|
|
4
4
|
import useAccountBalances from '../../../../../hooks/useAccountBalances';
|
|
5
5
|
import useTransactionsTotals from '../../hooks/useTransactionsTotals';
|
|
6
6
|
import useTransactionsList from '../../hooks/useTransactionsList';
|
|
7
|
+
import useCurrenciesLookup from '../../hooks/useCurrenciesLookup';
|
|
7
8
|
interface TransactionsOverviewListProps extends Omit<TransactionsListProps, 'loadingBalanceAccounts'>, Pick<TransactionOverviewProps, 'balanceAccounts' | 'isLoadingBalanceAccount'> {
|
|
8
9
|
balanceAccount?: Readonly<IBalanceAccountBase>;
|
|
9
10
|
accountBalancesResult: ReturnType<typeof useAccountBalances>;
|
|
11
|
+
currenciesLookupResult: ReturnType<typeof useCurrenciesLookup>;
|
|
10
12
|
transactionsListResult: ReturnType<typeof useTransactionsList>;
|
|
11
13
|
transactionsTotalsResult: ReturnType<typeof useTransactionsTotals>;
|
|
12
14
|
}
|
|
13
|
-
declare const TransactionsOverviewList: ({ accountBalancesResult, balanceAccount, balanceAccounts, isLoadingBalanceAccount, transactionsListResult, transactionsTotalsResult, ...transactionsListProps }: TransactionsOverviewListProps) => import("preact").JSX.Element;
|
|
15
|
+
declare const TransactionsOverviewList: ({ accountBalancesResult, balanceAccount, balanceAccounts, currenciesLookupResult, isLoadingBalanceAccount, transactionsListResult, transactionsTotalsResult, ...transactionsListProps }: TransactionsOverviewListProps) => import("preact").JSX.Element;
|
|
14
16
|
export default TransactionsOverviewList;
|
|
15
17
|
//# sourceMappingURL=TransactionsOverviewList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsOverviewList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactionsOverviewList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverviewList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,qBAAqB,MAAM,mCAAmC,CAAC;AACtE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAClE,OAAO,mBAAmB,MAAM,iCAAiC,CAAC;AAgBlE,UAAU,6BACN,SAAQ,IAAI,CAAC,qBAAqB,EAAE,wBAAwB,CAAC,EACzD,IAAI,CAAC,wBAAwB,EAAE,iBAAiB,GAAG,yBAAyB,CAAC;IACjF,cAAc,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC/C,qBAAqB,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC7D,sBAAsB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAC/D,sBAAsB,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAC/D,wBAAwB,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;CACtE;AAED,QAAA,MAAM,wBAAwB,GAAI,yLAS/B,6BAA6B,iCA2D/B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPaymentMethod } from '../../../../types';
|
|
2
2
|
import { TransactionsFilters } from '../types';
|
|
3
3
|
export declare const parsePaymentMethodType: (paymentMethod: NonNullable<IPaymentMethod>, format?: "detail" | "fourDigit") => string;
|
|
4
|
-
export declare const getTransactionsFilterQueryParams: <T extends TransactionsFilters>(filters: T) => {
|
|
4
|
+
export declare const getTransactionsFilterQueryParams: <T extends TransactionsFilters>(filters: T, now: number) => {
|
|
5
5
|
readonly balanceAccountId: string;
|
|
6
6
|
readonly categories: (typeof filters.categories)[number][];
|
|
7
7
|
readonly createdSince: string;
|
|
@@ -10,7 +10,7 @@ export declare const getTransactionsFilterQueryParams: <T extends TransactionsFi
|
|
|
10
10
|
readonly paymentPspReference: string | undefined;
|
|
11
11
|
readonly statuses: (typeof filters.statuses)[number][];
|
|
12
12
|
};
|
|
13
|
-
export declare const getTransactionsFilterParams: <T extends TransactionsFilters>(filters: T) => {
|
|
13
|
+
export declare const getTransactionsFilterParams: <T extends TransactionsFilters>(filters: T, now: number) => {
|
|
14
14
|
readonly balanceAccountId: string | undefined;
|
|
15
15
|
readonly categories: string | undefined;
|
|
16
16
|
readonly currencies: string | undefined;
|
|
@@ -19,5 +19,5 @@ export declare const getTransactionsFilterParams: <T extends TransactionsFilters
|
|
|
19
19
|
readonly createdUntil: string;
|
|
20
20
|
readonly paymentPspReference: string | undefined;
|
|
21
21
|
};
|
|
22
|
-
export declare const compareTransactionsFilters: <T extends TransactionsFilters>(filtersA: T, filtersB: T) => boolean;
|
|
22
|
+
export declare const compareTransactionsFilters: <T extends TransactionsFilters>(filtersA: T, filtersB: T, filtersSet?: Set<keyof TransactionsFilters>) => boolean;
|
|
23
23
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/components/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/components/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAY/C,eAAO,MAAM,sBAAsB,GAAI,eAAe,WAAW,CAAC,cAAc,CAAC,EAAE,SAAS,QAAQ,GAAG,WAAW,WAIjH,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAAI,CAAC,SAAS,mBAAmB,EAAE,SAAS,CAAC,EAAE,KAAK,MAAM;;yBAI7D,CAAC,OAAO,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE;;;yBAGrC,CAAC,OAAO,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE;;uBAEzC,CAAC,OAAO,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE;CAExE,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,CAAC,SAAS,mBAAmB,EAAE,SAAS,CAAC,EAAE,KAAK,MAAM;;;;;;;;CASjG,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,CAAC,SAAS,mBAAmB,EACpE,UAAU,CAAC,EACX,UAAU,CAAC,EACX,aAAY,GAAG,CAAC,MAAM,mBAAmB,CAAiB,YAiB7D,CAAC"}
|
|
@@ -13,6 +13,16 @@ export declare const classes: {
|
|
|
13
13
|
readonly filterBarSmall: string;
|
|
14
14
|
readonly totalsError: string;
|
|
15
15
|
};
|
|
16
|
+
export declare const TRANSACTION_DATE_RANGE_CUSTOM = "common.filters.types.date.rangeSelect.options.custom";
|
|
17
|
+
export declare const TRANSACTION_DATE_RANGE_LAST_7_DAYS = "common.filters.types.date.rangeSelect.options.last7Days";
|
|
18
|
+
export declare const TRANSACTION_DATE_RANGE_LAST_30_DAYS = "common.filters.types.date.rangeSelect.options.last30Days";
|
|
19
|
+
export declare const TRANSACTION_DATE_RANGE_LAST_180_DAYS = "common.filters.types.date.rangeSelect.options.last180Days";
|
|
20
|
+
export declare const TRANSACTION_DATE_RANGE_THIS_WEEK = "common.filters.types.date.rangeSelect.options.thisWeek";
|
|
21
|
+
export declare const TRANSACTION_DATE_RANGE_LAST_WEEK = "common.filters.types.date.rangeSelect.options.lastWeek";
|
|
22
|
+
export declare const TRANSACTION_DATE_RANGE_THIS_MONTH = "common.filters.types.date.rangeSelect.options.thisMonth";
|
|
23
|
+
export declare const TRANSACTION_DATE_RANGE_LAST_MONTH = "common.filters.types.date.rangeSelect.options.lastMonth";
|
|
24
|
+
export declare const TRANSACTION_DATE_RANGE_YEAR_TO_DATE = "common.filters.types.date.rangeSelect.options.yearToDate";
|
|
25
|
+
export declare const TRANSACTION_DATE_RANGE_DEFAULT = "common.filters.types.date.rangeSelect.options.last180Days";
|
|
16
26
|
export declare const TRANSACTION_DATE_RANGES: Readonly<{
|
|
17
27
|
readonly "common.filters.types.date.rangeSelect.options.last7Days": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{
|
|
18
28
|
numberOfDays: number;
|
|
@@ -20,6 +30,9 @@ export declare const TRANSACTION_DATE_RANGES: Readonly<{
|
|
|
20
30
|
readonly "common.filters.types.date.rangeSelect.options.last30Days": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{
|
|
21
31
|
numberOfDays: number;
|
|
22
32
|
}>;
|
|
33
|
+
readonly "common.filters.types.date.rangeSelect.options.last180Days": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{
|
|
34
|
+
numberOfDays: number;
|
|
35
|
+
}>;
|
|
23
36
|
readonly "common.filters.types.date.rangeSelect.options.thisWeek": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{
|
|
24
37
|
firstWeekDay: import("../../internal/Calendar/calendar/types").WeekDay;
|
|
25
38
|
}>;
|
|
@@ -30,8 +43,6 @@ export declare const TRANSACTION_DATE_RANGES: Readonly<{
|
|
|
30
43
|
readonly "common.filters.types.date.rangeSelect.options.lastMonth": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{}>;
|
|
31
44
|
readonly "common.filters.types.date.rangeSelect.options.yearToDate": import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{}>;
|
|
32
45
|
}>;
|
|
33
|
-
export declare const TRANSACTION_DATE_RANGE_CUSTOM = "common.filters.types.date.rangeSelect.options.custom";
|
|
34
|
-
export declare const TRANSACTION_DATE_RANGE_DEFAULT = "common.filters.types.date.rangeSelect.options.last30Days";
|
|
35
46
|
export declare const TRANSACTION_DATE_RANGE_DEFAULT_TIMESTAMPS: import("../../internal/Calendar/calendar/timerange").RangeTimestamps<{
|
|
36
47
|
numberOfDays: number;
|
|
37
48
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionsOverview/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAgB,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACxF,OAAO,EAAyB,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAIvF,eAAO,MAAM,UAAU,QAA2B,CAAC;AACnD,eAAO,MAAM,aAAa,QAA0B,CAAC;AAErD,eAAO,MAAM,OAAO;;;;;;;;;CASV,CAAC;AAEX,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionsOverview/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAgB,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACxF,OAAO,EAAyB,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAIvF,eAAO,MAAM,UAAU,QAA2B,CAAC;AACnD,eAAO,MAAM,aAAa,QAA0B,CAAC;AAErD,eAAO,MAAM,OAAO;;;;;;;;;CASV,CAAC;AAEX,eAAO,MAAM,6BAA6B,yDAAyF,CAAC;AACpI,eAAO,MAAM,kCAAkC,4DAA4F,CAAC;AAC5I,eAAO,MAAM,mCAAmC,6DAA6F,CAAC;AAC9I,eAAO,MAAM,oCAAoC,8DAA8F,CAAC;AAChJ,eAAO,MAAM,gCAAgC,2DAA2F,CAAC;AACzI,eAAO,MAAM,gCAAgC,2DAA2F,CAAC;AACzI,eAAO,MAAM,iCAAiC,4DAA4F,CAAC;AAC3I,eAAO,MAAM,iCAAiC,4DAA4F,CAAC;AAC3I,eAAO,MAAM,mCAAmC,6DAA6F,CAAC;AAE9I,eAAO,MAAM,8BAA8B,8DAAuC,CAAC;AAEnF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;EASzB,CAAC;AAEZ,eAAO,MAAM,yCAAyC;;EAA0D,CAAC;AACjH,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,eAAO,MAAM,oBAAoB,EAAE,SAAS,kBAAkB,EAA+C,CAAC;AAE9G,eAAO,MAAM,sBAAsB,EAAE,SAAS,oBAAoB,EASxD,CAAC;AAEX,eAAO,MAAM,sBAAsB,EAAE,SAAS,QAAQ,CAAC;IAAE,EAAE,EAAE,gBAAgB,CAAC;IAAC,KAAK,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,IAAI,CAAA;CAAE,CAAC,EAG5G,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAOhD,CAAC;AAEX,eAAO,MAAM,cAAc,0JAW6B,CAAC;AAEzD,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,EAOnE,CAAC;AAEX,eAAO,MAAM,8BAA8B,EAAG,uBAAgC,CAAC;AAC/E,eAAO,MAAM,yCAAyC,EAAG,qBAA8B,CAAC;AACxF,eAAO,MAAM,0CAA0C,EAAG,uBAAgC,CAAC;AAC3F,eAAO,MAAM,sCAAsC,EAAG,mBAA4B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IBalance, ITransactionTotal } from '../../../../types';
|
|
2
|
+
export interface CurrencyLookupRecord {
|
|
3
|
+
balances: Readonly<IBalance>;
|
|
4
|
+
totals: Readonly<ITransactionTotal>;
|
|
5
|
+
}
|
|
6
|
+
export interface UseCurrencyLookupProps {
|
|
7
|
+
defaultCurrency?: string;
|
|
8
|
+
balances: readonly Readonly<IBalance>[];
|
|
9
|
+
totals: readonly Readonly<ITransactionTotal>[];
|
|
10
|
+
}
|
|
11
|
+
declare const useCurrenciesLookup: ({ defaultCurrency, balances, totals }: UseCurrencyLookupProps) => {
|
|
12
|
+
readonly currenciesDictionary: Readonly<{
|
|
13
|
+
[k: string]: CurrencyLookupRecord;
|
|
14
|
+
}>;
|
|
15
|
+
readonly defaultCurrency: string | undefined;
|
|
16
|
+
readonly defaultCurrencySortedCurrencies: readonly string[];
|
|
17
|
+
readonly sortedCurrencies: readonly string[];
|
|
18
|
+
};
|
|
19
|
+
export default useCurrenciesLookup;
|
|
20
|
+
//# sourceMappingURL=useCurrenciesLookup.d.ts.map
|
package/dist/types/components/external/TransactionsOverview/hooks/useCurrenciesLookup.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCurrenciesLookup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useCurrenciesLookup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AA2BhE,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC7B,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,sBAAsB;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,SAAS,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;IACxC,MAAM,EAAE,SAAS,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC;CAClD;AAED,QAAA,MAAM,mBAAmB,GAAI,uCAAuC,sBAAsB;;;;;;;CAwCzF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/dist/types/components/external/TransactionsOverview/hooks/useCurrencySelection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCurrencySelection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useCurrencySelection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2CAA2C,CAAC;AAE5E,MAAM,WAAW,yBAAyB;IACtC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,QAAA,MAAM,oBAAoB,GAAI,4GAO3B,yBAAyB;;;+
|
|
1
|
+
{"version":3,"file":"useCurrencySelection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useCurrencySelection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2CAA2C,CAAC;AAE5E,MAAM,WAAW,yBAAyB;IACtC,mBAAmB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,iBAAiB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,QAAA,MAAM,oBAAoB,GAAI,4GAO3B,yBAAyB;;;+CAmBP;QAAE,MAAM,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE;CAyClD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -3,8 +3,9 @@ import { TransactionOverviewComponentProps } from '../../../types';
|
|
|
3
3
|
export interface UseTransactionsListProps extends Pick<TransactionOverviewComponentProps, 'allowLimitSelection' | 'dataCustomization' | 'onFiltersChanged' | 'preferredLimit'> {
|
|
4
4
|
fetchEnabled: boolean;
|
|
5
5
|
filters: Readonly<TransactionsFilters>;
|
|
6
|
+
now: number;
|
|
6
7
|
}
|
|
7
|
-
declare const useTransactionsList: ({ allowLimitSelection, preferredLimit, dataCustomization, fetchEnabled, filters, onFiltersChanged, }: UseTransactionsListProps) => {
|
|
8
|
+
declare const useTransactionsList: ({ allowLimitSelection, preferredLimit, dataCustomization, fetchEnabled, filters, now, onFiltersChanged, }: UseTransactionsListProps) => {
|
|
8
9
|
readonly error: Error | undefined;
|
|
9
10
|
readonly fields: import("../../../types").CustomColumn<import("../../../../utils/types").StringWithAutocompleteOptions<import("../components/TransactionsTable/types").TransactionsTableFields>>[] | undefined;
|
|
10
11
|
readonly fetching: boolean;
|
package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsList.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransactionsList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useTransactionsList.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAI/C,OAAO,EAAuB,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AASxF,MAAM,WAAW,wBACb,SAAQ,IAAI,CAAC,iCAAiC,EAAE,qBAAqB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;IACpI,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useTransactionsList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useTransactionsList.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAI/C,OAAO,EAAuB,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AASxF,MAAM,WAAW,wBACb,SAAQ,IAAI,CAAC,iCAAiC,EAAE,qBAAqB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,gBAAgB,CAAC;IACpI,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACvC,GAAG,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,mBAAmB,GAAI,2GAQ1B,wBAAwB;;;;;gCA6EolF,sFAAsB;;sBAAgM,sFAAsB;kBAA+E,sFAAsB;;;mBAAmR,sFAAsB;wBAA4G,sFAAsB;;gBAA6M,sFAAsB;;gCAA/9B,sFAAsB;;sBAAgM,sFAAsB;kBAA+E,sFAAsB;;;mBAAmR,sFAAsB;wBAA4G,sFAAsB;;gBAA6M,sFAAsB;;;;;;;;;;;;;;;CAH7kH,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsTotals.d.ts
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
import { getTransactionsFilterQueryParams } from '../components/utils';
|
|
1
2
|
import { TransactionsFilters } from '../types';
|
|
3
|
+
type AllQueryParams = ReturnType<typeof getTransactionsFilterQueryParams>;
|
|
4
|
+
type TotalsQueryParams = Partial<AllQueryParams> & Pick<AllQueryParams, 'balanceAccountId'>;
|
|
5
|
+
export type GetQueryParams = (allQueryParams: AllQueryParams) => TotalsQueryParams;
|
|
2
6
|
export interface UseTransactionsTotalsProps {
|
|
3
|
-
currencies: readonly string[];
|
|
4
7
|
fetchEnabled: boolean;
|
|
5
8
|
filters: Readonly<TransactionsFilters>;
|
|
6
|
-
|
|
9
|
+
applicableFilters?: Set<keyof TransactionsFilters>;
|
|
10
|
+
getQueryParams: GetQueryParams;
|
|
11
|
+
now: number;
|
|
7
12
|
}
|
|
8
|
-
declare const useTransactionsTotals: ({
|
|
13
|
+
declare const useTransactionsTotals: ({ applicableFilters, fetchEnabled, filters, getQueryParams, now }: UseTransactionsTotalsProps) => {
|
|
9
14
|
readonly totals: readonly Readonly<{
|
|
10
15
|
currency: string;
|
|
11
16
|
expenses: number;
|
|
@@ -16,17 +21,9 @@ declare const useTransactionsTotals: ({ currencies, fetchEnabled, filters, loadi
|
|
|
16
21
|
incomings: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["TransactionCategoryTotal"][];
|
|
17
22
|
};
|
|
18
23
|
}>[];
|
|
19
|
-
readonly totalsLookup: Readonly<Record<string, Readonly<{
|
|
20
|
-
currency: string;
|
|
21
|
-
expenses: number;
|
|
22
|
-
incomings: number;
|
|
23
|
-
total: number;
|
|
24
|
-
breakdown: {
|
|
25
|
-
expenses: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["TransactionCategoryTotal"][];
|
|
26
|
-
incomings: import("../../../../types/api/resources/TransactionsResourceV2").components["schemas"]["TransactionCategoryTotal"][];
|
|
27
|
-
};
|
|
28
|
-
}>>>;
|
|
29
24
|
readonly error: Error | undefined;
|
|
25
|
+
readonly canRefresh: boolean;
|
|
26
|
+
readonly refresh: () => void;
|
|
30
27
|
readonly isAvailable: boolean;
|
|
31
28
|
readonly isWaiting: boolean;
|
|
32
29
|
};
|
package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsTotals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTransactionsTotals.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useTransactionsTotals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTransactionsTotals.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useTransactionsTotals.ts"],"names":[],"mappings":"AAGA,OAAO,EAA8B,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAInG,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAE/C,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1E,KAAK,iBAAiB,GAAG,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;AAC5F,MAAM,MAAM,cAAc,GAAG,CAAC,cAAc,EAAE,cAAc,KAAK,iBAAiB,CAAC;AAEnF,MAAM,WAAW,0BAA0B;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACvC,iBAAiB,CAAC,EAAE,GAAG,CAAC,MAAM,mBAAmB,CAAC,CAAC;IACnD,cAAc,EAAE,cAAc,CAAC;IAC/B,GAAG,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,mEAAmE,0BAA0B;;;;;;;sBAgF4oJ,sFAAsB;uBAA0D,sFAAsB;;;;;;;;CAH72J,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsViewSwitcher.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TransactionsView } from '../types';
|
|
2
|
+
export interface UseTransactionsViewSwitcherProps {
|
|
3
|
+
view?: TransactionsView;
|
|
4
|
+
}
|
|
5
|
+
declare const useTransactionsViewSwitcher: ({ view }?: UseTransactionsViewSwitcherProps) => {
|
|
6
|
+
readonly activeView: TransactionsView;
|
|
7
|
+
readonly onViewChange: <T extends {
|
|
8
|
+
id: TransactionsView;
|
|
9
|
+
}>({ id }: T) => void;
|
|
10
|
+
readonly viewTabs: readonly Readonly<{
|
|
11
|
+
id: TransactionsView;
|
|
12
|
+
label: import("../../../..").TranslationKey;
|
|
13
|
+
content: null;
|
|
14
|
+
}>[];
|
|
15
|
+
};
|
|
16
|
+
export default useTransactionsViewSwitcher;
|
|
17
|
+
//# sourceMappingURL=useTransactionsViewSwitcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransactionsViewSwitcher.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionsOverview/hooks/useTransactionsViewSwitcher.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,WAAW,gCAAgC;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED,QAAA,MAAM,2BAA2B,GAAI,WAAU,gCAAqC;;4BAQ3E,CAAC,SAAS;QAAE,EAAE,EAAE,gBAAgB,CAAA;KAAE,UAAU,CAAC;;;;;;CAYrD,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ExternalUIComponentProps, TransactionOverviewComponentProps } from '../
|
|
|
3
3
|
import { RangeTimestamps } from '../../internal/Calendar/calendar/timerange';
|
|
4
4
|
import { TranslationKey } from '../../../translations';
|
|
5
5
|
type _DateRangeKey<T extends TranslationKey> = T;
|
|
6
|
-
export type TransactionsDateRange = _DateRangeKey<'common.filters.types.date.rangeSelect.options.last7Days'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.last30Days'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.thisWeek'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.lastWeek'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.thisMonth'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.lastMonth'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.yearToDate'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.custom'>;
|
|
6
|
+
export type TransactionsDateRange = _DateRangeKey<'common.filters.types.date.rangeSelect.options.last7Days'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.last30Days'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.last180Days'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.thisWeek'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.lastWeek'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.thisMonth'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.lastMonth'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.yearToDate'> | _DateRangeKey<'common.filters.types.date.rangeSelect.options.custom'>;
|
|
7
7
|
export interface TransactionsFilters {
|
|
8
8
|
balanceAccount?: Readonly<IBalanceAccountBase>;
|
|
9
9
|
categories: readonly ITransactionCategory[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionsOverview/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,KAAK,aAAa,CAAC,CAAC,SAAS,cAAc,IAAI,CAAC,CAAC;AAEjD,MAAM,MAAM,qBAAqB,GAC3B,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,0DAA0D,CAAC,GACzE,aAAa,CAAC,wDAAwD,CAAC,GACvE,aAAa,CAAC,wDAAwD,CAAC,GACvE,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,0DAA0D,CAAC,GACzE,aAAa,CAAC,sDAAsD,CAAC,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAChC,cAAc,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC/C,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC5C,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC,UAAU,EAAE,SAAS,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAC3C,WAAW,EAAE,eAAe,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,0BAAkB,gBAAgB;IAC9B,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;CACxB;AAED,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAC3D,iCAAiC,GAAG;IAAE,eAAe,EAAE,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAAC,uBAAuB,EAAE,OAAO,CAAA;CAAE,CAC/H,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionsOverview/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACxG,OAAO,EAAE,wBAAwB,EAAE,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,KAAK,aAAa,CAAC,CAAC,SAAS,cAAc,IAAI,CAAC,CAAC;AAEjD,MAAM,MAAM,qBAAqB,GAC3B,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,0DAA0D,CAAC,GACzE,aAAa,CAAC,2DAA2D,CAAC,GAC1E,aAAa,CAAC,wDAAwD,CAAC,GACvE,aAAa,CAAC,wDAAwD,CAAC,GACvE,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,yDAAyD,CAAC,GACxE,aAAa,CAAC,0DAA0D,CAAC,GACzE,aAAa,CAAC,sDAAsD,CAAC,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAChC,cAAc,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC/C,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAC5C,QAAQ,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACxC,UAAU,EAAE,SAAS,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;IAC3C,WAAW,EAAE,eAAe,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,0BAAkB,gBAAgB;IAC9B,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;CACxB;AAED,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,CAC3D,iCAAiC,GAAG;IAAE,eAAe,EAAE,mBAAmB,EAAE,GAAG,SAAS,CAAC;IAAC,uBAAuB,EAAE,OAAO,CAAA;CAAE,CAC/H,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as lastMonth } from './lastMonth';
|
|
2
2
|
export { default as lastNDays } from './lastNDays';
|
|
3
|
+
export { default as lastNMonths } from './lastNMonths';
|
|
3
4
|
export { default as lastWeek } from './lastWeek';
|
|
4
5
|
export { default as thisMonth } from './thisMonth';
|
|
5
6
|
export { default as thisWeek } from './thisWeek';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/internal/Calendar/calendar/timerange/presets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/internal/Calendar/calendar/timerange/presets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const MAX_NUM_MONTHS = 12;
|
|
2
|
+
export declare const MIN_NUM_MONTHS = 1;
|
|
3
|
+
export declare const DEFAULT_NUM_MONTHS = 1;
|
|
4
|
+
declare const lastNMonths: (numberOfMonths?: number) => import("..").RangeTimestamps<{
|
|
5
|
+
numberOfMonths: number;
|
|
6
|
+
}>;
|
|
7
|
+
export default lastNMonths;
|
|
8
|
+
//# sourceMappingURL=lastNMonths.d.ts.map
|
package/dist/types/components/internal/Calendar/calendar/timerange/presets/lastNMonths.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lastNMonths.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/internal/Calendar/calendar/timerange/presets/lastNMonths.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,cAAc,IAAI,CAAC;AAChC,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAIpC,QAAA,MAAM,WAAW,GAAI,iBAAiB,MAAM;;EAc3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RangeTimestamp, RangeTimestampOffsets, RangeTimestampsConfig, RangeTimestampsConfigContext, RangeTimestampsConfigParameterValue, RangeTimestampsConfigRestampingContext, RangeTimestampsConfigWithFromOffsets, RangeTimestampsConfigWithoutOffsets } from './types';
|
|
1
|
+
import type { RangeTimestamp, RangeTimestampOffsets, RangeTimestamps, RangeTimestampsConfig, RangeTimestampsConfigContext, RangeTimestampsConfigParameterValue, RangeTimestampsConfigRestampingContext, RangeTimestampsConfigWithFromOffsets, RangeTimestampsConfigWithoutOffsets } from './types';
|
|
2
2
|
import { RestamperWithTimezone } from '../../../../../core/Localization/datetime/restamper';
|
|
3
3
|
export declare const createRangeTimestampsConfigRestampingContext: (restamper: RestamperWithTimezone) => { [P in keyof RangeTimestampsConfigRestampingContext]: TypedPropertyDescriptor<RangeTimestampsConfigRestampingContext[P]>; };
|
|
4
4
|
export declare const getRangeTimestampsContextIntegerPropertyFactory: <T extends number = number>(minInteger: T, maxInteger: T, defaultInteger?: T) => (initialValue?: T) => Readonly<{
|
|
@@ -11,4 +11,8 @@ export declare const isRangeTimestampsConfigWithFromOffsets: (config: Exclude<Ra
|
|
|
11
11
|
export declare const nowTimestamp: ({ now }: RangeTimestampsConfigContext) => number;
|
|
12
12
|
export declare const offsetsForNDays: (numberOfDays: number) => RangeTimestampOffsets;
|
|
13
13
|
export declare const parseRangeTimestamp: (timestamp: Date | RangeTimestamp) => RangeTimestamp | undefined;
|
|
14
|
+
export declare const getDateRangeTimestamps: (range: RangeTimestamps, now: number, timezone?: string) => {
|
|
15
|
+
readonly from: number;
|
|
16
|
+
readonly to: number;
|
|
17
|
+
};
|
|
14
18
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/Calendar/calendar/timerange/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/Calendar/calendar/timerange/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,4BAA4B,EAE5B,mCAAmC,EACnC,sCAAsC,EACtC,oCAAoC,EACpC,mCAAmC,EACtC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAa,qBAAqB,EAAsC,MAAM,qDAAqD,CAAC;AAG3I,eAAO,MAAM,4CAA4C,GAAI,WAAW,qBAAqB,KAKnF,GAAG,CAAC,IAAI,MAAM,sCAAsC,GAAG,uBAAuB,CAAC,sCAAsC,CAAC,CAAC,CAAC,CAAC,GAAE,CAAC;AAEtI,eAAO,MAAM,+CAA+C,GAAI,CAAC,SAAS,MAAM,GAAG,MAAM,EACrF,YAAY,CAAC,EACb,YAAY,CAAC,EACb,iBAAgB,CAAc,MAYtB,eAAe,CAAC,KAcd,QAAQ,CAAC;IACX,KAAK,EAAE,CAAC,CAAC;IACT,UAAU,EAAE,uBAAuB,CAAC,CAAC,CAAC,CAAC;CAC1C,CAER,CAAC;AAEF,eAAO,MAAM,0CAA0C,GAClD,QAAQ,qBAAqB,EAAE,SAAS,4BAA4B,MACpE,CAAC,GAAG,EAAE,EAAE,OAAO,CAAC,KAAG,mCAAmC,CAAC,CAAC,CAC8C,CAAC;AAE5G,eAAO,MAAM,qCAAqC,GAAI,QAAQ,qBAAqB,KAAG,MAAM,IAAI,mCAC1D,CAAC;AAEvC,eAAO,MAAM,sCAAsC,GAC/C,QAAQ,OAAO,CAAC,qBAAqB,EAAE,mCAAmC,CAAC,KAC5E,MAAM,IAAI,oCAAsE,CAAC;AAEpF,eAAO,MAAM,YAAY,mDAA8E,CAAC;AAExG,eAAO,MAAM,eAAe,iBAGF,MAAM,0BAU5B,CAAC;AAEL,eAAO,MAAM,mBAAmB,GAAI,WAAW,IAAI,GAAG,cAAc,KAAG,cAAc,GAAG,SAQvF,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,eAAe,EAAE,KAAK,MAAM,EAAE,WAAW,MAAM;;;CAkB5F,CAAC"}
|