@adyen/adyen-platform-experience-web 1.5.0 → 1.6.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-B2I_t62j.cjs → angle-right-Bb55rXYe.cjs} +2 -2
- package/dist/{angle-right-B2I_t62j.cjs.map → angle-right-Bb55rXYe.cjs.map} +1 -1
- package/dist/{checkmark-CIwP_FdK.cjs → checkmark-DiDm_wM9.cjs} +2 -2
- package/dist/{checkmark-CIwP_FdK.cjs.map → checkmark-DiDm_wM9.cjs.map} +1 -1
- package/dist/{checkmark-circle-fill-Cw5UXqzN.cjs → checkmark-circle-fill-Cw6AyXxm.cjs} +2 -2
- package/dist/{checkmark-circle-fill-Cw5UXqzN.cjs.map → checkmark-circle-fill-Cw6AyXxm.cjs.map} +1 -1
- package/dist/{checkmark-square-fill-BwkQfKCG.cjs → checkmark-square-fill-B0JKpJWE.cjs} +2 -2
- package/dist/{checkmark-square-fill-BwkQfKCG.cjs.map → checkmark-square-fill-B0JKpJWE.cjs.map} +1 -1
- package/dist/{chevron-down-BuYiZOY7.cjs → chevron-down-BhSTKYlw.cjs} +2 -2
- package/dist/{chevron-down-BuYiZOY7.cjs.map → chevron-down-BhSTKYlw.cjs.map} +1 -1
- package/dist/{chevron-left-DhRCcHqQ.cjs → chevron-left-D-GWfC1v.cjs} +2 -2
- package/dist/{chevron-left-DhRCcHqQ.cjs.map → chevron-left-D-GWfC1v.cjs.map} +1 -1
- package/dist/{chevron-right-DvPR8FD2.cjs → chevron-right-CSehcQXv.cjs} +2 -2
- package/dist/{chevron-right-DvPR8FD2.cjs.map → chevron-right-CSehcQXv.cjs.map} +1 -1
- package/dist/{chevron-up-DFrrO8PJ.cjs → chevron-up-D8g7ZBDG.cjs} +2 -2
- package/dist/{chevron-up-DFrrO8PJ.cjs.map → chevron-up-D8g7ZBDG.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{copy-Bl3l133y.cjs → copy-BOKezSIj.cjs} +2 -2
- package/dist/{copy-Bl3l133y.cjs.map → copy-BOKezSIj.cjs.map} +1 -1
- package/dist/{cross-BtdvCTEP.cjs → cross-BMK10x3R.cjs} +2 -2
- package/dist/{cross-BtdvCTEP.cjs.map → cross-BMK10x3R.cjs.map} +1 -1
- package/dist/{cross-circle-fill-BBjJLOad.cjs → cross-circle-fill-DzWguWQ6.cjs} +2 -2
- package/dist/{cross-circle-fill-BBjJLOad.cjs.map → cross-circle-fill-DzWguWQ6.cjs.map} +1 -1
- package/dist/da-DK-DzyB6ApY.cjs +2 -0
- package/dist/da-DK-DzyB6ApY.cjs.map +1 -0
- package/dist/de-DE-C_manCYP.cjs +2 -0
- package/dist/de-DE-C_manCYP.cjs.map +1 -0
- package/dist/{download-Cqu4yqTE.cjs → download-DciFfoOz.cjs} +2 -2
- package/dist/{download-Cqu4yqTE.cjs.map → download-DciFfoOz.cjs.map} +1 -1
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +1 -1
- package/dist/es/components/external/DisputeManagement/DisputeManagementElement.js +18 -0
- package/dist/es/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.js +82 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.js +212 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.js +21 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.js +128 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.js +37 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.js +60 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.js +108 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/constants.js +13 -0
- package/dist/es/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.js +38 -0
- package/dist/es/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.js +14 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeData.js +212 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.js +196 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.js +56 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/constants.js +44 -0
- package/dist/es/components/external/DisputeManagement/context/dispute/context.js +105 -0
- package/dist/es/components/external/DisputeManagement/utils/index.js +22 -0
- package/dist/es/components/external/DisputesOverview/DisputesOverviewElement.js +25 -0
- package/dist/es/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.js +53 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.js +21 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.js +214 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesOverview/constants.js +7 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.js +14 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputesTable.js +178 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/constants.js +4 -0
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +6 -6
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +1 -1
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +9 -9
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +138 -122
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.js +23 -0
- package/dist/es/components/external/TransactionDetails/components/constants.js +17 -21
- package/dist/es/components/external/TransactionDetails/components/utils.js +10 -16
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +16 -12
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +7 -2
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +12 -12
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +63 -37
- package/dist/es/components/internal/Button/constants.js +10 -9
- package/dist/es/components/internal/Button/hooks/useButton.js +43 -33
- package/dist/es/components/internal/Card/Card.js +61 -31
- package/dist/es/components/internal/Card/constants.js +11 -8
- package/dist/es/components/internal/DataGrid/DataGrid.js +45 -42
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +41 -34
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +24 -23
- package/dist/es/components/internal/FormFields/FileInput/FileInput.js +53 -0
- package/dist/es/components/internal/FormFields/FileInput/components/Dropzone.js +142 -0
- package/dist/es/components/internal/FormFields/FileInput/components/UploadedFile.js +37 -0
- package/dist/es/components/internal/FormFields/FileInput/constants.js +12 -0
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +21 -20
- package/dist/es/components/internal/FormFields/Select/Select.js +49 -47
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +34 -32
- package/dist/es/components/internal/Icon/Icon.js +8 -7
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +9 -9
- package/dist/es/components/internal/Popover/Popover.js +61 -48
- package/dist/es/components/internal/Popover/PopoverContainer.js +36 -0
- package/dist/es/components/internal/Popover/utils/utils.js +23 -23
- package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +22 -22
- package/dist/es/components/internal/StatusBox/StatusBox.js +18 -0
- package/dist/es/components/internal/StatusBox/constants.js +11 -0
- package/dist/es/components/internal/StatusBox/useStatusBox.js +17 -0
- package/dist/es/components/internal/StatusBox/utils.js +9 -0
- package/dist/es/components/internal/Tabs/Tabs.js +47 -0
- package/dist/es/components/internal/Tag/Tag.js +7 -7
- package/dist/es/components/utils/disputes/actionNeeded.js +26 -0
- package/dist/es/components/utils/disputes/constants.js +45 -0
- package/dist/es/components/utils/disputes/getDisputesErrorMessage.js +36 -0
- package/dist/es/config/disputes/defenseDocumentConfig.json.js +233 -0
- package/dist/es/config/disputes/defenseReasonConfig.json.js +225 -0
- package/dist/es/constants/dateFormats.js +29 -15
- package/dist/es/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.js +11 -9
- package/dist/es/core/Http/http.js +14 -14
- package/dist/es/core/Http/utils.js +43 -30
- package/dist/es/core/core.js +1 -1
- package/dist/es/hooks/element/usePopoverPositioner.js +111 -78
- package/dist/es/hooks/useBalanceAccountSelection.js +33 -13
- package/dist/es/hooks/useCommitAction/useCommitAction.js +21 -21
- package/dist/es/hooks/useTabbedControl.js +61 -44
- package/dist/es/hooks/useTableColumns.js +24 -23
- package/dist/es/hooks/useTrackedRef.js +19 -0
- package/dist/es/images/icons/plus.svg.js +6 -0
- package/dist/es/index.js +30 -26
- package/dist/es/translations/da-DK.json.js +655 -167
- package/dist/es/translations/de-DE.json.js +691 -203
- package/dist/es/translations/en-US.json.js +665 -177
- package/dist/es/translations/es-ES.json.js +666 -178
- package/dist/es/translations/fi-FI.json.js +683 -195
- package/dist/es/translations/fr-FR.json.js +662 -174
- package/dist/es/translations/it-IT.json.js +691 -203
- package/dist/es/translations/nl-NL.json.js +679 -191
- package/dist/es/translations/no-NO.json.js +667 -179
- package/dist/es/translations/pt-BR.json.js +699 -211
- package/dist/es/translations/sv-SE.json.js +693 -205
- package/dist/es/utils/file/size.js +22 -0
- package/dist/es/utils/file/upload.js +15 -0
- package/dist/es-ES-D4yWVVk4.cjs +2 -0
- package/dist/es-ES-D4yWVVk4.cjs.map +1 -0
- package/dist/{external-link-CqDz5BtK.cjs → external-link-B2F_A_Cq.cjs} +2 -2
- package/dist/{external-link-CqDz5BtK.cjs.map → external-link-B2F_A_Cq.cjs.map} +1 -1
- package/dist/fi-FI-ziHSaIAM.cjs +2 -0
- package/dist/fi-FI-ziHSaIAM.cjs.map +1 -0
- package/dist/{filter-DLAt7sYb.cjs → filter-D22HZfjz.cjs} +2 -2
- package/dist/{filter-DLAt7sYb.cjs.map → filter-D22HZfjz.cjs.map} +1 -1
- package/dist/fr-FR-B-twXuu4.cjs +2 -0
- package/dist/fr-FR-B-twXuu4.cjs.map +1 -0
- package/dist/index-CmIP-V4s.cjs +12 -0
- package/dist/index-CmIP-V4s.cjs.map +1 -0
- package/dist/{info-filled-B9fmmNGT.cjs → info-filled-DChkt5PM.cjs} +2 -2
- package/dist/{info-filled-B9fmmNGT.cjs.map → info-filled-DChkt5PM.cjs.map} +1 -1
- package/dist/it-IT-CNU9GJon.cjs +2 -0
- package/dist/it-IT-CNU9GJon.cjs.map +1 -0
- package/dist/{minus-circle-outline-JkeH7g3f.cjs → minus-circle-outline-o-wMYGB7.cjs} +2 -2
- package/dist/{minus-circle-outline-JkeH7g3f.cjs.map → minus-circle-outline-o-wMYGB7.cjs.map} +1 -1
- package/dist/nl-NL-CWr5RWqD.cjs +2 -0
- package/dist/nl-NL-CWr5RWqD.cjs.map +1 -0
- package/dist/no-NO-CU-dleiK.cjs +2 -0
- package/dist/no-NO-CU-dleiK.cjs.map +1 -0
- package/dist/plus-IYFySo3s.cjs +2 -0
- package/dist/plus-IYFySo3s.cjs.map +1 -0
- package/dist/{plus-circle-outline-Cmz1Lb00.cjs → plus-circle-outline-CoI6-j9k.cjs} +2 -2
- package/dist/{plus-circle-outline-Cmz1Lb00.cjs.map → plus-circle-outline-CoI6-j9k.cjs.map} +1 -1
- package/dist/pt-BR-DJUsdwmX.cjs +2 -0
- package/dist/pt-BR-DJUsdwmX.cjs.map +1 -0
- package/dist/{square-Bow_5TP1.cjs → square-DN8rGu6b.cjs} +2 -2
- package/dist/{square-Bow_5TP1.cjs.map → square-DN8rGu6b.cjs.map} +1 -1
- package/dist/sv-SE-Btn3_SAD.cjs +2 -0
- package/dist/sv-SE-Btn3_SAD.cjs.map +1 -0
- package/dist/{trash-can-DLEmgXUG.cjs → trash-can-DIrL2Xi0.cjs} +2 -2
- package/dist/{trash-can-DLEmgXUG.cjs.map → trash-can-DIrL2Xi0.cjs.map} +1 -1
- package/dist/types/components/external/DisputeManagement/DisputeManagementElement.d.ts +10 -0
- package/dist/types/components/external/DisputeManagement/DisputeManagementElement.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.d.ts +3 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.d.ts +2 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.d.ts +8 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.d.ts +15 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/constants.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/types.d.ts +6 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/types.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeData.d.ts +12 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeData.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.d.ts +12 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/constants.d.ts +28 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/context/dispute/context.d.ts +31 -0
- package/dist/types/components/external/DisputeManagement/context/dispute/context.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/index.d.ts +3 -0
- package/dist/types/components/external/DisputeManagement/index.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/types.d.ts +18 -0
- package/dist/types/components/external/DisputeManagement/types.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/utils/index.d.ts +9 -0
- package/dist/types/components/external/DisputeManagement/utils/index.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/DisputesOverviewElement.d.ts +9 -0
- package/dist/types/components/external/DisputesOverview/DisputesOverviewElement.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.d.ts +17 -0
- package/dist/types/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.d.ts +4 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.d.ts +9 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/constants.d.ts +5 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.d.ts +7 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputesTable.d.ts +49 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputesTable.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/constants.d.ts +2 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/index.d.ts +2 -0
- package/dist/types/components/external/DisputesOverview/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.d.ts +8 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.d.ts.map +1 -0
- package/dist/types/components/external/TransactionDetails/components/utils.d.ts +0 -2
- package/dist/types/components/external/TransactionDetails/components/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/hooks/useTransaction/useTransaction.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +0 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +4 -4
- package/dist/types/components/external/index.d.ts +2 -0
- package/dist/types/components/external/index.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts +4 -2
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +91 -2
- 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/Button/hooks/useButton.d.ts +1 -0
- package/dist/types/components/internal/Button/hooks/useButton.d.ts.map +1 -1
- package/dist/types/components/internal/Button/types.d.ts +1 -0
- package/dist/types/components/internal/Button/types.d.ts.map +1 -1
- package/dist/types/components/internal/Card/Card.d.ts +2 -1
- package/dist/types/components/internal/Card/Card.d.ts.map +1 -1
- package/dist/types/components/internal/Card/constants.d.ts +3 -0
- package/dist/types/components/internal/Card/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Card/types.d.ts +2 -0
- package/dist/types/components/internal/Card/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +1 -0
- 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/DataOverviewError/DataOverviewError.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/FormFields/FileInput/FileInput.d.ts +7 -0
- package/dist/types/components/internal/FormFields/FileInput/FileInput.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/components/Dropzone.d.ts +7 -0
- package/dist/types/components/internal/FormFields/FileInput/components/Dropzone.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/components/UploadedFile.d.ts +5 -0
- package/dist/types/components/internal/FormFields/FileInput/components/UploadedFile.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/constants.d.ts +10 -0
- package/dist/types/components/internal/FormFields/FileInput/constants.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/types.d.ts +29 -0
- package/dist/types/components/internal/FormFields/FileInput/types.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +4 -2
- package/dist/types/components/internal/FormFields/Select/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts +2 -2
- 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/Popover/Popover.d.ts +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts +6 -0
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts.map +1 -0
- package/dist/types/components/internal/Popover/types.d.ts +6 -1
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/utils/utils.d.ts +1 -1
- package/dist/types/components/internal/Popover/utils/utils.d.ts.map +1 -1
- package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/types/components/internal/SegmentedControl/types.d.ts +6 -6
- package/dist/types/components/internal/SegmentedControl/types.d.ts.map +1 -1
- package/dist/types/components/internal/StatusBox/StatusBox.d.ts +22 -0
- package/dist/types/components/internal/StatusBox/StatusBox.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/constants.d.ts +9 -0
- package/dist/types/components/internal/StatusBox/constants.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/useStatusBox.d.ts +16 -0
- package/dist/types/components/internal/StatusBox/useStatusBox.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/utils.d.ts +9 -0
- package/dist/types/components/internal/StatusBox/utils.d.ts.map +1 -0
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
- package/dist/types/components/internal/Tabs/Tabs.d.ts +5 -0
- package/dist/types/components/internal/Tabs/Tabs.d.ts.map +1 -0
- package/dist/types/components/internal/Tabs/types.d.ts +14 -0
- package/dist/types/components/internal/Tabs/types.d.ts.map +1 -0
- package/dist/types/components/internal/Tag/Tag.d.ts +2 -1
- package/dist/types/components/internal/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/internal/Tag/types.d.ts +1 -1
- package/dist/types/components/internal/Tag/types.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +9 -1
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/disputes/actionNeeded.d.ts +16 -0
- package/dist/types/components/utils/disputes/actionNeeded.d.ts.map +1 -0
- package/dist/types/components/utils/disputes/constants.d.ts +43 -0
- package/dist/types/components/utils/disputes/constants.d.ts.map +1 -0
- package/dist/types/components/utils/disputes/getDisputesErrorMessage.d.ts +5 -0
- package/dist/types/components/utils/disputes/getDisputesErrorMessage.d.ts.map +1 -0
- package/dist/types/components/utils/getErrorMessage.d.ts.map +1 -1
- package/dist/types/constants/dateFormats.d.ts +3 -0
- package/dist/types/constants/dateFormats.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/context.d.ts +483 -2
- package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts +966 -4
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts +483 -2
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/types.d.ts +4 -1
- package/dist/types/core/ConfigContext/types.d.ts.map +1 -1
- package/dist/types/core/Http/http.d.ts.map +1 -1
- package/dist/types/core/Http/utils.d.ts +3 -0
- package/dist/types/core/Http/utils.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +6 -3
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useBalanceAccountSelection.d.ts +3 -2
- package/dist/types/hooks/useBalanceAccountSelection.d.ts.map +1 -1
- package/dist/types/hooks/useCommitAction/useCommitAction.d.ts.map +1 -1
- package/dist/types/hooks/useCustomColumnsData.d.ts +1 -1
- package/dist/types/hooks/useDefaultOverviewFilterParams.d.ts +1 -1
- package/dist/types/hooks/useDefaultOverviewFilterParams.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/index.d.ts +2 -0
- package/dist/types/hooks/useModalDetails/index.d.ts.map +1 -0
- package/dist/types/hooks/useTabbedControl.d.ts +8 -9
- package/dist/types/hooks/useTabbedControl.d.ts.map +1 -1
- package/dist/types/hooks/useTableColumns.d.ts +4 -2
- package/dist/types/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/types/hooks/useTrackedRef.d.ts +9 -0
- package/dist/types/hooks/useTrackedRef.d.ts.map +1 -0
- package/dist/types/translations/index.d.ts +488 -0
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/endpoints.d.ts +3 -2
- package/dist/types/types/api/endpoints.d.ts.map +1 -1
- package/dist/types/types/api/models/disputes.d.ts +12 -0
- package/dist/types/types/api/models/disputes.d.ts.map +1 -0
- package/dist/types/types/api/models/transactions.d.ts +3 -0
- package/dist/types/types/api/models/transactions.d.ts.map +1 -1
- package/dist/types/types/api/resources/DisputesResource.d.ts +575 -0
- package/dist/types/types/api/resources/DisputesResource.d.ts.map +1 -0
- package/dist/types/types/api/resources/SetupResource.d.ts +10 -10
- package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
- package/dist/{upload-DWOtVcWc.cjs → upload-deLJWgy1.cjs} +2 -2
- package/dist/{upload-DWOtVcWc.cjs.map → upload-deLJWgy1.cjs.map} +1 -1
- package/dist/{warning-DNUR39rT.cjs → warning-DhLYlOp4.cjs} +2 -2
- package/dist/{warning-DNUR39rT.cjs.map → warning-DhLYlOp4.cjs.map} +1 -1
- package/dist/{warning-filled-qxDqTfWV.cjs → warning-filled-B9O_Hc7Y.cjs} +2 -2
- package/dist/{warning-filled-qxDqTfWV.cjs.map → warning-filled-B9O_Hc7Y.cjs.map} +1 -1
- package/package.json +2 -2
- package/dist/da-DK-qSZWEjaU.cjs +0 -2
- package/dist/da-DK-qSZWEjaU.cjs.map +0 -1
- package/dist/de-DE-Dngq7NwF.cjs +0 -2
- package/dist/de-DE-Dngq7NwF.cjs.map +0 -1
- package/dist/es/components/external/TransactionDetails/components/details/TransactionStatusBox.js +0 -53
- package/dist/es/style/index.scss.js +0 -1
- package/dist/es-ES-Bjddx94n.cjs +0 -2
- package/dist/es-ES-Bjddx94n.cjs.map +0 -1
- package/dist/fi-FI-CNpmToDG.cjs +0 -2
- package/dist/fi-FI-CNpmToDG.cjs.map +0 -1
- package/dist/fr-FR-CUUHB8JU.cjs +0 -2
- package/dist/fr-FR-CUUHB8JU.cjs.map +0 -1
- package/dist/index-DbNUA_xB.cjs +0 -12
- package/dist/index-DbNUA_xB.cjs.map +0 -1
- package/dist/it-IT-B-E80zCo.cjs +0 -2
- package/dist/it-IT-B-E80zCo.cjs.map +0 -1
- package/dist/nl-NL--CGhOJhH.cjs +0 -2
- package/dist/nl-NL--CGhOJhH.cjs.map +0 -1
- package/dist/no-NO-D0UNXgzr.cjs +0 -2
- package/dist/no-NO-D0UNXgzr.cjs.map +0 -1
- package/dist/pt-BR-Du4cDUgf.cjs +0 -2
- package/dist/pt-BR-Du4cDUgf.cjs.map +0 -1
- package/dist/sv-SE-C92aO-iv.cjs +0 -2
- package/dist/sv-SE-C92aO-iv.cjs.map +0 -1
- package/dist/types/components/external/TransactionDetails/components/details/TransactionStatusBox.d.ts +0 -8
- package/dist/types/components/external/TransactionDetails/components/details/TransactionStatusBox.d.ts.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'preact/compat';
|
|
2
|
+
import { DisputeDetailsCustomization } from '../../../DisputeManagement';
|
|
3
|
+
import useModalDetails from '../../../../../hooks/useModalDetails';
|
|
4
|
+
import { IDisputeStatusGroup } from '../../../../../types/api/models/disputes';
|
|
5
|
+
import './DisputeManagementModal.scss';
|
|
6
|
+
export interface DisputeManagementModalProps {
|
|
7
|
+
setModalVisible: (modalVisible: boolean) => void;
|
|
8
|
+
refreshDisputesList: (statusGroup?: IDisputeStatusGroup) => void;
|
|
9
|
+
selectedDetail: ReturnType<typeof useModalDetails>['selectedDetail'];
|
|
10
|
+
resetDetails: ReturnType<typeof useModalDetails>['resetDetails'];
|
|
11
|
+
dataCustomization?: {
|
|
12
|
+
details: DisputeDetailsCustomization;
|
|
13
|
+
};
|
|
14
|
+
onContactSupport?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const DisputeManagementModal: FC<DisputeManagementModalProps>;
|
|
17
|
+
//# sourceMappingURL=DisputeManagementModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeManagementModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAqB,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,eAAe,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,+BAA+B,CAAC;AAEvC,MAAM,WAAW,2BAA2B;IACxC,eAAe,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,mBAAmB,EAAE,CAAC,WAAW,CAAC,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACrE,YAAY,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,cAAc,CAAC,CAAC;IACjE,iBAAiB,CAAC,EAAE;QAAE,OAAO,EAAE,2BAA2B,CAAA;KAAE,CAAC;IAC7D,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA4DlE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DisputeOverviewComponentProps, ExternalUIComponentProps } from '../../../../types';
|
|
2
|
+
declare function DisputesOverviewContainer({ ...props }: ExternalUIComponentProps<DisputeOverviewComponentProps>): import("preact").JSX.Element;
|
|
3
|
+
export default DisputesOverviewContainer;
|
|
4
|
+
//# sourceMappingURL=DisputesContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputesContainer.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAG5F,iBAAS,yBAAyB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,CAAC,6BAA6B,CAAC,gCAcvG;AACD,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
import { IBalanceAccountBase } from '../../../../../types';
|
|
3
|
+
import { DisputeOverviewComponentProps, ExternalUIComponentProps } from '../../../../types';
|
|
4
|
+
import './DisputesOverview.scss';
|
|
5
|
+
export declare const DisputesOverview: ({ onFiltersChanged, balanceAccounts, allowLimitSelection, preferredLimit, isLoadingBalanceAccount, onContactSupport, hideTitle, onRecordSelection, showDetails, dataCustomization, }: ExternalUIComponentProps<DisputeOverviewComponentProps & {
|
|
6
|
+
balanceAccounts: IBalanceAccountBase[] | undefined;
|
|
7
|
+
isLoadingBalanceAccount: boolean;
|
|
8
|
+
}>) => h.JSX.Element;
|
|
9
|
+
//# sourceMappingURL=DisputesOverview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputesOverview.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAc3D,OAAO,EAAE,6BAA6B,EAAE,wBAAwB,EAAe,MAAM,mBAAmB,CAAC;AAOzG,OAAO,yBAAyB,CAAC;AA6DjC,eAAO,MAAM,gBAAgB;qBAY0B,mBAAmB,EAAE,GAAG,SAAS;6BAA2B,OAAO;oBA0OzH,CAAC"}
|
package/dist/types/components/external/DisputesOverview/components/DisputesOverview/constants.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const BASE_CLASS = "adyen-pe-disputes-overview";
|
|
2
|
+
export declare const BASE_XS_CLASS = "adyen-pe-disputes-overview--xs";
|
|
3
|
+
export declare const TABS_CONTAINER_CLASS = "adyen-pe-disputes-overview__tabs-container";
|
|
4
|
+
export declare const EARLIEST_DISPUTES_SINCE_DATE = "2025-05-22T00:00:00.000Z";
|
|
5
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesOverview/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,+BAA+B,CAAC;AACvD,eAAO,MAAM,aAAa,mCAAsB,CAAC;AACjD,eAAO,MAAM,oBAAoB,+CAAkC,CAAC;AAEpE,eAAO,MAAM,4BAA4B,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IDispute, IDisputeListItem } from '../../../../../types/api/models/disputes';
|
|
2
|
+
import { PropsWithChildren } from 'preact/compat';
|
|
3
|
+
declare const DisputeStatusTag: ({ dispute }: PropsWithChildren<{
|
|
4
|
+
dispute: IDisputeListItem | IDispute;
|
|
5
|
+
}>) => import("preact/compat").JSX.Element;
|
|
6
|
+
export default DisputeStatusTag;
|
|
7
|
+
//# sourceMappingURL=DisputeStatusTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeStatusTag.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAItF,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,QAAA,MAAM,gBAAgB;aAA8C,gBAAgB,GAAG,QAAQ;0CAW9F,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputesTable.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FC } from 'preact/compat';
|
|
2
|
+
import AdyenPlatformExperienceError from '../../../../../core/Errors/AdyenPlatformExperienceError';
|
|
3
|
+
import { PaginationProps, WithPaginationLimitSelection } from '../../../../internal/Pagination/types';
|
|
4
|
+
import { CustomColumn } from '../../../../types';
|
|
5
|
+
import { StringWithAutocompleteOptions } from '../../../../../utils/types';
|
|
6
|
+
import { IDisputeListItem, IDisputeStatusGroup } from '../../../../../types/api/models/disputes';
|
|
7
|
+
import type { IBalanceAccountBase } from '../../../../../types';
|
|
8
|
+
import './DisputesTable.scss';
|
|
9
|
+
export type DisputesTableFields = keyof typeof FIELD_KEYS;
|
|
10
|
+
export declare const FIELD_KEYS: {
|
|
11
|
+
readonly status: "disputes.status";
|
|
12
|
+
readonly respondBy: "disputes.respondBy";
|
|
13
|
+
readonly createdAt: "disputes.openedOn";
|
|
14
|
+
readonly paymentMethod: "disputes.paymentMethod";
|
|
15
|
+
readonly disputeReason: "disputes.disputeReason";
|
|
16
|
+
readonly reason: "disputes.reason";
|
|
17
|
+
readonly currency: "disputes.currency";
|
|
18
|
+
readonly disputedAmount: "disputes.disputedAmount";
|
|
19
|
+
readonly totalPaymentAmount: "disputes.totalPaymentAmount";
|
|
20
|
+
};
|
|
21
|
+
export declare const EMPTY_TABLE_MESSAGE_KEYS: {
|
|
22
|
+
readonly CHARGEBACKS: {
|
|
23
|
+
readonly title: "disputes.empty.noChargebacksFound";
|
|
24
|
+
readonly message: "disputes.empty.tryDifferentSearchOrCheckAgainLaterForNewChargebacks";
|
|
25
|
+
};
|
|
26
|
+
readonly FRAUD_ALERTS: {
|
|
27
|
+
readonly title: "disputes.empty.noFraudAlertsFound";
|
|
28
|
+
readonly message: "disputes.empty.tryDifferentSearchOrCheckAgainLaterForNewFraudAlerts";
|
|
29
|
+
};
|
|
30
|
+
readonly ONGOING_AND_CLOSED: {
|
|
31
|
+
readonly title: "disputes.empty.noDisputesFound";
|
|
32
|
+
readonly message: "disputes.empty.tryDifferentSearchOrCheckAgainLaterForNewDisputes";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const FIELDS: readonly ("status" | "reason" | "currency" | "paymentMethod" | "createdAt" | "respondBy" | "disputeReason" | "disputedAmount" | "totalPaymentAmount")[];
|
|
36
|
+
export interface DisputesTableProps extends WithPaginationLimitSelection<PaginationProps> {
|
|
37
|
+
balanceAccountId: string | undefined;
|
|
38
|
+
loading: boolean;
|
|
39
|
+
error?: AdyenPlatformExperienceError;
|
|
40
|
+
onContactSupport?: () => void;
|
|
41
|
+
showPagination: boolean;
|
|
42
|
+
data: IDisputeListItem[] | undefined;
|
|
43
|
+
activeBalanceAccount?: IBalanceAccountBase;
|
|
44
|
+
onRowClick: (value: IDisputeListItem) => void;
|
|
45
|
+
customColumns?: CustomColumn<StringWithAutocompleteOptions<DisputesTableFields>>[];
|
|
46
|
+
statusGroup: IDisputeStatusGroup;
|
|
47
|
+
}
|
|
48
|
+
export declare const DisputesTable: FC<DisputesTableProps>;
|
|
49
|
+
//# sourceMappingURL=DisputesTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputesTable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesTable/DisputesTable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAInC,OAAO,4BAA4B,MAAM,yDAAyD,CAAC;AAYnG,OAAO,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAItG,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAG3E,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAEjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAIhE,OAAO,sBAAsB,CAAC;AAE9B,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,UAAU,CAAC;AAE1D,eAAO,MAAM,UAAU;;;;;;;;;;CAU4B,CAAC;AAEpD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAI+D,CAAC;AAErG,eAAO,MAAM,MAAM,yJAA4D,CAAC;AAUhF,MAAM,WAAW,kBAAmB,SAAQ,4BAA4B,CAAC,eAAe,CAAC;IACrF,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,4BAA4B,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,gBAAgB,EAAE,GAAG,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,YAAY,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;IACnF,WAAW,EAAE,mBAAmB,CAAC;CACpC;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsLhD,CAAC"}
|
package/dist/types/components/external/DisputesOverview/components/DisputesTable/constants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/DisputesOverview/components/DisputesTable/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/DisputesOverview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDataContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAa,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactionDataContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAa,MAAM,sBAAsB,CAAC;AAkB3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAkBxD,OAAO,wBAAwB,CAAC;AAIhC,MAAM,WAAW,2BAA2B;IACxC,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAE9D,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;IAC7C,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;CACjE;AAqCD,eAAO,MAAM,sBAAsB,wEAAyE,2BAA2B,wCAqOtI,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ITransaction } from '../../../../../types';
|
|
2
|
+
import { RefundedState } from '../../context/types';
|
|
3
|
+
declare const TransactionStatusTag: ({ transaction, refundedState }: {
|
|
4
|
+
transaction: ITransaction;
|
|
5
|
+
refundedState: RefundedState;
|
|
6
|
+
}) => import("preact").JSX.Element;
|
|
7
|
+
export default TransactionStatusTag;
|
|
8
|
+
//# sourceMappingURL=TransactionStatusTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionStatusTag.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAc,MAAM,qBAAqB,CAAC;AAIhE,QAAA,MAAM,oBAAoB;iBAAmD,YAAY;mBAAiB,aAAa;kCAuBtH,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -3,7 +3,5 @@ import { TagVariant } from '../../../internal/Tag/types';
|
|
|
3
3
|
import type { TransactionDetailData } from '../types';
|
|
4
4
|
export declare const getAmountStyleForTransaction: (transaction: TransactionDetailData) => "pending" | "error" | "default";
|
|
5
5
|
export declare const getTagVariantForTransaction: (transaction: TransactionDetailData) => TagVariant.DEFAULT | TagVariant.ERROR | TagVariant.SUCCESS;
|
|
6
|
-
export declare const getPaymentMethodTypeForTransaction: (transaction: TransactionDetailData) => string | null;
|
|
7
|
-
export declare const getDisplayablePaymentMethodForTransaction: (transaction: TransactionDetailData) => string | undefined;
|
|
8
6
|
export declare const getRefundTypeForTransaction: (transaction: TransactionDetailData) => RefundType | undefined;
|
|
9
7
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionDetails/components/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,4BAA4B,gBAAiB,qBAAqB,oCAS9E,CAAC;AAEF,eAAO,MAAM,2BAA2B,gBAAiB,qBAAqB,+DAS7E,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/external/TransactionDetails/components/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,4BAA4B,gBAAiB,qBAAqB,oCAS9E,CAAC;AAEF,eAAO,MAAM,2BAA2B,gBAAiB,qBAAqB,+DAS7E,CAAC;AAEF,eAAO,MAAM,2BAA2B,gBAAiB,qBAAqB,2BAU7E,CAAC"}
|
package/dist/types/components/external/TransactionDetails/hooks/useTransaction/useTransaction.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const useTransaction: (initialTransaction: TransactionDataContent
|
|
|
11
11
|
bankAccount?: {
|
|
12
12
|
accountNumberLastFourDigits: string;
|
|
13
13
|
} | undefined;
|
|
14
|
-
category: "Other" | "
|
|
14
|
+
category: "Other" | "Chargeback" | "Fee" | "ATM" | "Capital" | "Correction" | "Payment" | "Refund" | "Transfer";
|
|
15
15
|
createdAt: string;
|
|
16
16
|
deductedAmount?: {
|
|
17
17
|
currency: string;
|
|
@@ -12,7 +12,6 @@ export interface DetailsWithExtraData<T extends DetailsDataCustomizationObject<a
|
|
|
12
12
|
dataCustomization?: {
|
|
13
13
|
details?: T;
|
|
14
14
|
};
|
|
15
|
-
extraDetails?: Record<string, any>;
|
|
16
15
|
}
|
|
17
16
|
export type DetailsComponentProps = StrictUnion<DetailsWithoutIdProps | DetailsWithIdProps>;
|
|
18
17
|
export type TransactionDetailData = ITransactionWithDetails & BalanceAccountProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzF,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAElF,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,qBAAqB,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,+BAA+B,GAAG,8BAA8B,CAAC,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAEnJ,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,8BAA8B,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACzF,iBAAiB,CAAC,EAAE;QAChB,OAAO,CAAC,EAAE,CAAC,CAAC;KACf,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/external/TransactionDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzF,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAElF,MAAM,WAAW,qBAAqB;IAClC,IAAI,EAAE,qBAAqB,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAC/B,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,+BAA+B,GAAG,8BAA8B,CAAC,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAEnJ,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,8BAA8B,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACzF,iBAAiB,CAAC,EAAE;QAChB,OAAO,CAAC,EAAE,CAAC,CAAC;KACf,CAAC;CACL;AAED,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,GAAG,kBAAkB,CAAC,CAAC;AAE5F,MAAM,MAAM,qBAAqB,GAAG,uBAAuB,GAAG,mBAAmB,CAAC;AAElF,MAAM,WAAW,mBAAmB;IAChC,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACxC;AAED,MAAM,WAAW,oBAAoB;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,qBAAqB,GAAG;QAAE,SAAS,CAAC,EAAE,SAAS,EAAE,CAAA;KAAE,CAAC;IAClE,iBAAiB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,8BAA8B,CAAC,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,CAAA;KAAE,CAAC;IAEvI,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC;CAChD;AAED,QAAA,MAAM,OAAO,0QAAsC,CAAC;AAEpD,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC,+BAA+B,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { SelectProps } from '../../../../internal/FormFields/Select/types';
|
|
|
2
2
|
import useMultiSelectionFilter from './useMultiSelectionFilter';
|
|
3
3
|
declare const MultiSelectionFilter: <FilterParam extends string = string, FilterValue extends string = string>({ placeholder, selection, selectionOptions, updateSelection, }: {
|
|
4
4
|
readonly selection: FilterValue[];
|
|
5
|
-
readonly selectionOptions: readonly import("../../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
5
|
+
readonly selectionOptions: readonly import("../../../../internal/FormFields/Select/types").SelectItem<FilterValue>[] | undefined;
|
|
6
6
|
readonly updateSelection: ({ target }: any) => void;
|
|
7
7
|
} & Pick<SelectProps<any>, "placeholder">) => import("preact/compat").JSX.Element | null;
|
|
8
8
|
export default MultiSelectionFilter;
|
|
@@ -6,6 +6,7 @@ export type UseMultiSelectionFilterConfig<FilterParam extends string = string, F
|
|
|
6
6
|
defaultFilters?: UseMultiSelectionFilterConfig<FilterParam, FilterValue>['filters'];
|
|
7
7
|
filterParam: FilterParam;
|
|
8
8
|
filterValues?: SelectionOptionsList<FilterValue>;
|
|
9
|
+
mapFilterOptionName?: (id: FilterValue) => string;
|
|
9
10
|
} & Partial<Pick<UsePaginatedRecords<any, string, TransactionsOverviewMultiSelectionFilterParam>, 'filters' | 'updateFilters'>>;
|
|
10
11
|
export type UseMultiSelectionFilterConfigWithoutValues<FilterParam extends string = string, FilterValue extends string = string> = Omit<UseMultiSelectionFilterConfig<FilterParam, FilterValue>, 'filterValues'>;
|
|
11
12
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,6CAA6C,EAAE,MAAM,aAAa,CAAC;AAE5E,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AAEjF,MAAM,MAAM,6CAA6C,GAAG,CAAC,OAAO,6CAA6C,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3H,MAAM,MAAM,6BAA6B,CAAC,WAAW,SAAS,MAAM,GAAG,MAAM,EAAE,WAAW,SAAS,MAAM,GAAG,MAAM,IAAI;IAClH,cAAc,CAAC,EAAE,6BAA6B,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IACpF,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,6CAA6C,EAAE,MAAM,aAAa,CAAC;AAE5E,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AAEjF,MAAM,MAAM,6CAA6C,GAAG,CAAC,OAAO,6CAA6C,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3H,MAAM,MAAM,6BAA6B,CAAC,WAAW,SAAS,MAAM,GAAG,MAAM,EAAE,WAAW,SAAS,MAAM,GAAG,MAAM,IAAI;IAClH,cAAc,CAAC,EAAE,6BAA6B,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC;IACpF,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,CAAC,EAAE,oBAAoB,CAAC,WAAW,CAAC,CAAC;IACjD,mBAAmB,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,MAAM,CAAC;CACrD,GAAG,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,6CAA6C,CAAC,EAAE,SAAS,GAAG,eAAe,CAAC,CAAC,CAAC;AAEhI,MAAM,MAAM,0CAA0C,CAAC,WAAW,SAAS,MAAM,GAAG,MAAM,EAAE,WAAW,SAAS,MAAM,GAAG,MAAM,IAAI,IAAI,CACnI,6BAA6B,CAAC,WAAW,EAAE,WAAW,CAAC,EACvD,cAAc,CACjB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { SelectionOptionsList, UseMultiSelectionFilterConfig, UseMultiSelectionFilterConfigWithoutValues } from './types';
|
|
2
|
-
export declare const useMultiSelectionFilter: <FilterParam extends string = string, FilterValue extends string = string>({ filterParam, filterValues, filters, defaultFilters, updateFilters, }: UseMultiSelectionFilterConfig<FilterParam, FilterValue>) => {
|
|
2
|
+
export declare const useMultiSelectionFilter: <FilterParam extends string = string, FilterValue extends string = string>({ filterParam, filterValues, filters, defaultFilters, updateFilters, mapFilterOptionName, }: UseMultiSelectionFilterConfig<FilterParam, FilterValue>) => {
|
|
3
3
|
readonly selection: FilterValue[];
|
|
4
|
-
readonly selectionOptions: readonly import("../../../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
4
|
+
readonly selectionOptions: readonly import("../../../../../internal/FormFields/Select/types").SelectItem<FilterValue>[] | undefined;
|
|
5
5
|
readonly updateSelection: ({ target }: any) => void;
|
|
6
6
|
};
|
|
7
7
|
export declare const useMultiSelectionFilterWithoutValues: <FilterParam extends string = string, FilterValue extends string = string>(config: UseMultiSelectionFilterConfigWithoutValues<FilterParam, FilterValue>) => {
|
|
8
8
|
readonly filterValues: SelectionOptionsList<FilterValue> | undefined;
|
|
9
9
|
readonly updateFilterValues: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<SelectionOptionsList<FilterValue> | undefined>>;
|
|
10
10
|
readonly selection: FilterValue[];
|
|
11
|
-
readonly selectionOptions: readonly import("../../../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
11
|
+
readonly selectionOptions: readonly import("../../../../../internal/FormFields/Select/types").SelectItem<FilterValue>[] | undefined;
|
|
12
12
|
readonly updateSelection: ({ target }: any) => void;
|
|
13
13
|
};
|
|
14
14
|
export default useMultiSelectionFilter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMultiSelectionFilter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,0CAA0C,EAAE,MAAM,SAAS,CAAC;AAE/H,eAAO,MAAM,uBAAuB;;;
|
|
1
|
+
{"version":3,"file":"useMultiSelectionFilter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,0CAA0C,EAAE,MAAM,SAAS,CAAC;AAE/H,eAAO,MAAM,uBAAuB;;;2CAkBf,GAAG;CAOvB,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;2CAT5B,GAAG;CAevB,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SelectItem } from '../../../../../internal/FormFields/Select/types';
|
|
2
2
|
import { SelectionOptionsList } from './types';
|
|
3
|
-
export declare const selectionOptionsFor: <T extends string = string>(list: SelectionOptionsList<T
|
|
3
|
+
export declare const selectionOptionsFor: <T extends string = string>(list: SelectionOptionsList<T>, mapOptionName?: ((id: T) => string | undefined) | undefined) => readonly SelectItem<T>[];
|
|
4
4
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,mBAAmB,yFAAyF,MAAM,GAAG,SAAS,0CAG1I,CAAC"}
|
|
@@ -2,18 +2,18 @@ import { ITransaction } from '../../../../types';
|
|
|
2
2
|
import { TransactionsOverviewMultiSelectionFilterParam, UseMultiSelectionFilterConfig } from '../components/MultiSelectionFilter';
|
|
3
3
|
declare const useTransactionsOverviewMultiSelectionFilters: (filtersConfig: Pick<UseMultiSelectionFilterConfig<TransactionsOverviewMultiSelectionFilterParam>, 'filters' | 'updateFilters'>, currencies: ITransaction['amount']['currency'][] | undefined) => {
|
|
4
4
|
readonly categoriesFilter: {
|
|
5
|
-
readonly selection: ("Other" | "
|
|
6
|
-
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
5
|
+
readonly selection: ("Other" | "Chargeback" | "Fee" | "ATM" | "Capital" | "Correction" | "Payment" | "Refund" | "Transfer")[];
|
|
6
|
+
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem<"Other" | "Chargeback" | "Fee" | "ATM" | "Capital" | "Correction" | "Payment" | "Refund" | "Transfer">[] | undefined;
|
|
7
7
|
readonly updateSelection: ({ target }: any) => void;
|
|
8
8
|
};
|
|
9
9
|
readonly currenciesFilter: {
|
|
10
10
|
readonly selection: string[];
|
|
11
|
-
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
11
|
+
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem<string>[] | undefined;
|
|
12
12
|
readonly updateSelection: ({ target }: any) => void;
|
|
13
13
|
};
|
|
14
14
|
readonly statusesFilter: {
|
|
15
15
|
readonly selection: ("Booked" | "Pending" | "Reversed")[];
|
|
16
|
-
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem[] | undefined;
|
|
16
|
+
readonly selectionOptions: readonly import("../../../internal/FormFields/Select/types").SelectItem<"Booked" | "Pending" | "Reversed">[] | undefined;
|
|
17
17
|
readonly updateSelection: ({ target }: any) => void;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -3,14 +3,16 @@ import AdyenPlatformExperienceError from '../../../../core/Errors/AdyenPlatformE
|
|
|
3
3
|
import { EndpointName } from '../../../../types/api/endpoints';
|
|
4
4
|
import './DownloadButton.scss';
|
|
5
5
|
interface DownloadButtonProps {
|
|
6
|
-
|
|
6
|
+
requestParams: any;
|
|
7
|
+
iconButton?: boolean;
|
|
7
8
|
endpointName: EndpointName;
|
|
8
9
|
className?: string;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
onDownloadRequested?: () => void;
|
|
11
12
|
setError?: (error?: AdyenPlatformExperienceError) => any;
|
|
12
13
|
errorDisplay?: VNode<any>;
|
|
14
|
+
errorMessage?: (error: any) => VNode<any>;
|
|
13
15
|
}
|
|
14
|
-
declare function DownloadButton({ className, disabled, endpointName,
|
|
16
|
+
declare function DownloadButton({ className, disabled, endpointName, requestParams, setError, errorDisplay, onDownloadRequested, iconButton, errorMessage, }: DownloadButtonProps): import("preact").JSX.Element;
|
|
15
17
|
export default DownloadButton;
|
|
16
18
|
//# sourceMappingURL=DownloadButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/DownloadButton/DownloadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAG/B,OAAO,4BAA4B,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,uBAAuB,CAAC;AAE/B,UAAU,mBAAmB;IACzB,
|
|
1
|
+
{"version":3,"file":"DownloadButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/DownloadButton/DownloadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAG/B,OAAO,4BAA4B,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,uBAAuB,CAAC;AAE/B,UAAU,mBAAmB;IACzB,aAAa,EAAE,GAAG,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,4BAA4B,KAAK,GAAG,CAAC;IACzD,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,KAAK,CAAC,GAAG,CAAC,CAAC;CAC7C;AAmBD,iBAAS,cAAc,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,UAAkB,EAClB,YAAY,GACf,EAAE,mBAAmB,gCAwErB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -86,7 +86,7 @@ declare const useDownload: (endpointName: EndpointName, queryParam?: any, enable
|
|
|
86
86
|
bankAccount?: {
|
|
87
87
|
accountNumberLastFourDigits: string;
|
|
88
88
|
} | undefined;
|
|
89
|
-
category: "Other" | "
|
|
89
|
+
category: "Other" | "Chargeback" | "Fee" | "ATM" | "Capital" | "Correction" | "Payment" | "Refund" | "Transfer";
|
|
90
90
|
createdAt: string;
|
|
91
91
|
deductedAmount?: {
|
|
92
92
|
currency: string;
|
|
@@ -149,7 +149,7 @@ declare const useDownload: (endpointName: EndpointName, queryParam?: any, enable
|
|
|
149
149
|
bankAccount?: {
|
|
150
150
|
accountNumberLastFourDigits: string;
|
|
151
151
|
} | undefined;
|
|
152
|
-
category: "Other" | "
|
|
152
|
+
category: "Other" | "Chargeback" | "Fee" | "ATM" | "Capital" | "Correction" | "Payment" | "Refund" | "Transfer";
|
|
153
153
|
createdAt: string;
|
|
154
154
|
deductedAmount?: {
|
|
155
155
|
currency: string;
|
|
@@ -385,6 +385,95 @@ declare const useDownload: (endpointName: EndpointName, queryParam?: any, enable
|
|
|
385
385
|
}[];
|
|
386
386
|
} | {
|
|
387
387
|
url: string;
|
|
388
|
+
} | {
|
|
389
|
+
disputePspReference: string;
|
|
390
|
+
status: string;
|
|
391
|
+
} | {
|
|
392
|
+
data: {
|
|
393
|
+
documentTypeCode: string;
|
|
394
|
+
requirementLevel?: "ONE_OR_MORE" | "REQUIRED" | "OPTIONAL" | undefined;
|
|
395
|
+
}[];
|
|
396
|
+
} | {
|
|
397
|
+
defense?: {
|
|
398
|
+
autodefended: boolean;
|
|
399
|
+
defendedOn: string;
|
|
400
|
+
defendedThroughComponent: boolean;
|
|
401
|
+
reason?: string | undefined;
|
|
402
|
+
suppliedDocuments?: string[] | undefined;
|
|
403
|
+
} | undefined;
|
|
404
|
+
dispute: {
|
|
405
|
+
acceptedDate?: string | undefined;
|
|
406
|
+
allowedDefenseReasons: string[];
|
|
407
|
+
amount: {
|
|
408
|
+
currency: string;
|
|
409
|
+
value: number;
|
|
410
|
+
};
|
|
411
|
+
createdAt: string;
|
|
412
|
+
defensibility: "DEFENDABLE" | "ACCEPTABLE" | "DEFENDABLE_EXTERNALLY" | "NOT_ACTIONABLE";
|
|
413
|
+
dueDate?: string | undefined;
|
|
414
|
+
issuerExtraData?: {
|
|
415
|
+
chargeback?: {
|
|
416
|
+
[key: string]: string;
|
|
417
|
+
} | undefined;
|
|
418
|
+
extraData?: {
|
|
419
|
+
[key: string]: string;
|
|
420
|
+
} | undefined;
|
|
421
|
+
preArbitration?: {
|
|
422
|
+
[key: string]: string;
|
|
423
|
+
} | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
pspReference: string;
|
|
426
|
+
reason: {
|
|
427
|
+
category: "REQUEST_FOR_INFORMATION" | "FRAUD" | "CONSUMER_DISPUTE" | "PROCESSING_ERROR" | "AUTHORISATION_ERROR" | "ADJUSTMENT" | "OTHER";
|
|
428
|
+
code: string;
|
|
429
|
+
title: string;
|
|
430
|
+
};
|
|
431
|
+
status: "UNDEFENDED" | "UNRESPONDED" | "RESPONDED" | "WON" | "LOST" | "ACCEPTED" | "PENDING" | "EXPIRED";
|
|
432
|
+
type: "CHARGEBACK" | "REQUEST_FOR_INFORMATION" | "NOTIFICATION_OF_FRAUD";
|
|
433
|
+
};
|
|
434
|
+
payment: {
|
|
435
|
+
balanceAccount: {
|
|
436
|
+
description: string;
|
|
437
|
+
timeZone: string;
|
|
438
|
+
};
|
|
439
|
+
isRefunded: boolean;
|
|
440
|
+
merchantReference?: string | undefined;
|
|
441
|
+
paymentMethod?: {
|
|
442
|
+
description?: string | undefined;
|
|
443
|
+
lastFourDigits?: string | undefined;
|
|
444
|
+
type: string;
|
|
445
|
+
} | undefined;
|
|
446
|
+
pspReference: string;
|
|
447
|
+
};
|
|
448
|
+
} | {
|
|
449
|
+
_links?: {
|
|
450
|
+
next: {
|
|
451
|
+
cursor: string;
|
|
452
|
+
};
|
|
453
|
+
prev: {
|
|
454
|
+
cursor: string;
|
|
455
|
+
};
|
|
456
|
+
} | undefined;
|
|
457
|
+
data?: {
|
|
458
|
+
amount: {
|
|
459
|
+
currency: string;
|
|
460
|
+
value: number;
|
|
461
|
+
};
|
|
462
|
+
createdAt: string;
|
|
463
|
+
disputePspReference: string;
|
|
464
|
+
dueDate?: string | undefined;
|
|
465
|
+
paymentMethod: {
|
|
466
|
+
description?: string | undefined;
|
|
467
|
+
lastFourDigits?: string | undefined;
|
|
468
|
+
type: string;
|
|
469
|
+
};
|
|
470
|
+
reason: {
|
|
471
|
+
category: "REQUEST_FOR_INFORMATION" | "FRAUD" | "CONSUMER_DISPUTE" | "PROCESSING_ERROR" | "AUTHORISATION_ERROR" | "ADJUSTMENT" | "OTHER";
|
|
472
|
+
code: string;
|
|
473
|
+
title: string;
|
|
474
|
+
};
|
|
475
|
+
status: "UNDEFENDED" | "UNRESPONDED" | "RESPONDED" | "WON" | "LOST" | "ACCEPTED" | "PENDING" | "EXPIRED";
|
|
476
|
+
}[] | undefined;
|
|
388
477
|
}>;
|
|
389
478
|
export default useDownload;
|
|
390
479
|
//# sourceMappingURL=useDownload.d.ts.map
|
|
@@ -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"}
|
|
@@ -10,4 +10,5 @@ export declare const BUTTON_ICON_LEFT_CLASSNAME = "adyen-pe-button__icon-left";
|
|
|
10
10
|
export declare const BUTTON_CONDENSED_CLASSNAME = "adyen-pe-button--condensed";
|
|
11
11
|
export declare const BUTTON_FULL_WIDTH_CLASSNAME = "adyen-pe-button--full-width";
|
|
12
12
|
export declare const BUTTON_LOADING_CLASSNAME = "adyen-pe-button--loading";
|
|
13
|
+
export declare const BUTTON_LABEL_CENTERED_CLASSNAME = "adyen-pe-button__label--centered";
|
|
13
14
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -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,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
|
+
{"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;AAC/E,eAAO,MAAM,+BAA+B,qCAAwC,CAAC"}
|
|
@@ -17,6 +17,7 @@ declare const useButton: (className: string, classNameModifiers: string[], defau
|
|
|
17
17
|
fullWidth?: boolean | undefined;
|
|
18
18
|
condensed?: boolean | undefined;
|
|
19
19
|
state?: "default" | "loading" | undefined;
|
|
20
|
+
align?: "center" | "left" | "right" | undefined;
|
|
20
21
|
children?: import("preact").ComponentChildren;
|
|
21
22
|
};
|
|
22
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/hooks/useButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"useButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/Button/hooks/useButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAgB7C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,QAAA,MAAM,SAAS,cACA,MAAM,sBACG,MAAM,EAAE,oBACV,MAAM,YACd,OAAO,SACV,kBAAkB,eAAe,CAAC,YAC/B,YAAY,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,YAAY,iBAAiB,CAAC,iBAAiB,CAAC;;eAKrG,GAAG;;;;;;;;;;;;;;;;;CAqDd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -11,6 +11,7 @@ export type BaseButtonProps = {
|
|
|
11
11
|
condensed?: boolean;
|
|
12
12
|
state?: 'loading' | 'default';
|
|
13
13
|
disabled?: h.JSX.Signalish<boolean | undefined>;
|
|
14
|
+
align?: 'center' | 'left' | 'right';
|
|
14
15
|
};
|
|
15
16
|
export interface AnchorButtonProps extends AnchorHTMLAttributes<HTMLAnchorElement>, BaseButtonProps {
|
|
16
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE3E,MAAM,MAAM,eAAe,GAAG;IAC1B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE3E,MAAM,MAAM,eAAe,GAAG;IAC1B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CACvC,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe;CAAG;AAEtG,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,eAAe;CAAG;AAEvG,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AAEjE,oBAAY,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,wBAAwB,6BAA6B;IACrD,IAAI,SAAS;CAChB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { JSXInternal } from 'preact/src/jsx';
|
|
1
2
|
import { CardProps } from './types';
|
|
2
3
|
import { PropsWithChildren } from 'preact/compat';
|
|
3
4
|
import './Card.scss';
|
|
4
|
-
declare const Card: ({ title, subTitle, children, footer, el, renderHeader, renderFooter, filled, noOutline, noPadding, classNameModifiers, testId, }: PropsWithChildren<CardProps>) =>
|
|
5
|
+
declare const Card: ({ title, subTitle, children, expandable, footer, el, renderHeader, renderFooter, filled, noOutline, noPadding, classNameModifiers, testId, compact, }: PropsWithChildren<CardProps>) => JSXInternal.Element;
|
|
5
6
|
export default Card;
|
|
6
7
|
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAoB7C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,aAAa,CAAC;AAIrB,QAAA,MAAM,IAAI,0JAeP,kBAAkB,SAAS,CAAC,wBAuE9B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const CARD_BASE_CLASS = "adyen-pe-card";
|
|
2
|
+
export declare const CARD_EXPANDABLE_CLASS = "adyen-pe-card--expandable";
|
|
3
|
+
export declare const CARD_TOGGLE_CLASS = "adyen-pe-card__toggle";
|
|
2
4
|
export declare const CARD_BODY = "adyen-pe-card__body";
|
|
3
5
|
export declare const CARD_HEADER = "adyen-pe-card__header";
|
|
4
6
|
export declare const CARD_TITLE = "adyen-pe-card__title";
|
|
@@ -9,4 +11,5 @@ export declare const CARD_NO_OUTLINE = "adyen-pe-card--no-outline";
|
|
|
9
11
|
export declare const CARD_NO_PADDING = "adyen-pe-card--no-padding";
|
|
10
12
|
export declare const CARD_FILLED = "adyen-pe-card--filled";
|
|
11
13
|
export declare const CARD_FOOTER = "adyen-pe-card__footer";
|
|
14
|
+
export declare const CARD_COMPACT = "adyen-pe-card--compact";
|
|
12
15
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,kBAAkB,CAAC;AAC/C,eAAO,MAAM,SAAS,wBAA6B,CAAC;AACpD,eAAO,MAAM,WAAW,0BAA+B,CAAC;AACxD,eAAO,MAAM,UAAU,yBAA8B,CAAC;AACtD,eAAO,MAAM,aAAa,4BAAiC,CAAC;AAC5D,eAAO,MAAM,mBAAmB,kCAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB,oCAA6B,CAAC;AAC/D,eAAO,MAAM,eAAe,8BAAmC,CAAC;AAChE,eAAO,MAAM,eAAe,8BAAmC,CAAC;AAChE,eAAO,MAAM,WAAW,0BAA+B,CAAC;AACxD,eAAO,MAAM,WAAW,0BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,kBAAkB,CAAC;AAC/C,eAAO,MAAM,qBAAqB,8BAAmC,CAAC;AACtE,eAAO,MAAM,iBAAiB,0BAA+B,CAAC;AAC9D,eAAO,MAAM,SAAS,wBAA6B,CAAC;AACpD,eAAO,MAAM,WAAW,0BAA+B,CAAC;AACxD,eAAO,MAAM,UAAU,yBAA8B,CAAC;AACtD,eAAO,MAAM,aAAa,4BAAiC,CAAC;AAC5D,eAAO,MAAM,mBAAmB,kCAA2B,CAAC;AAC5D,eAAO,MAAM,oBAAoB,oCAA6B,CAAC;AAC/D,eAAO,MAAM,eAAe,8BAAmC,CAAC;AAChE,eAAO,MAAM,eAAe,8BAAmC,CAAC;AAChE,eAAO,MAAM,WAAW,0BAA+B,CAAC;AACxD,eAAO,MAAM,WAAW,0BAA+B,CAAC;AACxD,eAAO,MAAM,YAAY,2BAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,WAAW,SAAS;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACtB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,MAAM,WAAW,SAAS;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACtB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAgB,MAAM,QAAQ,CAAC;AAEtD,OAAO,iBAAiB,CAAC;AAGzB,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AASxD,eAAO,MAAM,aAAa;;;EAGxB,CAAC;AAEH,MAAM,MAAM,UAAU,CAClB,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,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,IACzB;KACC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CACd,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAC3C;QAAE,GAAG,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GACxE;QAAE,GAAG,EAAE,CAAC,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KACrD,cAAc;CACtB,CAAC;AAEF,iBAAS,QAAQ,CACb,KAAK,SAAS,KAAK,CAAC,GAAG,CAAC,EACxB,OAAO,SAAS,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAC3E,YAAY,SAAS,MAAM,KAAK,CAAC,MAAM,CAAC,EACxC,WAAW,SAAS,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EACjE,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,gCAQrF;kBAbQ,QAAQ;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAgB,MAAM,QAAQ,CAAC;AAEtD,OAAO,iBAAiB,CAAC;AAGzB,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AASxD,eAAO,MAAM,aAAa;;;EAGxB,CAAC;AAEH,MAAM,MAAM,UAAU,CAClB,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,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,IACzB;KACC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CACd,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAC3C;QAAE,GAAG,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GACxE;QAAE,GAAG,EAAE,CAAC,CAAC;QAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KACrD,cAAc;CACtB,CAAC;AAEF,iBAAS,QAAQ,CACb,KAAK,SAAS,KAAK,CAAC,GAAG,CAAC,EACxB,OAAO,SAAS,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAC3E,YAAY,SAAS,MAAM,KAAK,CAAC,MAAM,CAAC,EACxC,WAAW,SAAS,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,EACjE,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,gCAQrF;kBAbQ,QAAQ;;;;;;;;AAuHjB,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,cAAc,CAAA;CAAE,gCAEjE;AAQD,eAAe,QAAQ,CAAC"}
|
|
@@ -12,6 +12,7 @@ export interface DataGridColumn<Item> {
|
|
|
12
12
|
flex?: number;
|
|
13
13
|
}
|
|
14
14
|
export interface DataGridProps<Item extends Array<any>, Columns extends Array<DataGridColumn<Extract<keyof Item[number], string>>>, ClickedField extends keyof Item[number], CustomCells extends CustomCell<Item, Columns, Columns[number]>> {
|
|
15
|
+
autoFitColumns?: boolean;
|
|
15
16
|
children?: ComponentChildren;
|
|
16
17
|
columns: Columns;
|
|
17
18
|
condensed: boolean;
|