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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/dist/adyen-platform-experience-web.css +1 -1
  2. package/dist/{angle-right-C1JIrQTg.cjs → angle-right-DCDtBphj.cjs} +2 -2
  3. package/dist/{angle-right-C1JIrQTg.cjs.map → angle-right-DCDtBphj.cjs.map} +1 -1
  4. package/dist/{checkmark-B8DhX3p1.cjs → checkmark-BUtjcpAC.cjs} +2 -2
  5. package/dist/{checkmark-B8DhX3p1.cjs.map → checkmark-BUtjcpAC.cjs.map} +1 -1
  6. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs → checkmark-circle-fill-CtUhQzOt.cjs} +2 -2
  7. package/dist/{checkmark-circle-fill-CMpIlMCC.cjs.map → checkmark-circle-fill-CtUhQzOt.cjs.map} +1 -1
  8. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs → checkmark-square-fill-Cpdn8YWp.cjs} +2 -2
  9. package/dist/{checkmark-square-fill-Cy8Hzt9P.cjs.map → checkmark-square-fill-Cpdn8YWp.cjs.map} +1 -1
  10. package/dist/{chevron-down-CB77LxQY.cjs → chevron-down-CEgNjZK_.cjs} +2 -2
  11. package/dist/{chevron-down-CB77LxQY.cjs.map → chevron-down-CEgNjZK_.cjs.map} +1 -1
  12. package/dist/{chevron-left-DMAmIvLF.cjs → chevron-left-BgN_rxGR.cjs} +2 -2
  13. package/dist/{chevron-left-DMAmIvLF.cjs.map → chevron-left-BgN_rxGR.cjs.map} +1 -1
  14. package/dist/{chevron-right-BxLJu7Zf.cjs → chevron-right-Jwt5BuB-.cjs} +2 -2
  15. package/dist/{chevron-right-BxLJu7Zf.cjs.map → chevron-right-Jwt5BuB-.cjs.map} +1 -1
  16. package/dist/{chevron-up-CT79XJdh.cjs → chevron-up-B_O0vmIX.cjs} +2 -2
  17. package/dist/{chevron-up-CT79XJdh.cjs.map → chevron-up-B_O0vmIX.cjs.map} +1 -1
  18. package/dist/cjs/index.js +1 -1
  19. package/dist/{copy-7UpFtMvt.cjs → copy-DztEPGun.cjs} +2 -2
  20. package/dist/{copy-7UpFtMvt.cjs.map → copy-DztEPGun.cjs.map} +1 -1
  21. package/dist/{cross-DtVirgrN.cjs → cross-B9ojc3kB.cjs} +2 -2
  22. package/dist/{cross-DtVirgrN.cjs.map → cross-B9ojc3kB.cjs.map} +1 -1
  23. package/dist/{cross-circle-fill-C47yImD2.cjs → cross-circle-fill-Dy_LlcFp.cjs} +2 -2
  24. package/dist/{cross-circle-fill-C47yImD2.cjs.map → cross-circle-fill-Dy_LlcFp.cjs.map} +1 -1
  25. package/dist/da-DK-DAJvnb2s.cjs +2 -0
  26. package/dist/da-DK-DAJvnb2s.cjs.map +1 -0
  27. package/dist/de-DE-DFMmcoWN.cjs +2 -0
  28. package/dist/de-DE-DFMmcoWN.cjs.map +1 -0
  29. package/dist/{download-A1m1wB_K.cjs → download-DsN3U6Xn.cjs} +2 -2
  30. package/dist/{download-A1m1wB_K.cjs.map → download-DsN3U6Xn.cjs.map} +1 -1
  31. package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +14 -14
  32. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +20 -20
  33. package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +73 -62
  34. package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
  35. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetail.js +3 -3
  36. package/dist/es/components/external/CapitalOverview/components/AccountDetails/AccountDetails.js +3 -3
  37. package/dist/es/components/external/CapitalOverview/components/AccountDetails/utils.js +3 -3
  38. package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +6 -6
  39. package/dist/es/components/external/CapitalOverview/components/GrantAdjustmentDetails/constants.js +0 -1
  40. package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +2 -2
  41. package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +14 -14
  42. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +2 -2
  43. package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +4 -4
  44. package/dist/es/components/external/CapitalOverview/components/GrantRepaymentDetails/GrantRepaymentDetails.js +1 -1
  45. package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +13 -13
  46. package/dist/es/components/external/CapitalOverview/components/Unqualified.js +2 -2
  47. package/dist/es/components/external/CapitalOverview/constants.js +0 -1
  48. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +21 -21
  49. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +17 -17
  50. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +4 -4
  51. package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +16 -16
  52. package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +1 -1
  53. package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +20 -20
  54. package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +4 -4
  55. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundAmount.js +8 -8
  56. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +1 -1
  57. package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +2 -2
  58. package/dist/es/components/external/TransactionDetails/context/details/context.js +10 -10
  59. package/dist/es/components/external/TransactionDetails/context/refund/context.js +1 -1
  60. package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +2 -2
  61. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +20 -20
  62. package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +3 -3
  63. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +2 -2
  64. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +4 -4
  65. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +3 -3
  66. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +8 -8
  67. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +66 -66
  68. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +19 -19
  69. package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +3 -3
  70. package/dist/es/components/internal/Accordion/Accordion.js +10 -10
  71. package/dist/es/components/internal/Alert/Alert.js +1 -1
  72. package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +5 -5
  73. package/dist/es/components/internal/Button/hooks/useButton.js +7 -7
  74. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +104 -104
  75. package/dist/es/components/internal/Calendar/calendar/facade/index.js +12 -12
  76. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -14
  77. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +4 -4
  78. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +58 -58
  79. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +4 -4
  80. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +3 -3
  81. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +2 -2
  82. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +7 -7
  83. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +6 -6
  84. package/dist/es/components/internal/Calendar/calendar/utils.js +22 -22
  85. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +11 -11
  86. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +22 -22
  87. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +7 -7
  88. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +12 -12
  89. package/dist/es/components/internal/CapitalHeader/constants.js +4 -4
  90. package/dist/es/components/internal/CapitalHeader/helpers.js +14 -12
  91. package/dist/es/components/internal/Card/Card.js +9 -9
  92. package/dist/es/components/internal/DataGrid/DataGridCell.js +8 -8
  93. package/dist/es/components/internal/DataGrid/components/TableCells.js +16 -16
  94. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +13 -13
  95. package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
  96. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
  97. package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +3 -3
  98. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +29 -29
  99. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +1 -2
  100. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +23 -23
  101. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +2 -2
  102. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +31 -31
  103. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
  104. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +15 -15
  105. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +2 -2
  106. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +9 -9
  107. package/dist/es/components/internal/FormFields/InputBase.js +5 -5
  108. package/dist/es/components/internal/FormFields/Select/Select.js +15 -15
  109. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +43 -43
  110. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +14 -14
  111. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +5 -5
  112. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +2 -2
  113. package/dist/es/components/internal/Header/Header.js +4 -4
  114. package/dist/es/components/internal/Icon/Icon.js +3 -3
  115. package/dist/es/components/internal/Img/Img.js +2 -2
  116. package/dist/es/components/internal/Link/Link.js +2 -2
  117. package/dist/es/components/internal/Modal/Modal.js +4 -4
  118. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +12 -12
  119. package/dist/es/components/internal/Pagination/hooks/usePagination.js +22 -22
  120. package/dist/es/components/internal/Popover/Popover.js +4 -4
  121. package/dist/es/components/internal/ProgressBar/ProgressBar.js +3 -3
  122. package/dist/es/components/internal/SVGIcons/Checkmark.js +3 -3
  123. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +12 -10
  124. package/dist/es/components/internal/SVGIcons/ChevronRight.js +12 -10
  125. package/dist/es/components/internal/SVGIcons/CloseCircle.js +1 -1
  126. package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +13 -13
  127. package/dist/es/components/internal/StructuredList/StructuredList.js +4 -4
  128. package/dist/es/components/internal/Translation/Translation.js +15 -15
  129. package/dist/es/components/utils/getErrorMessage.js +2 -2
  130. package/dist/es/constants/dateFormats.js +3 -3
  131. package/dist/es/core/ConfigContext/context.js +18 -18
  132. package/dist/es/core/ConfigContext/session/AuthSession.js +36 -36
  133. package/dist/es/core/ConfigContext/session/AuthSessionSpecification.js +7 -7
  134. package/dist/es/core/ConfigContext/session/SetupContext.js +5 -5
  135. package/dist/es/core/ConfigContext/session/constants.js +8 -8
  136. package/dist/es/core/ConfigContext/session/utils/sessionReady.js +5 -5
  137. package/dist/es/core/Http/utils.js +1 -1
  138. package/dist/es/core/Localization/Localization.js +32 -32
  139. package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
  140. package/dist/es/core/Localization/datetime/restamper/restamper.js +1 -1
  141. package/dist/es/core/Localization/utils.js +1 -1
  142. package/dist/es/core/core.js +1 -1
  143. package/dist/es/external/preact/compat/dist/compat.module.js +40 -40
  144. package/dist/es/external/preact/dist/preact.module.js +197 -195
  145. package/dist/es/external/preact/hooks/dist/hooks.module.js +71 -67
  146. package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -9
  147. package/dist/es/hooks/element/useDetachedRender.js +11 -11
  148. package/dist/es/hooks/element/useFocusTrap.js +5 -5
  149. package/dist/es/hooks/useBalanceAccountSelection.js +10 -10
  150. package/dist/es/hooks/useCommitAction/useCommitAction.js +7 -7
  151. package/dist/es/hooks/useContainerQuery.js +4 -4
  152. package/dist/es/hooks/useCustomColumnsData.js +2 -2
  153. package/dist/es/hooks/useDefaultOverviewFilterParams.js +18 -18
  154. package/dist/es/hooks/useFetch.js +22 -22
  155. package/dist/es/hooks/useModalDetails/useModalDetails.js +7 -7
  156. package/dist/es/hooks/useMutation/useMutation.js +3 -3
  157. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -21
  158. package/dist/es/hooks/useResponsiveContainer.js +7 -10
  159. package/dist/es/hooks/useTabbedControl.js +9 -9
  160. package/dist/es/primitives/async/abortable/main.js +9 -9
  161. package/dist/es/primitives/async/deferred/main.js +1 -1
  162. package/dist/es/primitives/auxiliary/errorContainer/main.js +9 -9
  163. package/dist/es/primitives/auxiliary/indexed/helpers.js +4 -4
  164. package/dist/es/primitives/auxiliary/indexed/main.js +7 -7
  165. package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
  166. package/dist/es/primitives/context/session/internal/deadline.js +22 -22
  167. package/dist/es/primitives/context/session/internal/refresher.js +19 -19
  168. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -3
  169. package/dist/es/primitives/reactive/eventEmitter/main.js +3 -3
  170. package/dist/es/primitives/reactive/reflex/main.js +22 -22
  171. package/dist/es/primitives/reactive/reflex/register.js +25 -25
  172. package/dist/es/primitives/reactive/watchlist/main.js +24 -24
  173. package/dist/es/primitives/time/clock/main.js +6 -6
  174. package/dist/es/primitives/time/interval/main.js +9 -9
  175. package/dist/es/translations/da-DK.json.js +55 -46
  176. package/dist/es/translations/de-DE.json.js +71 -62
  177. package/dist/es/translations/en-US.json.js +41 -38
  178. package/dist/es/translations/es-ES.json.js +79 -70
  179. package/dist/es/translations/fi-FI.json.js +97 -88
  180. package/dist/es/translations/fr-FR.json.js +75 -66
  181. package/dist/es/translations/it-IT.json.js +107 -98
  182. package/dist/es/translations/nl-NL.json.js +80 -71
  183. package/dist/es/translations/no-NO.json.js +67 -58
  184. package/dist/es/translations/pt-BR.json.js +71 -62
  185. package/dist/es/translations/sv-SE.json.js +95 -86
  186. package/dist/es/utils/abort/internals.js +3 -3
  187. package/dist/es/utils/abort/main.js +19 -19
  188. package/dist/es/utils/collection/main.js +14 -14
  189. package/dist/es/utils/datetime/main.js +3 -3
  190. package/dist/es/utils/preact/className.js +2 -2
  191. package/dist/es/utils/struct/main.js +8 -8
  192. package/dist/es/utils/value/is.js +9 -9
  193. package/dist/es/utils/value/number.js +2 -2
  194. package/dist/es-ES-DWJu_JsZ.cjs +2 -0
  195. package/dist/es-ES-DWJu_JsZ.cjs.map +1 -0
  196. package/dist/{external-link-Ct-WlQoY.cjs → external-link-DgHiKqPL.cjs} +2 -2
  197. package/dist/{external-link-Ct-WlQoY.cjs.map → external-link-DgHiKqPL.cjs.map} +1 -1
  198. package/dist/fi-FI-MXUK5vu0.cjs +2 -0
  199. package/dist/fi-FI-MXUK5vu0.cjs.map +1 -0
  200. package/dist/{filter-DwSaMAG7.cjs → filter-C7stlLTD.cjs} +2 -2
  201. package/dist/{filter-DwSaMAG7.cjs.map → filter-C7stlLTD.cjs.map} +1 -1
  202. package/dist/fr-FR-NK-BqBuh.cjs +2 -0
  203. package/dist/fr-FR-NK-BqBuh.cjs.map +1 -0
  204. package/dist/index-ejbaSyzM.cjs +12 -0
  205. package/dist/index-ejbaSyzM.cjs.map +1 -0
  206. package/dist/{info-filled-bhD2VGA2.cjs → info-filled-Bk8waEjd.cjs} +2 -2
  207. package/dist/{info-filled-bhD2VGA2.cjs.map → info-filled-Bk8waEjd.cjs.map} +1 -1
  208. package/dist/it-IT-CckThmyL.cjs +2 -0
  209. package/dist/it-IT-CckThmyL.cjs.map +1 -0
  210. package/dist/{minus-circle-outline-pNXlRjce.cjs → minus-circle-outline-8LuhQHmx.cjs} +2 -2
  211. package/dist/{minus-circle-outline-pNXlRjce.cjs.map → minus-circle-outline-8LuhQHmx.cjs.map} +1 -1
  212. package/dist/nl-NL-73Hql9dE.cjs +2 -0
  213. package/dist/nl-NL-73Hql9dE.cjs.map +1 -0
  214. package/dist/no-NO-C5RVnfc6.cjs +2 -0
  215. package/dist/no-NO-C5RVnfc6.cjs.map +1 -0
  216. package/dist/{plus-circle-outline-B3Ttq6A2.cjs → plus-circle-outline-x53czuRo.cjs} +2 -2
  217. package/dist/{plus-circle-outline-B3Ttq6A2.cjs.map → plus-circle-outline-x53czuRo.cjs.map} +1 -1
  218. package/dist/pt-BR-DR3yYVRn.cjs +2 -0
  219. package/dist/pt-BR-DR3yYVRn.cjs.map +1 -0
  220. package/dist/{square-C3hb1Bxz.cjs → square-BzY0pIfq.cjs} +2 -2
  221. package/dist/{square-C3hb1Bxz.cjs.map → square-BzY0pIfq.cjs.map} +1 -1
  222. package/dist/sv-SE-C92aO-iv.cjs +2 -0
  223. package/dist/sv-SE-C92aO-iv.cjs.map +1 -0
  224. package/dist/{trash-can-D2GRVBnJ.cjs → trash-can-oPrHRWRq.cjs} +2 -2
  225. package/dist/{trash-can-D2GRVBnJ.cjs.map → trash-can-oPrHRWRq.cjs.map} +1 -1
  226. package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
  227. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts +1 -1
  228. package/dist/types/components/external/CapitalOffer/components/utils/utils.d.ts.map +1 -1
  229. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +71 -0
  230. package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
  231. package/dist/types/components/internal/CapitalHeader/constants.d.ts +2 -1
  232. package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -1
  233. package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -1
  234. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +3 -3
  235. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  236. package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
  237. package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
  238. package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
  239. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +1 -1
  240. package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
  241. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +1 -1
  242. package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
  243. package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
  244. package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
  245. package/dist/types/components/internal/SVGIcons/Download.d.ts +1 -1
  246. package/dist/types/components/internal/SVGIcons/Download.d.ts.map +1 -1
  247. package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
  248. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
  249. package/dist/types/core/ConfigContext/context.d.ts +2 -0
  250. package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
  251. package/dist/types/core/ConfigContext/session/AuthSession.d.ts +4 -0
  252. package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
  253. package/dist/types/core/ConfigContext/session/SetupContext.d.ts +2 -0
  254. package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
  255. package/dist/types/translations/index.d.ts +3 -0
  256. package/dist/types/translations/index.d.ts.map +1 -1
  257. package/dist/types/types/api/resources/CapitalResource.d.ts +1 -0
  258. package/dist/types/types/api/resources/CapitalResource.d.ts.map +1 -1
  259. package/dist/{upload-CeUcEWmW.cjs → upload-CEAJdOXV.cjs} +2 -2
  260. package/dist/{upload-CeUcEWmW.cjs.map → upload-CEAJdOXV.cjs.map} +1 -1
  261. package/dist/{warning-C2NpcmL8.cjs → warning-BzXJLvmN.cjs} +2 -2
  262. package/dist/{warning-C2NpcmL8.cjs.map → warning-BzXJLvmN.cjs.map} +1 -1
  263. package/dist/{warning-filled-Bo82QPPc.cjs → warning-filled-P8HTOKkP.cjs} +2 -2
  264. package/dist/{warning-filled-Bo82QPPc.cjs.map → warning-filled-P8HTOKkP.cjs.map} +1 -1
  265. package/package.json +15 -14
  266. package/dist/da-DK-DHGqGo8Q.cjs +0 -2
  267. package/dist/da-DK-DHGqGo8Q.cjs.map +0 -1
  268. package/dist/de-DE-k_BRPv7a.cjs +0 -2
  269. package/dist/de-DE-k_BRPv7a.cjs.map +0 -1
  270. package/dist/es-ES-Cy-9bm8z.cjs +0 -2
  271. package/dist/es-ES-Cy-9bm8z.cjs.map +0 -1
  272. package/dist/fi-FI-C7ICLuS8.cjs +0 -2
  273. package/dist/fi-FI-C7ICLuS8.cjs.map +0 -1
  274. package/dist/fr-FR-DH8euUOp.cjs +0 -2
  275. package/dist/fr-FR-DH8euUOp.cjs.map +0 -1
  276. package/dist/index-CpBGZ2AH.cjs +0 -12
  277. package/dist/index-CpBGZ2AH.cjs.map +0 -1
  278. package/dist/it-IT-DsfPVAun.cjs +0 -2
  279. package/dist/it-IT-DsfPVAun.cjs.map +0 -1
  280. package/dist/nl-NL-DP_t6EpF.cjs +0 -2
  281. package/dist/nl-NL-DP_t6EpF.cjs.map +0 -1
  282. package/dist/no-NO-ARsXLWv0.cjs +0 -2
  283. package/dist/no-NO-ARsXLWv0.cjs.map +0 -1
  284. package/dist/pt-BR-CuTqntp7.cjs +0 -2
  285. package/dist/pt-BR-CuTqntp7.cjs.map +0 -1
  286. package/dist/sv-SE-DDAIHLKD.cjs +0 -2
  287. package/dist/sv-SE-DDAIHLKD.cjs.map +0 -1
