UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

91 lines (90 loc) 3.34 kB
import { TransactionsView as o } from "./types.js"; import A from "../../internal/Calendar/calendar/timerange/presets/yearToDate.js"; import T from "../../internal/Calendar/calendar/timerange/presets/lastMonth.js"; import a from "../../internal/Calendar/calendar/timerange/presets/thisMonth.js"; import r from "../../internal/Calendar/calendar/timerange/presets/lastWeek.js"; import c from "../../internal/Calendar/calendar/timerange/presets/thisWeek.js"; import e from "../../internal/Calendar/calendar/timerange/presets/lastNDays.js"; const s = "adyen-pe-transactions", t = s + "-overview", _ = s + "-details", G = { root: t, rootSmall: t + "--xs", summary: t + "__summary", summaryItem: t + "__summary-item", toolbar: t + "__toolbar", details: _, filterBarSmall: t + "__filter-bar-small", totalsError: t + "__totals-error" }, g = "common.filters.types.date.rangeSelect.options.custom", S = "common.filters.types.date.rangeSelect.options.last7Days", i = "common.filters.types.date.rangeSelect.options.last30Days", n = "common.filters.types.date.rangeSelect.options.last180Days", N = "common.filters.types.date.rangeSelect.options.thisWeek", m = "common.filters.types.date.rangeSelect.options.lastWeek", l = "common.filters.types.date.rangeSelect.options.thisMonth", E = "common.filters.types.date.rangeSelect.options.lastMonth", R = "common.filters.types.date.rangeSelect.options.yearToDate", I = n, C = Object.freeze({ [S]: e(7), [i]: e(30), [n]: e(180), [N]: c(), [m]: r(), [l]: a(), [E]: T(), [R]: A() }), O = C[I], M = 2, h = [ "ATM", "Capital", "Chargeback", "Correction", "Payment", "Refund", "Transfer", "Other" ], Y = [ { id: o.TRANSACTIONS, label: "transactions.overview.views.transactions", content: null }, { id: o.INSIGHTS, label: "transactions.overview.views.insights", content: null } ], v = { balanceAccount: void 0, categories: [], createdDate: O, currencies: [], paymentPspReference: void 0, statuses: ["Booked"] }, b = [ "id", "balanceAccountId", "createdAt", "status", "paymentMethod", "category", "paymentPspReference", "currency", "netAmount", "amountBeforeDeductions" ], B = [ "createdAt", "paymentMethod", "category", "currency", "netAmount", "amountBeforeDeductions" ], U = "Transaction component", W = "Transaction details", k = "Transactions insights", w = "Transactions list"; export { t as BASE_CLASS, B as DEFAULT_EXPORT_COLUMNS, _ as DETAILS_CLASS, b as EXPORT_COLUMNS, v as INITIAL_FILTERS, Y as TRANSACTIONS_VIEW_TABS, U as TRANSACTION_ANALYTICS_CATEGORY, W as TRANSACTION_ANALYTICS_SUBCATEGORY_DETAILS, k as TRANSACTION_ANALYTICS_SUBCATEGORY_INSIGHTS, w as TRANSACTION_ANALYTICS_SUBCATEGORY_LIST, h as TRANSACTION_CATEGORIES, C as TRANSACTION_DATE_RANGES, g as TRANSACTION_DATE_RANGE_CUSTOM, I as TRANSACTION_DATE_RANGE_DEFAULT, O as TRANSACTION_DATE_RANGE_DEFAULT_TIMESTAMPS, n as TRANSACTION_DATE_RANGE_LAST_180_DAYS, i as TRANSACTION_DATE_RANGE_LAST_30_DAYS, S as TRANSACTION_DATE_RANGE_LAST_7_DAYS, E as TRANSACTION_DATE_RANGE_LAST_MONTH, m as TRANSACTION_DATE_RANGE_LAST_WEEK, M as TRANSACTION_DATE_RANGE_MAX_YEARS, l as TRANSACTION_DATE_RANGE_THIS_MONTH, N as TRANSACTION_DATE_RANGE_THIS_WEEK, R as TRANSACTION_DATE_RANGE_YEAR_TO_DATE, G as classes };