@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,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,
@@ -1,12 +1,12 @@
1
1
  import { jsx as t } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { TX_DATA_CONTAINER as U, TX_DATA_INPUT_HEAD as S, TX_DATA_INPUT_CONTAINER as $, TX_DATA_INPUT_CONTAINER_SHORT as B, TX_DATA_INPUT_CONTAINER_TEXT as q, TX_DATA_INPUT_CONTAINER_WITH_ERROR as H, TX_DATA_INPUT as L } from "../constants.js";
2
+ import { TX_DATA_CONTAINER as U, TX_DATA_INPUT_HEAD as S, TX_DATA_INPUT as $, TX_DATA_INPUT_CONTAINER_WITH_ERROR as B, TX_DATA_INPUT_CONTAINER_TEXT as q, TX_DATA_INPUT_CONTAINER_SHORT as H, TX_DATA_INPUT_CONTAINER as L } from "../constants.js";
3
3
  import M from "classnames";
4
4
  import { useState as R, useMemo as V, useRef as v } from "../../../../../external/preact/hooks/dist/hooks.module.js";
5
5
  import C from "../../../../../core/Context/useCoreContext.js";
6
6
  import Y from "../../../../internal/SVGIcons/CloseCircle.js";
7
7
  import j from "../../../../internal/FormFields/InputBase.js";
8
8
  import h from "../../../../internal/Typography/Typography.js";
9
- import { TypographyElement as b, TypographyVariant as D } from "../../../../internal/Typography/types.js";
9
+ import { TypographyVariant as b, TypographyElement as D } from "../../../../internal/Typography/types.js";
10
10
  import { getDecimalAmount as w, getDivider as W } from "../../../../../core/Localization/amount/amount-util.js";
11
11
  import { ARIA_ERROR_SUFFIX as k } from "../../../../../core/Errors/constants.js";
12
12
  import { TagVariant as z } from "../../../../internal/Tag/types.js";
