@adyen/adyen-platform-experience-web 1.4.1 → 1.5.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 (314) hide show
  1. package/README.md +12 -13
  2. package/dist/adyen-platform-experience-web.css +1 -1
  3. package/dist/{angle-right-DpuNqT0j.cjs → angle-right-B2I_t62j.cjs} +2 -2
  4. package/dist/{angle-right-DpuNqT0j.cjs.map → angle-right-B2I_t62j.cjs.map} +1 -1
  5. package/dist/{checkmark-CC7Mmd_x.cjs → checkmark-CIwP_FdK.cjs} +2 -2
  6. package/dist/{checkmark-CC7Mmd_x.cjs.map → checkmark-CIwP_FdK.cjs.map} +1 -1
  7. package/dist/{checkmark-circle-fill-1IL4ERtO.cjs → checkmark-circle-fill-Cw5UXqzN.cjs} +2 -2
  8. package/dist/{checkmark-circle-fill-1IL4ERtO.cjs.map → checkmark-circle-fill-Cw5UXqzN.cjs.map} +1 -1
  9. package/dist/{checkmark-square-fill-Bu2jdGU3.cjs → checkmark-square-fill-BwkQfKCG.cjs} +2 -2
  10. package/dist/{checkmark-square-fill-Bu2jdGU3.cjs.map → checkmark-square-fill-BwkQfKCG.cjs.map} +1 -1
  11. package/dist/{chevron-down-BVCFqkLo.cjs → chevron-down-BuYiZOY7.cjs} +2 -2
  12. package/dist/{chevron-down-BVCFqkLo.cjs.map → chevron-down-BuYiZOY7.cjs.map} +1 -1
  13. package/dist/{chevron-left-DfGEXTbq.cjs → chevron-left-DhRCcHqQ.cjs} +2 -2
  14. package/dist/{chevron-left-DfGEXTbq.cjs.map → chevron-left-DhRCcHqQ.cjs.map} +1 -1
  15. package/dist/{chevron-right-DzkYlomK.cjs → chevron-right-DvPR8FD2.cjs} +2 -2
  16. package/dist/{chevron-right-DzkYlomK.cjs.map → chevron-right-DvPR8FD2.cjs.map} +1 -1
  17. package/dist/{chevron-up-CpmBSOon.cjs → chevron-up-DFrrO8PJ.cjs} +2 -2
  18. package/dist/{chevron-up-CpmBSOon.cjs.map → chevron-up-DFrrO8PJ.cjs.map} +1 -1
  19. package/dist/cjs/index.js +1 -1
  20. package/dist/{copy-DuV1z0-c.cjs → copy-Bl3l133y.cjs} +2 -2
  21. package/dist/{copy-DuV1z0-c.cjs.map → copy-Bl3l133y.cjs.map} +1 -1
  22. package/dist/{cross-C5L4gQrS.cjs → cross-BtdvCTEP.cjs} +2 -2
  23. package/dist/{cross-C5L4gQrS.cjs.map → cross-BtdvCTEP.cjs.map} +1 -1
  24. package/dist/{cross-circle-fill-D6Ir0xDO.cjs → cross-circle-fill-BBjJLOad.cjs} +2 -2
  25. package/dist/{cross-circle-fill-D6Ir0xDO.cjs.map → cross-circle-fill-BBjJLOad.cjs.map} +1 -1
  26. package/dist/da-DK-qSZWEjaU.cjs +2 -0
  27. package/dist/da-DK-qSZWEjaU.cjs.map +1 -0
  28. package/dist/de-DE-Dngq7NwF.cjs +2 -0
  29. package/dist/de-DE-Dngq7NwF.cjs.map +1 -0
  30. package/dist/{download-IwqY_7gX.cjs → download-Cqu4yqTE.cjs} +2 -2
  31. package/dist/{download-IwqY_7gX.cjs.map → download-Cqu4yqTE.cjs.map} +1 -1
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  34. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  35. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  39. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  40. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  41. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  42. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  44. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +29 -29
  45. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  46. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  47. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  48. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  49. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  51. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  52. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  53. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  54. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  55. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  58. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  59. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  60. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  61. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  63. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  64. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  66. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  69. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  70. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  71. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  72. package/dist/es/components/internal/Alert/Alert.js +1 -1
  73. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  74. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  75. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  76. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  79. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  80. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  82. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  83. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  84. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  85. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  87. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  88. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  89. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  90. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  91. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  92. package/dist/es/components/internal/Card/Card.js +9 -9
  93. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  94. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  95. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  96. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  97. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  98. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  99. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  100. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  101. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +53 -42
  102. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  104. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  105. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  107. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  108. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  109. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  110. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  111. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  112. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  113. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  114. package/dist/es/components/internal/Header/Header.js +4 -4
  115. package/dist/es/components/internal/Icon/Icon.js +5 -3
  116. package/dist/es/components/internal/Img/Img.js +2 -2
  117. package/dist/es/components/internal/Link/Link.js +2 -2
  118. package/dist/es/components/internal/Modal/Modal.js +4 -4
  119. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  120. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  121. package/dist/es/components/internal/Popover/Popover.js +4 -4
  122. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  124. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  126. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  127. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +55 -0
  128. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  129. package/dist/es/components/internal/Translation/Translation.js +15 -15
  130. package/dist/es/components/utils/getErrorMessage.js +2 -2
  131. package/dist/es/constants/dateFormats.js +3 -3
  132. package/dist/es/core/ConfigContext/context.js +18 -18
  133. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  134. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  135. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  136. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  137. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  138. package/dist/es/core/Http/utils.js +1 -1
  139. package/dist/es/core/Localization/Localization.js +32 -32
  140. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  141. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  142. package/dist/es/core/Localization/utils.js +1 -1
  143. package/dist/es/core/core.js +1 -1
  144. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  145. package/dist/es/external/preact/dist/preact.module.js +197 -195
  146. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  147. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  148. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  149. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  150. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  151. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  152. package/dist/es/hooks/useContainerQuery.js +4 -4
  153. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  154. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  155. package/dist/es/hooks/useFetch.js +22 -22
  156. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  157. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  158. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  159. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  160. package/dist/es/hooks/useTabbedControl.js +66 -0
  161. package/dist/es/images/icons/trash-can.svg.js +9 -0
  162. package/dist/es/images/icons/upload.svg.js +9 -0
  163. package/dist/es/primitives/async/abortable/main.js +9 -9
  164. package/dist/es/primitives/async/deferred/main.js +1 -1
  165. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  166. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  167. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  168. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  169. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  170. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  171. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  172. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  173. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  174. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  175. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  176. package/dist/es/primitives/time/clock/main.js +6 -6
  177. package/dist/es/primitives/time/interval/main.js +9 -9
  178. package/dist/es/translations/da-DK.json.js +55 -46
  179. package/dist/es/translations/de-DE.json.js +67 -58
  180. package/dist/es/translations/en-US.json.js +79 -70
  181. package/dist/es/translations/es-ES.json.js +91 -82
  182. package/dist/es/translations/fi-FI.json.js +93 -84
  183. package/dist/es/translations/fr-FR.json.js +75 -66
  184. package/dist/es/translations/it-IT.json.js +95 -86
  185. package/dist/es/translations/nl-NL.json.js +92 -83
  186. package/dist/es/translations/no-NO.json.js +71 -62
  187. package/dist/es/translations/pt-BR.json.js +67 -58
  188. package/dist/es/translations/sv-SE.json.js +95 -86
  189. package/dist/es/utils/abort/internals.js +3 -3
  190. package/dist/es/utils/abort/main.js +19 -19
  191. package/dist/es/utils/collection/main.js +14 -14
  192. package/dist/es/utils/datetime/main.js +3 -3
  193. package/dist/es/utils/preact/className.js +2 -2
  194. package/dist/es/utils/struct/main.js +8 -8
  195. package/dist/es/utils/value/is.js +9 -9
  196. package/dist/es/utils/value/number.js +2 -2
  197. package/dist/es-ES-Bjddx94n.cjs +2 -0
  198. package/dist/es-ES-Bjddx94n.cjs.map +1 -0
  199. package/dist/{external-link-r39cGU4L.cjs → external-link-CqDz5BtK.cjs} +2 -2
  200. package/dist/{external-link-r39cGU4L.cjs.map → external-link-CqDz5BtK.cjs.map} +1 -1
  201. package/dist/fi-FI-CNpmToDG.cjs +2 -0
  202. package/dist/fi-FI-CNpmToDG.cjs.map +1 -0
  203. package/dist/{filter-BGBP3TAU.cjs → filter-DLAt7sYb.cjs} +2 -2
  204. package/dist/{filter-BGBP3TAU.cjs.map → filter-DLAt7sYb.cjs.map} +1 -1
  205. package/dist/fr-FR-CUUHB8JU.cjs +2 -0
  206. package/dist/fr-FR-CUUHB8JU.cjs.map +1 -0
  207. package/dist/index-DbNUA_xB.cjs +12 -0
  208. package/dist/index-DbNUA_xB.cjs.map +1 -0
  209. package/dist/{info-filled-C_zUEZ2b.cjs → info-filled-B9fmmNGT.cjs} +2 -2
  210. package/dist/{info-filled-C_zUEZ2b.cjs.map → info-filled-B9fmmNGT.cjs.map} +1 -1
  211. package/dist/it-IT-B-E80zCo.cjs +2 -0
  212. package/dist/it-IT-B-E80zCo.cjs.map +1 -0
  213. package/dist/{minus-circle-outline-1CJ3DOVB.cjs → minus-circle-outline-JkeH7g3f.cjs} +2 -2
  214. package/dist/{minus-circle-outline-1CJ3DOVB.cjs.map → minus-circle-outline-JkeH7g3f.cjs.map} +1 -1
  215. package/dist/nl-NL--CGhOJhH.cjs +2 -0
  216. package/dist/nl-NL--CGhOJhH.cjs.map +1 -0
  217. package/dist/no-NO-D0UNXgzr.cjs +2 -0
  218. package/dist/no-NO-D0UNXgzr.cjs.map +1 -0
  219. package/dist/{plus-circle-outline-CPQ_oOtQ.cjs → plus-circle-outline-Cmz1Lb00.cjs} +2 -2
  220. package/dist/{plus-circle-outline-CPQ_oOtQ.cjs.map → plus-circle-outline-Cmz1Lb00.cjs.map} +1 -1
  221. package/dist/pt-BR-Du4cDUgf.cjs +2 -0
  222. package/dist/pt-BR-Du4cDUgf.cjs.map +1 -0
  223. package/dist/{square-BmHyYgat.cjs → square-Bow_5TP1.cjs} +2 -2
  224. package/dist/{square-BmHyYgat.cjs.map → square-Bow_5TP1.cjs.map} +1 -1
  225. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  226. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  227. package/dist/trash-can-DLEmgXUG.cjs +2 -0
  228. package/dist/trash-can-DLEmgXUG.cjs.map +1 -0
  229. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  230. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  231. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  232. package/dist/types/components/external/TransactionDetails/components/utils.d.ts +1 -1
  233. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  234. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  235. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  236. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  237. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  238. package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
  239. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  240. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  241. package/dist/types/components/internal/Icon/Icon.d.ts +2 -0
  242. package/dist/types/components/internal/Icon/Icon.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  247. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  248. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  249. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  250. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  251. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  252. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  253. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  254. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  255. package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts +5 -0
  256. package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  257. package/dist/types/components/internal/SegmentedControl/types.d.ts +14 -0
  258. package/dist/types/components/internal/SegmentedControl/types.d.ts.map +1 -0
  259. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  260. package/dist/types/components/utils/getLabel.d.ts +1 -1
  261. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  262. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  263. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  264. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  265. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  266. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  267. package/dist/types/hooks/useTabbedControl.d.ts +19 -0
  268. package/dist/types/hooks/useTabbedControl.d.ts.map +1 -0
  269. package/dist/types/translations/index.d.ts +9 -0
  270. package/dist/types/translations/index.d.ts.map +1 -1
  271. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  272. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  273. package/dist/types/utils/file/read.d.ts +5 -0
  274. package/dist/types/utils/file/read.d.ts.map +1 -0
  275. package/dist/types/utils/file/size.d.ts +45 -0
  276. package/dist/types/utils/file/size.d.ts.map +1 -0
  277. package/dist/types/utils/file/upload.d.ts +17 -0
  278. package/dist/types/utils/file/upload.d.ts.map +1 -0
  279. package/dist/types/utils/index.d.ts +3 -0
  280. package/dist/types/utils/index.d.ts.map +1 -1
  281. package/dist/upload-DWOtVcWc.cjs +2 -0
  282. package/dist/upload-DWOtVcWc.cjs.map +1 -0
  283. package/dist/{warning-eizPFTg-.cjs → warning-DNUR39rT.cjs} +2 -2
  284. package/dist/{warning-eizPFTg-.cjs.map → warning-DNUR39rT.cjs.map} +1 -1
  285. package/dist/{warning-filled-CiVuOE_O.cjs → warning-filled-qxDqTfWV.cjs} +2 -2
  286. package/dist/{warning-filled-CiVuOE_O.cjs.map → warning-filled-qxDqTfWV.cjs.map} +1 -1
  287. package/package.json +16 -15
  288. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  289. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  290. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  291. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  292. package/dist/es/components/internal/Tabs/Tabs.js +0 -69
  293. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  294. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  295. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  296. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  297. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  298. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  299. package/dist/index-BeWwE_B0.cjs +0 -12
  300. package/dist/index-BeWwE_B0.cjs.map +0 -1
  301. package/dist/it-IT-DsfPVAun.cjs +0 -2
  302. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  303. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  304. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  305. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  306. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  307. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  308. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  309. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  310. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
  311. package/dist/types/components/internal/Tabs/Tabs.d.ts +0 -5
  312. package/dist/types/components/internal/Tabs/Tabs.d.ts.map +0 -1
  313. package/dist/types/components/internal/Tabs/types.d.ts +0 -15
  314. package/dist/types/components/internal/Tabs/types.d.ts.map +0 -1
