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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/dist/adyen-platform-experience-web.css +1 -1
  2. package/dist/{angle-right-C1JIrQTg.cjs → angle-right-DCDtBphj.cjs} +2 -2
  3. package/dist/{angle-right-C1JIrQTg.cjs.map → angle-right-DCDtBphj.cjs.map} +1 -1
  4. package/dist/{checkmark-B8DhX3p1.cjs → checkmark-BUtjcpAC.cjs} +2 -2
  5. package/dist/{checkmark-B8DhX3p1.cjs.map → checkmark-BUtjcpAC.cjs.map} +1 -1
  6. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs → checkmark-circle-fill-CtUhQzOt.cjs} +2 -2
  7. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs.map → checkmark-circle-fill-CtUhQzOt.cjs.map} +1 -1
  8. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs → checkmark-square-fill-Cpdn8YWp.cjs} +2 -2
  9. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs.map → checkmark-square-fill-Cpdn8YWp.cjs.map} +1 -1
  10. package/dist/{chevron-down-CB77LxQY.cjs → chevron-down-CEgNjZK_.cjs} +2 -2
  11. package/dist/{chevron-down-CB77LxQY.cjs.map → chevron-down-CEgNjZK_.cjs.map} +1 -1
  12. package/dist/{chevron-left-DMAmIvLF.cjs → chevron-left-BgN_rxGR.cjs} +2 -2
  13. package/dist/{chevron-left-DMAmIvLF.cjs.map → chevron-left-BgN_rxGR.cjs.map} +1 -1
  14. package/dist/{chevron-right-BxLJu7Zf.cjs → chevron-right-Jwt5BuB-.cjs} +2 -2
  15. package/dist/{chevron-right-BxLJu7Zf.cjs.map → chevron-right-Jwt5BuB-.cjs.map} +1 -1
  16. package/dist/{chevron-up-CT79XJdh.cjs → chevron-up-B_O0vmIX.cjs} +2 -2
  17. package/dist/{chevron-up-CT79XJdh.cjs.map → chevron-up-B_O0vmIX.cjs.map} +1 -1
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/{copy-7UpFtMvt.cjs → copy-DztEPGun.cjs} +2 -2
  20. package/dist/{copy-7UpFtMvt.cjs.map → copy-DztEPGun.cjs.map} +1 -1
  21. package/dist/{cross-DtVirgrN.cjs → cross-B9ojc3kB.cjs} +2 -2
  22. package/dist/{cross-DtVirgrN.cjs.map → cross-B9ojc3kB.cjs.map} +1 -1
  23. package/dist/{cross-circle-fill-C47yImD2.cjs → cross-circle-fill-Dy_LlcFp.cjs} +2 -2
  24. package/dist/{cross-circle-fill-C47yImD2.cjs.map → cross-circle-fill-Dy_LlcFp.cjs.map} +1 -1
  25. package/dist/da-DK-DAJvnb2s.cjs +2 -0
  26. package/dist/da-DK-DAJvnb2s.cjs.map +1 -0
  27. package/dist/de-DE-DFMmcoWN.cjs +2 -0
  28. package/dist/de-DE-DFMmcoWN.cjs.map +1 -0
  29. package/dist/{download-A1m1wB_K.cjs → download-DsN3U6Xn.cjs} +2 -2
  30. package/dist/{download-A1m1wB_K.cjs.map → download-DsN3U6Xn.cjs.map} +1 -1
  31. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  34. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  35. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  39. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  40. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  41. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  42. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +4 -4
  44. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  45. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  46. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  47. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  48. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  49. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  51. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  52. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  53. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  54. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  55. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  58. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  59. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  60. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  61. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  63. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  64. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  66. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  69. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  70. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  71. package/dist/es/components/internal/Alert/Alert.js +1 -1
  72. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  73. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  74. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  75. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  76. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  79. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  80. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  82. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  83. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  84. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  85. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  87. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  88. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  89. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  90. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  91. package/dist/es/components/internal/Card/Card.js +9 -9
  92. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  93. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  94. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  95. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  96. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  97. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  98. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  99. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  100. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +23 -23
  101. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  102. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  104. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  105. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  107. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  108. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  109. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  110. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  111. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  112. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  113. package/dist/es/components/internal/Header/Header.js +4 -4
  114. package/dist/es/components/internal/Icon/Icon.js +3 -3
  115. package/dist/es/components/internal/Img/Img.js +2 -2
  116. package/dist/es/components/internal/Link/Link.js +2 -2
  117. package/dist/es/components/internal/Modal/Modal.js +4 -4
  118. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  119. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  120. package/dist/es/components/internal/Popover/Popover.js +4 -4
  121. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  122. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  124. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  126. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +13 -13
  127. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  128. package/dist/es/components/internal/Translation/Translation.js +15 -15
  129. package/dist/es/components/utils/getErrorMessage.js +2 -2
  130. package/dist/es/constants/dateFormats.js +3 -3
  131. package/dist/es/core/ConfigContext/context.js +18 -18
  132. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  133. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  134. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  135. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  136. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  137. package/dist/es/core/Http/utils.js +1 -1
  138. package/dist/es/core/Localization/Localization.js +32 -32
  139. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  140. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  141. package/dist/es/core/Localization/utils.js +1 -1
  142. package/dist/es/core/core.js +1 -1
  143. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  144. package/dist/es/external/preact/dist/preact.module.js +197 -195
  145. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  146. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  147. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  148. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  149. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  150. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  151. package/dist/es/hooks/useContainerQuery.js +4 -4
  152. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  153. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  154. package/dist/es/hooks/useFetch.js +22 -22
  155. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  156. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  157. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  158. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  159. package/dist/es/hooks/useTabbedControl.js +9 -9
  160. package/dist/es/primitives/async/abortable/main.js +9 -9
  161. package/dist/es/primitives/async/deferred/main.js +1 -1
  162. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  163. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  164. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  165. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  166. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  167. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  168. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  169. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  170. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  171. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  172. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  173. package/dist/es/primitives/time/clock/main.js +6 -6
  174. package/dist/es/primitives/time/interval/main.js +9 -9
  175. package/dist/es/translations/da-DK.json.js +55 -46
  176. package/dist/es/translations/de-DE.json.js +71 -62
  177. package/dist/es/translations/en-US.json.js +41 -38
  178. package/dist/es/translations/es-ES.json.js +79 -70
  179. package/dist/es/translations/fi-FI.json.js +97 -88
  180. package/dist/es/translations/fr-FR.json.js +75 -66
  181. package/dist/es/translations/it-IT.json.js +107 -98
  182. package/dist/es/translations/nl-NL.json.js +80 -71
  183. package/dist/es/translations/no-NO.json.js +67 -58
  184. package/dist/es/translations/pt-BR.json.js +71 -62
  185. package/dist/es/translations/sv-SE.json.js +95 -86
  186. package/dist/es/utils/abort/internals.js +3 -3
  187. package/dist/es/utils/abort/main.js +19 -19
  188. package/dist/es/utils/collection/main.js +14 -14
  189. package/dist/es/utils/datetime/main.js +3 -3
  190. package/dist/es/utils/preact/className.js +2 -2
  191. package/dist/es/utils/struct/main.js +8 -8
  192. package/dist/es/utils/value/is.js +9 -9
  193. package/dist/es/utils/value/number.js +2 -2
  194. package/dist/es-ES-DWJu_JsZ.cjs +2 -0
  195. package/dist/es-ES-DWJu_JsZ.cjs.map +1 -0
  196. package/dist/{external-link-Ct-WlQoY.cjs → external-link-DgHiKqPL.cjs} +2 -2
  197. package/dist/{external-link-Ct-WlQoY.cjs.map → external-link-DgHiKqPL.cjs.map} +1 -1
  198. package/dist/fi-FI-MXUK5vu0.cjs +2 -0
  199. package/dist/fi-FI-MXUK5vu0.cjs.map +1 -0
  200. package/dist/{filter-DwSaMAG7.cjs → filter-C7stlLTD.cjs} +2 -2
  201. package/dist/{filter-DwSaMAG7.cjs.map → filter-C7stlLTD.cjs.map} +1 -1
  202. package/dist/fr-FR-NK-BqBuh.cjs +2 -0
  203. package/dist/fr-FR-NK-BqBuh.cjs.map +1 -0
  204. package/dist/index-ejbaSyzM.cjs +12 -0
  205. package/dist/index-ejbaSyzM.cjs.map +1 -0
  206. package/dist/{info-filled-bhD2VGA2.cjs → info-filled-Bk8waEjd.cjs} +2 -2
  207. package/dist/{info-filled-bhD2VGA2.cjs.map → info-filled-Bk8waEjd.cjs.map} +1 -1
  208. package/dist/it-IT-CckThmyL.cjs +2 -0
  209. package/dist/it-IT-CckThmyL.cjs.map +1 -0
  210. package/dist/{minus-circle-outline-pNXlRjce.cjs → minus-circle-outline-8LuhQHmx.cjs} +2 -2
  211. package/dist/{minus-circle-outline-pNXlRjce.cjs.map → minus-circle-outline-8LuhQHmx.cjs.map} +1 -1
  212. package/dist/nl-NL-73Hql9dE.cjs +2 -0
  213. package/dist/nl-NL-73Hql9dE.cjs.map +1 -0
  214. package/dist/no-NO-C5RVnfc6.cjs +2 -0
  215. package/dist/no-NO-C5RVnfc6.cjs.map +1 -0
  216. package/dist/{plus-circle-outline-B3Ttq6A2.cjs → plus-circle-outline-x53czuRo.cjs} +2 -2
  217. package/dist/{plus-circle-outline-B3Ttq6A2.cjs.map → plus-circle-outline-x53czuRo.cjs.map} +1 -1
  218. package/dist/pt-BR-DR3yYVRn.cjs +2 -0
  219. package/dist/pt-BR-DR3yYVRn.cjs.map +1 -0
  220. package/dist/{square-C3hb1Bxz.cjs → square-BzY0pIfq.cjs} +2 -2
  221. package/dist/{square-C3hb1Bxz.cjs.map → square-BzY0pIfq.cjs.map} +1 -1
  222. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  223. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  224. package/dist/{trash-can-D2GRVBnJ.cjs → trash-can-oPrHRWRq.cjs} +2 -2
  225. package/dist/{trash-can-D2GRVBnJ.cjs.map → trash-can-oPrHRWRq.cjs.map} +1 -1
  226. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  227. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  228. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  229. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  230. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  231. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  232. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  233. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  234. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  235. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  236. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  237. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  238. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  239. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  240. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  241. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  242. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  247. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  248. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  249. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  250. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  251. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  252. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  253. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  254. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  255. package/dist/types/translations/index.d.ts +3 -0
  256. package/dist/types/translations/index.d.ts.map +1 -1
  257. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  258. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  259. package/dist/{upload-CeUcEWmW.cjs → upload-CEAJdOXV.cjs} +2 -2
  260. package/dist/{upload-CeUcEWmW.cjs.map → upload-CEAJdOXV.cjs.map} +1 -1
  261. package/dist/{warning-C2NpcmL8.cjs → warning-BzXJLvmN.cjs} +2 -2
  262. package/dist/{warning-C2NpcmL8.cjs.map → warning-BzXJLvmN.cjs.map} +1 -1
  263. package/dist/{warning-filled-Bo82QPPc.cjs → warning-filled-P8HTOKkP.cjs} +2 -2
  264. package/dist/{warning-filled-Bo82QPPc.cjs.map → warning-filled-P8HTOKkP.cjs.map} +1 -1
  265. package/package.json +15 -14
  266. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  267. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  268. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  269. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  270. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  271. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  272. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  273. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  274. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  275. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  276. package/dist/index-CpBGZ2AH.cjs +0 -12
  277. package/dist/index-CpBGZ2AH.cjs.map +0 -1
  278. package/dist/it-IT-DsfPVAun.cjs +0 -2
  279. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  280. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  281. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  282. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  283. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  284. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  285. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  286. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  287. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
