@adyen/adyen-platform-experience-web 1.4.2 → 1.5.1

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 (287) hide show
  1. package/dist/adyen-platform-experience-web.css +1 -1
  2. package/dist/{angle-right-C1JIrQTg.cjs → angle-right-DCDtBphj.cjs} +2 -2
  3. package/dist/{angle-right-C1JIrQTg.cjs.map → angle-right-DCDtBphj.cjs.map} +1 -1
  4. package/dist/{checkmark-B8DhX3p1.cjs → checkmark-BUtjcpAC.cjs} +2 -2
  5. package/dist/{checkmark-B8DhX3p1.cjs.map → checkmark-BUtjcpAC.cjs.map} +1 -1
  6. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs → checkmark-circle-fill-CtUhQzOt.cjs} +2 -2
  7. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs.map → checkmark-circle-fill-CtUhQzOt.cjs.map} +1 -1
  8. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs → checkmark-square-fill-Cpdn8YWp.cjs} +2 -2
  9. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs.map → checkmark-square-fill-Cpdn8YWp.cjs.map} +1 -1
  10. package/dist/{chevron-down-CB77LxQY.cjs → chevron-down-CEgNjZK_.cjs} +2 -2
  11. package/dist/{chevron-down-CB77LxQY.cjs.map → chevron-down-CEgNjZK_.cjs.map} +1 -1
  12. package/dist/{chevron-left-DMAmIvLF.cjs → chevron-left-BgN_rxGR.cjs} +2 -2
  13. package/dist/{chevron-left-DMAmIvLF.cjs.map → chevron-left-BgN_rxGR.cjs.map} +1 -1
  14. package/dist/{chevron-right-BxLJu7Zf.cjs → chevron-right-Jwt5BuB-.cjs} +2 -2
  15. package/dist/{chevron-right-BxLJu7Zf.cjs.map → chevron-right-Jwt5BuB-.cjs.map} +1 -1
  16. package/dist/{chevron-up-CT79XJdh.cjs → chevron-up-B_O0vmIX.cjs} +2 -2
  17. package/dist/{chevron-up-CT79XJdh.cjs.map → chevron-up-B_O0vmIX.cjs.map} +1 -1
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/{copy-7UpFtMvt.cjs → copy-DztEPGun.cjs} +2 -2
  20. package/dist/{copy-7UpFtMvt.cjs.map → copy-DztEPGun.cjs.map} +1 -1
  21. package/dist/{cross-DtVirgrN.cjs → cross-B9ojc3kB.cjs} +2 -2
  22. package/dist/{cross-DtVirgrN.cjs.map → cross-B9ojc3kB.cjs.map} +1 -1
  23. package/dist/{cross-circle-fill-C47yImD2.cjs → cross-circle-fill-Dy_LlcFp.cjs} +2 -2
  24. package/dist/{cross-circle-fill-C47yImD2.cjs.map → cross-circle-fill-Dy_LlcFp.cjs.map} +1 -1
  25. package/dist/da-DK-DAJvnb2s.cjs +2 -0
  26. package/dist/da-DK-DAJvnb2s.cjs.map +1 -0
  27. package/dist/de-DE-DFMmcoWN.cjs +2 -0
  28. package/dist/de-DE-DFMmcoWN.cjs.map +1 -0
  29. package/dist/{download-A1m1wB_K.cjs → download-DsN3U6Xn.cjs} +2 -2
  30. package/dist/{download-A1m1wB_K.cjs.map → download-DsN3U6Xn.cjs.map} +1 -1
  31. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  34. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  35. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  39. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  40. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  41. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  42. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +4 -4
  44. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  45. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  46. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  47. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  48. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  49. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  51. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  52. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  53. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  54. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  55. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  58. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  59. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  60. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  61. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  63. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  64. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  66. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  69. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  70. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  71. package/dist/es/components/internal/Alert/Alert.js +1 -1
  72. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  73. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  74. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  75. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  76. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  79. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  80. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  82. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  83. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  84. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  85. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  87. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  88. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  89. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  90. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  91. package/dist/es/components/internal/Card/Card.js +9 -9
  92. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  93. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  94. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  95. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  96. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  97. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  98. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  99. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  100. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +23 -23
  101. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  102. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  104. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  105. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  107. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  108. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  109. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  110. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  111. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  112. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  113. package/dist/es/components/internal/Header/Header.js +4 -4
  114. package/dist/es/components/internal/Icon/Icon.js +3 -3
  115. package/dist/es/components/internal/Img/Img.js +2 -2
  116. package/dist/es/components/internal/Link/Link.js +2 -2
  117. package/dist/es/components/internal/Modal/Modal.js +4 -4
  118. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  119. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  120. package/dist/es/components/internal/Popover/Popover.js +4 -4
  121. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  122. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  124. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  126. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +13 -13
  127. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  128. package/dist/es/components/internal/Translation/Translation.js +15 -15
  129. package/dist/es/components/utils/getErrorMessage.js +2 -2
  130. package/dist/es/constants/dateFormats.js +3 -3
  131. package/dist/es/core/ConfigContext/context.js +18 -18
  132. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  133. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  134. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  135. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  136. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  137. package/dist/es/core/Http/utils.js +1 -1
  138. package/dist/es/core/Localization/Localization.js +32 -32
  139. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  140. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  141. package/dist/es/core/Localization/utils.js +1 -1
  142. package/dist/es/core/core.js +1 -1
  143. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  144. package/dist/es/external/preact/dist/preact.module.js +197 -195
  145. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  146. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  147. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  148. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  149. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  150. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  151. package/dist/es/hooks/useContainerQuery.js +4 -4
  152. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  153. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  154. package/dist/es/hooks/useFetch.js +22 -22
  155. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  156. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  157. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  158. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  159. package/dist/es/hooks/useTabbedControl.js +9 -9
  160. package/dist/es/primitives/async/abortable/main.js +9 -9
  161. package/dist/es/primitives/async/deferred/main.js +1 -1
  162. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  163. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  164. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  165. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  166. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  167. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  168. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  169. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  170. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  171. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  172. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  173. package/dist/es/primitives/time/clock/main.js +6 -6
  174. package/dist/es/primitives/time/interval/main.js +9 -9
  175. package/dist/es/translations/da-DK.json.js +55 -46
  176. package/dist/es/translations/de-DE.json.js +71 -62
  177. package/dist/es/translations/en-US.json.js +41 -38
  178. package/dist/es/translations/es-ES.json.js +79 -70
  179. package/dist/es/translations/fi-FI.json.js +97 -88
  180. package/dist/es/translations/fr-FR.json.js +75 -66
  181. package/dist/es/translations/it-IT.json.js +107 -98
  182. package/dist/es/translations/nl-NL.json.js +80 -71
  183. package/dist/es/translations/no-NO.json.js +67 -58
  184. package/dist/es/translations/pt-BR.json.js +71 -62
  185. package/dist/es/translations/sv-SE.json.js +95 -86
  186. package/dist/es/utils/abort/internals.js +3 -3
  187. package/dist/es/utils/abort/main.js +19 -19
  188. package/dist/es/utils/collection/main.js +14 -14
  189. package/dist/es/utils/datetime/main.js +3 -3
  190. package/dist/es/utils/preact/className.js +2 -2
  191. package/dist/es/utils/struct/main.js +8 -8
  192. package/dist/es/utils/value/is.js +9 -9
  193. package/dist/es/utils/value/number.js +2 -2
  194. package/dist/es-ES-DWJu_JsZ.cjs +2 -0
  195. package/dist/es-ES-DWJu_JsZ.cjs.map +1 -0
  196. package/dist/{external-link-Ct-WlQoY.cjs → external-link-DgHiKqPL.cjs} +2 -2
  197. package/dist/{external-link-Ct-WlQoY.cjs.map → external-link-DgHiKqPL.cjs.map} +1 -1
  198. package/dist/fi-FI-MXUK5vu0.cjs +2 -0
  199. package/dist/fi-FI-MXUK5vu0.cjs.map +1 -0
  200. package/dist/{filter-DwSaMAG7.cjs → filter-C7stlLTD.cjs} +2 -2
  201. package/dist/{filter-DwSaMAG7.cjs.map → filter-C7stlLTD.cjs.map} +1 -1
  202. package/dist/fr-FR-NK-BqBuh.cjs +2 -0
  203. package/dist/fr-FR-NK-BqBuh.cjs.map +1 -0
  204. package/dist/index-ejbaSyzM.cjs +12 -0
  205. package/dist/index-ejbaSyzM.cjs.map +1 -0
  206. package/dist/{info-filled-bhD2VGA2.cjs → info-filled-Bk8waEjd.cjs} +2 -2
  207. package/dist/{info-filled-bhD2VGA2.cjs.map → info-filled-Bk8waEjd.cjs.map} +1 -1
  208. package/dist/it-IT-CckThmyL.cjs +2 -0
  209. package/dist/it-IT-CckThmyL.cjs.map +1 -0
  210. package/dist/{minus-circle-outline-pNXlRjce.cjs → minus-circle-outline-8LuhQHmx.cjs} +2 -2
  211. package/dist/{minus-circle-outline-pNXlRjce.cjs.map → minus-circle-outline-8LuhQHmx.cjs.map} +1 -1
  212. package/dist/nl-NL-73Hql9dE.cjs +2 -0
  213. package/dist/nl-NL-73Hql9dE.cjs.map +1 -0
  214. package/dist/no-NO-C5RVnfc6.cjs +2 -0
  215. package/dist/no-NO-C5RVnfc6.cjs.map +1 -0
  216. package/dist/{plus-circle-outline-B3Ttq6A2.cjs → plus-circle-outline-x53czuRo.cjs} +2 -2
  217. package/dist/{plus-circle-outline-B3Ttq6A2.cjs.map → plus-circle-outline-x53czuRo.cjs.map} +1 -1
  218. package/dist/pt-BR-DR3yYVRn.cjs +2 -0
  219. package/dist/pt-BR-DR3yYVRn.cjs.map +1 -0
  220. package/dist/{square-C3hb1Bxz.cjs → square-BzY0pIfq.cjs} +2 -2
  221. package/dist/{square-C3hb1Bxz.cjs.map → square-BzY0pIfq.cjs.map} +1 -1
  222. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  223. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  224. package/dist/{trash-can-D2GRVBnJ.cjs → trash-can-oPrHRWRq.cjs} +2 -2
  225. package/dist/{trash-can-D2GRVBnJ.cjs.map → trash-can-oPrHRWRq.cjs.map} +1 -1
  226. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  227. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  228. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  229. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  230. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  231. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  232. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  233. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  234. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  235. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  236. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  237. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  238. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  239. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  240. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  241. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  242. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  247. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  248. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  249. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  250. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  251. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  252. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  253. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  254. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  255. package/dist/types/translations/index.d.ts +3 -0
  256. package/dist/types/translations/index.d.ts.map +1 -1
  257. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  258. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  259. package/dist/{upload-CeUcEWmW.cjs → upload-CEAJdOXV.cjs} +2 -2
  260. package/dist/{upload-CeUcEWmW.cjs.map → upload-CEAJdOXV.cjs.map} +1 -1
  261. package/dist/{warning-C2NpcmL8.cjs → warning-BzXJLvmN.cjs} +2 -2
  262. package/dist/{warning-C2NpcmL8.cjs.map → warning-BzXJLvmN.cjs.map} +1 -1
  263. package/dist/{warning-filled-Bo82QPPc.cjs → warning-filled-P8HTOKkP.cjs} +2 -2
  264. package/dist/{warning-filled-Bo82QPPc.cjs.map → warning-filled-P8HTOKkP.cjs.map} +1 -1
  265. package/package.json +15 -14
  266. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  267. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  268. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  269. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  270. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  271. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  272. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  273. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  274. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  275. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  276. package/dist/index-CpBGZ2AH.cjs +0 -12
  277. package/dist/index-CpBGZ2AH.cjs.map +0 -1
  278. package/dist/it-IT-DsfPVAun.cjs +0 -2
  279. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  280. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  281. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  282. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  283. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  284. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  285. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  286. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  287. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
