@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.
Files changed (257) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/da-DK-a148e492.cjs +2 -0
  4. package/dist/da-DK-a148e492.cjs.map +1 -0
  5. package/dist/de-DE-a39a50e8.cjs +2 -0
  6. package/dist/de-DE-a39a50e8.cjs.map +1 -0
  7. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +41 -41
  8. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +93 -94
  9. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +76 -69
  10. package/dist/es/components/external/ReportsOverview/ReportsOverviewElement.js +25 -0
  11. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +112 -0
  12. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.scss.js +4 -0
  13. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/constants.js +5 -0
  14. package/dist/es/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.js +30 -0
  15. package/dist/es/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.js +4 -0
  16. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +149 -0
  17. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.scss.js +4 -0
  18. package/dist/es/components/external/ReportsOverview/components/ReportsTable/constants.js +7 -0
  19. package/dist/es/components/external/TransactionDetails/components/TransactionData.js +67 -46
  20. package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +28 -17
  21. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +13 -13
  22. package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +19 -14
  23. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +1 -1
  24. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +10 -10
  25. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +11 -11
  26. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +1 -1
  27. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +183 -164
  28. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +31 -24
  29. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +95 -89
  30. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/constants.js +6 -5
  31. package/dist/es/components/hooks/useCustomColumnsData.js +29 -0
  32. package/dist/es/components/hooks/useFreezePeriod.js +18 -0
  33. package/dist/es/components/{external/TransactionsOverview/hooks → hooks}/useResponsiveViewport.js +2 -2
  34. package/dist/es/components/hooks/useTableColumns.js +46 -0
  35. package/dist/es/components/internal/Accordion/Accordion.js +15 -15
  36. package/dist/es/components/internal/Alert/Alert.js +62 -0
  37. package/dist/es/components/internal/Alert/Alert.scss.js +4 -0
  38. package/dist/es/components/internal/Alert/types.js +4 -0
  39. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +81 -0
  40. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.scss.js +4 -0
  41. package/dist/es/components/internal/Button/DownloadButton/useDownload.js +18 -0
  42. package/dist/es/components/internal/Card/Card.js +15 -15
  43. package/dist/es/components/internal/DataGrid/DataGrid.js +4 -4
  44. package/dist/es/components/internal/DataGrid/DataGridCell.js +12 -12
  45. package/dist/es/components/internal/DataGrid/components/Icon.js +17 -0
  46. package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +7 -7
  47. package/dist/es/components/internal/DataGrid/components/TableCells.js +54 -37
  48. package/dist/es/components/internal/DataOverviewContainer/DataOverviewContainer.js +11 -11
  49. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +54 -54
  50. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +45 -0
  51. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.scss.js +4 -0
  52. package/dist/es/components/internal/DataOverviewDisplay/constants.js +30 -24
  53. package/dist/es/components/internal/DatePicker/DatePicker.js +10 -10
  54. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +13 -13
  55. package/dist/es/components/internal/FilterBar/FilterBar.js +50 -42
  56. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +7 -7
  57. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +54 -50
  58. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +1 -1
  59. package/dist/es/components/internal/FormFields/InputBase.js +25 -25
  60. package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +1 -1
  61. package/dist/es/components/internal/FormFields/Select/Select.js +5 -5
  62. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +5 -5
  63. package/dist/es/components/internal/Image/Image.js +6 -6
  64. package/dist/es/components/internal/Img/Img.js +4 -4
  65. package/dist/es/components/internal/Modal/Modal.js +6 -6
  66. package/dist/es/components/internal/Pagination/Pagination.js +17 -17
  67. package/dist/es/components/internal/Popover/Popover.js +11 -11
  68. package/dist/es/components/internal/SVGIcons/Download.js +21 -0
  69. package/dist/es/components/internal/SVGIcons/Warning.js +23 -0
  70. package/dist/es/components/internal/SVGIcons/WarningFilled.js +18 -0
  71. package/dist/es/components/internal/StructuredList/StructuredList.js +8 -8
  72. package/dist/es/components/internal/Tag/Tag.js +8 -8
  73. package/dist/es/components/internal/Tooltip/Tooltip.js +20 -20
  74. package/dist/es/components/internal/Typography/Typography.js +12 -12
  75. package/dist/es/components/utils/getLabel.js +6 -3
  76. package/dist/es/core/Http/http.js +34 -31
  77. package/dist/es/core/Http/utils.js +39 -30
  78. package/dist/es/core/Localization/Localization.js +74 -76
  79. package/dist/es/core/Localization/constants/localization.js +9 -6
  80. package/dist/es/core/Localization/localization-utils.js +11 -12
  81. package/dist/es/core/Localization/utils.js +45 -47
  82. package/dist/es/core/core.js +1 -1
  83. package/dist/es/index.js +14 -12
  84. package/dist/es/translations/da-DK.json.js +2 -218
  85. package/dist/es/translations/de-DE.json.js +2 -218
  86. package/dist/es/translations/en-US.json.js +2 -218
  87. package/dist/es/translations/es-ES.json.js +2 -218
  88. package/dist/es/translations/fr-FR.json.js +2 -218
  89. package/dist/es/translations/index.js +39 -45
  90. package/dist/es/translations/it-IT.json.js +2 -218
  91. package/dist/es/translations/nl-NL.json.js +2 -218
  92. package/dist/es/translations/no-NO.json.js +2 -218
  93. package/dist/es/translations/pt-BR.json.js +2 -218
  94. package/dist/es/translations/sv-SE.json.js +2 -218
  95. package/dist/es/utils/preact/className.js +3 -3
  96. package/dist/es-ES-153e5f15.cjs +2 -0
  97. package/dist/es-ES-153e5f15.cjs.map +1 -0
  98. package/dist/fr-FR-69b3df0d.cjs +2 -0
  99. package/dist/fr-FR-69b3df0d.cjs.map +1 -0
  100. package/dist/it-IT-efca230f.cjs +2 -0
  101. package/dist/it-IT-efca230f.cjs.map +1 -0
  102. package/dist/nl-NL-ffbb8184.cjs +2 -0
  103. package/dist/nl-NL-ffbb8184.cjs.map +1 -0
  104. package/dist/no-NO-eaf65f6f.cjs +2 -0
  105. package/dist/no-NO-eaf65f6f.cjs.map +1 -0
  106. package/dist/pt-BR-590ccc53.cjs +2 -0
  107. package/dist/pt-BR-590ccc53.cjs.map +1 -0
  108. package/dist/style.css +1 -1
  109. package/dist/sv-SE-18f4e86e.cjs +2 -0
  110. package/dist/sv-SE-18f4e86e.cjs.map +1 -0
  111. package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts.map +1 -1
  112. package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts +2 -2
  113. package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts.map +1 -1
  114. package/dist/types/components/external/ReportsOverview/ReportsOverviewElement.d.ts +9 -0
  115. package/dist/types/components/external/ReportsOverview/ReportsOverviewElement.d.ts.map +1 -0
  116. package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts +8 -0
  117. package/dist/types/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.d.ts.map +1 -0
  118. package/dist/types/components/external/ReportsOverview/components/ReportsOverview/constants.d.ts +3 -0
  119. package/dist/types/components/external/ReportsOverview/components/ReportsOverview/constants.d.ts.map +1 -0
  120. package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.d.ts +4 -0
  121. package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/ReportsOverviewContainer.d.ts.map +1 -0
  122. package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.d.ts +2 -0
  123. package/dist/types/components/external/ReportsOverview/components/ReportsOverviewContainer/constants.d.ts.map +1 -0
  124. package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts +15 -0
  125. package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -0
  126. package/dist/types/components/external/ReportsOverview/components/ReportsTable/constants.d.ts +5 -0
  127. package/dist/types/components/external/ReportsOverview/components/ReportsTable/constants.d.ts.map +1 -0
  128. package/dist/types/components/external/ReportsOverview/index.d.ts +2 -0
  129. package/dist/types/components/external/ReportsOverview/index.d.ts.map +1 -0
  130. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +20 -2
  131. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
  132. package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
  133. package/dist/types/components/external/TransactionDetails/types.d.ts +5 -1
  134. package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
  135. package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts.map +1 -1
  136. package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts +1 -1
  137. package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts.map +1 -1
  138. package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +1 -1
  139. package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
  140. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.d.ts.map +1 -1
  141. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts +3 -1
  142. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
  143. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts +1 -0
  144. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/constants.d.ts.map +1 -1
  145. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +5 -0
  146. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
  147. package/dist/types/components/external/index.d.ts +1 -0
  148. package/dist/types/components/external/index.d.ts.map +1 -1
  149. package/dist/types/components/hooks/useCustomColumnsData.d.ts +13 -0
  150. package/dist/types/components/hooks/useCustomColumnsData.d.ts.map +1 -0
  151. package/dist/types/components/hooks/useFreezePeriod.d.ts +6 -0
  152. package/dist/types/components/hooks/useFreezePeriod.d.ts.map +1 -0
  153. package/dist/types/components/{external/TransactionsOverview/hooks → hooks}/useResponsiveViewport.d.ts +1 -1
  154. package/dist/types/components/hooks/useResponsiveViewport.d.ts.map +1 -0
  155. package/dist/types/components/hooks/useTableColumns.d.ts +20 -0
  156. package/dist/types/components/hooks/useTableColumns.d.ts.map +1 -0
  157. package/dist/types/components/internal/Alert/Alert.d.ts +5 -0
  158. package/dist/types/components/internal/Alert/Alert.d.ts.map +1 -0
  159. package/dist/types/components/internal/Alert/types.d.ts +17 -0
  160. package/dist/types/components/internal/Alert/types.d.ts.map +1 -0
  161. package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts +16 -0
  162. package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts.map +1 -0
  163. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +143 -0
  164. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -0
  165. package/dist/types/components/internal/DataGrid/DataGrid.d.ts +2 -5
  166. package/dist/types/components/internal/DataGrid/DataGrid.d.ts.map +1 -1
  167. package/dist/types/components/internal/DataGrid/components/Icon.d.ts +7 -0
  168. package/dist/types/components/internal/DataGrid/components/Icon.d.ts.map +1 -0
  169. package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
  170. package/dist/types/components/internal/DataGrid/types.d.ts +4 -3
  171. package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
  172. package/dist/types/components/internal/DataOverviewContainer/DataOverviewContainer.d.ts +1 -1
  173. package/dist/types/components/internal/DataOverviewContainer/DataOverviewContainer.d.ts.map +1 -1
  174. package/dist/types/components/internal/DataOverviewDetails/DataOverviewDetails.d.ts.map +1 -1
  175. package/dist/types/components/internal/DataOverviewDetails/types.d.ts +3 -2
  176. package/dist/types/components/internal/DataOverviewDetails/types.d.ts.map +1 -1
  177. package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.d.ts +13 -0
  178. package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.d.ts.map +1 -0
  179. package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/index.d.ts +3 -0
  180. package/dist/types/components/internal/DataOverviewDisplay/DataOverviewHeader/index.d.ts.map +1 -0
  181. package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts +5 -2
  182. package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts.map +1 -1
  183. package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts +1 -1
  184. package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts.map +1 -1
  185. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +1 -1
  186. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts.map +1 -1
  187. package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +1 -1
  188. package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
  189. package/dist/types/components/internal/FilterBar/FilterBar.d.ts +9 -2
  190. package/dist/types/components/internal/FilterBar/FilterBar.d.ts.map +1 -1
  191. package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map +1 -1
  192. package/dist/types/components/internal/FilterBar/index.d.ts +1 -0
  193. package/dist/types/components/internal/FilterBar/index.d.ts.map +1 -1
  194. package/dist/types/components/internal/FilterBar/types.d.ts +11 -1
  195. package/dist/types/components/internal/FilterBar/types.d.ts.map +1 -1
  196. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  197. package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
  198. package/dist/types/components/internal/SVGIcons/Download.d.ts +4 -0
  199. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -0
  200. package/dist/types/components/internal/SVGIcons/Warning.d.ts +4 -0
  201. package/dist/types/components/internal/SVGIcons/Warning.d.ts.map +1 -0
  202. package/dist/types/components/internal/SVGIcons/WarningFilled.d.ts +4 -0
  203. package/dist/types/components/internal/SVGIcons/WarningFilled.d.ts.map +1 -0
  204. package/dist/types/components/internal/StructuredList/types.d.ts +1 -1
  205. package/dist/types/components/internal/StructuredList/types.d.ts.map +1 -1
  206. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +2 -2
  207. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts.map +1 -1
  208. package/dist/types/components/types.d.ts +33 -1
  209. package/dist/types/components/types.d.ts.map +1 -1
  210. package/dist/types/components/utils/getCommonErrorCode.d.ts +1 -1
  211. package/dist/types/components/utils/getCommonErrorCode.d.ts.map +1 -1
  212. package/dist/types/components/utils/getErrorMessage.d.ts +1 -1
  213. package/dist/types/components/utils/getErrorMessage.d.ts.map +1 -1
  214. package/dist/types/components/utils/getLabel.d.ts +4 -1
  215. package/dist/types/components/utils/getLabel.d.ts.map +1 -1
  216. package/dist/types/core/Auth/context.d.ts +8 -6
  217. package/dist/types/core/Auth/context.d.ts.map +1 -1
  218. package/dist/types/core/Auth/session/AuthSession.d.ts +8 -6
  219. package/dist/types/core/Auth/session/AuthSession.d.ts.map +1 -1
  220. package/dist/types/core/Auth/session/AuthSetupContext.d.ts +8 -6
  221. package/dist/types/core/Auth/session/AuthSetupContext.d.ts.map +1 -1
  222. package/dist/types/core/Http/http.d.ts.map +1 -1
  223. package/dist/types/core/Http/utils.d.ts +2 -0
  224. package/dist/types/core/Http/utils.d.ts.map +1 -1
  225. package/dist/types/core/Localization/Localization.d.ts +8 -10
  226. package/dist/types/core/Localization/Localization.d.ts.map +1 -1
  227. package/dist/types/core/Localization/constants/localization.d.ts +5 -2
  228. package/dist/types/core/Localization/constants/localization.d.ts.map +1 -1
  229. package/dist/types/core/Localization/localization-utils.d.ts +4 -4
  230. package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
  231. package/dist/types/core/Localization/types.d.ts +0 -19
  232. package/dist/types/core/Localization/types.d.ts.map +1 -1
  233. package/dist/types/core/Localization/utils.d.ts +7 -271
  234. package/dist/types/core/Localization/utils.d.ts.map +1 -1
  235. package/dist/types/core/core.d.ts +2 -3
  236. package/dist/types/core/core.d.ts.map +1 -1
  237. package/dist/types/core/types.d.ts +5 -4
  238. package/dist/types/core/types.d.ts.map +1 -1
  239. package/dist/types/hooks/useFetch/useFetch.d.ts +1 -1
  240. package/dist/types/hooks/useFetch/useFetch.d.ts.map +1 -1
  241. package/dist/types/hooks/useModalDetails/types.d.ts +1 -1
  242. package/dist/types/hooks/useModalDetails/types.d.ts.map +1 -1
  243. package/dist/types/index.d.ts +2 -3
  244. package/dist/types/index.d.ts.map +1 -1
  245. package/dist/types/translations/index.d.ts +44 -2529
  246. package/dist/types/translations/index.d.ts.map +1 -1
  247. package/dist/types/types/api/models/reports.d.ts +1 -1
  248. package/dist/types/types/api/models/reports.d.ts.map +1 -1
  249. package/dist/types/types/api/resources/ReportsResource.d.ts +18 -19
  250. package/dist/types/types/api/resources/ReportsResource.d.ts.map +1 -1
  251. package/dist/types/utils/types.d.ts +3 -0
  252. package/dist/types/utils/types.d.ts.map +1 -1
  253. package/package.json +7 -5
  254. package/dist/es/core/Localization/constants/locale.js +0 -7
  255. package/dist/types/components/external/TransactionsOverview/hooks/useResponsiveViewport.d.ts.map +0 -1
  256. package/dist/types/core/Localization/constants/locale.d.ts +0 -139
  257. package/dist/types/core/Localization/constants/locale.d.ts.map +0 -1
