@adyen/adyen-platform-experience-web 1.2.0 → 1.3.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.
- package/dist/adyen-platform-experience-web.css +1 -0
- package/dist/angle-right-reGJ7jfy.cjs +2 -0
- package/dist/{angle-right-1899f206.cjs.map → angle-right-reGJ7jfy.cjs.map} +1 -1
- package/dist/checkmark-DLQ0eQ9B.cjs +2 -0
- package/dist/{checkmark-9399af30.cjs.map → checkmark-DLQ0eQ9B.cjs.map} +1 -1
- package/dist/checkmark-circle-fill-daKF6pt4.cjs +2 -0
- package/dist/{checkmark-circle-fill-edd7d360.cjs.map → checkmark-circle-fill-daKF6pt4.cjs.map} +1 -1
- package/dist/checkmark-square-fill-B6wYCtwy.cjs +2 -0
- package/dist/{checkmark-square-fill-4f33ffa1.cjs.map → checkmark-square-fill-B6wYCtwy.cjs.map} +1 -1
- package/dist/chevron-down-DN0sbcES.cjs +2 -0
- package/dist/{chevron-down-2eec7c98.cjs.map → chevron-down-DN0sbcES.cjs.map} +1 -1
- package/dist/chevron-left-DQy9RoLd.cjs +2 -0
- package/dist/{chevron-left-20950420.cjs.map → chevron-left-DQy9RoLd.cjs.map} +1 -1
- package/dist/chevron-right-C1v8rslw.cjs +2 -0
- package/dist/{chevron-right-a975d4ef.cjs.map → chevron-right-C1v8rslw.cjs.map} +1 -1
- package/dist/chevron-up-DLQHTfYo.cjs +2 -0
- package/dist/{chevron-up-ad09fd0d.cjs.map → chevron-up-DLQHTfYo.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/copy-BAyT_BYn.cjs +2 -0
- package/dist/{copy-969cde48.cjs.map → copy-BAyT_BYn.cjs.map} +1 -1
- package/dist/cross-8jn1CRBO.cjs +2 -0
- package/dist/{cross-6133edca.cjs.map → cross-8jn1CRBO.cjs.map} +1 -1
- package/dist/cross-circle-fill-DUcHCmLb.cjs +2 -0
- package/dist/{cross-circle-fill-afd9ea6e.cjs.map → cross-circle-fill-DUcHCmLb.cjs.map} +1 -1
- package/dist/da-DK-UDr4zLEm.cjs +2 -0
- package/dist/da-DK-UDr4zLEm.cjs.map +1 -0
- package/dist/de-DE-CRXo3Lip.cjs +2 -0
- package/dist/de-DE-CRXo3Lip.cjs.map +1 -0
- package/dist/download-BwO4dcZi.cjs +2 -0
- package/dist/{download-ffe5624f.cjs.map → download-BwO4dcZi.cjs.map} +1 -1
- package/dist/es/components/external/BaseElement.js +17 -20
- package/dist/es/components/external/CapitalOffer/CapitalOfferElement.js +13 -14
- package/dist/es/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.js +53 -46
- package/dist/es/components/external/CapitalOffer/components/CapitalOffer/constants.js +2 -1
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferLegalNotice/CapitalOfferLegalNotice.js +43 -0
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.js +22 -22
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.js +57 -55
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/constants.js +4 -0
- package/dist/es/components/external/CapitalOffer/components/utils/CapitalErrorMessageDisplay.js +21 -19
- package/dist/es/components/external/CapitalOffer/components/utils/utils.js +16 -16
- package/dist/es/components/external/CapitalOverview/CapitalOverviewElement.js +24 -20
- package/dist/es/components/external/CapitalOverview/components/CapitalOverview/CapitalOverview.js +83 -63
- package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.js +17 -17
- package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.js +17 -18
- package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.js +73 -71
- package/dist/es/components/external/CapitalOverview/components/GrantItem/constants.js +0 -1
- package/dist/es/components/external/CapitalOverview/components/GrantItem/utils.js +15 -15
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.js +5 -5
- package/dist/es/components/external/CapitalOverview/components/PreQualified/PreQualified.js +26 -19
- package/dist/es/components/external/CapitalOverview/components/PreQualifiedIntro.js +12 -10
- package/dist/es/components/external/CapitalOverview/components/Unqualified.js +3 -3
- package/dist/es/components/external/PayoutDetails/PayoutDetails.js +12 -13
- package/dist/es/components/external/PayoutDetails/components/PayoutData.js +45 -40
- package/dist/es/components/external/PayoutDetails/components/constants.js +9 -8
- package/dist/es/components/external/PayoutsOverview/PayoutsOverviewElement.js +9 -10
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +22 -22
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +8 -8
- package/dist/es/components/external/ReportsOverview/ReportsOverviewElement.js +16 -17
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +33 -33
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +16 -16
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +15 -16
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionData.js +1 -1
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +16 -17
- package/dist/es/components/external/TransactionDetails/components/details/TransactionDataProperties.js +13 -14
- package/dist/es/components/external/TransactionDetails/components/details/TransactionDetailsDataContainer.js +3 -3
- package/dist/es/components/external/TransactionDetails/components/details/TransactionStatusBox.js +12 -12
- package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundNotice.js +5 -5
- package/dist/es/components/external/TransactionDetails/components/refund/TransactionRefundReason.js +17 -17
- package/dist/es/components/external/TransactionDetails/context/details/context.js +27 -29
- package/dist/es/components/external/TransactionDetails/context/refund/context.js +20 -18
- package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextAmount.js +2 -0
- package/dist/es/components/external/TransactionDetails/context/refund/hooks/useRefundContextLineItems.js +1 -2
- package/dist/es/components/external/TransactionDetails/hooks/useTransaction/transactionNavigator/createDuplexTransactionNavigator.js +27 -27
- package/dist/es/components/external/TransactionDetails/hooks/useTransaction/useTransaction.js +21 -21
- package/dist/es/components/external/TransactionDetails/hooks/useTransactionRefundMetadata/useTransactionRefundMetadata.js +25 -25
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +14 -15
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +5 -5
- package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +14 -16
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +9 -9
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +12 -12
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +2 -2
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +6 -6
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +34 -34
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +42 -42
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +12 -12
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +11 -11
- package/dist/es/components/external/TransactionsOverview/components/utils.js +4 -4
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +14 -14
- package/dist/es/components/external/UIElement/UIElement.js +6 -7
- package/dist/es/components/internal/Accordion/Accordion.js +1 -1
- package/dist/es/components/internal/Alert/Alert.js +8 -8
- package/dist/es/components/internal/Alert/AlertIcon.js +1 -1
- package/dist/es/components/internal/AnchorButton/AnchorButton.js +22 -0
- package/dist/es/components/internal/BaseButton/BaseButton.js +19 -18
- package/dist/es/components/internal/BaseList/BaseList.js +1 -1
- package/dist/es/components/internal/Button/Button.js +20 -55
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +1 -1
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +1 -1
- package/dist/es/components/internal/Button/DownloadButton/useDownload.js +7 -7
- package/dist/es/components/internal/Button/hooks/useButton.js +40 -13
- package/dist/es/components/internal/Calendar/Calendar.js +1 -1
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +259 -295
- package/dist/es/components/internal/Calendar/calendar/facade/index.js +14 -14
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +14 -15
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/utils.js +1 -2
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +92 -100
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +180 -194
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +18 -18
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.js +2 -2
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +5 -5
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.js +2 -2
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +8 -8
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +11 -11
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.js +2 -2
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.js +2 -2
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +5 -5
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +1 -1
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +22 -26
- package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +5 -5
- package/dist/es/components/internal/Calendar/calendar/utils.js +19 -20
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +1 -1
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +5 -5
- package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +16 -17
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +26 -27
- package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +19 -21
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +9 -9
- package/dist/es/components/internal/CapitalHeader/CapitalHeader.js +16 -4
- package/dist/es/components/internal/CapitalHeader/constants.js +7 -0
- package/dist/es/components/internal/CapitalHeader/helpers.js +34 -0
- package/dist/es/components/internal/CapitalSlider/CapitalSlider.js +5 -5
- package/dist/es/components/internal/Card/Card.js +20 -20
- package/dist/es/components/internal/CopyText/CopyText.js +11 -11
- package/dist/es/components/internal/DataGrid/DataGrid.js +5 -5
- package/dist/es/components/internal/DataGrid/DataGridCell.js +2 -2
- package/dist/es/components/internal/DataGrid/components/Icon.js +3 -3
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +4 -4
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +9 -9
- package/dist/es/components/internal/DataGrid/components/TableCells.js +7 -7
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +1 -2
- package/dist/es/components/internal/DataOverviewContainer/DataOverviewContainer.js +11 -11
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +18 -18
- package/dist/es/components/internal/DataOverviewDetails/useDataOverviewDetailsTitle.js +8 -8
- package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +5 -5
- package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.js +1 -1
- package/dist/es/components/internal/DataOverviewError/DataOverviewError.js +9 -9
- package/dist/es/components/internal/DatePicker/DatePicker.js +13 -13
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +8 -8
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +25 -25
- package/dist/es/components/internal/Divider/Divider.js +1 -1
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +7 -7
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +60 -56
- package/dist/es/components/internal/ExpandableCard/constants.js +11 -9
- package/dist/es/components/internal/FilterBar/FilterBar.js +19 -19
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +14 -14
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +23 -23
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +33 -33
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +16 -16
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +14 -14
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +5 -8
- package/dist/es/components/internal/FormFields/InputBase.js +23 -23
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +20 -20
- package/dist/es/components/internal/FormFields/Select/Select.js +22 -24
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +36 -36
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +8 -8
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +7 -7
- package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +8 -10
- package/dist/es/components/internal/Header/Header.js +24 -16
- package/dist/es/components/internal/Icon/Icon.js +5 -5
- package/dist/es/components/internal/Img/Img.js +1 -1
- package/dist/es/components/internal/InfoBox/InfoBox.js +5 -5
- package/dist/es/components/internal/Modal/Modal.js +8 -8
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +1 -1
- package/dist/es/components/internal/Pagination/Pagination.js +3 -3
- package/dist/es/components/internal/Pagination/hooks/useCursorPaginatedRecords.js +5 -5
- package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +15 -15
- package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +7 -7
- package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +39 -46
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +6 -8
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +6 -6
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +28 -31
- package/dist/es/components/internal/Popover/Popover.js +12 -14
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +2 -2
- package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +1 -1
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +1 -1
- package/dist/es/components/internal/Popover/utils/utils.js +8 -8
- package/dist/es/components/internal/ProgressBar/ProgressBar.js +15 -15
- package/dist/es/components/internal/SVGIcons/CheckedBox.js +5 -5
- package/dist/es/components/internal/SVGIcons/Checkmark.js +4 -4
- package/dist/es/components/internal/SVGIcons/ChevronDown.js +7 -7
- package/dist/es/components/internal/SVGIcons/ChevronLeft.js +5 -5
- package/dist/es/components/internal/SVGIcons/ChevronRight.js +6 -6
- package/dist/es/components/internal/SVGIcons/ChevronUp.js +2 -2
- package/dist/es/components/internal/SVGIcons/CloseCircle.js +4 -4
- package/dist/es/components/internal/SVGIcons/Download.js +3 -3
- package/dist/es/components/internal/SVGIcons/UncheckedBox.js +5 -5
- package/dist/es/components/internal/SVGIcons/Warning.js +3 -3
- package/dist/es/components/internal/Slider/Slider.js +1 -1
- package/dist/es/components/internal/Slider/calculateProgress.js +2 -4
- package/dist/es/components/internal/Spinner/Spinner.js +3 -3
- package/dist/es/components/internal/StructuredList/StructuredList.js +1 -1
- package/dist/es/components/internal/Tabs/Tabs.js +12 -13
- package/dist/es/components/internal/Tag/Tag.js +1 -1
- package/dist/es/components/internal/Tooltip/Tooltip.js +10 -10
- package/dist/es/components/internal/Translation/Translation.js +33 -0
- package/dist/es/components/internal/Typography/Typography.js +6 -6
- package/dist/es/components/utils/capital/getCapitalErrorMessage.js +8 -6
- package/dist/es/components/utils/getCommonErrorCode.js +1 -2
- package/dist/es/components/utils/getErrorMessage.js +4 -6
- package/dist/es/constants/dateFormats.js +3 -3
- package/dist/es/core/ConfigContext/context.js +40 -0
- package/dist/es/core/{Auth → ConfigContext}/session/AuthSession.js +38 -38
- package/dist/es/core/{Auth → ConfigContext}/session/AuthSessionSpecification.js +24 -26
- package/dist/es/core/ConfigContext/session/SetupContext.js +75 -0
- package/dist/es/core/{Auth → ConfigContext}/session/constants.js +4 -4
- package/dist/es/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.js +4 -4
- package/dist/es/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.js +3 -3
- package/dist/es/core/ConfigContext/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.js +10 -0
- package/dist/es/core/ConfigContext/session/utils/sessionReady.js +25 -0
- package/dist/es/core/Context/CoreProvider.js +10 -10
- package/dist/es/core/Context/useCoreContext.js +2 -2
- package/dist/es/core/Errors/AdyenPlatformExperienceError.js +10 -11
- package/dist/es/core/Http/http.js +1 -0
- package/dist/es/core/Http/utils.js +2 -2
- package/dist/es/core/Localization/Localization.js +54 -60
- package/dist/es/core/Localization/constants/currency-codes.js +2 -2
- package/dist/es/core/Localization/constants/currency-decimals.js +2 -2
- package/dist/es/core/Localization/datetime/restamper/constants.js +3 -3
- package/dist/es/core/Localization/datetime/restamper/restamper.js +15 -17
- package/dist/es/core/Localization/utils.js +52 -45
- package/dist/es/core/core.js +24 -25
- package/dist/es/core/utils.js +1 -1
- package/dist/es/external/preact/compat/dist/compat.module.js +100 -115
- package/dist/es/external/preact/dist/preact.module.js +221 -281
- package/dist/es/external/preact/hooks/dist/hooks.module.js +63 -67
- package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +9 -11
- package/dist/es/hooks/element/useDetachedRender.js +12 -12
- package/dist/es/hooks/element/useFocusCursor.js +11 -11
- package/dist/es/hooks/element/useFocusTrap.js +9 -9
- package/dist/es/hooks/element/usePopoverPositioner.js +14 -16
- package/dist/es/hooks/element/useUniqueIdentifier.js +12 -12
- package/dist/es/hooks/useBalanceAccountSelection.js +11 -11
- package/dist/es/hooks/useBalanceAccounts.js +19 -19
- package/dist/es/hooks/useBooleanState.js +4 -4
- package/dist/es/hooks/useCommitAction/useCommitAction.js +9 -9
- package/dist/es/hooks/useDefaultOverviewFilterParams.js +16 -16
- package/dist/es/hooks/useFetch.js +23 -25
- package/dist/es/hooks/useFreezePeriod.js +6 -6
- package/dist/es/hooks/useMounted.js +6 -6
- package/dist/es/hooks/useMutation/useMutation.js +2 -2
- package/dist/es/hooks/useReactiveState/useReactiveState.js +24 -26
- package/dist/es/hooks/useReflex.js +6 -6
- package/dist/es/hooks/useTableColumns.js +7 -7
- package/dist/es/hooks/useTimezoneAwareDateFormatting.js +3 -3
- package/dist/es/images/generic-use-first-touch.svg.js +2 -2
- package/dist/es/images/no-data-female.svg.js +2 -2
- package/dist/es/images/no-results.svg.js +2 -2
- package/dist/es/index.js +33 -33
- package/dist/es/primitives/async/abortable/main.js +10 -12
- package/dist/es/primitives/auxiliary/errorContainer/main.js +7 -7
- package/dist/es/primitives/context/session/SessionContext.js +4 -7
- package/dist/es/primitives/context/session/internal/autofresher.js +15 -15
- package/dist/es/primitives/context/session/internal/deadline.js +22 -28
- package/dist/es/primitives/context/session/internal/refresher.js +10 -14
- package/dist/es/primitives/dom/tabbableRoot/tabbable.js +24 -32
- package/dist/es/primitives/reactive/eventEmitter/main.js +1 -2
- package/dist/es/primitives/reactive/reflex/helpers.js +1 -2
- package/dist/es/primitives/reactive/reflex/main.js +24 -27
- package/dist/es/primitives/reactive/reflex/register.js +27 -29
- package/dist/es/primitives/reactive/watchlist/main.js +22 -25
- package/dist/es/primitives/time/clock/main.js +9 -9
- package/dist/es/primitives/time/interval/main.js +8 -8
- package/dist/es/primitives/time/today/main.js +11 -13
- package/dist/es/style/index.scss.js +1 -4
- package/dist/es/translations/da-DK.json.js +396 -2
- package/dist/es/translations/de-DE.json.js +396 -2
- package/dist/es/translations/en-US.json.js +396 -2
- package/dist/es/translations/es-ES.json.js +396 -2
- package/dist/es/translations/fi-FI.json.js +396 -2
- package/dist/es/translations/fr-FR.json.js +396 -2
- package/dist/es/translations/it-IT.json.js +396 -2
- package/dist/es/translations/nl-NL.json.js +396 -2
- package/dist/es/translations/no-NO.json.js +396 -2
- package/dist/es/translations/pt-BR.json.js +396 -2
- package/dist/es/translations/sv-SE.json.js +396 -2
- package/dist/es/utils/abort/internals.js +1 -2
- package/dist/es/utils/abort/main.js +21 -24
- package/dist/es/utils/collection/main.js +14 -14
- package/dist/es/utils/common.js +9 -5
- package/dist/es/utils/datetime/main.js +3 -3
- package/dist/es/utils/preact/className.js +2 -2
- package/dist/es/utils/preact/memoComparator/main.js +1 -2
- package/dist/es/utils/random/uniqueId.js +5 -5
- package/dist/es/utils/random/uuid.js +1 -1
- package/dist/es/utils/struct/main.js +8 -8
- package/dist/es/utils/value/is.js +9 -9
- package/dist/es-ES-DKE_miHr.cjs +2 -0
- package/dist/es-ES-DKE_miHr.cjs.map +1 -0
- package/dist/fi-FI-MQMNSR--.cjs +2 -0
- package/dist/fi-FI-MQMNSR--.cjs.map +1 -0
- package/dist/filter-DGCUlKbX.cjs +2 -0
- package/dist/{filter-9a3e4c7a.cjs.map → filter-DGCUlKbX.cjs.map} +1 -1
- package/dist/fr-FR-Bq797--M.cjs +2 -0
- package/dist/fr-FR-Bq797--M.cjs.map +1 -0
- package/dist/index-BU9H-9Gn.cjs +12 -0
- package/dist/index-BU9H-9Gn.cjs.map +1 -0
- package/dist/info-filled-y_-s_7-J.cjs +2 -0
- package/dist/{info-filled-7e7648a0.cjs.map → info-filled-y_-s_7-J.cjs.map} +1 -1
- package/dist/it-IT-P4aG92g4.cjs +2 -0
- package/dist/it-IT-P4aG92g4.cjs.map +1 -0
- package/dist/minus-circle-outline-BombUmpi.cjs +2 -0
- package/dist/{minus-circle-outline-0f20287b.cjs.map → minus-circle-outline-BombUmpi.cjs.map} +1 -1
- package/dist/nl-NL-CkNmbOjk.cjs +2 -0
- package/dist/nl-NL-CkNmbOjk.cjs.map +1 -0
- package/dist/no-NO-Cb48UzO1.cjs +2 -0
- package/dist/no-NO-Cb48UzO1.cjs.map +1 -0
- package/dist/plus-circle-outline-2EQEIXAM.cjs +2 -0
- package/dist/{plus-circle-outline-58879e3c.cjs.map → plus-circle-outline-2EQEIXAM.cjs.map} +1 -1
- package/dist/pt-BR-7QdWAx4z.cjs +2 -0
- package/dist/pt-BR-7QdWAx4z.cjs.map +1 -0
- package/dist/square-Ds2_OrAo.cjs +2 -0
- package/dist/{square-a26e52f2.cjs.map → square-Ds2_OrAo.cjs.map} +1 -1
- package/dist/sv-SE-DDU8uUdf.cjs +2 -0
- package/dist/sv-SE-DDU8uUdf.cjs.map +1 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.d.ts +1 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOffer/CapitalOffer.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOffer/components/CapitalOffer/constants.d.ts +1 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOffer/constants.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOffer/components/CapitalOfferLegalNotice/CapitalOfferLegalNotice.d.ts +3 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOfferLegalNotice/CapitalOfferLegalNotice.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/constants.d.ts +2 -0
- package/dist/types/components/external/CapitalOffer/components/CapitalOfferSummary/constants.d.ts.map +1 -0
- package/dist/types/components/external/CapitalOffer/components/utils/CapitalErrorMessageDisplay.d.ts +2 -1
- package/dist/types/components/external/CapitalOffer/components/utils/CapitalErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/CapitalOverviewElement.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/CapitalOverview/CapitalOverview.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantDetails/GrantDetails.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/GrantItem.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/constants.d.ts +0 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/constants.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/GrantItem/utils.d.ts +3 -3
- package/dist/types/components/external/CapitalOverview/components/PreQualified/PreQualified.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/components/PreQualifiedIntro.d.ts +3 -3
- package/dist/types/components/external/CapitalOverview/components/PreQualifiedIntro.d.ts.map +1 -1
- package/dist/types/components/external/CapitalOverview/types.d.ts +1 -1
- package/dist/types/components/external/CapitalOverview/types.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts +1 -0
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts +1 -0
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/context/refund/context.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/context/refund/hooks/useRefundAction.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/context/refund/hooks/useRefundAction.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/hooks/useTransaction/useTransaction.d.ts +1 -0
- package/dist/types/components/external/TransactionDetails/hooks/useTransaction/useTransaction.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.d.ts.map +1 -1
- package/dist/types/components/internal/AnchorButton/AnchorButton.d.ts +7 -0
- package/dist/types/components/internal/AnchorButton/AnchorButton.d.ts.map +1 -0
- package/dist/types/components/internal/BaseButton/BaseButton.d.ts +1 -1
- package/dist/types/components/internal/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/types/components/internal/BaseButton/types.d.ts +2 -2
- package/dist/types/components/internal/BaseButton/types.d.ts.map +1 -1
- package/dist/types/components/internal/Button/Button.d.ts +4 -4
- package/dist/types/components/internal/Button/Button.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +4 -0
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
- package/dist/types/components/internal/Button/hooks/useButton.d.ts +18 -1
- package/dist/types/components/internal/Button/hooks/useButton.d.ts.map +1 -1
- package/dist/types/components/internal/Button/types.d.ts +9 -3
- package/dist/types/components/internal/Button/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.d.ts +1 -1
- package/dist/types/components/internal/CapitalHeader/CapitalHeader.d.ts +1 -0
- package/dist/types/components/internal/CapitalHeader/CapitalHeader.d.ts.map +1 -1
- package/dist/types/components/internal/CapitalHeader/constants.d.ts +9 -0
- package/dist/types/components/internal/CapitalHeader/constants.d.ts.map +1 -0
- package/dist/types/components/internal/CapitalHeader/helpers.d.ts +5 -0
- package/dist/types/components/internal/CapitalHeader/helpers.d.ts.map +1 -0
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts +1 -1
- package/dist/types/components/internal/ExpandableCard/ExpandableCard.d.ts.map +1 -1
- package/dist/types/components/internal/ExpandableCard/constants.d.ts +5 -3
- package/dist/types/components/internal/ExpandableCard/constants.d.ts.map +1 -1
- package/dist/types/components/internal/ExpandableCard/types.d.ts +1 -0
- package/dist/types/components/internal/ExpandableCard/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/components/FilterButton/FilterButton.d.ts +1 -1
- package/dist/types/components/internal/FilterBar/components/FilterButton/FilterButton.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/components/FilterButton/types.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/components/FilterButton/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +9 -9
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/Header/Header.d.ts +6 -0
- package/dist/types/components/internal/Header/Header.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/internal/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/CheckedBox.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/Checkmark.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/Checkmark.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronDown.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts +2 -2
- package/dist/types/components/internal/SVGIcons/ChevronLeft.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts +2 -2
- package/dist/types/components/internal/SVGIcons/ChevronRight.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/ChevronUp.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/CloseCircle.d.ts.map +1 -1
- package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts +1 -1
- package/dist/types/components/internal/SVGIcons/UncheckedBox.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
- package/dist/types/components/internal/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/components/internal/Translation/Translation.d.ts +5 -0
- package/dist/types/components/internal/Translation/Translation.d.ts.map +1 -0
- package/dist/types/components/internal/Translation/index.d.ts +3 -0
- package/dist/types/components/internal/Translation/index.d.ts.map +1 -0
- package/dist/types/components/internal/Translation/types.d.ts +11 -0
- package/dist/types/components/internal/Translation/types.d.ts.map +1 -0
- package/dist/types/components/utils/capital/getCapitalErrorMessage.d.ts.map +1 -1
- package/dist/types/core/{Auth → ConfigContext}/context.d.ts +57 -52
- package/dist/types/core/{Auth → ConfigContext}/context.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/index.d.ts.map +1 -0
- package/dist/types/core/{Auth → ConfigContext}/session/AuthSession.d.ts +106 -96
- package/dist/types/core/{Auth → ConfigContext}/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/AuthSessionSpecification.d.ts.map +1 -0
- package/dist/types/core/{Auth/session/AuthSetupContext.d.ts → ConfigContext/session/SetupContext.d.ts} +58 -52
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/constants.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/index.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/types.d.ts.map +1 -0
- package/dist/types/core/ConfigContext/session/utils/sessionReady.d.ts.map +1 -0
- package/dist/types/core/{Auth → ConfigContext}/types.d.ts +8 -6
- package/dist/types/core/ConfigContext/types.d.ts.map +1 -0
- package/dist/types/core/Localization/utils.d.ts.map +1 -1
- package/dist/types/core/core.d.ts +1 -1
- package/dist/types/core/core.d.ts.map +1 -1
- package/dist/types/core/types.d.ts +1 -1
- package/dist/types/core/types.d.ts.map +1 -1
- package/dist/types/translations/index.d.ts +10 -2
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/models/index.d.ts +1 -0
- package/dist/types/types/api/models/index.d.ts.map +1 -1
- package/dist/types/types/api/models/setup.d.ts +3 -0
- package/dist/types/types/api/models/setup.d.ts.map +1 -0
- package/dist/types/types/api/resources/PayoutsResource.d.ts +1 -0
- package/dist/types/types/api/resources/PayoutsResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/ReportsResource.d.ts +7 -0
- package/dist/types/types/api/resources/ReportsResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/SetupResource.d.ts +18 -6
- package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/TransactionsResource.d.ts +48 -47
- package/dist/types/types/api/resources/TransactionsResource.d.ts.map +1 -1
- package/dist/types/utils/common.d.ts +2 -1
- package/dist/types/utils/common.d.ts.map +1 -1
- package/dist/types/utils/preact/fixedForwardRef.d.ts +2 -2
- package/dist/types/utils/preact/fixedForwardRef.d.ts.map +1 -1
- package/dist/types/utils/types.d.ts +5 -0
- package/dist/types/utils/types.d.ts.map +1 -1
- package/dist/warning-CqutbHgk.cjs +2 -0
- package/dist/{warning-4d681371.cjs.map → warning-CqutbHgk.cjs.map} +1 -1
- package/dist/warning-filled-DL73IbMz.cjs +2 -0
- package/dist/{warning-filled-ed9b80d5.cjs.map → warning-filled-DL73IbMz.cjs.map} +1 -1
- package/package.json +13 -11
- package/dist/angle-right-1899f206.cjs +0 -2
- package/dist/checkmark-9399af30.cjs +0 -2
- package/dist/checkmark-circle-fill-edd7d360.cjs +0 -2
- package/dist/checkmark-square-fill-4f33ffa1.cjs +0 -2
- package/dist/chevron-down-2eec7c98.cjs +0 -2
- package/dist/chevron-left-20950420.cjs +0 -2
- package/dist/chevron-right-a975d4ef.cjs +0 -2
- package/dist/chevron-up-ad09fd0d.cjs +0 -2
- package/dist/copy-969cde48.cjs +0 -2
- package/dist/cross-6133edca.cjs +0 -2
- package/dist/cross-circle-fill-afd9ea6e.cjs +0 -2
- package/dist/da-DK-a6a8435e.cjs +0 -2
- package/dist/da-DK-a6a8435e.cjs.map +0 -1
- package/dist/de-DE-d692ac19.cjs +0 -2
- package/dist/de-DE-d692ac19.cjs.map +0 -1
- package/dist/download-ffe5624f.cjs +0 -2
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSelection/CapitalOfferSelection.scss.js +0 -4
- package/dist/es/components/external/CapitalOffer/components/CapitalOfferSummary/CapitalOfferSummary.scss.js +0 -4
- package/dist/es/components/external/CapitalOverview/components/CapitalOverview/CapitalOverview.scss.js +0 -4
- package/dist/es/components/external/CapitalOverview/components/GrantAction/GrantAction.scss.js +0 -4
- package/dist/es/components/external/CapitalOverview/components/GrantDetails/GrantDetails.scss.js +0 -4
- package/dist/es/components/external/CapitalOverview/components/GrantItem/GrantItem.scss.js +0 -4
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantList.scss.js +0 -4
- package/dist/es/components/external/PayoutDetails/components/PayoutData.scss.js +0 -4
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.scss.js +0 -4
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.scss.js +0 -4
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.scss.js +0 -4
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.scss.js +0 -4
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionData.scss.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.scss.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.scss.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.scss.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.scss.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionTable.scss.js +0 -4
- package/dist/es/components/external/UIElement/UIElement.scss.js +0 -4
- package/dist/es/components/internal/Accordion/Accordion.scss.js +0 -4
- package/dist/es/components/internal/Alert/Alert.scss.js +0 -4
- package/dist/es/components/internal/BaseButton/BaseButton.scss.js +0 -4
- package/dist/es/components/internal/BaseList/BaseList.scss.js +0 -4
- package/dist/es/components/internal/Button/Button.scss.js +0 -4
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.scss.js +0 -4
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.scss.js +0 -4
- package/dist/es/components/internal/Calendar/Calendar.scss.js +0 -4
- package/dist/es/components/internal/CapitalSlider/CapitalSlider.scss.js +0 -4
- package/dist/es/components/internal/Card/Card.scss.js +0 -4
- package/dist/es/components/internal/CopyText/CopyText.scss.js +0 -4
- package/dist/es/components/internal/DataGrid/DataGrid.scss.js +0 -4
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.scss.js +0 -4
- package/dist/es/components/internal/DataOverviewDisplay/DataOverviewHeader/DataOverviewHeader.scss.js +0 -4
- package/dist/es/components/internal/DatePicker/DatePicker.scss.js +0 -4
- package/dist/es/components/internal/Divider/Divider.scss.js +0 -4
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.scss.js +0 -4
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.scss.js +0 -4
- package/dist/es/components/internal/ExpandableContainer/ExpandableContainer.js +0 -34
- package/dist/es/components/internal/ExpandableContainer/ExpandableContainer.scss.js +0 -4
- package/dist/es/components/internal/ExpandableContainer/constants.js +0 -8
- package/dist/es/components/internal/FilterBar/FilterBar.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.scss.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.scss.js +0 -4
- package/dist/es/components/internal/FormFields/FormFields.scss.js +0 -4
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.scss.js +0 -4
- package/dist/es/components/internal/FormFields/Select/Select.scss.js +0 -4
- package/dist/es/components/internal/Header/Header.scss.js +0 -4
- package/dist/es/components/internal/Icon/Icon.scss.js +0 -4
- package/dist/es/components/internal/Img/Img.scss.js +0 -4
- package/dist/es/components/internal/InfoBox/InfoBox.scss.js +0 -4
- package/dist/es/components/internal/Modal/Modal.scss.js +0 -4
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.scss.js +0 -4
- package/dist/es/components/internal/Pagination/Pagination.scss.js +0 -4
- package/dist/es/components/internal/Popover/Popover.scss.js +0 -4
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.scss.js +0 -4
- package/dist/es/components/internal/ProgressBar/ProgressBar.scss.js +0 -4
- package/dist/es/components/internal/Slider/Slider.scss.js +0 -4
- package/dist/es/components/internal/Spinner/Spinner.scss.js +0 -4
- package/dist/es/components/internal/StructuredList/StructuredList.scss.js +0 -4
- package/dist/es/components/internal/Tabs/Tabs.scss.js +0 -4
- package/dist/es/components/internal/Tag/Tag.scss.js +0 -4
- package/dist/es/components/internal/Tooltip/Tooltip.scss.js +0 -4
- package/dist/es/components/internal/Typography/Typography.scss.js +0 -4
- package/dist/es/components/shared.scss.js +0 -4
- package/dist/es/core/Auth/context.js +0 -39
- package/dist/es/core/Auth/session/AuthSetupContext.js +0 -72
- package/dist/es/core/Auth/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.js +0 -10
- package/dist/es/core/Auth/session/utils/sessionReady.js +0 -23
- package/dist/es-ES-143780e6.cjs +0 -2
- package/dist/es-ES-143780e6.cjs.map +0 -1
- package/dist/fi-FI-99b94b3f.cjs +0 -2
- package/dist/fi-FI-99b94b3f.cjs.map +0 -1
- package/dist/filter-9a3e4c7a.cjs +0 -2
- package/dist/fr-FR-e0317359.cjs +0 -2
- package/dist/fr-FR-e0317359.cjs.map +0 -1
- package/dist/index-17716b7b.cjs +0 -12
- package/dist/index-17716b7b.cjs.map +0 -1
- package/dist/info-filled-7e7648a0.cjs +0 -2
- package/dist/it-IT-1dc05e46.cjs +0 -2
- package/dist/it-IT-1dc05e46.cjs.map +0 -1
- package/dist/minus-circle-outline-0f20287b.cjs +0 -2
- package/dist/nl-NL-40171335.cjs +0 -2
- package/dist/nl-NL-40171335.cjs.map +0 -1
- package/dist/no-NO-d689e9ff.cjs +0 -2
- package/dist/no-NO-d689e9ff.cjs.map +0 -1
- package/dist/plus-circle-outline-58879e3c.cjs +0 -2
- package/dist/pt-BR-4b1fd7f1.cjs +0 -2
- package/dist/pt-BR-4b1fd7f1.cjs.map +0 -1
- package/dist/square-a26e52f2.cjs +0 -2
- package/dist/style.css +0 -1
- package/dist/sv-SE-2f0e50d2.cjs +0 -2
- package/dist/sv-SE-2f0e50d2.cjs.map +0 -1
- package/dist/types/components/internal/ExpandableContainer/ExpandableContainer.d.ts +0 -5
- package/dist/types/components/internal/ExpandableContainer/ExpandableContainer.d.ts.map +0 -1
- package/dist/types/components/internal/ExpandableContainer/constants.d.ts +0 -6
- package/dist/types/components/internal/ExpandableContainer/constants.d.ts.map +0 -1
- package/dist/types/components/internal/ExpandableContainer/types.d.ts +0 -7
- package/dist/types/components/internal/ExpandableContainer/types.d.ts.map +0 -1
- package/dist/types/core/Auth/index.d.ts.map +0 -1
- package/dist/types/core/Auth/session/AuthSessionSpecification.d.ts.map +0 -1
- package/dist/types/core/Auth/session/AuthSetupContext.d.ts.map +0 -1
- package/dist/types/core/Auth/session/constants.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionAwareComponentAvailability/index.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionAwareComponentAvailability/types.d.ts.map +0 -1
- package/dist/types/core/Auth/session/utils/sessionReady.d.ts.map +0 -1
- package/dist/types/core/Auth/types.d.ts.map +0 -1
- package/dist/warning-4d681371.cjs +0 -2
- package/dist/warning-filled-ed9b80d5.cjs +0 -2
- /package/dist/types/core/{Auth → ConfigContext}/index.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/AuthSessionSpecification.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/constants.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityErrors.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/index.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/sessionAwareComponentAvailability.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionAwareComponentAvailability/types.d.ts +0 -0
- /package/dist/types/core/{Auth → ConfigContext}/session/utils/sessionReady.d.ts +0 -0
|
@@ -1,84 +1,65 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
if (!i.has(m))
|
|
5
|
-
throw TypeError("Cannot " + e);
|
|
1
|
+
var qt = Object.defineProperty;
|
|
2
|
+
var At = (m) => {
|
|
3
|
+
throw TypeError(m);
|
|
6
4
|
};
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
|
|
28
|
-
|
|
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 {
|
|
5
|
+
var Jt = (m, i, e) => i in m ? qt(m, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[i] = e;
|
|
6
|
+
var St = (m, i, e) => Jt(m, typeof i != "symbol" ? i + "" : i, e), Et = (m, i, e) => i.has(m) || At("Cannot " + e);
|
|
7
|
+
var t = (m, i, e) => (Et(m, i, "read from private field"), e ? e.call(m) : i.get(m)), c = (m, i, e) => i.has(m) ? At("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(m) : i.set(m, e), h = (m, i, e, r) => (Et(m, i, "write to private field"), r ? r.call(m, e) : i.set(m, e), e), f = (m, i, e) => (Et(m, i, "access private method"), e);
|
|
8
|
+
import { InteractionKeyCode as C } from "../../../../types.js";
|
|
9
|
+
import { SELECT_NONE as Q, CALENDAR_CONTROLS as Dt, SHIFT_BLOCK as Zt, SHIFT_PERIOD as Ot, SHIFT_FRAME as $t, CALENDAR_SELECTIONS as vt, SELECT_MANY as z, FRAME_SIZES as Qt, FIRST_WEEK_DAYS as ti, CURSOR_NEXT_BLOCK as ii, CURSOR_PREV_BLOCK as si, CURSOR_BLOCK_END as ei, CURSOR_LINE_END as hi, CURSOR_BLOCK_START as ri, CURSOR_LINE_START as ni, CURSOR_DOWNWARD as oi, CURSOR_UPWARD as ai, CURSOR_FORWARD as ci, CURSOR_BACKWARD as li, SELECT_ONE as tt, SELECTION_FROM as R, SELECTION_TO as D, CONTROLS_NONE as fi, CONTROLS_MINIMAL as ui, CONTROLS_ALL as mi, SELECTION_COLLAPSE as di } from "../constants.js";
|
|
10
|
+
import { withTimezone as Rt } from "../utils.js";
|
|
11
|
+
import { CalendarShiftControlsFlag as It, CalendarShiftControlFlag as Y } from "../types.js";
|
|
12
|
+
import { today as Lt } from "../../../../../primitives/time/today/main.js";
|
|
13
|
+
import { createIndexed as gt } from "../../../../../primitives/auxiliary/indexed/main.js";
|
|
14
|
+
import { createWatchlist as Si, isWatchlistUnsubscribeToken as Ei } from "../../../../../primitives/reactive/watchlist/main.js";
|
|
15
|
+
import { pickFrom as j } from "../../../../../utils/collection/main.js";
|
|
16
|
+
import { boolify as V, boolOrTrue as _t } from "../../../../../utils/value/bool.js";
|
|
17
|
+
import { createEffectStack as Ht } from "../../../../../primitives/reactive/effectStack/main.js";
|
|
18
|
+
import Oi from "../timeframe/frames/MonthFrame.js";
|
|
19
|
+
import { timezoneToSystem as it, systemToTimezone as st } from "../../../../../core/Localization/datetime/restamper/utils.js";
|
|
20
|
+
import { EMPTY_OBJECT as G } from "../../../../../utils/value/constants.js";
|
|
21
|
+
import { withFreezeProxyHandlers as Ri, structFrom as gi, struct as Ci } from "../../../../../utils/struct/main.js";
|
|
22
|
+
import { isNullish as et, isFunction as H, isString as wt, isUndefined as Wt } from "../../../../../utils/value/is.js";
|
|
23
|
+
import { noop as Mt } from "../../../../../utils/common.js";
|
|
24
|
+
import { isBitSafeInteger as Ti } from "../../../../../utils/value/number.js";
|
|
25
|
+
var Bt, Kt, u, y, s, N, T, A, O, P, g, K, L, _, p, I, U, J, w, k, nt, W, x, B, Z, ot, at, ct, lt, ft, ut, mt, F, Ut, xt, zt, dt, ht, n, X, Ct, Yt, jt, Vt, Gt, Tt, Xt, q, pt, rt, kt, Ft, bt, yt;
|
|
26
|
+
const d = class d {
|
|
32
27
|
constructor() {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
h(this, E, nt);
|
|
57
|
-
h(this, W, !1);
|
|
58
|
-
h(this, R, void 0);
|
|
59
|
-
h(this, K, (ti = t(this, R)) == null ? void 0 : ti.join(" "));
|
|
60
|
-
h(this, D, void 0);
|
|
61
|
-
h(this, I, void 0);
|
|
62
|
-
h(this, T, void 0);
|
|
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(
|
|
69
|
-
Mt(() => {
|
|
28
|
+
c(this, n);
|
|
29
|
+
St(this, "grid");
|
|
30
|
+
St(this, "kill");
|
|
31
|
+
c(this, u, G);
|
|
32
|
+
c(this, y, !1);
|
|
33
|
+
c(this, s);
|
|
34
|
+
c(this, N);
|
|
35
|
+
c(this, T);
|
|
36
|
+
c(this, A, !1);
|
|
37
|
+
c(this, O, Q);
|
|
38
|
+
c(this, P, !1);
|
|
39
|
+
c(this, g);
|
|
40
|
+
c(this, K, (Bt = t(this, g)) == null ? void 0 : Bt.join(" "));
|
|
41
|
+
c(this, L);
|
|
42
|
+
c(this, _);
|
|
43
|
+
c(this, p);
|
|
44
|
+
c(this, I);
|
|
45
|
+
c(this, U);
|
|
46
|
+
c(this, J, Lt());
|
|
47
|
+
c(this, w, []);
|
|
48
|
+
c(this, k);
|
|
49
|
+
c(this, nt, new Proxy(
|
|
50
|
+
gt(() => {
|
|
70
51
|
var i;
|
|
71
|
-
return ((i = t(this,
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
get: (i, e,
|
|
75
|
-
var
|
|
76
|
-
const
|
|
77
|
-
return
|
|
52
|
+
return ((i = t(this, k)) == null ? void 0 : i.length) ?? 0;
|
|
53
|
+
}, f(this, n, Tt).bind(this)),
|
|
54
|
+
Ri({
|
|
55
|
+
get: (i, e, r) => {
|
|
56
|
+
var o, l;
|
|
57
|
+
const a = ((o = t(this, k)) == null ? void 0 : o.indexOf(e)) ?? -1;
|
|
58
|
+
return a >= 0 ? (l = f(this, n, Tt).call(this, a)) == null ? void 0 : l[1] : Reflect.get(i, e, r);
|
|
78
59
|
}
|
|
79
60
|
})
|
|
80
61
|
));
|
|
81
|
-
|
|
62
|
+
c(this, W, Si({
|
|
82
63
|
blocks: () => {
|
|
83
64
|
var i;
|
|
84
65
|
return (i = t(this, s)) == null ? void 0 : i.size;
|
|
@@ -87,7 +68,7 @@ const f = class f {
|
|
|
87
68
|
var i;
|
|
88
69
|
return (i = t(this, s)) == null ? void 0 : i.units;
|
|
89
70
|
},
|
|
90
|
-
controls: () =>
|
|
71
|
+
controls: () => j(Dt, t(this, u).controls),
|
|
91
72
|
cursor: () => {
|
|
92
73
|
var i;
|
|
93
74
|
return (i = t(this, s)) == null ? void 0 : i.cursor;
|
|
@@ -96,12 +77,12 @@ const f = class f {
|
|
|
96
77
|
var i;
|
|
97
78
|
return (i = t(this, s)) == null ? void 0 : i.selectionStart;
|
|
98
79
|
},
|
|
99
|
-
highlight: () => t(this,
|
|
80
|
+
highlight: () => t(this, O),
|
|
100
81
|
locale: () => {
|
|
101
82
|
var i;
|
|
102
83
|
return (i = t(this, s)) == null ? void 0 : i.locale;
|
|
103
84
|
},
|
|
104
|
-
minified: () =>
|
|
85
|
+
minified: () => V(t(this, u).minified),
|
|
105
86
|
origin: () => {
|
|
106
87
|
var i;
|
|
107
88
|
return (i = t(this, s)) == null ? void 0 : i.getTimestampAtIndex(0);
|
|
@@ -114,19 +95,19 @@ const f = class f {
|
|
|
114
95
|
var i;
|
|
115
96
|
return (i = t(this, s)) == null ? void 0 : i.selectionEnd;
|
|
116
97
|
},
|
|
117
|
-
today: () => t(this,
|
|
98
|
+
today: () => t(this, J).timestamp
|
|
118
99
|
}));
|
|
119
|
-
|
|
120
|
-
|
|
100
|
+
c(this, x, (Kt = t(this, W)) == null ? void 0 : Kt.snapshot);
|
|
101
|
+
c(this, B, Ht(() => {
|
|
121
102
|
var i;
|
|
122
|
-
return t(this,
|
|
103
|
+
return t(this, p) && ((i = t(this, W)) == null ? void 0 : i.requestNotification());
|
|
123
104
|
}));
|
|
124
|
-
|
|
105
|
+
c(this, Z, Ht(() => {
|
|
125
106
|
var i;
|
|
126
|
-
return (i = t(this,
|
|
107
|
+
return (i = t(this, p)) == null ? void 0 : i.call(t(this, n, X));
|
|
127
108
|
}));
|
|
128
|
-
|
|
129
|
-
|
|
109
|
+
c(this, ot, gi(
|
|
110
|
+
gt(
|
|
130
111
|
() => {
|
|
131
112
|
var i;
|
|
132
113
|
return ((i = t(this, s)) == null ? void 0 : i.size) ?? 0;
|
|
@@ -139,44 +120,42 @@ const f = class f {
|
|
|
139
120
|
{
|
|
140
121
|
config: {
|
|
141
122
|
value: Object.defineProperties(
|
|
142
|
-
(i) => (i &&
|
|
123
|
+
(i) => (i && f(this, n, jt).call(this, i), t(this, n, X)),
|
|
143
124
|
{
|
|
144
125
|
cursorIndex: {
|
|
145
|
-
get: () => t(this,
|
|
126
|
+
get: () => t(this, L),
|
|
146
127
|
set: (i) => {
|
|
147
|
-
t(this,
|
|
128
|
+
t(this, y) || (et(i) ? h(this, L, void 0) : H(i) && h(this, L, i));
|
|
148
129
|
}
|
|
149
130
|
},
|
|
150
131
|
shiftFactor: {
|
|
151
|
-
get: () => t(this,
|
|
132
|
+
get: () => t(this, _),
|
|
152
133
|
set: (i) => {
|
|
153
|
-
t(this,
|
|
134
|
+
t(this, y) || (et(i) ? h(this, _, void 0) : H(i) && h(this, _, i));
|
|
154
135
|
}
|
|
155
136
|
},
|
|
156
137
|
watch: {
|
|
157
|
-
get: () => t(this,
|
|
138
|
+
get: () => t(this, p),
|
|
158
139
|
set: (i) => {
|
|
159
|
-
var e,
|
|
160
|
-
if (!t(this,
|
|
161
|
-
if (
|
|
162
|
-
if (
|
|
163
|
-
const
|
|
164
|
-
|
|
140
|
+
var e, r, a, o, l;
|
|
141
|
+
if (!t(this, y))
|
|
142
|
+
if (H(i)) {
|
|
143
|
+
if (h(this, p, i), !t(this, I)) {
|
|
144
|
+
const S = (e = t(this, B)) == null ? void 0 : e.bind(t(d, dt).bind(this));
|
|
145
|
+
S && (h(this, I, (r = t(this, B)) == null ? void 0 : r.bind(Mt)), h(this, U, (o = t(this, W)) == null ? void 0 : o.subscribe((a = t(this, Z)) == null ? void 0 : a.bind(S))), t(this, s) && (t(this, s).effect = t(this, I)));
|
|
165
146
|
}
|
|
166
|
-
if (!t(this,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
} else
|
|
170
|
-
ut(i) && r(this, T, void 0);
|
|
147
|
+
if (!t(this, P)) return;
|
|
148
|
+
h(this, P, !1), (l = t(this, I)) == null || l.call(this);
|
|
149
|
+
} else et(i) && h(this, p, void 0);
|
|
171
150
|
}
|
|
172
151
|
}
|
|
173
152
|
}
|
|
174
153
|
)
|
|
175
154
|
},
|
|
176
|
-
controls: { value: t(this,
|
|
155
|
+
controls: { value: t(this, nt) },
|
|
177
156
|
cursor: {
|
|
178
157
|
value: Object.defineProperties(
|
|
179
|
-
(i) =>
|
|
158
|
+
(i) => f(d, F, ht).call(this, (e) => !!(e && f(this, n, Vt).call(this, e)))(i),
|
|
180
159
|
{
|
|
181
160
|
valueOf: { value: () => {
|
|
182
161
|
var i;
|
|
@@ -187,29 +166,28 @@ const f = class f {
|
|
|
187
166
|
},
|
|
188
167
|
highlight: {
|
|
189
168
|
value: (() => {
|
|
190
|
-
const i = () => t(this,
|
|
191
|
-
var
|
|
192
|
-
if (!(t(this,
|
|
193
|
-
if (
|
|
194
|
-
|
|
195
|
-
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));
|
|
169
|
+
const i = () => t(this, N) === t(this, T) && Wt(t(this, T)), e = (r) => (a) => f(d, F, ht).call(this, (o) => {
|
|
170
|
+
var l, S, E, b, M;
|
|
171
|
+
if (!(t(this, y) || !t(this, O) || t(this, O) === Q)) {
|
|
172
|
+
if (et(o)) return f(this, n, pt).call(this);
|
|
173
|
+
i() ? (S = t(this, s)) == null || S.updateSelection(o, di) : ((l = t(this, s)) == null || l.updateSelection(o, r), t(this, O) === z && t(this, g) && f(this, n, rt).call(this, o, r === R ? D : R, t(this, g))), h(this, N, (E = t(this, s)) == null ? void 0 : E.selectionStart), h(this, T, (b = t(this, s)) == null ? void 0 : b.selectionEnd), (M = t(this, s)) == null || M.shiftFrameToTimestamp(r === R ? t(this, N) : t(this, T));
|
|
196
174
|
}
|
|
197
|
-
})(
|
|
198
|
-
return
|
|
175
|
+
})(a);
|
|
176
|
+
return Ci({
|
|
199
177
|
blank: { get: i },
|
|
200
178
|
from: {
|
|
201
179
|
get: () => {
|
|
202
|
-
var
|
|
203
|
-
return ((
|
|
180
|
+
var r;
|
|
181
|
+
return ((r = t(this, s)) == null ? void 0 : r.selectionStart) ?? t(this, N);
|
|
204
182
|
},
|
|
205
|
-
set: e(
|
|
183
|
+
set: e(R)
|
|
206
184
|
},
|
|
207
185
|
to: {
|
|
208
186
|
get: () => {
|
|
209
|
-
var
|
|
210
|
-
return ((
|
|
187
|
+
var r;
|
|
188
|
+
return ((r = t(this, s)) == null ? void 0 : r.selectionEnd) ?? t(this, T);
|
|
211
189
|
},
|
|
212
|
-
set: e(
|
|
190
|
+
set: e(D)
|
|
213
191
|
}
|
|
214
192
|
});
|
|
215
193
|
})()
|
|
@@ -220,245 +198,231 @@ const f = class f {
|
|
|
220
198
|
} },
|
|
221
199
|
weekdays: { get: () => {
|
|
222
200
|
var i;
|
|
223
|
-
return ((i = t(this, s)) == null ? void 0 : i.daysOfWeek) ?? t(
|
|
201
|
+
return ((i = t(this, s)) == null ? void 0 : i.daysOfWeek) ?? t(d, lt);
|
|
224
202
|
} }
|
|
225
203
|
}
|
|
226
204
|
));
|
|
227
|
-
this.grid = t(this,
|
|
205
|
+
this.grid = t(this, ot), this.kill = f(this, n, Gt).bind(this);
|
|
228
206
|
}
|
|
229
207
|
};
|
|
230
|
-
u = new WeakMap(),
|
|
231
|
-
if (!
|
|
232
|
-
return;
|
|
208
|
+
u = new WeakMap(), y = new WeakMap(), s = new WeakMap(), N = new WeakMap(), T = new WeakMap(), A = new WeakMap(), O = new WeakMap(), P = new WeakMap(), g = new WeakMap(), K = new WeakMap(), L = new WeakMap(), _ = new WeakMap(), p = new WeakMap(), I = new WeakMap(), U = new WeakMap(), J = new WeakMap(), w = new WeakMap(), k = new WeakMap(), nt = new WeakMap(), W = new WeakMap(), x = new WeakMap(), B = new WeakMap(), Z = new WeakMap(), ot = new WeakMap(), at = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), ft = new WeakMap(), ut = new WeakMap(), mt = new WeakMap(), F = new WeakSet(), Ut = function(i) {
|
|
209
|
+
if (!wt(i) || !t(d, at).test(i)) return;
|
|
233
210
|
const e = i.split(/\s+/);
|
|
234
|
-
return Array.from({ length: 6 }, (
|
|
235
|
-
},
|
|
236
|
-
switch (i & ~
|
|
237
|
-
case
|
|
238
|
-
return
|
|
239
|
-
case
|
|
240
|
-
return
|
|
241
|
-
case
|
|
211
|
+
return Array.from({ length: 6 }, (r, a) => parseInt(e[a] ?? "0"));
|
|
212
|
+
}, xt = function(i) {
|
|
213
|
+
switch (i & ~Y.PREV) {
|
|
214
|
+
case Y.FRAME:
|
|
215
|
+
return $t;
|
|
216
|
+
case Y.PERIOD:
|
|
217
|
+
return Ot;
|
|
218
|
+
case Y.BLOCK:
|
|
242
219
|
default:
|
|
243
|
-
return
|
|
220
|
+
return Zt;
|
|
244
221
|
}
|
|
245
|
-
},
|
|
246
|
-
return i &
|
|
247
|
-
},
|
|
222
|
+
}, zt = function(i) {
|
|
223
|
+
return i & Y.PREV ? -1 : 1;
|
|
224
|
+
}, dt = new WeakMap(), ht = function(i) {
|
|
248
225
|
var e;
|
|
249
|
-
return ((e = t(this,
|
|
250
|
-
},
|
|
226
|
+
return ((e = t(this, B)) == null ? void 0 : e.bind(i)) ?? i;
|
|
227
|
+
}, n = new WeakSet(), X = function() {
|
|
251
228
|
return { ...t(this, u) };
|
|
252
|
-
},
|
|
253
|
-
return new
|
|
254
|
-
},
|
|
229
|
+
}, Ct = function() {
|
|
230
|
+
return new Oi();
|
|
231
|
+
}, Yt = function(i) {
|
|
255
232
|
return !!t(this, s) && !(i > 0 ? t(this, s).isAtEnd : t(this, s).isAtStart);
|
|
256
|
-
},
|
|
257
|
-
var
|
|
258
|
-
if (t(this,
|
|
259
|
-
|
|
260
|
-
r(this,
|
|
261
|
-
|
|
262
|
-
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, {
|
|
233
|
+
}, jt = function(i) {
|
|
234
|
+
var a, o;
|
|
235
|
+
if (t(this, y)) return;
|
|
236
|
+
h(this, g, void 0);
|
|
237
|
+
const e = i == null ? void 0 : i.highlight, r = V(t(this, u).minified);
|
|
238
|
+
if (wt(e) ? h(this, g, f(a = d, F, Ut).call(a, e)) && h(this, O, z) : h(this, O, j(vt, e, t(this, O))), h(this, u, {
|
|
263
239
|
...t(this, u),
|
|
264
240
|
...i,
|
|
265
|
-
blocks:
|
|
266
|
-
controls:
|
|
267
|
-
firstWeekDay:
|
|
268
|
-
fixedBlockHeight:
|
|
269
|
-
highlight: t(this,
|
|
270
|
-
minified:
|
|
271
|
-
trackCurrentDay:
|
|
272
|
-
}), !
|
|
273
|
-
t(this, s) ?
|
|
241
|
+
blocks: j(Qt, i == null ? void 0 : i.blocks, t(this, u).blocks),
|
|
242
|
+
controls: j(Dt, i == null ? void 0 : i.controls, t(this, u).controls),
|
|
243
|
+
firstWeekDay: j(ti, i == null ? void 0 : i.firstWeekDay, t(this, u).firstWeekDay),
|
|
244
|
+
fixedBlockHeight: V(i == null ? void 0 : i.fixedBlockHeight, t(this, u).fixedBlockHeight),
|
|
245
|
+
highlight: t(this, O),
|
|
246
|
+
minified: V(i == null ? void 0 : i.minified, t(this, u).minified),
|
|
247
|
+
trackCurrentDay: V(i == null ? void 0 : i.trackCurrentDay, t(this, u).trackCurrentDay)
|
|
248
|
+
}), !H(t(this, p))) {
|
|
249
|
+
t(this, s) ? h(this, P, !0) : (h(this, s, t(this, n, Ct)), f(this, n, Ft).call(this), f(this, n, yt).call(this), f(this, n, bt).call(this));
|
|
274
250
|
return;
|
|
275
251
|
}
|
|
276
|
-
(!t(this, s) ||
|
|
277
|
-
},
|
|
278
|
-
if (i && t(this, s) &&
|
|
252
|
+
(!t(this, s) || r !== t(this, u).minified) && (h(this, s, t(this, n, Ct)), t(this, s).effect = t(this, I)), f(this, n, Ft).call(this), (o = t(this, I)) == null || o.call(this);
|
|
253
|
+
}, Vt = function(i) {
|
|
254
|
+
if (i && t(this, s) && H(t(this, p))) {
|
|
279
255
|
if (i instanceof KeyboardEvent) {
|
|
280
256
|
switch (i.code) {
|
|
281
|
-
case
|
|
282
|
-
t(this, s).shiftFrameCursor(
|
|
257
|
+
case C.ARROW_LEFT:
|
|
258
|
+
t(this, s).shiftFrameCursor(li);
|
|
283
259
|
break;
|
|
284
|
-
case
|
|
285
|
-
t(this, s).shiftFrameCursor(
|
|
260
|
+
case C.ARROW_RIGHT:
|
|
261
|
+
t(this, s).shiftFrameCursor(ci);
|
|
286
262
|
break;
|
|
287
|
-
case
|
|
288
|
-
t(this, s).shiftFrameCursor(
|
|
263
|
+
case C.ARROW_UP:
|
|
264
|
+
t(this, s).shiftFrameCursor(ai);
|
|
289
265
|
break;
|
|
290
|
-
case
|
|
291
|
-
t(this, s).shiftFrameCursor(
|
|
266
|
+
case C.ARROW_DOWN:
|
|
267
|
+
t(this, s).shiftFrameCursor(oi);
|
|
292
268
|
break;
|
|
293
|
-
case
|
|
294
|
-
t(this, s).shiftFrameCursor(i.ctrlKey ?
|
|
269
|
+
case C.HOME:
|
|
270
|
+
t(this, s).shiftFrameCursor(i.ctrlKey ? ri : ni);
|
|
295
271
|
break;
|
|
296
|
-
case
|
|
297
|
-
t(this, s).shiftFrameCursor(i.ctrlKey ?
|
|
272
|
+
case C.END:
|
|
273
|
+
t(this, s).shiftFrameCursor(i.ctrlKey ? ei : hi);
|
|
298
274
|
break;
|
|
299
|
-
case
|
|
300
|
-
i.shiftKey ? t(this, s).shiftFrameByOffset(-1,
|
|
275
|
+
case C.PAGE_UP:
|
|
276
|
+
i.shiftKey ? t(this, s).shiftFrameByOffset(-1, Ot) : t(this, s).shiftFrameCursor(si);
|
|
301
277
|
break;
|
|
302
|
-
case
|
|
303
|
-
i.shiftKey ? t(this, s).shiftFrameByOffset(1,
|
|
278
|
+
case C.PAGE_DOWN:
|
|
279
|
+
i.shiftKey ? t(this, s).shiftFrameByOffset(1, Ot) : t(this, s).shiftFrameCursor(ii);
|
|
304
280
|
break;
|
|
305
|
-
case
|
|
306
|
-
case
|
|
307
|
-
return
|
|
281
|
+
case C.SPACE:
|
|
282
|
+
case C.ENTER:
|
|
283
|
+
return f(this, n, q).call(this), !0;
|
|
308
284
|
default:
|
|
309
285
|
return;
|
|
310
286
|
}
|
|
311
|
-
return t(this,
|
|
287
|
+
return t(this, A) && f(this, n, q).call(this, G), !0;
|
|
312
288
|
}
|
|
313
|
-
if (i instanceof MouseEvent && t(
|
|
314
|
-
const e = t(this,
|
|
315
|
-
if (!
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
if (!(o || t(this, y)))
|
|
319
|
-
return;
|
|
289
|
+
if (i instanceof MouseEvent && t(d, ct).includes(i.type) && H(t(this, L))) {
|
|
290
|
+
const e = t(this, L).call(t(this, n, X), i);
|
|
291
|
+
if (!Ti(e)) return;
|
|
292
|
+
const r = i.type === "click";
|
|
293
|
+
if (!(r || t(this, A))) return;
|
|
320
294
|
if (t(this, s).shiftFrameCursor(e), t(this, s).cursor === e)
|
|
321
|
-
return
|
|
295
|
+
return r ? f(this, n, q).call(this) : f(this, n, q).call(this, G), !0;
|
|
322
296
|
}
|
|
323
297
|
}
|
|
324
|
-
},
|
|
298
|
+
}, Gt = function() {
|
|
325
299
|
var i;
|
|
326
|
-
t(this,
|
|
327
|
-
},
|
|
328
|
-
var
|
|
329
|
-
if (!t(this,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
return Zt(ot) ? !1 : ((at = t(this, s)) == null || at.shiftFrameByOffset(d * ot, c), !0);
|
|
341
|
-
})(...S);
|
|
300
|
+
t(this, y) || ((i = t(this, U)) == null || i.call(this), h(this, B, h(this, Z, h(this, L, h(this, s, h(this, O, h(this, K, h(this, x, h(this, g, h(this, _, h(this, U, h(this, W, h(this, I, h(this, p, void 0))))))))))))), h(this, u, G), h(this, A, h(this, P, !1)), h(this, y, !0));
|
|
301
|
+
}, Tt = function(i) {
|
|
302
|
+
var r, a;
|
|
303
|
+
if (!t(this, k) || i < 0 || i >= t(this, k).length) return;
|
|
304
|
+
const e = t(this, k)[i];
|
|
305
|
+
if (!t(this, w)[i]) {
|
|
306
|
+
const o = It[e], l = f(r = d, F, xt).call(r, o), S = f(a = d, F, zt).call(a, o);
|
|
307
|
+
t(this, w)[i] = (...E) => f(d, F, ht).call(this, (...b) => {
|
|
308
|
+
var v;
|
|
309
|
+
const M = f(this, n, Yt).call(this, S);
|
|
310
|
+
if (!(M && b.length)) return M;
|
|
311
|
+
const $ = f(this, n, Xt).call(this, e, b[0]);
|
|
312
|
+
return Wt($) ? !1 : ((v = t(this, s)) == null || v.shiftFrameByOffset(S * $, l), !0);
|
|
313
|
+
})(...E);
|
|
342
314
|
}
|
|
343
|
-
return [e, t(this,
|
|
344
|
-
},
|
|
345
|
-
if (!(t(this, s) &&
|
|
346
|
-
return;
|
|
315
|
+
return [e, t(this, w)[i]];
|
|
316
|
+
}, Xt = function(i, e) {
|
|
317
|
+
if (!(t(this, s) && H(t(this, p)))) return;
|
|
347
318
|
if (e instanceof MouseEvent) {
|
|
348
|
-
if (e.type !== "click")
|
|
349
|
-
return;
|
|
319
|
+
if (e.type !== "click") return;
|
|
350
320
|
} else if (e instanceof KeyboardEvent) {
|
|
351
|
-
if (!t(
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
const n = Number(t(this, I).call(t(this, P, q), e, i));
|
|
358
|
-
o = Number.isInteger(n) && n >= 1 ? n : o;
|
|
321
|
+
if (!t(d, ft).includes(e.code)) return;
|
|
322
|
+
} else return;
|
|
323
|
+
let r = 1;
|
|
324
|
+
if (H(t(this, _))) {
|
|
325
|
+
const a = Number(t(this, _).call(t(this, n, X), e, i));
|
|
326
|
+
r = Number.isInteger(a) && a >= 1 ? a : r;
|
|
359
327
|
}
|
|
360
|
-
return
|
|
361
|
-
},
|
|
362
|
-
if (t(this,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
case
|
|
366
|
-
case ct:
|
|
328
|
+
return r;
|
|
329
|
+
}, q = function(i) {
|
|
330
|
+
if (t(this, y) || !t(this, s)) return;
|
|
331
|
+
switch (t(this, O)) {
|
|
332
|
+
case z:
|
|
333
|
+
case tt:
|
|
367
334
|
break;
|
|
368
|
-
case
|
|
335
|
+
case Q:
|
|
369
336
|
default:
|
|
370
337
|
return;
|
|
371
338
|
}
|
|
372
|
-
const e = t(this, s).cursor,
|
|
373
|
-
if (t(this,
|
|
374
|
-
if (
|
|
375
|
-
const
|
|
376
|
-
|
|
339
|
+
const e = t(this, s).cursor, r = Math.max(t(this, s).getTimestampAtIndex(e), t(this, s).timeslice.from), a = Math.min(t(this, s).getTimestampAtIndex(e + 1) - 1, t(this, s).timeslice.to), o = t(this, g);
|
|
340
|
+
if (t(this, O) === tt || t(this, s).blankSelection || o)
|
|
341
|
+
if (h(this, A, !(t(this, O) === tt || o)), t(this, O) === z && o) {
|
|
342
|
+
const l = a >= t(this, s).selectionEnd ? R : D;
|
|
343
|
+
l === R ? t(this, s).updateSelection(a, D) : t(this, s).updateSelection(r, R), f(this, n, rt).call(this, l === R ? t(this, s).selectionEnd : t(this, s).selectionStart, l, o);
|
|
377
344
|
} else
|
|
378
|
-
t(this, s).updateSelection(
|
|
345
|
+
t(this, s).updateSelection(r, R), t(this, s).updateSelection(a, D);
|
|
379
346
|
else {
|
|
380
|
-
const
|
|
381
|
-
if (
|
|
382
|
-
const
|
|
383
|
-
|
|
347
|
+
const l = i === G, S = Rt(t(this, s).timezone);
|
|
348
|
+
if (l || h(this, A, !1), r <= t(this, s).selectionStart) {
|
|
349
|
+
const E = new Date(it(S, t(this, s).selectionStart)), b = Math.min(
|
|
350
|
+
st(S, E.setDate(E.getDate() + 1) - 1),
|
|
384
351
|
t(this, s).timeslice.to
|
|
385
352
|
);
|
|
386
|
-
|
|
353
|
+
r === t(this, s).selectionStart && a <= b && t(this, s).updateSelection(a, D), t(this, s).updateSelection(r, R);
|
|
387
354
|
} else {
|
|
388
|
-
const
|
|
389
|
-
|
|
355
|
+
const E = new Date(it(S, t(this, s).selectionEnd)), b = Math.max(
|
|
356
|
+
st(S, E.setHours(0, 0, 0, 0)),
|
|
390
357
|
t(this, s).timeslice.from
|
|
391
358
|
);
|
|
392
|
-
|
|
359
|
+
r <= t(this, s).selectionEnd && r >= b && t(this, s).updateSelection(r, R), t(this, s).updateSelection(a, D);
|
|
393
360
|
}
|
|
394
|
-
if (
|
|
395
|
-
return;
|
|
361
|
+
if (l) return;
|
|
396
362
|
}
|
|
397
|
-
|
|
398
|
-
},
|
|
363
|
+
h(this, N, t(this, s).selectionStart), h(this, T, t(this, s).selectionEnd);
|
|
364
|
+
}, pt = function() {
|
|
399
365
|
var i;
|
|
400
|
-
(i = t(this, s)) == null || i.clearSelection(),
|
|
401
|
-
},
|
|
402
|
-
var
|
|
403
|
-
if (!t(this, s))
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}, st = new WeakSet(), Ut = function() {
|
|
366
|
+
(i = t(this, s)) == null || i.clearSelection(), h(this, A, !1), h(this, N, h(this, T, void 0));
|
|
367
|
+
}, rt = function(i, e, r) {
|
|
368
|
+
var Nt;
|
|
369
|
+
if (!t(this, s)) return;
|
|
370
|
+
const a = Rt((Nt = t(this, s)) == null ? void 0 : Nt.timezone), o = new Date(it(a, i)), l = e === R ? -1 : 1, [S = 0, E = 0, b = 0, M = 0, $ = 0, v = 0] = r ?? [];
|
|
371
|
+
o.setFullYear(
|
|
372
|
+
o.getFullYear() + S * l,
|
|
373
|
+
o.getMonth() + E * l,
|
|
374
|
+
o.getDate() + b * l
|
|
375
|
+
), o.setHours(
|
|
376
|
+
o.getHours() + M * l,
|
|
377
|
+
o.getMinutes() + $ * l,
|
|
378
|
+
o.getSeconds() + v * l
|
|
379
|
+
), t(this, s).updateSelection(st(a, o.getTime() - l), e);
|
|
380
|
+
}, kt = function() {
|
|
416
381
|
var i, e;
|
|
417
|
-
t(this,
|
|
418
|
-
},
|
|
419
|
-
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,
|
|
420
|
-
},
|
|
421
|
-
var i, e,
|
|
422
|
-
switch (t(this,
|
|
423
|
-
case
|
|
424
|
-
!
|
|
382
|
+
t(this, N) && ((i = t(this, s)) == null || i.updateSelection(t(this, N), R)), t(this, T) && ((e = t(this, s)) == null || e.updateSelection(t(this, T), D)), h(this, A, !1);
|
|
383
|
+
}, Ft = function() {
|
|
384
|
+
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, h(this, J, Lt(t(this, s).timezone)), f(this, n, kt).call(this));
|
|
385
|
+
}, bt = function() {
|
|
386
|
+
var i, e, r, a, o, l;
|
|
387
|
+
switch (t(this, O)) {
|
|
388
|
+
case z:
|
|
389
|
+
!_t((i = t(this, s)) == null ? void 0 : i.blankSelection) && t(this, g) && f(this, n, rt).call(this, (e = t(this, s)) == null ? void 0 : e.selectionStart, D, t(this, g));
|
|
425
390
|
break;
|
|
426
|
-
case
|
|
427
|
-
if (!
|
|
428
|
-
const
|
|
429
|
-
(
|
|
391
|
+
case tt:
|
|
392
|
+
if (!_t((r = t(this, s)) == null ? void 0 : r.blankSelection)) {
|
|
393
|
+
const S = Rt((a = t(this, s)) == null ? void 0 : a.timezone), E = new Date(it(S, (o = t(this, s)) == null ? void 0 : o.selectionStart));
|
|
394
|
+
(l = t(this, s)) == null || l.updateSelection(st(S, E.setHours(23, 59, 59, 999)), D);
|
|
430
395
|
}
|
|
431
396
|
break;
|
|
432
|
-
case
|
|
397
|
+
case Q:
|
|
433
398
|
default:
|
|
434
|
-
|
|
399
|
+
f(this, n, pt).call(this);
|
|
435
400
|
return;
|
|
436
401
|
}
|
|
437
|
-
},
|
|
402
|
+
}, yt = function() {
|
|
438
403
|
var i, e;
|
|
439
|
-
switch ((i = t(this,
|
|
440
|
-
case
|
|
441
|
-
|
|
404
|
+
switch ((i = t(this, W)) == null ? void 0 : i.snapshot.controls) {
|
|
405
|
+
case mi:
|
|
406
|
+
h(this, k, t(d, ut));
|
|
442
407
|
break;
|
|
443
|
-
case
|
|
444
|
-
|
|
408
|
+
case ui:
|
|
409
|
+
h(this, k, t(d, mt));
|
|
445
410
|
break;
|
|
446
|
-
case
|
|
411
|
+
case fi:
|
|
447
412
|
default:
|
|
448
|
-
|
|
413
|
+
h(this, k, void 0);
|
|
449
414
|
}
|
|
450
|
-
t(this,
|
|
451
|
-
},
|
|
452
|
-
var
|
|
453
|
-
if (
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
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);
|
|
415
|
+
t(this, w).length = 0, t(this, w).length = ((e = t(this, k)) == null ? void 0 : e.length) ?? 0;
|
|
416
|
+
}, c(d, F), c(d, at, /^(?:0|[1-9]\d*)(\s+(?:0|[1-9]\d*)?){0,5}?$/), c(d, ct, ["click", "mouseover", "pointerover"]), c(d, lt, gt(0, Mt)), c(d, ft, [C.ENTER, C.SPACE]), c(d, ut, Object.keys(It).filter((i) => isNaN(+i))), c(d, mt, ["PREV", "NEXT"]), c(d, dt, function(i) {
|
|
417
|
+
var l, S;
|
|
418
|
+
if (Ei(i)) return;
|
|
419
|
+
let e = !1, r = !1, a = !1;
|
|
420
|
+
const o = (l = t(this, g)) == null ? void 0 : l.join(" ");
|
|
421
|
+
for (const E of Object.keys(i))
|
|
422
|
+
i[E] !== ((S = t(this, x)) == null ? void 0 : S[E]) && (E === "controls" ? e = !0 : E === "highlight" ? r = !0 : (E === "from" || E === "to") && (a = !0));
|
|
423
|
+
t(this, K) !== o && (h(this, K, o), r = !0), h(this, x, i), t(this, A) && !a && f(this, n, kt).call(this), e && f(this, n, yt).call(this), r && f(this, n, bt).call(this);
|
|
460
424
|
});
|
|
461
|
-
let
|
|
425
|
+
let Pt = d;
|
|
462
426
|
export {
|
|
463
|
-
|
|
427
|
+
Pt as default
|
|
464
428
|
};
|