@@ -10,7 +10,7 @@ const _ = "2-digit", A = "long", o = "numeric", t = "short", s = "shortOffset",
10
10
  ...E,
11
11
  month: t,
12
12
  hour12: !1
13
- }, n = { ...O, year: void 0 }, R = { ...T, month: "short" }, M = T, c = n, S = { ...T, weekday: A }, e = { ...T, month: t }, I = O, D = n, F = {
13
+ }, n = { ...O, year: void 0 }, R = { ...T, month: "short" }, M = T, c = n, S = { ...T, weekday: A }, I = { ...T, month: t }, e = O, D = n, F = {
14
14
  ...T,
15
15
  ...E,
16
16
  weekday: A,
@@ -21,8 +21,8 @@ export {
21
21
  M as DATE_FORMAT_PAYOUTS,
22
22
  c as DATE_FORMAT_PAYOUTS_MOBILE,
23
23
  S as DATE_FORMAT_PAYOUT_DETAILS,
24
- e as DATE_FORMAT_REPORTS,
25
- I as DATE_FORMAT_TRANSACTIONS,
24
+ I as DATE_FORMAT_REPORTS,
25
+ e as DATE_FORMAT_TRANSACTIONS,
26
26
  D as DATE_FORMAT_TRANSACTIONS_MOBILE,
27
27
  F as DATE_FORMAT_TRANSACTION_DETAILS
28
28
  };
@@ -1,40 +1,40 @@
1
1
  import { jsx as s } from "../../external/preact/jsx-runtime/dist/jsxRuntime.module.js";
2
- import { createContext as x, toChildArray as b } from "../../external/preact/dist/preact.module.js";
3
- import { useContext as g, useMemo as E, useState as r, useEffect as n } from "../../external/preact/hooks/dist/hooks.module.js";
2
+ import { toChildArray as x, createContext as b } from "../../external/preact/dist/preact.module.js";
3
+ import { useContext as g, useMemo as E, useState as e, useEffect as n } from "../../external/preact/hooks/dist/hooks.module.js";
4
4
  import { ErrorMessageDisplay as v } from "../../components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js";
5
5
  import P from "./session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.js";
6
- import U from "./session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.js";
7
- import { asyncNoop as y, noop as A } from "../../utils/common.js";
8
- import { isWatchlistUnsubscribeToken as T } from "../../primitives/reactive/watchlist/main.js";
6
+ import { isWatchlistUnsubscribeToken as U } from "../../primitives/reactive/watchlist/main.js";
7
+ import y from "./session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.js";
8
+ import { noop as A, asyncNoop as T } from "../../utils/common.js";
9
9
  import { isUndefined as H } from "../../utils/value/is.js";
10
10
  import { EMPTY_OBJECT as i } from "../../utils/value/constants.js";
11
- const a = x({
11
+ const a = b({
12
12
  endpoints: i,
13
13
  extraConfig: i,
14
14
  hasError: !1,
15
- http: y,
15
+ http: T,
16
16
  isExpired: void 0,
17
17
  isFrozen: !1,
18
18
  refresh: A,
19
19
  refreshing: !1
20
- }), I = ({ children: m, session: t, type: e }) => {
21
- const { http: f, refresh: p } = E(() => t, [t]), [, c] = r(0), [u, l] = r(0), [o, C] = r();
20
+ }), J = ({ children: m, session: t, type: r }) => {
21
+ const { http: f, refresh: p } = E(() => t, [t]), [, c] = e(0), [u, l] = e(0), [o, C] = e();
22
22
  return n(() => {
23
- P(e, t).then(C);
24
- }, [t, e]), n(() => t.subscribe((d) => {
25
- (T(d) ? l : c)((h) => h + 1);
26
- }), [u]), /* @__PURE__ */ s(a.Provider, { value: { ...t.context, http: f, refresh: p }, children: !H(o) && (o ? b(m) : /* @__PURE__ */ s(
23
+ P(r, t).then(C);
24
+ }, [t, r]), n(() => t.subscribe((d) => {
25
+ (U(d) ? l : c)((h) => h + 1);
26
+ }), [u]), /* @__PURE__ */ s(a.Provider, { value: { ...t.context, http: f, refresh: p }, children: !H(o) && (o ? x(m) : /* @__PURE__ */ s(
27
27
  v,
28
28
  {
29
29
  withImage: !0,
30
30
  centered: !0,
31
31
  title: "somethingWentWrong",
32
- message: [U(e), "contactSupportForHelp"]
32
+ message: [y(r), "contactSupportForHelp"]
33
33
  }
34
34
  )) });
35
- }, N = () => g(a);
35
+ }, K = () => g(a);
36
36
  export {
37
- I as ConfigProvider,
38
- N as default,
39
- N as useConfigContext
37
+ J as ConfigProvider,
38
+ K as default,
39
+ K as useConfigContext
40
40
  };
@@ -1,38 +1,38 @@
1
1
  var a = Object.defineProperty;
2
- var f = (i, e, t) => e in i ? a(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var s = (i, e, t) => f(i, typeof e != "symbol" ? e + "" : e, t);
4
- import { SetupContext as _ } from "./SetupContext.js";
2
+ var _ = (i, s, e) => s in i ? a(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
3
+ var t = (i, s, e) => _(i, typeof s != "symbol" ? s + "" : s, e);
4
+ import { SetupContext as f } from "./SetupContext.js";
5
5
  import { AuthSessionSpecification as c } from "./AuthSessionSpecification.js";
6
6
  import { createErrorContainer as l } from "../../../primitives/auxiliary/errorContainer/main.js";
7
7
  import { SessionContext as S } from "../../../primitives/context/session/SessionContext.js";
8
8
  import { createPromisor as p } from "../../../primitives/async/promisor/main.js";
9
9
  import { createWatchlist as u } from "../../../primitives/reactive/watchlist/main.js";
10
- import { EVT_SESSION_EXPIRED as C, EVT_SESSION_READY as m, ERR_SESSION_REFRESH_ABORTED as d } from "../../../primitives/context/session/constants.js";
11
- import { boolOrTrue as x, boolOrFalse as E } from "../../../utils/value/bool.js";
10
+ import { EVT_SESSION_EXPIRED as C, EVT_SESSION_READY as m, ERR_SESSION_REFRESH_ABORTED as x } from "../../../primitives/context/session/constants.js";
11
+ import { boolOrTrue as d, boolOrFalse as E } from "../../../utils/value/bool.js";
12
12
  import { isFunction as g } from "../../../utils/value/is.js";
13
- class z {
13
+ class y {
14
14
  constructor() {
15
- s(this, "_canSkipSessionRefresh", !1);
16
- s(this, "_refreshPromisorSignal");
17
- s(this, "_sessionIsFrozen", !1);
18
- s(this, "_errorContainer", l());
19
- s(this, "_specification", new c());
20
- s(this, "_sessionContext", new S(this._specification));
21
- s(this, "_setupContext", new _(this._sessionContext));
22
- s(this, "_refreshPromisor", p(async (e, t = !1) => {
23
- let r = !this._refreshPromisorSignal, n = this._refreshPromisorSignal === (this._refreshPromisorSignal = e);
24
- const o = E(t) && this._canSkipSessionRefresh;
15
+ t(this, "_canSkipSessionRefresh", !1);
16
+ t(this, "_refreshPromisorSignal");
17
+ t(this, "_sessionIsFrozen", !1);
18
+ t(this, "_errorContainer", l());
19
+ t(this, "_specification", new c());
20
+ t(this, "_sessionContext", new S(this._specification));
21
+ t(this, "_setupContext", new f(this._sessionContext));
22
+ t(this, "_refreshPromisor", p(async (s, e = !1) => {
23
+ let r = !this._refreshPromisorSignal, n = this._refreshPromisorSignal === (this._refreshPromisorSignal = s);
24
+ const o = E(e) && this._canSkipSessionRefresh;
25
25
  r && (r = !1, this._errorContainer.reset(), this._onAuthStateChanged());
26
26
  try {
27
- await (o ? this._setupContext : this._sessionContext).refresh(e).finally(() => n = this._refreshPromisorSignal === e);
27
+ await (o ? this._setupContext : this._sessionContext).refresh(s).finally(() => n = this._refreshPromisorSignal === s);
28
28
  } catch (h) {
29
29
  if (!n) return;
30
- !e.aborted && (o || h !== d) && this._errorContainer.set(h), r = !o;
30
+ !s.aborted && (o || h !== x) && this._errorContainer.set(h), r = !o;
31
31
  } finally {
32
32
  (r || o && n) && (this._refreshPromisorSignal = void 0, this._onAuthStateChanged());
33
33
  }
34
34
  }));
35
- s(this, "_watchlist", u({
35
+ t(this, "_watchlist", u({
36
36
  endpoints: () => this._setupContext.endpoints,
37
37
  extraConfig: () => this._setupContext.extraConfig,
38
38
  hasError: () => this._errorContainer.hasError,
@@ -40,14 +40,14 @@ class z {
40
40
  isFrozen: () => this._sessionIsFrozen,
41
41
  refreshing: () => !!this._refreshPromisorSignal
42
42
  }));
43
- s(this, "freeze", () => {
43
+ t(this, "freeze", () => {
44
44
  this._sessionIsFrozen = !0, this._watchlist.on.resume = void 0, this._watchlist.cancelSubscriptions();
45
45
  });
46
- s(this, "http", this._sessionContext.http.bind(this._sessionContext, null));
47
- s(this, "refresh", this._refresh.bind(this));
48
- s(this, "subscribe", this._watchlist.subscribe);
46
+ t(this, "http", this._sessionContext.http.bind(this._sessionContext, null));
47
+ t(this, "refresh", this._refresh.bind(this));
48
+ t(this, "subscribe", this._watchlist.subscribe);
49
49
  this._watchlist.on.resume = () => {
50
- const e = [
50
+ const s = [
51
51
  this._sessionContext.on(C, () => {
52
52
  this._canSkipSessionRefresh = !1, this._onAuthStateChanged();
53
53
  }),
@@ -56,30 +56,30 @@ class z {
56
56
  })
57
57
  ];
58
58
  this._watchlist.on.idle = () => {
59
- this._watchlist.on.idle = void 0, e.forEach((t) => t()), e.length = 0;
60
- }, !this.context.refreshing && x(this.context.isExpired) && this._refresh();
59
+ this._watchlist.on.idle = void 0, s.forEach((e) => e()), s.length = 0;
60
+ }, !this.context.refreshing && d(this.context.isExpired) && this._refresh();
61
61
  };
62
62
  }
63
63
  get context() {
64
64
  return this._watchlist.snapshot;
65
65
  }
66
- set loadingContext(e) {
67
- this._setupContext.loadingContext = e;
66
+ set loadingContext(s) {
67
+ this._setupContext.loadingContext = s;
68
68
  }
69
- set errorHandler(e) {
70
- this._specification.errorHandler = e;
69
+ set errorHandler(s) {
70
+ this._specification.errorHandler = s;
71
71
  }
72
- set onSessionCreate(e) {
73
- this._specification.onSessionCreate !== e && (this._specification.onSessionCreate = e, this._refreshPromisorSignal && g(this._specification.onSessionCreate) && (this._canSkipSessionRefresh = !1, this._refresh()));
72
+ set onSessionCreate(s) {
73
+ this._specification.onSessionCreate !== s && (this._specification.onSessionCreate = s, this._refreshPromisorSignal && g(this._specification.onSessionCreate) && (this._canSkipSessionRefresh = !1, this._refresh()));
74
74
  }
75
75
  _onAuthStateChanged() {
76
76
  this._watchlist.requestNotification();
77
77
  }
78
- _refresh(e = !1) {
79
- this._refreshPromisor(e);
78
+ _refresh(s = !1) {
79
+ this._refreshPromisor(s);
80
80
  }
81
81
  }
82
82
  export {
83
- z as AuthSession,
84
- z as default
83
+ y as AuthSession,
84
+ y as default
85
85
  };
@@ -1,14 +1,14 @@
1
1
  var c = Object.defineProperty;
2
2
  var f = (i, t, r) => t in i ? c(i, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[t] = r;
3
3
  var s = (i, t, r) => f(i, typeof t != "symbol" ? t + "" : t, r);
4
- import { http as u } from "../../Http/http.js";
5
- import { ErrorTypes as m } from "../../Http/utils.js";
4
+ import { http as m } from "../../Http/http.js";
5
+ import { ErrorTypes as u } from "../../Http/utils.js";
6
6
  import { AUTO_REFRESH as E, MAX_AGE_MS as d } from "./constants.js";
7
7
  import { isPlainObject as _, isString as h, isUndefined as A } from "../../../utils/value/is.js";
8
8
  import { ERR_SESSION_EXPIRED as H } from "../../../primitives/context/session/constants.js";
9
9
  import { enumerable as l } from "../../../utils/struct/property.js";
10
10
  import { isAbortSignal as O, abortSignalForAny as R } from "../../../utils/abort/main.js";
11
- class y {
11
+ class v {
12
12
  constructor(t) {
13
13
  s(this, "assert", (t) => {
14
14
  if (_(t)) {
@@ -43,9 +43,9 @@ class y {
43
43
  errorHandler: this._errorHandler,
44
44
  signal: O(n) ? R([r, n]) : r
45
45
  };
46
- return await u(o);
46
+ return await m(o);
47
47
  } catch (o) {
48
- throw (o == null ? void 0 : o.type) === m.EXPIRED_TOKEN ? H : o;
48
+ throw (o == null ? void 0 : o.type) === u.EXPIRED_TOKEN ? H : o;
49
49
  }
50
50
  });
51
51
  this.onSessionCreate = t, this._errorHandler = this._errorHandler.bind(this), Object.defineProperties(this, {
@@ -62,6 +62,6 @@ class y {
62
62
  }
63
63
  }
64
64
  export {
65
- y as AuthSessionSpecification,
66
- y as default
65
+ v as AuthSessionSpecification,
66
+ v as default
67
67
  };
@@ -7,8 +7,8 @@ import { noop as f, deepFreeze as x } from "../../../utils/common.js";
7
7
  import { EMPTY_OBJECT as _ } from "../../../utils/value/constants.js";
8
8
  import { createPromisor as g } from "../../../primitives/async/promisor/main.js";
9
9
  import { struct as y, withFreezeProxyHandlers as E, asPlainObject as b } from "../../../utils/struct/main.js";
10
- import { isPlainObject as O, isUndefined as C } from "../../../utils/value/is.js";
11
- import { isAbortSignal as S, abortSignalForAny as v } from "../../../utils/abort/main.js";
10
+ import { isPlainObject as v, isUndefined as O } from "../../../utils/value/is.js";
11
+ import { isAbortSignal as C, abortSignalForAny as S } from "../../../utils/abort/main.js";
12
12
  class N {
13
13
  constructor(t) {
14
14
  i(this, "_endpoints", _);
@@ -18,7 +18,7 @@ class N {
18
18
  await this._refreshPromisor.promise.catch(f);
19
19
  });
20
20
  i(this, "_refreshPromisor", g((t, r) => {
21
- const o = S(r) ? v([r, t]) : t;
21
+ const o = C(r) ? S([r, t]) : t;
22
22
  return this._fetchSetupEndpoint(o);
23
23
  }));
24
24
  this._session = t;
@@ -49,7 +49,7 @@ class N {
49
49
  E({
50
50
  get: (n, e, c) => r.has(e) ? (o[e] ?? (o[e] = (() => {
51
51
  const { method: a = "GET", url: h } = t[e];
52
- if (!C(h || void 0))
52
+ if (!O(h || void 0))
53
53
  return (...m) => {
54
54
  const p = this._getHttpOptions(a, h, ...m);
55
55
  return this._session.http(this._beforeHttp, p);
@@ -60,7 +60,7 @@ class N {
60
60
  }
61
61
  _getHttpOptions(t, r, ...o) {
62
62
  const { loadingContext: n } = this, [e, c] = o, { path: a, query: h } = b(c), m = h && d(h);
63
- if (O(a))
63
+ if (v(a))
64
64
  for (const p of Object.keys(a))
65
65
  r = r.replace(`{${p}}`, a[p]);
66
66
  return { loadingContext: n, ...e, method: t, params: m, path: r };
@@ -1,11 +1,11 @@
1
- import { boolOrFalse as t } from "../../../utils/value/bool.js";
2
- const n = "/setup", r = t(void 0), s = (() => {
3
- let e = 0;
4
- if (Number.isFinite(e) && (e = Math.max(0, ~~e)))
5
- return e;
1
+ import { boolOrFalse as o } from "../../../utils/value/bool.js";
2
+ const r = "/setup", s = o(void 0), i = (() => {
3
+ let t = 0;
4
+ if (Number.isFinite(t) && (t = Math.max(0, ~~t)))
5
+ return t;
6
6
  })();
7
7
  export {
8
- r as AUTO_REFRESH,
9
- s as MAX_AGE_MS,
10
- n as SETUP_ENDPOINT_PATH
8
+ s as AUTO_REFRESH,
9
+ i as MAX_AGE_MS,
10
+ r as SETUP_ENDPOINT_PATH
11
11
  };
@@ -1,15 +1,15 @@
1
1
  import { createDeferred as c } from "../../../../primitives/async/deferred/main.js";
2
2
  import { isWatchlistUnsubscribeToken as l } from "../../../../primitives/reactive/watchlist/main.js";
3
- import { boolOrTrue as d } from "../../../../utils/value/bool.js";
3
+ import { boolOrTrue as a } from "../../../../utils/value/bool.js";
4
4
  const m = async (e) => {
5
- const r = c(), t = r.promise, o = e.context.refreshing;
6
- let n, i, s = e.subscribe((f) => {
5
+ const r = c(), t = r.promise, n = e.context.refreshing;
6
+ let o, i, s = e.subscribe((f) => {
7
7
  if (l(f)) {
8
8
  r.resolve();
9
9
  return;
10
10
  }
11
- if (n ?? (n = e.context.refreshing), !e.context.refreshing) {
12
- if (d(e.context.isExpired) && (i ?? (i = !(o || n)))) {
11
+ if (o ?? (o = e.context.refreshing), !e.context.refreshing) {
12
+ if (a(e.context.isExpired) && (i ?? (i = !(n || o)))) {
13
13
  i = !1, e.refresh();
14
14
  return;
15
15
  }
@@ -26,7 +26,7 @@ const l = (e) => {
26
26
  Accept: "application/json, text/plain, */*",
27
27
  "Content-Type": e.contentType ?? "application/json",
28
28
  ...n,
29
- "SDK-Version": "1.4.2"
29
+ "SDK-Version": "1.5.1"
30
30
  },
31
31
  redirect: "follow",
32
32
  signal: e.signal,
@@ -8,44 +8,44 @@ var s = (r, t, e) => (z(r, t, "read from private field"), e ? e.call(r) : t.get(
8
8
  import { FALLBACK_LOCALE as E, DEFAULT_TRANSLATIONS as x, getLocalesFromTranslationSourcesRecord as I, DEFAULT_DATETIME_FORMAT as M, SUPPORTED_LOCALES as W } from "./constants/localization.js";
9
9
  import { en_US as w } from "../../translations/index.js";
10
10
  import { getLocalisedAmount as k } from "./amount/amount-util.js";
11
- import { createTranslationsLoader as q, getLocalizationProxyDescriptors as B } from "./localization-utils.js";
12
- import { toTwoLetterCode as F, formatCustomTranslations as K, getTranslation as N } from "./utils.js";
13
- import { createWatchlist as V } from "../../primitives/reactive/watchlist/main.js";
14
- import Y from "./datetime/restamper/restamper.js";
15
- import { isNullish as P, isUndefined as Z, isNull as $ } from "../../utils/value/is.js";
16
- import { ALREADY_RESOLVED_PROMISE as G } from "../../utils/async/constants.js";
17
- import { struct as H } from "../../utils/struct/main.js";
18
- import { noop as J } from "../../utils/common.js";
19
- var h, g, m, T, f, d, c, A, l, u, p, L, D, S;
11
+ import { createTranslationsLoader as q, getLocalizationProxyDescriptors as v } from "./localization-utils.js";
12
+ import { toTwoLetterCode as F, formatCustomTranslations as B, getTranslation as N } from "./utils.js";
13
+ import { createWatchlist as K } from "../../primitives/reactive/watchlist/main.js";
14
+ import V from "./datetime/restamper/restamper.js";
15
+ import { isNullish as P, isUndefined as Y, isNull as Z } from "../../utils/value/is.js";
16
+ import { ALREADY_RESOLVED_PROMISE as $ } from "../../utils/async/constants.js";
17
+ import { struct as G } from "../../utils/struct/main.js";
18
+ import { noop as H } from "../../utils/common.js";
19
+ var h, g, u, T, f, p, c, A, l, m, d, L, D, S;
20
20
  class ct {
21
21
  constructor(t = E, e) {
22
22
  o(this, D);
23
23
  o(this, h, E);
24
24
  o(this, g, F(s(this, h)));
25
- o(this, m, [E]);
26
- o(this, T, s(this, m));
25
+ o(this, u, [E]);
26
+ o(this, T, s(this, u));
27
27
  o(this, f);
28
- o(this, d, x);
28
+ o(this, p, x);
29
29
  o(this, c, q.call(this));
30
- o(this, A, G);
30
+ o(this, A, $);
31
31
  o(this, l);
32
- o(this, u);
33
- o(this, p, V({ timestamp: () => performance.now() }));
34
- o(this, L, Y());
35
- R(this, "watch", s(this, p).subscribe.bind(void 0));
36
- R(this, "i18n", H(B.call(this)));
32
+ o(this, m);
33
+ o(this, d, K({ timestamp: () => performance.now() }));
34
+ o(this, L, V());
35
+ R(this, "watch", s(this, d).subscribe.bind(void 0));
36
+ R(this, "i18n", G(v.call(this)));
37
37
  R(this, "preferredTranslations");
38
- this.watch(J), this.preferredTranslations = Object.freeze(
38
+ this.watch(H), this.preferredTranslations = Object.freeze(
39
39
  (e == null ? void 0 : e.reduce((i, n) => ({ ...i, ...n }), w)) ?? { ...w }
40
- ), a(this, m, I(this.preferredTranslations)), this.locale = t;
40
+ ), a(this, u, I(this.preferredTranslations)), this.locale = t;
41
41
  }
42
42
  get customTranslations() {
43
43
  return s(this, f) ?? {};
44
44
  }
45
45
  set customTranslations(t) {
46
- let e, i = [...s(this, m)];
46
+ let e, i = [...s(this, u)];
47
47
  if (!P(t)) {
48
- e = K(t, W);
48
+ e = B(t, W);
49
49
  const n = Object.keys(e);
50
50
  i = [...i, ...n].sort().filter((y, O, U) => U.indexOf(y) === O);
51
51
  }
@@ -55,7 +55,7 @@ class ct {
55
55
  return s(this, g);
56
56
  }
57
57
  get lastRefreshTimestamp() {
58
- return s(this, p).snapshot.timestamp;
58
+ return s(this, d).snapshot.timestamp;
59
59
  }
60
60
  get locale() {
61
61
  return s(this, h);
@@ -87,8 +87,8 @@ class ct {
87
87
  * @returns Translated string
88
88
  */
89
89
  get(t, e) {
90
- const i = N(s(this, d), t, e);
91
- return $(i) ? t : i;
90
+ const i = N(s(this, p), t, e);
91
+ return Z(i) ? t : i;
92
92
  }
93
93
  /**
94
94
  * Returns a boolean that checks if the translation key exists in the current {@link Localization.locale}
@@ -97,7 +97,7 @@ class ct {
97
97
  * @returns boolean
98
98
  */
99
99
  has(t, e) {
100
- return !!N(s(this, d), t, e);
100
+ return !!N(s(this, p), t, e);
101
101
  }
102
102
  /**
103
103
  * Returns a localized string for an amount
@@ -136,17 +136,17 @@ class ct {
136
136
  });
137
137
  }
138
138
  }
139
- h = new WeakMap(), g = new WeakMap(), m = new WeakMap(), T = new WeakMap(), f = new WeakMap(), d = new WeakMap(), c = new WeakMap(), A = new WeakMap(), l = new WeakMap(), u = new WeakMap(), p = new WeakMap(), L = new WeakMap(), D = new WeakSet(), S = function(t) {
140
- Z(s(this, u)) && a(this, A, new Promise((n) => {
141
- a(this, u, () => {
142
- n(s(this, l)), a(this, l, a(this, u, void 0));
139
+ h = new WeakMap(), g = new WeakMap(), u = new WeakMap(), T = new WeakMap(), f = new WeakMap(), p = new WeakMap(), c = new WeakMap(), A = new WeakMap(), l = new WeakMap(), m = new WeakMap(), d = new WeakMap(), L = new WeakMap(), D = new WeakSet(), S = function(t) {
140
+ Y(s(this, m)) && a(this, A, new Promise((n) => {
141
+ a(this, m, () => {
142
+ n(s(this, l)), a(this, l, a(this, m, void 0));
143
143
  });
144
144
  }));
145
145
  const e = () => {
146
146
  var n;
147
- s(this, l) === i && ((n = s(this, u)) == null || n.call(this));
147
+ s(this, l) === i && ((n = s(this, m)) == null || n.call(this));
148
148
  }, i = a(this, l, (async () => {
149
- a(this, d, await s(this, c).load(t)), a(this, h, s(this, c).locale), a(this, T, Object.freeze(s(this, c).supportedLocales)), a(this, f, t), a(this, g, F(s(this, h))), s(this, p).requestNotification();
149
+ a(this, p, await s(this, c).load(t)), a(this, h, s(this, c).locale), a(this, T, Object.freeze(s(this, c).supportedLocales)), a(this, f, t), a(this, g, F(s(this, h))), s(this, d).requestNotification();
150
150
  })());
151
151
  i.then(e).catch((n) => {
152
152
  e(), console.error(n);
@@ -1,5 +1,5 @@
1
1
  const A = /GMT(?:[-+](?:0?\d|1[0-4])(?::?[0-5]\d)?)?$/, { BASE_FORMAT_OPTIONS: I, BASE_LOCALE: N, SYSTEM_TIMEZONE: c, SYSTEM_TIMEZONE_FORMATTER: s } = (() => {
2
- const S = "en-US", T = "2-digit", t = "numeric", e = Object.freeze({
2
+ const S = "en-US", T = "2-digit", t = "numeric", _ = Object.freeze({
3
3
  year: t,
4
4
  month: "short",
5
5
  day: t,
@@ -12,11 +12,11 @@ const A = /GMT(?:[-+](?:0?\d|1[0-4])(?::?[0-5]\d)?)?$/, { BASE_FORMAT_OPTIONS: I
12
12
  });
13
13
  let E, O;
14
14
  try {
15
- O = new Intl.DateTimeFormat(S, e), E = O.resolvedOptions().timeZone;
15
+ O = new Intl.DateTimeFormat(S, _), E = O.resolvedOptions().timeZone;
16
16
  } catch {
17
17
  E = void 0;
18
18
  }
19
- return { BASE_FORMAT_OPTIONS: e, BASE_LOCALE: S, SYSTEM_TIMEZONE: E, SYSTEM_TIMEZONE_FORMATTER: O };
19
+ return { BASE_FORMAT_OPTIONS: _, BASE_LOCALE: S, SYSTEM_TIMEZONE: E, SYSTEM_TIMEZONE_FORMATTER: O };
20
20
  })();
21
21
  export {
22
22
  I as BASE_FORMAT_OPTIONS,
@@ -1,4 +1,4 @@
1
- import { SYSTEM_TIMEZONE as s, BASE_LOCALE as c, BASE_FORMAT_OPTIONS as E, SYSTEM_TIMEZONE_FORMATTER as f } from "./constants.js";
1
+ import { SYSTEM_TIMEZONE as s, SYSTEM_TIMEZONE_FORMATTER as f, BASE_LOCALE as c, BASE_FORMAT_OPTIONS as E } from "./constants.js";
2
2
  import { getTimezoneOffsetForTimestamp as a } from "./utils.js";
3
3
  import { struct as O } from "../../../../utils/struct/main.js";
4
4
  import { isUndefined as T, isNullish as u } from "../../../../utils/value/is.js";
@@ -1,8 +1,8 @@
1
1
  import { FALLBACK_LOCALE as p, DEFAULT_TRANSLATIONS as C } from "./constants/localization.js";
2
2
  import { hasOwnProperty as f } from "../../utils/struct/property.js";
3
3
  import { EMPTY_OBJECT as u } from "../../utils/value/constants.js";
4
- import { isFunction as d } from "../../utils/value/is.js";
5
4
  import { asPlainObject as O } from "../../utils/struct/main.js";
5
+ import { isFunction as d } from "../../utils/value/is.js";
6
6
  const g = { values: u, count: 0 }, w = /^[a-z]{2}-[A-Z]{2}$/, l = (e) => e.substring(0, 2).toLowerCase();
7
7
  function E(e, t) {
8
8
  if (!e) return null;
@@ -60,7 +60,7 @@ class m {
60
60
  return { ...t };
61
61
  }
62
62
  }
63
- o(m, "version", "1.4.2");
63
+ o(m, "version", "1.5.1");
64
64
  export {
65
65
  m as default
66
66
  };