@adyen/adyen-platform-experience-web 1.0.3 → 1.1.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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/da-DK-a148e492.cjs +2 -0
- package/dist/da-DK-a148e492.cjs.map +1 -0
- package/dist/de-DE-a39a50e8.cjs +2 -0
- package/dist/de-DE-a39a50e8.cjs.map +1 -0
- package/dist/es/components/external/PayoutDetails/components/PayoutData.js +41 -41
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +93 -94
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +76 -69
- package/dist/es/components/external/ReportsOverview/ReportsOverviewElement.js +25 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +112 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.scss.js +4 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/constants.js +5 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.js +30 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.js +4 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +149 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.scss.js +4 -0
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/constants.js +7 -0
- package/dist/es/components/external/TransactionDetails/components/TransactionData.js +67 -46
- package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +28 -17
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +13 -13
- package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +19 -14
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +1 -1
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +10 -10
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +11 -11
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +1 -1
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +183 -164
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +31 -24
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +95 -89
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/constants.js +6 -5
- package/dist/es/components/hooks/useCustomColumnsData.js +29 -0
- package/dist/es/components/hooks/useFreezePeriod.js +18 -0
- package/dist/es/components/{external/TransactionsOverview/hooks → hooks}/useResponsiveViewport.js +2 -2
- package/dist/es/components/hooks/useTableColumns.js +46 -0
- package/dist/es/components/internal/Accordion/Accordion.js +15 -15
- package/dist/es/components/internal/Alert/Alert.js +62 -0
- package/dist/es/components/internal/Alert/Alert.scss.js +4 -0
- package/dist/es/components/internal/Alert/types.js +4 -0
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +81 -0
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.scss.js +4 -0
- package/dist/es/components/internal/Button/DownloadButton/useDownload.js +18 -0
- package/dist/es/components/internal/Card/Card.js +15 -15
- package/dist/es/components/internal/DataGrid/DataGrid.js +4 -4
- package/dist/es/components/internal/DataGrid/DataGridCell.js +12 -12
- package/dist/es/components/internal/DataGrid/components/Icon.js +17 -0
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +7 -7
- package/dist/es/components/internal/DataGrid/components/TableCells.js +54 -37
- package/dist/es/components/internal/DataOverviewContainer/DataOverviewContainer.js +11 -11
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +54 -54
- package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +45 -0
- package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.scss.js +4 -0
- package/dist/es/components/internal/DataOverviewDisplay/constants.js +30 -24
- package/dist/es/components/internal/DatePicker/DatePicker.js +10 -10
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +13 -13
- package/dist/es/components/internal/FilterBar/FilterBar.js +50 -42
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +7 -7
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +54 -50
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +1 -1
- package/dist/es/components/internal/FormFields/InputBase.js +25 -25
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +1 -1
- package/dist/es/components/internal/FormFields/Select/Select.js +5 -5
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +5 -5
- package/dist/es/components/internal/Image/Image.js +6 -6
- package/dist/es/components/internal/Img/Img.js +4 -4
- package/dist/es/components/internal/Modal/Modal.js +6 -6
- package/dist/es/components/internal/Pagination/Pagination.js +17 -17
- package/dist/es/components/internal/Popover/Popover.js +11 -11
- package/dist/es/components/internal/SVGIcons/Download.js +21 -0
- package/dist/es/components/internal/SVGIcons/Warning.js +23 -0
- package/dist/es/components/internal/SVGIcons/WarningFilled.js +18 -0
- package/dist/es/components/internal/StructuredList/StructuredList.js +8 -8
- package/dist/es/components/internal/Tag/Tag.js +8 -8
- package/dist/es/components/internal/Tooltip/Tooltip.js +20 -20
- package/dist/es/components/internal/Typography/Typography.js +12 -12
- package/dist/es/components/utils/getLabel.js +6 -3
- package/dist/es/core/Http/http.js +34 -31
- package/dist/es/core/Http/utils.js +39 -30
- package/dist/es/core/Localization/Localization.js +74 -76
- package/dist/es/core/Localization/constants/localization.js +9 -6
- package/dist/es/core/Localization/localization-utils.js +11 -12
- package/dist/es/core/Localization/utils.js +45 -47
- package/dist/es/core/core.js +1 -1
- package/dist/es/index.js +14 -12
- package/dist/es/translations/da-DK.json.js +2 -218
- package/dist/es/translations/de-DE.json.js +2 -218
- package/dist/es/translations/en-US.json.js +2 -218
- package/dist/es/translations/es-ES.json.js +2 -218
- package/dist/es/translations/fr-FR.json.js +2 -218
- package/dist/es/translations/index.js +39 -45
- package/dist/es/translations/it-IT.json.js +2 -218
- package/dist/es/translations/nl-NL.json.js +2 -218
- package/dist/es/translations/no-NO.json.js +2 -218
- package/dist/es/translations/pt-BR.json.js +2 -218
- package/dist/es/translations/sv-SE.json.js +2 -218
- package/dist/es/utils/preact/className.js +3 -3
- package/dist/es-ES-153e5f15.cjs +2 -0
- package/dist/es-ES-153e5f15.cjs.map +1 -0
- package/dist/fr-FR-69b3df0d.cjs +2 -0
- package/dist/fr-FR-69b3df0d.cjs.map +1 -0
- package/dist/it-IT-efca230f.cjs +2 -0
- package/dist/it-IT-efca230f.cjs.map +1 -0
- package/dist/nl-NL-ffbb8184.cjs +2 -0
- package/dist/nl-NL-ffbb8184.cjs.map +1 -0
- package/dist/no-NO-eaf65f6f.cjs +2 -0
- package/dist/no-NO-eaf65f6f.cjs.map +1 -0
- package/dist/pt-BR-590ccc53.cjs +2 -0
- package/dist/pt-BR-590ccc53.cjs.map +1 -0
- package/dist/style.css +1 -1
- package/dist/sv-SE-18f4e86e.cjs +2 -0
- package/dist/sv-SE-18f4e86e.cjs.map +1 -0
- 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 +2 -2
- package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts.map +1 -1
- package/dist/types/components/external/ReportsOverview/ReportsOverviewElement.d.ts +9 -0
- package/dist/types/components/external/ReportsOverview/ReportsOverviewElement.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts +8 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/constants.d.ts +3 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverview/constants.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.d.ts +4 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.d.ts +2 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts +15 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/constants.d.ts +5 -0
- package/dist/types/components/external/ReportsOverview/components/ReportsTable/constants.d.ts.map +1 -0
- package/dist/types/components/external/ReportsOverview/index.d.ts +2 -0
- package/dist/types/components/external/ReportsOverview/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +20 -2
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +5 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/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/PaymentMethodCell.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts +3 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +5 -0
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
- package/dist/types/components/external/index.d.ts +1 -0
- package/dist/types/components/external/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useCustomColumnsData.d.ts +13 -0
- package/dist/types/components/hooks/useCustomColumnsData.d.ts.map +1 -0
- package/dist/types/components/hooks/useFreezePeriod.d.ts +6 -0
- package/dist/types/components/hooks/useFreezePeriod.d.ts.map +1 -0
- package/dist/types/components/{external/TransactionsOverview/hooks → hooks}/useResponsiveViewport.d.ts +1 -1
- package/dist/types/components/hooks/useResponsiveViewport.d.ts.map +1 -0
- package/dist/types/components/hooks/useTableColumns.d.ts +20 -0
- package/dist/types/components/hooks/useTableColumns.d.ts.map +1 -0
- package/dist/types/components/internal/Alert/Alert.d.ts +5 -0
- package/dist/types/components/internal/Alert/Alert.d.ts.map +1 -0
- package/dist/types/components/internal/Alert/types.d.ts +17 -0
- package/dist/types/components/internal/Alert/types.d.ts.map +1 -0
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts +16 -0
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts.map +1 -0
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +143 -0
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -0
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts +2 -5
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/Icon.d.ts +7 -0
- package/dist/types/components/internal/DataGrid/components/Icon.d.ts.map +1 -0
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +4 -3
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewContainer/DataOverviewContainer.d.ts +1 -1
- package/dist/types/components/internal/DataOverviewContainer/DataOverviewContainer.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 +3 -2
- package/dist/types/components/internal/DataOverviewDetails/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.d.ts +13 -0
- package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.d.ts.map +1 -0
- 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/DataOverviewDisplay/constants.d.ts +5 -2
- package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts +1 -1
- package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/FilterBar.d.ts +9 -2
- package/dist/types/components/internal/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/index.d.ts +1 -0
- package/dist/types/components/internal/FilterBar/index.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/types.d.ts +11 -1
- package/dist/types/components/internal/FilterBar/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/Download.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -0
- package/dist/types/components/internal/SVGIcons/Warning.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/Warning.d.ts.map +1 -0
- package/dist/types/components/internal/SVGIcons/WarningFilled.d.ts +4 -0
- package/dist/types/components/internal/SVGIcons/WarningFilled.d.ts.map +1 -0
- package/dist/types/components/internal/StructuredList/types.d.ts +1 -1
- package/dist/types/components/internal/StructuredList/types.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +2 -2
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +33 -1
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/getCommonErrorCode.d.ts +1 -1
- package/dist/types/components/utils/getCommonErrorCode.d.ts.map +1 -1
- package/dist/types/components/utils/getErrorMessage.d.ts +1 -1
- package/dist/types/components/utils/getErrorMessage.d.ts.map +1 -1
- package/dist/types/components/utils/getLabel.d.ts +4 -1
- package/dist/types/components/utils/getLabel.d.ts.map +1 -1
- package/dist/types/core/Auth/context.d.ts +8 -6
- package/dist/types/core/Auth/context.d.ts.map +1 -1
- package/dist/types/core/Auth/session/AuthSession.d.ts +8 -6
- package/dist/types/core/Auth/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/Auth/session/AuthSetupContext.d.ts +8 -6
- package/dist/types/core/Auth/session/AuthSetupContext.d.ts.map +1 -1
- package/dist/types/core/Http/http.d.ts.map +1 -1
- package/dist/types/core/Http/utils.d.ts +2 -0
- package/dist/types/core/Http/utils.d.ts.map +1 -1
- package/dist/types/core/Localization/Localization.d.ts +8 -10
- package/dist/types/core/Localization/Localization.d.ts.map +1 -1
- package/dist/types/core/Localization/constants/localization.d.ts +5 -2
- package/dist/types/core/Localization/constants/localization.d.ts.map +1 -1
- package/dist/types/core/Localization/localization-utils.d.ts +4 -4
- package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
- package/dist/types/core/Localization/types.d.ts +0 -19
- package/dist/types/core/Localization/types.d.ts.map +1 -1
- package/dist/types/core/Localization/utils.d.ts +7 -271
- package/dist/types/core/Localization/utils.d.ts.map +1 -1
- package/dist/types/core/core.d.ts +2 -3
- package/dist/types/core/core.d.ts.map +1 -1
- package/dist/types/core/types.d.ts +5 -4
- package/dist/types/core/types.d.ts.map +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/translations/index.d.ts +44 -2529
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/models/reports.d.ts +1 -1
- package/dist/types/types/api/models/reports.d.ts.map +1 -1
- package/dist/types/types/api/resources/ReportsResource.d.ts +18 -19
- package/dist/types/types/api/resources/ReportsResource.d.ts.map +1 -1
- package/dist/types/utils/types.d.ts +3 -0
- package/dist/types/utils/types.d.ts.map +1 -1
- package/package.json +7 -5
- package/dist/es/core/Localization/constants/locale.js +0 -7
- package/dist/types/components/external/TransactionsOverview/hooks/useResponsiveViewport.d.ts.map +0 -1
- package/dist/types/core/Localization/constants/locale.d.ts +0 -139
- package/dist/types/core/Localization/constants/locale.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodCell.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaymentMethodCell.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAUpD,QAAA,MAAM,iBAAiB;oBAIH,YAAY,CAAC,eAAe,CAAC;kBAC/B,YAAY,CAAC,aAAa,CAAC;kCA0B5C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import './TransactionTable.scss';
|
|
2
1
|
import { FC } from 'preact/compat';
|
|
2
|
+
import './TransactionTable.scss';
|
|
3
3
|
import { TransactionTableProps } from './types';
|
|
4
|
+
export declare const TRANSACTION_FIELDS: readonly ["createdAt", "paymentMethod", "transactionType", "amount"];
|
|
5
|
+
export type TransactionsTableCols = (typeof TRANSACTION_FIELDS)[number];
|
|
4
6
|
export declare const TransactionsTable: FC<TransactionTableProps>;
|
|
5
7
|
//# sourceMappingURL=TransactionsTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsTable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionsTable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAgBnC,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAMhD,eAAO,MAAM,kBAAkB,sEAAuE,CAAC;AACvG,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,qBAAqB,CAyHvD,CAAC"}
|
|
@@ -4,4 +4,5 @@ export declare const PAYMENT_METHOD_CLASS: string;
|
|
|
4
4
|
export declare const PAYMENT_METHOD_LOGO_CONTAINER_CLASS: string;
|
|
5
5
|
export declare const PAYMENT_METHOD_LOGO_CLASS: string;
|
|
6
6
|
export declare const DATE_AND_PAYMENT_METHOD_CLASS: string;
|
|
7
|
+
export declare const DATE_METHOD_CLASS: string;
|
|
7
8
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,gCAAgC,CAAC;AACxD,eAAO,MAAM,YAAY,QAA0B,CAAC;AACpD,eAAO,MAAM,oBAAoB,QAAkC,CAAC;AACpE,eAAO,MAAM,mCAAmC,QAAiD,CAAC;AAClG,eAAO,MAAM,yBAAyB,QAAuC,CAAC;AAC9E,eAAO,MAAM,6BAA6B,QAA2C,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,gCAAgC,CAAC;AACxD,eAAO,MAAM,YAAY,QAA0B,CAAC;AACpD,eAAO,MAAM,oBAAoB,QAAkC,CAAC;AACpE,eAAO,MAAM,mCAAmC,QAAiD,CAAC;AAClG,eAAO,MAAM,yBAAyB,QAAuC,CAAC;AAC9E,eAAO,MAAM,6BAA6B,QAA2C,CAAC;AACtF,eAAO,MAAM,iBAAiB,QAAiD,CAAC"}
|
package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import AdyenPlatformExperienceError from '../../../../../core/Errors/AdyenPlatformExperienceError';
|
|
2
2
|
import type { PaginationProps, WithPaginationLimitSelection } from '../../../../internal/Pagination/types';
|
|
3
3
|
import type { IBalanceAccountBase, ITransaction } from '../../../../../types';
|
|
4
|
+
import { StringWithAutocompleteOptions } from '../../../../../utils/types';
|
|
5
|
+
import { TransactionsTableCols } from './TransactionsTable';
|
|
6
|
+
import { CustomColumn } from '../../../../types';
|
|
7
|
+
export type TransactionsTableFields = StringWithAutocompleteOptions<TransactionsTableCols>;
|
|
4
8
|
export interface TransactionTableProps extends WithPaginationLimitSelection<PaginationProps> {
|
|
5
9
|
activeBalanceAccount?: IBalanceAccountBase;
|
|
6
10
|
availableCurrencies: ITransaction['amount']['currency'][] | undefined;
|
|
@@ -12,5 +16,6 @@ export interface TransactionTableProps extends WithPaginationLimitSelection<Pagi
|
|
|
12
16
|
showDetails?: boolean;
|
|
13
17
|
showPagination: boolean;
|
|
14
18
|
transactions: ITransaction[] | undefined;
|
|
19
|
+
customColumns?: CustomColumn<TransactionsTableFields>[] | TransactionsTableFields[];
|
|
15
20
|
}
|
|
16
21
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,MAAM,yDAAyD,CAAC;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/external/TransactionsOverview/components/TransactionsTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,MAAM,yDAAyD,CAAC;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC3G,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,CAAC,qBAAqB,CAAC,CAAC;AAE3F,MAAM,WAAW,qBAAsB,SAAQ,4BAA4B,CAAC,eAAe,CAAC;IACxF,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAC3C,mBAAmB,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,EAAE,GAAG,SAAS,CAAC;IACtE,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,4BAA4B,GAAG,SAAS,CAAC;IAChD,qBAAqB,EAAE,OAAO,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC;IACzC,aAAa,CAAC,EAAE,YAAY,CAAC,uBAAuB,CAAC,EAAE,GAAG,uBAAuB,EAAE,CAAC;CACvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnDataRetrievedCallback } from '../types';
|
|
2
|
+
export declare const useCustomColumnsData: <T>({ records, onDataRetrieved, mergeCustomData, }: {
|
|
3
|
+
records: T[];
|
|
4
|
+
onDataRetrieved: OnDataRetrievedCallback<T> | undefined;
|
|
5
|
+
mergeCustomData: (args: {
|
|
6
|
+
retrievedData: import("../types").CustomDataRetrieved[];
|
|
7
|
+
records: T[];
|
|
8
|
+
}) => (T & Record<string, any>)[];
|
|
9
|
+
}) => {
|
|
10
|
+
readonly customRecords: T[] | (T & Record<string, any>)[];
|
|
11
|
+
readonly loadingCustomRecords: boolean;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useCustomColumnsData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCustomColumnsData.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useCustomColumnsData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,oBAAoB;;;;;;;;;;CAoChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFreezePeriod.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useFreezePeriod.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;CAwB3B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResponsiveViewport.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useResponsiveViewport.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBf,CAAC;AAEX,KAAK,aAAa,GAAG,OAAO,YAAY,CAAC;AAEzC,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAClD;KACK,CAAC,IAAI,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAC9D,GACD;IAAE,KAAK,EAAE,8BAA8B,CAAA;CAAE,CAC9C,CAAC;AAEF,eAAO,MAAM,qBAAqB,kDAA8C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CellTextPosition } from '../internal/DataGrid/types';
|
|
2
|
+
import { CustomColumn, DataGridCustomColumnConfig } from '../types';
|
|
3
|
+
type Columns<k extends string> = DataGridCustomColumnConfig<k> & {
|
|
4
|
+
label?: string;
|
|
5
|
+
position?: CellTextPosition;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const useTableColumns: <T extends string, C extends string>({ fields, customColumns, columnConfig, }: {
|
|
9
|
+
fields: T[] | readonly T[];
|
|
10
|
+
customColumns?: CustomColumn<C>[] | C[] | undefined;
|
|
11
|
+
columnConfig?: { [k in T]?: Omit<Columns<k>, "key"> | undefined; } | undefined;
|
|
12
|
+
}) => {
|
|
13
|
+
key: T;
|
|
14
|
+
flex: number | undefined;
|
|
15
|
+
label: string;
|
|
16
|
+
position?: CellTextPosition | undefined;
|
|
17
|
+
visible: boolean;
|
|
18
|
+
}[];
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useTableColumns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableColumns.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useTableColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAIpE,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAgBpI,eAAO,MAAM,eAAe;;;;;;;WAhB+C,MAAM;;aAAyC,OAAO;GA8ChI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Alert/Alert.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,cAAc,CAAC;AAEtB,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,UAAU,gCA0ClF;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VNode } from 'preact';
|
|
2
|
+
import { JSXInternal } from 'preact/src/jsx';
|
|
3
|
+
export interface AlertProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
type: AlertTypeOption;
|
|
6
|
+
title?: VNode<Element> | string;
|
|
7
|
+
description?: VNode<Element> | string;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
onClose: (event: JSXInternal.TargetedMouseEvent<HTMLButtonElement>) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare enum AlertTypeOption {
|
|
12
|
+
WARNING = "warning",
|
|
13
|
+
CRITICAL = "critical",
|
|
14
|
+
HIGHLIGHT = "highlight",
|
|
15
|
+
SUCCESS = "success"
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/Alert/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,UAAU;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,eAAe,CAAC;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAC/E;AAED,oBAAY,eAAe;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VNode } from 'preact';
|
|
2
|
+
import AdyenPlatformExperienceError from '../../../../core/Errors/AdyenPlatformExperienceError';
|
|
3
|
+
import { EndpointName } from '../../../../types/api/endpoints';
|
|
4
|
+
import './DownloadButton.scss';
|
|
5
|
+
interface DownloadButtonProps {
|
|
6
|
+
params: any;
|
|
7
|
+
endpointName: EndpointName;
|
|
8
|
+
className?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onDownloadRequested?: () => void;
|
|
11
|
+
setError?: (error?: AdyenPlatformExperienceError) => any;
|
|
12
|
+
errorDisplay?: VNode<any>;
|
|
13
|
+
}
|
|
14
|
+
declare function DownloadButton({ className, disabled, endpointName, params, setError, errorDisplay, onDownloadRequested }: DownloadButtonProps): import("preact").JSX.Element;
|
|
15
|
+
export default DownloadButton;
|
|
16
|
+
//# sourceMappingURL=DownloadButton.d.ts.map
|
|
@@ -0,0 +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,MAAM,EAAE,GAAG,CAAC;IACZ,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;CAC7B;AAmBD,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,mBAAmB,EAAE,EAAE,mBAAmB,gCAkDtI;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { EndpointName } from '../../../../types/api/endpoints';
|
|
2
|
+
declare const useDownload: (endpointName: EndpointName, queryParam?: any, enabled?: boolean) => import("../../../../hooks/useFetch/useFetch").State<{
|
|
3
|
+
data: {
|
|
4
|
+
defaultCurrencyCode: string;
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
id: string;
|
|
7
|
+
timeZone: string;
|
|
8
|
+
}[];
|
|
9
|
+
} | {
|
|
10
|
+
data: {
|
|
11
|
+
currency: string;
|
|
12
|
+
value: number;
|
|
13
|
+
}[];
|
|
14
|
+
} | {
|
|
15
|
+
amountBreakdowns?: {
|
|
16
|
+
adjustmentBreakdown?: {
|
|
17
|
+
amount?: {
|
|
18
|
+
currency: string;
|
|
19
|
+
value: number;
|
|
20
|
+
} | undefined;
|
|
21
|
+
category?: string | undefined;
|
|
22
|
+
}[] | undefined;
|
|
23
|
+
fundsCapturedBreakdown?: {
|
|
24
|
+
amount?: {
|
|
25
|
+
currency: string;
|
|
26
|
+
value: number;
|
|
27
|
+
} | undefined;
|
|
28
|
+
category?: string | undefined;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
payout?: {
|
|
32
|
+
adjustmentAmount: {
|
|
33
|
+
currency: string;
|
|
34
|
+
value: number;
|
|
35
|
+
};
|
|
36
|
+
createdAt: string;
|
|
37
|
+
fundsCapturedAmount: {
|
|
38
|
+
currency: string;
|
|
39
|
+
value: number;
|
|
40
|
+
};
|
|
41
|
+
payoutAmount: {
|
|
42
|
+
currency: string;
|
|
43
|
+
value: number;
|
|
44
|
+
};
|
|
45
|
+
unpaidAmount: {
|
|
46
|
+
currency: string;
|
|
47
|
+
value: number;
|
|
48
|
+
};
|
|
49
|
+
} | undefined;
|
|
50
|
+
} | {
|
|
51
|
+
_links: {
|
|
52
|
+
next: {
|
|
53
|
+
cursor: string;
|
|
54
|
+
};
|
|
55
|
+
prev: {
|
|
56
|
+
cursor: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
data: {
|
|
60
|
+
adjustmentAmount: {
|
|
61
|
+
currency: string;
|
|
62
|
+
value: number;
|
|
63
|
+
};
|
|
64
|
+
createdAt: string;
|
|
65
|
+
fundsCapturedAmount: {
|
|
66
|
+
currency: string;
|
|
67
|
+
value: number;
|
|
68
|
+
};
|
|
69
|
+
payoutAmount: {
|
|
70
|
+
currency: string;
|
|
71
|
+
value: number;
|
|
72
|
+
};
|
|
73
|
+
unpaidAmount: {
|
|
74
|
+
currency: string;
|
|
75
|
+
value: number;
|
|
76
|
+
};
|
|
77
|
+
}[];
|
|
78
|
+
} | {
|
|
79
|
+
amount: {
|
|
80
|
+
currency: string;
|
|
81
|
+
value: number;
|
|
82
|
+
};
|
|
83
|
+
balanceAccountId: string;
|
|
84
|
+
bankAccount?: {
|
|
85
|
+
accountNumberLastFourDigits: string;
|
|
86
|
+
} | undefined;
|
|
87
|
+
category: "ATM" | "Capital" | "Correction" | "Fee" | "Payment" | "Refund" | "Chargeback" | "Transfer" | "Other";
|
|
88
|
+
createdAt: string;
|
|
89
|
+
id: string;
|
|
90
|
+
paymentMethod?: {
|
|
91
|
+
lastFourDigits?: string | undefined;
|
|
92
|
+
type: string;
|
|
93
|
+
} | undefined;
|
|
94
|
+
status: "Pending" | "Booked" | "Reversed";
|
|
95
|
+
} | {
|
|
96
|
+
data: {
|
|
97
|
+
currency: string;
|
|
98
|
+
expenses: number;
|
|
99
|
+
incomings: number;
|
|
100
|
+
}[];
|
|
101
|
+
} | {
|
|
102
|
+
_links: {
|
|
103
|
+
next: {
|
|
104
|
+
cursor: string;
|
|
105
|
+
};
|
|
106
|
+
prev: {
|
|
107
|
+
cursor: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
data: {
|
|
111
|
+
amount: {
|
|
112
|
+
currency: string;
|
|
113
|
+
value: number;
|
|
114
|
+
};
|
|
115
|
+
balanceAccountId: string;
|
|
116
|
+
bankAccount?: {
|
|
117
|
+
accountNumberLastFourDigits: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
category: "ATM" | "Capital" | "Correction" | "Fee" | "Payment" | "Refund" | "Chargeback" | "Transfer" | "Other";
|
|
120
|
+
createdAt: string;
|
|
121
|
+
id: string;
|
|
122
|
+
paymentMethod?: {
|
|
123
|
+
lastFourDigits?: string | undefined;
|
|
124
|
+
type: string;
|
|
125
|
+
} | undefined;
|
|
126
|
+
status: "Pending" | "Booked" | "Reversed";
|
|
127
|
+
}[];
|
|
128
|
+
} | {
|
|
129
|
+
_links?: {
|
|
130
|
+
next: {
|
|
131
|
+
cursor: string;
|
|
132
|
+
};
|
|
133
|
+
prev: {
|
|
134
|
+
cursor: string;
|
|
135
|
+
};
|
|
136
|
+
} | undefined;
|
|
137
|
+
data?: {
|
|
138
|
+
createdAt: string;
|
|
139
|
+
type: "payout";
|
|
140
|
+
}[] | undefined;
|
|
141
|
+
} | Uint8Array>;
|
|
142
|
+
export default useDownload;
|
|
143
|
+
//# sourceMappingURL=useDownload.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eASnF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -5,17 +5,14 @@ export declare const INITIAL_STATE: Readonly<{
|
|
|
5
5
|
activeIndex: -1;
|
|
6
6
|
index: -1;
|
|
7
7
|
}>;
|
|
8
|
-
type CellKey<Item extends Array<any>, Columns extends Array<DataGridColumn<Extract<keyof Item[number], string>>>, Column extends DataGridColumn<Extract<keyof Item[number], string>>, T extends Columns[number]['key']> = {
|
|
9
|
-
[k in Column['key']]: k;
|
|
10
|
-
}[T];
|
|
11
8
|
export type CustomCell<Item extends Array<any>, Columns extends Array<DataGridColumn<Extract<keyof Item[number], string>>>, T extends Columns[number]> = {
|
|
12
9
|
[k in T['key']]?: (props: Item[0][k] extends NonNullable<Item[0][k]> ? {
|
|
13
|
-
key:
|
|
10
|
+
key: k;
|
|
14
11
|
value: Item[number][k];
|
|
15
12
|
item: Item[number];
|
|
16
13
|
rowIndex: number;
|
|
17
14
|
} : {
|
|
18
|
-
key:
|
|
15
|
+
key: k;
|
|
19
16
|
item: Item[number];
|
|
20
17
|
rowIndex: number;
|
|
21
18
|
}) => ComponentChild;
|
|
@@ -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,
|
|
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;;;;;;;;AAgHjB,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,cAAc,CAAA;CAAE,gCAEjE;AAQD,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataGrid/components/Icon.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;SAAsE,MAAM;kCAMrF,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -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;
|
|
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;AAQzC,eAAO,MAAM,UAAU;;;;cAaT,MAAM;kCAoCnB,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ComponentChildren, VNode } from 'preact';
|
|
2
2
|
import { CustomCell } from './DataGrid';
|
|
3
|
-
import { TranslationKey } from '../../../
|
|
3
|
+
import { TranslationKey } from '../../../translations';
|
|
4
|
+
import { StringWithAutocompleteOptions } from '../../../utils/types';
|
|
4
5
|
export declare enum CellTextPosition {
|
|
5
6
|
CENTER = "center",
|
|
6
7
|
RIGHT = "right"
|
|
7
8
|
}
|
|
8
9
|
export interface DataGridColumn<Item> {
|
|
9
10
|
label: string;
|
|
10
|
-
key: Item
|
|
11
|
+
key: StringWithAutocompleteOptions<Item>;
|
|
11
12
|
position?: CellTextPosition;
|
|
12
13
|
visible?: boolean;
|
|
13
14
|
minWidth?: number;
|
|
@@ -35,7 +36,7 @@ export interface DataGridProps<Item extends Array<any>, Columns extends Array<Da
|
|
|
35
36
|
error?: Error | undefined;
|
|
36
37
|
errorDisplay?: () => VNode<any>;
|
|
37
38
|
}
|
|
38
|
-
export interface InteractiveBodyProps<Items extends any[], Columns extends Array<DataGridColumn<Extract<keyof Items[number], string>>>, ClickedField extends keyof Items[number], CustomCells extends CustomCell<Items, Columns, Columns[number]>> {
|
|
39
|
+
export interface InteractiveBodyProps<Items extends any[], Columns extends Array<DataGridColumn<Extract<keyof Items[number], string & {}>>>, ClickedField extends keyof Items[number], CustomCells extends CustomCell<Items, Columns, Columns[number]>> {
|
|
39
40
|
onRowClick?: DataGridProps<Items, Columns, ClickedField, CustomCells>['onRowClick'];
|
|
40
41
|
data: DataGridProps<Items, Columns, ClickedField, CustomCells>['data'];
|
|
41
42
|
columns: DataGridProps<Items, Columns, ClickedField, CustomCells>['columns'];
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataGrid/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataOverviewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewContainer/DataOverviewContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataOverviewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewContainer/DataOverviewContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAIlD,KAAK,0BAA0B,GAAG,iBAAiB,CAAC;IAChD,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,cAAc,CAAC;IAC7B,uBAAuB,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC,CAAC;AAEH,iBAAS,qBAAqB,CAAC,EAC3B,oBAAoB,EACpB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,gBAAgB,GACnB,EAAE,0BAA0B,uCAgC5B;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataOverviewDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/DataOverviewDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAWpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"DataOverviewDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/DataOverviewDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC;AAWpC,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAGvD,OAAO,EAAE,qBAAqB,EAAwC,MAAM,SAAS,CAAC;AAgBtF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,CAAC,qBAAqB,CAAC,gCAoFjG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IBalanceAccountBase, ITransaction } from '../../../types';
|
|
2
|
+
import { DetailsWithExtraData } from '../../external';
|
|
2
3
|
export interface TransactionDetailsWithoutIdProps {
|
|
3
4
|
data: TransactionDetailData;
|
|
4
5
|
}
|
|
@@ -9,9 +10,9 @@ export interface PayoutDetailsWithIdProps {
|
|
|
9
10
|
export interface TransactionDetailsWithIdProps {
|
|
10
11
|
id: string;
|
|
11
12
|
}
|
|
12
|
-
export type DetailsWithId = (TransactionDetailsWithIdProps & {
|
|
13
|
+
export type DetailsWithId = ((TransactionDetailsWithIdProps & {
|
|
13
14
|
type: 'transaction';
|
|
14
|
-
}) | (PayoutDetailsWithIdProps & {
|
|
15
|
+
}) & DetailsWithExtraData) | (PayoutDetailsWithIdProps & {
|
|
15
16
|
type: 'payout';
|
|
16
17
|
balanceAccountDescription?: string;
|
|
17
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDetails/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,YAAY,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,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAGtD,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,GAClF,CAAC,wBAAwB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,yBAAyB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE1F,MAAM,MAAM,qBAAqB,GAAG,CAAC,gCAAgC,GAAG;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,CAAC,GAAG,aAAa,CAAC;AAEjH,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,mBAAmB,CAAC;AAEvE,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;CACnE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'preact/compat';
|
|
2
|
+
import type { TranslationKey } from '../../../../translations';
|
|
3
|
+
import type { UIElementProps } from '../../../types';
|
|
4
|
+
import './DataOverviewHeader.scss';
|
|
5
|
+
export declare const BASE_CLASS = "adyen-pe-data-overview-header";
|
|
6
|
+
export interface DataOverviewHeaderProps {
|
|
7
|
+
baseClassName?: string;
|
|
8
|
+
descriptionKey?: TranslationKey;
|
|
9
|
+
hideTitle?: UIElementProps['hideTitle'];
|
|
10
|
+
titleKey?: TranslationKey;
|
|
11
|
+
}
|
|
12
|
+
export declare const DataOverviewHeader: FC<DataOverviewHeaderProps>;
|
|
13
|
+
//# sourceMappingURL=DataOverviewHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataOverviewHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAInC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,2BAA2B,CAAC;AAEnC,eAAO,MAAM,UAAU,kCAAkC,CAAC;AAE1D,MAAM,WAAW,uBAAuB;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC7B;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAuB1D,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"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export declare const DATE_FORMAT_PAYOUTS: Intl.DateTimeFormatOptions;
|
|
2
|
+
export declare const DATE_FORMAT_PAYOUTS_MOBILE: Intl.DateTimeFormatOptions;
|
|
3
|
+
export declare const DATE_FORMAT_PAYOUT_DETAILS: Intl.DateTimeFormatOptions;
|
|
4
|
+
export declare const DATE_FORMAT_REPORTS: Intl.DateTimeFormatOptions;
|
|
1
5
|
export declare const DATE_FORMAT_TRANSACTIONS: Intl.DateTimeFormatOptions;
|
|
6
|
+
export declare const DATE_FORMAT_TRANSACTIONS_MOBILE: Intl.DateTimeFormatOptions;
|
|
2
7
|
export declare const DATE_FORMAT_TRANSACTION_DETAILS: Intl.DateTimeFormatOptions;
|
|
3
|
-
export declare const DATE_FORMAT_PAYOUTS: Intl.DateTimeFormatOptions;
|
|
4
|
-
export declare const DATE_FORMAT_PAYOUTS_DETAILS: Intl.DateTimeFormatOptions;
|
|
5
8
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDisplay/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewDisplay/constants.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,qBAAwC,CAAC;AAChF,eAAO,MAAM,0BAA0B,EAAE,IAAI,CAAC,qBAAoD,CAAC;AACnG,eAAO,MAAM,0BAA0B,EAAE,IAAI,CAAC,qBAA8D,CAAC;AAE7G,eAAO,MAAM,mBAAmB,EAAE,IAAI,CAAC,qBAA6D,CAAC;AAErG,eAAO,MAAM,wBAAwB,EAAE,IAAI,CAAC,qBAA6C,CAAC;AAC1F,eAAO,MAAM,+BAA+B,EAAE,IAAI,CAAC,qBAAoD,CAAC;AAExG,eAAO,MAAM,+BAA+B,EAAE,IAAI,CAAC,qBAKlD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import AdyenPlatformExperienceError from '../../../core/Errors/AdyenPlatformExperienceError';
|
|
2
|
-
import { TranslationKey } from '../../../
|
|
2
|
+
import { TranslationKey } from '../../../translations';
|
|
3
3
|
declare const DataOverviewError: ({ error, errorMessage, onContactSupport, }: {
|
|
4
4
|
error: AdyenPlatformExperienceError | undefined;
|
|
5
5
|
errorMessage: TranslationKey;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataOverviewError.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewError/DataOverviewError.tsx"],"names":[],"mappings":"AAEA,OAAO,4BAA4B,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DataOverviewError.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/DataOverviewError/DataOverviewError.tsx"],"names":[],"mappings":"AAEA,OAAO,4BAA4B,MAAM,mDAAmD,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,QAAA,MAAM,iBAAiB;WAKZ,4BAA4B,GAAG,SAAS;kBACjC,cAAc;8BACH,IAAI;kCAqBhC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RestampContext } from '../../../../../core/Localization/datetime/restamper';
|
|
2
|
-
import type { TranslationKey } from '../../../../../
|
|
2
|
+
import type { TranslationKey } from '../../../../../translations';
|
|
3
3
|
import { RangeTimestamp, RangeTimestamps } from '../../../Calendar/calendar/timerange';
|
|
4
4
|
export type UseTimeRangeSelectionConfig = {
|
|
5
5
|
now?: RangeTimestamp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTimeRangeSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useTimeRangeSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAGvF,MAAM,MAAM,2BAA2B,GAAG;IACtC,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC;SAAG,CAAC,IAAI,cAAc,GAAG,eAAe;KAAE,CAAC,CAAC,CAAC;IACvE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEjF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;EASvC,CAAC;AAEhB,eAAO,MAAM,qBAAqB,qFAK/B,2BAA2B;;;mCA8Bb,MAAM;;;;CA+CtB,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessageDisplay.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ErrorMessageDisplay.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,eAAO,MAAM,sBAAsB;;;CAGlC,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,EAAE,cAAc,GAAG,cAAc,EAAE,CAAC;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE;SAAG,CAAC,IAAI,cAAc,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,GAAG,IAAI;KAAE,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,mBAAmB,+HAU7B,wBAAwB,wBAgD1B,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'preact/compat';
|
|
2
|
+
import type { FilterBarMobileSwitchProps, FilterBarProps } from './types';
|
|
2
3
|
import './FilterBar.scss';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
export declare const useFilterBarState: () => {
|
|
5
|
+
readonly isMobileViewport: boolean;
|
|
6
|
+
readonly showingFilters: boolean;
|
|
7
|
+
readonly setShowingFilters: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<boolean>>;
|
|
8
|
+
};
|
|
9
|
+
export declare const FilterBarMobileSwitch: ({ isMobileViewport, showingFilters, setShowingFilters }: FilterBarMobileSwitchProps) => import("preact/compat").JSX.Element | null;
|
|
10
|
+
export declare const FilterBar: (props: PropsWithChildren<FilterBarProps>) => import("preact/compat").JSX.Element | null;
|
|
11
|
+
export default FilterBar;
|
|
5
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":"
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/internal/FilterBar/FilterBar.tsx"],"names":[],"mappings":"AAMA,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;;;;CAS7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4DAA6D,0BAA0B,+CAcxH,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,kBAAkB,cAAc,CAAC,+CAejE,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FilterBar/filters/AmountFilter/RangeSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,qBAAqB,CAAC;AAO7B,eAAO,MAAM,cAAc,uGAQxB,2BAA2B,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"RangeSelection.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/internal/FilterBar/filters/AmountFilter/RangeSelection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,qBAAqB,CAAC;AAO7B,eAAO,MAAM,cAAc,uGAQxB,2BAA2B,eAAe,CAAC,iCAsE7C,CAAC"}
|