@adyen/adyen-platform-experience-web 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/index.js +2 -2
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/es/components/external/BaseElement.js +12 -3
  5. package/dist/es/components/external/PayoutDetails/PayoutDetails.js +18 -14
  6. package/dist/es/components/external/PayoutDetails/components/PayoutData.js +200 -85
  7. package/dist/es/components/external/PayoutDetails/components/constants.js +8 -7
  8. package/dist/es/components/external/PayoutsOverview/PayoutsOverviewElement.js +14 -20
  9. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +137 -116
  10. package/dist/es/components/external/PayoutsOverview/components/PayoutsOverviewContainer/PayoutsOverviewContainer.js +22 -14
  11. package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +92 -56
  12. package/dist/es/components/external/TransactionDetails/TransactionDetails.js +16 -12
  13. package/dist/es/components/external/TransactionDetails/components/TransactionData.js +81 -57
  14. package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +12 -9
  15. package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +17 -23
  16. package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +16 -4
  17. package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +35 -34
  18. package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +52 -26
  19. package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +17 -4
  20. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +20 -25
  21. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +1 -13
  22. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +12 -7
  23. package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +4 -1
  24. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +47 -20
  25. package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +22 -13
  26. package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +23 -28
  27. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +30 -30
  28. package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +72 -41
  29. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +215 -186
  30. package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +22 -14
  31. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +21 -14
  32. package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +116 -83
  33. package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +4 -6
  34. package/dist/es/components/external/UIElement/UIElement.js +39 -24
  35. package/dist/es/components/hooks/useBalanceAccountSelection.js +20 -11
  36. package/dist/es/components/hooks/useBalanceAccounts.js +22 -19
  37. package/dist/es/components/hooks/useDefaultOverviewFilterParams.js +28 -16
  38. package/dist/es/components/hooks/useTimezoneAwareDateFormatting.js +31 -0
  39. package/dist/es/components/internal/Accordion/Accordion.js +58 -0
  40. package/dist/es/components/internal/Accordion/Accordion.scss.js +4 -0
  41. package/dist/es/components/internal/Accordion/constants.js +8 -0
  42. package/dist/es/components/internal/BaseButton/BaseButton.js +26 -12
  43. package/dist/es/components/internal/BaseList/BaseList.js +8 -3
  44. package/dist/es/components/internal/Button/Button.js +31 -18
  45. package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +19 -13
  46. package/dist/es/components/internal/Button/ButtonActions/types.js +4 -1
  47. package/dist/es/components/internal/Button/hooks/useButton.js +7 -10
  48. package/dist/es/components/internal/Calendar/Calendar.js +16 -15
  49. package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +301 -292
  50. package/dist/es/components/internal/Calendar/calendar/facade/index.js +40 -13
  51. package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +17 -18
  52. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +125 -100
  53. package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +209 -200
  54. package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +14 -9
  55. package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +23 -19
  56. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +23 -14
  57. package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +26 -22
  58. package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +11 -10
  59. package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +39 -41
  60. package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +10 -10
  61. package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +26 -17
  62. package/dist/es/components/internal/Calendar/calendar/utils.js +64 -16
  63. package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +11 -3
  64. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +46 -19
  65. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +57 -39
  66. package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +44 -26
  67. package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +26 -12
  68. package/dist/es/components/internal/Calendar/hooks/useCalendar.js +82 -72
  69. package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +33 -38
  70. package/dist/es/components/internal/Calendar/hooks/useTimezone.js +25 -9
  71. package/dist/es/components/internal/Card/Card.js +28 -17
  72. package/dist/es/components/internal/CopyText/CopyText.js +15 -11
  73. package/dist/es/components/internal/DataGrid/DataGrid.js +104 -68
  74. package/dist/es/components/internal/DataGrid/DataGridCell.js +24 -23
  75. package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +20 -12
  76. package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +24 -14
  77. package/dist/es/components/internal/DataGrid/components/TableBody.js +14 -9
  78. package/dist/es/components/internal/DataGrid/components/TableCells.js +31 -10
  79. package/dist/es/components/internal/DataGrid/components/TableHeaderCell.js +23 -16
  80. package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +75 -68
  81. package/dist/es/components/internal/DataGrid/utils/DataGridProvider.js +23 -18
  82. package/dist/es/components/internal/DataOverviewContainer/DataOverviewContainer.js +15 -15
  83. package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +80 -39
  84. package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +19 -18
  85. package/dist/es/components/internal/DataOverviewDisplay/constants.js +20 -1
  86. package/dist/es/components/internal/DataOverviewError/DataOverviewError.js +13 -16
  87. package/dist/es/components/internal/DatePicker/DatePicker.js +52 -33
  88. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +24 -15
  89. package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +25 -29
  90. package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +48 -27
  91. package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +59 -34
  92. package/dist/es/components/internal/FilterBar/FilterBar.js +29 -28
  93. package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +26 -5
  94. package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +54 -49
  95. package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +64 -55
  96. package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +83 -90
  97. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +40 -44
  98. package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +123 -103
  99. package/dist/es/components/internal/FormFields/InputBase.js +63 -54
  100. package/dist/es/components/internal/FormFields/InputText.js +11 -5
  101. package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +30 -33
  102. package/dist/es/components/internal/FormFields/Select/Select.js +142 -149
  103. package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +81 -61
  104. package/dist/es/components/internal/FormFields/Select/components/SelectList.js +59 -54
  105. package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +51 -31
  106. package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +27 -28
  107. package/dist/es/components/internal/Image/Image.js +21 -8
  108. package/dist/es/components/internal/Img/Img.js +25 -9
  109. package/dist/es/components/internal/Modal/Modal.js +61 -81
  110. package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +23 -4
  111. package/dist/es/components/internal/Pagination/Pagination.js +58 -51
  112. package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +11 -4
  113. package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +12 -5
  114. package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +30 -27
  115. package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +104 -67
  116. package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +7 -1
  117. package/dist/es/components/internal/Pagination/hooks/usePagination.js +34 -13
  118. package/dist/es/components/internal/Popover/Popover.js +118 -128
  119. package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +27 -20
  120. package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +13 -6
  121. package/dist/es/components/internal/Popover/utils/popoverUtil.js +15 -7
  122. package/dist/es/components/internal/Popover/utils/utils.js +9 -8
  123. package/dist/es/components/internal/SVGIcons/CheckedBox.js +18 -10
  124. package/dist/es/components/internal/SVGIcons/Checkmark.js +20 -12
  125. package/dist/es/components/internal/SVGIcons/ChevronDown.js +20 -12
  126. package/dist/es/components/internal/SVGIcons/ChevronLeft.js +18 -10
  127. package/dist/es/components/internal/SVGIcons/ChevronRight.js +18 -10
  128. package/dist/es/components/internal/SVGIcons/ChevronUp.js +20 -12
  129. package/dist/es/components/internal/SVGIcons/Close.js +11 -5
  130. package/dist/es/components/internal/SVGIcons/Copy.js +13 -1
  131. package/dist/es/components/internal/SVGIcons/Filter.js +12 -5
  132. package/dist/es/components/internal/SVGIcons/UncheckedBox.js +18 -4
  133. package/dist/es/components/internal/Spinner/Spinner.js +14 -0
  134. package/dist/es/components/internal/Spinner/Spinner.scss.js +4 -0
  135. package/dist/es/components/internal/StructuredList/StructuredList.js +24 -19
  136. package/dist/es/components/internal/StructuredList/useStructuredListItem.js +14 -15
  137. package/dist/es/components/internal/Tag/Tag.js +16 -16
  138. package/dist/es/components/internal/Tooltip/Tooltip.js +35 -18
  139. package/dist/es/components/internal/Tooltip/useTooltipListeners.js +7 -10
  140. package/dist/es/components/internal/Typography/Typography.js +38 -28
  141. package/dist/es/components/utils/getCommonErrorCode.js +4 -1
  142. package/dist/es/components/utils/getErrorMessage.js +7 -5
  143. package/dist/es/core/Auth/context.js +14 -8
  144. package/dist/es/core/Auth/session/AuthSession.js +53 -73
  145. package/dist/es/core/Auth/session/AuthSessionSpecification.js +54 -39
  146. package/dist/es/core/Auth/session/AuthSetupContext.js +67 -43
  147. package/dist/es/core/Auth/session/constants.js +8 -11
  148. package/dist/es/core/Context/CoreProvider.js +21 -11
  149. package/dist/es/core/Http/http.js +43 -33
  150. package/dist/es/core/Http/utils.js +18 -12
  151. package/dist/es/core/Localization/Localization.js +98 -82
  152. package/dist/es/core/Localization/constants/localization.js +5 -1
  153. package/dist/es/core/Localization/datetime/restamper/constants.js +12 -2
  154. package/dist/es/core/Localization/datetime/restamper/restamper.js +18 -5
  155. package/dist/es/core/Localization/datetime/restamper/utils.js +28 -25
  156. package/dist/es/core/Localization/localization-utils.js +30 -18
  157. package/dist/es/core/Localization/utils.js +6 -1
  158. package/dist/es/core/core.js +26 -17
  159. package/dist/es/hooks/element/useClickOutside.js +29 -35
  160. package/dist/es/hooks/element/useDetachedRender.js +7 -10
  161. package/dist/es/hooks/element/useFocusCursor.js +10 -18
  162. package/dist/es/hooks/element/useFocusTrap.js +3 -6
  163. package/dist/es/hooks/element/usePopoverPositioner.js +43 -65
  164. package/dist/es/hooks/element/useUniqueIdentifier.js +3 -9
  165. package/dist/es/hooks/useCommitAction/useCommitAction.js +25 -19
  166. package/dist/es/hooks/useFetch/useFetch.js +29 -7
  167. package/dist/es/hooks/useImageUrl/useImageUrl.js +12 -10
  168. package/dist/es/hooks/useModalDetails/useModalDetails.js +15 -15
  169. package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -9
  170. package/dist/es/index.js +1 -1
  171. package/dist/es/primitives/async/abortable/main.js +19 -16
  172. package/dist/es/primitives/async/promisor/main.js +13 -12
  173. package/dist/es/primitives/auxiliary/indexed/main.js +18 -22
  174. package/dist/es/primitives/context/session/SessionContext.js +41 -129
  175. package/dist/es/primitives/context/session/constants.js +9 -6
  176. package/dist/es/primitives/context/session/internal/autofresher.js +34 -0
  177. package/dist/es/primitives/context/session/internal/constants.js +7 -0
  178. package/dist/es/primitives/context/session/internal/deadline.js +62 -0
  179. package/dist/es/primitives/context/session/internal/refresher.js +66 -0
  180. package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -1
  181. package/dist/es/primitives/reactive/eventEmitter/main.js +11 -19
  182. package/dist/es/primitives/reactive/reflex/main.js +33 -19
  183. package/dist/es/primitives/reactive/reflex/register.js +9 -3
  184. package/dist/es/primitives/reactive/watchlist/helpers.js +12 -8
  185. package/dist/es/primitives/reactive/watchlist/main.js +4 -5
  186. package/dist/es/primitives/time/clock/main.js +6 -1
  187. package/dist/es/primitives/time/interval/main.js +1 -1
  188. package/dist/es/primitives/time/today/main.js +41 -39
  189. package/dist/es/translations/da-DK.json.js +48 -42
  190. package/dist/es/translations/de-DE.json.js +100 -94
  191. package/dist/es/translations/es-ES.json.js +48 -42
  192. package/dist/es/translations/fr-FR.json.js +35 -29
  193. package/dist/es/translations/index.js +21 -1
  194. package/dist/es/translations/it-IT.json.js +27 -21
  195. package/dist/es/translations/nl-NL.json.js +35 -29
  196. package/dist/es/translations/no-NO.json.js +58 -52
  197. package/dist/es/translations/pt-BR.json.js +27 -21
  198. package/dist/es/translations/sv-SE.json.js +53 -47
  199. package/dist/es/utils/abort/constants.js +5 -0
  200. package/dist/es/utils/abort/internals.js +29 -0
  201. package/dist/es/utils/abort/main.js +51 -0
  202. package/dist/es/utils/preact/memoComparator/main.js +3 -1
  203. package/dist/es/utils/struct/main.js +5 -1
  204. package/dist/style.css +1 -1
  205. package/dist/types/components/external/PayoutDetails/PayoutDetails.d.ts.map +1 -1
  206. package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts +40 -3
  207. package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts.map +1 -1
  208. package/dist/types/components/external/PayoutDetails/components/constants.d.ts +1 -0
  209. package/dist/types/components/external/PayoutDetails/components/constants.d.ts.map +1 -1
  210. package/dist/types/components/external/PayoutsOverview/PayoutsOverviewElement.d.ts.map +1 -1
  211. package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts +1 -1
  212. package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts.map +1 -1
  213. package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts +1 -2
  214. package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts.map +1 -1
  215. package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts +2 -2
  216. package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts.map +1 -1
  217. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +1 -1
  218. package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
  219. package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts +2 -2
  220. package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
  221. package/dist/types/components/external/TransactionDetails/index.d.ts +1 -1
  222. package/dist/types/components/external/TransactionDetails/index.d.ts.map +1 -1
  223. package/dist/types/components/external/TransactionDetails/types.d.ts +2 -5
  224. package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
  225. package/dist/types/components/external/TransactionsOverview/TransactionsOverviewElement.d.ts.map +1 -1
  226. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +5 -1
  227. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -1
  228. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -1
  229. package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
  230. package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +1 -1
  231. package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
  232. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.d.ts.map +1 -1
  233. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
  234. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +1 -1
  235. package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
  236. package/dist/types/components/external/TransactionsOverview/hooks/useMaxWidths.d.ts.map +1 -1
  237. package/dist/types/components/external/UIElement/UIElement.d.ts.map +1 -1
  238. package/dist/types/components/hooks/useBalanceAccounts.d.ts +1 -1
  239. package/dist/types/components/hooks/useBalanceAccounts.d.ts.map +1 -1
  240. package/dist/types/components/hooks/useDefaultOverviewFilterParams.d.ts +2 -1
  241. package/dist/types/components/hooks/useDefaultOverviewFilterParams.d.ts.map +1 -1
  242. package/dist/types/components/hooks/useTimezoneAwareDateFormatting.d.ts +6 -0
  243. package/dist/types/components/hooks/useTimezoneAwareDateFormatting.d.ts.map +1 -0
  244. package/dist/types/components/internal/Accordion/Accordion.d.ts +6 -0
  245. package/dist/types/components/internal/Accordion/Accordion.d.ts.map +1 -0
  246. package/dist/types/components/internal/Accordion/constants.d.ts +6 -0
  247. package/dist/types/components/internal/Accordion/constants.d.ts.map +1 -0
  248. package/dist/types/components/internal/Accordion/types.d.ts +7 -0
  249. package/dist/types/components/internal/Accordion/types.d.ts.map +1 -0
  250. package/dist/types/components/internal/Calendar/calendar/facade/Calendar.d.ts.map +1 -1
  251. package/dist/types/components/internal/Calendar/calendar/timeframe/common/utils.d.ts +1 -1
  252. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.d.ts +1 -1
  253. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.d.ts.map +1 -1
  254. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts +3 -3
  255. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts.map +1 -1
  256. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/YearFrame.d.ts +1 -1
  257. package/dist/types/components/internal/Calendar/calendar/timeframe/frames/YearFrame.d.ts.map +1 -1
  258. package/dist/types/components/internal/Calendar/calendar/timerange/presets/lastNDays.d.ts.map +1 -1
  259. package/dist/types/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.d.ts.map +1 -1
  260. package/dist/types/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.d.ts.map +1 -1
  261. package/dist/types/components/internal/Calendar/calendar/timerange/presets/yearToDate.d.ts.map +1 -1
  262. package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +1 -6
  263. package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
  264. package/dist/types/components/internal/Calendar/calendar/timeslice/TimeSlice.d.ts +2 -2
  265. package/dist/types/components/internal/Calendar/calendar/timeslice/TimeSlice.d.ts.map +1 -1
  266. package/dist/types/components/internal/Calendar/calendar/timeslice/index.d.ts.map +1 -1
  267. package/dist/types/components/internal/Calendar/calendar/types.d.ts +6 -1
  268. package/dist/types/components/internal/Calendar/calendar/types.d.ts.map +1 -1
  269. package/dist/types/components/internal/Calendar/calendar/utils.d.ts +13 -4
  270. package/dist/types/components/internal/Calendar/calendar/utils.d.ts.map +1 -1
  271. package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts +1 -1
  272. package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts.map +1 -1
  273. package/dist/types/components/internal/Calendar/types.d.ts +1 -0
  274. package/dist/types/components/internal/Calendar/types.d.ts.map +1 -1
  275. package/dist/types/components/internal/CopyText/CopyText.d.ts.map +1 -1
  276. package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts.map +1 -1
  277. package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts +1 -1
  278. package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts.map +1 -1
  279. package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +1 -1
  280. package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
  281. package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +1 -1
  282. package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
  283. package/dist/types/components/internal/DataGrid/components/TableHeaderCell.d.ts +1 -1
  284. package/dist/types/components/internal/DataGrid/components/TableHeaderCell.d.ts.map +1 -1
  285. package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts.map +1 -1
  286. package/dist/types/components/internal/DataGrid/utils/DataGridProvider.d.ts.map +1 -1
  287. package/dist/types/components/internal/DataOverviewDetails/DataOverviewDetails.d.ts.map +1 -1
  288. package/dist/types/components/internal/DataOverviewDetails/types.d.ts +3 -6
  289. package/dist/types/components/internal/DataOverviewDetails/types.d.ts.map +1 -1
  290. package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts +4 -1
  291. package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts.map +1 -1
  292. package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts +1 -1
  293. package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts.map +1 -1
  294. package/dist/types/components/internal/DatePicker/DatePicker.d.ts.map +1 -1
  295. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
  296. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts.map +1 -1
  297. package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +2 -2
  298. package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map +1 -1
  299. package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilter.d.ts +7 -1
  300. package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilter.d.ts.map +1 -1
  301. package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilterCore.d.ts.map +1 -1
  302. package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
  303. package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts.map +1 -1
  304. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +12 -3
  305. package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
  306. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
  307. package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts.map +1 -1
  308. package/dist/types/components/internal/FormFields/index.d.ts.map +1 -1
  309. package/dist/types/components/internal/Modal/Modal.d.ts +1 -1
  310. package/dist/types/components/internal/Modal/Modal.d.ts.map +1 -1
  311. package/dist/types/components/internal/Pagination/hooks/types.d.ts +0 -1
  312. package/dist/types/components/internal/Pagination/hooks/types.d.ts.map +1 -1
  313. package/dist/types/components/internal/Pagination/hooks/useCursorPaginatedRecords.d.ts.map +1 -1
  314. package/dist/types/components/internal/Pagination/hooks/useOffsetPaginatedRecords.d.ts.map +1 -1
  315. package/dist/types/components/internal/Pagination/hooks/useOffsetPagination.d.ts.map +1 -1
  316. package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts +1 -1
  317. package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts.map +1 -1
  318. package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts.map +1 -1
  319. package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts +1 -1
  320. package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts.map +1 -1
  321. package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
  322. package/dist/types/components/internal/Spinner/Spinner.d.ts +18 -0
  323. package/dist/types/components/internal/Spinner/Spinner.d.ts.map +1 -0
  324. package/dist/types/components/internal/Spinner/index.d.ts +2 -0
  325. package/dist/types/components/internal/Spinner/index.d.ts.map +1 -0
  326. package/dist/types/components/internal/StructuredList/types.d.ts +3 -2
  327. package/dist/types/components/internal/StructuredList/types.d.ts.map +1 -1
  328. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +9 -133
  329. package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts.map +1 -1
  330. package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts.map +1 -1
  331. package/dist/types/components/types.d.ts +7 -15
  332. package/dist/types/components/types.d.ts.map +1 -1
  333. package/dist/types/components/utils/getLabel.d.ts +1 -1
  334. package/dist/types/core/Auth/context.d.ts +56 -42
  335. package/dist/types/core/Auth/context.d.ts.map +1 -1
  336. package/dist/types/core/Auth/session/AuthSession.d.ts +62 -53
  337. package/dist/types/core/Auth/session/AuthSession.d.ts.map +1 -1
  338. package/dist/types/core/Auth/session/AuthSessionSpecification.d.ts +7 -4
  339. package/dist/types/core/Auth/session/AuthSessionSpecification.d.ts.map +1 -1
  340. package/dist/types/core/Auth/session/AuthSetupContext.d.ts +58 -43
  341. package/dist/types/core/Auth/session/AuthSetupContext.d.ts.map +1 -1
  342. package/dist/types/core/Auth/session/constants.d.ts +0 -3
  343. package/dist/types/core/Auth/session/constants.d.ts.map +1 -1
  344. package/dist/types/core/Auth/types.d.ts +6 -6
  345. package/dist/types/core/Auth/types.d.ts.map +1 -1
  346. package/dist/types/core/Context/CoreProvider.d.ts +1 -1
  347. package/dist/types/core/Context/CoreProvider.d.ts.map +1 -1
  348. package/dist/types/core/Context/types.d.ts +2 -0
  349. package/dist/types/core/Context/types.d.ts.map +1 -1
  350. package/dist/types/core/Http/http.d.ts.map +1 -1
  351. package/dist/types/core/Http/utils.d.ts.map +1 -1
  352. package/dist/types/core/Localization/Localization.d.ts.map +1 -1
  353. package/dist/types/core/Localization/datetime/restamper/utils.d.ts.map +1 -1
  354. package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
  355. package/dist/types/core/Localization/utils.d.ts +4 -4
  356. package/dist/types/core/Localization/utils.d.ts.map +1 -1
  357. package/dist/types/core/core.d.ts +3 -2
  358. package/dist/types/core/core.d.ts.map +1 -1
  359. package/dist/types/core/types.d.ts +4 -6
  360. package/dist/types/core/types.d.ts.map +1 -1
  361. package/dist/types/hooks/element/useClickOutside.d.ts +2 -1
  362. package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
  363. package/dist/types/hooks/element/useDetachedRender.d.ts.map +1 -1
  364. package/dist/types/hooks/element/useFocusTrap.d.ts.map +1 -1
  365. package/dist/types/hooks/useImageUrl/useImageUrl.d.ts.map +1 -1
  366. package/dist/types/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -1
  367. package/dist/types/hooks/useModalDetails/useModalDetails.d.ts.map +1 -1
  368. package/dist/types/hooks/useMounted/useMounted.d.ts +1 -1
  369. package/dist/types/hooks/useMounted/useMounted.d.ts.map +1 -1
  370. package/dist/types/hooks/useReactiveState/useReactiveState.d.ts.map +1 -1
  371. package/dist/types/hooks/useReflex/useReflex.d.ts.map +1 -1
  372. package/dist/types/primitives/async/abortable/main.d.ts +1 -1
  373. package/dist/types/primitives/async/abortable/main.d.ts.map +1 -1
  374. package/dist/types/primitives/async/promisor/main.d.ts.map +1 -1
  375. package/dist/types/primitives/auxiliary/indexed/helpers.d.ts.map +1 -1
  376. package/dist/types/primitives/auxiliary/indexed/main.d.ts.map +1 -1
  377. package/dist/types/primitives/context/session/SessionContext.d.ts +6 -27
  378. package/dist/types/primitives/context/session/SessionContext.d.ts.map +1 -1
  379. package/dist/types/primitives/context/session/constants.d.ts +6 -3
  380. package/dist/types/primitives/context/session/constants.d.ts.map +1 -1
  381. package/dist/types/primitives/context/session/internal/autofresher.d.ts +7 -0
  382. package/dist/types/primitives/context/session/internal/autofresher.d.ts.map +1 -0
  383. package/dist/types/primitives/context/session/internal/constants.d.ts +5 -0
  384. package/dist/types/primitives/context/session/internal/constants.d.ts.map +1 -0
  385. package/dist/types/primitives/context/session/internal/deadline.d.ts +6 -0
  386. package/dist/types/primitives/context/session/internal/deadline.d.ts.map +1 -0
  387. package/dist/types/primitives/context/session/internal/refresher.d.ts +6 -0
  388. package/dist/types/primitives/context/session/internal/refresher.d.ts.map +1 -0
  389. package/dist/types/primitives/context/session/internal/types.d.ts +27 -0
  390. package/dist/types/primitives/context/session/internal/types.d.ts.map +1 -0
  391. package/dist/types/primitives/context/session/types.d.ts +8 -4
  392. package/dist/types/primitives/context/session/types.d.ts.map +1 -1
  393. package/dist/types/primitives/reactive/effectStack/main.d.ts.map +1 -1
  394. package/dist/types/primitives/reactive/reflex/helpers.d.ts.map +1 -1
  395. package/dist/types/primitives/reactive/reflex/main.d.ts.map +1 -1
  396. package/dist/types/primitives/reactive/watchlist/helpers.d.ts.map +1 -1
  397. package/dist/types/primitives/reactive/watchlist/main.d.ts +1 -1
  398. package/dist/types/primitives/reactive/watchlist/main.d.ts.map +1 -1
  399. package/dist/types/primitives/time/interval/main.d.ts.map +1 -1
  400. package/dist/types/primitives/time/today/main.d.ts.map +1 -1
  401. package/dist/types/translations/index.d.ts +108 -0
  402. package/dist/types/translations/index.d.ts.map +1 -1
  403. package/dist/types/types/api/endpoints.d.ts +18 -2
  404. package/dist/types/types/api/endpoints.d.ts.map +1 -1
  405. package/dist/types/types/api/models/index.d.ts +1 -0
  406. package/dist/types/types/api/models/index.d.ts.map +1 -1
  407. package/dist/types/types/api/models/reports.d.ts +4 -0
  408. package/dist/types/types/api/models/reports.d.ts.map +1 -0
  409. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts +8 -8
  410. package/dist/types/types/api/resources/BalanceAccountsResource.d.ts.map +1 -1
  411. package/dist/types/types/api/resources/PayoutsResource.d.ts +19 -19
  412. package/dist/types/types/api/resources/PayoutsResource.d.ts.map +1 -1
  413. package/dist/types/types/api/resources/ReportsResource.d.ts +92 -0
  414. package/dist/types/types/api/resources/ReportsResource.d.ts.map +1 -0
  415. package/dist/types/types/api/resources/SetupResource.d.ts +1 -1
  416. package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
  417. package/dist/types/types/api/resources/TransactionsResource.d.ts +25 -25
  418. package/dist/types/types/api/resources/TransactionsResource.d.ts.map +1 -1
  419. package/dist/types/utils/abort/constants.d.ts +5 -0
  420. package/dist/types/utils/abort/constants.d.ts.map +1 -0
  421. package/dist/types/utils/abort/internals.d.ts +4 -0
  422. package/dist/types/utils/abort/internals.d.ts.map +1 -0
  423. package/dist/types/utils/abort/main.d.ts +9 -0
  424. package/dist/types/utils/abort/main.d.ts.map +1 -0
  425. package/dist/types/utils/async/main.d.ts.map +1 -1
  426. package/dist/types/utils/collection/main.d.ts +1 -1
  427. package/dist/types/utils/collection/main.d.ts.map +1 -1
  428. package/dist/types/utils/common.d.ts +2 -2
  429. package/dist/types/utils/common.d.ts.map +1 -1
  430. package/dist/types/utils/index.d.ts +1 -0
  431. package/dist/types/utils/index.d.ts.map +1 -1
  432. package/dist/types/utils/preact/fixedForwardRef.d.ts +3 -3
  433. package/dist/types/utils/preact/fixedForwardRef.d.ts.map +1 -1
  434. package/dist/types/utils/struct/main.d.ts +1 -1
  435. package/dist/types/utils/struct/main.d.ts.map +1 -1
  436. package/dist/types/utils/struct/property.d.ts.map +1 -1
  437. package/dist/types/utils/value/is.d.ts +2 -2
  438. package/dist/types/utils/value/is.d.ts.map +1 -1
  439. package/dist/types/utils/value/number.d.ts.map +1 -1
  440. package/package.json +159 -106
  441. package/dist/es/primitives/auxiliary/abortSink/main.js +0 -42
  442. package/dist/types/core/Analytics/types.d.ts +0 -28
  443. package/dist/types/core/Analytics/types.d.ts.map +0 -1
  444. package/dist/types/primitives/auxiliary/abortSink/index.d.ts +0 -3
  445. package/dist/types/primitives/auxiliary/abortSink/index.d.ts.map +0 -1
  446. package/dist/types/primitives/auxiliary/abortSink/main.d.ts +0 -5
  447. package/dist/types/primitives/auxiliary/abortSink/main.d.ts.map +0 -1
  448. package/dist/types/primitives/auxiliary/abortSink/types.d.ts +0 -7
  449. package/dist/types/primitives/auxiliary/abortSink/types.d.ts.map +0 -1
  450. package/dist/types/types/api/resources/PaymentInstrumentsResource.d.ts +0 -70
  451. package/dist/types/types/api/resources/PaymentInstrumentsResource.d.ts.map +0 -1