@@ -1,78 +1,79 @@
1
- import { DATE_FORMAT_TRANSACTIONS as x } from "../../../../internal/DataOverviewDisplay/constants.js";
2
- import L from "../Category/Category.js";
3
- import H from "../../../../internal/DataOverviewError/DataOverviewError.js";
4
- import { getLabel as O } from "../../../../utils/getLabel.js";
1
+ import { useState as F, useCallback as Y, useMemo as k } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import { DATE_FORMAT_TRANSACTIONS_MOBILE as x, DATE_FORMAT_TRANSACTIONS as H } from "../../../../internal/DataOverviewDisplay/constants.js";
3
+ import I from "../Category/Category.js";
4
+ import P from "../../../../internal/DataOverviewError/DataOverviewError.js";
5
5
  import V from "../../../../../core/Context/useCoreContext.js";
6
- import Y from "../../../../hooks/useTimezoneAwareDateFormatting.js";
7
- import { useState as $, useMemo as d, useCallback as G } from "../../../../../external/preact/hooks/dist/hooks.module.js";
8
- import { CellTextPosition as I } from "../../../../internal/DataGrid/types.js";
9
- import { getCurrencyCode as U } from "../../../../../core/Localization/amount/amount-util.js";
10
- import { BASE_CLASS as k, DATE_AND_PAYMENT_METHOD_CLASS as T, AMOUNT_CLASS as W } from "./constants.js";
6
+ import { getCurrencyCode as $ } from "../../../../../core/Localization/amount/amount-util.js";
7
+ import B from "../../../../hooks/useTimezoneAwareDateFormatting.js";
8
+ import { CellTextPosition as G } from "../../../../internal/DataGrid/types.js";
9
+ import { TypographyVariant as r } from "../../../../internal/Typography/types.js";
10
+ import n from "../../../../internal/Typography/Typography.js";
11
+ import { useResponsiveViewport as p, mediaQueries as d } from "../../../../hooks/useResponsiveViewport.js";
12
+ import { BASE_CLASS as U, AMOUNT_CLASS as W, DATE_AND_PAYMENT_METHOD_CLASS as j, DATE_METHOD_CLASS as q } from "./constants.js";
11
13
  import "./TransactionTable.scss.js";
