@adyen/adyen-platform-experience-web 1.0.0-beta.2 → 1.0.0-beta.3

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 (202) hide show
  1. package/dist/ModalContent-387502da.js +2 -0
  2. package/dist/{ModalContent-88fdb6f4.js.map → ModalContent-387502da.js.map} +1 -1
  3. package/dist/cjs/index.js +1 -1
  4. package/dist/es/components/external/TransactionDetails/TransactionDetails.js +6 -6
  5. package/dist/es/components/external/TransactionDetails/components/TransactionData.js +3 -3
  6. package/dist/es/components/external/TransactionDetails/components/TransactionDetails.js +6 -6
  7. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  8. package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.js +7 -7
  9. package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +9 -9
  10. package/dist/es/components/external/TransactionsOverview/components/ModalContent.js +4 -4
  11. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +6 -6
  12. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +7 -7
  13. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +15 -15
  14. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  15. package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +6 -6
  16. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +7 -7
  17. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +31 -31
  18. package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.js +15 -15
  19. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +6 -6
  20. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +21 -21
  21. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.js +21 -21
  22. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +30 -30
  23. package/dist/es/components/external/TransactionsOverview/components/utils.js +1 -1
  24. package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +4 -4
  25. package/dist/es/components/external/UIElement.js +4 -4
  26. package/dist/es/components/internal/BaseButton/BaseButton.js +11 -11
  27. package/dist/es/components/internal/BaseList/BaseList.js +2 -2
  28. package/dist/es/components/internal/Button/Button.js +9 -9
  29. package/dist/es/components/internal/Button/hooks/useButton.js +2 -2
  30. package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +2 -2
  31. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +4 -4
  32. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +13 -13
  33. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +2 -2
  34. package/dist/es/components/internal/DataGrid/DataGrid.js +6 -6
  35. package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +8 -8
  36. package/dist/es/components/internal/DataGrid/components/TableBody.js +5 -5
  37. package/dist/es/components/internal/DataGrid/components/TableCells.js +2 -2
  38. package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +2 -2
  39. package/dist/es/components/internal/DatePicker/DatePicker.js +9 -9
  40. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +9 -9
  41. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  42. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +10 -10
  43. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +14 -14
  44. package/dist/es/components/internal/FilterBar/FilterBar.js +12 -12
  45. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +8 -8
  46. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +26 -26
  47. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +3 -3
  48. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +27 -27
  49. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +17 -17
  50. package/dist/es/components/internal/FormFields/InputBase.js +16 -16
  51. package/dist/es/components/internal/FormFields/InputText.js +2 -2
  52. package/dist/es/components/internal/FormFields/Select/Select.js +27 -27
  53. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +16 -16
  54. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +21 -21
  55. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +9 -9
  56. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +7 -7
  57. package/dist/es/components/internal/Image/Image.js +2 -2
  58. package/dist/es/components/internal/Img/Img.js +4 -4
  59. package/dist/es/components/internal/Modal/Modal.js +16 -16
  60. package/dist/es/components/internal/Pagination/Pagination.js +4 -4
  61. package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +2 -2
  62. package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +42 -44
  63. package/dist/es/components/internal/Pagination/hooks/usePagination.js +15 -15
  64. package/dist/es/components/internal/Popover/Popover.js +31 -31
  65. package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +2 -2
  66. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +3 -3
  67. package/dist/es/components/internal/SVGIcons/ChevronRight.js +3 -3
  68. package/dist/es/components/internal/SVGIcons/ChevronUp.js +2 -2
  69. package/dist/es/components/internal/SVGIcons/Filter.js +2 -2
  70. package/dist/es/components/internal/Tag/Tag.js +3 -3
  71. package/dist/es/components/internal/Tooltip/Tooltip.js +3 -3
  72. package/dist/es/components/internal/Typography/Typography.js +2 -2
  73. package/dist/es/core/Auth/AuthProvider.js +6 -6
  74. package/dist/es/core/Context/CoreProvider.js +4 -4
  75. package/dist/es/core/Localization/utils.js +30 -30
  76. package/dist/es/core/Session/Session.js +1 -1
  77. package/dist/es/core/core.js +9 -9
  78. package/dist/es/external/preact/compat/dist/compat.module.js +86 -86
  79. package/dist/es/external/preact/dist/preact.module.js +241 -234
  80. package/dist/es/external/preact/hooks/dist/hooks.module.js +86 -84
  81. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +5 -5
  82. package/dist/es/hooks/element/useClickOutside.js +2 -2
  83. package/dist/es/hooks/element/useDetachedRender.js +2 -2
  84. package/dist/es/hooks/element/useFocusCursor.js +2 -2
  85. package/dist/es/hooks/element/useFocusTrap.js +2 -2
  86. package/dist/es/hooks/element/usePopoverPositioner.js +27 -27
  87. package/dist/es/hooks/useCommitAction/useCommitAction.js +2 -2
  88. package/dist/es/hooks/useFetch/useFetch.js +1 -1
  89. package/dist/es/hooks/useModalDetails/useModalDetails.js +4 -4
  90. package/dist/es/hooks/useReactiveState/useReactiveState.js +10 -10
  91. package/dist/es/hooks/useSetupEndpoint/useSetupEndpoint.js +4 -4
  92. package/dist/es/utils/SessionStorage.js +31 -0
  93. package/dist/index-8daceaea.js +12 -0
  94. package/dist/index-8daceaea.js.map +1 -0
  95. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +2 -2
  96. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
  97. package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts +2 -2
  98. package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
  99. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +1 -5
  100. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -1
  101. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts +1 -1
  102. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -1
  103. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
  104. package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts +1 -1
  105. package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts.map +1 -1
  106. package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
  107. package/dist/types/components/external/TransactionsOverview/components/utils.d.ts +1 -1
  108. package/dist/types/components/external/TransactionsOverview/hooks/useMaxWidths.d.ts.map +1 -1
  109. package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +2 -2
  110. package/dist/types/components/internal/Button/constants.d.ts +7 -7
  111. package/dist/types/components/internal/Button/constants.d.ts.map +1 -1
  112. package/dist/types/components/internal/Calendar/calendar/shared/indexed/index.d.ts.map +1 -1
  113. package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +1 -1
  114. package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
  115. package/dist/types/components/internal/Calendar/components/CalendarGrid/utils.d.ts +2 -2
  116. package/dist/types/components/internal/Calendar/components/CalendarGrid/utils.d.ts.map +1 -1
  117. package/dist/types/components/internal/CopyText/CopyText.d.ts.map +1 -1
  118. package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts.map +1 -1
  119. package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts +1 -1
  120. package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts.map +1 -1
  121. package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +1 -1
  122. package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
  123. package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +1 -1
  124. package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
  125. package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts.map +1 -1
  126. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
  127. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts.map +1 -1
  128. package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
  129. package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts.map +1 -1
  130. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +1 -3
  131. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
  132. package/dist/types/components/internal/FormFields/Select/constants.d.ts +21 -21
  133. package/dist/types/components/internal/FormFields/Select/constants.d.ts.map +1 -1
  134. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  135. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts.map +1 -1
  136. package/dist/types/components/internal/FormFields/index.d.ts +1 -1
  137. package/dist/types/components/internal/FormFields/index.d.ts.map +1 -1
  138. package/dist/types/components/internal/Pagination/hooks/useCursorPaginatedRecords.d.ts.map +1 -1
  139. package/dist/types/components/internal/Pagination/hooks/useOffsetPaginatedRecords.d.ts.map +1 -1
  140. package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts.map +1 -1
  141. package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts.map +1 -1
  142. package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts +1 -1
  143. package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts.map +1 -1
  144. package/dist/types/components/internal/Pagination/types.d.ts +5 -1
  145. package/dist/types/components/internal/Pagination/types.d.ts.map +1 -1
  146. package/dist/types/components/internal/Popover/constants.d.ts +6 -6
  147. package/dist/types/components/internal/Popover/constants.d.ts.map +1 -1
  148. package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts.map +1 -1
  149. package/dist/types/components/types.d.ts +2 -0
  150. package/dist/types/components/types.d.ts.map +1 -1
  151. package/dist/types/core/Localization/amount/amount-util.d.ts +28 -0
  152. package/dist/types/core/Localization/amount/amount-util.d.ts.map +1 -1
  153. package/dist/types/core/Localization/datetime/restamper/utils.d.ts.map +1 -1
  154. package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
  155. package/dist/types/core/Localization/utils.d.ts +468 -3
  156. package/dist/types/core/Localization/utils.d.ts.map +1 -1
  157. package/dist/types/core/core.d.ts +19 -0
  158. package/dist/types/core/core.d.ts.map +1 -1
  159. package/dist/types/core/types.d.ts +5 -0
  160. package/dist/types/core/types.d.ts.map +1 -1
  161. package/dist/types/hooks/element/useClickOutside.d.ts +1 -1
  162. package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
  163. package/dist/types/hooks/element/useDetachedRender.d.ts.map +1 -1
  164. package/dist/types/hooks/element/useFocusTrap.d.ts.map +1 -1
  165. package/dist/types/hooks/useImageUrl/useImageUrl.d.ts.map +1 -1
  166. package/dist/types/hooks/useModalDetails/useModalDetails.d.ts.map +1 -1
  167. package/dist/types/hooks/useMounted/useMounted.d.ts +1 -1
  168. package/dist/types/hooks/useMounted/useMounted.d.ts.map +1 -1
  169. package/dist/types/hooks/useReactiveState/useReactiveState.d.ts.map +1 -1
  170. package/dist/types/hooks/useReflex/core/reflex.d.ts.map +1 -1
  171. package/dist/types/hooks/useReflex/core/utils.d.ts.map +1 -1
  172. package/dist/types/hooks/useReflex/hooks/useReflex.d.ts.map +1 -1
  173. package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts.map +1 -1
  174. package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts +1 -1
  175. package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts.map +1 -1
  176. package/dist/types/types/models/openapi/BalanceAccountsResource.d.ts +104 -0
  177. package/dist/types/types/models/openapi/BalanceAccountsResource.d.ts.map +1 -0
  178. package/dist/types/types/models/openapi/SetupResource.d.ts +59 -0
  179. package/dist/types/types/models/openapi/SetupResource.d.ts.map +1 -0
  180. package/dist/types/types/models/openapi/TransactionsResource.d.ts +198 -0
  181. package/dist/types/types/models/openapi/TransactionsResource.d.ts.map +1 -0
  182. package/dist/types/types/models/openapi/endpoints.d.ts +11 -0
  183. package/dist/types/types/models/openapi/endpoints.d.ts.map +1 -0
  184. package/dist/types/utils/SessionStorage.d.ts +11 -0
  185. package/dist/types/utils/SessionStorage.d.ts.map +1 -0
  186. package/dist/types/utils/common/index.d.ts +2 -2
  187. package/dist/types/utils/common/index.d.ts.map +1 -1
  188. package/dist/types/utils/fixedForwardRef.d.ts +3 -3
  189. package/dist/types/utils/fixedForwardRef.d.ts.map +1 -1
  190. package/dist/types/utils/watchable/core/Watchable.d.ts +5 -3
  191. package/dist/types/utils/watchable/core/Watchable.d.ts.map +1 -1
  192. package/dist/types/utils/watchable/core/helpers.d.ts +4 -2
  193. package/dist/types/utils/watchable/core/helpers.d.ts.map +1 -1
  194. package/dist/types/utils/watchable/core/syncEffect.d.ts +1 -1
  195. package/dist/types/utils/watchable/core/syncEffect.d.ts.map +1 -1
  196. package/package.json +5 -5
  197. package/dist/ModalContent-88fdb6f4.js +0 -2
  198. package/dist/es/utils/Storage.js +0 -31
  199. package/dist/index-7e2df524.js +0 -12
  200. package/dist/index-7e2df524.js.map +0 -1
  201. package/dist/types/utils/Storage.d.ts +0 -11
  202. package/dist/types/utils/Storage.d.ts.map +0 -1