@@ -1,19 +1,19 @@
1
- import { DAY_MS as u } from "../../../../internal/Calendar/calendar/constants.js";
2
- import { parseDate as c } from "../../../../../utils/datetime/main.js";
3
- const i = (e, a = 0) => new Date(new Date(e).setUTCHours(0, 0, 0, 0) + Math.floor(a) * u), d = (e) => c(i(/* @__PURE__ */ new Date(), e)), l = (e) => e ? Math.ceil(e / 30) : null, f = (e, a) => {
4
- let t, n;
5
- function o(...r) {
6
- clearTimeout(t), n = r, t = setTimeout(() => {
7
- e(n), n = void 0;
8
- }, a);
1
+ import { DAY_MS as c } from "../../../../internal/Calendar/calendar/constants.js";
2
+ import { parseDate as i } from "../../../../../utils/datetime/main.js";
3
+ const u = (e, n = 0) => new Date(new Date(e).setUTCHours(0, 0, 0, 0) + Math.floor(n) * c), l = (e) => i(u(/* @__PURE__ */ new Date(), e)), d = (e) => e ? Math.ceil(e / 30) : null, p = (e, n) => {
4
+ let t, o;
5
+ function r(...a) {
6
+ clearTimeout(t), o = a, t = setTimeout(() => {
7
+ e(o), o = void 0;
8
+ }, n);
9
9
  }
10
- return o.cancel = () => {
11
- t && (clearTimeout(t), t = void 0, n = void 0);
12
- }, o;
13
- }, p = (e) => e / 100;
10
+ return r.cancel = () => {
11
+ t && (clearTimeout(t), t = void 0, o = void 0);
12
+ }, r;
13
+ }, f = (e) => e / 100;
14
14
  export {
15
- l as calculateMaximumRepaymentPeriodInMonths,
16
- f as debounce,
17
- d as getExpectedRepaymentDate,
18
- p as getPaymentRatePercentage
15
+ d as calculateMaximumRepaymentPeriodInMonths,
16
+ p as debounce,
17
+ l as getExpectedRepaymentDate,
18
+ f as getPercentage
19
19
  };
@@ -2,7 +2,7 @@ import { jsx as r } from "../../../../../external/preact/jsx-runtime/dist/jsxRun
2
2
  import c from "../../../../internal/CopyText/CopyText.js";
3
3
  import d from "../../../../../core/Context/useCoreContext.js";
4
4
  import t from "../../../../internal/Typography/Typography.js";
5
- import { TypographyElement as a, TypographyVariant as i } from "../../../../internal/Typography/types.js";
5
+ import { TypographyVariant as a, TypographyElement as i } from "../../../../internal/Typography/types.js";
6
6
  const x = ({
7
7
  className: p,
8
8
  content: e,
@@ -13,8 +13,8 @@ const x = ({
13
13
  }) => {
14
14
  const { i18n: s } = d();
15
15
  return /* @__PURE__ */ r("div", { className: p, children: [
16
- /* @__PURE__ */ r("dt", { className: m, children: /* @__PURE__ */ r(t, { el: a.SPAN, variant: i.CAPTION, children: s.get(n) }) }),
17
- /* @__PURE__ */ r("dd", { className: l, children: o ? /* @__PURE__ */ r(c, { buttonLabel: e, textToCopy: o, showCopyTextTooltip: !1, type: "Text" }) : /* @__PURE__ */ r(t, { el: a.SPAN, variant: i.BODY, children: e }) })
16
+ /* @__PURE__ */ r("dt", { className: m, children: /* @__PURE__ */ r(t, { el: i.SPAN, variant: a.CAPTION, children: s.get(n) }) }),
17
+ /* @__PURE__ */ r("dd", { className: l, children: o ? /* @__PURE__ */ r(c, { buttonLabel: e, textToCopy: o, showCopyTextTooltip: !1, type: "Text" }) : /* @__PURE__ */ r(t, { el: i.SPAN, variant: a.BODY, children: e }) })
18
18
  ] });
19
19
  };
20
20
  export {
@@ -3,7 +3,7 @@ import A from "classnames";
3
3
  import { useMemo as C } from "../../../../../external/preact/hooks/dist/hooks.module.js";
4
4
  import { AccountDetail as F } from "./AccountDetail.js";
5
5
  import { Fragment as _ } from "../../../../../external/preact/dist/preact.module.js";
6
- import { getAccountFieldTranslationKey as y, getAccountFieldFormattedValue as S, getAccountFieldTextToCopy as b } from "./utils.js";
6
+ import { getAccountFieldTextToCopy as y, getAccountFieldFormattedValue as S, getAccountFieldTranslationKey as b } from "./utils.js";
7
7
  /* empty css */
8
8
  const o = "adyen-pe-capital-account-details", n = {
9
9
  detail: `${o}__detail`,
@@ -22,9 +22,9 @@ const o = "adyen-pe-capital-account-details", n = {
22
22
  className: n.detail,
23
23
  contentClassName: n.detailContent,
24
24
  labelClassName: n.detailLabel,
25
- label: y(t),
25
+ label: b(t),
26
26
  content: S(t, e),
27
- textToCopy: b(t, e)
27
+ textToCopy: y(t, e)
28
28
  }
29
29
  ) }, t) : null;
30
30
  }) });
