@adyen/adyen-platform-experience-web 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/README.md +1 -1
  2. package/dist/adyen-platform-experience-web.css +1 -1
  3. package/dist/{angle-right-Bb55rXYe.cjs → angle-right-BYzD_-Ft.cjs} +2 -2
  4. package/dist/{angle-right-Bb55rXYe.cjs.map → angle-right-BYzD_-Ft.cjs.map} +1 -1
  5. package/dist/{checkmark-DiDm_wM9.cjs → checkmark-BvN7Hdc4.cjs} +2 -2
  6. package/dist/{checkmark-DiDm_wM9.cjs.map → checkmark-BvN7Hdc4.cjs.map} +1 -1
  7. package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs → checkmark-circle-fill-B2FBCXMi.cjs} +2 -2
  8. package/dist/{checkmark-circle-fill-Cw6AyXxm.cjs.map → checkmark-circle-fill-B2FBCXMi.cjs.map} +1 -1
  9. package/dist/{checkmark-square-fill-B0JKpJWE.cjs → checkmark-square-fill-C0yzqh08.cjs} +2 -2
  10. package/dist/{checkmark-square-fill-B0JKpJWE.cjs.map → checkmark-square-fill-C0yzqh08.cjs.map} +1 -1
  11. package/dist/{chevron-down-BhSTKYlw.cjs → chevron-down-Bh5iG-g7.cjs} +2 -2
  12. package/dist/{chevron-down-BhSTKYlw.cjs.map → chevron-down-Bh5iG-g7.cjs.map} +1 -1
  13. package/dist/{chevron-left-D-GWfC1v.cjs → chevron-left-CslKDyxG.cjs} +2 -2
  14. package/dist/{chevron-left-D-GWfC1v.cjs.map → chevron-left-CslKDyxG.cjs.map} +1 -1
  15. package/dist/{chevron-right-CSehcQXv.cjs → chevron-right-B86-08tq.cjs} +2 -2
  16. package/dist/{chevron-right-CSehcQXv.cjs.map → chevron-right-B86-08tq.cjs.map} +1 -1
  17. package/dist/{chevron-up-D8g7ZBDG.cjs → chevron-up-DRKXzgCM.cjs} +2 -2
  18. package/dist/{chevron-up-D8g7ZBDG.cjs.map → chevron-up-DRKXzgCM.cjs.map} +1 -1
  19. package/dist/cjs/index.js +1 -1
  20. package/dist/{copy-BOKezSIj.cjs → copy--wgagwiQ.cjs} +2 -2
  21. package/dist/{copy-BOKezSIj.cjs.map → copy--wgagwiQ.cjs.map} +1 -1
  22. package/dist/{cross-BMK10x3R.cjs → cross-BWhI1OkU.cjs} +2 -2
  23. package/dist/{cross-BMK10x3R.cjs.map → cross-BWhI1OkU.cjs.map} +1 -1
  24. package/dist/{cross-circle-fill-DzWguWQ6.cjs → cross-circle-fill-CNa1fp55.cjs} +2 -2
  25. package/dist/{cross-circle-fill-DzWguWQ6.cjs.map → cross-circle-fill-CNa1fp55.cjs.map} +1 -1
  26. package/dist/{download-DciFfoOz.cjs → download-v3aQcc7_.cjs} +2 -2
  27. package/dist/{download-DciFfoOz.cjs.map → download-v3aQcc7_.cjs.map} +1 -1
  28. package/dist/es/components/external/CapitalOverview/components/GrantActions/GrantActions.js +133 -0
  29. package/dist/es/components/external/CapitalOverview/components/GrantActions/constants.js +9 -0
  30. package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +39 -40
  31. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +11 -11
  32. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +19 -19
  33. package/dist/es/components/internal/Accordion/Accordion.js +19 -20
  34. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +37 -37
  35. package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +18 -19
  36. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +47 -48
  37. package/dist/es/components/internal/FormFields/Select/Select.js +29 -29
  38. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +27 -27
  39. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +27 -29
  40. package/dist/es/components/internal/Pagination/Pagination.js +41 -38
  41. package/dist/es/components/internal/Popover/Popover.js +95 -92
  42. package/dist/es/components/internal/Popover/types.js +2 -2
  43. package/dist/es/components/internal/Tooltip/Tooltip.js +28 -32
  44. package/dist/es/constants/dateFormats.js +19 -18
  45. package/dist/es/core/Http/utils.js +1 -1
  46. package/dist/es/core/core.js +1 -1
  47. package/dist/es/hooks/element/usePopoverPositioner.js +129 -89
  48. package/dist/es/translations/en-US.json.js +4 -0
  49. package/dist/{external-link-B2F_A_Cq.cjs → external-link-Y0ITwX_D.cjs} +2 -2
  50. package/dist/{external-link-B2F_A_Cq.cjs.map → external-link-Y0ITwX_D.cjs.map} +1 -1
  51. package/dist/{filter-D22HZfjz.cjs → filter-B0jf9LNT.cjs} +2 -2
  52. package/dist/{filter-D22HZfjz.cjs.map → filter-B0jf9LNT.cjs.map} +1 -1
  53. package/dist/index-CldOsFs0.cjs +12 -0
  54. package/dist/index-CldOsFs0.cjs.map +1 -0
  55. package/dist/{info-filled-DChkt5PM.cjs → info-filled-DWI7yYIK.cjs} +2 -2
  56. package/dist/{info-filled-DChkt5PM.cjs.map → info-filled-DWI7yYIK.cjs.map} +1 -1
  57. package/dist/{minus-circle-outline-o-wMYGB7.cjs → minus-circle-outline-TX4FRKCq.cjs} +2 -2
  58. package/dist/{minus-circle-outline-o-wMYGB7.cjs.map → minus-circle-outline-TX4FRKCq.cjs.map} +1 -1
  59. package/dist/{plus-IYFySo3s.cjs → plus-WkQleJCL.cjs} +2 -2
  60. package/dist/{plus-IYFySo3s.cjs.map → plus-WkQleJCL.cjs.map} +1 -1
  61. package/dist/{plus-circle-outline-CoI6-j9k.cjs → plus-circle-outline-BSbUWJEJ.cjs} +2 -2
  62. package/dist/{plus-circle-outline-CoI6-j9k.cjs.map → plus-circle-outline-BSbUWJEJ.cjs.map} +1 -1
  63. package/dist/{square-DN8rGu6b.cjs → square-wBNy5hkk.cjs} +2 -2
  64. package/dist/{square-DN8rGu6b.cjs.map → square-wBNy5hkk.cjs.map} +1 -1
  65. package/dist/{trash-can-DIrL2Xi0.cjs → trash-can-BtOHiu0D.cjs} +2 -2
  66. package/dist/{trash-can-DIrL2Xi0.cjs.map → trash-can-BtOHiu0D.cjs.map} +1 -1
  67. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts +2 -2
  68. package/dist/types/components/external/CapitalOverview/components/AccountDetails/types.d.ts.map +1 -1
  69. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts +9 -0
  70. package/dist/types/components/external/CapitalOverview/components/GrantActions/GrantActions.d.ts.map +1 -0
  71. package/dist/types/components/external/CapitalOverview/components/GrantActions/constants.d.ts +7 -0
  72. package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/constants.d.ts.map +1 -1
  73. package/dist/types/components/external/CapitalOverview/components/GrantActions/utils.d.ts.map +1 -0
  74. package/dist/types/components/external/CapitalOverview/components/GrantItem/GrantItem.d.ts.map +1 -1
  75. package/dist/types/components/external/ReportsOverview/components/ReportsTable/ReportsTable.d.ts.map +1 -1
  76. package/dist/types/components/internal/Accordion/Accordion.d.ts.map +1 -1
  77. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +5 -21
  78. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  79. package/dist/types/components/internal/Calendar/hooks/useCalendarControlsRendering.d.ts.map +1 -1
  80. package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
  81. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
  82. package/dist/types/components/internal/Pagination/Pagination.d.ts +1 -1
  83. package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
  84. package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
  85. package/dist/types/components/internal/Popover/types.d.ts +4 -2
  86. package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
  87. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  88. package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
  89. package/dist/types/constants/dateFormats.d.ts +1 -0
  90. package/dist/types/constants/dateFormats.d.ts.map +1 -1
  91. package/dist/types/core/ConfigContext/context.d.ts +38 -20
  92. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  93. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +76 -40
  94. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  95. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +38 -20
  96. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  97. package/dist/types/core/ConfigContext/types.d.ts +7 -1
  98. package/dist/types/core/ConfigContext/types.d.ts.map +1 -1
  99. package/dist/types/hooks/element/usePopoverPositioner.d.ts +1 -1
  100. package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
  101. package/dist/types/hooks/useTableColumns.d.ts +1 -1
  102. package/dist/types/translations/index.d.ts +4 -0
  103. package/dist/types/translations/index.d.ts.map +1 -1
  104. package/dist/types/types/api/endpoints.d.ts +4 -2
  105. package/dist/types/types/api/endpoints.d.ts.map +1 -1
  106. package/dist/types/types/api/models/capital.d.ts +10 -6
  107. package/dist/types/types/api/models/capital.d.ts.map +1 -1
  108. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts +56 -28
  109. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts.map +1 -1
  110. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts +182 -0
  111. package/dist/types/types/api/resources/CapitalGrantOffersResource.d.ts.map +1 -0
  112. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts +190 -0
  113. package/dist/types/types/api/resources/CapitalGrantsResource.d.ts.map +1 -0
  114. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts +112 -0
  115. package/dist/types/types/api/resources/CapitalMissingActionsResource.d.ts.map +1 -0
  116. package/dist/types/types/api/resources/SetupResource.d.ts +33 -15
  117. package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
  118. package/dist/types/utils/abort/main.d.ts +1 -2
  119. package/dist/types/utils/abort/main.d.ts.map +1 -1
  120. package/dist/{upload-deLJWgy1.cjs → upload-CwRQ9v3Y.cjs} +2 -2
  121. package/dist/{upload-deLJWgy1.cjs.map → upload-CwRQ9v3Y.cjs.map} +1 -1
  122. package/dist/{warning-DhLYlOp4.cjs → warning-DBphva9h.cjs} +2 -2
  123. package/dist/{warning-DhLYlOp4.cjs.map → warning-DBphva9h.cjs.map} +1 -1
  124. package/dist/{warning-filled-B9O_Hc7Y.cjs → warning-filled-Ctsg1oEC.cjs} +2 -2
  125. package/dist/{warning-filled-B9O_Hc7Y.cjs.map → warning-filled-Ctsg1oEC.cjs.map} +1 -1
  126. package/package.json +20 -43
  127. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +0 -65
  128. package/dist/es/components/external/CapitalOverview/components/GrantAction/constants.js +0 -6
  129. package/dist/es/components/internal/SVGIcons/CheckedBox.js +0 -15
  130. package/dist/es/components/internal/SVGIcons/Checkmark.js +0 -17
  131. package/dist/es/components/internal/SVGIcons/ChevronDown.js +0 -17
  132. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +0 -17
  133. package/dist/es/components/internal/SVGIcons/ChevronRight.js +0 -17
  134. package/dist/es/components/internal/SVGIcons/ChevronUp.js +0 -17
  135. package/dist/es/components/internal/SVGIcons/CloseCircle.js +0 -16
  136. package/dist/es/components/internal/SVGIcons/Download.js +0 -20
  137. package/dist/es/components/internal/SVGIcons/UncheckedBox.js +0 -9
  138. package/dist/es/components/internal/SVGIcons/Warning.js +0 -21
  139. package/dist/index-CmIP-V4s.cjs +0 -12
  140. package/dist/index-CmIP-V4s.cjs.map +0 -1
  141. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts +0 -5
  142. package/dist/types/components/external/CapitalOverview/components/GrantAction/GrantAction.d.ts.map +0 -1
  143. package/dist/types/components/external/CapitalOverview/components/GrantAction/constants.d.ts +0 -4
  144. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts +0 -7
  145. package/dist/types/components/external/CapitalOverview/components/GrantAction/types.d.ts.map +0 -1
  146. package/dist/types/components/external/CapitalOverview/components/GrantAction/utils.d.ts.map +0 -1
  147. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +0 -10
  148. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts.map +0 -1
  149. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +0 -10
  150. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts.map +0 -1
  151. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +0 -10
  152. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts.map +0 -1
  153. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +0 -10
  154. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +0 -1
  155. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +0 -10
  156. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +0 -1
  157. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +0 -10
  158. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts.map +0 -1
  159. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +0 -7
  160. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts.map +0 -1
  161. package/dist/types/components/internal/SVGIcons/Download.d.ts +0 -7
  162. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +0 -1
  163. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +0 -10
  164. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts.map +0 -1
  165. package/dist/types/components/internal/SVGIcons/Warning.d.ts +0 -7
  166. package/dist/types/components/internal/SVGIcons/Warning.d.ts.map +0 -1
  167. package/dist/types/types/api/resources/CapitalResource.d.ts +0 -255
  168. package/dist/types/types/api/resources/CapitalResource.d.ts.map +0 -1
  169. /package/dist/es/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.js +0 -0
  170. /package/dist/types/components/external/CapitalOverview/components/{GrantAction → GrantActions}/utils.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"checkmark-square-fill-B0JKpJWE.cjs","sources":["../src/images/icons/checkmark-square-fill.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCheckmarkSquareFill = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M1.25 3.5c0-1.24 1-2.25 2.25-2.25h9c1.24 0 2.25 1 2.25 2.25v9c0 1.24-1 2.25-2.25 2.25h-9c-1.24 0-2.25-1-2.25-2.25zM12.06 6 11 4.94l-4 4-2-2L3.94 8 7 11.06z\" }) });\nexport default SvgCheckmarkSquareFill;\n"],"names":["SvgCheckmarkSquareFill","props","jsx"],"mappings":"wHACMA,EAA0BC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,6JAA6J,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"checkmark-square-fill-C0yzqh08.cjs","sources":["../src/images/icons/checkmark-square-fill.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCheckmarkSquareFill = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M1.25 3.5c0-1.24 1-2.25 2.25-2.25h9c1.24 0 2.25 1 2.25 2.25v9c0 1.24-1 2.25-2.25 2.25h-9c-1.24 0-2.25-1-2.25-2.25zM12.06 6 11 4.94l-4 4-2-2L3.94 8 7 11.06z\" }) });\nexport default SvgCheckmarkSquareFill;\n"],"names":["SvgCheckmarkSquareFill","props","jsx"],"mappings":"wHACMA,EAA0BC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,6JAA6J,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),t=o=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...o,children:e.u("path",{fill:"currentColor",d:"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z"})});exports.default=t;