@@ -9,17 +9,17 @@ import A from "../../../Img/Img.js";
9
9
  import { Fragment as T } from "../../../../../external/preact/dist/preact.module.js";
10
10
  const B = ({
11
11
  iconClassName: e,
12
- item: o,
13
- multiSelect: r,
12
+ item: r,
13
+ multiSelect: o,
14
14
  selected: s
15
15
  }) => /* @__PURE__ */ a(T, { children: [
16
- r && /* @__PURE__ */ a("span", { className: C, children: s ? /* @__PURE__ */ a(d, { role: "presentation" }) : /* @__PURE__ */ a(N, { role: "presentation" }) }),
16
+ o && /* @__PURE__ */ a("span", { className: C, children: s ? /* @__PURE__ */ a(d, { role: "presentation" }) : /* @__PURE__ */ a(N, { role: "presentation" }) }),
17
17
  /* @__PURE__ */ a("div", { className: D, children: [
18
- o.icon && /* @__PURE__ */ a(A, { className: e, alt: o.name, src: o.icon }),
19
- /* @__PURE__ */ a("span", { children: o.name })
18
+ r.icon && /* @__PURE__ */ a(A, { className: e, alt: r.name, src: r.icon }),
19
+ /* @__PURE__ */ a("span", { children: r.name })
20
20
  ] }),
21
- !r && /* @__PURE__ */ a("span", { className: L, children: s && /* @__PURE__ */ a(_, { role: "presentation" }) })
22
- ] }), h = ({ item: e, multiSelect: o, onKeyDown: r, onSelect: s, renderListItem: i, selected: n }) => {
21
+ !o && /* @__PURE__ */ a("span", { className: L, children: s && /* @__PURE__ */ a(_, { role: "presentation" }) })
22
+ ] }), h = ({ item: e, multiSelect: r, onKeyDown: o, onSelect: s, renderListItem: i, selected: n }) => {
23
23
  const t = !!e.disabled, l = e.disabled === !0 || null, m = c(p, {
24
24
  [O]: n,
25
25
  [S]: t
@@ -33,11 +33,11 @@ const B = ({
33
33
  "data-disabled": l,
34
34
  "data-value": e.id,
35
35
  onClick: s,
36
- onKeyDown: r,
36
+ onKeyDown: o,
37
37
  title: e.name,
38
38
  role: "option",
39
39
  tabIndex: -1,
40
- children: i({ item: e, multiSelect: o, selected: n, iconClassName: f })
40
+ children: i({ item: e, multiSelect: r, selected: n, iconClassName: f })
41
41
  }
42
42
  );
43
43
  }, K = E(h);
@@ -1,19 +1,19 @@
1
- import { useCallback as i, useState as x, useEffect as O } from "../../../../../external/preact/hooks/dist/hooks.module.js";
1
+ import { useCallback as i, useState as p, useEffect as O } from "../../../../../external/preact/hooks/dist/hooks.module.js";
2
2
  import { EMPTY_ARRAY as t } from "../../../../../utils/common/constants.js";
3
3
  const g = ({ items: f, multiSelect: r, selected: l }) => {
4
4
  const a = i(
5
5
  (c = t) => {
6
- const e = t.concat(c ?? t).filter(Boolean), n = f.filter((p) => e.includes(p.id)), o = r ? n : n.slice(0, 1);
6
+ const e = t.concat(c ?? t).filter(Boolean), n = f.filter((b) => e.includes(b.id)), o = r ? n : n.slice(0, 1);
7
7
  return o.length ? Object.freeze(o) : t;
8
8
  },
9
9
  [f, r]
10
- ), [d, s] = x(a(l)), u = i(
10
+ ), [d, s] = p(a(l)), u = i(
11
11
  (c = t) => {
12
12
  const e = c.filter((n) => f.includes(n));
13
13
  s(e.length ? Object.freeze(e) : t);
14
14
  },
15
15
  [f, s]
16
- ), b = i(
16
+ ), x = i(
17
17
  (c) => {
18
18
  s((e) => {
19
19
  const n = e.indexOf(c);
@@ -27,8 +27,8 @@ const g = ({ items: f, multiSelect: r, selected: l }) => {
27
27
  },
28
28
  [r, s]
29
29
  );
30
- return O(() => s(a(l)), [a, l, s]), { resetSelection: u, select: b, selection: d };
31
- }, z = g;
30
+ return O(() => s(a(l)), [a, l, s]), { resetSelection: u, select: x, selection: d };
31
+ }, _ = g;
32
32
  export {
33
- z as default
33
+ _ as default
34
34
  };
@@ -2,7 +2,7 @@ import { jsx as t } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.m
2
2
  import i from "classnames";
3
3
  import { useImageUrl as p } from "../../../hooks/useImageUrl/useImageUrl.js";
4
4
  import { useMemo as c } from "../../../external/preact/hooks/dist/hooks.module.js";
5
- const u = ({ folder: m = "components/", className: r, alt: e, name: s, extension: o }) => {
5
+ const l = ({ folder: m = "components/", className: r, alt: e, name: s, extension: o }) => {
6
6
  const a = p({
7
7
  options: c(() => ({ imageFolder: m, extension: o }), [o, m]),
8
8
  name: s
@@ -10,5 +10,5 @@ const u = ({ folder: m = "components/", className: r, alt: e, name: s, extension
10
10
  return /* @__PURE__ */ t("img", { className: i("adyen-pe__image", r), alt: e, src: a });
11
11
  };
12
12
  export {
13
- u as Image
13
+ l as Image
14
14
  };
@@ -1,19 +1,19 @@
1
1
  import { jsx as n } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { useState as p, useRef as N, useEffect as h } from "../../../external/preact/hooks/dist/hooks.module.js";
3
- import y from "classnames";
2
+ import { useState as p, useRef as N, useEffect as y } from "../../../external/preact/hooks/dist/hooks.module.js";
3
+ import E from "classnames";
4
4
  import "./Img.scss.js";
5
5
  function L(s) {
6
6
  const { backgroundUrl: a = "", className: c = "", classNameModifiers: m = [], src: l = "", alt: d = "", showOnError: f = !1 } = s, [i, o] = p(!1), r = N(null), u = () => {
7
7
  o(!0);
8
8
  }, g = () => {
9
9
  o(f);
10
- }, t = y(
10
+ }, t = E(
11
11
  [c],
12
12
  "adyen-pe-image",
13
13
  { "adyen-pe-image--loaded": i },
14
14
  ...m.map((e) => `adyen-pe-image--${e}`)
15
15
  );
16
- return h(() => {
16
+ return y(() => {
17
17
  const e = a ? new Image() : r.current;
18
18
  e && (e.src = a || l, e.onload = u), o(!!(e != null && e.complete));
19
19
  }, []), a ? /* @__PURE__ */ n("div", { style: { backgroundUrl: a }, ...s, className: t }) : /* @__PURE__ */ n("img", { ...s, alt: d, ref: r, className: t, onError: g });
@@ -2,17 +2,17 @@ import { jsx as a } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.m
2
2
  import { ButtonVariant as s } from "../Button/types.js";
3
3
  import v from "../SVGIcons/Close.js";
4
4
  import g from "../../../core/Context/useCoreContext.js";
5
- import { useRef as k, useCallback as i, useEffect as E } from "../../../external/preact/hooks/dist/hooks.module.js";
6
- import p from "classnames";
5
+ import { useRef as k, useCallback as u, useEffect as x } from "../../../external/preact/hooks/dist/hooks.module.js";
6
+ import c from "classnames";
7
7
  import "./Modal.scss.js";
8
- import N from "../Button/Button.js";
9
- import { Fragment as x } from "../../../external/preact/dist/preact.module.js";
10
- function T(r) {
8
+ import E from "../Button/Button.js";
9
+ import { Fragment as N } from "../../../external/preact/dist/preact.module.js";
10
+ function L(r) {
11
11
  return !(!r || !("nodeType" in r));
12
12
  }
13
13
  function M({
14
14
  title: r,
15
- children: u,
15
+ children: i,
16
16
  classNameModifiers: f = [],
17
17
  isOpen: e,
18
18
  onClose: n,
@@ -21,22 +21,22 @@ function M({
21
21
  size: t = "fluid",
22
22
  ...h
23
23
  }) {
24
- const l = k(null), { i18n: w } = g(), _ = i(
24
+ const l = k(null), { i18n: w } = g(), _ = u(
25
25
  (o) => {
26
- var c;
27
- d && e && T(o.target) && !((c = l == null ? void 0 : l.current) != null && c.contains(o.target)) && n();
26
+ var p;
27
+ d && e && L(o.target) && !((p = l == null ? void 0 : l.current) != null && p.contains(o.target)) && n();
28
28
  },
29
29
  [d, e, n]
30
- ), m = i(
30
+ ), m = u(
31
31
  (o) => {
32
32
  o.key === "Escape" && e && d && n();
33
33
  },
34
34
  [e, d, n]
35
35
  );
36
- return E(() => (e ? window.addEventListener("keydown", m) : window.removeEventListener("keydown", m), () => window.removeEventListener("keydown", m)), [e, m]), /* @__PURE__ */ a(x, { children: e && /* @__PURE__ */ a(
36
+ return x(() => (e ? window.addEventListener("keydown", m) : window.removeEventListener("keydown", m), () => window.removeEventListener("keydown", m)), [e, m]), /* @__PURE__ */ a(N, { children: e && /* @__PURE__ */ a(
37
37
  "div",
38
38
  {
39
- className: p(
39
+ className: c(
40
40
  "adyen-pe-modal-wrapper",
41
41
  f.map((o) => `adyen-pe-modal-wrapper--${o}`),
42
42
  { "adyen-pe-modal-wrapper--open": e, "adyen-pe-modal-wrapper--dismissible": d }
@@ -49,7 +49,7 @@ function M({
49
49
  children: /* @__PURE__ */ a(
50
50
  "div",
51
51
  {
52
- className: p("adyen-pe-modal", {
52
+ className: c("adyen-pe-modal", {
53
53
  "adyen-pe-modal--fluid": t === "fluid",
54
54
  "adyen-pe-modal--small": t === "small",
55
55
  "adyen-pe-modal--large": t === "large",
@@ -61,14 +61,14 @@ function M({
61
61
  /* @__PURE__ */ a(
62
62
  "div",
63
63
  {
64
- className: p("adyen-pe-modal__header", {
64
+ className: c("adyen-pe-modal__header", {
65
65
  "adyen-pe-modal__header--with-title": r,
66
66
  "adyen-pe-modal__header--with-border-bottom": y
67
67
  }),
68
68
  children: [
69
69
  r && /* @__PURE__ */ a("div", { className: "adyen-pe-modal__header__title", children: r }),
70
70
  d && /* @__PURE__ */ a(
71
- N,
71
+ E,
72
72
  {
73
73
  onClick: n,
74
74
  variant: s.TERTIARY,
@@ -80,7 +80,7 @@ function M({
80
80
  ]
81
81
  }
82
82
  ),
83
- /* @__PURE__ */ a("div", { className: "adyen-pe-modal__content", children: u })
83
+ /* @__PURE__ */ a("div", { className: "adyen-pe-modal__content", children: i })
84
84
  ]
85
85
  }
86
86
  )
@@ -5,8 +5,8 @@ import v from "classnames";
5
5
  import { useMemo as h, useCallback as C } from "../../../external/preact/hooks/dist/hooks.module.js";
6
6
  import "./Pagination.scss.js";
7
7
  import _ from "../SVGIcons/ChevronLeft.js";
8
- import T from "../SVGIcons/ChevronRight.js";
9
- import R from "../FormFields/Select/Select.js";
8
+ import R from "../SVGIcons/ChevronRight.js";
9
+ import T from "../FormFields/Select/Select.js";
10
10
  import s from "../Button/Button.js";
11
11
  import { EMPTY_ARRAY as c } from "../../../utils/common/constants.js";
12
12
  function I({ next: m, hasNext: r, hasPrev: o, page: p, prev: f, limit: u, limitOptions: t, onLimitSelection: i }) {
@@ -27,7 +27,7 @@ function I({ next: m, hasNext: r, hasPrev: o, page: p, prev: f, limit: u, limitO
27
27
  p
28
28
  ] }),
29
29
  l && i && /* @__PURE__ */ a("div", { className: "adyen-pe-pagination__limit-selector", children: /* @__PURE__ */ a(
30
- R,
30
+ T,
31
31
  {
32
32
  setToTargetWidth: !0,
33
33
  filterable: !1,
@@ -60,7 +60,7 @@ function I({ next: m, hasNext: r, hasPrev: o, page: p, prev: f, limit: u, limitO
60
60
  iconButton: !0,
61
61
  classNameModifiers: ["circle"].concat(r ? c : "disabled"),
62
62
  onClick: m,
63
- children: /* @__PURE__ */ a(T, { disabled: !r })
63
+ children: /* @__PURE__ */ a(R, { disabled: !r })
64
64
  }
65
65
  )
66
66
  ] })
@@ -60,8 +60,8 @@ const h = (r, o) => {
60
60
  }
61
61
  return i.current = e;
62
62
  }, [c, r]), limitOptions: c };
63
- }, P = b;
63
+ }, O = b;
64
64
  export {
65
- P as default,
65
+ O as default,
66
66
  h as getNearestFromSortedUniqueNums
67
67
  };
@@ -1,82 +1,80 @@
1
- import { useState as D, useRef as y, useMemo as T, useCallback as F, useEffect as O } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
- import W from "./usePageLimit.js";
3
- import Z from "./useCursorPagination.js";
4
- import C from "./useOffsetPagination.js";
5
- import z from "./usePaginatedRecordsFilters.js";
6
- import { PageNeighbour as f, PaginationType as ee } from "../types.js";
7
- import te from "../../../../hooks/useBooleanState/useBooleanState.js";
8
- import re from "../../../../hooks/useMounted/useMounted.js";
9
- import { EMPTY_OBJECT as _ } from "../../../../utils/common/constants.js";
10
- const se = [f.NEXT, f.PREV], oe = ["hasNext", "hasPrevious"], h = (e) => {
1
+ import { useState as D, useRef as w, useMemo as E, useCallback as y, useEffect as O } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import Q from "./usePageLimit.js";
3
+ import W from "./useCursorPagination.js";
4
+ import Z from "./useOffsetPagination.js";
5
+ import C from "./usePaginatedRecordsFilters.js";
6
+ import { PaginationType as z, PageNeighbour as F } from "../types.js";
7
+ import ee from "../../../../hooks/useBooleanState/useBooleanState.js";
8
+ import te from "../../../../hooks/useMounted/useMounted.js";
9
+ import { EMPTY_OBJECT as re } from "../../../../utils/common/constants.js";
10
+ const se = ["hasNext", "hasPrevious"], b = (e) => {
11
11
  const t = Object.getOwnPropertyNames(e);
12
- return !oe.some((r) => t.includes(r));
13
- }, ae = (e, t = "data") => {
12
+ return !se.some((r) => t.includes(r));
13
+ }, oe = (e, t = "data") => {
14
14
  const r = e[t];
15
- if (h(e)) {
15
+ if (b(e)) {
16
16
  const n = Object.fromEntries(
17
- Object.entries(e || _).filter(
18
- ([s, o]) => se.includes(s) && o
19
- )
17
+ Object.entries(e._links).map(([s, o]) => [s, o.cursor])
20
18
  );
21
19
  return { records: r, paginationData: n };
22
20
  }
23
21
  throw new TypeError("MALFORMED_PAGINATED_DATA");
24
- }, ne = (e, t = "data") => {
22
+ }, ae = (e, t = "data") => {
25
23
  const r = e[t];
26
- if (!h(e)) {
24
+ if (!b(e)) {
27
25
  const { hasNext: n, hasPrevious: s } = e, o = {
28
- [f.NEXT]: n === !0,
29
- [f.PREV]: s === !0
26
+ [F.NEXT]: n === !0,
27
+ [F.PREV]: s === !0
30
28
  };
31
29
  return { records: r, paginationData: o };
32
30
  }
33
31
  throw new TypeError("MALFORMED_PAGINATED_DATA");
34
- }, ce = ({
32
+ }, ne = ({
35
33
  dataField: e = "data",
36
34
  fetchRecords: t,
37
- filterParams: r = _,
35
+ filterParams: r = re,
38
36
  initialFiltersSameAsDefault: n = !0,
39
37
  initialize: s,
40
38
  onFiltersChanged: o,
41
- onLimitChanged: P,
39
+ onLimitChanged: f,
42
40
  pagination: $,
43
- preferredLimit: j,
44
- preferredLimitOptions: v,
41
+ preferredLimit: x,
42
+ preferredLimitOptions: h,
45
43
  enabled: A
46
44
  }) => {
47
- const [x, I] = D([]), [L, m] = te(!0), [S, l] = D(), [B, G] = D(j), N = re(), d = y(!0), g = y(1), M = z(r, n), { limit: c, limitOptions: V } = W({ preferredLimit: B, preferredLimitOptions: v }), { defaultFilters: ue, filters: a, updateFilters: X, ...k } = M, [q, J] = T(
48
- () => $ === ee.CURSOR ? [ae, Z] : [ne, C],
45
+ const [j, v] = D([]), [I, P] = ee(!0), [L, T] = D(), [S, k] = D(x), l = te(), m = w(!0), d = w(1), M = C(r, n), { limit: c, limitOptions: q } = Q({ preferredLimit: S, preferredLimitOptions: h }), { defaultFilters: ce, filters: a, updateFilters: B, ...G } = M, [J, U] = E(
46
+ () => $ === z.CURSOR ? [oe, W] : [ae, Z],
49
47
  []
50
- ), U = F((E) => G(E), []), { goto: R, page: Y, pages: H, resetPagination: b, ...K } = J(
51
- F(
52
- async ({ page: E, ...Q }, i) => {
48
+ ), V = y((R) => k(R), []), { goto: g, page: X, pages: Y, resetPagination: N, ...H } = U(
49
+ y(
50
+ async ({ page: R, ...K }, i) => {
53
51
  try {
54
- if (l(void 0), g.current = E, !N.current || m(!0))
52
+ if (T(void 0), d.current = R, !l.current || P(!0))
55
53
  return;
56
- const p = await t({ ...Q, ...a }, i), { records: u, paginationData: w } = q(p, e);
57
- return d.current && (s == null || s([u, w], M), d.current = !1), N.current && (I(u), m(!1)), { ...w, size: u == null ? void 0 : u.length };
54
+ const p = await t({ ...K, ...a }, i), { records: u, paginationData: _ } = J(p, e);
55
+ return m.current && (s == null || s([u, _], M), m.current = !1), l.current && (v(u), P(!1)), { ..._, size: u == null ? void 0 : u.length };
58
56
  } catch (p) {
59
57
  if (i != null && i.aborted)
60
58
  return;
61
- m(!1), l(p), console.error(p);
59
+ P(!1), T(p), console.error(p);
62
60
  }
63
61
  },
64
62
  [t, a, c]
65
63
  ),
66
64
  c
67
65
  );
68
- return T(() => {
69
- d.current = !0;
70
- }, [r]), T(() => {
71
- b(), g.current = 1;
72
- }, [a, c, b]), O(() => {
73
- A && R(g.current);
74
- }, [R, A]), O(() => {
66
+ return E(() => {
67
+ m.current = !0;
68
+ }, [r]), E(() => {
69
+ N(), d.current = 1;
70
+ }, [a, c, N]), O(() => {
71
+ A && g(d.current);
72
+ }, [g, A]), O(() => {
75
73
  o == null || o(a);
76
74
  }, [a]), O(() => {
77
- P == null || P(c);
78
- }, [c]), { error: S, fetching: L, filters: a, goto: R, limitOptions: V, page: Y, pages: H, records: x, updateFilters: X, updateLimit: U, ...k, ...K };
79
- }, De = ce;
75
+ f == null || f(c);
76
+ }, [c]), { error: L, fetching: I, filters: a, goto: g, limitOptions: q, page: X, pages: Y, records: j, updateFilters: B, updateLimit: V, ...G, ...H };
77
+ }, De = ne;
80
78
  export {
81
79
  De as default
82
80
  };
@@ -1,15 +1,15 @@
1
- import { useRef as p, useCallback as P, useState as G, useMemo as s, useEffect as T } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
- import { getClampedPageLimit as _ } from "../utils.js";
3
- import { noop as j } from "../../../../utils/common/index.js";
4
- import H from "../../../../hooks/useMounted/useMounted.js";
5
- import J from "../../../../hooks/useBooleanState/useBooleanState.js";
6
- const K = (V, l, M) => {
7
- const u = p(), c = p(), h = p(), r = p(), i = H(
1
+ import { useRef as p, useCallback as P, useState as G, useMemo as s, useEffect as _ } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
+ import { getClampedPageLimit as j } from "../utils.js";
3
+ import { noop as H } from "../../../../utils/common/index.js";
4
+ import J from "../../../../hooks/useMounted/useMounted.js";
5
+ import K from "../../../../hooks/useBooleanState/useBooleanState.js";
6
+ const L = (V, l, M) => {
7
+ const u = p(), c = p(), h = p(), r = p(), i = J(
8
8
  P(() => {
9
9
  var o;
10
10
  (o = u.current) == null || o.abort(), u.current = void 0;
11
11
  }, [])
12
- ), [t, x] = G(r.current), [g, $] = J(!1), e = s(() => _(M), [M]), { getPageCount: v, getPageParams: I, resetPageCount: z, updatePagination: R } = V, n = s(() => l ? (o) => {
12
+ ), [t, x] = G(r.current), [g, $] = K(!1), e = s(() => j(M), [M]), { getPageCount: v, getPageParams: I, resetPageCount: z, updatePagination: R } = V, n = s(() => l ? (o) => {
13
13
  var S;
14
14
  if (!(e && Number.isInteger(o)))
15
15
  return;
@@ -28,20 +28,20 @@ const K = (V, l, M) => {
28
28
  console.error(d);
29
29
  }
30
30
  })()));
31
- } : j, [e, l]), w = P(() => {
31
+ } : H, [e, l]), q = P(() => {
32
32
  t && n(Math.min(t + 1, v()));
33
- }, [n, t]), A = P(() => {
33
+ }, [n, t]), w = P(() => {
34
34
  t && n(Math.max(t - 1, 1));
35
- }, [n, t]), m = s(() => v() || t || void 0, [n, g]), E = s(() => !!(t && m) && t < m, [t, m]), N = s(() => !!t && t > 1, [t]), C = s(
35
+ }, [n, t]), m = s(() => v() || t || void 0, [n, g]), A = s(() => !!(t && m) && t < m, [t, m]), E = s(() => !!t && t > 1, [t]), C = s(
36
36
  () => c.current ? (c.current - 1) * e + (h.current || 0) : 0,
37
37
  [n, g]
38
- ), q = s(() => e && Math.min(e, C || 1 / 0) % e, [e, C]), B = P(() => {
38
+ ), N = s(() => e && Math.min(e, C || 1 / 0) % e, [e, C]), B = P(() => {
39
39
  z(), c.current = h.current = r.current = void 0, i.current && x(r.current);
40
40
  }, [z]);
41
- return T(() => {
41
+ return _(() => {
42
42
  i.current && g && $(!1);
43
- }, [g]), { goto: n, hasNext: E, hasPrev: N, limit: e, next: w, page: t, pages: m, pageSize: q, prev: A, resetPagination: B, size: C };
44
- }, Y = K;
43
+ }, [g]), { goto: n, hasNext: A, hasPrev: E, limit: e, next: q, page: t, pages: m, pageSize: N, prev: w, resetPagination: B, size: C };
44
+ }, Y = L;
45
45
  export {
46
46
  Y as default
47
47
  };
@@ -1,28 +1,28 @@
1
1
  import { jsx as o } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import Y from "../Button/ButtonActions/ButtonActions.js";
3
- import { ButtonActionsLayoutBasic as Z } from "../Button/ButtonActions/types.js";
4
- import { DEFAULT_POPOVER_CLASSNAME as t, DEFAULT_TOOLTIP_CLASSNAME as g, POPOVER_CONTAINER_CLASSNAME as oo, TOOLTIP_CONTENT_CLASSNAME as w, POPOVER_CONTENT_CLASSNAME as P, POPOVER_HEADER_TITLE_CLASSNAME as eo, POPOVER_FOOTER_CLASSNAME as ro, POPOVER_HEADER_CLASSNAME as $ } from "./constants.js";
2
+ import Z from "../Button/ButtonActions/ButtonActions.js";
3
+ import { ButtonActionsLayoutBasic as z } from "../Button/ButtonActions/types.js";
4
+ import { DEFAULT_POPOVER_CLASSNAME as t, DEFAULT_TOOLTIP_CLASSNAME as g, POPOVER_CONTAINER_CLASSNAME as oo, TOOLTIP_CONTENT_CLASSNAME as k, POPOVER_CONTENT_CLASSNAME as P, POPOVER_HEADER_TITLE_CLASSNAME as eo, POPOVER_FOOTER_CLASSNAME as ro, POPOVER_HEADER_CLASSNAME as $ } from "./constants.js";
5
5
  import no from "./PopoverDismissButton/PopoverDismissButton.js";
6
6
  import to from "./PopoverTitle/PopoverTitle.js";
7
7
  import { PopoverContainerVariant as c, PopoverContainerSize as h } from "./types.js";
8
8
  import { InteractionKeyCode as co } from "../../types.js";
9
9
  import { useClickOutside as io, ClickOutsideVariant as so } from "../../../hooks/element/useClickOutside.js";
10
- import mo from "../../../hooks/element/useFocusTrap.js";
11
- import uo from "../../../hooks/element/usePopoverPositioner.js";
10
+ import uo from "../../../hooks/element/useFocusTrap.js";
11
+ import mo from "../../../hooks/element/usePopoverPositioner.js";
12
12
  import D from "../../../hooks/element/useUniqueIdentifier.js";
13
13
  import { getModifierClasses as ao } from "../../../utils/class-name-utils.js";
14
14
  import { isFunction as po } from "../../../utils/common/index.js";
15
15
  import { SELECTORS as fo, isFocusable as lo } from "../../../utils/tabbable.js";
16
16
  import B from "classnames";
17
17
  import { createPortal as Oo } from "../../../external/preact/compat/dist/compat.module.js";
18
- import { useMemo as k, useRef as T, useCallback as A, useEffect as Eo } from "../../../external/preact/hooks/dist/hooks.module.js";
18
+ import { useMemo as w, useRef as T, useCallback as A, useEffect as Eo } from "../../../external/preact/hooks/dist/hooks.module.js";
19
19
  import "./Popover.scss.js";
20
20
  import Po from "../../../hooks/useReflex/hooks/useReflex.js";
21
21
  import { Fragment as N } from "../../../external/preact/dist/preact.module.js";
22
22
  const To = (i) => {
23
23
  var e;
24
24
  let a;
25
- const l = (e = i.querySelector(`.${w}`)) == null ? void 0 : e.querySelectorAll(fo);
25
+ const l = (e = i.querySelector(`.${k}`)) == null ? void 0 : e.querySelectorAll(fo);
26
26
  return l ? (Array.prototype.some.call(l, (s) => {
27
27
  if (lo(s))
28
28
  return a = s;
@@ -31,19 +31,19 @@ const To = (i) => {
31
31
  function Uo({
32
32
  actions: i,
33
33
  disableFocusTrap: a = !1,
34
- actionsLayout: l = Z.SPACE_BETWEEN,
34
+ actionsLayout: l = z.SPACE_BETWEEN,
35
35
  variant: e = c.TOOLTIP,
36
36
  title: s,
37
37
  open: p,
38
38
  dismissible: C,
39
- modifiers: b,
39
+ modifiers: q,
40
40
  divider: L,
41
41
  fitContent: _,
42
42
  withoutSpace: S,
43
43
  containerSize: O,
44
- position: q,
44
+ position: x,
45
45
  targetElement: n,
46
- setToTargetWidth: x,
46
+ setToTargetWidth: b,
47
47
  dismiss: r,
48
48
  children: y,
49
49
  withContentPadding: U,
@@ -52,36 +52,36 @@ function Uo({
52
52
  fitPosition: W,
53
53
  ...v
54
54
  }) {
55
- const R = k(() => po(r) && C !== !1, [r, C]), F = D(), I = T(), H = A(
56
- (m) => {
57
- var u;
58
- r && r(), m && ((u = n == null ? void 0 : n.current) == null || u.focus());
55
+ const R = w(() => po(r) && C !== !1, [r, C]), F = D(), I = T(), j = A(
56
+ (u) => {
57
+ var m;
58
+ r && r(), u && ((m = n == null ? void 0 : n.current) == null || m.focus());
59
59
  },
60
60
  [r, n]
61
61
  ), E = A(
62
- (m) => {
63
- m.code === co.ESCAPE && (r && r(), (n == null ? void 0 : n.current).focus());
62
+ (u) => {
63
+ u.code === co.ESCAPE && (r && r(), (n == null ? void 0 : n.current).focus());
64
64
  },
65
65
  [r, n]
66
66
  ), d = T(E), V = T(), M = io(
67
- uo(Ao(e), n, e, q, F, x, f, W),
67
+ mo(Ao(e), n, e, x, F, b, f, W),
68
68
  r,
69
69
  e === c.TOOLTIP && !p,
70
70
  so.POPOVER
71
- ), j = mo(a ? null : M, H), G = Po(
71
+ ), H = uo(a ? null : M, j), G = Po(
72
72
  A(
73
- (m) => {
74
- m instanceof Element && (cancelAnimationFrame(V.current), V.current = requestAnimationFrame(() => {
73
+ (u) => {
74
+ u instanceof Element && (cancelAnimationFrame(V.current), V.current = requestAnimationFrame(() => {
75
75
  if (I.current === p || !(I.current = p))
76
76
  return;
77
- const u = To(m);
78
- u == null || u.focus();
77
+ const m = To(u);
78
+ m == null || m.focus();
79
79
  }));
80
80
  },
81
81
  [p]
82
82
  ),
83
- a ? M : j
84
- ), z = D(G), J = k(
83
+ a ? M : H
84
+ ), J = D(G), Q = w(
85
85
  () => ({
86
86
  [`${t}--medium`]: O === h.MEDIUM,
87
87
  [`${t}--with-divider`]: !!L,
@@ -93,7 +93,7 @@ function Uo({
93
93
  [O, L, S, _, f]
94
94
  );
95
95
  Eo(() => (document.removeEventListener("keydown", d.current), document.addEventListener("keydown", d.current = E), () => document.removeEventListener("keydown", d.current)), [E]);
96
- const Q = e === c.TOOLTIP ? g : `${t} ${oo}`, X = e === c.TOOLTIP ? w : `${P}`;
96
+ const X = e === c.TOOLTIP ? g : `${t} ${oo}`, Y = e === c.TOOLTIP ? k : `${P}`;
97
97
  return Oo(
98
98
  /* @__PURE__ */ o(N, { children: p ? /* @__PURE__ */ o(N, { children: [
99
99
  f && /* @__PURE__ */ o("div", { className: "adyen-pe-popover__overlay" }),
@@ -101,13 +101,13 @@ function Uo({
101
101
  "div",
102
102
  {
103
103
  id: "popover",
104
- ref: z,
104
+ ref: J,
105
105
  ...v,
106
- className: B(Q, J, K),
106
+ className: B(X, Q, K),
107
107
  style: { visibility: "hidden" },
108
108
  role: v.role ?? (e === c.POPOVER ? "dialog" : "tooltip"),
109
109
  children: [
110
- (s || R) && /* @__PURE__ */ o("div", { className: ao($, b, [$]), children: [
110
+ (s || R) && /* @__PURE__ */ o("div", { className: ao($, q, [$]), children: [
111
111
  s && /* @__PURE__ */ o("div", { className: eo, children: /* @__PURE__ */ o(to, { title: s }) }),
112
112
  R && /* @__PURE__ */ o(no, { onClick: r })
113
113
  ] }),
@@ -115,7 +115,7 @@ function Uo({
115
115
  /* @__PURE__ */ o(
116
116
  "div",
117
117
  {
118
- className: B(X, {
118
+ className: B(Y, {
119
119
  [`${P}--with-padding`]: U,
120
120
  [`${P}--overlay`]: f
121
121
  }),
@@ -124,7 +124,7 @@ function Uo({
124
124
  ),
125
125
  e === c.TOOLTIP && /* @__PURE__ */ o("span", { "data-popover-placement": "hidden", ref: F, className: "adyen-pe-tooltip__arrow" })
126
126
  ] }),
127
- i && /* @__PURE__ */ o("div", { className: ro, children: /* @__PURE__ */ o(Y, { actions: i, layout: l }) })
127
+ i && /* @__PURE__ */ o("div", { className: ro, children: /* @__PURE__ */ o(Z, { actions: i, layout: l }) })
128
128
  ]
129
129
  }
130
130
  )
@@ -5,7 +5,7 @@ import { memo as n } from "../../../../external/preact/compat/dist/compat.module
5
5
  function p({ title: t, isImageTitle: r = !1 }) {
6
6
  return /* @__PURE__ */ a(e, { strongest: !r, variant: (() => r ? o.SUBTITLE : o.BODY)(), children: t });
7
7
  }
8
- const c = n(p);
8
+ const T = n(p);
9
9
  export {
10
- c as default
10
+ T as default
11
11
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import r from "../../../utils/fixedForwardRef.js";
3
- const d = r(({ title: o, ...t }, i) => /* @__PURE__ */ e("svg", { ...t, ref: i, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- o && /* @__PURE__ */ e("title", { children: o }),
3
+ const d = r(({ title: t, ...o }, i) => /* @__PURE__ */ e("svg", { ...o, ref: i, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
+ t && /* @__PURE__ */ e("title", { children: t }),
5
5
  /* @__PURE__ */ e(
6
6
  "path",
7
7
  {
8
8
  d: "M5.56077 2.00011L2.56077 5.00011L5.56077 8.00011L4.50011 9.06077L0.439453 5.00011L4.50011 0.939453L5.56077 2.00011Z",
9
- fill: t.disabled ? "#8D95A3" : "#00112C"
9
+ fill: o.disabled ? "#8D95A3" : "#00112C"
10
10
  }
11
11
  )
12
12
  ] })), l = d;
@@ -1,12 +1,12 @@
1
1
  import { jsx as i } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import h from "../../../utils/fixedForwardRef.js";
3
- const r = h(({ title: o, ...t }, e) => /* @__PURE__ */ i("svg", { ...t, ref: e, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
- o && /* @__PURE__ */ i("title", { children: o }),
3
+ const r = h(({ title: t, ...e }, o) => /* @__PURE__ */ i("svg", { ...e, ref: o, width: "7", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4
+ t && /* @__PURE__ */ i("title", { children: t }),
5
5
  /* @__PURE__ */ i(
6
6
  "path",
7
7
  {
8
8
  d: "M0.439453 7.9999L3.43945 4.9999L0.439454 1.9999L1.50011 0.93924L5.56077 4.9999L1.50011 9.06056L0.439453 7.9999Z",
9
- fill: t.disabled ? "#8D95A3" : "#00112C"
9
+ fill: e.disabled ? "#8D95A3" : "#00112C"
10
10
  }
11
11
  )
12
12
  ] })), n = r;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "../../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
2
  import i from "../../../utils/fixedForwardRef.js";
3
- const n = i(({ title: o, ...l }, r) => /* @__PURE__ */ e("svg", { ...l, ref: r, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
4
- o && /* @__PURE__ */ e("title", { children: o }),
3
+ const n = i(({ title: l, ...o }, r) => /* @__PURE__ */ e("svg", { ...o, ref: r, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
4
+ l && /* @__PURE__ */ e("title", { children: l }),
5
5
  /* @__PURE__ */ e(
6
6
  "path",
7
7
  {