12
- import { useResponsiveViewport as p, mediaQueries as c } from "../../hooks/useResponsiveViewport.js";
13
- import h from "./PaymentMethodCell.js";
14
+ import y from "./PaymentMethodCell.js";
15
+ import { useTableColumns as z } from "../../../../hooks/useTableColumns.js";
14
16
  import { jsx as t } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
15
- import M from "../../../../internal/DataGrid/DataGrid.js";
16
- import j from "../../../../internal/Pagination/Pagination.js";
17
- const q = ["dateAndPaymentMethod", "createdAt", "paymentMethod", "transactionType", "amount"], co = ({
18
- activeBalanceAccount: s,
19
- availableCurrencies: n,
20
- error: m,
21
- hasMultipleCurrencies: i,
22
- loading: g,
17
+ import f from "../../../../internal/DataGrid/DataGrid.js";
18
+ import K from "../../../../internal/Pagination/Pagination.js";
19
+ const Q = ["createdAt", "paymentMethod", "transactionType", "amount"], fo = ({
20
+ activeBalanceAccount: a,
21
+ availableCurrencies: s,
22
+ error: i,
23
+ hasMultipleCurrencies: c,
24
+ loading: h,
23
25
  onContactSupport: l,
24
- onRowClick: w,
25
- showDetails: z,
26
- showPagination: S,
27
- transactions: D,
28
- ...C
26
+ onRowClick: M,
27
+ showDetails: X,
28
+ showPagination: D,
29
+ transactions: S,
30
+ customColumns: C,
31
+ ...g
29
32
  }) => {
30
33
  const {
31
- i18n: a
34
+ i18n: m
32
35
  } = V(), {
33
- dateFormat: E,
34
- fullDateFormat: b
35
- } = Y(s == null ? void 0 : s.timeZone), [N, u] = $(), r = p(c.up.sm), A = p(c.up.md), y = p(c.down.xs), f = d(() => ({
36
- dateAndPaymentMethod: y,
37
- createdAt: r,
38
- transactionType: A,
39
- paymentMethod: r
40
- }), [y, r, A]), _ = d(() => q.map((o) => {
41
- const e = a.get(O(o));
42
- return o === "amount" ? {
43
- key: o,
44
- label: i ? e : `${e} ${n && n[0] ? `(${U(n[0])})` : ""}`,
45
- position: o === "amount" ? I.RIGHT : void 0,
46
- flex: r ? 1.5 : void 0
47
- } : {
48
- key: o,
49
- label: e,
50
- visible: f[o]
51
- };
52
- }), [n, f, i, a, r]), R = {
36
+ dateFormat: T
37
+ } = B(a == null ? void 0 : a.timeZone), [_, u] = F(), A = p(d.up.sm), E = p(d.up.md), O = p(d.down.xs), v = m.get("amount"), w = z({
38
+ fields: Q,
39
+ customColumns: C,
40
+ columnConfig: {
41
+ amount: {
42
+ label: c ? void 0 : `${v} ${s && s[0] ? `(${$(s[0])})` : ""}`,
43
+ position: G.RIGHT,
44
+ flex: A ? 1.5 : void 0
45
+ },
46
+ transactionType: {
47
+ visible: E
48
+ },
49
+ paymentMethod: {
50
+ visible: A
51
+ }
52
+ }
53
+ }), N = {
53
54
  title: "noTransactionsFound",
54
55
  message: ["tryDifferentSearchOrResetYourFiltersAndWeWillTryAgain"]
55
- }, v = G((o) => {
56
+ }, R = Y((o) => {
56
57
  u(o ?? void 0);
57
- }, [u]), F = d(() => () => t(H, {
58
- error: m,
58
+ }, [u]), b = k(() => () => t(P, {
59
+ error: i,
59
60
  onContactSupport: l,
60
61
  errorMessage: "weCouldNotLoadYourTransactions"
61
- }), [m, l]);
62
+ }), [i, l]);
62
63
  return t("div", {
63
- className: k,
64
- children: t(M, {
65
- errorDisplay: F,
66
- error: m,
67
- columns: _,
68
- data: D,
69
- loading: g,
64
+ className: U,
65
+ children: t(f, {
66
+ errorDisplay: b,
67
+ error: i,
68
+ columns: w,
69
+ data: S,
70
+ loading: h,
70
71
  outline: !1,
71
72
  onRowClick: {
72
- callback: w
73
+ callback: M
73
74
  },
74
- onRowHover: v,
75
- emptyTableMessage: R,
75
+ onRowHover: R,
76
+ emptyTableMessage: N,
76
77
  customCells: {
77
78
  // Remove status column temporarily
78
79
  /* status: ({ value }) => {
@@ -83,59 +84,64 @@ const q = ["dateAndPaymentMethod", "createdAt", "paymentMethod", "transactionTyp
83
84
  />
84
85
  );
85
86
  },*/
86
- dateAndPaymentMethod: ({
87
- item: o
88
- }) => t("div", {
89
- className: T,
90
- children: [t(h, {
91
- paymentMethod: o.paymentMethod,
92
- bankAccount: o.bankAccount
93
- }), t("span", {
94
- className: T,
95
- children: E(o.createdAt, x)
96
- })]
97
- }),
98
87
  transactionType: ({
99
88
  item: o,
100
89
  rowIndex: e
101
90
  }) => {
102
- const P = `tooltip.${o.category}`;
103
- return o.category ? a.has(P) ? t(L, {
104
- value: o.category,
105
- isContainerHovered: e === N
106
- }) : o.category : null;
91
+ const L = `tooltip.${o.category}`;
92
+ return o.category ? m.has(L) ? t(I, {
93
+ isContainerHovered: e === _,
94
+ value: o.category
95
+ }) : t(n, {
96
+ variant: r.BODY,
97
+ children: o.category
98
+ }) : null;
107
99
  },
108
- createdAt: ({
109
- value: o
110
- }) => t("span", {
111
- children: b(o)
112
- }),
113
100
  amount: ({
114
101
  value: o
115
102
  }) => {
116
- const e = a.amount(o.value, o.currency, {
117
- hideCurrency: !i
103
+ const e = m.amount(o.value, o.currency, {
104
+ hideCurrency: !c
118
105
  });
119
- return t("span", {
106
+ return t(n, {
107
+ variant: r.BODY,
120
108
  className: W,
121
109
  children: e
122
110
  });
123
111
  },
112
+ createdAt: ({
113
+ item: o,
114
+ value: e
115
+ }) => O ? t("div", {
116
+ className: j,
117
+ children: [t(y, {
118
+ paymentMethod: o.paymentMethod,
119
+ bankAccount: o.bankAccount
120
+ }), t(n, {
121
+ variant: r.BODY,
122
+ className: q,
123
+ children: T(o.createdAt, x)
124
+ })]
125
+ }) : t(n, {
126
+ variant: r.BODY,
127
+ children: T(e, H)
128
+ }),
124
129
  paymentMethod: ({
125
130
  item: o
126
- }) => t(h, {
131
+ }) => t(y, {
127
132
  paymentMethod: o.paymentMethod,
128
133
  bankAccount: o.bankAccount
129
134
  })
130
135
  },
131
- children: S && t(M.Footer, {
132
- children: t(j, {
133
- ...C
136
+ children: D && t(f.Footer, {
137
+ children: t(K, {
138
+ ...g
134
139
  })
135
140
  })
136
141
  })
137
142
  });
138
143
  };
139
144
  export {
140
- co as TransactionsTable
145
+ Q as TRANSACTION_FIELDS,
146
+ fo as TransactionsTable
141
147
  };
@@ -1,9 +1,10 @@
1
- const _ = "adyen-pe-transactions-table", t = _ + "__amount", o = _ + "__payment-method", n = _ + "__payment-method-logo-container", A = _ + "__payment-method-logo", e = _ + "__date-and-payment-method";
1
+ const _ = "adyen-pe-transactions-table", t = _ + "__amount", n = _ + "__payment-method", o = _ + "__payment-method-logo-container", e = _ + "__payment-method-logo", A = _ + "__date-and-payment-method", a = _ + "__date-and-payment-method--date";
2
2
  export {
3
3
  t as AMOUNT_CLASS,
4
4
  _ as BASE_CLASS,
5
- e as DATE_AND_PAYMENT_METHOD_CLASS,
6
- o as PAYMENT_METHOD_CLASS,
7
- A as PAYMENT_METHOD_LOGO_CLASS,
8
- n as PAYMENT_METHOD_LOGO_CONTAINER_CLASS
5
+ A as DATE_AND_PAYMENT_METHOD_CLASS,
6
+ a as DATE_METHOD_CLASS,
7
+ n as PAYMENT_METHOD_CLASS,
8
+ e as PAYMENT_METHOD_LOGO_CLASS,
9
+ o as PAYMENT_METHOD_LOGO_CONTAINER_CLASS
9
10
  };
@@ -0,0 +1,29 @@
1
+ import { useState as n, useCallback as C, useEffect as r } from "../../external/preact/hooks/dist/hooks.module.js";
2
+ const i = ({
3
+ records: s,
4
+ onDataRetrieved: t,
5
+ mergeCustomData: c
6
+ }) => {
7
+ const [e, u] = n(s), [f, l] = n(!1), a = C((m) => async () => {
8
+ try {
9
+ const o = t ? await t(m) : [];
10
+ u(c({
11
+ records: s,
12
+ retrievedData: o
13
+ }));
14
+ } catch (o) {
15
+ u(s), console.error(o);
16
+ } finally {
17
+ l(!1);
18
+ }
19
+ }, [t, s, c]);
20
+ return r(() => {
21
+ t && s.length && (l(!0), a(s)());
22
+ }, [t, a, s]), {
23
+ customRecords: e,
24
+ loadingCustomRecords: f
25
+ };
26
+ };
27
+ export {
28
+ i as useCustomColumnsData
29
+ };
@@ -0,0 +1,18 @@
1
+ import { useState as o, useRef as u, useCallback as f, useEffect as i } from "../../external/preact/hooks/dist/hooks.module.js";
2
+ const l = (e = 1e3, a = !1) => {
3
+ const [r, s] = o(a), t = u(), n = u(), c = f(() => {
4
+ r || (n.current = setTimeout(() => {
5
+ t.current = requestAnimationFrame(() => s(!1));
6
+ }, e), s(!0));
7
+ }, [r, e]);
8
+ return i(() => () => {
9
+ cancelAnimationFrame(t.current), clearTimeout(n.current), t.current = n.current = null;
10
+ }, [e]), {
11
+ freeze: c,
12
+ frozen: r
13
+ };
14
+ }, F = l;
15
+ export {
16
+ F as default,
17
+ l as useFreezePeriod
18
+ };
@@ -1,5 +1,5 @@
1
- import { BREAKPOINTS as m } from "../../../../constants.js";
2
- import { useMediaQuery as i } from "../../../../hooks/useMediaQuery/useMediaQuery.js";
1
+ import { BREAKPOINTS as m } from "../../constants.js";
2
+ import { useMediaQuery as i } from "../../hooks/useMediaQuery/useMediaQuery.js";
3
3
  const p = {
4
4
  up: {
5
5
  sm: `(min-width: ${m.sm}px)`,
@@ -0,0 +1,46 @@
1
+ import { useMemo as p } from "../../external/preact/hooks/dist/hooks.module.js";
2
+ import { getLabel as c } from "../utils/getLabel.js";
3
+ import b from "../../core/Context/useCoreContext.js";
4
+ import { EMPTY_OBJECT as a } from "../../utils/value/constants.js";
5
+ import { isUndefined as l, isString as v } from "../../utils/value/is.js";
6
+ function y(r) {
7
+ let e = {};
8
+ for (const t of Object.keys(r))
9
+ l(r[t]) || (e = {
10
+ ...e,
11
+ [t]: r[t]
12
+ });
13
+ return e;
14
+ }
15
+ function u(r) {
16
+ return r.every(v);
17
+ }
18
+ const P = ({
19
+ fields: r,
20
+ customColumns: e,
21
+ columnConfig: t
22
+ }) => {
23
+ const {
24
+ i18n: n
25
+ } = b(), o = p(() => r.map((i) => ({
26
+ key: i
27
+ })), [r]);
28
+ return p(() => ((e ? u(e) ? e.map((s) => ({
29
+ key: s
30
+ })) : e : void 0) || o).map(({
31
+ key: s,
32
+ flex: f
33
+ }) => {
34
+ const d = n.get(c(s)), m = y((t == null ? void 0 : t[s]) || a);
35
+ return {
36
+ key: s,
37
+ label: d,
38
+ visible: !0,
39
+ flex: f,
40
+ ...m || a
41
+ };
42
+ }), [t, e, n, o]);
43
+ };
44
+ export {
45
+ P as useTableColumns
46
+ };
@@ -1,18 +1,18 @@
1
1
  import d from "classnames";
2
- import { useState as C, useRef as m, useCallback as N } from "../../../external/preact/hooks/dist/hooks.module.js";
3
- import h from "../SVGIcons/ChevronDown.js";
4
- import A from "../SVGIcons/ChevronUp.js";
2
+ import { useState as C, useRef as m, useCallback as h } from "../../../external/preact/hooks/dist/hooks.module.js";
3
+ import A from "../SVGIcons/ChevronDown.js";
4
+ import N from "../SVGIcons/ChevronUp.js";
5
5
  import { ACCORDION_BASE_CLASS as O, ACCORDION_HEADER_CLASS as p, ACCORDION_HEADER_CONTAINER_CLASS as E, ACCORDION_HEADER_CONTROLLER_CLASS as S, ACCORDION_CONTENT_CLASS as _ } from "./constants.js";
6
6
  import "./Accordion.scss.js";
7
7
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
8
8
  function L({
9
- children: s,
9
+ children: a,
10
10
  classNames: c,
11
- header: t,
12
- headerInformation: a
11
+ header: n,
12
+ headerInformation: i
13
13
  }) {
14
- var i;
15
- const [o, l] = C(!1), r = m(null), n = N(() => {
14
+ var t;
15
+ const [o, l] = C(!1), r = m(null), s = h(() => {
16
16
  l(!o);
17
17
  }, [o]);
18
18
  return e("div", {
@@ -23,32 +23,32 @@ function L({
23
23
  id: "accordion-controller",
24
24
  "aria-controls": "accordion-content",
25
25
  className: E,
26
- onClick: n,
26
+ onClick: s,
27
27
  "aria-expanded": o,
28
28
  children: e("div", {
29
29
  className: S,
30
- children: [t, o ? e(A, {
30
+ children: [n, o ? e(N, {
31
31
  height: 8,
32
32
  width: 15
33
- }) : e(h, {
33
+ }) : e(A, {
34
34
  height: 8,
35
35
  width: 15
36
36
  })]
37
37
  })
38
- }), a && e("div", {
39
- children: a
38
+ }), i && e("div", {
39
+ children: i
40
40
  })]
41
41
  }), e("div", {
42
42
  role: "region",
43
43
  id: "accordion-content",
44
44
  "aria-labelledby": "accordion-controller",
45
45
  style: {
46
- maxHeight: o ? (i = r == null ? void 0 : r.current) == null ? void 0 : i.offsetHeight : 0
46
+ maxHeight: o ? (t = r == null ? void 0 : r.current) == null ? void 0 : t.offsetHeight : 0
47
47
  },
48
48
  className: _,
49
49
  children: e("div", {
50
50
  ref: r,
51
- children: s
51
+ children: a
52
52
  })
53
53
  })]
54
54
  });
@@ -0,0 +1,62 @@
1
+ import p from "classnames";
2
+ import { ButtonVariant as c } from "../Button/types.js";
3
+ import s from "../SVGIcons/Close.js";
4
+ import h from "../SVGIcons/WarningFilled.js";
5
+ import { TypographyElement as t, TypographyVariant as n } from "../Typography/types.js";
6
+ import i from "../Typography/Typography.js";
7
+ import "./Alert.scss.js";
8
+ import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
9
+ import y from "../Button/Button.js";
10
+ import { Fragment as u } from "../../../external/preact/dist/preact.module.js";
11
+ function x({
12
+ className: o,
13
+ description: r,
14
+ title: a,
15
+ type: l,
16
+ onClose: m,
17
+ isOpen: d
18
+ }) {
19
+ return e(u, {
20
+ children: d && e("div", {
21
+ className: p("adyen-pe-alert", o),
22
+ role: "alert",
23
+ children: e("div", {
24
+ className: `adyen-pe-alert__inner-container adyen-pe-alert--${l}`,
25
+ children: [e("div", {
26
+ className: "adyen-pe-alert__icon",
27
+ children: e(h, {})
28
+ }), e("div", {
29
+ className: "adyen-pe-alert__content",
30
+ children: [a && e(i, {
31
+ className: "adyen-pe-alert__title",
32
+ el: t.DIV,
33
+ variant: n.BODY,
34
+ wide: !0,
35
+ strongest: !0,
36
+ children: a
37
+ }), r && e(i, {
38
+ className: "adyen-pe-alert__description",
39
+ el: t.DIV,
40
+ variant: n.BODY,
41
+ wide: !0,
42
+ children: r
43
+ })]
44
+ }), e("div", {
45
+ className: "adyen-pe-alert__close-button",
46
+ children: e(y, {
47
+ iconButton: !0,
48
+ variant: c.TERTIARY,
49
+ onClick: m,
50
+ children: e(s, {
51
+ width: 7.12,
52
+ height: 7.12
53
+ })
54
+ })
55
+ })]
56
+ })
57
+ })
58
+ });
59
+ }
60
+ export {
61
+ x as default
62
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,4 @@
1
+ var c = /* @__PURE__ */ ((I) => (I.WARNING = "warning", I.CRITICAL = "critical", I.HIGHLIGHT = "highlight", I.SUCCESS = "success", I))(c || {});
2
+ export {
3
+ c as AlertTypeOption
4
+ };
@@ -0,0 +1,81 @@
1
+ import g from "classnames";
2
+ import { useState as k, useEffect as m } from "../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import x from "../../../../core/Context/useCoreContext.js";
4
+ import { useResponsiveViewport as B, mediaQueries as C } from "../../../hooks/useResponsiveViewport.js";
5
+ import h from "../../SVGIcons/Download.js";
6
+ import v from "../Button.js";
7
+ import { ButtonVariant as _ } from "../types.js";
8
+ import E from "./useDownload.js";
9
+ import "./DownloadButton.scss.js";
10
+ import { jsx as o } from "../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
11
+ import b from "../../Spinner/Spinner.js";
12
+ function N({
13
+ blob: r,
14
+ filename: c
15
+ }) {
16
+ const t = document.createElement("a"), n = URL.createObjectURL(r);
17
+ t.href = n, t.download = c || "download";
18
+ const a = () => {
19
+ setTimeout(() => {
20
+ URL.revokeObjectURL(n);
21
+ }, 150);
22
+ };
23
+ t.addEventListener("click", a, {
24
+ once: !0
25
+ }), t.click();
26
+ }
27
+ function Y({
28
+ className: r,
29
+ disabled: c,
30
+ endpointName: t,
31
+ params: n,
32
+ setError: a,
33
+ errorDisplay: f,
34
+ onDownloadRequested: d
35
+ }) {
36
+ const {
37
+ i18n: p
38
+ } = x(), [s, u] = k(!1), L = B(C.down.xs), {
39
+ data: l,
40
+ error: i,
41
+ isFetching: e
42
+ } = E(t, n, s);
43
+ m(() => {
44
+ s && u(!1);
45
+ }, [s]), m(() => {
46
+ l && N(l);
47
+ }, [l]), m(() => {
48
+ a && i && a(i);
49
+ }, [i]);
50
+ const w = () => {
51
+ u(!0), d == null || d();
52
+ };
53
+ return o("div", {
54
+ className: "adyen-pe-download",
55
+ children: [L ? o(v, {
56
+ iconButton: !0,
57
+ variant: _.TERTIARY,
58
+ onClick: w,
59
+ children: e ? o(b, {
60
+ size: "small"
61
+ }) : o(h, {})
62
+ }) : o(v, {
63
+ className: g("adyen-pe-download__button", {
64
+ "adyen-pe-download__button--loading": e
65
+ }, r),
66
+ disabled: c || e,
67
+ variant: _.SECONDARY,
68
+ onClick: w,
69
+ iconLeft: e ? o(b, {
70
+ size: "small"
71
+ }) : o(h, {}),
72
+ children: e ? `${p.get("downloading")}..` : p.get("download")
73
+ }), i && f && o("div", {
74
+ className: "adyen-pe-download__error",
75
+ children: f
76
+ })]
77
+ });
78
+ }
79
+ export {
80
+ Y as default
81
+ };
@@ -0,0 +1,4 @@
1
+ const o = "";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,18 @@
1
+ import { useFetch as r } from "../../../../hooks/useFetch/useFetch.js";
2
+ import { useAuthContext as s } from "../../../../core/Auth/context.js";
3
+ import { EMPTY_OBJECT as u } from "../../../../utils/value/constants.js";
4
+ const a = (t, e, n) => {
5
+ const o = s().endpoints[t];
6
+ return r({
7
+ fetchOptions: {
8
+ enabled: !!o && n,
9
+ keepPrevData: !0
10
+ },
11
+ queryFn: async () => o(u, {
12
+ ...e
13
+ })
14
+ });
15
+ }, i = a;
16
+ export {
17
+ i as default
18
+ };
@@ -1,35 +1,35 @@
1
- import { CARD_BASE_CLASS as i, CARD_FILLED as o, CARD_NO_OUTLINE as h, CARD_HEADER as L, CARD_HEADER_CONTENT as O, CARD_TITLE as n, CARD_SUBTITLE as p, CARD_BODY as I, CARD_BODY_WITH_TITLE as f, CARD_FOOTER as B } from "./constants.js";
1
+ import { CARD_BASE_CLASS as l, CARD_FILLED as o, CARD_NO_OUTLINE as h, CARD_HEADER as L, CARD_HEADER_CONTENT as O, CARD_TITLE as n, CARD_SUBTITLE as p, CARD_BODY as I, CARD_BODY_WITH_TITLE as f, CARD_FOOTER as B } from "./constants.js";
2
2
  import A from "classnames";
3
3
  import "./Card.scss.js";
4
4
  import { jsx as s } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
5
5
  const S = ({
6
6
  title: c,
7
- subTitle: D,
7
+ subTitle: _,
8
8
  children: C,
9
- footer: _,
9
+ footer: m,
10
10
  el: R,
11
11
  renderHeader: a,
12
- renderFooter: m,
12
+ renderFooter: D,
13
13
  filled: E,
14
14
  noOutline: N,
15
- classNameModifiers: l
15
+ classNameModifiers: T
16
16
  }) => {
17
- const T = R || "header";
17
+ const i = R || "header";
18
18
  return s("section", {
19
- className: A(i, {
19
+ className: A(l, {
20
20
  [o]: E,
21
21
  [h]: N
22
- }, l),
23
- children: [(c || a) && s(T, {
22
+ }, T),
23
+ children: [(c || a) && s(i, {
24
24
  className: L,
25
25
  children: (c || a) && s("div", {
26
26
  className: O,
27
27
  children: [a || s("span", {
28
28
  className: n,
29
29
  children: c
30
- }), D && s("div", {
30
+ }), _ && s("div", {
31
31
  className: p,
32
- children: D
32
+ children: _
33
33
  })]
34
34
  })
35
35
  }), s("div", {
@@ -37,12 +37,12 @@ const S = ({
37
37
  [f]: c || a
38
38
  }),
39
39
  children: C
40
- }), (_ || m) && s("footer", {
40
+ }), (m || D) && s("footer", {
41
41
  className: B,
42
- children: m || _
42
+ children: D || m
43
43
  })]
44
44
  });
45
- }, x = S;
45
+ }, u = S;
46
46
  export {
47
- x as default
47
+ u as default
48
48
  };