@@ -16,7 +16,7 @@ const n = (e, t = !0) => {
16
16
  default:
17
17
  return !1;
18
18
  }
19
- }, u = (e, t) => r(e) ? t : void 0, o = (e, t) => {
19
+ }, o = (e, t) => r(e) ? t : void 0, u = (e, t) => {
20
20
  switch (e) {
21
21
  case "iban":
22
22
  return t && n(t);
@@ -40,7 +40,7 @@ const n = (e, t = !0) => {
40
40
  }
41
41
  };
42
42
  export {
43
- o as getAccountFieldFormattedValue,
44
- u as getAccountFieldTextToCopy,
43
+ u as getAccountFieldFormattedValue,
44
+ o as getAccountFieldTextToCopy,
45
45
  s as getAccountFieldTranslationKey
46
46
  };
@@ -5,11 +5,11 @@ import F from "../../../../../hooks/useTimezoneAwareDateFormatting.js";
5
5
  import { GRANT_ACTION_CLASS_NAMES as l } from "./constants.js";
6
6
  /* empty css */
7
7
  import { Alert as p } from "../../../../internal/Alert/Alert.js";
8
- import { AlertTypeOption as f } from "../../../../internal/Alert/types.js";
8
+ import { AlertTypeOption as d } from "../../../../internal/Alert/types.js";
9
9
  import { useFetch as S } from "../../../../../hooks/useFetch.js";
10
10
  import "../../../../../external/preact/compat/dist/compat.module.js";
11
11
  import { getTopWindowHref as _, setTopWindowHref as b } from "./utils.js";
12
- import d from "../../../../internal/Button/Button.js";
12
+ import f from "../../../../internal/Button/Button.js";
13
13
  import { DATE_FORMAT_CAPITAL_OVERVIEW as I } from "../../../../../constants/dateFormats.js";
14
14
  import { useConfigContext as N } from "../../../../../core/ConfigContext/context.js";
15
15
  import { EMPTY_OBJECT as W } from "../../../../../utils/value/constants.js";
@@ -33,22 +33,22 @@ const D = ({ action: n, className: s, offerExpiresAt: m }) => {
33
33
  p,
34
34
  {
35
35
  className: s,
36
- type: f.CRITICAL,
36
+ type: d.CRITICAL,
37
37
  title: e.get("somethingWentWrongTryRefreshingOrComeBackLater"),
38
- description: /* @__PURE__ */ r(d, { className: l.button, onClick: u, children: e.get("refresh") })
38
+ description: /* @__PURE__ */ r(f, { className: l.button, onClick: u, children: e.get("refresh") })
39
39
  }
40
40
  ) : /* @__PURE__ */ r(
41
41
  p,
42
42
  {
43
43
  className: s,
44
- type: f.WARNING,
44
+ type: d.WARNING,
45
45
  title: `${e.get("capital.signTermsAndConditionsToReceiveFunds")}${m ? ` ${e.get("capital.thisOfferExpiresOn", {
46
46
  values: {
47
47
  date: T(m, I)
48
48
  }
49
49
  })}` : ""}`,
50
50
  description: /* @__PURE__ */ r(
51
- d,
51
+ f,
52
52
  {
53
53
  className: l.button,
54
54
  onClick: () => C(!0),
@@ -1,5 +1,4 @@
1
1
  const e = {
2
- revocation: "revocation",
3
2
  unscheduledRepayment: "unscheduledRepayment"
4
3
  };
5
4
  export {
@@ -2,10 +2,10 @@ import { jsx as a } from "../../../../../external/preact/jsx-runtime/dist/jsxRun
2
2
  import { useCallback as s, useMemo as p } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
3
  import y from "../../../../../core/Context/useCoreContext.js";
4
4
  import r from "../../../../internal/Typography/Typography.js";
5
- import { TypographyElement as m, TypographyVariant as o } from "../../../../internal/Typography/types.js";
5
+ import { TypographyVariant as o, TypographyElement as m } from "../../../../internal/Typography/types.js";
6
6
  import { GRANT_DETAILS_CLASS_NAMES as l } from "./constants.js";
7
7
  /* empty css */
8
- import { getPaymentRatePercentage as d } from "../../../CapitalOffer/components/utils/utils.js";
8
+ import { getPercentage as d } from "../../../CapitalOffer/components/utils/utils.js";
9
9
  import { Tooltip as A } from "../../../../internal/Tooltip/Tooltip.js";
10
10
  import { CAPITAL_REPAYMENT_FREQUENCY as v } from "../../../../constants.js";
11
11
  import h from "../../../../internal/StructuredList/StructuredList.js";
@@ -1,5 +1,5 @@
1
- import { TagVariant as n } from "../../../../internal/Tag/types.js";
2
- const u = (e) => e === "Active", c = (e) => e === "Repaid", r = (e) => e === "Active" ? "capital.remaining" : "capital.requestedFunds", d = (e) => e.status === "Active" ? e.remainingTotalAmount : e.grantAmount, o = ({ status: e, missingActions: t }) => {
1
+ import { TagVariant as s } from "../../../../internal/Tag/types.js";
2
+ const u = (e) => e === "Active", c = (e) => e === "Repaid", o = (e) => e === "Active" ? "capital.remaining" : "capital.requestedFunds", r = (e) => e.status === "Active" ? e.remainingTotalAmount : e.grantAmount, d = ({ status: e, missingActions: t }) => {
3
3
  switch (e) {
4
4
  case "Active":
5
5
  return;
@@ -17,26 +17,26 @@ const u = (e) => e === "Active", c = (e) => e === "Repaid", r = (e) => e === "Ac
17
17
  }, l = ({ status: e, missingActions: t }) => {
18
18
  switch (e) {
19
19
  case "Failed":
20
- return n.ERROR;
20
+ return s.ERROR;
21
21
  case "Pending":
22
- return t != null && t.length ? n.WARNING : n.DEFAULT;
22
+ return t != null && t.length ? s.WARNING : s.DEFAULT;
23
23
  case "Repaid":
24
- return n.LIGHT;
24
+ return s.LIGHT;
25
25
  case "Revoked":
26
26
  case "WrittenOff":
27
- return n.WARNING;
27
+ return s.WARNING;
28
28
  default:
29
- return n.DEFAULT;
29
+ return s.DEFAULT;
30
30
  }
31
31
  }, p = (e) => {
32
32
  const t = /* @__PURE__ */ new Date(), a = /* @__PURE__ */ new Date();
33
33
  return a.setDate(t.getDate() + e), a;
34
34
  }, y = (e) => {
35
- var a, s;
35
+ var a, n;
36
36
  const t = ((a = e.missingActions) == null ? void 0 : a.some((i) => i.type === "signToS")) || !1;
37
37
  switch (e.status) {
38
38
  case "Pending":
39
- return (s = e.missingActions) != null && s.length ? t ? "capital.signTheTermsToReceiveYourFunds" : void 0 : "capital.youShouldGetTheFundsWithinOneBusinessDay";
39
+ return (n = e.missingActions) != null && n.length ? t ? "capital.signTheTermsToReceiveYourFunds" : void 0 : "capital.youShouldGetTheFundsWithinOneBusinessDay";
40
40
  case "Failed":
41
41
  return "capital.weCouldNotProcessThisRequestTryAgain";
42
42
  case "WrittenOff":
@@ -47,14 +47,14 @@ const u = (e) => e === "Active", c = (e) => e === "Repaid", r = (e) => e === "Ac
47
47
  return;
48
48
  }
49
49
  }, T = (e) => {
50
- var s;
50
+ var n;
51
51
  const t = e.status === "Active", a = e.status === "Pending";
52
52
  return {
53
- amount: d(e),
54
- amountLabelKey: r(e.status),
53
+ amount: r(e),
54
+ amountLabelKey: o(e.status),
55
55
  hasAlerts: a,
56
56
  hasDetails: u(e.status),
57
- hasUnscheduledRepaymentDetails: t && !!((s = e.unscheduledRepaymentAccounts) != null && s.length),
57
+ hasUnscheduledRepaymentDetails: t && !!((n = e.unscheduledRepaymentAccounts) != null && n.length),
58
58
  // The grant revocation account details is currently not ready to be rendered.
59
59
  // A future iteration of this component might include revocation account details.
60
60
  // Only then should the following line be uncommented.
@@ -66,7 +66,7 @@ const u = (e) => e === "Active", c = (e) => e === "Repaid", r = (e) => e === "Ac
66
66
  isLabelColorSecondary: t,
67
67
  isProgressBarVisible: t,
68
68
  repaymentPeriodEndDate: p(e.repaymentPeriodLeft),
69
- statusKey: o(e),
69
+ statusKey: d(e),
70
70
  statusTagVariant: l(e),
71
71
  statusTooltipKey: y(e)
72
72
  };
@@ -3,7 +3,7 @@ import { jsx as a } from "../../../../../external/preact/jsx-runtime/dist/jsxRun
3
3
  import { useState as k, useCallback as t } from "../../../../../external/preact/hooks/dist/hooks.module.js";
4
4
  import { CapitalOffer as C } from "../../../CapitalOffer/components/CapitalOffer/CapitalOffer.js";
5
5
  import { GrantsDisplay as b } from "./GrantsDisplay.js";
6
- import { Fragment as h } from "../../../../../external/preact/dist/preact.module.js";
6
+ import { Fragment as x } from "../../../../../external/preact/dist/preact.module.js";
7
7
  const V = ({
8
8
  externalDynamicOffersConfig: l,
9
9
  grantList: p,
@@ -20,7 +20,7 @@ const V = ({
20
20
  },
21
21
  [e, i]
22
22
  );
23
- return /* @__PURE__ */ a(h, { children: c ? /* @__PURE__ */ a(
23
+ return /* @__PURE__ */ a(x, { children: c ? /* @__PURE__ */ a(
24
24
  C,
25
25
  {
26
26
  externalDynamicOffersConfig: l,
@@ -10,8 +10,8 @@ import { useState as G, useMemo as l, useCallback as D } from "../../../../../ex
10
10
  import E from "../../../../internal/Button/Button.js";
11
11
  import { ButtonVariant as U } from "../../../../internal/Button/types.js";
12
12
  import { CapitalHeader as k } from "../../../../internal/CapitalHeader/CapitalHeader.js";
13
- const u = ({ grants: t, showDetails: c }) => /* @__PURE__ */ e(C, { classNames: "adyen-pe-grant-list__items", children: t.map((n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(_, { grant: n, showDetails: c.bind(null, n) }) }, n.id)) }), Y = ({ grantList: t, hideTitle: c, newOfferAvailable: n, onNewOfferRequest: g }) => {
14
- const [v, h] = G(), [a, y] = G(), { i18n: N } = B(), [i, m] = l(() => {
13
+ const u = ({ grants: t, showDetails: c }) => /* @__PURE__ */ e(C, { classNames: "adyen-pe-grant-list__items", children: t.map((n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(_, { grant: n, showDetails: c.bind(null, n) }) }, n.id)) }), Y = ({ grantList: t, hideTitle: c, newOfferAvailable: n, onNewOfferRequest: v }) => {
14
+ const [g, h] = G(), [a, y] = G(), { i18n: N } = B(), [i, m] = l(() => {
15
15
  const s = [], r = [];
16
16
  return t == null || t.forEach((o) => {
17
17
  o.status === "Active" || o.status === "Pending" ? s.push(o) : r.push(o);
@@ -20,7 +20,7 @@ const u = ({ grants: t, showDetails: c }) => /* @__PURE__ */ e(C, { classNames:
20
20
  h(r), y(s);
21
21
  }, []);
22
22
  if (a)
23
- switch (v) {
23
+ switch (g) {
24
24
  case R.unscheduledRepayment: {
25
25
  if (d != null && d.hasUnscheduledRepaymentDetails)
26
26
  return /* @__PURE__ */ e(T, { grant: a, onDetailsClose: w });
@@ -30,7 +30,7 @@ const u = ({ grants: t, showDetails: c }) => /* @__PURE__ */ e(C, { classNames:
30
30
  return /* @__PURE__ */ e("div", { className: "adyen-pe-grant-list", children: [
31
31
  /* @__PURE__ */ e("div", { className: "adyen-pe-grant-list__header-container", children: [
32
32
  /* @__PURE__ */ e(k, { hideTitle: c, titleKey: "capital.businessFinancing" }),
33
- S ? /* @__PURE__ */ e(E, { onClick: g, className: "adyen-pe-grant-list__offer-button", variant: U.SECONDARY, children: N.get("capital.seeNewOffer") }) : null
33
+ S ? /* @__PURE__ */ e(E, { onClick: v, className: "adyen-pe-grant-list__offer-button", variant: U.SECONDARY, children: N.get("capital.seeNewOffer") }) : null
34
34
  ] }),
35
35
  f === "UnifiedGrants" && /* @__PURE__ */ e(u, { grants: t, showDetails: p }),
36
36
  f === "SegmentedGrants" && /* @__PURE__ */ e(
@@ -2,7 +2,7 @@ import { jsx as e } from "../../../../../external/preact/jsx-runtime/dist/jsxRun
2
2
  import { useMemo as s } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
3
  import d from "../../../../../core/Context/useCoreContext.js";
4
4
  import o from "../../../../internal/Typography/Typography.js";
5
- import { TypographyElement as m, TypographyVariant as c } from "../../../../internal/Typography/types.js";
5
+ import { TypographyVariant as c, TypographyElement as m } from "../../../../internal/Typography/types.js";
6
6
  import { AccountDetails as A } from "../AccountDetails/AccountDetails.js";
7
7
  import { GrantAdjustmentDetails as f } from "../GrantAdjustmentDetails/GrantAdjustmentDetails.js";
8
8
  /* empty css */
@@ -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
  };