@@ -1,25 +1,25 @@
1
- import { jsx as r } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
1
+ import { jsx as e } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import u from "../PreQualifiedIntro.js";
3
- import { useState as d, useCallback as n, useMemo as h } from "../../../../../external/preact/hooks/dist/hooks.module.js";
4
- import { CapitalOffer as C } from "../../../CapitalOffer/components/CapitalOffer/CapitalOffer.js";
5
- import { Fragment as g } from "../../../../../external/preact/dist/preact.module.js";
3
+ import { useState as d, useCallback as s, useMemo as C } from "../../../../../external/preact/hooks/dist/hooks.module.js";
4
+ import { CapitalOffer as g } from "../../../CapitalOffer/components/CapitalOffer/CapitalOffer.js";
5
+ import { Fragment as h } from "../../../../../external/preact/dist/preact.module.js";
6
6
  const q = ({
7
7
  hideTitle: f,
8
8
  dynamicOffer: o,
9
- skipPreQualifiedIntro: e,
10
- onOfferOptionsRequest: a,
11
- onFundsRequest: s,
9
+ skipPreQualifiedIntro: a,
10
+ onOfferOptionsRequest: r,
11
+ onFundsRequest: n,
12
12
  onOfferDismiss: t
13
13
  }) => {
14
- const [m, i] = d(e ? "capitalOffer" : "intro"), c = n(() => {
15
- a ? a() : i("capitalOffer");
16
- }, [a]), l = h(() => !e || !!t, [t, e]), p = n(() => {
14
+ const [m, i] = d(a ? "capitalOffer" : "intro"), c = s(() => {
15
+ r ? r() : i("capitalOffer");
16
+ }, [r]), l = C(() => !a || !!t, [t, a]), p = s(() => {
17
17
  t ? t() : i("intro");
18
18
  }, [t]);
19
- return /* @__PURE__ */ r(g, { children: m === "intro" ? /* @__PURE__ */ r(u, { hideTitle: f, dynamicOfferConfig: o, onOfferOptionsRequest: c }) : /* @__PURE__ */ r(
20
- C,
19
+ return /* @__PURE__ */ e(h, { children: m === "intro" ? /* @__PURE__ */ e(u, { hideTitle: f, dynamicOfferConfig: o, onOfferOptionsRequest: c }) : /* @__PURE__ */ e(
20
+ g,
21
21
  {
22
- onFundsRequest: s,
22
+ onFundsRequest: n,
23
23
  onOfferDismiss: l ? p : void 0,
24
24
  externalDynamicOffersConfig: o
25
25
  }
@@ -2,7 +2,7 @@ import { jsx as e } from "../../../../external/preact/jsx-runtime/dist/jsxRuntim
2
2
  import r from "../../../../core/Context/useCoreContext.js";
3
3
  import t from "../../../../images/generic-use-first-touch.svg.js";
4
4
  import o from "../../../internal/Typography/Typography.js";
5
- import { TypographyElement as l, TypographyVariant as n } from "../../../internal/Typography/types.js";
5
+ import { TypographyVariant as l, TypographyElement as n } from "../../../internal/Typography/types.js";
6
6
  import { Fragment as m } from "../../../../external/preact/dist/preact.module.js";
7
7
  import { CapitalHeader as p } from "../../../internal/CapitalHeader/CapitalHeader.js";
8
8
  const h = ({ hideTitle: a }) => {
@@ -11,7 +11,7 @@ const h = ({ hideTitle: a }) => {
11
11
  /* @__PURE__ */ e(p, { hideTitle: a, titleKey: "capital.needSomeExtraMoney" }),
12
12
  /* @__PURE__ */ e("div", { className: "adyen-pe-capital-overview__unqualified-state", children: [
13
13
  /* @__PURE__ */ e("div", { className: "adyen-pe-capital-overview__unqualified-state-img", children: /* @__PURE__ */ e("img", { srcSet: t, alt: "" }) }),
14
- /* @__PURE__ */ e(o, { el: l.PARAGRAPH, variant: n.BODY, large: !0, children: i.get("capital.youWillSoonQualifyForAFinancialOffer") })
14
+ /* @__PURE__ */ e(o, { el: n.PARAGRAPH, variant: l.BODY, large: !0, children: i.get("capital.youWillSoonQualifyForAFinancialOffer") })
15
15
  ] })
16
16
  ] });
17
17
  };
@@ -1,6 +1,5 @@
1
1
  const e = {
2
2
  base: "adyen-pe-capital-overview",
3
- title: "adyen-pe-capital-overview__title",
4
3
  skeleton: "adyen-pe-capital-overview__skeleton",
5
4
  headerSkeleton: "adyen-pe-capital-overview__header-skeleton",
6
5
  skeletonContainer: "adyen-pe-capital-overview__header-skeleton-container",
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import l from "classnames";
3
- import { useMemo as C } from "../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import { useMemo as S } from "../../../../external/preact/hooks/dist/hooks.module.js";
4
4
  import F from "../../../../core/Context/useCoreContext.js";
5
5
  import x from "../../../internal/Accordion/Accordion.js";
6
6
  import g from "../../../internal/Card/Card.js";
@@ -9,7 +9,7 @@ import a from "../../../internal/Typography/Typography.js";
9
9
  import G from "../../../internal/DataOverviewDetails/DataOverviewDetailsSkeleton.js";
10
10
  import J from "../../../../hooks/useTimezoneAwareDateFormatting.js";
11
11
  /* empty css */
12
- import { PD_BASE_CLASS as K, PD_TITLE_CLASS as W, PD_TITLE_CLASS_WITH_EXTRA_DETAILS as q, PD_TITLE_CONTAINER_CLASS as Q, PD_SECTION_CLASS as _, PD_TITLE_BA_CLASS as Z, PD_EXTRA_DETAILS_CLASS as j, PD_EXTRA_DETAILS_LABEL as w, PD_EXTRA_DETAILS_ICON as V, PD_CONTENT_CLASS as tt, PD_CARD_CLASS as D, PD_SECTION_AMOUNT_CLASS as L, PD_SECTION_GROSS_AMOUNT_CLASS as $, PD_CARD_TITLE_CLASS as X, PD_SECTION_NET_AMOUNT_CLASS as it, PD_UNPAID_AMOUNT as nt, PD_BUTTON_ACTIONS as rt } from "./constants.js";
12
+ import { PD_BASE_CLASS as K, PD_TITLE_CONTAINER_CLASS as W, PD_SECTION_CLASS as _, PD_TITLE_BA_CLASS as q, PD_TITLE_CLASS as Q, PD_TITLE_CLASS_WITH_EXTRA_DETAILS as Z, PD_EXTRA_DETAILS_CLASS as j, PD_EXTRA_DETAILS_ICON as w, PD_EXTRA_DETAILS_LABEL as V, PD_CONTENT_CLASS as tt, PD_CARD_CLASS as D, PD_SECTION_AMOUNT_CLASS as L, PD_SECTION_GROSS_AMOUNT_CLASS as $, PD_CARD_TITLE_CLASS as X, PD_SECTION_NET_AMOUNT_CLASS as it, PD_UNPAID_AMOUNT as nt, PD_BUTTON_ACTIONS as rt } from "./constants.js";
13
13
  import { Tag as ot } from "../../../internal/Tag/Tag.js";
14
14
  import { TagVariant as et } from "../../../internal/Tag/types.js";
15
15
  import st from "../../../internal/Link/Link.js";
@@ -19,7 +19,7 @@ import { ButtonVariant as at } from "../../../internal/Button/types.js";
19
19
  import { ButtonActionsLayoutBasic as ct } from "../../../internal/Button/ButtonActions/types.js";
20
20
  import dt from "../../../internal/Button/ButtonActions/ButtonActions.js";
21
21
  import { DATE_FORMAT_PAYOUT_DETAILS as ht } from "../../../../constants/dateFormats.js";
22
- import S from "../../../internal/StructuredList/StructuredList.js";
22
+ import y from "../../../internal/StructuredList/StructuredList.js";
23
23
  import { Fragment as At } from "../../../../external/preact/dist/preact.module.js";
24
24
  import { EMPTY_OBJECT as lt } from "../../../../utils/value/constants.js";
25
25
  const $t = ({
@@ -29,7 +29,7 @@ const $t = ({
29
29
  extraFields: O
30
30
  }) => {
31
31
  var u;
32
- const { payout: o } = h ?? lt, { dateFormat: E } = J("UTC"), { i18n: s } = F(), r = C(() => {
32
+ const { payout: o } = h ?? lt, { dateFormat: E } = J("UTC"), { i18n: s } = F(), r = S(() => {
33
33
  var d, c;
34
34
  const e = (c = (d = h == null ? void 0 : h.amountBreakdowns) == null ? void 0 : d.adjustmentBreakdown) == null ? void 0 : c.reduce(
35
35
  (n, t) => {
@@ -40,7 +40,7 @@ const $t = ({
40
40
  { subtractions: [], additions: [] }
41
41
  );
42
42
  return e == null || e.subtractions.sort((n, t) => n.key.localeCompare(t.key)), e == null || e.additions.sort((n, t) => n.key.localeCompare(t.key)), e;
43
- }, [s, h]), y = C(() => {
43
+ }, [s, h]), p = S(() => {
44
44
  var d, c;
45
45
  const e = (c = (d = h == null ? void 0 : h.amountBreakdowns) == null ? void 0 : d.fundsCapturedBreakdown) == null ? void 0 : c.reduce((n, t) => {
46
46
  var A, v, T, N;
@@ -50,15 +50,15 @@ const $t = ({
50
50
  }), n;
51
51
  }, []);
52
52
  return e == null || e.sort((n, t) => n.key === "capture" ? -1 : t.key === "capture" ? 1 : n.key.localeCompare(t.key)), e;
53
- }, [h, s]), z = C(
53
+ }, [h, s]), z = S(
54
54
  () => o != null && o.createdAt ? E(new Date(o == null ? void 0 : o.createdAt), ht) : "",
55
55
  [o, E]
56
- ), p = Object.entries(O || {}).filter(([, e]) => e.type !== "button" && e.visibility !== "hidden").map(([e, d]) => ({
56
+ ), C = Object.entries(O || {}).filter(([, e]) => e.type !== "button" && e.visibility !== "hidden").map(([e, d]) => ({
57
57
  key: e,
58
58
  value: B(d) ? d.value : d,
59
59
  type: B(d) ? d.type : "text",
60
60
  config: B(d) ? d.config : void 0
61
- })) || [], I = C(() => [...O ? Object.values(O).filter((c) => c.type === "button").map((c) => {
61
+ })) || [], I = S(() => [...O ? Object.values(O).filter((c) => c.type === "button").map((c) => {
62
62
  var n, t, A;
63
63
  return {
64
64
  title: c.value,
@@ -71,11 +71,11 @@ const $t = ({
71
71
  /* @__PURE__ */ i(
72
72
  "div",
73
73
  {
74
- className: l(W, {
75
- [q]: p.length
74
+ className: l(Q, {
75
+ [Z]: C.length
76
76
  }),
77
77
  children: [
78
- /* @__PURE__ */ i("div", { className: Q, children: [
78
+ /* @__PURE__ */ i("div", { className: W, children: [
79
79
  /* @__PURE__ */ i(a, { variant: m.SUBTITLE, stronger: !0, children: s.get("netPayout") }),
80
80
  o.isSumOfSameDayPayouts && /* @__PURE__ */ i(ot, { variant: et.BLUE, label: s.get("sumOfSameDayPayouts") })
81
81
  ] }),
@@ -85,25 +85,25 @@ const $t = ({
85
85
  /* @__PURE__ */ i(a, { variant: m.BODY, children: z }),
86
86
  /* @__PURE__ */ i("div", { className: _, children: [
87
87
  P && /* @__PURE__ */ i(a, { variant: m.CAPTION, stronger: !0, wide: !0, children: `${P}` }),
88
- /* @__PURE__ */ i(a, { variant: m.CAPTION, className: Z, children: `${H}` })
88
+ /* @__PURE__ */ i(a, { variant: m.CAPTION, className: q, children: `${H}` })
89
89
  ] })
90
90
  ]
91
91
  }
92
92
  ),
93
- p.length > 0 ? /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
94
- S,
93
+ C && C.length > 0 ? /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
94
+ y,
95
95
  {
96
96
  classNames: j,
97
- items: p,
97
+ items: C,
98
98
  align: "start",
99
99
  layout: "5-7",
100
- renderLabel: (e) => /* @__PURE__ */ i("div", { className: w, children: e }),
100
+ renderLabel: (e) => /* @__PURE__ */ i("div", { className: V, children: e }),
101
101
  renderValue: (e, d, c, n) => {
102
102
  if (c === "link" && n)
103
103
  return /* @__PURE__ */ i(st, { classNames: [l(n == null ? void 0 : n.className)], href: n.href, target: n.target || "_blank", children: e });
104
104
  if (c === "icon" && n) {
105
105
  const t = { url: n.src, alt: n.alt || e };
106
- return /* @__PURE__ */ i("div", { className: l(V, n == null ? void 0 : n.className), children: [
106
+ return /* @__PURE__ */ i("div", { className: l(w, n == null ? void 0 : n.className), children: [
107
107
  /* @__PURE__ */ i(mt, { ...t }),
108
108
  /* @__PURE__ */ i(a, { variant: m.BODY, children: e })
109
109
  ] });
@@ -113,12 +113,12 @@ const $t = ({
113
113
  }
114
114
  ) }) : null,
115
115
  /* @__PURE__ */ i("div", { className: tt, children: [
116
- /* @__PURE__ */ i("div", { className: _, children: (o == null ? void 0 : o.fundsCapturedAmount) && (y && Object.keys(y).length > 0 ? /* @__PURE__ */ i(
116
+ /* @__PURE__ */ i("div", { className: _, children: (o == null ? void 0 : o.fundsCapturedAmount) && (p && Object.keys(p).length > 0 ? /* @__PURE__ */ i(
117
117
  x,
118
118
  {
119
119
  header: /* @__PURE__ */ i(a, { variant: m.BODY, children: s.get("fundsCaptured") }),
120
120
  headerInformation: /* @__PURE__ */ i(a, { variant: m.BODY, children: s.amount(o.fundsCapturedAmount.value, o.fundsCapturedAmount.currency) }),
121
- children: /* @__PURE__ */ i("div", { className: _, children: /* @__PURE__ */ i("div", { className: D, children: /* @__PURE__ */ i(g, { noPadding: !0, children: /* @__PURE__ */ i(S, { items: y }) }) }) })
121
+ children: /* @__PURE__ */ i("div", { className: _, children: /* @__PURE__ */ i("div", { className: D, children: /* @__PURE__ */ i(g, { noPadding: !0, children: /* @__PURE__ */ i(y, { items: p }) }) }) })
122
122
  }
123
123
  ) : /* @__PURE__ */ i("div", { className: l(L, $), children: [
124
124
  /* @__PURE__ */ i(a, { variant: m.BODY, children: s.get("fundsCaptured") }),
@@ -135,7 +135,7 @@ const $t = ({
135
135
  {
136
136
  noPadding: !0,
137
137
  renderHeader: /* @__PURE__ */ i(a, { className: X, variant: m.CAPTION, stronger: !0, children: s.get("additions") }),
138
- children: /* @__PURE__ */ i(S, { items: r == null ? void 0 : r.additions })
138
+ children: /* @__PURE__ */ i(y, { items: r == null ? void 0 : r.additions })
139
139
  }
140
140
  ) }),
141
141
  (r == null ? void 0 : r.subtractions) && Object.keys(r == null ? void 0 : r.subtractions).length > 0 && /* @__PURE__ */ i("div", { className: D, children: /* @__PURE__ */ i(
@@ -143,7 +143,7 @@ const $t = ({
143
143
  {
144
144
  noPadding: !0,
145
145
  renderHeader: /* @__PURE__ */ i(a, { className: X, variant: m.CAPTION, stronger: !0, children: s.get("subtractions") }),
146
- children: /* @__PURE__ */ i(S, { items: r == null ? void 0 : r.subtractions })
146
+ children: /* @__PURE__ */ i(y, { items: r == null ? void 0 : r.subtractions })
147
147
  }
148
148
  ) })
149
149
  ]
@@ -7,18 +7,18 @@ import me from "../../../../internal/FilterBar/filters/DateFilter/DateFilter.js"
7
7
  import pe from "../../../../../hooks/useModalDetails/useModalDetails.js";
8
8
  import fe from "../../../../../hooks/useDefaultOverviewFilterParams.js";
9
9
  import { FilterParam as i } from "../../../../types.js";
10
- import { useCallback as D, useMemo as o, useEffect as de } from "../../../../../external/preact/hooks/dist/hooks.module.js";
11
- import { DataDetailsModal as ne } from "../../../../internal/DataOverviewDisplay/DataDetailsModal.js";
10
+ import { useCallback as n, useMemo as o, useEffect as de } from "../../../../../external/preact/hooks/dist/hooks.module.js";
11
+ import { DataDetailsModal as De } from "../../../../internal/DataOverviewDisplay/DataDetailsModal.js";
12
12
  /* empty css */
13
- import { useCustomColumnsData as De } from "../../../../../hooks/useCustomColumnsData.js";
13
+ import { useCustomColumnsData as ne } from "../../../../../hooks/useCustomColumnsData.js";
14
14
  import { hasCustomField as Ee } from "../../../../utils/customData/hasCustomField.js";
15
15
  import { mergeRecords as ce } from "../../../../utils/customData/mergeRecords.js";
16
16
  import { useFilterBarState as Te, FilterBarMobileSwitch as Se, FilterBar as Fe } from "../../../../internal/FilterBar/FilterBar.js";
17
17
  import ye from "../../../../internal/Pagination/hooks/useCursorPaginatedRecords.js";
18
18
  import { DataOverviewHeader as Pe } from "../../../../internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js";
19
19
  import _e from "../../../../internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js";
20
- import { useConfigContext as ue } from "../../../../../core/ConfigContext/context.js";
21
- import { isFunction as Ie } from "../../../../../utils/value/is.js";
20
+ import { useConfigContext as Ie } from "../../../../../core/ConfigContext/context.js";
21
+ import { isFunction as Le } from "../../../../../utils/value/is.js";
22
22
  const We = ({
23
23
  onFiltersChanged: m,
24
24
  balanceAccounts: E,
@@ -31,9 +31,9 @@ const We = ({
31
31
  hideTitle: b,
32
32
  dataCustomization: r
33
33
  }) => {
34
- var I, L, O, A;
35
- const { getPayouts: f } = ue().endpoints, { activeBalanceAccount: e, balanceAccountSelectionOptions: g, onBalanceAccountSelection: U } = ie(E), { defaultParams: l, nowTimestamp: w, refreshNowTimestamp: d } = fe("payouts", e), M = D(
36
- async (s, n) => f({ signal: n, errorLevel: "error" }, {
34
+ var L, u, O, A;
35
+ const { getPayouts: f } = Ie().endpoints, { activeBalanceAccount: e, balanceAccountSelectionOptions: g, onBalanceAccountSelection: U } = ie(E), { defaultParams: l, nowTimestamp: w, refreshNowTimestamp: d } = fe("payouts", e), M = n(
36
+ async (s, D) => f({ signal: D, errorLevel: "error" }, {
37
37
  query: {
38
38
  ...s,
39
39
  createdSince: s[i.CREATED_SINCE] ?? l.current.defaultFilterParams[i.CREATED_SINCE],
@@ -42,7 +42,7 @@ const We = ({
42
42
  }
43
43
  }),
44
44
  [e == null ? void 0 : e.id, l, f]
45
- ), F = Te(), k = o(() => Ie(m) ? m : void 0, [m]), x = o(() => c ? le : void 0, [c]), { canResetFilters: q, error: K, fetching: Y, filters: y, limit: j, limitOptions: G, records: P, resetFilters: Le, updateFilters: H, updateLimit: J, ...Q } = ye({
45
+ ), F = Te(), k = o(() => Le(m) ? m : void 0, [m]), x = o(() => c ? le : void 0, [c]), { canResetFilters: q, error: K, fetching: Y, filters: y, limit: j, limitOptions: G, records: P, resetFilters: ue, updateFilters: H, updateLimit: J, ...Q } = ye({
46
46
  fetchRecords: M,
47
47
  dataField: "data",
48
48
  filterParams: l.current.defaultFilterParams,
@@ -61,20 +61,20 @@ const We = ({
61
61
  callback: T
62
62
  }),
63
63
  [p, T]
64
- ), V = D(
65
- ({ records: s, retrievedData: n }) => ce(s, n, (R, a) => R.createdAt === a.createdAt),
64
+ ), V = n(
65
+ ({ records: s, retrievedData: D }) => ce(s, D, (R, a) => R.createdAt === a.createdAt),
66
66
  []
67
67
  ), W = o(() => {
68
68
  var s;
69
69
  return Ee((s = r == null ? void 0 : r.list) == null ? void 0 : s.fields, te);
70
- }, [(I = r == null ? void 0 : r.list) == null ? void 0 : I.fields]), { customRecords: X, loadingCustomRecords: Z } = De({
70
+ }, [(L = r == null ? void 0 : r.list) == null ? void 0 : L.fields]), { customRecords: X, loadingCustomRecords: Z } = ne({
71
71
  records: P,
72
72
  hasCustomColumn: W,
73
- onDataRetrieve: (L = r == null ? void 0 : r.list) == null ? void 0 : L.onDataRetrieve,
73
+ onDataRetrieve: (u = r == null ? void 0 : r.list) == null ? void 0 : u.onDataRetrieve,
74
74
  mergeCustomData: V
75
- }), $ = o(() => ({ payout: _ }), [_]), { updateDetails: u, resetDetails: v, selectedDetail: B } = pe($), C = D(
75
+ }), $ = o(() => ({ payout: _ }), [_]), { updateDetails: I, resetDetails: v, selectedDetail: B } = pe($), C = n(
76
76
  (s) => {
77
- u({
77
+ I({
78
78
  selection: {
79
79
  type: "payout",
80
80
  data: { id: e == null ? void 0 : e.id, balanceAccountDescription: (e == null ? void 0 : e.description) || "", date: s.createdAt }
@@ -82,7 +82,7 @@ const We = ({
82
82
  modalSize: "small"
83
83
  }).callback({ balanceAccountId: (e == null ? void 0 : e.id) || "", date: s.createdAt });
84
84
  },
85
- [u, e == null ? void 0 : e.id, e == null ? void 0 : e.description]
85
+ [I, e == null ? void 0 : e.id, e == null ? void 0 : e.description]
86
86
  );
87
87
  return /* @__PURE__ */ t("div", { className: z, children: [
88
88
  /* @__PURE__ */ t(Pe, { hideTitle: b, titleKey: "payoutsTitle", descriptionKey: "payoutsNotice", children: /* @__PURE__ */ t(Se, { ...F }) }),
@@ -110,7 +110,7 @@ const We = ({
110
110
  )
111
111
  ] }),
112
112
  /* @__PURE__ */ t(
113
- ne,
113
+ De,
114
114
  {
115
115
  className: re,
116
116
  onContactSupport: S,
@@ -13,8 +13,8 @@ import { BASE_CLASS as R, NET_PAYOUT_CLASS as v } from "./constants.js";
13
13
  /* empty css */
14
14
  import { useTableColumns as I } from "../../../../../hooks/useTableColumns.js";
15
15
  import g from "../../../../internal/DataGrid/DataGrid.js";
16
- import { DATE_FORMAT_PAYOUTS_MOBILE as $, DATE_FORMAT_PAYOUTS as G } from "../../../../../constants/dateFormats.js";
17
- import W from "../../../../internal/Pagination/Pagination.js";
16
+ import $ from "../../../../internal/Pagination/Pagination.js";
17
+ import { DATE_FORMAT_PAYOUTS_MOBILE as G, DATE_FORMAT_PAYOUTS as W } from "../../../../../constants/dateFormats.js";
18
18
  import { useConfigContext as q } from "../../../../../core/ConfigContext/context.js";
19
19
  const h = ["fundsCapturedAmount", "adjustmentAmount", "payoutAmount"], z = ["createdAt", ...h], K = (n) => h.includes(n), pr = ({
20
20
  error: n,
@@ -68,12 +68,12 @@ const h = ["fundsCapturedAmount", "adjustmentAmount", "payoutAmount"], z = ["cre
68
68
  onRowClick: { callback: D },
69
69
  emptyTableMessage: Y,
70
70
  customCells: {
71
- createdAt: ({ value: r }) => r ? e ? r && /* @__PURE__ */ o(u, { variant: s.BODY, children: p(r, G) }) : p(r, $) : null,
71
+ createdAt: ({ value: r }) => r ? e ? r && /* @__PURE__ */ o(u, { variant: s.BODY, children: p(r, W) }) : p(r, G) : null,
72
72
  fundsCapturedAmount: ({ value: r }) => r && /* @__PURE__ */ o(u, { variant: s.BODY, children: i.amount(r.value, r.currency, { hideCurrency: !0 }) }),
73
73
  adjustmentAmount: ({ value: r }) => r && /* @__PURE__ */ o(u, { variant: s.BODY, children: i.amount(r.value, r.currency, { hideCurrency: !0 }) }),
74
74
  payoutAmount: ({ value: r }) => r && /* @__PURE__ */ o(u, { variant: s.BODY, className: L({ [`${v}--strong`]: !e }), children: i.amount(r.value, r.currency, { hideCurrency: e }) })
75
75
  },
76
- children: O && /* @__PURE__ */ o(g.Footer, { children: /* @__PURE__ */ o(W, { ...E }) })
76
+ children: O && /* @__PURE__ */ o(g.Footer, { children: /* @__PURE__ */ o($, { ...E }) })
77
77
  }
78
78
  ) });
79
79
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useCallback as A, useMemo as n, useEffect as Q } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import { useCallback as A, useMemo as c, useEffect as Q } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
3
  import V from "../../../../../hooks/useBalanceAccountSelection.js";
4
4
  import W from "../../../../../hooks/useDefaultOverviewFilterParams.js";
5
5
  import X from "../../../../internal/FilterBar/filters/DateFilter/DateFilter.js";
@@ -15,11 +15,11 @@ import oe from "../../../../internal/Pagination/hooks/useCursorPaginatedRecords.
15
15
  import { useFilterBarState as le, FilterBarMobileSwitch as ie, FilterBar as pe } from "../../../../internal/FilterBar/FilterBar.js";
16
16
  import me from "../../../../internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js";
17
17
  import { useConfigContext as fe } from "../../../../../core/ConfigContext/context.js";
18
- import { isFunction as ne } from "../../../../../utils/value/is.js";
19
- import { Header as ce } from "../../../../internal/Header/Header.js";
18
+ import { isFunction as ce } from "../../../../../utils/value/is.js";
19
+ import { Header as ne } from "../../../../internal/Header/Header.js";
20
20
  const we = ({
21
21
  onFiltersChanged: i,
22
- balanceAccounts: c,
22
+ balanceAccounts: n,
23
23
  allowLimitSelection: d,
24
24
  preferredLimit: _ = $,
25
25
  isLoadingBalanceAccount: L,
@@ -27,8 +27,8 @@ const we = ({
27
27
  hideTitle: h,
28
28
  dataCustomization: e
29
29
  }) => {
30
- var S, u, D, R;
31
- const { getReports: p } = fe().endpoints, { activeBalanceAccount: r, balanceAccountSelectionOptions: O, onBalanceAccountSelection: g } = V(c), { defaultParams: o, nowTimestamp: N, refreshNowTimestamp: m } = W("reports", r), b = A(
30
+ var S, D, R, u;
31
+ const { getReports: p } = fe().endpoints, { activeBalanceAccount: r, balanceAccountSelectionOptions: O, onBalanceAccountSelection: g } = V(n), { defaultParams: o, nowTimestamp: N, refreshNowTimestamp: m } = W("reports", r), b = A(
32
32
  async (t, f) => p({ signal: f, errorLevel: "error" }, {
33
33
  query: {
34
34
  ...t,
@@ -39,7 +39,7 @@ const we = ({
39
39
  }
40
40
  }),
41
41
  [r == null ? void 0 : r.id, o, p]
42
- ), E = le(), y = n(() => ne(i) ? i : void 0, [i]), U = n(() => d ? Z : void 0, [d]), { canResetFilters: w, error: M, fetching: x, filters: T, limit: q, limitOptions: v, records: F, resetFilters: de, updateFilters: K, updateLimit: j, ...k } = oe({
42
+ ), E = le(), y = c(() => ce(i) ? i : void 0, [i]), U = c(() => d ? Z : void 0, [d]), { canResetFilters: w, error: v, fetching: M, filters: T, limit: x, limitOptions: q, records: F, resetFilters: de, updateFilters: K, updateLimit: j, ...k } = oe({
43
43
  fetchRecords: b,
44
44
  dataField: "data",
45
45
  filterParams: o.current.defaultFilterParams,
@@ -51,19 +51,19 @@ const we = ({
51
51
  }), B = A(
52
52
  ({ records: t, retrievedData: f }) => se(t, f, (I, J) => I.createdAt === J.createdAt),
53
53
  []
54
- ), G = n(() => {
54
+ ), G = c(() => {
55
55
  var t;
56
56
  return te((t = e == null ? void 0 : e.list) == null ? void 0 : t.fields, a);
57
57
  }, [(S = e == null ? void 0 : e.list) == null ? void 0 : S.fields]), { customRecords: H, loadingCustomRecords: Y } = re({
58
58
  records: F,
59
59
  hasCustomColumn: G,
60
- onDataRetrieve: (u = e == null ? void 0 : e.list) == null ? void 0 : u.onDataRetrieve,
60
+ onDataRetrieve: (D = e == null ? void 0 : e.list) == null ? void 0 : D.onDataRetrieve,
61
61
  mergeCustomData: B
62
62
  });
63
63
  return Q(() => {
64
64
  m();
65
65
  }, [T, m]), /* @__PURE__ */ s("div", { className: z, children: [
66
- /* @__PURE__ */ s(ce, { hideTitle: h, titleKey: "reportsTitle", subtitleKey: "reportsNotice", children: /* @__PURE__ */ s(ie, { ...E }) }),
66
+ /* @__PURE__ */ s(ne, { hideTitle: h, titleKey: "reportsTitle", subtitleKey: "reportsNotice", children: /* @__PURE__ */ s(ie, { ...E }) }),
67
67
  /* @__PURE__ */ s(pe, { ...E, children: [
68
68
  /* @__PURE__ */ s(
69
69
  me,
@@ -91,15 +91,15 @@ const we = ({
91
91
  C,
92
92
  {
93
93
  balanceAccountId: r == null ? void 0 : r.id,
94
- loading: x || L || !c || !r || Y,
95
- data: (D = e == null ? void 0 : e.list) != null && D.onDataRetrieve ? H : F,
94
+ loading: M || L || !n || !r || Y,
95
+ data: (R = e == null ? void 0 : e.list) != null && R.onDataRetrieve ? H : F,
96
96
  showPagination: !0,
97
- limit: q,
98
- limitOptions: v,
97
+ limit: x,
98
+ limitOptions: q,
99
99
  onContactSupport: P,
100
100
  onLimitSelection: j,
101
- error: M,
102
- customColumns: (R = e == null ? void 0 : e.list) == null ? void 0 : R.fields,
101
+ error: v,
102
+ customColumns: (u = e == null ? void 0 : e.list) == null ? void 0 : u.fields,
103
103
  ...k
104
104
  }
105
105
  )
@@ -15,8 +15,8 @@ import { BASE_CLASS as G, DATE_TYPE_CLASS as $, DATE_TYPE_DATE_SECTION_CLASS as
15
15
  /* empty css */
16
16
  import { useTableColumns as V } from "../../../../../hooks/useTableColumns.js";
17
17
  import g from "../../../../internal/DataGrid/DataGrid.js";
18
- import { DATE_FORMAT_REPORTS as D } from "../../../../../constants/dateFormats.js";
19
18
  import X from "../../../../internal/Pagination/Pagination.js";
19
+ import { DATE_FORMAT_REPORTS as D } from "../../../../../constants/dateFormats.js";
20
20
  import { useConfigContext as H } from "../../../../../core/ConfigContext/context.js";
21
21
  const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = ({
22
22
  error: i,
@@ -4,26 +4,26 @@ import { useState as N, useMemo as V, useCallback as i, useLayoutEffect as X } f
4
4
  import ue from "../../../../../core/Context/useCoreContext.js";
5
5
  import { useFetch as de } from "../../../../../hooks/useFetch.js";
6
6
  import { Alert as v } from "../../../../internal/Alert/Alert.js";
7
- import { AlertTypeOption as Y, AlertVariantOption as h } from "../../../../internal/Alert/types.js";
7
+ import { AlertVariantOption as b, AlertTypeOption as Y } from "../../../../internal/Alert/types.js";
8
8
  import fe from "../../../../internal/Button/ButtonActions/ButtonActions.js";
9
9
  import { ButtonActionsLayoutBasic as pe } from "../../../../internal/Button/ButtonActions/types.js";
10
- import { ButtonVariant as b } from "../../../../internal/Button/types.js";
10
+ import { ButtonVariant as h } from "../../../../internal/Button/types.js";
11
11
  import Ae from "../../../../internal/DataOverviewDetails/DataOverviewDetailsSkeleton.js";
12
- import { TypographyModifier as Te, TypographyVariant as H } from "../../../../internal/Typography/types.js";
12
+ import { TypographyVariant as H, TypographyModifier as Te } from "../../../../internal/Typography/types.js";
13
13
  import x from "../../../../internal/Typography/Typography.js";
14
14
  import { ActiveView as a, RefundMode as y } from "../../context/types.js";
15
- import { TX_DATA_ACTION_BAR as Re, TX_REFUND_STATUSES_CONTAINER as Ne, TX_REFUND_RESPONSE_ICON as G, TX_REFUND_RESPONSE_ERROR_ICON as Ee, TX_REFUND_RESPONSE_SUCCESS_ICON as Se, TX_STATUS_BOX as _e, TX_DATA_CLASS as De, TX_REFUND_RESPONSE as Ie } from "../constants.js";
15
+ import { TX_DATA_ACTION_BAR as Re, TX_REFUND_STATUSES_CONTAINER as Ne, TX_REFUND_RESPONSE_ICON as G, TX_REFUND_RESPONSE_ERROR_ICON as Ee, TX_REFUND_RESPONSE_SUCCESS_ICON as Se, TX_STATUS_BOX as _e, TX_REFUND_RESPONSE as De, TX_DATA_CLASS as Ie } from "../constants.js";
16
16
  import ve from "../details/TransactionDataProperties.js";
17
17
  import $ from "../details/TransactionDetailsDataContainer.js";
18
- import he from "../details/TransactionStatusBox.js";
19
- import { TransactionRefundFullAmountInput as be, TransactionRefundPartialAmountInput as ye } from "../refund/TransactionRefundAmount.js";
18
+ import be from "../details/TransactionStatusBox.js";
19
+ import { TransactionRefundFullAmountInput as he, TransactionRefundPartialAmountInput as ye } from "../refund/TransactionRefundAmount.js";
20
20
  import Ce from "../refund/TransactionRefundNotice.js";
21
21
  import Oe from "../refund/TransactionRefundReason.js";
22
22
  /* empty css */
23
23
  import { useTransaction as ge } from "../../hooks/useTransaction/useTransaction.js";
24
24
  import { useTransactionRefundMetadata as Pe } from "../../hooks/useTransactionRefundMetadata/useTransactionRefundMetadata.js";
25
- import { Icon as j } from "../../../../internal/Icon/Icon.js";
26
- import q from "../../../../internal/Button/Button.js";
25
+ import j from "../../../../internal/Button/Button.js";
26
+ import { Icon as q } from "../../../../internal/Icon/Icon.js";
27
27
  import { TransactionRefundProvider as Le } from "../../context/refund/context.js";
28
28
  import { TransactionDetailsProvider as Be } from "../../context/details/context.js";
29
29
  import { EMPTY_ARRAY as Ue, EMPTY_OBJECT as Me } from "../../../../../utils/value/constants.js";
@@ -32,7 +32,7 @@ const W = ({
32
32
  children: s,
33
33
  renderViewActionButtons: o,
34
34
  renderViewMessageBox: c
35
- }) => /* @__PURE__ */ e("div", { className: De, children: [
35
+ }) => /* @__PURE__ */ e("div", { className: Ie, children: [
36
36
  s,
37
37
  c && c(),
38
38
  o()
@@ -41,7 +41,7 @@ const W = ({
41
41
  title: o,
42
42
  renderIcon: c,
43
43
  subtitle: p
44
- }) => /* @__PURE__ */ e("div", { className: Ie, children: [
44
+ }) => /* @__PURE__ */ e("div", { className: De, children: [
45
45
  c && c(),
46
46
  /* @__PURE__ */ e(x, { className: Te.MEDIUM, variant: H.TITLE, children: o }),
47
47
  /* @__PURE__ */ e(x, { variant: H.BODY, children: p }),
@@ -81,7 +81,7 @@ const W = ({
81
81
  var k, w;
82
82
  return {
83
83
  title: l.value,
84
- variant: b.SECONDARY,
84
+ variant: h.SECONDARY,
85
85
  event: (k = l.config) == null ? void 0 : k.action,
86
86
  classNames: (w = l.config) != null && w.className ? [l.config.className] : []
87
87
  };
@@ -94,14 +94,14 @@ const W = ({
94
94
  v,
95
95
  {
96
96
  type: Y.HIGHLIGHT,
97
- variant: h.TIP,
97
+ variant: b.TIP,
98
98
  description: `${r.get("refund.theRefundIsBeingProcessed")} ${r.get("pleaseComeBackLater")}`
99
99
  }
100
100
  ),
101
101
  u.map((t, R) => /* @__PURE__ */ e(
102
102
  v,
103
103
  {
104
- variant: h.TIP,
104
+ variant: b.TIP,
105
105
  type: (t == null ? void 0 : t.type) ?? Y.HIGHLIGHT,
106
106
  description: t == null ? void 0 : t.label
107
107
  },
@@ -134,7 +134,7 @@ const W = ({
134
134
  extraFields: o,
135
135
  dataCustomization: c,
136
136
  children: [
137
- /* @__PURE__ */ e($, { className: _e, children: /* @__PURE__ */ e(he, { transaction: n, refundedState: oe }) }),
137
+ /* @__PURE__ */ e($, { className: _e, children: /* @__PURE__ */ e(be, { transaction: n, refundedState: oe }) }),
138
138
  /* @__PURE__ */ e(ve, {})
139
139
  ]
140
140
  }
@@ -152,12 +152,12 @@ const W = ({
152
152
  children: [
153
153
  /* @__PURE__ */ e(Ce, {}),
154
154
  ee && /* @__PURE__ */ e(Oe, {}),
155
- T === y.FULL_AMOUNT && /* @__PURE__ */ e(be, {}),
155
+ T === y.FULL_AMOUNT && /* @__PURE__ */ e(he, {}),
156
156
  (T === y.PARTIAL_AMOUNT || T === y.PARTIAL_LINE_ITEMS) && /* @__PURE__ */ e(ye, { locale: r.locale }),
157
157
  S && /* @__PURE__ */ e(
158
158
  v,
159
159
  {
160
- variant: h.TIP,
160
+ variant: b.TIP,
161
161
  type: S.type,
162
162
  description: S.description
163
163
  }
@@ -169,20 +169,20 @@ const W = ({
169
169
  return /* @__PURE__ */ e(
170
170
  z,
171
171
  {
172
- renderIcon: () => /* @__PURE__ */ e(j, { name: "checkmark-circle-fill", className: F(G, Se) }),
172
+ renderIcon: () => /* @__PURE__ */ e(q, { name: "checkmark-circle-fill", className: F(G, Se) }),
173
173
  title: r.get("refundActionSuccessTitle"),
174
174
  subtitle: r.get("refundActionSuccessSubtitle"),
175
- action: () => /* @__PURE__ */ e(q, { variant: b.SECONDARY, onClick: le, children: r.get("goBack") })
175
+ action: () => /* @__PURE__ */ e(j, { variant: h.SECONDARY, onClick: le, children: r.get("goBack") })
176
176
  }
177
177
  );
178
178
  case a.REFUND_ERROR:
179
179
  return /* @__PURE__ */ e(
180
180
  z,
181
181
  {
182
- renderIcon: () => /* @__PURE__ */ e(j, { name: "cross-circle-fill", className: F(G, Ee) }),
182
+ renderIcon: () => /* @__PURE__ */ e(q, { name: "cross-circle-fill", className: F(G, Ee) }),
183
183
  title: r.get("refundActionErrorTitle"),
184
184
  subtitle: r.get("refundActionErrorSubtitle"),
185
- action: () => /* @__PURE__ */ e(q, { variant: b.SECONDARY, onClick: A, children: r.get("goBack") })
185
+ action: () => /* @__PURE__ */ e(j, { variant: h.SECONDARY, onClick: A, children: r.get("goBack") })
186
186
  }
187
187
  );
188
188
  default:
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useMemo as v } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import { useMemo as L } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
3
  import S from "../../../../internal/CopyText/CopyText.js";
4
4
  import { TX_DETAILS_RESERVED_FIELDS_SET as b, TX_DATA_LIST as F, TX_DATA_LABEL as B } from "../constants.js";
5
5
  import { isCustomDataObject as p } from "../../../../internal/DataGrid/components/TableCells.js";
@@ -15,7 +15,7 @@ import { isNullish as X } from "../../../../../utils/value/is.js";
15
15
  const re = () => {
16
16
  var y;
17
17
  const { i18n: u } = C(), { transaction: m, extraFields: f, dataCustomization: i } = j();
18
- return v(() => {
18
+ return L(() => {
19
19
  const { balanceAccount: l, category: _, id: x, paymentPspReference: R, refundMetadata: n } = m, d = _ === "Refund", a = null, T = (t) => {
20
20
  if (X(t)) return null;
21
21
  const { value: r, currency: o } = t;
@@ -61,9 +61,9 @@ const re = () => {
61
61
  if (o === "link" && e)
62
62
  return /* @__PURE__ */ s(K, { classNames: [c(e == null ? void 0 : e.className)], href: e.href, target: e.target || "_blank", children: t });
63
63
  if (o === "icon" && e) {
64
- const L = { url: e == null ? void 0 : e.src, alt: e.alt || t };
64
+ const v = { url: e == null ? void 0 : e.src, alt: e.alt || t };
65
65
  return /* @__PURE__ */ s("div", { className: c("adyen-pe-transaction-data__list-icon-value", e == null ? void 0 : e.className), children: [
66
- /* @__PURE__ */ s(O, { ...L }),
66
+ /* @__PURE__ */ s(O, { ...v }),
67
67
  /* @__PURE__ */ s(D, { variant: k.BODY, children: [
68
68
  " ",
69
69
  t,