@@ -1,82 +1,81 @@
1
- var ri = Object.defineProperty;
2
- var oi = (d, i, e) => i in d ? ri(d, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[i] = e;
3
- var It = (d, i, e) => (oi(d, typeof i != "symbol" ? i + "" : i, e), e), Dt = (d, i, e) => {
4
- if (!i.has(d))
1
+ var li = Object.defineProperty;
2
+ var fi = (m, i, e) => i in m ? li(m, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[i] = e;
3
+ var _t = (m, i, e) => (fi(m, typeof i != "symbol" ? i + "" : i, e), e), Ht = (m, i, e) => {
4
+ if (!i.has(m))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var t = (d, i, e) => (Dt(d, i, "read from private field"), e ? e.call(d) : i.get(d)), h = (d, i, e) => {
8
- if (i.has(d))
7
+ var t = (m, i, e) => (Ht(m, i, "read from private field"), e ? e.call(m) : i.get(m)), h = (m, i, e) => {
8
+ if (i.has(m))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
- i instanceof WeakSet ? i.add(d) : i.set(d, e);
11
- }, r = (d, i, e, o) => (Dt(d, i, "write to private field"), o ? o.call(d, e) : i.set(d, e), e);
12
- var c = (d, i, e) => (Dt(d, i, "access private method"), e);
10
+ i instanceof WeakSet ? i.add(m) : i.set(m, e);
11
+ }, r = (m, i, e, o) => (Ht(m, i, "write to private field"), o ? o.call(m, e) : i.set(m, e), e);
12
+ var l = (m, i, e) => (Ht(m, i, "access private method"), e);
13
13
  import { InteractionKeyCode as g } from "../../../../types.js";
14
- import { SELECT_NONE as ot, CALENDAR_CONTROLS as xt, SHIFT_BLOCK as ai, SHIFT_PERIOD as Lt, SHIFT_FRAME as ni, CALENDAR_SELECTIONS as ci, SELECT_MANY as j, FRAME_SIZES as li, FIRST_WEEK_DAYS as fi, CURSOR_NEXT_BLOCK as ui, CURSOR_PREV_BLOCK as di, CURSOR_BLOCK_END as Si, CURSOR_LINE_END as mi, CURSOR_BLOCK_START as Ei, CURSOR_LINE_START as Oi, CURSOR_DOWNWARD as Ri, CURSOR_UPWARD as gi, CURSOR_FORWARD as Ci, CURSOR_BACKWARD as ki, SELECT_ONE as at, SELECTION_FROM as O, SELECTION_TO as N, CONTROLS_NONE as Ti, CONTROLS_MINIMAL as pi, CONTROLS_ALL as Fi, SELECTION_COLLAPSE as bi } from "../constants.js";
15
- import { CalendarShiftControlsFlag as vt, CalendarShiftControlFlag as V } from "../types.js";
16
- import Ni from "../../../../../primitives/time/today/main.js";
17
- import { createIndexed as _t } from "../../../../../primitives/auxiliary/indexed/main.js";
18
- import { createWatchlist as yi, isWatchlistUnsubscribeToken as Ai } from "../../../../../primitives/reactive/watchlist/main.js";
19
- import { pickFrom as G } from "../../../../../utils/collection/main.js";
20
- import { boolify as z, boolOrTrue as Yt } from "../../../../../utils/value/bool.js";
21
- import { createEffectStack as jt } from "../../../../../primitives/reactive/effectStack/main.js";
22
- import Ii from "../timeframe/frames/MonthFrame.js";
14
+ import { SELECT_NONE as nt, CALENDAR_CONTROLS as jt, SHIFT_BLOCK as ui, SHIFT_PERIOD as wt, SHIFT_FRAME as mi, CALENDAR_SELECTIONS as di, SELECT_MANY as Y, FRAME_SIZES as Si, FIRST_WEEK_DAYS as Ei, CURSOR_NEXT_BLOCK as Oi, CURSOR_PREV_BLOCK as Ri, CURSOR_BLOCK_END as gi, CURSOR_LINE_END as Ci, CURSOR_BLOCK_START as Ti, CURSOR_LINE_START as pi, CURSOR_DOWNWARD as ki, CURSOR_UPWARD as Fi, CURSOR_FORWARD as bi, CURSOR_BACKWARD as yi, SELECT_ONE as ct, SELECTION_FROM as O, SELECTION_TO as N, CONTROLS_NONE as Ni, CONTROLS_MINIMAL as Ai, CONTROLS_ALL as Di, SELECTION_COLLAPSE as Ii } from "../constants.js";
15
+ import { withTimezone as Wt } from "../utils.js";
16
+ import { CalendarShiftControlsFlag as Vt, CalendarShiftControlFlag as j } from "../types.js";
17
+ import Gt from "../../../../../primitives/time/today/main.js";
18
+ import { createIndexed as Mt } from "../../../../../primitives/auxiliary/indexed/main.js";
19
+ import { createWatchlist as Li, isWatchlistUnsubscribeToken as _i } from "../../../../../primitives/reactive/watchlist/main.js";
20
+ import { pickFrom as V } from "../../../../../utils/collection/main.js";
21
+ import { boolify as G, boolOrTrue as Xt } from "../../../../../utils/value/bool.js";
22
+ import { createEffectStack as qt } from "../../../../../primitives/reactive/effectStack/main.js";
23
+ import Hi from "../timeframe/frames/MonthFrame.js";
24
+ import { timezoneToSystem as lt, systemToTimezone as ft } from "../../../../../core/Localization/datetime/restamper/utils.js";
23
25
  import { EMPTY_OBJECT as X } from "../../../../../utils/value/constants.js";
24
- import { withFreezeProxyHandlers as Di, structFrom as Li, struct as _i } from "../../../../../utils/struct/main.js";
25
- import { isNullish as nt, isFunction as D, isString as Vt, isUndefined as Gt } from "../../../../../utils/value/is.js";
26
- import { noop as zt } from "../../../../../utils/common.js";
27
- import { isBitSafeInteger as Hi } from "../../../../../utils/value/number.js";
28
- var qt, Jt, f, p, s, F, C, b, E, w, R, U, A, I, k, y, M, ft, L, T, ut, _, x, P, Z, dt, St, mt, Et, Ot, Rt, gt, Ct, Zt, kt, $t, Tt, Qt, pt, v, ct, B, q, $, Ht, Ft, ti, bt, ii, Nt, si, yt, ei, Q, Wt, At, hi, K, J, tt, wt, Y, lt, it, Pt, st, Bt, et, Kt, ht, Ut;
29
- const l = class l {
26
+ import { withFreezeProxyHandlers as wi, structFrom as Wi, struct as Mi } from "../../../../../utils/struct/main.js";
27
+ import { isNullish as ut, isFunction as L, isString as Jt, isUndefined as Zt } from "../../../../../utils/value/is.js";
28
+ import { noop as $t } from "../../../../../utils/common.js";
29
+ import { isBitSafeInteger as Pi } from "../../../../../utils/value/number.js";
30
+ var ti, ii, u, F, s, b, C, y, E, W, R, K, D, I, T, A, U, Z, _, p, St, H, x, M, $, Et, Ot, Rt, gt, Ct, Tt, pt, kt, si, Ft, ei, bt, hi, yt, z, mt, P, q, Q, Pt, Nt, ri, At, oi, Dt, ai, It, ni, tt, Bt, Lt, ci, B, J, it, Kt, v, dt, st, Ut, et, xt, ht, zt, rt, vt;
31
+ const f = class f {
30
32
  constructor() {
31
- h(this, B);
32
- h(this, $);
33
- h(this, Ft);
34
- h(this, bt);
35
- h(this, Nt);
36
- h(this, yt);
33
+ h(this, P);
37
34
  h(this, Q);
35
+ h(this, Nt);
38
36
  h(this, At);
39
- h(this, K);
37
+ h(this, Dt);
38
+ h(this, It);
40
39
  h(this, tt);
41
- h(this, Y);
40
+ h(this, Lt);
41
+ h(this, B);
42
42
  h(this, it);
43
+ h(this, v);
43
44
  h(this, st);
44
45
  h(this, et);
45
46
  h(this, ht);
46
- It(this, "grid");
47
- It(this, "kill");
48
- h(this, f, X);
49
- h(this, p, !1);
47
+ h(this, rt);
48
+ _t(this, "grid");
49
+ _t(this, "kill");
50
+ h(this, u, X);
51
+ h(this, F, !1);
50
52
  h(this, s, void 0);
51
- h(this, F, void 0);
53
+ h(this, b, void 0);
52
54
  h(this, C, void 0);
53
- h(this, b, !1);
54
- h(this, E, ot);
55
- h(this, w, !1);
55
+ h(this, y, !1);
56
+ h(this, E, nt);
57
+ h(this, W, !1);
56
58
  h(this, R, void 0);
57
- h(this, U, (qt = t(this, R)) == null ? void 0 : qt.join(" "));
58
- h(this, A, void 0);
59
+ h(this, K, (ti = t(this, R)) == null ? void 0 : ti.join(" "));
60
+ h(this, D, void 0);
59
61
  h(this, I, void 0);
60
- h(this, k, void 0);
61
- h(this, y, void 0);
62
- h(this, M, void 0);
63
- h(this, ft, Ni());
64
- h(this, L, []);
65
62
  h(this, T, void 0);
66
- h(this, ut, new Proxy(
67
- _t(() => {
68
- var i;
69
- return ((i = t(this, T)) == null ? void 0 : i.length) ?? 0;
70
- }, c(this, Q, Wt).bind(this)),
71
- Di({
72
- get: (i, e, o) => {
73
- var n, u;
74
- const a = ((n = t(this, T)) == null ? void 0 : n.indexOf(e)) ?? -1;
75
- return a >= 0 ? (u = c(this, Q, Wt).call(this, a)) == null ? void 0 : u[1] : Reflect.get(i, e, o);
76
- }
77
- })
78
- ));
79
- h(this, _, yi({
63
+ h(this, A, void 0);
64
+ h(this, U, void 0);
65
+ h(this, Z, Gt());
66
+ h(this, _, []);
67
+ h(this, p, void 0);
68
+ h(this, St, new Proxy(Mt(() => {
69
+ var i;
70
+ return ((i = t(this, p)) == null ? void 0 : i.length) ?? 0;
71
+ }, l(this, tt, Bt).bind(this)), wi({
72
+ get: (i, e, o) => {
73
+ var a, c;
74
+ const n = ((a = t(this, p)) == null ? void 0 : a.indexOf(e)) ?? -1;
75
+ return n >= 0 ? (c = l(this, tt, Bt).call(this, n)) == null ? void 0 : c[1] : Reflect.get(i, e, o);
76
+ }
77
+ })));
78
+ h(this, H, Li({
80
79
  blocks: () => {
81
80
  var i;
82
81
  return (i = t(this, s)) == null ? void 0 : i.size;
@@ -85,7 +84,7 @@ const l = class l {
85
84
  var i;
86
85
  return (i = t(this, s)) == null ? void 0 : i.units;
87
86
  },
88
- controls: () => G(xt, t(this, f).controls),
87
+ controls: () => V(jt, t(this, u).controls),
89
88
  cursor: () => {
90
89
  var i;
91
90
  return (i = t(this, s)) == null ? void 0 : i.cursor;
@@ -99,342 +98,352 @@ const l = class l {
99
98
  var i;
100
99
  return (i = t(this, s)) == null ? void 0 : i.locale;
101
100
  },
102
- minified: () => z(t(this, f).minified),
101
+ minified: () => G(t(this, u).minified),
103
102
  origin: () => {
104
103
  var i;
105
104
  return (i = t(this, s)) == null ? void 0 : i.getTimestampAtIndex(0);
106
105
  },
106
+ timezone: () => {
107
+ var i;
108
+ return (i = t(this, s)) == null ? void 0 : i.timezone;
109
+ },
107
110
  to: () => {
108
111
  var i;
109
112
  return (i = t(this, s)) == null ? void 0 : i.selectionEnd;
110
113
  },
111
- today: () => t(this, ft).timestamp
114
+ today: () => t(this, Z).timestamp
112
115
  }));
113
- h(this, x, (Jt = t(this, _)) == null ? void 0 : Jt.snapshot);
114
- h(this, P, jt(() => {
116
+ h(this, x, (ii = t(this, H)) == null ? void 0 : ii.snapshot);
117
+ h(this, M, qt(() => {
115
118
  var i;
116
- return t(this, k) && ((i = t(this, _)) == null ? void 0 : i.requestNotification());
119
+ return t(this, T) && ((i = t(this, H)) == null ? void 0 : i.requestNotification());
117
120
  }));
118
- h(this, Z, jt(() => {
121
+ h(this, $, qt(() => {
119
122
  var i;
120
- return (i = t(this, k)) == null ? void 0 : i.call(t(this, B, q));
123
+ return (i = t(this, T)) == null ? void 0 : i.call(t(this, P, q));
121
124
  }));
122
- h(this, dt, Li(
123
- _t(
124
- () => {
125
- var i;
126
- return ((i = t(this, s)) == null ? void 0 : i.size) ?? 0;
127
- },
128
- (i) => {
129
- var e;
130
- return (e = t(this, s)) == null ? void 0 : e.frameBlocks[i];
131
- }
132
- ),
133
- {
134
- config: {
135
- value: Object.defineProperties(
136
- (i) => (i && c(this, bt, ii).call(this, i), t(this, B, q)),
137
- {
138
- cursorIndex: {
139
- get: () => t(this, A),
140
- set: (i) => {
141
- t(this, p) || (nt(i) ? r(this, A, void 0) : D(i) && r(this, A, i));
142
- }
143
- },
144
- shiftFactor: {
145
- get: () => t(this, I),
146
- set: (i) => {
147
- t(this, p) || (nt(i) ? r(this, I, void 0) : D(i) && r(this, I, i));
148
- }
149
- },
150
- watch: {
151
- get: () => t(this, k),
152
- set: (i) => {
153
- var e, o, a, n, u;
154
- if (!t(this, p))
155
- if (D(i)) {
156
- if (r(this, k, i), !t(this, y)) {
157
- const S = (e = t(this, P)) == null ? void 0 : e.bind(t(l, pt).bind(this));
158
- S && (r(this, y, (o = t(this, P)) == null ? void 0 : o.bind(zt)), r(this, M, (n = t(this, _)) == null ? void 0 : n.subscribe((a = t(this, Z)) == null ? void 0 : a.bind(S))), t(this, s) && (t(this, s).effect = t(this, y)));
159
- }
160
- if (!t(this, w))
161
- return;
162
- r(this, w, !1), (u = t(this, y)) == null || u.call(this);
163
- } else
164
- nt(i) && r(this, k, void 0);
165
- }
166
- }
125
+ h(this, Et, Wi(Mt(() => {
126
+ var i;
127
+ return ((i = t(this, s)) == null ? void 0 : i.size) ?? 0;
128
+ }, (i) => {
129
+ var e;
130
+ return (e = t(this, s)) == null ? void 0 : e.frameBlocks[i];
131
+ }), {
132
+ config: {
133
+ value: Object.defineProperties((i) => (i && l(this, At, oi).call(this, i), t(this, P, q)), {
134
+ cursorIndex: {
135
+ get: () => t(this, D),
136
+ set: (i) => {
137
+ t(this, F) || (ut(i) ? r(this, D, void 0) : L(i) && r(this, D, i));
167
138
  }
168
- )
169
- },
170
- controls: { value: t(this, ut) },
171
- cursor: {
172
- value: Object.defineProperties(
173
- (i) => c(l, v, ct).call(this, (e) => !!(e && c(this, Nt, si).call(this, e)))(i),
174
- {
175
- valueOf: { value: () => {
176
- var i;
177
- return ((i = t(this, s)) == null ? void 0 : i.cursor) ?? -1;
178
- } }
139
+ },
140
+ shiftFactor: {
141
+ get: () => t(this, I),
142
+ set: (i) => {
143
+ t(this, F) || (ut(i) ? r(this, I, void 0) : L(i) && r(this, I, i));
179
144
  }
180
- )
181
- },
182
- highlight: {
183
- value: (() => {
184
- const i = () => t(this, F) === t(this, C) && Gt(t(this, C)), e = (o) => (a) => c(l, v, ct).call(this, (n) => {
185
- var u, S, m, H, W;
186
- if (!(t(this, p) || !t(this, E) || t(this, E) === ot)) {
187
- if (nt(n))
188
- return c(this, tt, wt).call(this);
189
- i() ? (S = t(this, s)) == null || S.updateSelection(n, bi) : ((u = t(this, s)) == null || u.updateSelection(n, o), t(this, E) === j && t(this, R) && c(this, Y, lt).call(this, n, o === O ? N : O, t(this, R))), r(this, F, (m = t(this, s)) == null ? void 0 : m.selectionStart), r(this, C, (H = t(this, s)) == null ? void 0 : H.selectionEnd), (W = t(this, s)) == null || W.shiftFrameToTimestamp(o === O ? t(this, F) : t(this, C));
190
- }
191
- })(a);
192
- return _i({
193
- blank: { get: i },
194
- from: {
195
- get: () => {
196
- var o;
197
- return ((o = t(this, s)) == null ? void 0 : o.selectionStart) ?? t(this, F);
198
- },
199
- set: e(O)
145
+ },
146
+ watch: {
147
+ get: () => t(this, T),
148
+ set: (i) => {
149
+ var e, o, n, a, c;
150
+ if (!t(this, F))
151
+ if (L(i)) {
152
+ if (r(this, T, i), !t(this, A)) {
153
+ const d = (e = t(this, M)) == null ? void 0 : e.bind(t(f, yt).bind(this));
154
+ d && (r(this, A, (o = t(this, M)) == null ? void 0 : o.bind($t)), r(this, U, (a = t(this, H)) == null ? void 0 : a.subscribe((n = t(this, $)) == null ? void 0 : n.bind(d))), t(this, s) && (t(this, s).effect = t(this, A)));
155
+ }
156
+ if (!t(this, W))
157
+ return;
158
+ r(this, W, !1), (c = t(this, A)) == null || c.call(this);
159
+ } else
160
+ ut(i) && r(this, T, void 0);
161
+ }
162
+ }
163
+ })
164
+ },
165
+ controls: {
166
+ value: t(this, St)
167
+ },
168
+ cursor: {
169
+ value: Object.defineProperties((i) => l(f, z, mt).call(this, (e) => !!(e && l(this, Dt, ai).call(this, e)))(i), {
170
+ valueOf: {
171
+ value: () => {
172
+ var i;
173
+ return ((i = t(this, s)) == null ? void 0 : i.cursor) ?? -1;
174
+ }
175
+ }
176
+ })
177
+ },
178
+ highlight: {
179
+ value: (() => {
180
+ const i = () => t(this, b) === t(this, C) && Zt(t(this, C)), e = (o) => (n) => l(f, z, mt).call(this, (a) => {
181
+ var c, d, S, k, w;
182
+ if (!(t(this, F) || !t(this, E) || t(this, E) === nt)) {
183
+ if (ut(a))
184
+ return l(this, it, Kt).call(this);
185
+ i() ? (d = t(this, s)) == null || d.updateSelection(a, Ii) : ((c = t(this, s)) == null || c.updateSelection(a, o), t(this, E) === Y && t(this, R) && l(this, v, dt).call(this, a, o === O ? N : O, t(this, R))), r(this, b, (S = t(this, s)) == null ? void 0 : S.selectionStart), r(this, C, (k = t(this, s)) == null ? void 0 : k.selectionEnd), (w = t(this, s)) == null || w.shiftFrameToTimestamp(o === O ? t(this, b) : t(this, C));
186
+ }
187
+ })(n);
188
+ return Mi({
189
+ blank: {
190
+ get: i
191
+ },
192
+ from: {
193
+ get: () => {
194
+ var o;
195
+ return ((o = t(this, s)) == null ? void 0 : o.selectionStart) ?? t(this, b);
200
196
  },
201
- to: {
202
- get: () => {
203
- var o;
204
- return ((o = t(this, s)) == null ? void 0 : o.selectionEnd) ?? t(this, C);
205
- },
206
- set: e(N)
207
- }
208
- });
209
- })()
210
- },
211
- rowspan: { get: () => {
197
+ set: e(O)
198
+ },
199
+ to: {
200
+ get: () => {
201
+ var o;
202
+ return ((o = t(this, s)) == null ? void 0 : o.selectionEnd) ?? t(this, C);
203
+ },
204
+ set: e(N)
205
+ }
206
+ });
207
+ })()
208
+ },
209
+ rowspan: {
210
+ get: () => {
212
211
  var i;
213
212
  return ((i = t(this, s)) == null ? void 0 : i.rowspan) ?? 0;
214
- } },
215
- weekdays: { get: () => {
213
+ }
214
+ },
215
+ weekdays: {
216
+ get: () => {
216
217
  var i;
217
- return ((i = t(this, s)) == null ? void 0 : i.daysOfWeek) ?? t(l, Et);
218
- } }
218
+ return ((i = t(this, s)) == null ? void 0 : i.daysOfWeek) ?? t(f, gt);
219
+ }
219
220
  }
220
- ));
221
- this.grid = t(this, dt), this.kill = c(this, yt, ei).bind(this);
221
+ }));
222
+ this.grid = t(this, Et), this.kill = l(this, It, ni).bind(this);
222
223
  }
223
224
  };
224
- f = new WeakMap(), p = new WeakMap(), s = new WeakMap(), F = new WeakMap(), C = new WeakMap(), b = new WeakMap(), E = new WeakMap(), w = new WeakMap(), R = new WeakMap(), U = new WeakMap(), A = new WeakMap(), I = new WeakMap(), k = new WeakMap(), y = new WeakMap(), M = new WeakMap(), ft = new WeakMap(), L = new WeakMap(), T = new WeakMap(), ut = new WeakMap(), _ = new WeakMap(), x = new WeakMap(), P = new WeakMap(), Z = new WeakMap(), dt = new WeakMap(), St = new WeakMap(), mt = new WeakMap(), Et = new WeakMap(), Ot = new WeakMap(), Rt = new WeakMap(), gt = new WeakMap(), Ct = new WeakSet(), Zt = function(i) {
225
- if (!Vt(i) || !t(l, St).test(i))
225
+ u = new WeakMap(), F = new WeakMap(), s = new WeakMap(), b = new WeakMap(), C = new WeakMap(), y = new WeakMap(), E = new WeakMap(), W = new WeakMap(), R = new WeakMap(), K = new WeakMap(), D = new WeakMap(), I = new WeakMap(), T = new WeakMap(), A = new WeakMap(), U = new WeakMap(), Z = new WeakMap(), _ = new WeakMap(), p = new WeakMap(), St = new WeakMap(), H = new WeakMap(), x = new WeakMap(), M = new WeakMap(), $ = new WeakMap(), Et = new WeakMap(), Ot = new WeakMap(), Rt = new WeakMap(), gt = new WeakMap(), Ct = new WeakMap(), Tt = new WeakMap(), pt = new WeakMap(), kt = new WeakSet(), si = function(i) {
226
+ if (!Jt(i) || !t(f, Ot).test(i))
226
227
  return;
227
228
  const e = i.split(/\s+/);
228
- return Array.from({ length: 6 }, (o, a) => parseInt(e[a] ?? "0"));
229
- }, kt = new WeakSet(), $t = function(i) {
230
- switch (i & ~V.PREV) {
231
- case V.FRAME:
232
- return ni;
233
- case V.PERIOD:
234
- return Lt;
235
- case V.BLOCK:
229
+ return Array.from({
230
+ length: 6
231
+ }, (o, n) => parseInt(e[n] ?? "0"));
232
+ }, Ft = new WeakSet(), ei = function(i) {
233
+ switch (i & ~j.PREV) {
234
+ case j.FRAME:
235
+ return mi;
236
+ case j.PERIOD:
237
+ return wt;
238
+ case j.BLOCK:
236
239
  default:
237
- return ai;
240
+ return ui;
238
241
  }
239
- }, Tt = new WeakSet(), Qt = function(i) {
240
- return i & V.PREV ? -1 : 1;
241
- }, pt = new WeakMap(), v = new WeakSet(), ct = function(i) {
242
+ }, bt = new WeakSet(), hi = function(i) {
243
+ return i & j.PREV ? -1 : 1;
244
+ }, yt = new WeakMap(), z = new WeakSet(), mt = function(i) {
242
245
  var e;
243
- return ((e = t(this, P)) == null ? void 0 : e.bind(i)) ?? i;
244
- }, B = new WeakSet(), q = function() {
245
- return { ...t(this, f) };
246
- }, $ = new WeakSet(), Ht = function() {
247
- return new Ii();
248
- }, Ft = new WeakSet(), ti = function(i) {
246
+ return ((e = t(this, M)) == null ? void 0 : e.bind(i)) ?? i;
247
+ }, P = new WeakSet(), q = function() {
248
+ return {
249
+ ...t(this, u)
250
+ };
251
+ }, Q = new WeakSet(), Pt = function() {
252
+ return new Hi();
253
+ }, Nt = new WeakSet(), ri = function(i) {
249
254
  return !!t(this, s) && !(i > 0 ? t(this, s).isAtEnd : t(this, s).isAtStart);
250
- }, bt = new WeakSet(), ii = function(i) {
251
- var a, n;
252
- if (t(this, p))
255
+ }, At = new WeakSet(), oi = function(i) {
256
+ var n, a;
257
+ if (t(this, F))
253
258
  return;
254
259
  r(this, R, void 0);
255
- const e = i == null ? void 0 : i.highlight, o = z(t(this, f).minified);
256
- if (Vt(e) ? r(this, R, c(a = l, Ct, Zt).call(a, e)) && r(this, E, j) : r(this, E, G(ci, e, t(this, E))), r(this, f, {
257
- ...t(this, f),
260
+ const e = i == null ? void 0 : i.highlight, o = G(t(this, u).minified);
261
+ if (Jt(e) ? r(this, R, l(n = f, kt, si).call(n, e)) && r(this, E, Y) : r(this, E, V(di, e, t(this, E))), r(this, u, {
262
+ ...t(this, u),
258
263
  ...i,
259
- blocks: G(li, i == null ? void 0 : i.blocks, t(this, f).blocks),
260
- controls: G(xt, i == null ? void 0 : i.controls, t(this, f).controls),
261
- firstWeekDay: G(fi, i == null ? void 0 : i.firstWeekDay, t(this, f).firstWeekDay),
262
- fixedBlockHeight: z(i == null ? void 0 : i.fixedBlockHeight, t(this, f).fixedBlockHeight),
264
+ blocks: V(Si, i == null ? void 0 : i.blocks, t(this, u).blocks),
265
+ controls: V(jt, i == null ? void 0 : i.controls, t(this, u).controls),
266
+ firstWeekDay: V(Ei, i == null ? void 0 : i.firstWeekDay, t(this, u).firstWeekDay),
267
+ fixedBlockHeight: G(i == null ? void 0 : i.fixedBlockHeight, t(this, u).fixedBlockHeight),
263
268
  highlight: t(this, E),
264
- minified: z(i == null ? void 0 : i.minified, t(this, f).minified),
265
- trackCurrentDay: z(i == null ? void 0 : i.trackCurrentDay, t(this, f).trackCurrentDay)
266
- }), !D(t(this, k))) {
267
- t(this, s) ? r(this, w, !0) : (r(this, s, t(this, $, Ht)), c(this, st, Bt).call(this), c(this, ht, Ut).call(this), c(this, et, Kt).call(this));
269
+ minified: G(i == null ? void 0 : i.minified, t(this, u).minified),
270
+ trackCurrentDay: G(i == null ? void 0 : i.trackCurrentDay, t(this, u).trackCurrentDay)
271
+ }), !L(t(this, T))) {
272
+ t(this, s) ? r(this, W, !0) : (r(this, s, t(this, Q, Pt)), l(this, et, xt).call(this), l(this, rt, vt).call(this), l(this, ht, zt).call(this));
268
273
  return;
269
274
  }
270
- (!t(this, s) || o !== t(this, f).minified) && (r(this, s, t(this, $, Ht)), t(this, s).effect = t(this, y)), c(this, st, Bt).call(this), (n = t(this, y)) == null || n.call(this);
271
- }, Nt = new WeakSet(), si = function(i) {
272
- if (i && t(this, s) && D(t(this, k))) {
275
+ (!t(this, s) || o !== t(this, u).minified) && (r(this, s, t(this, Q, Pt)), t(this, s).effect = t(this, A)), l(this, et, xt).call(this), (a = t(this, A)) == null || a.call(this);
276
+ }, Dt = new WeakSet(), ai = function(i) {
277
+ if (i && t(this, s) && L(t(this, T))) {
273
278
  if (i instanceof KeyboardEvent) {
274
279
  switch (i.code) {
275
280
  case g.ARROW_LEFT:
276
- t(this, s).shiftFrameCursor(ki);
281
+ t(this, s).shiftFrameCursor(yi);
277
282
  break;
278
283
  case g.ARROW_RIGHT:
279
- t(this, s).shiftFrameCursor(Ci);
284
+ t(this, s).shiftFrameCursor(bi);
280
285
  break;
281
286
  case g.ARROW_UP:
282
- t(this, s).shiftFrameCursor(gi);
287
+ t(this, s).shiftFrameCursor(Fi);
283
288
  break;
284
289
  case g.ARROW_DOWN:
285
- t(this, s).shiftFrameCursor(Ri);
290
+ t(this, s).shiftFrameCursor(ki);
286
291
  break;
287
292
  case g.HOME:
288
- t(this, s).shiftFrameCursor(i.ctrlKey ? Ei : Oi);
293
+ t(this, s).shiftFrameCursor(i.ctrlKey ? Ti : pi);
289
294
  break;
290
295
  case g.END:
291
- t(this, s).shiftFrameCursor(i.ctrlKey ? Si : mi);
296
+ t(this, s).shiftFrameCursor(i.ctrlKey ? gi : Ci);
292
297
  break;
293
298
  case g.PAGE_UP:
294
- i.shiftKey ? t(this, s).shiftFrameByOffset(-1, Lt) : t(this, s).shiftFrameCursor(di);
299
+ i.shiftKey ? t(this, s).shiftFrameByOffset(-1, wt) : t(this, s).shiftFrameCursor(Ri);
295
300
  break;
296
301
  case g.PAGE_DOWN:
297
- i.shiftKey ? t(this, s).shiftFrameByOffset(1, Lt) : t(this, s).shiftFrameCursor(ui);
302
+ i.shiftKey ? t(this, s).shiftFrameByOffset(1, wt) : t(this, s).shiftFrameCursor(Oi);
298
303
  break;
299
304
  case g.SPACE:
300
305
  case g.ENTER:
301
- return c(this, K, J).call(this), !0;
306
+ return l(this, B, J).call(this), !0;
302
307
  default:
303
308
  return;
304
309
  }
305
- return t(this, b) && c(this, K, J).call(this, X), !0;
310
+ return t(this, y) && l(this, B, J).call(this, X), !0;
306
311
  }
307
- if (i instanceof MouseEvent && t(l, mt).includes(i.type) && D(t(this, A))) {
308
- const e = t(this, A).call(t(this, B, q), i);
309
- if (!Hi(e))
312
+ if (i instanceof MouseEvent && t(f, Rt).includes(i.type) && L(t(this, D))) {
313
+ const e = t(this, D).call(t(this, P, q), i);
314
+ if (!Pi(e))
310
315
  return;
311
316
  const o = i.type === "click";
312
- if (!(o || t(this, b)))
317
+ if (!(o || t(this, y)))
313
318
  return;
314
319
  if (t(this, s).shiftFrameCursor(e), t(this, s).cursor === e)
315
- return o ? c(this, K, J).call(this) : c(this, K, J).call(this, X), !0;
320
+ return o ? l(this, B, J).call(this) : l(this, B, J).call(this, X), !0;
316
321
  }
317
322
  }
318
- }, yt = new WeakSet(), ei = function() {
323
+ }, It = new WeakSet(), ni = function() {
319
324
  var i;
320
- t(this, p) || ((i = t(this, M)) == null || i.call(this), r(this, P, r(this, Z, r(this, A, r(this, s, r(this, E, r(this, U, r(this, x, r(this, R, r(this, I, r(this, M, r(this, _, r(this, y, r(this, k, void 0))))))))))))), r(this, f, X), r(this, b, r(this, w, !1)), r(this, p, !0));
321
- }, Q = new WeakSet(), Wt = function(i) {
322
- var o, a;
323
- if (!t(this, T) || i < 0 || i >= t(this, T).length)
325
+ t(this, F) || ((i = t(this, U)) == null || i.call(this), r(this, M, r(this, $, r(this, D, r(this, s, r(this, E, r(this, K, r(this, x, r(this, R, r(this, I, r(this, U, r(this, H, r(this, A, r(this, T, void 0))))))))))))), r(this, u, X), r(this, y, r(this, W, !1)), r(this, F, !0));
326
+ }, tt = new WeakSet(), Bt = function(i) {
327
+ var o, n;
328
+ if (!t(this, p) || i < 0 || i >= t(this, p).length)
324
329
  return;
325
- const e = t(this, T)[i];
326
- if (!t(this, L)[i]) {
327
- const n = vt[e], u = c(o = l, kt, $t).call(o, n), S = c(a = l, Tt, Qt).call(a, n);
328
- t(this, L)[i] = (...m) => c(l, v, ct).call(this, (...H) => {
329
- var Mt;
330
- const W = c(this, Ft, ti).call(this, S);
331
- if (!(W && H.length))
332
- return W;
333
- const rt = c(this, At, hi).call(this, e, H[0]);
334
- return Gt(rt) ? !1 : ((Mt = t(this, s)) == null || Mt.shiftFrameByOffset(S * rt, u), !0);
335
- })(...m);
330
+ const e = t(this, p)[i];
331
+ if (!t(this, _)[i]) {
332
+ const a = Vt[e], c = l(o = f, Ft, ei).call(o, a), d = l(n = f, bt, hi).call(n, a);
333
+ t(this, _)[i] = (...S) => l(f, z, mt).call(this, (...k) => {
334
+ var at;
335
+ const w = l(this, Nt, ri).call(this, d);
336
+ if (!(w && k.length))
337
+ return w;
338
+ const ot = l(this, Lt, ci).call(this, e, k[0]);
339
+ return Zt(ot) ? !1 : ((at = t(this, s)) == null || at.shiftFrameByOffset(d * ot, c), !0);
340
+ })(...S);
336
341
  }
337
- return [e, t(this, L)[i]];
338
- }, At = new WeakSet(), hi = function(i, e) {
339
- if (!(t(this, s) && D(t(this, k))))
342
+ return [e, t(this, _)[i]];
343
+ }, Lt = new WeakSet(), ci = function(i, e) {
344
+ if (!(t(this, s) && L(t(this, T))))
340
345
  return;
341
346
  if (e instanceof MouseEvent) {
342
347
  if (e.type !== "click")
343
348
  return;
344
349
  } else if (e instanceof KeyboardEvent) {
345
- if (!t(l, Ot).includes(e.code))
350
+ if (!t(f, Ct).includes(e.code))
346
351
  return;
347
352
  } else
348
353
  return;
349
354
  let o = 1;
350
- if (D(t(this, I))) {
351
- const a = Number(t(this, I).call(t(this, B, q), e, i));
352
- o = Number.isInteger(a) && a >= 1 ? a : o;
355
+ if (L(t(this, I))) {
356
+ const n = Number(t(this, I).call(t(this, P, q), e, i));
357
+ o = Number.isInteger(n) && n >= 1 ? n : o;
353
358
  }
354
359
  return o;
355
- }, K = new WeakSet(), J = function(i) {
356
- if (t(this, p) || !t(this, s))
360
+ }, B = new WeakSet(), J = function(i) {
361
+ if (t(this, F) || !t(this, s))
357
362
  return;
358
363
  switch (t(this, E)) {
359
- case j:
360
- case at:
364
+ case Y:
365
+ case ct:
361
366
  break;
362
- case ot:
367
+ case nt:
363
368
  default:
364
369
  return;
365
370
  }
366
- const e = t(this, s).cursor, o = t(this, s).getTimestampAtIndex(e), a = t(this, s).getTimestampAtIndex(e + 1) - 1, n = t(this, R);
367
- if (t(this, E) === at || t(this, s).blankSelection || n)
368
- if (r(this, b, !(t(this, E) === at || n)), t(this, E) === j && n) {
369
- const u = a >= t(this, s).selectionEnd ? O : N;
370
- u === O ? t(this, s).updateSelection(a, N) : t(this, s).updateSelection(o, O), c(this, Y, lt).call(this, u === O ? t(this, s).selectionEnd : t(this, s).selectionStart, u, n);
371
+ const e = t(this, s).cursor, o = Math.max(t(this, s).getTimestampAtIndex(e), t(this, s).timeslice.from), n = Math.min(t(this, s).getTimestampAtIndex(e + 1) - 1, t(this, s).timeslice.to), a = t(this, R);
372
+ if (t(this, E) === ct || t(this, s).blankSelection || a)
373
+ if (r(this, y, !(t(this, E) === ct || a)), t(this, E) === Y && a) {
374
+ const c = n >= t(this, s).selectionEnd ? O : N;
375
+ c === O ? t(this, s).updateSelection(n, N) : t(this, s).updateSelection(o, O), l(this, v, dt).call(this, c === O ? t(this, s).selectionEnd : t(this, s).selectionStart, c, a);
371
376
  } else
372
- t(this, s).updateSelection(o, O), t(this, s).updateSelection(a, N);
377
+ t(this, s).updateSelection(o, O), t(this, s).updateSelection(n, N);
373
378
  else {
374
- const u = i === X;
375
- if (u || r(this, b, !1), o <= t(this, s).selectionStart) {
376
- const S = new Date(t(this, s).selectionStart), m = S.setDate(S.getDate() + 1) - 1;
377
- o === t(this, s).selectionStart && a <= m && t(this, s).updateSelection(a, N), t(this, s).updateSelection(o, O);
379
+ const c = i === X, d = Wt(t(this, s).timezone);
380
+ if (c || r(this, y, !1), o <= t(this, s).selectionStart) {
381
+ const S = new Date(lt(d, t(this, s).selectionStart)), k = Math.min(ft(d, S.setDate(S.getDate() + 1) - 1), t(this, s).timeslice.to);
382
+ o === t(this, s).selectionStart && n <= k && t(this, s).updateSelection(n, N), t(this, s).updateSelection(o, O);
378
383
  } else {
379
- const m = new Date(t(this, s).selectionEnd).setHours(0, 0, 0, 0);
380
- o <= t(this, s).selectionEnd && o >= m && t(this, s).updateSelection(o, O), t(this, s).updateSelection(a, N);
384
+ const S = new Date(lt(d, t(this, s).selectionEnd)), k = Math.max(ft(d, S.setHours(0, 0, 0, 0)), t(this, s).timeslice.from);
385
+ o <= t(this, s).selectionEnd && o >= k && t(this, s).updateSelection(o, O), t(this, s).updateSelection(n, N);
381
386
  }
382
- if (u)
387
+ if (c)
383
388
  return;
384
389
  }
385
- r(this, F, t(this, s).selectionStart), r(this, C, t(this, s).selectionEnd);
386
- }, tt = new WeakSet(), wt = function() {
390
+ r(this, b, t(this, s).selectionStart), r(this, C, t(this, s).selectionEnd);
391
+ }, it = new WeakSet(), Kt = function() {
387
392
  var i;
388
- (i = t(this, s)) == null || i.clearSelection(), r(this, b, !1), r(this, F, r(this, C, void 0));
389
- }, Y = new WeakSet(), lt = function(i, e, o) {
393
+ (i = t(this, s)) == null || i.clearSelection(), r(this, y, !1), r(this, b, r(this, C, void 0));
394
+ }, v = new WeakSet(), dt = function(i, e, o) {
395
+ var Yt;
390
396
  if (!t(this, s))
391
397
  return;
392
- const a = new Date(i), n = e === O ? -1 : 1, [u = 0, S = 0, m = 0, H = 0, W = 0, rt = 0] = o ?? [];
393
- a.setFullYear(a.getFullYear() + u * n, a.getMonth() + S * n, a.getDate() + m * n), a.setHours(a.getHours() + H * n, a.getMinutes() + W * n, a.getSeconds() + rt * n), t(this, s).updateSelection(a.getTime() - n, e);
394
- }, it = new WeakSet(), Pt = function() {
398
+ const n = Wt((Yt = t(this, s)) == null ? void 0 : Yt.timezone), a = new Date(lt(n, i)), c = e === O ? -1 : 1, [d = 0, S = 0, k = 0, w = 0, ot = 0, at = 0] = o ?? [];
399
+ a.setFullYear(a.getFullYear() + d * c, a.getMonth() + S * c, a.getDate() + k * c), a.setHours(a.getHours() + w * c, a.getMinutes() + ot * c, a.getSeconds() + at * c), t(this, s).updateSelection(ft(n, a.getTime() - c), e);
400
+ }, st = new WeakSet(), Ut = function() {
395
401
  var i, e;
396
- t(this, F) && ((i = t(this, s)) == null || i.updateSelection(t(this, F), O)), t(this, C) && ((e = t(this, s)) == null || e.updateSelection(t(this, C), N)), r(this, b, !1);
397
- }, st = new WeakSet(), Bt = function() {
398
- t(this, s) && (t(this, s).timeslice = t(this, f).timeslice, t(this, s).dynamicBlockHeight = !t(this, f).fixedBlockHeight, t(this, s).firstWeekDay = t(this, f).firstWeekDay, t(this, s).locale = t(this, f).locale, t(this, s).size = t(this, f).blocks, t(this, s).trackCurrentDay = t(this, f).trackCurrentDay, c(this, it, Pt).call(this));
399
- }, et = new WeakSet(), Kt = function() {
400
- var i, e, o, a, n;
402
+ t(this, b) && ((i = t(this, s)) == null || i.updateSelection(t(this, b), O)), t(this, C) && ((e = t(this, s)) == null || e.updateSelection(t(this, C), N)), r(this, y, !1);
403
+ }, et = new WeakSet(), xt = function() {
404
+ t(this, s) && (t(this, s).timeslice = t(this, u).timeslice, t(this, s).dynamicBlockHeight = !t(this, u).fixedBlockHeight, t(this, s).firstWeekDay = t(this, u).firstWeekDay, t(this, s).locale = t(this, u).locale, t(this, s).size = t(this, u).blocks, t(this, s).timezone = t(this, u).timezone, t(this, s).trackCurrentDay = t(this, u).trackCurrentDay, r(this, Z, Gt(t(this, s).timezone)), l(this, st, Ut).call(this));
405
+ }, ht = new WeakSet(), zt = function() {
406
+ var i, e, o, n, a, c;
401
407
  switch (t(this, E)) {
402
- case j:
403
- !Yt((i = t(this, s)) == null ? void 0 : i.blankSelection) && t(this, R) && c(this, Y, lt).call(this, (e = t(this, s)) == null ? void 0 : e.selectionStart, N, t(this, R));
408
+ case Y:
409
+ !Xt((i = t(this, s)) == null ? void 0 : i.blankSelection) && t(this, R) && l(this, v, dt).call(this, (e = t(this, s)) == null ? void 0 : e.selectionStart, N, t(this, R));
404
410
  break;
405
- case at:
406
- Yt((o = t(this, s)) == null ? void 0 : o.blankSelection) || (n = t(this, s)) == null || n.updateSelection(new Date((a = t(this, s)) == null ? void 0 : a.selectionStart).setHours(23, 59, 59, 999), N);
411
+ case ct:
412
+ if (!Xt((o = t(this, s)) == null ? void 0 : o.blankSelection)) {
413
+ const d = Wt((n = t(this, s)) == null ? void 0 : n.timezone), S = new Date(lt(d, (a = t(this, s)) == null ? void 0 : a.selectionStart));
414
+ (c = t(this, s)) == null || c.updateSelection(ft(d, S.setHours(23, 59, 59, 999)), N);
415
+ }
407
416
  break;
408
- case ot:
417
+ case nt:
409
418
  default:
410
- c(this, tt, wt).call(this);
419
+ l(this, it, Kt).call(this);
411
420
  return;
412
421
  }
413
- }, ht = new WeakSet(), Ut = function() {
422
+ }, rt = new WeakSet(), vt = function() {
414
423
  var i, e;
415
- switch ((i = t(this, _)) == null ? void 0 : i.snapshot.controls) {
416
- case Fi:
417
- r(this, T, t(l, Rt));
424
+ switch ((i = t(this, H)) == null ? void 0 : i.snapshot.controls) {
425
+ case Di:
426
+ r(this, p, t(f, Tt));
418
427
  break;
419
- case pi:
420
- r(this, T, t(l, gt));
428
+ case Ai:
429
+ r(this, p, t(f, pt));
421
430
  break;
422
- case Ti:
431
+ case Ni:
423
432
  default:
424
- r(this, T, void 0);
433
+ r(this, p, void 0);
425
434
  }
426
- t(this, L).length = 0, t(this, L).length = ((e = t(this, T)) == null ? void 0 : e.length) ?? 0;
427
- }, h(l, Ct), h(l, kt), h(l, Tt), h(l, v), h(l, St, /^(?:0|[1-9]\d*)(\s+(?:0|[1-9]\d*)?){0,5}?$/), h(l, mt, ["click", "mouseover", "pointerover"]), h(l, Et, _t(0, zt)), h(l, Ot, [g.ENTER, g.SPACE]), h(l, Rt, Object.keys(vt).filter((i) => isNaN(+i))), h(l, gt, ["PREV", "NEXT"]), h(l, pt, function(i) {
428
- var u, S;
429
- if (Ai(i))
435
+ t(this, _).length = 0, t(this, _).length = ((e = t(this, p)) == null ? void 0 : e.length) ?? 0;
436
+ }, h(f, kt), h(f, Ft), h(f, bt), h(f, z), h(f, Ot, /^(?:0|[1-9]\d*)(\s+(?:0|[1-9]\d*)?){0,5}?$/), h(f, Rt, ["click", "mouseover", "pointerover"]), h(f, gt, Mt(0, $t)), h(f, Ct, [g.ENTER, g.SPACE]), h(f, Tt, Object.keys(Vt).filter((i) => isNaN(+i))), h(f, pt, ["PREV", "NEXT"]), h(f, yt, function(i) {
437
+ var c, d;
438
+ if (_i(i))
430
439
  return;
431
- let e = !1, o = !1, a = !1;
432
- const n = (u = t(this, R)) == null ? void 0 : u.join(" ");
433
- for (const m of Object.keys(i))
434
- i[m] !== ((S = t(this, x)) == null ? void 0 : S[m]) && (m === "controls" ? e = !0 : m === "highlight" ? o = !0 : (m === "from" || m === "to") && (a = !0));
435
- t(this, U) !== n && (r(this, U, n), o = !0), r(this, x, i), t(this, b) && !a && c(this, it, Pt).call(this), e && c(this, ht, Ut).call(this), o && c(this, et, Kt).call(this);
440
+ let e = !1, o = !1, n = !1;
441
+ const a = (c = t(this, R)) == null ? void 0 : c.join(" ");
442
+ for (const S of Object.keys(i))
443
+ i[S] !== ((d = t(this, x)) == null ? void 0 : d[S]) && (S === "controls" ? e = !0 : S === "highlight" ? o = !0 : (S === "from" || S === "to") && (n = !0));
444
+ t(this, K) !== a && (r(this, K, a), o = !0), r(this, x, i), t(this, y) && !n && l(this, st, Ut).call(this), e && l(this, rt, vt).call(this), o && l(this, ht, zt).call(this);
436
445
  });
437
- let Xt = l;
446
+ let Qt = f;
438
447
  export {
439
- Xt as default
448
+ Qt as default
440
449
  };