@@ -24,15 +24,15 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
24
24
  }) => {
25
25
  const { i18n: a } = C(), i = v(E()), m = v(E()), p = e ? l ? a.get(e, { values: { amount: l } }) : a.get(e) : "";
26
26
  return /* @__PURE__ */ t("div", { className: U, children: [
27
- /* @__PURE__ */ t("div", { className: S, children: /* @__PURE__ */ t("div", { id: m.current, children: /* @__PURE__ */ t(h, { el: b.SPAN, variant: D.BODY, stronger: !0, children: a.get("refundAmount") }) }) }),
27
+ /* @__PURE__ */ t("div", { className: S, children: /* @__PURE__ */ t("div", { id: m.current, children: /* @__PURE__ */ t(h, { el: D.SPAN, variant: b.BODY, stronger: !0, children: a.get("refundAmount") }) }) }),
28
28
  /* @__PURE__ */ t(
29
29
  "div",
30
30
  {
31
31
  className: M({
32
- [$]: !0,
33
- [B]: !0,
32
+ [L]: !0,
33
+ [H]: !0,
34
34
  [q]: !0,
35
- [H]: !!e
35
+ [B]: !!e
36
36
  }),
37
37
  children: [
38
38
  /* @__PURE__ */ t("label", { htmlFor: i.current, "aria-labelledby": m.current, children: [
@@ -42,7 +42,7 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
42
42
  {
43
43
  min: 0,
44
44
  type: "number",
45
- className: L,
45
+ className: $,
46
46
  disabled: J(n),
47
47
  lang: a.locale,
48
48
  onInput: A,
@@ -53,7 +53,7 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
53
53
  ] }),
54
54
  e && /* @__PURE__ */ t("div", { className: "adyen-pe-input__refund-invalid-value", id: `${i.current}${k}`, children: [
55
55
  /* @__PURE__ */ t(Y, {}),
56
- /* @__PURE__ */ t(h, { el: b.SPAN, variant: D.BODY, children: p })
56
+ /* @__PURE__ */ t(h, { el: D.SPAN, variant: b.BODY, children: p })
57
57
  ] })
58
58
  ]
59
59
  }
@@ -3,7 +3,7 @@ import { useMemo as n } from "../../../../../external/preact/hooks/dist/hooks.mo
3
3
  import { TX_DATA_CONTAINER as i, TX_DATA_HEAD_CONTAINER as a } from "../constants.js";
4
4
  import m from "../../../../../core/Context/useCoreContext.js";
5
5
  import t from "../../../../internal/Typography/Typography.js";
6
- import { TypographyElement as p, TypographyVariant as e } from "../../../../internal/Typography/types.js";
6
+ import { TypographyVariant as e, TypographyElement as p } from "../../../../internal/Typography/types.js";
7
7
  const A = () => {
8
8
  const { i18n: r } = m();
9
9
  return n(
@@ -4,7 +4,7 @@ import { TX_DATA_CONTAINER as d, TX_DATA_INPUT_HEAD as T, TX_DATA_INPUT_CONTAINE
4
4
  import { REFUND_REASONS as R } from "../../context/constants.js";
5
5
  import N from "../../../../../core/Context/useCoreContext.js";
6
6
  import A from "../../../../internal/Typography/Typography.js";
7
- import { TypographyElement as _, TypographyVariant as h } from "../../../../internal/Typography/types.js";
7
+ import { TypographyVariant as _, TypographyElement as h } from "../../../../internal/Typography/types.js";
8
8
  import { useTransactionRefundContext as g } from "../../context/refund/context.js";
9
9
  import C from "../../../../internal/FormFields/Select/Select.js";
10
10
  const P = () => {
@@ -22,7 +22,7 @@ const P = () => {
22
22
  [r]
23
23
  );
24
24
  return /* @__PURE__ */ o("div", { className: d, children: [
25
- /* @__PURE__ */ o("div", { className: T, children: /* @__PURE__ */ o(A, { el: _.SPAN, variant: h.BODY, stronger: !0, children: n.get("refundReason") }) }),
25
+ /* @__PURE__ */ o("div", { className: T, children: /* @__PURE__ */ o(A, { el: h.SPAN, variant: _.BODY, stronger: !0, children: n.get("refundReason") }) }),
26
26
  /* @__PURE__ */ o("div", { className: `${u} ${p}`, children: /* @__PURE__ */ o(
27
27
  C,
28
28
  {
@@ -1,27 +1,27 @@
1
1
  import { jsx as e } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { memo as N } from "../../../../../external/preact/compat/dist/compat.module.js";
3
- import { createContext as O, Fragment as R } from "../../../../../external/preact/dist/preact.module.js";
3
+ import { Fragment as R, createContext as O } from "../../../../../external/preact/dist/preact.module.js";
4
4
  import { useMemo as o, useCallback as w, useEffect as y, useContext as j } from "../../../../../external/preact/hooks/dist/hooks.module.js";
5
5
  import z from "../../../../../core/Context/useCoreContext.js";
6
6
  import { ButtonVariant as A } from "../../../../internal/Button/types.js";
7
7
  import { ActiveView as B } from "../types.js";
8
8
  import { Icon as E } from "../../../../internal/Icon/Icon.js";
9
- import { EMPTY_ARRAY as _, EMPTY_OBJECT as f } from "../../../../../utils/value/constants.js";
9
+ import { EMPTY_OBJECT as l, EMPTY_ARRAY as _ } from "../../../../../utils/value/constants.js";
10
10
  import { noop as D } from "../../../../../utils/common.js";
11
11
  const M = O({
12
12
  availableItems: _,
13
13
  primaryAction: D,
14
14
  secondaryAction: D,
15
- transaction: f,
16
- extraFields: f,
17
- dataCustomization: f
15
+ transaction: l,
16
+ extraFields: l,
17
+ dataCustomization: l
18
18
  }), S = N(
19
19
  ({
20
20
  children: P,
21
21
  lineItems: Y,
22
22
  refundAvailable: n,
23
- refundDisabled: u,
24
- setActiveView: l,
23
+ refundDisabled: f,
24
+ setActiveView: u,
25
25
  setPrimaryAction: p,
26
26
  setSecondaryAction: v,
27
27
  transaction: i,
@@ -29,9 +29,9 @@ const M = O({
29
29
  extraFields: F,
30
30
  dataCustomization: I
31
31
  }) => {
32
- const { i18n: r } = z(), { currentTransaction: T, canNavigateBackward: g, canNavigateForward: C, backward: x, forward: b } = k, h = o(() => ({ title: r.get("refundAction") }), [r]), a = o(() => !n || u, [n, u]), s = w(
33
- () => void (!a && l(B.REFUND)),
34
- [a, l]
32
+ const { i18n: r } = z(), { currentTransaction: T, canNavigateBackward: g, canNavigateForward: C, backward: x, forward: b } = k, h = o(() => ({ title: r.get("refundAction") }), [r]), a = o(() => !n || f, [n, f]), s = w(
33
+ () => void (!a && u(B.REFUND)),
34
+ [a, u]
35
35
  ), t = o(() => {
36
36
  if (T === i.id) {
37
37
  if (g) return 2;
@@ -10,8 +10,8 @@ import { useRefundContextReason as S } from "./hooks/useRefundContextReason.js";
10
10
  import Y from "../../../../../hooks/useMutation/useMutation.js";
11
11
  import { RefundMode as j } from "../types.js";
12
12
  import { useConfigContext as q } from "../../../../../core/ConfigContext/context.js";
13
- import { EMPTY_ARRAY as f } from "../../../../../utils/value/constants.js";
14
13
  import { noop as t } from "../../../../../utils/common.js";
14
+ import { EMPTY_ARRAY as f } from "../../../../../utils/value/constants.js";
15
15
  const d = E({
16
16
  amount: 0,
17
17
  availableAmount: 0,
@@ -24,8 +24,8 @@ const T = ({ currency: c, lineItems: n }) => {
24
24
  ), i = b(
25
25
  function(a) {
26
26
  m((t) => {
27
- const g = [...arguments.length === 0 ? new Map(t.map(({ id: r }) => [r, 0])) : new Map((a == null ? void 0 : a.map((r) => [r, 0])) ?? o)].map(([r, h]) => ({ id: r, quantity: h }));
28
- return p(u, t, g);
27
+ const d = [...arguments.length === 0 ? new Map(t.map(({ id: r }) => [r, 0])) : new Map((a == null ? void 0 : a.map((r) => [r, 0])) ?? o)].map(([r, g]) => ({ id: r, quantity: g }));
28
+ return p(u, t, d);
29
29
  });
30
30
  },
31
31
  [u]
@@ -1,36 +1,36 @@
1
1
  import { isEmptyString as l } from "../../../../../../utils/value/string.js";
2
- import { struct as g } from "../../../../../../utils/struct/main.js";
3
- import { enumerable as d, getter as i } from "../../../../../../utils/struct/property.js";
4
2
  import { EMPTY_ARRAY as T } from "../../../../../../utils/value/constants.js";
3
+ import { struct as g } from "../../../../../../utils/struct/main.js";
4
+ import { enumerable as d, getter as e } from "../../../../../../utils/struct/property.js";
5
5
  import { isNullish as k, isFunction as b } from "../../../../../../utils/value/is.js";
6
6
  const A = () => {
7
- let [t, e, a, n] = T;
8
- const u = () => !!(t && t === n && a), m = () => !!(t && t === a && n);
9
- let o = null;
10
- const p = () => {
11
- u() && (e = t, t = a, c());
12
- }, v = () => {
13
- m() && (e = t, t = n, c());
7
+ let [t, i, a, o] = T;
8
+ const m = () => !!(t && t === o && a), u = () => !!(t && t === a && o);
9
+ let n = null;
10
+ const v = () => {
11
+ m() && (i = t, t = a, c());
12
+ }, p = () => {
13
+ u() && (i = t, t = o, c());
14
14
  }, w = (r, s) => {
15
15
  const f = t;
16
- t = e = a = n = void 0, !l(r) && !l(s) && (a = r, n = s, t = f === a || f === n ? f : a, f !== t && c());
16
+ t = i = a = o = void 0, !l(r) && !l(s) && (a = r, o = s, t = f === a || f === o ? f : a, f !== t && c());
17
17
  }, N = (r) => {
18
- k(r) ? o = null : b(r) && o !== (o = r) && c();
18
+ k(r) ? n = null : b(r) && n !== (n = r) && c();
19
19
  }, c = () => {
20
- const r = e, s = t;
21
- e = void 0, o == null || o(
20
+ const r = i, s = t;
21
+ i = void 0, n == null || n(
22
22
  g({
23
- from: i(() => r),
24
- to: i(() => s)
23
+ from: e(() => r),
24
+ to: e(() => s)
25
25
  })
26
26
  );
27
27
  };
28
28
  return g({
29
- backward: d(p),
30
- forward: d(v),
31
- canNavigateBackward: i(u),
32
- canNavigateForward: i(m),
33
- currentTransaction: i(() => t),
29
+ backward: d(v),
30
+ forward: d(p),
31
+ canNavigateBackward: e(m),
32
+ canNavigateForward: e(u),
33
+ currentTransaction: e(() => t),
34
34
  onNavigation: { set: N },
35
35
  reset: d(w)
36
36
  });
@@ -20,10 +20,10 @@ const J = (s) => {
20
20
  return m(() => {
21
21
  t || r(i.id);
22
22
  }, [t, i]), m(() => {
23
- var F;
23
+ var v;
24
24
  const n = h.current, f = g.current;
25
- return f.category === "Refund" && (n.reset(f.id, (F = f.refundMetadata) == null ? void 0 : F.originalPaymentId), n.onNavigation = ({ to: v }) => {
26
- u.current = !0, E(performance.now()), v && r(v);
25
+ return f.category === "Refund" && (n.reset(f.id, (v = f.refundMetadata) == null ? void 0 : v.originalPaymentId), n.onNavigation = ({ to: F }) => {
26
+ u.current = !0, E(performance.now()), F && r(F);
27
27
  }), () => {
28
28
  u.current = !1, n.onNavigation = null, n.reset();
29
29
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import e from "classnames";
3
- import { BASE_CLASS as m, LOADING_CLASS as a, MARGIN_CLASS as S } from "./constants.js";
3
+ import { BASE_CLASS as m, MARGIN_CLASS as a, LOADING_CLASS as S } from "./constants.js";
4
4
  /* empty css */
5
- const n = ({ hasMargin: o = !1, isLoading: t = !1, width: r }) => /* @__PURE__ */ s("span", { className: e(m, { [a]: t, [S]: o }), style: { width: r } });
5
+ const n = ({ hasMargin: o = !1, isLoading: t = !1, width: r }) => /* @__PURE__ */ s("span", { className: e(m, { [S]: t, [a]: o }), style: { width: r } });
6
6
  export {
7
7
  n as AmountSkeleton,
8
8
  n as default
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import { AmountSkeleton as d } from "../AmountSkeleton/AmountSkeleton.js";
3
- import { BASE_CLASS as y, BODY_CLASS as T, PLACEHOLDER_CLASS as E, LABEL_CLASS as b, AMOUNT_CLASS as B } from "./constants.js";
3
+ import { BASE_CLASS as y, PLACEHOLDER_CLASS as T, AMOUNT_CLASS as E, LABEL_CLASS as b, BODY_CLASS as B } from "./constants.js";
4
4
  import { SummaryItemLabel as C } from "./SummaryItemLabel.js";
5
5
  import { Tooltip as N } from "../../../../internal/Tooltip/Tooltip.js";
6
6
  import { TypographyVariant as n } from "../../../../internal/Typography/types.js";
@@ -32,15 +32,15 @@ const W = ({
32
32
  (t, r) => t.valueHasLabelStyle ? n.CAPTION : r && !S ? n.BODY : n.TITLE,
33
33
  [S]
34
34
  );
35
- return /* @__PURE__ */ e("div", { className: p(y, { [T]: !u }), children: i.map((t, r) => {
35
+ return /* @__PURE__ */ e("div", { className: p(y, { [B]: !u }), children: i.map((t, r) => {
36
36
  const a = t.getValue(), o = !!a && a.length > 12;
37
37
  return /* @__PURE__ */ e("div", { children: [
38
38
  u && (t.tooltipLabel ? /* @__PURE__ */ e(N, { content: s.get(`${t.tooltipLabel}`), isContainerHovered: h, children: /* @__PURE__ */ e(C, { config: t, i18n: s, isSkeletonVisible: l }) }) : /* @__PURE__ */ e(C, { config: t, i18n: s, isSkeletonVisible: l })),
39
- l ? /* @__PURE__ */ e(d, { isLoading: c, hasMargin: t.hasSkeletonMargin, width: t.skeletonWidth + "px" }) : A ? /* @__PURE__ */ e("span", { className: p([y, E]) }) : /* @__PURE__ */ e("div", { ref: t.ref, style: f(r), children: /* @__PURE__ */ e(
39
+ l ? /* @__PURE__ */ e(d, { isLoading: c, hasMargin: t.hasSkeletonMargin, width: t.skeletonWidth + "px" }) : A ? /* @__PURE__ */ e("span", { className: p([y, T]) }) : /* @__PURE__ */ e("div", { ref: t.ref, style: f(r), children: /* @__PURE__ */ e(
40
40
  O,
41
41
  {
42
42
  variant: v(t, o),
43
- className: p({ [b]: t.valueHasLabelStyle, [B]: !t.valueHasLabelStyle }),
43
+ className: p({ [b]: t.valueHasLabelStyle, [E]: !t.valueHasLabelStyle }),
44
44
  children: a
45
45
  }
46
46
  ) })
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { LABEL_CONTAINER_CLASS as l, LABEL_CONTAINER_CLASS_LOADING as L, LABEL_CLASS as i } from "./constants.js";
2
+ import { LABEL_CLASS as l, LABEL_CONTAINER_CLASS as L, LABEL_CONTAINER_CLASS_LOADING as i } from "./constants.js";
3
3
  import { TypographyVariant as s } from "../../../../internal/Typography/types.js";
4
4
  import A from "../../../../internal/Typography/Typography.js";
5
5
  import f from "classnames";
@@ -8,11 +8,11 @@ const d = y(
8
8
  ({ config: r, i18n: e, isSkeletonVisible: m, className: o, ...t }, p) => /* @__PURE__ */ a(
9
9
  "span",
10
10
  {
11
- className: f(l, o, { [L]: m }),
11
+ className: f(L, o, { [i]: m }),
12
12
  style: { cursor: "default" },
13
13
  ref: p,
14
14
  ...t,
15
- children: r.labelKey && /* @__PURE__ */ a(A, { variant: s.CAPTION, className: i, children: e.get(r.labelKey) })
15
+ children: r.labelKey && /* @__PURE__ */ a(A, { variant: s.CAPTION, className: l, children: e.get(r.labelKey) })
16
16
  }
17
17
  )
18
18
  );
@@ -1,18 +1,18 @@
1
1
  import { jsx as r } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useState as h, useMemo as p } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
- import c from "../../../../internal/ExpandableCard/ExpandableCard.js";
2
+ import { useState as p, useMemo as c } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import h from "../../../../internal/ExpandableCard/ExpandableCard.js";
4
4
  import { memo as M } from "../../../../../external/preact/compat/dist/compat.module.js";
5
- import { TransactionTotalItem as d } from "../TransactionTotalItem/TransactionTotalItem.js";
5
+ import { TransactionTotalItem as u } from "../TransactionTotalItem/TransactionTotalItem.js";
6
6
  import { BaseList as x } from "../../../../internal/BaseList/BaseList.js";
7
7
  import { useMaxWidthsState as T } from "../../hooks/useMaxWidths.js";
8
8
  /* empty css */
9
9
  const C = M(({ totals: s, isLoading: o, hiddenField: a, fullWidth: l }) => {
10
- const [m, n] = T(), [i, t] = h(!1), [f, ...u] = p(() => s.map((e) => (e.key = `${e.currency}-${Math.random()}`, e)), [s]);
10
+ const [m, n] = T(), [i, t] = p(!1), [f, ...d] = c(() => s.map((e) => (e.key = `${e.currency}-${Math.random()}`, e)), [s]);
11
11
  return /* @__PURE__ */ r(
12
- c,
12
+ h,
13
13
  {
14
14
  renderHeader: /* @__PURE__ */ r(
15
- d,
15
+ u,
16
16
  {
17
17
  isHovered: i,
18
18
  total: f,
@@ -29,8 +29,8 @@ const C = M(({ totals: s, isLoading: o, hiddenField: a, fullWidth: l }) => {
29
29
  onFocus: () => t(!0),
30
30
  onMouseLeave: () => t(!1),
31
31
  onBlur: () => t(!1),
32
- children: !o && u.length && /* @__PURE__ */ r(x, { children: u.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
33
- d,
32
+ children: !o && d.length && /* @__PURE__ */ r(x, { children: d.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
33
+ u,
34
34
  {
35
35
  isHovered: i,
36
36
  total: e,