@adyen/adyen-platform-experience-web 1.3.0 → 1.4.0
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-B9TwrrKy.cjs → angle-right-DoWVn5wu.cjs} +2 -2
- package/dist/{angle-right-B9TwrrKy.cjs.map → angle-right-DoWVn5wu.cjs.map} +1 -1
- package/dist/{checkmark-fAQym7H_.cjs → checkmark-CJGA8ZP3.cjs} +2 -2
- package/dist/{checkmark-fAQym7H_.cjs.map → checkmark-CJGA8ZP3.cjs.map} +1 -1
- package/dist/{checkmark-circle-fill-061Mhd-a.cjs → checkmark-circle-fill-CAB5gukT.cjs} +2 -2
- package/dist/{checkmark-circle-fill-061Mhd-a.cjs.map → checkmark-circle-fill-CAB5gukT.cjs.map} +1 -1
- package/dist/{checkmark-square-fill-1aNDqK2E.cjs → checkmark-square-fill-CiZmFh_I.cjs} +2 -2
- package/dist/{checkmark-square-fill-1aNDqK2E.cjs.map → checkmark-square-fill-CiZmFh_I.cjs.map} +1 -1
- package/dist/{chevron-down-FgsluyBm.cjs → chevron-down-Dta7QXOA.cjs} +2 -2
- package/dist/{chevron-down-FgsluyBm.cjs.map → chevron-down-Dta7QXOA.cjs.map} +1 -1
- package/dist/{chevron-left-CjTZhNFk.cjs → chevron-left-B5Al1d4a.cjs} +2 -2
- package/dist/{chevron-left-CjTZhNFk.cjs.map → chevron-left-B5Al1d4a.cjs.map} +1 -1
- package/dist/{chevron-right-B13OLmlL.cjs → chevron-right-D4tgeCRD.cjs} +2 -2
- package/dist/{chevron-right-B13OLmlL.cjs.map → chevron-right-D4tgeCRD.cjs.map} +1 -1
- package/dist/{chevron-up-ulfmWZTv.cjs → chevron-up-BnS-kgE5.cjs} +2 -2
- package/dist/{chevron-up-ulfmWZTv.cjs.map → chevron-up-BnS-kgE5.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{copy-Dj92kOrj.cjs → copy-Cw-eOhqB.cjs} +2 -2
- package/dist/{copy-Dj92kOrj.cjs.map → copy-Cw-eOhqB.cjs.map} +1 -1
- package/dist/{cross-C1Q8Ul1O.cjs → cross-L2Paef-M.cjs} +2 -2
- package/dist/{cross-C1Q8Ul1O.cjs.map → cross-L2Paef-M.cjs.map} +1 -1
- package/dist/{cross-circle-fill-W0NrbuG5.cjs → cross-circle-fill-DJTPa1qC.cjs} +2 -2
- package/dist/{cross-circle-fill-W0NrbuG5.cjs.map → cross-circle-fill-DJTPa1qC.cjs.map} +1 -1
- package/dist/da-DK-DHGqGo8Q.cjs +2 -0
- package/dist/da-DK-DHGqGo8Q.cjs.map +1 -0
- package/dist/de-DE-k_BRPv7a.cjs +2 -0
- package/dist/de-DE-k_BRPv7a.cjs.map +1 -0
- package/dist/{download-BhFibCDx.cjs → download-m1Wy-73V.cjs} +2 -2
- package/dist/{download-BhFibCDx.cjs.map → download-m1Wy-73V.cjs.map} +1 -1
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +5 -5
- package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +22 -0
- package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +34 -0
- package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +46 -0
- package/dist/es/components/external/CapitalOverview/components/CapitalOverview/CapitalOverview.js +58 -58
- package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/GrantAdjustmentDetails.js +34 -0
- package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +7 -0
- package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +71 -51
- package/dist/es/components/external/CapitalOverview/components/GrantItem/constants.js +4 -2
- package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +17 -10
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +24 -23
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +36 -23
- package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +54 -0
- package/dist/es/components/external/PayoutDetails/components/PayoutData.js +142 -92
- package/dist/es/components/external/PayoutDetails/components/constants.js +14 -9
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +108 -90
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +33 -31
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +81 -64
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +69 -75
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionData.js +5 -5
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +138 -129
- package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +72 -42
- package/dist/es/components/external/TransactionDetails/context/details/context.js +46 -38
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +8 -8
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +19 -19
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +23 -23
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +144 -141
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +13 -13
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +37 -38
- package/dist/es/components/external/UIElement/UIElement.js +29 -26
- package/dist/es/components/internal/AnchorButton/AnchorButton.js +11 -11
- package/dist/es/components/internal/Button/Button.js +16 -16
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +15 -13
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +27 -27
- package/dist/es/components/internal/Button/constants.js +12 -11
- package/dist/es/components/internal/CopyText/CopyText.js +17 -21
- package/dist/es/components/internal/DataGrid/DataGridCell.js +16 -17
- package/dist/es/components/internal/DataGrid/components/TableCells.js +40 -19
- package/dist/es/components/internal/DataGrid/components/TableHeaderCell.js +12 -13
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +62 -47
- package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +14 -13
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -1
- package/dist/es/components/internal/FilterBar/FilterBar.js +20 -20
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +50 -50
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +23 -21
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +42 -42
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +15 -15
- package/dist/es/components/internal/Icon/Icon.js +1 -0
- package/dist/es/components/internal/Link/Link.js +40 -0
- package/dist/es/components/internal/Modal/Modal.js +18 -18
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +13 -13
- package/dist/es/components/internal/StructuredList/StructuredList.js +24 -23
- package/dist/es/components/internal/StructuredList/constants.js +6 -5
- package/dist/es/components/internal/StructuredList/useStructuredListItem.js +9 -7
- package/dist/es/components/internal/Tooltip/Tooltip.js +32 -28
- package/dist/es/components/utils/customData/hasCustomField.js +22 -0
- package/dist/es/components/utils/customData/mergeRecords.js +13 -0
- package/dist/es/core/Context/CoreContext.js +4 -3
- package/dist/es/core/Context/CoreProvider.js +15 -14
- package/dist/es/core/Http/utils.js +1 -1
- package/dist/es/core/core.js +1 -1
- package/dist/es/external/preact/compat/dist/compat.module.js +18 -17
- package/dist/es/external/preact/dist/preact.module.js +10 -6
- package/dist/es/hooks/useContainerQuery.js +37 -0
- package/dist/es/hooks/useCustomColumnsData.js +24 -21
- package/dist/es/hooks/useResponsiveContainer.js +24 -0
- package/dist/es/hooks/useTableColumns.js +43 -23
- package/dist/es/images/icons/external-link.svg.js +6 -0
- package/dist/es/translations/da-DK.json.js +51 -41
- package/dist/es/translations/de-DE.json.js +63 -53
- package/dist/es/translations/en-US.json.js +39 -29
- package/dist/es/translations/es-ES.json.js +79 -69
- package/dist/es/translations/fi-FI.json.js +59 -49
- package/dist/es/translations/fr-FR.json.js +77 -67
- package/dist/es/translations/it-IT.json.js +55 -45
- package/dist/es/translations/nl-NL.json.js +35 -25
- package/dist/es/translations/no-NO.json.js +43 -33
- package/dist/es/translations/pt-BR.json.js +100 -90
- package/dist/es/translations/sv-SE.json.js +47 -37
- package/dist/es-ES-Cy-9bm8z.cjs +2 -0
- package/dist/es-ES-Cy-9bm8z.cjs.map +1 -0
- package/dist/external-link-DnmxrmjV.cjs +2 -0
- package/dist/external-link-DnmxrmjV.cjs.map +1 -0
- package/dist/fi-FI-C7ICLuS8.cjs +2 -0
- package/dist/fi-FI-C7ICLuS8.cjs.map +1 -0
- package/dist/{filter-CeIqJaST.cjs → filter-CyAjNvvu.cjs} +2 -2
- package/dist/{filter-CeIqJaST.cjs.map → filter-CyAjNvvu.cjs.map} +1 -1
- package/dist/fr-FR-DH8euUOp.cjs +2 -0
- package/dist/fr-FR-DH8euUOp.cjs.map +1 -0
- package/dist/index-LzoB__Hj.cjs +12 -0
- package/dist/index-LzoB__Hj.cjs.map +1 -0
- package/dist/{info-filled-DwtOooEl.cjs → info-filled-DNy-1YG1.cjs} +2 -2
- package/dist/{info-filled-DwtOooEl.cjs.map → info-filled-DNy-1YG1.cjs.map} +1 -1
- package/dist/it-IT-DsfPVAun.cjs +2 -0
- package/dist/it-IT-DsfPVAun.cjs.map +1 -0
- package/dist/{minus-circle-outline-DAHjwW5H.cjs → minus-circle-outline-BRBYMsfi.cjs} +2 -2
- package/dist/{minus-circle-outline-DAHjwW5H.cjs.map → minus-circle-outline-BRBYMsfi.cjs.map} +1 -1
- package/dist/nl-NL-DP_t6EpF.cjs +2 -0
- package/dist/nl-NL-DP_t6EpF.cjs.map +1 -0
- package/dist/no-NO-ARsXLWv0.cjs +2 -0
- package/dist/no-NO-ARsXLWv0.cjs.map +1 -0
- package/dist/{plus-circle-outline-2ZyFInVA.cjs → plus-circle-outline-C077N1t1.cjs} +2 -2
- package/dist/{plus-circle-outline-2ZyFInVA.cjs.map → plus-circle-outline-C077N1t1.cjs.map} +1 -1
- package/dist/pt-BR-CuTqntp7.cjs +2 -0
- package/dist/pt-BR-CuTqntp7.cjs.map +1 -0
- package/dist/{square-DcJgSNdY.cjs → square-B8n_Cd4N.cjs} +2 -2
- package/dist/{square-DcJgSNdY.cjs.map → square-B8n_Cd4N.cjs.map} +1 -1
- package/dist/sv-SE-DDAIHLKD.cjs +2 -0
- package/dist/sv-SE-DDAIHLKD.cjs.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/AccountDetail.d.ts +14 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/AccountDetail.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/AccountDetails.d.ts +5 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/AccountDetails.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts +10 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/utils.d.ts +5 -0
- package/dist/types/components/external/CapitalOverview/components/AccountDetails/utils.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/GrantAdjustmentDetails.d.ts +10 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/GrantAdjustmentDetails.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.d.ts +5 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/types.d.ts +10 -0
- package/dist/types/components/external/CapitalOverview/components/GrantAdjustmentDetails/types.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOverview/components/GrantItem/GrantItem.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/constants.d.ts +2 -0
- package/dist/types/components/external/CapitalOverview/components/GrantItem/constants.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/types.d.ts +21 -0
- package/dist/types/components/external/CapitalOverview/components/GrantItem/types.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/utils.d.ts +2 -19
- package/dist/types/components/external/CapitalOverview/components/GrantItem/utils.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantList/GrantList.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantList/GrantsDisplay.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantList/types.d.ts +2 -1
- package/dist/types/components/external/CapitalOverview/components/GrantList/types.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.d.ts +5 -0
- package/dist/types/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.d.ts.map +1 -0
- package/dist/types/components/external/PayoutDetails/PayoutDetails.d.ts +3 -3
- package/dist/types/components/external/PayoutDetails/PayoutDetails.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts +6 -1
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts +5 -0
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/types.d.ts +8 -0
- package/dist/types/components/external/PayoutDetails/types.d.ts.map +1 -0
- package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts +1 -1
- package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts.map +1 -1
- package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts +5 -0
- package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts.map +1 -1
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts +1 -1
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts.map +1 -1
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts +5 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts +3 -3
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionData.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionData.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.d.ts +2 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/constants.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/components/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/details/TransactionDataProperties.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/context/details/context.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/context/details/context.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/context/details/types.d.ts +3 -1
- package/dist/types/components/external/TransactionDetails/context/details/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/context/refund/hooks/useRefundAction.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +15 -3
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
- package/dist/types/components/external/UIElement/UIElement.d.ts +2 -0
- package/dist/types/components/external/UIElement/UIElement.d.ts.map +1 -1
- package/dist/types/components/internal/Button/Button.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/ButtonActions.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts +1 -0
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +16 -0
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
- package/dist/types/components/internal/Button/constants.d.ts +1 -0
- package/dist/types/components/internal/Button/constants.d.ts.map +1 -1
- package/dist/types/components/internal/CopyText/CopyText.d.ts +8 -6
- package/dist/types/components/internal/CopyText/CopyText.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +3 -2
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +1 -4
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDetails/DataOverviewDetails.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDetails/types.d.ts +8 -3
- package/dist/types/components/internal/DataOverviewDetails/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDisplay/DataDetailsModal.d.ts +2 -0
- package/dist/types/components/internal/DataOverviewDisplay/DataDetailsModal.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/index.d.ts +3 -0
- package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/index.d.ts.map +1 -0
- package/dist/types/components/internal/FilterBar/FilterBar.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/types.d.ts +1 -1
- package/dist/types/components/internal/FilterBar/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts.map +1 -1
- package/dist/types/components/internal/Icon/Icon.d.ts +1 -0
- package/dist/types/components/internal/Icon/Icon.d.ts.map +1 -1
- package/dist/types/components/internal/Link/Link.d.ts +6 -0
- package/dist/types/components/internal/Link/Link.d.ts.map +1 -0
- package/dist/types/components/internal/Link/types.d.ts +15 -0
- package/dist/types/components/internal/Link/types.d.ts.map +1 -0
- package/dist/types/components/internal/Modal/ModalContent/ModalContent.d.ts +1 -1
- package/dist/types/components/internal/Modal/ModalContent/ModalContent.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/StructuredList.d.ts +1 -1
- package/dist/types/components/internal/StructuredList/StructuredList.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/constants.d.ts +1 -0
- package/dist/types/components/internal/StructuredList/constants.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/types.d.ts +6 -1
- package/dist/types/components/internal/StructuredList/types.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +3 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +63 -13
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/customData/hasCustomField.d.ts +5 -0
- package/dist/types/components/utils/customData/hasCustomField.d.ts.map +1 -0
- package/dist/types/components/utils/customData/mergeRecords.d.ts +5 -0
- package/dist/types/components/utils/customData/mergeRecords.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/context.d.ts +64 -32
- package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts +128 -64
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts +64 -32
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
- package/dist/types/core/Context/CoreContext.d.ts.map +1 -1
- package/dist/types/core/Context/CoreProvider.d.ts +1 -1
- package/dist/types/core/Context/CoreProvider.d.ts.map +1 -1
- package/dist/types/core/Context/types.d.ts +2 -0
- package/dist/types/core/Context/types.d.ts.map +1 -1
- package/dist/types/hooks/useContainerQuery.d.ts +6 -0
- package/dist/types/hooks/useContainerQuery.d.ts.map +1 -0
- package/dist/types/hooks/useCustomColumnsData.d.ts +3 -2
- package/dist/types/hooks/useCustomColumnsData.d.ts.map +1 -1
- package/dist/types/hooks/useResponsiveContainer.d.ts +42 -0
- package/dist/types/hooks/useResponsiveContainer.d.ts.map +1 -0
- package/dist/types/hooks/useTableColumns.d.ts +4 -4
- package/dist/types/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/types/translations/index.d.ts +10 -0
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/resources/CapitalResource.d.ts +10 -0
- package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
- package/dist/{warning-DKdIv71G.cjs → warning-6iewnkkK.cjs} +2 -2
- package/dist/{warning-DKdIv71G.cjs.map → warning-6iewnkkK.cjs.map} +1 -1
- package/dist/{warning-filled-BUBUS_3c.cjs → warning-filled-DbbyNMim.cjs} +2 -2
- package/dist/{warning-filled-BUBUS_3c.cjs.map → warning-filled-DbbyNMim.cjs.map} +1 -1
- package/package.json +2 -2
- package/dist/da-DK-UDr4zLEm.cjs +0 -2
- package/dist/da-DK-UDr4zLEm.cjs.map +0 -1
- package/dist/de-DE-CRXo3Lip.cjs +0 -2
- package/dist/de-DE-CRXo3Lip.cjs.map +0 -1
- package/dist/es/components/internal/DataGrid/types.js +0 -4
- package/dist/es/hooks/useMediaQuery.js +0 -14
- package/dist/es/hooks/useResponsiveViewport.js +0 -24
- package/dist/es-ES-DKE_miHr.cjs +0 -2
- package/dist/es-ES-DKE_miHr.cjs.map +0 -1
- package/dist/fi-FI-MQMNSR--.cjs +0 -2
- package/dist/fi-FI-MQMNSR--.cjs.map +0 -1
- package/dist/fr-FR-Bq797--M.cjs +0 -2
- package/dist/fr-FR-Bq797--M.cjs.map +0 -1
- package/dist/index-Ct9UXGI3.cjs +0 -12
- package/dist/index-Ct9UXGI3.cjs.map +0 -1
- package/dist/it-IT-P4aG92g4.cjs +0 -2
- package/dist/it-IT-P4aG92g4.cjs.map +0 -1
- package/dist/nl-NL-CkNmbOjk.cjs +0 -2
- package/dist/nl-NL-CkNmbOjk.cjs.map +0 -1
- package/dist/no-NO-Cb48UzO1.cjs +0 -2
- package/dist/no-NO-Cb48UzO1.cjs.map +0 -1
- package/dist/pt-BR-7QdWAx4z.cjs +0 -2
- package/dist/pt-BR-7QdWAx4z.cjs.map +0 -1
- package/dist/sv-SE-DDU8uUdf.cjs +0 -2
- package/dist/sv-SE-DDU8uUdf.cjs.map +0 -1
- package/dist/types/hooks/useMediaQuery.d.ts +0 -3
- package/dist/types/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/types/hooks/useResponsiveViewport.d.ts +0 -28
- package/dist/types/hooks/useResponsiveViewport.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/ButtonActions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/ButtonActions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,EAAE,GAAG,SAAS,kBAAkB,EAAE,CAAC;AAErF,oBAAY,wBAAwB;IAChC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CACpC;AAED,oBAAY,2BAA2B;IACnC,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,mBAAmB;;;;;;CAAkE,CAAC;AACnG,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,GAAG,2BAA2B,CAAC"}
|
|
@@ -285,6 +285,14 @@ declare const useDownload: (endpointName: EndpointName, queryParam?: any, enable
|
|
|
285
285
|
};
|
|
286
286
|
repaymentPeriodLeft: number;
|
|
287
287
|
repaymentRate: number;
|
|
288
|
+
revocationAccount?: {
|
|
289
|
+
order: string[];
|
|
290
|
+
region: string;
|
|
291
|
+
accountNumber?: string | undefined;
|
|
292
|
+
iban?: string | undefined;
|
|
293
|
+
routingNumber?: string | undefined;
|
|
294
|
+
sortCode?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
288
296
|
status: "Failed" | "Pending" | "Repaid" | "Revoked" | "Active" | "WrittenOff";
|
|
289
297
|
termEndsAt: string;
|
|
290
298
|
thresholdAmount: {
|
|
@@ -295,6 +303,14 @@ declare const useDownload: (endpointName: EndpointName, queryParam?: any, enable
|
|
|
295
303
|
currency: string;
|
|
296
304
|
value: number;
|
|
297
305
|
};
|
|
306
|
+
unscheduledRepaymentAccounts?: {
|
|
307
|
+
order: string[];
|
|
308
|
+
region: string;
|
|
309
|
+
accountNumber?: string | undefined;
|
|
310
|
+
iban?: string | undefined;
|
|
311
|
+
routingNumber?: string | undefined;
|
|
312
|
+
sortCode?: string | undefined;
|
|
313
|
+
}[] | undefined;
|
|
298
314
|
}[];
|
|
299
315
|
} | {
|
|
300
316
|
url: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDownload.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/DownloadButton/useDownload.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAG/D,QAAA,MAAM,WAAW,iBAAkB,YAAY,eAAe,GAAG,YAAY,OAAO
|
|
1
|
+
{"version":3,"file":"useDownload.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/DownloadButton/useDownload.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAG/D,QAAA,MAAM,WAAW,iBAAkB,YAAY,eAAe,GAAG,YAAY,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASnF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const DEFAULT_BUTTON_CLASSNAME = "adyen-pe-button";
|
|
2
|
+
export declare const BUTTON_ANCHOR_CLASSNAME = "adyen-pe-button__anchor";
|
|
2
3
|
export declare const BUTTON_ACTION_CLASSNAME = "adyen-pe-button-actions";
|
|
3
4
|
export declare const ICON_BUTTON_CLASSNAME = "adyen-pe-button--icon";
|
|
4
5
|
export declare const ICON_BUTTON_CONTENT_CLASSNAME = "adyen-pe-button--icon-content";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Button/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAC1D,eAAO,MAAM,uBAAuB,4BAAwC,CAAC;AAC7E,eAAO,MAAM,qBAAqB,0BAAsC,CAAC;AACzE,eAAO,MAAM,6BAA6B,kCAA8C,CAAC;AACzF,eAAO,MAAM,iCAAiC,+CAAkD,CAAC;AACjG,eAAO,MAAM,sBAAsB,2BAAuC,CAAC;AAC3E,eAAO,MAAM,2BAA2B,gCAA4C,CAAC;AACrF,eAAO,MAAM,0BAA0B,+BAA2C,CAAC;AACnF,eAAO,MAAM,0BAA0B,+BAA2C,CAAC;AACnF,eAAO,MAAM,2BAA2B,gCAA4C,CAAC;AACrF,eAAO,MAAM,wBAAwB,6BAAyC,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Button/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAC1D,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,uBAAuB,4BAAwC,CAAC;AAC7E,eAAO,MAAM,qBAAqB,0BAAsC,CAAC;AACzE,eAAO,MAAM,6BAA6B,kCAA8C,CAAC;AACzF,eAAO,MAAM,iCAAiC,+CAAkD,CAAC;AACjG,eAAO,MAAM,sBAAsB,2BAAuC,CAAC;AAC3E,eAAO,MAAM,2BAA2B,gCAA4C,CAAC;AACrF,eAAO,MAAM,0BAA0B,+BAA2C,CAAC;AACnF,eAAO,MAAM,0BAA0B,+BAA2C,CAAC;AACnF,eAAO,MAAM,2BAA2B,gCAA4C,CAAC;AACrF,eAAO,MAAM,wBAAwB,6BAAyC,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import './CopyText.scss';
|
|
2
|
-
|
|
2
|
+
import { HTMLProps } from 'preact/compat';
|
|
3
|
+
type CopyTextProps = {
|
|
3
4
|
textToCopy: string;
|
|
4
|
-
isHovered?: boolean
|
|
5
|
-
buttonLabel?: string
|
|
6
|
-
showCopyTextTooltip?: boolean
|
|
7
|
-
type?:
|
|
8
|
-
}
|
|
5
|
+
isHovered?: boolean;
|
|
6
|
+
buttonLabel?: string;
|
|
7
|
+
showCopyTextTooltip?: boolean;
|
|
8
|
+
type?: 'Link' | 'Text' | 'Default';
|
|
9
|
+
} & HTMLProps<HTMLSpanElement>;
|
|
10
|
+
declare const CopyText: ({ textToCopy, isHovered, buttonLabel, showCopyTextTooltip, type, ...restProps }: CopyTextProps) => import("preact/compat").JSX.Element;
|
|
9
11
|
export default CopyText;
|
|
10
12
|
//# sourceMappingURL=CopyText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyText.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/CopyText/CopyText.tsx"],"names":[],"mappings":"AAOA,OAAO,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CopyText.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/CopyText/CopyText.tsx"],"names":[],"mappings":"AAOA,OAAO,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,KAAK,aAAa,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACtC,GAAG,SAAS,CAAC,eAAe,CAAC,CAAC;AAE/B,QAAA,MAAM,QAAQ,oFAAqG,aAAa,wCAsE/H,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DataGridColumn } from '../types';
|
|
2
2
|
import { CustomCell } from '../DataGrid';
|
|
3
3
|
import { CustomDataObject } from '../../../types';
|
|
4
|
-
|
|
4
|
+
import { JSXInternal } from 'preact/src/jsx';
|
|
5
|
+
export declare const isCustomDataObject: (item: any) => item is CustomDataObject;
|
|
5
6
|
export declare const TableCells: <Items extends any[], Columns extends DataGridColumn<Extract<keyof Items[number], string>>[], CustomCells extends CustomCell<Items, Columns, Columns[number]>>({ columns, customCells, item, rowIndex, }: {
|
|
6
7
|
columns: Columns;
|
|
7
8
|
customCells?: CustomCells | undefined;
|
|
8
9
|
item: Items[number];
|
|
9
10
|
rowIndex: number;
|
|
10
|
-
}) =>
|
|
11
|
+
}) => JSXInternal.Element;
|
|
11
12
|
//# sourceMappingURL=TableCells.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableCells.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataGrid/components/TableCells.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,
|
|
1
|
+
{"version":3,"file":"TableCells.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataGrid/components/TableCells.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAsB,gBAAgB,EAAsC,MAAM,gBAAgB,CAAC;AAE1G,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,eAAO,MAAM,kBAAkB,SAAU,GAAG,6BAE3C,CAAC;AAcF,eAAO,MAAM,UAAU;;;;cAaT,MAAM;yBAkEnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataGrid/components/TableHeaderCell.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataGrid/components/TableHeaderCell.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C,eAAO,MAAM,eAAe;aAAuF,MAAM;kCA2BxH,CAAC"}
|
|
@@ -2,10 +2,7 @@ import { ComponentChildren, VNode } from 'preact';
|
|
|
2
2
|
import { CustomCell } from './DataGrid';
|
|
3
3
|
import { TranslationKey } from '../../../translations';
|
|
4
4
|
import { StringWithAutocompleteOptions } from '../../../utils/types';
|
|
5
|
-
export
|
|
6
|
-
CENTER = "center",
|
|
7
|
-
RIGHT = "right"
|
|
8
|
-
}
|
|
5
|
+
export type CellTextPosition = 'center' | 'right' | 'left';
|
|
9
6
|
export interface DataGridColumn<Item> {
|
|
10
7
|
label: string;
|
|
11
8
|
key: StringWithAutocompleteOptions<Item>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataGrid/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataGrid/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,MAAM,WAAW,cAAc,CAAC,IAAI;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa,CAC1B,IAAI,SAAS,KAAK,CAAC,GAAG,CAAC,EACvB,OAAO,SAAS,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAC1E,YAAY,SAAS,MAAM,IAAI,CAAC,MAAM,CAAC,EACvC,WAAW,SAAS,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9D,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE;QACT,QAAQ,EAAE,CACN,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,SAAS,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,KAC5H,IAAI,CAAC;QACV,cAAc,CAAC,EAAE,YAAY,CAAC;KACjC,CAAC;IACF,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAChB,KAAK,EAAE,cAAc,CAAC;QACtB,OAAO,CAAC,EAAE,cAAc,GAAG,cAAc,EAAE,CAAC;KAC/C,CAAC;IACF,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,oBAAoB,CACjC,KAAK,SAAS,GAAG,EAAE,EACnB,OAAO,SAAS,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,EAChF,YAAY,SAAS,MAAM,KAAK,CAAC,MAAM,CAAC,EACxC,WAAW,SAAS,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAE/D,UAAU,CAAC,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,YAAY,CAAC,CAAC;IACpF,IAAI,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;IACvE,OAAO,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IAC7E,WAAW,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACrF,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,oBAAoB;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAClE,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataOverviewDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/DataOverviewDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAKpC,OAAO,EAAE,mBAAmB,EAAkB,MAAM,gBAAgB,CAAC;AAKrE,OAAO,
|
|
1
|
+
{"version":3,"file":"DataOverviewDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/DataOverviewDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAKpC,OAAO,EAAE,mBAAmB,EAAkB,MAAM,gBAAgB,CAAC;AAKrE,OAAO,EAAgB,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAGrE,OAAO,EAAE,qBAAqB,EAAwC,MAAM,SAAS,CAAC;AAgBtF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,CAAC,qBAAqB,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,mBAAmB,CAAA;CAAE,gCA6G5I"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IBalanceAccountBase, ITransactionWithDetails } from '../../../types';
|
|
2
|
-
import { DetailsWithExtraData } from '../../external';
|
|
2
|
+
import { DetailsWithExtraData, TransactionDetailsCustomization } from '../../external';
|
|
3
|
+
import { DetailsDataCustomizationObject } from '../../types';
|
|
4
|
+
import { PayoutDetailsCustomization } from '../../external/PayoutDetails/types';
|
|
3
5
|
export interface TransactionDetailsWithoutIdProps {
|
|
4
6
|
data: TransactionDetailData;
|
|
5
7
|
}
|
|
@@ -12,10 +14,10 @@ export interface TransactionDetailsWithIdProps {
|
|
|
12
14
|
}
|
|
13
15
|
export type DetailsWithId = ((TransactionDetailsWithIdProps & {
|
|
14
16
|
type: 'transaction';
|
|
15
|
-
}) & DetailsWithExtraData) | (PayoutDetailsWithIdProps & {
|
|
17
|
+
}) & DetailsWithExtraData<TransactionDetailsCustomization>) | (PayoutDetailsWithIdProps & {
|
|
16
18
|
type: 'payout';
|
|
17
19
|
balanceAccountDescription?: string;
|
|
18
|
-
});
|
|
20
|
+
} & DetailsWithExtraData<PayoutDetailsCustomization>);
|
|
19
21
|
export type DetailsComponentProps = (TransactionDetailsWithoutIdProps & {
|
|
20
22
|
type: 'transaction';
|
|
21
23
|
}) | DetailsWithId;
|
|
@@ -26,5 +28,8 @@ export interface BalanceAccountProps {
|
|
|
26
28
|
export type SelectedDetail = {
|
|
27
29
|
type: 'payout' | 'transaction';
|
|
28
30
|
data: string | TransactionDetailData | PayoutDetailsWithIdProps;
|
|
31
|
+
dataCustomization?: {
|
|
32
|
+
details?: DetailsDataCustomizationObject<any, any, any>;
|
|
33
|
+
};
|
|
29
34
|
};
|
|
30
35
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAGhF,MAAM,WAAW,gCAAgC;IAC7C,IAAI,EAAE,qBAAqB,CAAC;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC1C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,aAAa,GACnB,CAAC,CAAC,6BAA6B,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,GAAG,oBAAoB,CAAC,+BAA+B,CAAC,CAAC,GACnH,CAAC,wBAAwB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,yBAAyB,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,oBAAoB,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAE7I,MAAM,MAAM,qBAAqB,GAAG,CAAC,gCAAgC,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,GAAG,aAAa,CAAC;AAEjH,MAAM,MAAM,qBAAqB,GAAG,uBAAuB,GAAG,mBAAmB,CAAC;AAElF,MAAM,WAAW,mBAAmB;IAChC,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACxC;AAED,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,QAAQ,GAAG,aAAa,CAAC;IAC/B,IAAI,EAAE,MAAM,GAAG,qBAAqB,GAAG,wBAAwB,CAAC;IAChE,iBAAiB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,8BAA8B,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;KAAE,CAAC;CACnF,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { FC } from 'preact/compat';
|
|
2
2
|
import useModalDetails from '../../../hooks/useModalDetails/useModalDetails';
|
|
3
|
+
import { DataCustomizationObject } from '../../types';
|
|
3
4
|
export interface DataOverviewDisplayProps {
|
|
4
5
|
onContactSupport?: () => void;
|
|
5
6
|
balanceAccountDescription?: string;
|
|
6
7
|
selectedDetail: ReturnType<typeof useModalDetails>['selectedDetail'];
|
|
7
8
|
resetDetails: ReturnType<typeof useModalDetails>['resetDetails'];
|
|
8
9
|
className: string;
|
|
10
|
+
dataCustomization?: DataCustomizationObject<any, any, any>;
|
|
9
11
|
}
|
|
10
12
|
export declare const DataDetailsModal: FC<DataOverviewDisplayProps>;
|
|
11
13
|
//# sourceMappingURL=DataDetailsModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDisplay/DataDetailsModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAqB,MAAM,eAAe,CAAC;AAGtD,OAAO,eAAe,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"DataDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDisplay/DataDetailsModal.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAqB,MAAM,eAAe,CAAC;AAGtD,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAE7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,WAAW,wBAAwB;IACrC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,cAAc,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACrE,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,cAAc,CAAC,CAAC;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,wBAAwB,CAkCzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataOverviewDisplay/DataOverviewHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACrE,cAAc,sBAAsB,CAAC"}
|
|
@@ -2,11 +2,11 @@ import { PropsWithChildren } from 'preact/compat';
|
|
|
2
2
|
import type { FilterBarMobileSwitchProps, FilterBarProps } from './types';
|
|
3
3
|
import './FilterBar.scss';
|
|
4
4
|
export declare const useFilterBarState: () => {
|
|
5
|
-
readonly
|
|
5
|
+
readonly isMobileContainer: boolean;
|
|
6
6
|
readonly showingFilters: boolean;
|
|
7
7
|
readonly setShowingFilters: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<boolean>>;
|
|
8
8
|
};
|
|
9
|
-
export declare const FilterBarMobileSwitch: ({
|
|
9
|
+
export declare const FilterBarMobileSwitch: ({ isMobileContainer, showingFilters, setShowingFilters }: FilterBarMobileSwitchProps) => import("preact/compat").JSX.Element | null;
|
|
10
10
|
export declare const FilterBar: (props: PropsWithChildren<FilterBarProps>) => import("preact/compat").JSX.Element | null;
|
|
11
11
|
export default FilterBar;
|
|
12
12
|
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/FilterBar/FilterBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIlD,OAAO,KAAK,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,kBAAkB,CAAC;AAI1B,eAAO,MAAM,iBAAiB;;;;
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/FilterBar/FilterBar.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIlD,OAAO,KAAK,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,kBAAkB,CAAC;AAI1B,eAAO,MAAM,iBAAiB;;;;CAQ7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,6DAA8D,0BAA0B,+CAczH,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,kBAAkB,cAAc,CAAC,+CAejE,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -8,7 +8,7 @@ export interface FilterBarProps extends FilterBarState {
|
|
|
8
8
|
resetFilters?: () => void;
|
|
9
9
|
}
|
|
10
10
|
export interface FilterBarState {
|
|
11
|
-
|
|
11
|
+
isMobileContainer?: boolean;
|
|
12
12
|
showingFilters?: boolean;
|
|
13
13
|
setShowingFilters?: Dispatch<StateUpdater<boolean>>;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/FilterBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAC9D,iBAAiB,EAAE,WAAW,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;CACvE;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc;IAClD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC3B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/FilterBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAC9D,iBAAiB,EAAE,WAAW,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC,CAAC;CACvE;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc;IAClD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;CACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalanceAccountSelector.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,MAAM,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"BalanceAccountSelector.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,MAAM,iDAAiD,CAAC;AAQzF,OAAO,+BAA+B,CAAC;AAQvC,QAAA,MAAM,sBAAsB,yFAKrB,KAAK,WAAW,iCAAiC,CAAC,EAAE,8BAA8B,CAAC,+CAgCzF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FormFields/Select/components/SelectButton.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA6B9D,QAAA,MAAM,YAAY;yBAA+E,MAAM;
|
|
1
|
+
{"version":3,"file":"SelectButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FormFields/Select/components/SelectButton.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AA6B9D,QAAA,MAAM,YAAY;yBAA+E,MAAM;kCAoEtG,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -14,6 +14,7 @@ declare const icons: {
|
|
|
14
14
|
readonly 'cross-circle-fill': () => Promise<typeof import("*.svg?component")>;
|
|
15
15
|
readonly cross: () => Promise<typeof import("*.svg?component")>;
|
|
16
16
|
readonly download: () => Promise<typeof import("*.svg?component")>;
|
|
17
|
+
readonly 'external-link': () => Promise<typeof import("*.svg?component")>;
|
|
17
18
|
readonly filter: () => Promise<typeof import("*.svg?component")>;
|
|
18
19
|
readonly 'info-filled': () => Promise<typeof import("*.svg?component")>;
|
|
19
20
|
readonly 'minus-circle-outline': () => Promise<typeof import("*.svg?component")>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;CAqBD,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAC;AAE1C;;GAEG;AACH,UAAU,SAAS;IACf;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,IAAI,kCAAmC,SAAS,uBAqB5D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LinkProps } from './types';
|
|
2
|
+
import { PropsWithChildren } from 'preact/compat';
|
|
3
|
+
import './Link.scss';
|
|
4
|
+
declare function Link({ href, children, variant, truncate, target, withIcon, classNames, ...props }: PropsWithChildren<LinkProps>): import("preact/compat").JSX.Element;
|
|
5
|
+
export default Link;
|
|
6
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Link/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAiB,MAAM,eAAe,CAAC;AAGjE,OAAO,aAAa,CAAC;AAGrB,iBAAS,IAAI,CAAC,EACV,IAAI,EACJ,QAAQ,EACR,OAAmB,EACnB,QAAQ,EACR,MAAiB,EACjB,QAAe,EACf,UAAe,EACf,GAAG,KAAK,EACX,EAAE,iBAAiB,CAAC,SAAS,CAAC,uCAoB9B;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from 'preact/compat';
|
|
2
|
+
export interface LinkProps {
|
|
3
|
+
href: string;
|
|
4
|
+
activeClass?: string;
|
|
5
|
+
target?: AnchorHTMLAttributes<any>['target'];
|
|
6
|
+
truncate?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The visual variant of the link. Defaults to `default`.
|
|
9
|
+
* Quiet variant has no underline.
|
|
10
|
+
*/
|
|
11
|
+
variant?: 'default' | 'quiet';
|
|
12
|
+
classNames?: string[];
|
|
13
|
+
withIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Link/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAE7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAE9B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectedDetail } from '../../DataOverviewDetails/types';
|
|
2
2
|
import './ModalContent.scss';
|
|
3
|
-
declare function ModalContent({ type, data, ...restData }: SelectedDetail): import("preact").JSX.Element;
|
|
3
|
+
declare function ModalContent({ type, data, dataCustomization, ...restData }: SelectedDetail): import("preact").JSX.Element;
|
|
4
4
|
export default ModalContent;
|
|
5
5
|
//# sourceMappingURL=ModalContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Modal/ModalContent/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmD,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAClH,OAAO,qBAAqB,CAAC;AAO7B,iBAAS,YAAY,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,QAAQ,EAAE,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"ModalContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Modal/ModalContent/ModalContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmD,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAClH,OAAO,qBAAqB,CAAC;AAO7B,iBAAS,YAAY,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,QAAQ,EAAE,EAAE,cAAc,gCAsBnF;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StructuredListProps } from './types';
|
|
2
2
|
import './StructuredList.scss';
|
|
3
3
|
export declare const StructuredListLayouts: readonly ["3-9", "4-8", "5-7", "6-6", "7-5", "8-4"];
|
|
4
|
-
export default function StructuredList({ items, highlightable, renderValue, renderLabel, layout, grid, classNames, }: StructuredListProps): import("preact").JSX.Element;
|
|
4
|
+
export default function StructuredList({ items, highlightable, renderValue, renderLabel, layout, grid, classNames, align, }: StructuredListProps): import("preact").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=StructuredList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredList.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/StructuredList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StructuredList.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/StructuredList.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,uBAAuB,CAAC;AAG/B,eAAO,MAAM,qBAAqB,qDAAqG,CAAC;AAGxI,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACnC,KAAK,EACL,aAAa,EACb,WAAW,EACX,WAAW,EACX,MAAuB,EACvB,IAAW,EACX,UAAU,EACV,KAAa,GAChB,EAAE,mBAAmB,gCAmCrB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const SL_BASE_CLASS = "adyen-pe-structured-list";
|
|
2
|
+
export declare const SL_ALIGN_END = "adyen-pe-structured-list--align-end";
|
|
2
3
|
export declare const SL_ITEM_CLASS = "adyen-pe-structured-list__item";
|
|
3
4
|
export declare const SL_GRID_CLASS = "adyen-pe-structured-list__grid";
|
|
4
5
|
export declare const SL_CONTENT_CLASS = "adyen-pe-structured-list__content";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,6BAA6B,CAAC;AACxD,eAAO,MAAM,aAAa,mCAA2B,CAAC;AACtD,eAAO,MAAM,aAAa,mCAA2B,CAAC;AACtD,eAAO,MAAM,gBAAgB,sCAA8B,CAAC;AAC5D,eAAO,MAAM,cAAc,oCAA4B,CAAC;AACxD,eAAO,MAAM,4BAA4B,kDAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,6BAA6B,CAAC;AACxD,eAAO,MAAM,YAAY,wCAAgC,CAAC;AAC1D,eAAO,MAAM,aAAa,mCAA2B,CAAC;AACtD,eAAO,MAAM,aAAa,mCAA2B,CAAC;AACtD,eAAO,MAAM,gBAAgB,sCAA8B,CAAC;AAC5D,eAAO,MAAM,cAAc,oCAA4B,CAAC;AACxD,eAAO,MAAM,4BAA4B,kDAAoC,CAAC"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { TranslationKey } from '../../../translations';
|
|
2
2
|
import { StructuredListLayouts } from './StructuredList';
|
|
3
3
|
import { ComponentChild } from 'preact';
|
|
4
|
+
type ItemType = 'text' | 'link' | 'button' | 'icon';
|
|
4
5
|
export type StructuredListItem = {
|
|
5
6
|
label?: string;
|
|
6
7
|
id?: string;
|
|
7
8
|
value: any;
|
|
8
9
|
key: TranslationKey;
|
|
10
|
+
type?: ItemType;
|
|
11
|
+
config?: any;
|
|
9
12
|
};
|
|
10
13
|
export type ListValue = string | number | ComponentChild;
|
|
11
14
|
export interface StructuredListProps {
|
|
@@ -13,8 +16,10 @@ export interface StructuredListProps {
|
|
|
13
16
|
layout?: (typeof StructuredListLayouts)[number];
|
|
14
17
|
highlightable?: boolean;
|
|
15
18
|
renderLabel?: (val: string, key: TranslationKey) => ComponentChild;
|
|
16
|
-
renderValue?: (val: ListValue, key: TranslationKey) => ComponentChild;
|
|
19
|
+
renderValue?: (val: ListValue, key: TranslationKey, type: ItemType | undefined, config: any) => ComponentChild;
|
|
17
20
|
grid?: boolean;
|
|
18
21
|
classNames?: string;
|
|
22
|
+
align?: 'start' | 'end';
|
|
19
23
|
}
|
|
24
|
+
export {};
|
|
20
25
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC;IACX,GAAG,EAAE,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC;IACX,GAAG,EAAE,cAAc,CAAC;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,cAAc,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,KAAK,cAAc,CAAC;IACnE,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,cAAc,CAAC;IAC/G,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;CAC3B"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { StructuredListItem } from './types';
|
|
2
2
|
export declare const useStructuredListItems: (items: StructuredListItem[]) => {
|
|
3
|
-
key: "mobile" | "status" | "type" | "description" | "value" | "apply" | "and" | "Booked" | "Pending" | "max" | "min" | "Reversed" | "account" | "accountBalance" | "accountDescription" | "accountID" | "additions" | "adjustments" | "amount" | "back" | "balanceAccount" | "balanceAccountId" | "button.clearAll" | "calendar.controls" | "calendar.nextMonth" | "calendar.previousMonth" | "calendar.timezone" | "capital.accountIsInactive" | "capital.actionNeeded" | "capital.businessFinancing" | "capital.businessFinancingOffer" | "capital.businessFinancingSummary" | "capital.closed" | "capital.couldNotContinueWithTheOffer" | "capital.couldNotLoadFinancialOffers" | "capital.dailyRepaymentRate" | "capital.daysAndDaysLeft" | "capital.expectedRepaymentPeriod" | "capital.failed" | "capital.fees" | "capital.fullyRepaid" | "capital.goToTermsAndConditions" | "capital.grantID" | "capital.howMuchMoneyDoYouNeed" | "capital.inProgress" | "capital.legalSubtitleAU" | "capital.legalSubtitleEU" | "capital.legalSubtitleGB" | "capital.legalSubtitleUS" | "capital.maximumRepaymentPeriod" | "capital.minimumRepaymentToRepayTheFinancingOnTime" | "capital.needSomeExtraMoney" | "capital.offerLegalNoticeDescriptionUS" | "capital.offerLegalNoticeTitleUS" | "capital.oneMonth" | "capital.pending" | "capital.primaryAccount" | "capital.remaining" | "capital.remainingAmount" | "capital.remainingFees" | "capital.repaid" | "capital.repaidAmount" | "capital.repaidFees" | "capital.repaymentThreshold" | "capital.requestedFunds" | "capital.requestFunds" | "capital.requesting" | "capital.reviewOffer" | "capital.revoked" | "capital.seeNewOffer" | "capital.seeOptions" | "capital.signTermsAndConditionsToReceiveFunds" | "capital.signTheTermsToReceiveYourFunds" | "capital.termEnds" | "capital.thereIsNoPrimaryAccountConfigured" | "capital.thisOfferExpiresOn" | "capital.totalFees" | "capital.totalRepaymentAmount" | "capital.unsupportedRegionDescription" | "capital.unsupportedRegionTitle" | "capital.weCouldNotContinueWithTheOffer" | "capital.weCouldNotContinueWithTheOfferContactSupportForHelp" | "capital.weCouldNotLoadFinancialOffers" | "capital.weCouldNotProcessThisRequestTryAgain" | "capital.weReceivedYourRequestAndWeAreWorkingOnItNowCheckBackSoon" | "capital.writtenOff" | "capital.xDays" | "capital.xMonths" | "capital.xPercent" | "capital.youAcceptedButThenReturnedTheseFunds" | "capital.youAcceptedTheseFundsButDidNotRepayThem" | "capital.youAreRequestingFundingOf" | "capital.youHaveBeenPrequalifiedForBusinessFinancingUpToX.part1" | "capital.youHaveBeenPrequalifiedForBusinessFinancingUpToX.part2" | "capital.yourRequestedFundsWere" | "capital.youShouldGetTheFundsWithinOneBusinessDay" | "capital.youWillNeedToRepayAMinimumOfXEveryXDaysToPayOffTheFunds" | "capital.youWillSoonQualifyForAFinancialOffer" | "capture" | "category" | "chargeback" | "closeIconLabel" | "contactSupport" | "contactSupportForHelp" | "contactSupportForHelpAndShareErrorCode" | "copied" | "copy" | "correction" | "currency" | "date" | "dateRange" | "default" | "dismiss" | "download" | "downloading" | "email" | "entityWasNotFound" | "entityWasNotFoundDetail" | "error.pleaseTryAgainLater" | "error.somethingWentWrongWithDownload" | "expandableCard.collapse" | "expandableCard.expand" | "export" | "fee" | "file" | "filter.date.since" | "filter.date.until" | "filterBar" | "filterPlaceholder.category" | "filterPlaceholder.currency" | "filterPlaceholder.status" | "from" | "full" | "fundsCaptured" | "goBack" | "grantIssued" | "grantRepayment" | "hideContent" | "id" | "incompleteField" | "inProgress" | "loading" | "netPayout" | "nextPayouts" | "noData" | "noNegativeNumbersAllowed" | "noPayoutsFound" | "noReportsFound" | "noTransactionsFound" | "other" | "paginatedNavigation" | "pagination.nextPage" | "pagination.previousPage" | "pagination.showing" | "partial" | "paymentId" | "paymentMethod" | "payoutDetails" | "payoutsNotice" | "payoutsTitle" | "pleaseComeBackLater" | "pleaseReachOutToSupportForAssistance" | "rangePreset.custom" | "rangePreset.last30Days" | "rangePreset.last7Days" | "rangePreset.lastMonth" | "rangePreset.lastWeek" | "rangePreset.thisMonth" | "rangePreset.thisWeek" | "rangePreset.yearToDate" | "reachOutToSupport" | "referenceID" | "refresh" | "refund" | "refund.amountAlreadyRefunded" | "refund.amountFailed" | "refund.amountInProgress" | "refund.fee" | "refund.fullAmountFailed" | "refund.fullAmountRefunded" | "refund.goToPayment" | "refund.maximumRefundable" | "refund.onlyRefundable" | "refund.originalAmount" | "refund.originalPayment" | "refund.paymentPspReference" | "refund.pspReference" | "refund.refundFee" | "refund.refundPspReference" | "refund.returnToRefund" | "refund.theRefundIsBeingProcessed" | "refundAction" | "refundActionErrorSubtitle" | "refundActionErrorTitle" | "refundActionSuccessSubtitle" | "refundActionSuccessTitle" | "refundAmount" | "refundAmount.excess" | "refundAmount.required" | "refunded.full" | "refunded.partial" | "refundNotice" | "refundPayment" | "refundReason" | "refundReason.duplicate" | "refundReason.fraudulent" | "refundReason.issue_with_item_sold" | "refundReason.other" | "refundReason.requested_by_customer" | "refundReference" | "refundReference.placeholder" | "remainingAmount" | "report" | "reportsError.tooManyDownloads" | "reportsNotice" | "reportsTitle" | "reportType.payout" | "reset" | "select.filter.placeholder" | "select.noOptionsFound" | "somethingWentWrong" | "somethingWentWrongTryRefreshingOrComeBackLater" | "structuredList" | "subtractions" | "sumOfSameDayPayouts" | "tabs" | "theErrorCodeIs" | "thereAreNoResults" | "theRequestIsMissingRequiredFieldsOrContainsInvalidData" | "thereWasAnUnexpectedError" | "theSelectedBalanceAccountIsIncorrect" | "timezone" | "to" | "tooltip.ATM" | "tooltip.Capital" | "tooltip.Chargeback" | "tooltip.Correction" | "tooltip.Fee" | "tooltip.Other" | "tooltip.Payment" | "tooltip.Refund" | "tooltip.totalIncoming" | "tooltip.totalOutgoing" | "tooltip.Transfer" | "totalIncoming" | "totalOutgoing" | "toValueShouldBeGreaterThanTheFromValue" | "transactionDetails" | "transactions" | "transactionsOverviewTitle" | "transactionType" | "transfer" | "tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain" | "tryRefreshingThePageOrComeBackLater" | "txAmount" | "txType.ATM" | "txType.Capital" | "txType.Chargeback" | "txType.Correction" | "txType.Fee" | "txType.Other" | "txType.Payment" | "txType.Refund" | "txType.Transfer" | "weCouldNotLoadThePayoutsOverview" | "weCouldNotLoadTheReportsOverview" | "weCouldNotLoadTheTransactionsOverview" | "weCouldNotLoadYourBalanceAccounts" | "weCouldNotLoadYourPayouts" | "weCouldNotLoadYourReports" | "weCouldNotLoadYourTransactions";
|
|
3
|
+
key: "mobile" | "status" | "type" | "description" | "value" | "apply" | "and" | "Booked" | "Pending" | "max" | "min" | "Reversed" | "account" | "accountBalance" | "accountDescription" | "accountID" | "additions" | "adjustments" | "amount" | "back" | "balanceAccount" | "balanceAccountId" | "button.clearAll" | "calendar.controls" | "calendar.nextMonth" | "calendar.previousMonth" | "calendar.timezone" | "capital.accountIsInactive" | "capital.actionNeeded" | "capital.bankAccountDetails" | "capital.bankAccountIban" | "capital.bankAccountNumber" | "capital.bankCountryOrRegion" | "capital.bankRoutingNumber" | "capital.bankSortCode" | "capital.businessFinancing" | "capital.businessFinancingOffer" | "capital.businessFinancingSummary" | "capital.closed" | "capital.couldNotContinueWithTheOffer" | "capital.couldNotLoadFinancialOffers" | "capital.dailyRepaymentRate" | "capital.daysAndDaysLeft" | "capital.expectedRepaymentPeriod" | "capital.failed" | "capital.fees" | "capital.fullyRepaid" | "capital.goToTermsAndConditions" | "capital.grantID" | "capital.howMuchMoneyDoYouNeed" | "capital.inProgress" | "capital.legalSubtitleAU" | "capital.legalSubtitleEU" | "capital.legalSubtitleGB" | "capital.legalSubtitleUS" | "capital.maximumRepaymentPeriod" | "capital.minimumRepaymentToRepayTheFinancingOnTime" | "capital.needSomeExtraMoney" | "capital.offerLegalNoticeDescriptionUS" | "capital.offerLegalNoticeTitleUS" | "capital.oneMonth" | "capital.pending" | "capital.primaryAccount" | "capital.remaining" | "capital.remainingAmount" | "capital.remainingFees" | "capital.repaid" | "capital.repaidAmount" | "capital.repaidFees" | "capital.repaymentBalanceInfo" | "capital.repaymentThreshold" | "capital.requestedFunds" | "capital.requestFunds" | "capital.requesting" | "capital.reviewOffer" | "capital.revoked" | "capital.seeNewOffer" | "capital.seeOptions" | "capital.sendRepayment" | "capital.sendRepaymentNotice" | "capital.sendRepaymentSubtitle" | "capital.signTermsAndConditionsToReceiveFunds" | "capital.signTheTermsToReceiveYourFunds" | "capital.termEnds" | "capital.thereIsNoPrimaryAccountConfigured" | "capital.thisOfferExpiresOn" | "capital.totalFees" | "capital.totalRepaymentAmount" | "capital.unsupportedRegionDescription" | "capital.unsupportedRegionTitle" | "capital.weCouldNotContinueWithTheOffer" | "capital.weCouldNotContinueWithTheOfferContactSupportForHelp" | "capital.weCouldNotLoadFinancialOffers" | "capital.weCouldNotProcessThisRequestTryAgain" | "capital.weReceivedYourRequestAndWeAreWorkingOnItNowCheckBackSoon" | "capital.writtenOff" | "capital.xDays" | "capital.xMonths" | "capital.xPercent" | "capital.youAcceptedButThenReturnedTheseFunds" | "capital.youAcceptedTheseFundsButDidNotRepayThem" | "capital.youAreRequestingFundingOf" | "capital.youHaveBeenPrequalifiedForBusinessFinancingUpToX.part1" | "capital.youHaveBeenPrequalifiedForBusinessFinancingUpToX.part2" | "capital.yourRequestedFundsWere" | "capital.youShouldGetTheFundsWithinOneBusinessDay" | "capital.youWillNeedToRepayAMinimumOfXEveryXDaysToPayOffTheFunds" | "capital.youWillSoonQualifyForAFinancialOffer" | "capture" | "category" | "chargeback" | "closeIconLabel" | "contactSupport" | "contactSupportForHelp" | "contactSupportForHelpAndShareErrorCode" | "copied" | "copy" | "correction" | "currency" | "date" | "dateRange" | "default" | "dismiss" | "download" | "downloading" | "email" | "entityWasNotFound" | "entityWasNotFoundDetail" | "error.pleaseTryAgainLater" | "error.somethingWentWrongWithDownload" | "expandableCard.collapse" | "expandableCard.expand" | "export" | "fee" | "file" | "filter.date.since" | "filter.date.until" | "filterBar" | "filterPlaceholder.category" | "filterPlaceholder.currency" | "filterPlaceholder.status" | "from" | "full" | "fundsCaptured" | "goBack" | "grantIssued" | "grantRepayment" | "hideContent" | "id" | "incompleteField" | "inProgress" | "loading" | "netPayout" | "nextPayouts" | "noData" | "noNegativeNumbersAllowed" | "noPayoutsFound" | "noReportsFound" | "noTransactionsFound" | "other" | "paginatedNavigation" | "pagination.nextPage" | "pagination.previousPage" | "pagination.showing" | "partial" | "paymentId" | "paymentMethod" | "payoutDetails" | "payoutsNotice" | "payoutsTitle" | "pleaseComeBackLater" | "pleaseReachOutToSupportForAssistance" | "rangePreset.custom" | "rangePreset.last30Days" | "rangePreset.last7Days" | "rangePreset.lastMonth" | "rangePreset.lastWeek" | "rangePreset.thisMonth" | "rangePreset.thisWeek" | "rangePreset.yearToDate" | "reachOutToSupport" | "referenceID" | "refresh" | "refund" | "refund.amountAlreadyRefunded" | "refund.amountFailed" | "refund.amountInProgress" | "refund.fee" | "refund.fullAmountFailed" | "refund.fullAmountRefunded" | "refund.goToPayment" | "refund.maximumRefundable" | "refund.onlyRefundable" | "refund.originalAmount" | "refund.originalPayment" | "refund.paymentPspReference" | "refund.pspReference" | "refund.refundFee" | "refund.refundPspReference" | "refund.returnToRefund" | "refund.theRefundIsBeingProcessed" | "refundAction" | "refundActionErrorSubtitle" | "refundActionErrorTitle" | "refundActionSuccessSubtitle" | "refundActionSuccessTitle" | "refundAmount" | "refundAmount.excess" | "refundAmount.required" | "refunded.full" | "refunded.partial" | "refundNotice" | "refundPayment" | "refundReason" | "refundReason.duplicate" | "refundReason.fraudulent" | "refundReason.issue_with_item_sold" | "refundReason.other" | "refundReason.requested_by_customer" | "refundReference" | "refundReference.placeholder" | "remainingAmount" | "report" | "reportsError.tooManyDownloads" | "reportsNotice" | "reportsTitle" | "reportType.payout" | "reset" | "select.filter.placeholder" | "select.noOptionsFound" | "somethingWentWrong" | "somethingWentWrongTryRefreshingOrComeBackLater" | "structuredList" | "subtractions" | "sumOfSameDayPayouts" | "tabs" | "theErrorCodeIs" | "thereAreNoResults" | "theRequestIsMissingRequiredFieldsOrContainsInvalidData" | "thereWasAnUnexpectedError" | "theSelectedBalanceAccountIsIncorrect" | "timezone" | "to" | "tooltip.ATM" | "tooltip.Capital" | "tooltip.Chargeback" | "tooltip.Correction" | "tooltip.Fee" | "tooltip.Other" | "tooltip.Payment" | "tooltip.Refund" | "tooltip.totalIncoming" | "tooltip.totalOutgoing" | "tooltip.Transfer" | "totalIncoming" | "totalOutgoing" | "toValueShouldBeGreaterThanTheFromValue" | "transactionDetails" | "transactions" | "transactionsOverviewTitle" | "transactionType" | "transfer" | "tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain" | "tryRefreshingThePageOrComeBackLater" | "txAmount" | "txType.ATM" | "txType.Capital" | "txType.Chargeback" | "txType.Correction" | "txType.Fee" | "txType.Other" | "txType.Payment" | "txType.Refund" | "txType.Transfer" | "weCouldNotLoadThePayoutsOverview" | "weCouldNotLoadTheReportsOverview" | "weCouldNotLoadTheTransactionsOverview" | "weCouldNotLoadYourBalanceAccounts" | "weCouldNotLoadYourPayouts" | "weCouldNotLoadYourReports" | "weCouldNotLoadYourTransactions";
|
|
4
4
|
value: any;
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
7
|
+
type: ("button" | "link" | "text" | "icon") | undefined;
|
|
8
|
+
config: any;
|
|
7
9
|
}[];
|
|
8
10
|
//# sourceMappingURL=useStructuredListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStructuredListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/useStructuredListItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useStructuredListItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/StructuredList/useStructuredListItem.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,sBAAsB,UAAW,kBAAkB,EAAE;;;;;;;GAcjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Tooltip/Tooltip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,gBAAgB,CAAC;AAmBxB,eAAO,MAAM,OAAO,iFAA0F,kBAAkB,YAAY,CAAC,iCAoC5I,CAAC"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import UIElement from './external/UIElement/UIElement';
|
|
2
2
|
import { Core, onErrorHandler } from '../core';
|
|
3
3
|
import { TransactionsTableFields } from './external/TransactionsOverview/components/TransactionsTable/types';
|
|
4
|
-
import
|
|
4
|
+
import { IPayout, IPayoutDetails, IReport, ITransaction, ITransactionWithDetails } from '../types';
|
|
5
|
+
import { AnchorHTMLAttributes } from 'preact/compat';
|
|
6
|
+
import { ReportsTableFields } from './external/ReportsOverview/components/ReportsTable/ReportsTable';
|
|
7
|
+
import { StringWithAutocompleteOptions } from '../utils/types';
|
|
8
|
+
import { PayoutsTableFields } from './external/PayoutsOverview/components/PayoutsTable/PayoutsTable';
|
|
9
|
+
import { TransactionDetailsFields } from './external';
|
|
5
10
|
export declare const enum InteractionKeyCode {
|
|
6
11
|
ARROW_DOWN = "ArrowDown",
|
|
7
12
|
ARROW_LEFT = "ArrowLeft",
|
|
@@ -83,6 +88,8 @@ export type DataGridIcon = {
|
|
|
83
88
|
export type DataGridCustomColumnConfig<k> = {
|
|
84
89
|
key: k;
|
|
85
90
|
flex?: number;
|
|
91
|
+
align?: 'right' | 'left' | 'center';
|
|
92
|
+
visibility?: 'visible' | 'hidden';
|
|
86
93
|
};
|
|
87
94
|
export type CustomColumn<T extends string> = {
|
|
88
95
|
[k in T]: DataGridCustomColumnConfig<k>;
|
|
@@ -96,28 +103,71 @@ interface _DataOverviewComponentProps {
|
|
|
96
103
|
preferredLimit?: 10 | 20;
|
|
97
104
|
showDetails?: boolean;
|
|
98
105
|
}
|
|
99
|
-
export type
|
|
100
|
-
|
|
106
|
+
export type CustomDataObject = CustomIconObject | CustomTextObject | CustomLinkObject | CustomButtonObject;
|
|
107
|
+
interface BaseCustomObject {
|
|
101
108
|
value: any;
|
|
102
|
-
|
|
103
|
-
|
|
109
|
+
}
|
|
110
|
+
type BaseDetails = {
|
|
111
|
+
className?: string;
|
|
112
|
+
};
|
|
113
|
+
export interface CustomIconObject extends BaseCustomObject {
|
|
114
|
+
type: 'icon';
|
|
115
|
+
config: BaseDetails & {
|
|
116
|
+
src: string;
|
|
104
117
|
alt?: string;
|
|
105
118
|
};
|
|
106
|
-
}
|
|
119
|
+
}
|
|
120
|
+
export interface CustomTextObject extends BaseCustomObject {
|
|
121
|
+
type: 'text';
|
|
122
|
+
config?: BaseDetails;
|
|
123
|
+
}
|
|
124
|
+
export interface CustomLinkObject extends BaseCustomObject {
|
|
125
|
+
type: 'link';
|
|
126
|
+
config: BaseDetails & {
|
|
127
|
+
href: string;
|
|
128
|
+
target?: AnchorHTMLAttributes<any>['target'];
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
export interface CustomButtonObject extends BaseCustomObject {
|
|
132
|
+
type: 'button';
|
|
133
|
+
config: BaseDetails & {
|
|
134
|
+
action: () => void;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
107
137
|
export type CustomDataRetrieved = {
|
|
108
|
-
[k: string]: CustomDataObject |
|
|
138
|
+
[k: string]: CustomDataObject | Record<any, any> | string | number | boolean;
|
|
139
|
+
};
|
|
140
|
+
export type OnDataRetrievedCallback<DataRetrieved, CallbackResponse = CustomDataRetrieved[]> = (data: DataRetrieved) => Promise<CallbackResponse>;
|
|
141
|
+
export type DataCustomizationObject<Columns extends string, DataRetrieved, CallbackResponse> = {
|
|
142
|
+
fields: CustomColumn<StringWithAutocompleteOptions<Columns>>[];
|
|
143
|
+
onDataRetrieve?: OnDataRetrievedCallback<DataRetrieved, CallbackResponse>;
|
|
144
|
+
};
|
|
145
|
+
export type DetailsCustomFieldConfig<k> = {
|
|
146
|
+
key: k;
|
|
147
|
+
visibility?: 'visible' | 'hidden';
|
|
148
|
+
};
|
|
149
|
+
export type CustomDetailsField<T extends string> = {
|
|
150
|
+
[k in T]: DetailsCustomFieldConfig<k>;
|
|
151
|
+
}[T];
|
|
152
|
+
export type DetailsDataCustomizationObject<Columns extends string, DataRetrieved, CallbackResponse> = {
|
|
153
|
+
fields: CustomDetailsField<StringWithAutocompleteOptions<Columns>>[];
|
|
154
|
+
onDataRetrieve?: OnDataRetrievedCallback<DataRetrieved, CallbackResponse>;
|
|
155
|
+
};
|
|
156
|
+
interface _CustomizableDataOverview<CustomizationOptions extends Record<string, DataCustomizationObject<any, any, any>>> {
|
|
157
|
+
dataCustomization?: CustomizationOptions;
|
|
158
|
+
}
|
|
159
|
+
type OverviewCustomizationProperties<Fields extends string, Data, DetailsFields extends string, DetailsData> = {
|
|
160
|
+
list?: DataCustomizationObject<Fields, Data[], CustomDataRetrieved[]>;
|
|
161
|
+
details?: DetailsDataCustomizationObject<DetailsFields, DetailsData, CustomDataRetrieved>;
|
|
109
162
|
};
|
|
110
|
-
export
|
|
111
|
-
interface _CustomizableDataOverview<Columns extends string, DataRetrieved> {
|
|
112
|
-
columns?: CustomColumn<Columns>[] | Columns[];
|
|
113
|
-
onDataRetrieved?: OnDataRetrievedCallback<DataRetrieved>;
|
|
163
|
+
export interface ReportsOverviewComponentProps extends Omit<_DataOverviewComponentProps, 'showDetails'>, _CustomizableDataOverview<Omit<OverviewCustomizationProperties<ReportsTableFields, IReport, any, any>, 'details'>> {
|
|
114
164
|
}
|
|
115
|
-
export interface TransactionOverviewComponentProps extends _DataOverviewComponentProps, _CustomizableDataOverview<TransactionsTableFields, ITransaction
|
|
165
|
+
export interface TransactionOverviewComponentProps extends _DataOverviewComponentProps, _CustomizableDataOverview<OverviewCustomizationProperties<TransactionsTableFields, ITransaction, TransactionDetailsFields, ITransactionWithDetails>>, _DataOverviewSelectionProps<{
|
|
116
166
|
id: string;
|
|
117
167
|
showModal: () => void;
|
|
118
168
|
}> {
|
|
119
169
|
}
|
|
120
|
-
export interface PayoutsOverviewComponentProps extends _DataOverviewComponentProps, _DataOverviewSelectionProps<{
|
|
170
|
+
export interface PayoutsOverviewComponentProps extends _DataOverviewComponentProps, _CustomizableDataOverview<OverviewCustomizationProperties<PayoutsTableFields, IPayout, any, IPayoutDetails>>, _DataOverviewSelectionProps<{
|
|
121
171
|
balanceAccountId: string;
|
|
122
172
|
date: string;
|
|
123
173
|
showModal: () => void;
|