@@ -1,22 +1,22 @@
1
1
  var Ct = Object.defineProperty;
2
- var ft = (m) => {
2
+ var ot = (m) => {
3
3
  throw TypeError(m);
4
4
  };
5
5
  var Rt = (m, s, i) => s in m ? Ct(m, s, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[s] = i;
6
- var Z = (m, s, i) => Rt(m, typeof s != "symbol" ? s + "" : s, i), et = (m, s, i) => s.has(m) || ft("Cannot " + i);
7
- var t = (m, s, i) => (et(m, s, "read from private field"), i ? i.call(m) : s.get(m)), h = (m, s, i) => s.has(m) ? ft("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(m) : s.set(m, i), e = (m, s, i, n) => (et(m, s, "write to private field"), n ? n.call(m, i) : s.set(m, i), i), a = (m, s, i) => (et(m, s, "access private method"), i);
6
+ var Z = (m, s, i) => Rt(m, typeof s != "symbol" ? s + "" : s, i), et = (m, s, i) => s.has(m) || ot("Cannot " + i);
7
+ var t = (m, s, i) => (et(m, s, "read from private field"), i ? i.call(m) : s.get(m)), h = (m, s, i) => s.has(m) ? ot("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(m) : s.set(m, i), e = (m, s, i, n) => (et(m, s, "write to private field"), n ? n.call(m, i) : s.set(m, i), i), a = (m, s, i) => (et(m, s, "access private method"), i);
8
8
  var M = (m, s, i, n) => ({
9
- set _(o) {
10
- e(m, s, o, i);
9
+ set _(f) {
10
+ e(m, s, f, i);
11
11
  },
12
12
  get _() {
13
13
  return t(m, s, n);
14
14
  }
15
15
  });
16
- import { resolveTimeFrameBlockSize as yt, downsizeTimeFrame as ot } from "../common/utils.js";
16
+ import { resolveTimeFrameBlockSize as yt, downsizeTimeFrame as ft } from "../common/utils.js";
17
17
  import At, { UNBOUNDED_SLICE as rt } from "../../timeslice/index.js";
18
18
  import { computeTimestampOffset as Dt } from "../../utils.js";
19
- import { FIRST_WEEK_DAYS as _t, DAY_MS as ct, SHIFT_FRAME as ht, SHIFT_PERIOD as bt, SHIFT_BLOCK as xt, CURSOR_NEXT_BLOCK as Lt, CURSOR_PREV_BLOCK as Ut, CURSOR_LINE_END as Nt, CURSOR_LINE_START as wt, CURSOR_BLOCK_END as zt, CURSOR_BLOCK_START as Wt, CURSOR_DOWNWARD as Mt, CURSOR_UPWARD as Ht, CURSOR_FORWARD as Kt, CURSOR_BACKWARD as Yt, SELECTION_COLLAPSE as vt, SELECTION_NEAREST as ut, SELECTION_FARTHEST as lt, SELECTION_TO as dt, SELECTION_FROM as gt } from "../../constants.js";
19
+ import { FIRST_WEEK_DAYS as _t, DAY_MS as ct, SHIFT_FRAME as ht, SHIFT_PERIOD as bt, SHIFT_BLOCK as xt, CURSOR_NEXT_BLOCK as Lt, CURSOR_PREV_BLOCK as Ut, CURSOR_LINE_END as Nt, CURSOR_LINE_START as wt, CURSOR_BLOCK_END as zt, CURSOR_BLOCK_START as Wt, CURSOR_DOWNWARD as Mt, CURSOR_UPWARD as Ht, CURSOR_FORWARD as Kt, CURSOR_BACKWARD as vt, SELECTION_COLLAPSE as Yt, SELECTION_NEAREST as lt, SELECTION_FARTHEST as ut, SELECTION_TO as dt, SELECTION_FROM as gt } from "../../constants.js";
20
20
  import Vt from "../common/flags.js";
21
21
  import { BASE_LOCALE as Xt } from "../../../../../../core/Localization/datetime/restamper/constants.js";
22
22
  import { today as pt } from "../../../../../../primitives/time/today/main.js";
@@ -25,14 +25,14 @@ import { isUndefined as tt, isNullish as A, isBoolean as Ot, isFunction as jt }
25
25
  import { isInfinity as nt, clamp as at, mid as qt, isBitSafeInteger as Ft, mod as Gt } from "../../../../../../utils/value/number.js";
26
26
  import { enumerable as I } from "../../../../../../utils/struct/property.js";
27
27
  import { struct as Jt } from "../../../../../../utils/struct/main.js";
28
- var L, p, K, Y, v, V, k, F, B, U, N, w, D, S, X, l, c, u, z, E, _, W, T, j, q, R, C, G, J, st, it, r, Tt, It, b, Bt, O, H, mt;
28
+ var L, p, K, v, Y, V, k, F, B, U, N, w, D, S, X, u, c, l, z, E, _, W, T, j, q, R, C, G, J, st, it, r, Tt, It, b, Bt, O, H, mt;
29
29
  const x = class x {
30
30
  constructor() {
31
31
  h(this, r);
32
32
  h(this, p, 0);
33
33
  h(this, K);
34
- h(this, Y);
35
- h(this, v, -1);
34
+ h(this, v);
35
+ h(this, Y, -1);
36
36
  h(this, V, -1);
37
37
  h(this, k);
38
38
  h(this, F);
@@ -43,9 +43,9 @@ const x = class x {
43
43
  h(this, D, []);
44
44
  h(this, S, t(x, L));
45
45
  h(this, X, 12);
46
- h(this, l);
46
+ h(this, u);
47
47
  h(this, c);
48
- h(this, u, 1);
48
+ h(this, l, 1);
49
49
  h(this, z);
50
50
  h(this, E);
51
51
  h(this, _);
@@ -61,7 +61,7 @@ const x = class x {
61
61
  Z(this, "origin");
62
62
  Z(this, "originTimestamp");
63
63
  h(this, st, $(() => this.daysInWeek, this.getDayOfWeekAtIndex.bind(this)));
64
- h(this, it, $(() => t(this, u), a(this, r, Bt).bind(this)));
64
+ h(this, it, $(() => t(this, l), a(this, r, Bt).bind(this)));
65
65
  }
66
66
  get fromTimestamp() {
67
67
  return t(this, j);
@@ -73,7 +73,7 @@ const x = class x {
73
73
  return t(this, G);
74
74
  }
75
75
  get blankSelection() {
76
- return t(this, l) === t(this, c) && tt(t(this, c));
76
+ return t(this, u) === t(this, c) && tt(t(this, c));
77
77
  }
78
78
  get cursor() {
79
79
  return t(this, k) ?? -1;
@@ -102,7 +102,7 @@ const x = class x {
102
102
  return t(this, it);
103
103
  }
104
104
  get isAtEnd() {
105
- return !nt(t(this, C)) && t(this, C) === t(this, u) - 1;
105
+ return !nt(t(this, C)) && t(this, C) === t(this, l) - 1;
106
106
  }
107
107
  get isAtStart() {
108
108
  return !nt(t(this, R)) && t(this, R) === 0;
@@ -123,25 +123,25 @@ const x = class x {
123
123
  t(this, S) !== i && this.refreshFrame(!0);
124
124
  }
125
125
  get selectionStart() {
126
- return t(this, l);
126
+ return t(this, u);
127
127
  }
128
128
  get selectionEnd() {
129
129
  return t(this, c);
130
130
  }
131
131
  get size() {
132
- return t(this, u);
132
+ return t(this, l);
133
133
  }
134
134
  set size(s) {
135
135
  const i = Math.min(!A(s) && yt(s) || 1, t(this, X));
136
- t(this, u) !== e(this, u, i) && (a(this, r, mt).call(this), this.refreshFrame());
136
+ t(this, l) !== e(this, l, i) && (a(this, r, mt).call(this), this.refreshFrame());
137
137
  }
138
138
  get timeslice() {
139
139
  return t(this, E);
140
140
  }
141
141
  set timeslice(s) {
142
142
  if (s === t(this, z) || A(s) && t(this, z) === rt) return;
143
- const { from: i, to: n, timezone: o } = e(this, z, s ?? rt);
144
- e(this, E, At(i, n)), this.timezone = o;
143
+ const { from: i, to: n, timezone: f } = e(this, z, s ?? rt);
144
+ e(this, E, At(i, n)), this.timezone = f;
145
145
  }
146
146
  get timezone() {
147
147
  return t(this, _);
@@ -161,16 +161,16 @@ const x = class x {
161
161
  refreshFrame(s = !1) {
162
162
  var i;
163
163
  if (t(this, D).length = 0, !(tt(t(this, F)) || s)) {
164
- const n = this.getFrameBlockAtIndex(t(this, p)), { from: o, to: f } = n.inner, [g] = a(this, r, b).call(this, this.getTimestampAtIndex(o + t(this, F)), !1);
165
- e(this, F, this.getUnitsOffsetForTimestamp(this.getTimestampAtIndex(o), g));
166
- const d = o + t(this, F), y = at(o, d, f);
164
+ const n = this.getFrameBlockAtIndex(t(this, p)), { from: f, to: o } = n.inner, [g] = a(this, r, b).call(this, this.getTimestampAtIndex(f + t(this, F)), !1);
165
+ e(this, F, this.getUnitsOffsetForTimestamp(this.getTimestampAtIndex(f), g));
166
+ const d = f + t(this, F), y = at(f, d, o);
167
167
  if (y > d)
168
- return e(this, F, this.getUnitsForFrameBlockAtIndex(--M(this, p)._) + d - y), t(this, p) >= 0 ? this.refreshFrame() : (e(this, p, t(this, u) - 1), this.shiftFrameByOffset(-1, ht));
168
+ return e(this, F, this.getUnitsForFrameBlockAtIndex(--M(this, p)._) + d - y), t(this, p) >= 0 ? this.refreshFrame() : (e(this, p, t(this, l) - 1), this.shiftFrameByOffset(-1, ht));
169
169
  if (y < d)
170
- return e(this, F, d - y - 1), ++M(this, p)._ < t(this, u) ? this.refreshFrame() : (e(this, p, 0), this.shiftFrameByOffset(1, ht));
171
- e(this, K, o), e(this, Y, f), e(this, B, a(this, r, b).call(this, this.getTimestampAtIndex(d), !1)[0]), e(this, F, this.getCursorBlockOriginTimestampOffset(t(this, B))), e(this, k, o + t(this, F));
172
- const P = t(this, p) > 0 ? this.getFrameBlockAtIndex(0) : n, Q = t(this, p) < t(this, u) - 1 ? this.getFrameBlockAtIndex(t(this, u) - 1) : n;
173
- e(this, v, P.inner.from), e(this, V, Q.inner.to), e(this, J, Q.outer.to + 1);
170
+ return e(this, F, d - y - 1), ++M(this, p)._ < t(this, l) ? this.refreshFrame() : (e(this, p, 0), this.shiftFrameByOffset(1, ht));
171
+ e(this, K, f), e(this, v, o), e(this, B, a(this, r, b).call(this, this.getTimestampAtIndex(d), !1)[0]), e(this, F, this.getCursorBlockOriginTimestampOffset(t(this, B))), e(this, k, f + t(this, F));
172
+ const P = t(this, p) > 0 ? this.getFrameBlockAtIndex(0) : n, Q = t(this, p) < t(this, l) - 1 ? this.getFrameBlockAtIndex(t(this, l) - 1) : n;
173
+ e(this, Y, P.inner.from), e(this, V, Q.inner.to), e(this, J, Q.outer.to + 1);
174
174
  }
175
175
  this.withCurrentDayTimestamp(), (i = t(this, N)) == null || i.call(this);
176
176
  }
@@ -183,12 +183,12 @@ const x = class x {
183
183
  return a(this, r, H).call(this, s * 12);
184
184
  case ht:
185
185
  default:
186
- return a(this, r, H).call(this, s * t(this, u));
186
+ return a(this, r, H).call(this, s * t(this, l));
187
187
  }
188
188
  }
189
189
  shiftFrameCursor(s) {
190
190
  switch (s) {
191
- case Yt:
191
+ case vt:
192
192
  return a(this, r, O).call(this, -1);
193
193
  case Kt:
194
194
  return a(this, r, O).call(this, 1);
@@ -199,7 +199,7 @@ const x = class x {
199
199
  case Wt:
200
200
  return a(this, r, O).call(this, t(this, K) - t(this, k));
201
201
  case zt:
202
- return a(this, r, O).call(this, t(this, Y) - t(this, k));
202
+ return a(this, r, O).call(this, t(this, v) - t(this, k));
203
203
  case wt:
204
204
  return a(this, r, O).call(this, -(t(this, k) % this.rowspan));
205
205
  case Nt:
@@ -209,61 +209,61 @@ const x = class x {
209
209
  case Lt:
210
210
  return a(this, r, O).call(this, this.getUnitsForFrameBlockAtIndex(t(this, p) ?? 0));
211
211
  }
212
- if (!(s < 0) && s >= t(this, v) && s <= t(this, V))
212
+ if (!(s < 0) && s >= t(this, Y) && s <= t(this, V))
213
213
  return a(this, r, O).call(this, s - t(this, k));
214
214
  }
215
215
  shiftFrameToTimestamp(s) {
216
216
  e(this, B, this.originTimestamp = a(this, r, b).call(this, s, !1).reduce((i, n) => i + n)), e(this, F, this.getCursorBlockOriginTimestampOffset(t(this, B))), this.reoriginate(), [M(this, R)._, M(this, C)._] = this.getEdgeBlockOffsetsFromOrigin(), a(this, r, mt).call(this), this.refreshFrame(), a(this, r, O).call(this, this.getUnitsOffsetForTimestamp(this.getTimestampAtIndex(t(this, k)), t(this, B)));
217
217
  }
218
218
  clearSelection() {
219
- this.blankSelection || (e(this, l, e(this, c, void 0)), this.refreshFrame(!0));
219
+ this.blankSelection || (e(this, u, e(this, c, void 0)), this.refreshFrame(!0));
220
220
  }
221
221
  updateSelection(s, i) {
222
- const n = t(this, l), o = t(this, c), f = a(this, r, b).call(this, s, !1).reduce((g, d) => g + d);
223
- switch (i === lt && (f <= n ? i = dt : f >= o && (i = gt)), i) {
222
+ const n = t(this, u), f = t(this, c), o = a(this, r, b).call(this, s, !1).reduce((g, d) => g + d);
223
+ switch (i === ut && (o <= n ? i = dt : o >= f && (i = gt)), i) {
224
224
  case gt:
225
- e(this, l, f), e(this, c, Math.max(t(this, l), o ?? f));
225
+ e(this, u, o), e(this, c, Math.max(t(this, u), f ?? o));
226
226
  break;
227
227
  case dt:
228
- e(this, c, f), e(this, l, Math.min(n ?? f, t(this, c)));
228
+ e(this, c, o), e(this, u, Math.min(n ?? o, t(this, c)));
229
229
  break;
230
- case lt:
231
- case ut: {
232
- let g = Math.abs(f - (n ?? f)), d = Math.abs(f - (o ?? f));
233
- i === ut && ([g, d] = [d, g]), g > d ? e(this, l, f) : e(this, c, f);
230
+ case ut:
231
+ case lt: {
232
+ let g = Math.abs(o - (n ?? o)), d = Math.abs(o - (f ?? o));
233
+ i === lt && ([g, d] = [d, g]), g > d ? e(this, u, o) : e(this, c, o);
234
234
  break;
235
235
  }
236
- case vt:
236
+ case Yt:
237
237
  default:
238
- e(this, l, e(this, c, f));
238
+ e(this, u, e(this, c, o));
239
239
  break;
240
240
  }
241
- (t(this, l) !== n || t(this, c) !== o) && this.refreshFrame(!0);
241
+ (t(this, u) !== n || t(this, c) !== f) && this.refreshFrame(!0);
242
242
  }
243
243
  };
244
- L = new WeakMap(), p = new WeakMap(), K = new WeakMap(), Y = new WeakMap(), v = new WeakMap(), V = new WeakMap(), k = new WeakMap(), F = new WeakMap(), B = new WeakMap(), U = new WeakMap(), N = new WeakMap(), w = new WeakMap(), D = new WeakMap(), S = new WeakMap(), X = new WeakMap(), l = new WeakMap(), c = new WeakMap(), u = new WeakMap(), z = new WeakMap(), E = new WeakMap(), _ = new WeakMap(), W = new WeakMap(), T = new WeakMap(), j = new WeakMap(), q = new WeakMap(), R = new WeakMap(), C = new WeakMap(), G = new WeakMap(), J = new WeakMap(), st = new WeakMap(), it = new WeakMap(), r = new WeakSet(), Tt = function() {
245
- const { from: s, to: i, span: n, offsets: o } = t(this, E);
246
- e(this, j, s - o.from), e(this, q, i - o.to), e(this, G, n);
247
- const f = tt(t(this, l)) ? t(this, l) : Math.max(t(this, l), s), g = tt(t(this, c)) ? t(this, c) : Math.min(t(this, c), i);
248
- f === t(this, l) || g === t(this, c) ? (e(this, l, f), e(this, c, g)) : e(this, l, e(this, c, void 0)), this.reslice(), e(this, X, ot(12, this.numberOfBlocks)), e(this, u, ot(t(this, u), this.numberOfBlocks)), this.shiftFrameToTimestamp(t(this, B));
244
+ L = new WeakMap(), p = new WeakMap(), K = new WeakMap(), v = new WeakMap(), Y = new WeakMap(), V = new WeakMap(), k = new WeakMap(), F = new WeakMap(), B = new WeakMap(), U = new WeakMap(), N = new WeakMap(), w = new WeakMap(), D = new WeakMap(), S = new WeakMap(), X = new WeakMap(), u = new WeakMap(), c = new WeakMap(), l = new WeakMap(), z = new WeakMap(), E = new WeakMap(), _ = new WeakMap(), W = new WeakMap(), T = new WeakMap(), j = new WeakMap(), q = new WeakMap(), R = new WeakMap(), C = new WeakMap(), G = new WeakMap(), J = new WeakMap(), st = new WeakMap(), it = new WeakMap(), r = new WeakSet(), Tt = function() {
245
+ const { from: s, to: i, span: n, offsets: f } = t(this, E);
246
+ e(this, j, s - f.from), e(this, q, i - f.to), e(this, G, n);
247
+ const o = tt(t(this, u)) ? t(this, u) : Math.max(t(this, u), s), g = tt(t(this, c)) ? t(this, c) : Math.min(t(this, c), i);
248
+ o === t(this, u) || g === t(this, c) ? (e(this, u, o), e(this, c, g)) : e(this, u, e(this, c, void 0)), this.reslice(), e(this, X, ft(12, this.numberOfBlocks)), e(this, l, ft(t(this, l), this.numberOfBlocks)), this.shiftFrameToTimestamp(t(this, B));
249
249
  }, It = function(s) {
250
- return at(t(this, R), s || 0, t(this, C) - t(this, u) + 1);
250
+ return at(t(this, R), s || 0, t(this, C) - t(this, l) + 1);
251
251
  }, b = function(s, i = !0) {
252
252
  let n = new Date(s).getTime();
253
253
  if (isNaN(n)) return a(this, r, b).call(this, Date.now());
254
- const { from: o, to: f } = t(this, E), g = at(o, n, f);
255
- g !== n && i ? (n = qt(o, f), (isNaN(n) || nt(n)) && (n = g)) : n = g;
254
+ const { from: f, to: o } = t(this, E), g = at(f, n, o);
255
+ g !== n && i ? (n = qt(f, o), (isNaN(n) || nt(n)) && (n = g)) : n = g;
256
256
  const d = Dt(n, t(this, _));
257
257
  return [n - d, d];
258
258
  }, Bt = function(s) {
259
- if (Ft(s) && s >= 0 && s < t(this, u)) {
259
+ if (Ft(s) && s >= 0 && s < t(this, l)) {
260
260
  if (!t(this, D)[s]) {
261
261
  const i = this.getFrameBlockAtIndex(s);
262
262
  if (!i) return;
263
- const [n, o] = this.getFormattedDataForFrameBlock(i[i.inner.from][0] + ct / 2), f = i.outer.from;
263
+ const [n, f] = this.getFormattedDataForFrameBlock(i[i.inner.from][0] + ct / 2), o = i.outer.from;
264
264
  t(this, D)[s] = $(
265
265
  {
266
- datetime: I(o),
266
+ datetime: I(f),
267
267
  label: I(n),
268
268
  length: I(Math.ceil(i.outer.units / this.rowspan)),
269
269
  month: I(i.month),
@@ -276,7 +276,7 @@ L = new WeakMap(), p = new WeakMap(), K = new WeakMap(), Y = new WeakMap(), v =
276
276
  return Jt({
277
277
  datetime: I(Et),
278
278
  flags: I(Vt(Q)),
279
- index: I(f + y + d),
279
+ index: I(o + y + d),
280
280
  label: I(St),
281
281
  timestamp: I(P)
282
282
  });
@@ -290,9 +290,9 @@ L = new WeakMap(), p = new WeakMap(), K = new WeakMap(), Y = new WeakMap(), v =
290
290
  s !== 0 && (e(this, F, t(this, F) + s), this.refreshFrame());
291
291
  }, H = function(s) {
292
292
  const i = a(this, r, It).call(this, s);
293
- i && (this.shiftOrigin(i), e(this, R, t(this, R) - i), e(this, C, t(this, C) - i), e(this, p, Gt(t(this, p) - i, t(this, u))), this.refreshFrame());
293
+ i && (this.shiftOrigin(i), e(this, R, t(this, R) - i), e(this, C, t(this, C) - i), e(this, p, Gt(t(this, p) - i, t(this, l))), this.refreshFrame());
294
294
  }, mt = function() {
295
- const s = t(this, u) - 1, i = Math.min(s - this.origin % t(this, u), t(this, C)) - s;
295
+ const s = t(this, l) - 1, i = Math.min(s - this.origin % t(this, l), t(this, C)) - s;
296
296
  i && a(this, r, H).call(this, i);
297
297
  }, h(x, L, Xt);
298
298
  let kt = x;
@@ -1,8 +1,8 @@
1
- import { createRangeTimestampsConfigRestampingContext as W, parseRangeTimestamp as i, isRangeTimestampsConfigWithoutOffsets as Y, isRangeTimestampsConfigWithFromOffsets as b, getRangeTimestampsConfigParameterUnwrapper as E } from "./utils.js";
1
+ import { createRangeTimestampsConfigRestampingContext as W, parseRangeTimestamp as i, isRangeTimestampsConfigWithoutOffsets as Y, getRangeTimestampsConfigParameterUnwrapper as b, isRangeTimestampsConfigWithFromOffsets as E } from "./utils.js";
2
2
  import H from "../../../../../core/Localization/datetime/restamper/restamper.js";
3
+ import { EMPTY_OBJECT as u } from "../../../../../utils/value/constants.js";
3
4
  import { asPlainObject as d, struct as C } from "../../../../../utils/struct/main.js";
4
5
  import { getter as c } from "../../../../../utils/struct/property.js";
5
- import { EMPTY_OBJECT as u } from "../../../../../utils/value/constants.js";
6
6
  const U = (R = u, D = u) => {
7
7
  const s = d(R), h = d(D);
8
8
  return () => {
@@ -10,7 +10,7 @@ const U = (R = u, D = u) => {
10
10
  now: l,
11
11
  timezone: w,
12
12
  ...W(a)
13
- }), m = E(s, f);
13
+ }), m = b(s, f);
14
14
  let { from: n, to: r, now: o } = u;
15
15
  const g = (p) => {
16
16
  o = i(p ?? Date.now()) ?? o;
@@ -20,7 +20,7 @@ const U = (R = u, D = u) => {
20
20
  break t;
21
21
  }
22
22
  let t, e, T;
23
- (T = b(s)) ? (t = new Date(n = i(m(s.from)) ?? o), e = 1) : (t = new Date(r = i(m(s.to)) ?? o), e = -1), t = new Date(f.timezoneToSystem(t));
23
+ (T = E(s)) ? (t = new Date(n = i(m(s.from)) ?? o), e = 1) : (t = new Date(r = i(m(s.to)) ?? o), e = -1), t = new Date(f.timezoneToSystem(t));
24
24
  const [F = 0, O = 0, x = 0, M = 0, S = 0, _ = 0, P = 0] = m(s.offsets);
25
25
  t.setFullYear(t.getFullYear() + F * e, t.getMonth() + O * e, t.getDate() + x * e), t.setHours(
26
26
  t.getHours() + M * e,
@@ -1,7 +1,7 @@
1
1
  import m from "../factory.js";
2
- import { nowTimestamp as D, getRangeTimestampsContextIntegerPropertyFactory as c } from "../utils.js";
2
+ import { getRangeTimestampsContextIntegerPropertyFactory as D, nowTimestamp as c } from "../utils.js";
3
3
  import { startOfDay as f } from "../../utils.js";
4
- const p = 365, y = 1, i = 1, u = c(y, p, i), A = (o) => {
4
+ const p = 365, y = 1, i = 1, u = D(y, p, i), A = (o) => {
5
5
  const e = u(o);
6
6
  return m(
7
7
  {
@@ -9,7 +9,7 @@ const p = 365, y = 1, i = 1, u = c(y, p, i), A = (o) => {
9
9
  const t = new Date(n(f(r, a)));
10
10
  return t.setDate(t.getDate() - e.value + 1), s(t);
11
11
  },
12
- to: D
12
+ to: c
13
13
  },
14
14
  { numberOfDays: e.descriptor }
15
15
  )();
@@ -1,8 +1,8 @@
1
1
  import p from "../../factory.js";
2
- import { offsetsForNDays as D, getRangeTimestampsContextIntegerPropertyFactory as y, nowTimestamp as F } from "../../utils.js";
2
+ import { getRangeTimestampsContextIntegerPropertyFactory as D, offsetsForNDays as y, nowTimestamp as F } from "../../utils.js";
3
3
  import { startOfWeek as g } from "../../../utils.js";
4
4
  import { clamp as E } from "../../../../../../../utils/value/number.js";
5
- const r = 1, W = D(7), k = y(0, 6, r), C = (s = 0) => {
5
+ const r = 1, W = y(7), k = D(0, 6, r), C = (s = 0) => {
6
6
  const e = ~~E(0, s, 1 / 0) || 0;
7
7
  return (n = r) => {
8
8
  const a = e ? { offsets: W } : { to: F }, o = k(n);
@@ -1,16 +1,16 @@
1
- import { systemToTimezone as p, timezoneToSystem as g } from "../../../../../core/Localization/datetime/restamper/utils.js";
1
+ import { timezoneToSystem as p, systemToTimezone as g } from "../../../../../core/Localization/datetime/restamper/utils.js";
2
2
  import { clamp as T, isBitSafeInteger as l } from "../../../../../utils/value/number.js";
3
- import { enumerable as m, getter as z, hasOwnProperty as c } from "../../../../../utils/struct/property.js";
3
+ import { enumerable as m, hasOwnProperty as c, getter as z } from "../../../../../utils/struct/property.js";
4
4
  import { struct as u } from "../../../../../utils/struct/main.js";
5
- import { isUndefined as d, isNullish as h, isFunction as w } from "../../../../../utils/value/is.js";
5
+ import { isUndefined as d, isFunction as h, isNullish as w } from "../../../../../utils/value/is.js";
6
6
  const O = (e) => Object.freeze({
7
- systemToTimezone: m((t) => p(e, t)),
8
- timezoneToSystem: m((t) => g(e, t)),
7
+ systemToTimezone: m((t) => g(e, t)),
8
+ timezoneToSystem: m((t) => p(e, t)),
9
9
  timezoneOffset: m((t) => e(t).offset)
10
10
  }), V = (e, t, o = e) => {
11
11
  const a = (n, i) => {
12
12
  let s = n;
13
- h(n) ? s = o : l(n) || (s = i ?? o);
13
+ w(n) ? s = o : l(n) || (s = i ?? o);
14
14
  const r = T(e, s, t);
15
15
  return r === s ? r : i ?? o;
16
16
  };
@@ -28,7 +28,7 @@ const O = (e) => Object.freeze({
28
28
  })
29
29
  });
30
30
  };
31
- }, x = (e, t) => (o) => w(o) ? o.call(e, t) : o, P = (e) => !c(e, "offsets"), S = (e) => c(e, "from"), j = ({ now: e }) => e, U = /* @__PURE__ */ (() => {
31
+ }, x = (e, t) => (o) => h(o) ? o.call(e, t) : o, P = (e) => !c(e, "offsets"), S = (e) => c(e, "from"), j = ({ now: e }) => e, U = /* @__PURE__ */ (() => {
32
32
  const e = /* @__PURE__ */ new Map();
33
33
  return (t) => {
34
34
  let o = e.get(t);
@@ -1,10 +1,10 @@
1
- import m from "./TimeSlice.js";
2
- import { RANGE_FROM as c, RANGE_TO as l } from "../constants.js";
1
+ import n from "./TimeSlice.js";
2
+ import { RANGE_TO as c, RANGE_FROM as l } from "../constants.js";
3
3
  import { withTimezone as r } from "../utils.js";
4
4
  import { struct as f } from "../../../../../utils/struct/main.js";
5
5
  import { getter as o } from "../../../../../utils/struct/property.js";
6
- const n = (...s) => {
7
- let t = r().tz.current, e = new m(t, ...s);
6
+ const m = (...s) => {
7
+ let t = r().tz.current, e = new n(t, ...s);
8
8
  return f({
9
9
  from: o(() => e.startTimestamp, !1),
10
10
  to: o(() => e.endTimestamp, !1),
@@ -19,11 +19,11 @@ const n = (...s) => {
19
19
  ...o(() => t, !1),
20
20
  set: (i) => {
21
21
  const a = t;
22
- t = r(i ?? void 0).tz.current, t !== a && (e = new m(t, ...s));
22
+ t = r(i ?? void 0).tz.current, t !== a && (e = new n(t, ...s));
23
23
  }
24
24
  }
25
25
  });
26
- }, p = n(), N = () => n(Date.now(), c), O = () => n(Date.now(), l), d = (...s) => s.length === 0 ? p : n(...s);
26
+ }, p = m(), N = () => m(Date.now(), l), O = () => m(Date.now(), c), d = (...s) => s.length === 0 ? p : m(...s);
27
27
  export {
28
28
  p as UNBOUNDED_SLICE,
29
29
  d as default,
@@ -1,19 +1,19 @@
1
- import { BASE_FORMAT_OPTIONS as h, BASE_LOCALE as p } from "../../../../core/Localization/datetime/restamper/constants.js";
1
+ import { BASE_FORMAT_OPTIONS as p, BASE_LOCALE as u } from "../../../../core/Localization/datetime/restamper/constants.js";
2
2
  import { DEFAULT_DATETIME_FORMAT as f } from "../../../../core/Localization/constants/localization.js";
3
- import O from "../../../../core/Localization/datetime/restamper/restamper.js";
4
- import { timezoneToSystem as E, systemToTimezone as M } from "../../../../core/Localization/datetime/restamper/utils.js";
3
+ import { timezoneToSystem as O, systemToTimezone as E } from "../../../../core/Localization/datetime/restamper/utils.js";
4
+ import M from "../../../../core/Localization/datetime/restamper/restamper.js";
5
5
  import { isInfinity as m, mod as g } from "../../../../utils/value/number.js";
6
6
  import { identity as A } from "../../../../utils/common.js";
7
- import { EMPTY_ARRAY as _, EMPTY_OBJECT as y } from "../../../../utils/value/constants.js";
7
+ import { EMPTY_OBJECT as _, EMPTY_ARRAY as y } from "../../../../utils/value/constants.js";
8
8
  import { isUndefined as S } from "../../../../utils/value/is.js";
9
- const Y = /^(\d{2})\/(\d{2})\/(-?\d+),\s+(\d{2}):(\d{2}):(\d{2}).(\d{3})/, c = (t = A) => (e, n, ...o) => {
10
- const s = d(n), r = new Date(E(s, e));
11
- return r.setHours(0, 0, 0, 0), M(s, t(r, ...o));
9
+ const Y = /^(\d{2})\/(\d{2})\/(-?\d+),\s+(\d{2}):(\d{2}):(\d{2}).(\d{3})/, c = (t = A) => (e, o, ...n) => {
10
+ const s = d(o), r = new Date(O(s, e));
11
+ return r.setHours(0, 0, 0, 0), E(s, t(r, ...n));
12
12
  }, z = c(), C = c((t) => t.setDate(1)), U = c((t) => t.setMonth(0, 1)), W = c((t, e) => {
13
- const n = R(t.getDay(), e ?? 0);
14
- return t.setDate(t.getDate() - n);
15
- }), I = (t) => (t % 100 ? t % 4 : t % 400) === 0, Z = (t, e, n = 0) => {
16
- const o = t + n, s = g(o, 12), r = e + Math.floor(o / 12);
13
+ const o = R(t.getDay(), e ?? 0);
14
+ return t.setDate(t.getDate() - o);
15
+ }), I = (t) => (t % 100 ? t % 4 : t % 400) === 0, Z = (t, e, o = 0) => {
16
+ const n = t + o, s = g(n, 12), r = e + Math.floor(n / 12);
17
17
  let a = 31;
18
18
  switch (s) {
19
19
  case 1:
@@ -27,24 +27,24 @@ const Y = /^(\d{2})\/(\d{2})\/(-?\d+),\s+(\d{2}):(\d{2}):(\d{2}).(\d{3})/, c = (
27
27
  break;
28
28
  }
29
29
  return [a, s, r];
30
- }, R = (t, e = 0) => (7 - e + t) % 7, j = (t, e) => m(t) ? 0 : t - z(t, e), G = (t) => S(t) ? t : new Date(t), w = (t, e = y) => {
31
- const n = d(e.timeZone), o = { ...f, ...e, timeZone: n.tz.current };
32
- return new Date(t).toLocaleDateString(p, o);
30
+ }, R = (t, e = 0) => (7 - e + t) % 7, j = (t, e) => m(t) ? 0 : t - z(t, e), v = (t) => S(t) ? t : new Date(t), w = (t, e = _) => {
31
+ const o = d(e.timeZone), n = { ...f, ...e, timeZone: o.tz.current };
32
+ return new Date(t).toLocaleDateString(u, n);
33
33
  }, i = (t, e) => {
34
- const n = w(t, { ...h, ...f, timeZone: e, hour12: !1 }), [, o = "", s = "", r = "", a = "", D = "", T = "", u = ""] = n.match(Y) ?? _;
35
- return [+r, +o - 1, +s, +a % 24, +D, +T, +u];
36
- }, H = (t, e, n) => {
34
+ const o = w(t, { ...p, ...f, timeZone: e, hour12: !1 }), [, n = "", s = "", r = "", a = "", D = "", T = "", h = ""] = o.match(Y) ?? y;
35
+ return [+r, +n - 1, +s, +a % 24, +D, +T, +h];
36
+ }, G = (t, e, o) => {
37
37
  if (m(t) || m(e)) return 1 / 0;
38
- const [o, s] = i(t, n), [r, a] = i(e, n);
39
- return Math.abs(a - s + (r - o) * 12);
38
+ const [n, s] = i(t, o), [r, a] = i(e, o);
39
+ return Math.abs(a - s + (r - n) * 12);
40
40
  }, d = (() => {
41
- const t = O();
41
+ const t = M();
42
42
  return (e) => (t.tz = void 0, t.tz = e, t);
43
43
  })();
44
44
  export {
45
45
  j as computeTimestampOffset,
46
- G as getDateObjectFromTimestamp,
47
- H as getEdgesDistance,
46
+ v as getDateObjectFromTimestamp,
47
+ G as getEdgesDistance,
48
48
  Z as getMonthDays,
49
49
  i as getTimezoneDateParts,
50
50
  w as getTimezoneDateString,
@@ -3,9 +3,9 @@ import { memo as y } from "../../../../../external/preact/compat/dist/compat.mod
3
3
  import { propsProperty as k, property as o } from "./utils.js";
4
4
  import { CalendarGridRenderToken as L } from "../../types.js";
5
5
  import { memoComparator as n } from "../../../../../utils/preact/memoComparator/main.js";
6
- import { EMPTY_OBJECT as l } from "../../../../../utils/value/constants.js";
6
+ import { EMPTY_OBJECT as d } from "../../../../../utils/value/constants.js";
7
7
  import { getClassName as m } from "../../../../../utils/preact/className.js";
8
- const i = "adyen-pe-calendar__cell adyen-pe-calendar__cell--day-of-week", p = "adyen-pe-calendar__day-of-week", u = (a = l, e) => {
8
+ const i = "adyen-pe-calendar__cell adyen-pe-calendar__cell--day-of-week", p = "adyen-pe-calendar__day-of-week", u = (a = d, e) => {
9
9
  const s = k.unwrapped(
10
10
  {
11
11
  childClassName: o.mutable(p),
@@ -24,19 +24,19 @@ const i = "adyen-pe-calendar__cell adyen-pe-calendar__cell--day-of-week", p = "a
24
24
  );
25
25
  return e == null || e(L.DAY_OF_WEEK, s), s;
26
26
  }, A = ({ prepare: a, flags: e, labels: { long: s, short: _ } }) => {
27
- const d = {
27
+ const l = {
28
28
  "aria-label": s,
29
29
  "data-first-week-day": e.LINE_START,
30
30
  "data-last-week-day": e.LINE_END,
31
31
  "data-weekend": e.WEEKEND,
32
32
  scope: "col"
33
- }, r = u(d, a), { children: P, className: N, ...c } = r.props || l, E = m(r.className, i, N), {
34
- children: D,
35
- className: f,
36
- ...h
37
- } = r.childProps || l, C = m(r.childClassName, p, f);
38
- return /* @__PURE__ */ t("th", { ...c, ref: c.ref, ...d, className: E, children: /* @__PURE__ */ t("abbr", { ...h, className: C, children: _ }) });
39
- }, G = y(
33
+ }, r = u(l, a), { children: P, className: N, onCommand: D, ...c } = r.props || d, C = m(r.className, i, N), {
34
+ children: b,
35
+ className: E,
36
+ ...f
37
+ } = r.childProps || d, h = m(r.childClassName, p, E);
38
+ return /* @__PURE__ */ t("th", { ...c, ref: c.ref, ...l, className: C, children: /* @__PURE__ */ t("abbr", { ...f, className: h, children: _ }) });
39
+ }, M = y(
40
40
  A,
41
41
  n({
42
42
  block: n.exclude,
@@ -44,5 +44,5 @@ const i = "adyen-pe-calendar__cell adyen-pe-calendar__cell--day-of-week", p = "a
44
44
  })
45
45
  );
46
46
  export {
47
- G as default
47
+ M as default
48
48
  };
@@ -1,25 +1,25 @@
1
1
  import { isPlainObject as b } from "../../../../../utils/value/is.js";
2
- import { EMPTY_OBJECT as u } from "../../../../../utils/value/constants.js";
3
- import { struct as a, structFrom as l } from "../../../../../utils/struct/main.js";
2
+ import { struct as u, structFrom as l } from "../../../../../utils/struct/main.js";
3
+ import { EMPTY_OBJECT as a } from "../../../../../utils/value/constants.js";
4
4
  import { enumerable as m } from "../../../../../utils/struct/property.js";
5
5
  import { boolOrTrue as O } from "../../../../../utils/value/bool.js";
6
- const c = (() => {
7
- const s = (e) => Object.freeze(
8
- l(u, Object.fromEntries(Object.entries(e).map(([r, t]) => [r, { value: t }])))
6
+ const n = (() => {
7
+ const c = (e) => Object.freeze(
8
+ l(a, Object.fromEntries(Object.entries(e).map(([r, t]) => [r, { value: t }])))
9
9
  ), i = (e) => {
10
10
  try {
11
- return Object.getPrototypeOf(e) === u;
11
+ return Object.getPrototypeOf(e) === a;
12
12
  } catch {
13
13
  return !1;
14
14
  }
15
15
  }, o = (e, r) => {
16
- if (!e) return s(m(r, O(e)));
16
+ if (!e) return c(m(r, O(e)));
17
17
  let t = r;
18
- return s({
18
+ return c({
19
19
  enumerable: !0,
20
20
  get: () => t,
21
- set: (n) => {
22
- t = e(n);
21
+ set: (s) => {
22
+ t = e(s);
23
23
  }
24
24
  });
25
25
  };
@@ -31,32 +31,32 @@ const c = (() => {
31
31
  restricted: { value: () => o(!1) }
32
32
  });
33
33
  })(), g = (() => {
34
- const s = (o = {}, e = !1) => {
35
- const r = a();
36
- for (const [t, n] of Object.entries(o)) {
34
+ const c = (o = {}, e = !1) => {
35
+ const r = u();
36
+ for (const [t, s] of Object.entries(o)) {
37
37
  try {
38
- const p = c.is(n), f = c.isObject(n);
38
+ const p = n.is(s), f = n.isObject(s);
39
39
  if (p || f) {
40
- Object.defineProperty(r, t, p ? n : s(n, e));
40
+ Object.defineProperty(r, t, p ? s : c(s, e));
41
41
  continue;
42
42
  } else if (e) {
43
- Object.defineProperty(r, t, c.immutable(n));
43
+ Object.defineProperty(r, t, n.immutable(s));
44
44
  continue;
45
45
  }
46
46
  } catch {
47
47
  }
48
- r[t] = n;
48
+ r[t] = s;
49
49
  }
50
- return c((t = {}) => Object.assign(r, t), r);
50
+ return n((t = {}) => Object.assign(r, t), r);
51
51
  };
52
- return Object.defineProperties(s, {
52
+ return Object.defineProperties(c, {
53
53
  unwrapped: { value: (o = {}, e = !1) => {
54
- const r = s(o, e);
55
- return a({ P: r }).P;
54
+ const r = c(o, e);
55
+ return u({ P: r }).P;
56
56
  } }
57
57
  });
58
58
  })();
59
59
  export {
60
- c as property,
60
+ n as property,
61
61
  g as propsProperty
62
62
  };
@@ -1,4 +1,4 @@
1
- import { useState as J, useMemo as h, useRef as _, useCallback as G, useImperativeHandle as Q, useEffect as P } from "../../../../external/preact/hooks/dist/hooks.module.js";
1
+ import { useState as J, useMemo as l, useRef as _, useCallback as G, useImperativeHandle as Q, useEffect as P } from "../../../../external/preact/hooks/dist/hooks.module.js";
2
2
  import U from "../../../../core/Context/useCoreContext.js";
3
3
  import { getDateObjectFromTimestamp as K } from "../calendar/utils.js";
4
4
  import X from "../../../../hooks/element/useFocusCursor.js";
@@ -21,17 +21,17 @@ const H = ({
21
21
  untilDate: d,
22
22
  useYearView: b
23
23
  }, B) => {
24
- const { i18n: O } = U(), [R, S] = J(performance.now()), F = h(() => n.slice(E, d), [E, d]), I = _(u), x = h(
24
+ const { i18n: O } = U(), [R, S] = J(performance.now()), F = l(() => n.slice(E, d), [E, d]), I = _(u), x = l(
25
25
  () => a ?? (L(C) ? n.controls.MINIMAL : n.controls.NONE),
26
26
  [a, C]
27
- ), A = h(
27
+ ), A = l(
28
28
  () => p ?? (L(s) ? n.highlight.ONE : n.highlight.NONE),
29
29
  [p, s]
30
- ), { grid: t, kill: j } = h(() => {
30
+ ), { grid: t, kill: j } = l(() => {
31
31
  const { grid: e, kill: r } = n(function() {
32
- S(performance.now()), I.current = this, !(o === e.highlight.from && l === e.highlight.to) && (o = e.highlight.from, l = e.highlight.to, s == null || s(o, l));
32
+ S(performance.now()), I.current = this, !(o === e.highlight.from && h === e.highlight.to) && (o = e.highlight.from, h = e.highlight.to, s == null || s(o, h));
33
33
  });
34
- let { from: o, to: l } = e.highlight;
34
+ let { from: o, to: h } = e.highlight;
35
35
  return e.config.cursorIndex = (i) => {
36
36
  let c = i.target;
37
37
  for (; c && c !== i.currentTarget; ) {
@@ -43,7 +43,7 @@ const H = ({
43
43
  if (this.controls === n.controls.MINIMAL)
44
44
  return i != null && i.shiftKey ? 12 : i != null && i.altKey ? this.blocks : 1;
45
45
  }, { grid: e, kill: r };
46
- }, []), q = h(() => {
46
+ }, []), q = l(() => {
47
47
  const e = (r) => {
48
48
  t.cursor(r);
49
49
  };