2
- //# sourceMappingURL=chevron-down-BhSTKYlw.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),t=o=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...o,children:e.u("path",{fill:"currentColor",d:"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z"})});exports.default=t;
2
+ //# sourceMappingURL=chevron-down-Bh5iG-g7.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-down-BhSTKYlw.cjs","sources":["../src/images/icons/chevron-down.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronDown = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z\" }) });\nexport default SvgChevronDown;\n"],"names":["SvgChevronDown","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,6CAA6C,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"chevron-down-Bh5iG-g7.cjs","sources":["../src/images/icons/chevron-down.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronDown = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m3 4.44 5 5 5-5 1.06 1.06L8 11.56 1.94 5.5z\" }) });\nexport default SvgChevronDown;\n"],"names":["SvgChevronDown","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,6CAA6C,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z"})});exports.default=l;
2
- //# sourceMappingURL=chevron-left-D-GWfC1v.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z"})});exports.default=l;
2
+ //# sourceMappingURL=chevron-left-CslKDyxG.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-left-D-GWfC1v.cjs","sources":["../src/images/icons/chevron-left.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronLeft = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z\" }) });\nexport default SvgChevronLeft;\n"],"names":["SvgChevronLeft","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"chevron-left-CslKDyxG.cjs","sources":["../src/images/icons/chevron-left.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronLeft = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m11.56 3-5 5 5 5-1.06 1.06L4.44 8l6.06-6.06z\" }) });\nexport default SvgChevronLeft;\n"],"names":["SvgChevronLeft","props","jsx"],"mappings":"wHACMA,EAAkBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),o=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z"})});exports.default=o;
2
- //# sourceMappingURL=chevron-right-CSehcQXv.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),o=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z"})});exports.default=o;
2
+ //# sourceMappingURL=chevron-right-B86-08tq.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-right-CSehcQXv.cjs","sources":["../src/images/icons/chevron-right.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronRight = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z\" }) });\nexport default SvgChevronRight;\n"],"names":["SvgChevronRight","props","jsx"],"mappings":"wHACMA,EAAmBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"chevron-right-B86-08tq.cjs","sources":["../src/images/icons/chevron-right.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronRight = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m4.44 13 5-5-5-5L5.5 1.94 11.56 8 5.5 14.06z\" }) });\nexport default SvgChevronRight;\n"],"names":["SvgChevronRight","props","jsx"],"mappings":"wHACMA,EAAmBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,8CAA8C,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z"})});exports.default=l;
2
- //# sourceMappingURL=chevron-up-D8g7ZBDG.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),l=t=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...t,children:e.u("path",{fill:"currentColor",d:"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z"})});exports.default=l;
2
+ //# sourceMappingURL=chevron-up-DRKXzgCM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-up-D8g7ZBDG.cjs","sources":["../src/images/icons/chevron-up.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronUp = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z\" }) });\nexport default SvgChevronUp;\n"],"names":["SvgChevronUp","props","jsx"],"mappings":"wHACMA,EAAgBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,+CAA+C,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"chevron-up-DRKXzgCM.cjs","sources":["../src/images/icons/chevron-up.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgChevronUp = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m13 11.56-5-5-5 5-1.06-1.06L8 4.44l6.06 6.06z\" }) });\nexport default SvgChevronUp;\n"],"names":["SvgChevronUp","props","jsx"],"mappings":"wHACMA,EAAgBC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,+CAA+C,CAAE,CAAG,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CmIP-V4s.cjs");exports.AdyenPlatformExperience=e.AdyenPlatformExperience;exports.CapitalOffer=e.CapitalOfferElement;exports.CapitalOverview=e.CapitalOverviewElement;exports.Core=e.Core;exports.DisputeManagement=e.DisputeManagementElement;exports.DisputesOverview=e.DisputesOverviewElement;exports.PayoutDetails=e.PayoutElement;exports.PayoutsOverview=e.PayoutsElement;exports.ReportsOverview=e.ReportsElement;exports.TransactionDetails=e.TransactionElement;exports.TransactionsOverview=e.TransactionsElement;exports.all_locales=e.all_locales;exports.da_DK=e.da_DK;exports.de_DE=e.de_DE;exports.en_US=e.en_US;exports.es_ES=e.es_ES;exports.fi_FI=e.fi_FI;exports.fr_FR=e.fr_FR;exports.it_IT=e.it_IT;exports.nl_NL=e.nl_NL;exports.no_NO=e.no_NO;exports.pt_BR=e.pt_BR;exports.sv_SE=e.sv_SE;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CldOsFs0.cjs");exports.AdyenPlatformExperience=e.AdyenPlatformExperience;exports.CapitalOffer=e.CapitalOfferElement;exports.CapitalOverview=e.CapitalOverviewElement;exports.Core=e.Core;exports.DisputeManagement=e.DisputeManagementElement;exports.DisputesOverview=e.DisputesOverviewElement;exports.PayoutDetails=e.PayoutElement;exports.PayoutsOverview=e.PayoutsElement;exports.ReportsOverview=e.ReportsElement;exports.TransactionDetails=e.TransactionElement;exports.TransactionsOverview=e.TransactionsElement;exports.all_locales=e.all_locales;exports.da_DK=e.da_DK;exports.de_DE=e.de_DE;exports.en_US=e.en_US;exports.es_ES=e.es_ES;exports.fi_FI=e.fi_FI;exports.fr_FR=e.fr_FR;exports.it_IT=e.it_IT;exports.nl_NL=e.nl_NL;exports.no_NO=e.no_NO;exports.pt_BR=e.pt_BR;exports.sv_SE=e.sv_SE;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-CmIP-V4s.cjs"),t=e=>c.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...e,children:c.u("path",{fill:"currentColor",d:"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75"})});exports.default=t;
2
- //# sourceMappingURL=copy-BOKezSIj.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-CldOsFs0.cjs"),t=e=>c.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...e,children:c.u("path",{fill:"currentColor",d:"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75"})});exports.default=t;
2
+ //# sourceMappingURL=copy--wgagwiQ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"copy-BOKezSIj.cjs","sources":["../src/images/icons/copy.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCopy = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75\" }) });\nexport default SvgCopy;\n"],"names":["SvgCopy","props","jsx"],"mappings":"wHACMA,EAAWC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,2YAA2Y,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"copy--wgagwiQ.cjs","sources":["../src/images/icons/copy.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCopy = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M3.5 1.25c-1.24 0-2.25 1-2.25 2.25v5c0 1.24 1 2.25 2.25 2.25h1.75v1.75c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-5c0-1.24-1-2.25-2.25-2.25h-1.75V3.5c0-1.24-1-2.25-2.25-2.25zm5.75 4H7.5c-1.24 0-2.25 1-2.25 2.25v1.75H3.5a.75.75 0 0 1-.75-.75v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75zm-2.5 7.25v-5c0-.41.34-.75.75-.75h5c.41 0 .75.34.75.75v5c0 .41-.34.75-.75.75h-5a.75.75 0 0 1-.75-.75\" }) });\nexport default SvgCopy;\n"],"names":["SvgCopy","props","jsx"],"mappings":"wHACMA,EAAWC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,2YAA2Y,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),t=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:e.u("path",{fill:"currentColor",d:"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z"})});exports.default=t;
2
- //# sourceMappingURL=cross-BMK10x3R.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),t=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:e.u("path",{fill:"currentColor",d:"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z"})});exports.default=t;
2
+ //# sourceMappingURL=cross-BWhI1OkU.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cross-BMK10x3R.cjs","sources":["../src/images/icons/cross.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCross = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z\" }) });\nexport default SvgCross;\n"],"names":["SvgCross","props","jsx"],"mappings":"wHACMA,EAAYC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAwE,CAAE,CAAG,CAAA"}
1
+ {"version":3,"file":"cross-BWhI1OkU.cjs","sources":["../src/images/icons/cross.svg?component"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nconst SvgCross = (props) => /* @__PURE__ */ jsx(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"m8 9.06 4 4L13.06 12l-4-4 4-4L12 2.94l-4 4-4-4L2.94 4l4 4-4 4L4 13.06z\" }) });\nexport default SvgCross;\n"],"names":["SvgCross","props","jsx"],"mappings":"wHACMA,EAAYC,GAA0BC,EAAAA,EAAI,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAA0BC,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAwE,CAAE,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-CmIP-V4s.cjs"),e=r=>l.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...r,children:[l.u("g",{clipPath:"url(#cross-circle-fill_svg__a)",children:l.u("path",{fill:"currentColor",d:"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z"})}),l.u("defs",{children:l.u("clipPath",{id:"cross-circle-fill_svg__a",children:l.u("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]});exports.default=e;
2
- //# sourceMappingURL=cross-circle-fill-DzWguWQ6.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-CldOsFs0.cjs"),e=r=>l.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...r,children:[l.u("g",{clipPath:"url(#cross-circle-fill_svg__a)",children:l.u("path",{fill:"currentColor",d:"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z"})}),l.u("defs",{children:l.u("clipPath",{id:"cross-circle-fill_svg__a",children:l.u("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]});exports.default=e;
2
+ //# sourceMappingURL=cross-circle-fill-CNa1fp55.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cross-circle-fill-DzWguWQ6.cjs","sources":["../src/images/icons/cross-circle-fill.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgCrossCircleFill = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"g\", { clipPath: \"url(#cross-circle-fill_svg__a)\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z\" }) }),\n /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsx(\"clipPath\", { id: \"cross-circle-fill_svg__a\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M0 0h16v16H0z\" }) }) })\n] });\nexport default SvgCrossCircleFill;\n"],"names":["SvgCrossCircleFill","props","jsxs","jsx"],"mappings":"wHACMA,EAAsBC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CAC/IE,EAAAA,EAAI,IAAK,CAAE,SAAU,iCAAkC,SAA0BA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,2HAA2H,CAAE,CAAC,CAAE,EACxPA,EAAG,EAAC,OAAQ,CAAE,SAA0BA,EAAG,EAAC,WAAY,CAAE,GAAI,2BAA4B,SAA0BA,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,eAAe,CAAE,CAAC,CAAE,CAAG,CAAA,CACpM,CAAG,CAAA"}
1
+ {"version":3,"file":"cross-circle-fill-CNa1fp55.cjs","sources":["../src/images/icons/cross-circle-fill.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgCrossCircleFill = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"g\", { clipPath: \"url(#cross-circle-fill_svg__a)\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8M6 4.94 4.94 6l2 2-2 2L6 11.06l2-2 2 2L11.06 10l-2-2 2-2L10 4.94l-2 2z\" }) }),\n /* @__PURE__ */ jsx(\"defs\", { children: /* @__PURE__ */ jsx(\"clipPath\", { id: \"cross-circle-fill_svg__a\", children: /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M0 0h16v16H0z\" }) }) })\n] });\nexport default SvgCrossCircleFill;\n"],"names":["SvgCrossCircleFill","props","jsxs","jsx"],"mappings":"wHACMA,EAAsBC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CAC/IE,EAAAA,EAAI,IAAK,CAAE,SAAU,iCAAkC,SAA0BA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,2HAA2H,CAAE,CAAC,CAAE,EACxPA,EAAG,EAAC,OAAQ,CAAE,SAA0BA,EAAG,EAAC,WAAY,CAAE,GAAI,2BAA4B,SAA0BA,EAAAA,EAAI,OAAQ,CAAE,KAAM,eAAgB,EAAG,eAAe,CAAE,CAAC,CAAE,CAAG,CAAA,CACpM,CAAG,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CmIP-V4s.cjs"),o=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:[e.u("path",{fill:"currentColor",d:"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z"}),e.u("path",{fill:"currentColor",d:"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75"})]});exports.default=o;
2
- //# sourceMappingURL=download-DciFfoOz.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CldOsFs0.cjs"),o=l=>e.u("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",...l,children:[e.u("path",{fill:"currentColor",d:"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z"}),e.u("path",{fill:"currentColor",d:"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75"})]});exports.default=o;
2
+ //# sourceMappingURL=download-v3aQcc7_.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-DciFfoOz.cjs","sources":["../src/images/icons/download.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgDownload = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z\" }),\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75\" })\n] });\nexport default SvgDownload;\n"],"names":["SvgDownload","props","jsxs","jsx"],"mappings":"wHACMA,EAAeC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CACxIE,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAyE,EAChHA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,8IAAgJ,CAAA,CACzM,CAAG,CAAA"}
1
+ {"version":3,"file":"download-v3aQcc7_.cjs","sources":["../src/images/icons/download.svg?component"],"sourcesContent":["import { jsx, jsxs } from \"react/jsx-runtime\";\nconst SvgDownload = (props) => /* @__PURE__ */ jsxs(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", fill: \"none\", viewBox: \"0 0 16 16\", ...props, children: [\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M8.75 1.25v7.94L11 6.94 12.06 8 8 12.06 3.94 8 5 6.94l2.25 2.25V1.25z\" }),\n /* @__PURE__ */ jsx(\"path\", { fill: \"currentColor\", d: \"M2.75 12.5v-2.25h-1.5v2.25a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-2.25h-1.5v2.25a.75.75 0 0 1-.75.75h-9a.75.75 0 0 1-.75-.75\" })\n] });\nexport default SvgDownload;\n"],"names":["SvgDownload","props","jsxs","jsx"],"mappings":"wHACMA,EAAeC,GAA0BC,EAAI,EAAC,MAAO,CAAE,MAAO,6BAA8B,KAAM,OAAQ,QAAS,YAAa,GAAGD,EAAO,SAAU,CACxIE,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,wEAAyE,EAChHA,EAAG,EAAC,OAAQ,CAAE,KAAM,eAAgB,EAAG,8IAAgJ,CAAA,CACzM,CAAG,CAAA"}
@@ -0,0 +1,133 @@
1
+ import { jsx as o } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
+ import { useMemo as h, useState as L, useCallback as R } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import S from "../../../../../core/Context/useCoreContext.js";
4
+ import B from "../../../../../hooks/useTimezoneAwareDateFormatting.js";
5
+ import { GRANT_ACTION_CLASS_NAMES as n } from "./constants.js";
6
+ /* empty css */
7
+ import { Alert as T } from "../../../../internal/Alert/Alert.js";
8
+ import { AlertTypeOption as g } from "../../../../internal/Alert/types.js";
9
+ import { setTopWindowHref as M, getTopWindowHref as k } from "./utils.js";
10
+ import { ButtonVariant as N } from "../../../../internal/Button/types.js";
11
+ import E from "../../../../../hooks/useMutation/useMutation.js";
12
+ import F from "../../../../internal/Typography/Typography.js";
13
+ import { TypographyVariant as P, TypographyElement as _ } from "../../../../internal/Typography/types.js";
14
+ import { DATE_FORMAT_MISSING_ACTION as w } from "../../../../../constants/dateFormats.js";
15
+ import f from "../../../../internal/Button/Button.js";
16
+ import { useConfigContext as Y } from "../../../../../core/ConfigContext/context.js";
17
+ import { EMPTY_OBJECT as G } from "../../../../../utils/value/constants.js";
18
+ const oe = ({
19
+ missingActions: a = [],
20
+ offerExpiresAt: c,
21
+ className: p
22
+ }) => {
23
+ const { i18n: t, updateCore: I } = S(), { dateFormat: y } = B(), { endpoints: A } = Y(), C = h(
24
+ () => ({
25
+ signToS: {
26
+ getTitle: (e) => `${t.get("capital.signTermsAndConditionsToReceiveFunds")}${e ? ` ${t.get("capital.thisOfferExpiresOn", { values: { date: e } })}` : ""}`,
27
+ buttonLabelKey: "capital.goToTermsAndConditions"
28
+ },
29
+ AnaCredit: {
30
+ getTitle: (e) => e ? t.get("capital.weNeedABitMoreInformationToProcessYourFundsPleaseCompleteThisActionBy", {
31
+ values: { date: e }
32
+ }) : t.get("capital.weNeedABitMoreInformationToProcessYourFundsPleaseCompleteThisAction"),
33
+ buttonLabelKey: "capital.submitInformation"
34
+ }
35
+ }),
36
+ [t]
37
+ ), [m, s] = L(null), v = R((e) => {
38
+ e != null && e.url ? M(e.url) : s(null);
39
+ }, []), l = E({
40
+ queryFn: (e) => {
41
+ let r = null;
42
+ switch (e) {
43
+ case "signToS":
44
+ r = A.signToSActionDetails;
45
+ break;
46
+ case "AnaCredit":
47
+ r = A.anaCreditActionDetails;
48
+ break;
49
+ default:
50
+ break;
51
+ }
52
+ const i = r, O = {
53
+ query: { redirectUrl: k(), locale: t.locale }
54
+ };
55
+ return i == null ? void 0 : i(G, O);
56
+ },
57
+ options: {
58
+ onSuccess: v,
59
+ // Reset the loading state when the mutation finishes (success or error)
60
+ onError: () => {
61
+ s(null);
62
+ }
63
+ }
64
+ }), u = h(
65
+ () => c ? y(c, w) : void 0,
66
+ [y, c]
67
+ );
68
+ if (l.error)
69
+ return /* @__PURE__ */ o(
70
+ T,
71
+ {
72
+ className: p,
73
+ type: g.CRITICAL,
74
+ title: t.get("somethingWentWrongTryRefreshingOrComeBackLater"),
75
+ description: /* @__PURE__ */ o(f, { className: n.button, onClick: I, children: t.get("refresh") })
76
+ }
77
+ );
78
+ if (!a.length)
79
+ return null;
80
+ if (a.length > 1)
81
+ return /* @__PURE__ */ o(
82
+ T,
83
+ {
84
+ className: p,
85
+ type: g.WARNING,
86
+ title: t.get("capital.weNeedABitMoreInformationToProcessYourFundsPleaseCompleteTheseActions"),
87
+ description: /* @__PURE__ */ o("div", { className: n.actionsInformation, children: [
88
+ /* @__PURE__ */ o("ol", { className: n.actionsContainer, children: a.map((e) => {
89
+ const r = C[e.type], i = m === e.type;
90
+ return /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
91
+ f,
92
+ {
93
+ className: n.button,
94
+ onClick: () => {
95
+ s(e.type), l.mutate(e.type);
96
+ },
97
+ disabled: i || l.isLoading,
98
+ state: i ? "loading" : void 0,
99
+ variant: N.TERTIARY,
100
+ children: /* @__PURE__ */ o("span", { className: n.buttonLabel, children: t.get(r.buttonLabelKey) })
101
+ }
102
+ ) }, e.type);
103
+ }) }),
104
+ u ? /* @__PURE__ */ o(F, { el: _.SPAN, variant: P.BODY, strongest: !0, children: t.get("capital.thisOfferExpiresOn", { values: { date: u } }) }) : null
105
+ ] })
106
+ }
107
+ );
108
+ const d = a[0], b = C[d.type];
109
+ return /* @__PURE__ */ o(
110
+ T,
111
+ {
112
+ className: p,
113
+ type: g.WARNING,
114
+ title: b.getTitle(u),
115
+ description: /* @__PURE__ */ o(
116
+ f,
117
+ {
118
+ className: n.button,
119
+ onClick: () => {
120
+ s(d.type), l.mutate(d.type);
121
+ },
122
+ disabled: !!m,
123
+ state: m ? "loading" : void 0,
124
+ variant: N.TERTIARY,
125
+ children: /* @__PURE__ */ o("span", { className: n.buttonLabel, children: t.get(b.buttonLabelKey) })
126
+ }
127
+ )
128
+ }
129
+ );
130
+ };
131
+ export {
132
+ oe as GrantActions
133
+ };
@@ -0,0 +1,9 @@
1
+ const n = {
2
+ button: "adyen-pe-grant-action__button",
3
+ buttonLabel: "adyen-pe-grant-action__button-label",
4
+ actionsContainer: "adyen-pe-grant-action__actions-container",
5
+ actionsInformation: "adyen-pe-grant-action__actions-information"
6
+ };
7
+ export {
8
+ n as GRANT_ACTION_CLASS_NAMES
9
+ };
@@ -1,28 +1,28 @@
1
1
  import { jsx as e } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useMemo as u, useCallback as v } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
- import A from "classnames";
4
- import h from "../../../../../core/Context/useCoreContext.js";
5
- import C from "../../../../../hooks/useTimezoneAwareDateFormatting.js";
2
+ import { useMemo as d, useCallback as y } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
+ import u from "classnames";
4
+ import v from "../../../../../core/Context/useCoreContext.js";
5
+ import h from "../../../../../hooks/useTimezoneAwareDateFormatting.js";
6
6
  import n from "../../../../internal/Typography/Typography.js";
7
- import { TypographyVariant as m, TypographyElement as y } from "../../../../internal/Typography/types.js";
8
- import { Tag as T } from "../../../../internal/Tag/Tag.js";
7
+ import { TypographyVariant as s, TypographyElement as A } from "../../../../internal/Typography/types.js";
8
+ import { Tag as g } from "../../../../internal/Tag/Tag.js";
9
9
  import { GRANT_ITEM_CLASS_NAMES as o } from "./constants.js";
10
- import { getGrantConfig as N } from "./utils.js";
10
+ import { getGrantConfig as C } from "./utils.js";
11
11
  /* empty css */
12
- import { GrantDetails as x } from "../GrantDetails/GrantDetails.js";
13
- import { GrantAction as I } from "../GrantAction/GrantAction.js";
14
- import b from "../../../../internal/CopyText/CopyText.js";
15
- import { Tooltip as E } from "../../../../internal/Tooltip/Tooltip.js";
16
- import { Alert as S } from "../../../../internal/Alert/Alert.js";
17
- import { AlertTypeOption as R } from "../../../../internal/Alert/types.js";
18
- import { ButtonVariant as B } from "../../../../internal/Button/types.js";
19
- import L from "../../../../internal/ExpandableCard/ExpandableCard.js";
20
- import { Fragment as f } from "../../../../../external/preact/dist/preact.module.js";
12
+ import { GrantDetails as N } from "../GrantDetails/GrantDetails.js";
13
+ import x from "../../../../internal/CopyText/CopyText.js";
14
+ import { Tooltip as I } from "../../../../internal/Tooltip/Tooltip.js";
15
+ import { Alert as b } from "../../../../internal/Alert/Alert.js";
16
+ import { AlertTypeOption as E } from "../../../../internal/Alert/types.js";
17
+ import { ButtonVariant as S } from "../../../../internal/Button/types.js";
18
+ import R from "../../../../internal/ExpandableCard/ExpandableCard.js";
19
+ import { GrantActions as B } from "../GrantActions/GrantActions.js";
20
+ import { Fragment as T } from "../../../../../external/preact/dist/preact.module.js";
21
+ import { DATE_FORMAT_CAPITAL_OVERVIEW as L } from "../../../../../constants/dateFormats.js";
21
22
  import O from "../../../../internal/ProgressBar/ProgressBar.js";
22
23
  import P from "../../../../internal/Button/Button.js";
23
- import { DATE_FORMAT_CAPITAL_OVERVIEW as G } from "../../../../../constants/dateFormats.js";
24
- const re = ({ grant: a, showDetails: i }) => {
25
- const { i18n: r } = h(), { dateFormat: s } = C(), t = u(() => N(a), [a]), l = v(() => i == null ? void 0 : i("unscheduledRepayment"), [i]), g = u(
24
+ const ae = ({ grant: a, showDetails: i }) => {
25
+ const { i18n: r } = v(), { dateFormat: m } = h(), t = d(() => C(a), [a]), l = y(() => i == null ? void 0 : i("unscheduledRepayment"), [i]), f = d(
26
26
  () => {
27
27
  var c, p;
28
28
  return /* @__PURE__ */ e("div", { className: o.cardContent, children: [
@@ -30,23 +30,23 @@ const re = ({ grant: a, showDetails: i }) => {
30
30
  /* @__PURE__ */ e(
31
31
  n,
32
32
  {
33
- variant: m.CAPTION,
34
- className: A({ [o.textSecondary]: t.isLabelColorSecondary }),
33
+ variant: s.CAPTION,
34
+ className: u({ [o.textSecondary]: t.isLabelColorSecondary }),
35
35
  testId: "grant-amount-label",
36
36
  children: r.get(t.amountLabelKey)
37
37
  }
38
38
  ),
39
- /* @__PURE__ */ e("div", { children: a.status === "Active" ? /* @__PURE__ */ e(f, { children: [
40
- /* @__PURE__ */ e(n, { variant: m.CAPTION, el: y.SPAN, children: r.get("capital.termEnds") }),
41
- /* @__PURE__ */ e(n, { variant: m.CAPTION, stronger: !0, el: y.SPAN, children: s(t.repaymentPeriodEndDate, G) })
42
- ] }) : t.statusKey ? t.statusTooltipKey ? /* @__PURE__ */ e(E, { content: r.get(t.statusTooltipKey), children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(T, { label: r.get(t.statusKey), variant: t.statusTagVariant }) }) }) : /* @__PURE__ */ e(T, { label: r.get(t.statusKey), variant: t.statusTagVariant }) : null })
39
+ /* @__PURE__ */ e("div", { children: a.status === "Active" ? /* @__PURE__ */ e(T, { children: [
40
+ /* @__PURE__ */ e(n, { variant: s.CAPTION, el: A.SPAN, children: r.get("capital.termEnds") }),
41
+ /* @__PURE__ */ e(n, { variant: s.CAPTION, stronger: !0, el: A.SPAN, children: m(t.repaymentPeriodEndDate, L) })
42
+ ] }) : t.statusKey ? t.statusTooltipKey ? /* @__PURE__ */ e(I, { content: r.get(t.statusTooltipKey), children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(g, { label: r.get(t.statusKey), variant: t.statusTagVariant }) }) }) : /* @__PURE__ */ e(g, { label: r.get(t.statusKey), variant: t.statusTagVariant }) : null })
43
43
  ] }),
44
44
  /* @__PURE__ */ e(
45
45
  n,
46
46
  {
47
- variant: m.TITLE,
47
+ variant: s.TITLE,
48
48
  medium: !0,
49
- className: A({
49
+ className: u({
50
50
  [o.textSecondary]: t.isAmountColorSecondary
51
51
  }),
52
52
  children: r.amount(t.amount.value, t.amount.currency)
@@ -66,7 +66,7 @@ const re = ({ grant: a, showDetails: i }) => {
66
66
  }
67
67
  ),
68
68
  t.isGrantIdVisible ? /* @__PURE__ */ e("div", { className: o.grantID, children: /* @__PURE__ */ e(
69
- b,
69
+ x,
70
70
  {
71
71
  textToCopy: a.id,
72
72
  buttonLabel: r.get("capital.grantID"),
@@ -75,19 +75,18 @@ const re = ({ grant: a, showDetails: i }) => {
75
75
  "data-testid": "grant-id-copy-text"
76
76
  }
77
77
  ) }) : null,
78
- t.hasAlerts ? /* @__PURE__ */ e(f, { children: a.missingActions && a.missingActions.length ? a.missingActions.map((d) => /* @__PURE__ */ e(
79
- I,
78
+ t.hasAlerts ? /* @__PURE__ */ e(T, { children: a.missingActions && a.missingActions.length ? /* @__PURE__ */ e(
79
+ B,
80
80
  {
81
- action: d,
81
+ missingActions: a.missingActions,
82
82
  className: o.alert,
83
83
  offerExpiresAt: a.offerExpiresAt
84
- },
85
- d.type
86
- )) : /* @__PURE__ */ e(
87
- S,
84
+ }
85
+ ) : /* @__PURE__ */ e(
86
+ b,
88
87
  {
89
88
  className: o.alert,
90
- type: R.HIGHLIGHT,
89
+ type: E.HIGHLIGHT,
91
90
  title: r.get("capital.weReceivedYourRequestAndWeAreWorkingOnItNowCheckBackSoon")
92
91
  }
93
92
  ) }) : t.hasUnscheduledRepaymentDetails && /* @__PURE__ */ e("div", { className: o.actionsBar, children: /* @__PURE__ */ e(
@@ -95,17 +94,17 @@ const re = ({ grant: a, showDetails: i }) => {
95
94
  {
96
95
  onClick: l,
97
96
  className: o.mainActionBtn,
98
- variant: B.SECONDARY,
97
+ variant: S.SECONDARY,
99
98
  fullWidth: !0,
100
99
  children: r.get("capital.sendRepayment")
101
100
  }
102
101
  ) })
103
102
  ] });
104
103
  },
105
- [r, s, a, t, l]
104
+ [r, m, a, t, l]
106
105
  );
107
- return /* @__PURE__ */ e("div", { className: o.base, children: /* @__PURE__ */ e(L, { renderHeader: g, filled: t.isBackgroundFilled, inFlow: !0, children: t.hasDetails && /* @__PURE__ */ e(x, { grant: a }) }) });
106
+ return /* @__PURE__ */ e("div", { className: o.base, children: /* @__PURE__ */ e(R, { renderHeader: f, filled: t.isBackgroundFilled, inFlow: !0, children: t.hasDetails && /* @__PURE__ */ e(N, { grant: a }) }) });
108
107
  };
109
108
  export {
110
- re as GrantItem
109
+ ae as GrantItem
111
110
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "../../../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useState as L, useMemo as n, useCallback as Y } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import { useState as W, useMemo as n, useCallback as Y } from "../../../../../external/preact/hooks/dist/hooks.module.js";
3
3
  import M from "../../../../../core/Context/useCoreContext.js";
4
4
  import { useFreezePeriod as P } from "../../../../../hooks/useFreezePeriod.js";
5
5
  import I from "../../../../../hooks/useTimezoneAwareDateFormatting.js";
@@ -7,13 +7,13 @@ import { Alert as q } from "../../../../internal/Alert/Alert.js";
7
7
  import { AlertTypeOption as x } from "../../../../internal/Alert/types.js";
8
8
  import z from "../../../../internal/Button/DownloadButton/DownloadButton.js";
9
9
  import U from "../../../../internal/DataOverviewError/DataOverviewError.js";
10
- import k from "../../../../internal/SVGIcons/Warning.js";
11
10
  import { TypographyVariant as s } from "../../../../internal/Typography/types.js";
12
11
  import a from "../../../../internal/Typography/Typography.js";
13
12
  import { useResponsiveContainer as f, containerQueries as y } from "../../../../../hooks/useResponsiveContainer.js";
14
- import { BASE_CLASS as G, DATE_TYPE_CLASS as $, DATE_TYPE_DATE_SECTION_CLASS as j, DISABLED_BUTTONS_TIMEOUT as Q } from "./constants.js";
13
+ import { BASE_CLASS as k, DATE_TYPE_CLASS as G, DATE_TYPE_DATE_SECTION_CLASS as $, DISABLED_BUTTONS_TIMEOUT as j } from "./constants.js";
15
14
  /* empty css */
16
- import { useTableColumns as V } from "../../../../../hooks/useTableColumns.js";
15
+ import { useTableColumns as Q } from "../../../../../hooks/useTableColumns.js";
16
+ import { Icon as V } from "../../../../internal/Icon/Icon.js";
17
17
  import g from "../../../../internal/DataGrid/DataGrid.js";
18
18
  import X from "../../../../internal/Pagination/Pagination.js";
19
19
  import { DATE_FORMAT_REPORTS as D } from "../../../../../constants/dateFormats.js";
@@ -28,7 +28,7 @@ const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = (
28
28
  customColumns: S,
29
29
  ..._
30
30
  }) => {
31
- const { i18n: o } = M(), { dateFormat: u } = I("UTC"), { freeze: w, frozen: R } = P(Q), [T, p] = L(null), { refreshing: A } = H(), b = n(() => l || A, [l, A]), d = f(y.up.sm), c = f(y.down.xs), v = V({
31
+ const { i18n: o } = M(), { dateFormat: u } = I("UTC"), { freeze: w, frozen: R } = P(j), [T, p] = W(null), { refreshing: A } = H(), b = n(() => l || A, [l, A]), d = f(y.up.sm), c = f(y.down.xs), v = Q({
32
32
  fields: J,
33
33
  customColumns: S,
34
34
  columnConfig: n(
@@ -48,7 +48,7 @@ const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = (
48
48
  }, N = n(
49
49
  () => () => /* @__PURE__ */ r(U, { error: i, errorMessage: "weCouldNotLoadYourReports", onContactSupport: m }),
50
50
  [i, m]
51
- ), W = n(() => /* @__PURE__ */ r(k, {}), []), B = n(
51
+ ), B = n(() => /* @__PURE__ */ r(V, { name: "warning" }), []), L = n(
52
52
  () => (e) => {
53
53
  const t = {};
54
54
  switch (e == null ? void 0 : e.errorCode) {
@@ -64,7 +64,7 @@ const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = (
64
64
  },
65
65
  [o]
66
66
  );
67
- return l && p(null), /* @__PURE__ */ r("div", { className: G, children: [
67
+ return l && p(null), /* @__PURE__ */ r("div", { className: k, children: [
68
68
  T && /* @__PURE__ */ r(q, { onClose: O, type: x.WARNING, className: "adyen-pe-reports-table-alert", ...T }),
69
69
  /* @__PURE__ */ r(
70
70
  g,
@@ -78,9 +78,9 @@ const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = (
78
78
  emptyTableMessage: F,
79
79
  customCells: {
80
80
  createdAt: ({ value: e }) => e ? e && /* @__PURE__ */ r(a, { variant: s.BODY, children: u(e, D) }) : null,
81
- dateAndReportType: ({ item: e }) => /* @__PURE__ */ r("div", { className: $, children: [
81
+ dateAndReportType: ({ item: e }) => /* @__PURE__ */ r("div", { className: G, children: [
82
82
  /* @__PURE__ */ r(a, { variant: s.BODY, stronger: !0, children: o.get(`reportType.${e == null ? void 0 : e.type}`) }),
83
- /* @__PURE__ */ r(a, { className: j, variant: s.BODY, children: u(e.createdAt, D) })
83
+ /* @__PURE__ */ r(a, { className: $, variant: s.BODY, children: u(e.createdAt, D) })
84
84
  ] }),
85
85
  reportType: ({ item: e }) => (e == null ? void 0 : e.type) && /* @__PURE__ */ r(a, { variant: s.BODY, children: o.get(`reportType.${e == null ? void 0 : e.type}`) }),
86
86
  reportFile: ({ item: e }) => {
@@ -95,8 +95,8 @@ const J = ["createdAt", "dateAndReportType", "reportType", "reportFile"], ge = (
95
95
  disabled: R,
96
96
  requestParams: t,
97
97
  onDownloadRequested: w,
98
- setError: B,
99
- errorDisplay: W
98
+ setError: L,
99
+ errorDisplay: B
100
100
  }
101
101
  );
102
102
  }
@@ -2,19 +2,19 @@ import { jsx as t } from "../../../../../external/preact/jsx-runtime/dist/jsxRun
2
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
- import C from "../../../../../core/Context/useCoreContext.js";
6
- import Y from "../../../../internal/SVGIcons/CloseCircle.js";
7
- import j from "../../../../internal/FormFields/InputBase.js";
5
+ import O from "../../../../../core/Context/useCoreContext.js";
6
+ import Y from "../../../../internal/FormFields/InputBase.js";
8
7
  import h from "../../../../internal/Typography/Typography.js";
9
8
  import { TypographyVariant as b, TypographyElement as D } from "../../../../internal/Typography/types.js";
10
- import { getDecimalAmount as w, getDivider as W } from "../../../../../core/Localization/amount/amount-util.js";
11
- import { ARIA_ERROR_SUFFIX as k } from "../../../../../core/Errors/constants.js";
12
- import { TagVariant as z } from "../../../../internal/Tag/types.js";
13
- import { Tag as G } from "../../../../internal/Tag/Tag.js";
14
- import { useTransactionRefundContext as O } from "../../context/refund/context.js";
9
+ import { getDecimalAmount as j, getDivider as w } from "../../../../../core/Localization/amount/amount-util.js";
10
+ import { ARIA_ERROR_SUFFIX as W } from "../../../../../core/Errors/constants.js";
11
+ import { TagVariant as k } from "../../../../internal/Tag/types.js";
12
+ import { Tag as z } from "../../../../internal/Tag/Tag.js";
13
+ import { useTransactionRefundContext as P } from "../../context/refund/context.js";
14
+ import { Icon as G } from "../../../../internal/Icon/Icon.js";
15
15
  import { uniqueId as E } from "../../../../../utils/random/uniqueId.js";
16
16
  import { boolOrFalse as J } from "../../../../../utils/value/bool.js";
17
- const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
17
+ const x = (r, n) => j(r, n).toFixed(_(n)), _ = (r) => Math.log10(w(r)), y = ({
18
18
  currency: r,
19
19
  disabled: n,
20
20
  errorMessage: e,
@@ -22,7 +22,7 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
22
22
  onInput: A,
23
23
  value: T
24
24
  }) => {
25
- const { i18n: a } = C(), i = v(E()), m = v(E()), p = e ? l ? a.get(e, { values: { amount: l } }) : a.get(e) : "";
25
+ const { i18n: a } = O(), 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
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(
@@ -36,9 +36,9 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
36
36
  }),
37
37
  children: [
38
38
  /* @__PURE__ */ t("label", { htmlFor: i.current, "aria-labelledby": m.current, children: [
39
- r && /* @__PURE__ */ t(G, { label: r, variant: z.DEFAULT }),
39
+ r && /* @__PURE__ */ t(z, { label: r, variant: k.DEFAULT }),
40
40
  /* @__PURE__ */ t(
41
- j,
41
+ Y,
42
42
  {
43
43
  min: 0,
44
44
  type: "number",
@@ -51,8 +51,8 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
51
51
  }
52
52
  )
53
53
  ] }),
54
- e && /* @__PURE__ */ t("div", { className: "adyen-pe-input__refund-invalid-value", id: `${i.current}${k}`, children: [
55
- /* @__PURE__ */ t(Y, {}),
54
+ e && /* @__PURE__ */ t("div", { className: "adyen-pe-input__refund-invalid-value", id: `${i.current}${W}`, children: [
55
+ /* @__PURE__ */ t(G, { name: "cross-circle-fill" }),
56
56
  /* @__PURE__ */ t(h, { el: D.SPAN, variant: b.BODY, children: p })
57
57
  ] })
58
58
  ]
@@ -60,16 +60,16 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
60
60
  )
61
61
  ] });
62
62
  }, At = () => {
63
- const { availableAmount: r, currency: n } = O();
64
- return /* @__PURE__ */ t(x, { currency: n, errorMessage: null, value: P(r, n), disabled: !0 });
63
+ const { availableAmount: r, currency: n } = P();
64
+ return /* @__PURE__ */ t(y, { currency: n, errorMessage: null, value: x(r, n), disabled: !0 });
65
65
  }, Tt = ({ locale: r }) => {
66
- const { availableAmount: n, currency: e, interactionsDisabled: l, setAmount: A } = O(), [T, a] = R(null), [i, m] = R(`${P(n, e)}`), { i18n: p } = C(), y = V(() => {
66
+ const { availableAmount: n, currency: e, interactionsDisabled: l, setAmount: A } = P(), [T, a] = R(null), [i, m] = R(`${x(n, e)}`), { i18n: p } = O(), C = V(() => {
67
67
  const s = _(e);
68
68
  return (o) => Math.trunc(+`${parseFloat(o)}e${s}`) || 0;
69
69
  }, [e]), X = (s) => {
70
70
  var I;
71
71
  let o = s.currentTarget.value.trim();
72
- const c = y(o);
72
+ const c = C(o);
73
73
  let u = null;
74
74
  c || o ? (c < 0 && (u = "noNegativeNumbersAllowed"), c > n && (u = "refundAmount.excess")) : u = "refundAmount.required";
75
75
  const N = ((I = 1.1.toLocaleString(r).match(/\d(.*?)\d/)) == null ? void 0 : I[1]) || ".", f = o.split(N);
@@ -81,7 +81,7 @@ const P = (r, n) => w(r, n).toFixed(_(n)), _ = (r) => Math.log10(W(r)), x = ({
81
81
  m(o), a(u), A(u ? 0 : c);
82
82
  };
83
83
  return /* @__PURE__ */ t(
84
- x,
84
+ y,
85
85
  {
86
86
  currency: e,
87
87
  errorMessage: T,