@adyen/adyen-platform-experience-web 1.0.0-beta → 1.0.0-beta.2
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/ModalContent-88fdb6f4.js +2 -0
- package/dist/ModalContent-88fdb6f4.js.map +1 -0
- package/dist/cjs/index.js +1 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/components/external/BaseElement.js +48 -88
- package/dist/es/components/external/EventEmitter.js +17 -28
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +15 -20
- package/dist/es/components/external/TransactionDetails/components/TransactionData.js +41 -42
- package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +13 -13
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.js +28 -39
- package/dist/es/components/external/TransactionDetails/components/TransactionDetails.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +25 -31
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +7 -10
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/constants.js +4 -6
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.js +21 -22
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/BalanceAccountSelector.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.js +13 -21
- package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +22 -25
- package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +36 -47
- package/dist/es/components/external/TransactionsOverview/components/Balances/constants.js +2 -2
- package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +8 -9
- package/dist/es/components/external/TransactionsOverview/components/ModalContent.js +9 -9
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +23 -25
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +13 -16
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +16 -26
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +7 -9
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +42 -50
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +18 -19
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/constants.js +8 -14
- package/dist/es/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.js +16 -16
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +37 -42
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +36 -39
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +48 -60
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.js +62 -73
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsDisplay/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +133 -152
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/constants.js +4 -6
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +32 -40
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/constants.js +3 -4
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.js +49 -53
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionTable.scss.js +4 -0
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +75 -84
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/constants.js +6 -10
- package/dist/es/components/external/TransactionsOverview/components/utils.js +6 -12
- package/dist/es/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.js +21 -39
- package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +9 -10
- package/dist/es/components/external/TransactionsOverview/hooks/useMediaQuery.js +23 -28
- package/dist/es/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.js +24 -28
- package/dist/es/components/external/TransactionsOverview/types.js +4 -0
- package/dist/es/components/external/UIElement.js +38 -51
- package/dist/es/components/internal/BaseButton/BaseButton.js +18 -21
- package/dist/es/components/internal/BaseButton/BaseButton.scss.js +4 -0
- package/dist/es/components/internal/BaseButton/constants.js +2 -2
- package/dist/es/components/internal/BaseList/BaseList.js +5 -8
- package/dist/es/components/internal/BaseList/BaseList.scss.js +4 -0
- package/dist/es/components/internal/BaseList/constants.js +2 -2
- package/dist/es/components/internal/Button/Button.js +39 -41
- package/dist/es/components/internal/Button/Button.scss.js +4 -0
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +27 -8
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.scss.js +4 -0
- package/dist/es/components/internal/Button/ButtonActions/types.js +7 -0
- package/dist/es/components/internal/Button/constants.js +9 -16
- package/dist/es/components/internal/Button/hooks/useButton.js +13 -17
- package/dist/es/components/internal/Button/types.js +4 -0
- package/dist/es/components/internal/Calendar/Calendar.js +20 -21
- package/dist/es/components/internal/Calendar/Calendar.scss.js +4 -0
- package/dist/es/components/internal/Calendar/calendar/constants.js +35 -70
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +322 -552
- package/dist/es/components/internal/Calendar/calendar/facade/index.js +37 -46
- package/dist/es/components/internal/Calendar/calendar/shared/indexed/index.js +34 -46
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +31 -5
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/utils.js +14 -16
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +122 -221
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +238 -418
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +40 -63
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +16 -27
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +14 -23
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +21 -29
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.js +3 -3
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +9 -13
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +49 -83
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +38 -61
- package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +17 -21
- package/dist/es/components/internal/Calendar/calendar/types.js +15 -0
- package/dist/es/components/internal/Calendar/calendar/utils.js +15 -22
- package/dist/es/components/internal/Calendar/clock/clock.js +23 -41
- package/dist/es/components/internal/Calendar/clock/today.js +37 -57
- package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +7 -12
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +26 -28
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +33 -58
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +30 -40
- package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +44 -49
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +84 -115
- package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +35 -40
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +24 -46
- package/dist/es/components/internal/Calendar/types.js +4 -0
- package/dist/es/components/internal/CopyText/CopyText.js +26 -31
- package/dist/es/components/internal/CopyText/CopyText.scss.js +4 -0
- package/dist/es/components/internal/DataGrid/DataGrid.js +93 -10
- package/dist/es/components/internal/DataGrid/DataGrid.scss.js +4 -0
- package/dist/es/components/internal/DataGrid/DataGridCell.js +4 -4
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +38 -8
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +15 -17
- package/dist/es/components/internal/DataGrid/components/TableBody.js +19 -19
- package/dist/es/components/internal/DataGrid/components/TableCells.js +19 -25
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +76 -5
- package/dist/es/components/internal/DataGrid/types.js +4 -0
- package/dist/es/components/internal/DatePicker/DatePicker.js +45 -62
- package/dist/es/components/internal/DatePicker/DatePicker.scss.js +4 -0
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +26 -43
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +56 -85
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +45 -53
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.scss.js +4 -0
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +56 -75
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.scss.js +4 -0
- package/dist/es/components/internal/ExpandableCard/constants.js +11 -20
- package/dist/es/components/internal/FilterBar/FilterBar.js +32 -35
- package/dist/es/components/internal/FilterBar/FilterBar.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +15 -17
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +41 -63
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +53 -68
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/constants.js +2 -2
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +104 -153
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +118 -10
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.scss.js +4 -0
- package/dist/es/components/internal/FilterBar/filters/DateFilter/types.js +4 -0
- package/dist/es/components/internal/FormFields/FormFields.scss.js +4 -0
- package/dist/es/components/internal/FormFields/InputBase.js +53 -66
- package/dist/es/components/internal/FormFields/InputText.js +6 -6
- package/dist/es/components/internal/FormFields/Select/Select.js +187 -246
- package/dist/es/components/internal/FormFields/Select/Select.scss.js +4 -0
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +68 -72
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +62 -71
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +37 -41
- package/dist/es/components/internal/FormFields/Select/constants.js +27 -49
- package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +27 -35
- package/dist/es/components/internal/Image/Image.js +10 -10
- package/dist/es/components/internal/Img/Img.js +18 -32
- package/dist/es/components/internal/Img/Img.scss.js +4 -0
- package/dist/es/components/internal/Modal/Modal.js +58 -77
- package/dist/es/components/internal/Modal/Modal.scss.js +4 -0
- package/dist/es/components/internal/Pagination/Pagination.js +52 -58
- package/dist/es/components/internal/Pagination/Pagination.scss.js +4 -0
- package/dist/es/components/internal/Pagination/constants.js +4 -6
- package/dist/es/components/internal/Pagination/hooks/useCursorPaginatedRecords.js +7 -8
- package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +18 -30
- package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +14 -21
- package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +52 -60
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +80 -11
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +12 -13
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +43 -87
- package/dist/es/components/internal/Pagination/types.js +5 -0
- package/dist/es/components/internal/Pagination/utils.js +5 -5
- package/dist/es/components/internal/Popover/Popover.js +106 -139
- package/dist/es/components/internal/Popover/Popover.scss.js +4 -0
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +18 -22
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.scss.js +4 -0
- package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +8 -10
- package/dist/es/components/internal/Popover/constants.js +9 -16
- package/dist/es/components/internal/Popover/types.js +6 -0
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +27 -45
- package/dist/es/components/internal/Popover/utils/utils.js +23 -29
- package/dist/es/components/internal/SVGIcons/CheckedBox.js +6 -6
- package/dist/es/components/internal/SVGIcons/Checkmark.js +7 -7
- package/dist/es/components/internal/SVGIcons/ChevronDown.js +6 -6
- package/dist/es/components/internal/SVGIcons/ChevronLeft.js +8 -8
- package/dist/es/components/internal/SVGIcons/ChevronRight.js +8 -8
- package/dist/es/components/internal/SVGIcons/ChevronUp.js +7 -7
- package/dist/es/components/internal/SVGIcons/Close.js +4 -4
- package/dist/es/components/internal/SVGIcons/Copy.js +3 -3
- package/dist/es/components/internal/SVGIcons/Filter.js +4 -4
- package/dist/es/components/internal/SVGIcons/UncheckedBox.js +6 -6
- package/dist/es/components/internal/Spinner/Spinner.js +4 -5
- package/dist/es/components/internal/Spinner/Spinner.scss.js +4 -0
- package/dist/es/components/internal/Tag/Tag.js +19 -5
- package/dist/es/components/internal/Tag/Tag.scss.js +4 -0
- package/dist/es/components/internal/Tag/types.js +4 -0
- package/dist/es/components/internal/Tooltip/Tooltip.js +31 -38
- package/dist/es/components/internal/Tooltip/Tooltip.scss.js +4 -0
- package/dist/es/components/internal/Tooltip/useTooltipListeners.js +17 -20
- package/dist/es/components/internal/Typography/Typography.js +33 -7
- package/dist/es/components/internal/Typography/Typography.scss.js +4 -0
- package/dist/es/components/internal/Typography/constants.js +2 -2
- package/dist/es/components/internal/Typography/types.js +6 -0
- package/dist/es/components/shared.scss.js +4 -0
- package/dist/es/components/types.js +4 -0
- package/dist/es/components/utils/transactionResourceErrorCodes.js +14 -15
- package/dist/es/constants.js +2 -2
- package/dist/es/core/Auth/AuthContext.js +7 -7
- package/dist/es/core/Auth/AuthProvider.js +15 -23
- package/dist/es/core/Auth/useAuthContext.js +4 -4
- package/dist/es/core/Context/CoreContext.js +5 -5
- package/dist/es/core/Context/CoreProvider.js +17 -23
- package/dist/es/core/Context/useCoreContext.js +4 -4
- package/dist/es/core/Errors/AdyenPlatformExperienceError.js +12 -17
- package/dist/es/core/Errors/constants.js +2 -4
- package/dist/es/core/Localization/Localization.js +155 -12
- package/dist/es/core/Localization/amount/amount-util.js +19 -42
- package/dist/es/core/Localization/constants/currency-codes.js +3 -3
- package/dist/es/core/Localization/constants/currency-decimals.js +3 -3
- package/dist/es/core/Localization/constants/locale.js +5 -7
- package/dist/es/core/Localization/constants/localization.js +6 -9
- package/dist/es/core/Localization/datetime/restamper/constants.js +20 -29
- package/dist/es/core/Localization/datetime/restamper/restamper.js +32 -44
- package/dist/es/core/Localization/datetime/restamper/utils.js +26 -44
- package/dist/es/core/Localization/localization-utils.js +31 -7
- package/dist/es/core/Localization/translations/ar.json.js +4 -0
- package/dist/es/core/Localization/translations/cs-CZ.json.js +4 -0
- package/dist/es/core/Localization/translations/da-DK.json.js +4 -0
- package/dist/es/core/Localization/translations/de-DE.json.js +4 -0
- package/dist/es/core/Localization/translations/el-GR.json.js +4 -0
- package/dist/es/core/Localization/translations/en-US.json.js +371 -0
- package/dist/es/core/Localization/translations/es-ES.json.js +255 -0
- package/dist/es/core/Localization/translations/fi-FI.json.js +4 -0
- package/dist/es/core/Localization/translations/fr-FR.json.js +4 -0
- package/dist/es/core/Localization/translations/hr-HR.json.js +4 -0
- package/dist/es/core/Localization/translations/hu-HU.json.js +4 -0
- package/dist/es/core/Localization/translations/index.js +79 -356
- package/dist/es/core/Localization/translations/it-IT.json.js +4 -0
- package/dist/es/core/Localization/translations/ja-JP.json.js +4 -0
- package/dist/es/core/Localization/translations/ko-KR.json.js +4 -0
- package/dist/es/core/Localization/translations/nl-NL.json.js +4 -0
- package/dist/es/core/Localization/translations/no-NO.json.js +4 -0
- package/dist/es/core/Localization/translations/pl-PL.json.js +4 -0
- package/dist/es/core/Localization/translations/pt-BR.json.js +4 -0
- package/dist/es/core/Localization/translations/pt-PT.json.js +4 -0
- package/dist/es/core/Localization/translations/ro-RO.json.js +4 -0
- package/dist/es/core/Localization/translations/ru-RU.json.js +4 -0
- package/dist/es/core/Localization/translations/sk-SK.json.js +4 -0
- package/dist/es/core/Localization/translations/sl-SI.json.js +4 -0
- package/dist/es/core/Localization/translations/sv-SE.json.js +4 -0
- package/dist/es/core/Localization/translations/zh-CN.json.js +4 -0
- package/dist/es/core/Localization/translations/zh-TW.json.js +4 -0
- package/dist/es/core/Localization/utils.js +44 -72
- package/dist/es/core/Services/requests/http.js +31 -49
- package/dist/es/core/Services/requests/utils.js +34 -49
- package/dist/es/core/Services/sessions/constants.js +2 -2
- package/dist/es/core/Services/sessions/setup-session.js +9 -9
- package/dist/es/core/Session/Session.js +23 -38
- package/dist/es/core/Session/utils.js +5 -5
- package/dist/es/core/config.js +2 -6
- package/dist/es/core/core.js +44 -85
- package/dist/es/core/utils.js +8 -10
- package/dist/es/external/preact/compat/dist/compat.module.js +253 -0
- package/dist/es/external/preact/dist/preact.module.js +316 -0
- package/dist/es/external/preact/hooks/dist/hooks.module.js +161 -0
- package/dist/es/external/preact/jsx-runtime/dist/jsxRuntime.module.js +19 -0
- package/dist/es/hooks/element/useClickOutside.js +32 -73
- package/dist/es/hooks/element/useDetachedRender.js +15 -17
- package/dist/es/hooks/element/useFocusCursor.js +14 -19
- package/dist/es/hooks/element/useFocusTrap.js +48 -91
- package/dist/es/hooks/element/usePopoverPositioner.js +105 -5
- package/dist/es/hooks/element/useUniqueIdentifier.js +13 -17
- package/dist/es/hooks/useBooleanState/useBooleanState.js +6 -8
- package/dist/es/hooks/useCommitAction/types.js +4 -0
- package/dist/es/hooks/useCommitAction/useCommitAction.js +27 -38
- package/dist/es/hooks/useFetch/useFetch.js +27 -37
- package/dist/es/hooks/useImageUrl/useImageUrl.js +22 -26
- package/dist/es/hooks/useModalDetails/types.js +6 -0
- package/dist/es/hooks/useModalDetails/useModalDetails.js +28 -37
- package/dist/es/hooks/useMounted/useMounted.js +8 -14
- package/dist/es/hooks/useReactiveState/useReactiveState.js +27 -53
- package/dist/es/hooks/useReflex/constants.js +2 -2
- package/dist/es/hooks/useReflex/core/reflex.js +47 -66
- package/dist/es/hooks/useReflex/core/registry.js +46 -68
- package/dist/es/hooks/useReflex/core/utils.js +16 -18
- package/dist/es/hooks/useReflex/errors.js +6 -6
- package/dist/es/hooks/useReflex/hooks/useReflex.js +7 -12
- package/dist/es/hooks/useSessionAwareRequest/useSessionAwareRequest.js +22 -36
- package/dist/es/hooks/useSetupEndpoint/useSetupEndpoint.js +20 -26
- package/dist/es/images/no-data-female.svg.js +4 -0
- package/dist/es/images/no-results.svg.js +4 -0
- package/dist/es/index.js +41 -45
- package/dist/es/style/index.scss.js +4 -0
- package/dist/es/utils/Storage.js +17 -21
- package/dist/es/utils/class-name-utils.js +5 -11
- package/dist/es/utils/common/constants.js +6 -10
- package/dist/es/utils/common/index.js +32 -59
- package/dist/es/utils/fixedForwardRef.js +3 -3
- package/dist/es/utils/get-image.js +11 -12
- package/dist/es/utils/idGenerator.js +3 -6
- package/dist/es/utils/memoComparator/memoComparator.js +17 -26
- package/dist/es/utils/tabbable.js +71 -110
- package/dist/es/utils/uuid.js +5 -5
- package/dist/es/utils/validator-utils.js +3 -44
- package/dist/es/utils/watchable/constants.js +2 -2
- package/dist/es/utils/watchable/core/Watchable.js +45 -83
- package/dist/es/utils/watchable/core/helpers.js +19 -26
- package/dist/es/utils/watchable/core/syncEffect.js +15 -19
- package/dist/es/utils/watchable/index.js +16 -17
- package/dist/index-7e2df524.js +12 -0
- package/dist/index-7e2df524.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +3 -3
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/BalanceAccountSelector/useBalanceAccountSelection.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/BalanceItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/Balances/Balances.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/Category.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/Category/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/ModalContent.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/ModalContent.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.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/external/TransactionsOverview/components/SummaryItem/types.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/SummaryItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionListError/TransactionListError.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotalItem/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/TransactionsDisplay.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsDisplay/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +2 -2
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverviewDateFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +4 -4
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/hooks/useDefaultTransactionsOverviewFilterParams.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMediaQuery.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/types.d.ts +2 -1
- package/dist/types/components/external/TransactionsOverview/types.d.ts.map +1 -1
- package/dist/types/components/external/UIElement.d.ts +1 -1
- package/dist/types/components/external/UIElement.d.ts.map +1 -1
- package/dist/types/components/internal/BaseList/BaseList.d.ts +1 -1
- package/dist/types/components/internal/BaseList/BaseList.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/ButtonActions.d.ts +1 -1
- package/dist/types/components/internal/Button/ButtonActions/ButtonActions.d.ts.map +1 -1
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts +1 -1
- package/dist/types/components/internal/Button/ButtonActions/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/shared/indexed/index.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/types.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/clock/today.d.ts +1 -1
- package/dist/types/components/internal/Calendar/clock/today.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/clock/types.d.ts +2 -2
- package/dist/types/components/internal/Calendar/clock/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/components/CalendarGrid/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/hooks/useTimezone.d.ts +1 -1
- package/dist/types/components/internal/Calendar/hooks/useTimezone.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +2 -2
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +2 -2
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/DatePicker.d.ts +1 -1
- package/dist/types/components/internal/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +3 -3
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/types.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/filters/BaseFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/types.d.ts +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/types.d.ts +1 -1
- package/dist/types/components/internal/Pagination/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/types.d.ts +1 -1
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/types.d.ts +2 -2
- package/dist/types/components/internal/Tooltip/types.d.ts.map +1 -1
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts +2 -2
- package/dist/types/components/utils/transactionResourceErrorCodes.d.ts.map +1 -1
- package/dist/types/core/Auth/AuthContext.d.ts +1 -1
- package/dist/types/core/Auth/AuthContext.d.ts.map +1 -1
- package/dist/types/core/Auth/AuthProvider.d.ts +1 -1
- package/dist/types/core/Auth/AuthProvider.d.ts.map +1 -1
- package/dist/types/core/Auth/types.d.ts +1 -1
- package/dist/types/core/Auth/types.d.ts.map +1 -1
- package/dist/types/core/Context/CoreContext.d.ts +1 -1
- package/dist/types/core/Context/CoreContext.d.ts.map +1 -1
- package/dist/types/core/Context/types.d.ts +1 -1
- package/dist/types/core/Context/types.d.ts.map +1 -1
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts +1 -1
- package/dist/types/core/Errors/AdyenPlatformExperienceError.d.ts.map +1 -1
- package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
- package/dist/types/core/Localization/types.d.ts +3 -3
- package/dist/types/core/Localization/types.d.ts.map +1 -1
- package/dist/types/core/Session/types.d.ts +1 -1
- package/dist/types/core/Session/types.d.ts.map +1 -1
- package/dist/types/hooks/element/useClickOutside.d.ts +2 -2
- package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useCommitAction/types.d.ts +1 -1
- package/dist/types/hooks/useCommitAction/types.d.ts.map +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts +1 -1
- package/dist/types/hooks/useFetch/useFetch.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/types.d.ts +2 -2
- package/dist/types/hooks/useModalDetails/types.d.ts.map +1 -1
- package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts +1 -1
- package/dist/types/hooks/useSessionAwareRequest/useSessionAwareRequest.d.ts.map +1 -1
- package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts +2 -2
- package/dist/types/hooks/useSetupEndpoint/useSetupEndpoint.d.ts.map +1 -1
- package/dist/types/utils/Validator/types.d.ts +1 -1
- package/dist/types/utils/Validator/types.d.ts.map +1 -1
- package/dist/types/utils/useForm/types.d.ts +1 -1
- package/dist/types/utils/useForm/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/AmountSkeleton.css +0 -23
- package/dist/BalanceAccountSelector.css +0 -4
- package/dist/BaseButton.css +0 -14
- package/dist/BaseList.css +0 -5
- package/dist/Button.css +0 -114
- package/dist/ButtonActions-eb064f69.mjs +0 -46
- package/dist/ButtonActions.css +0 -28
- package/dist/CalendarGrid.css +0 -113
- package/dist/CopyText.css +0 -18
- package/dist/DatePicker.css +0 -64
- package/dist/ErrorMessageDisplay.css +0 -20
- package/dist/ErrorPanel.css +0 -15
- package/dist/ExpandableCard.css +0 -71
- package/dist/FilterBar.css +0 -40
- package/dist/FilterButton.css +0 -48
- package/dist/Img.css +0 -7
- package/dist/InputBase.css +0 -175
- package/dist/Modal.css +0 -110
- package/dist/Pagination.css +0 -25
- package/dist/Popover.css +0 -127
- package/dist/PopoverDismissButton.css +0 -12
- package/dist/RangeSelection.css +0 -26
- package/dist/Select.css +0 -149
- package/dist/SkeletonBody.css +0 -154
- package/dist/Spinner.css +0 -50
- package/dist/SummaryItem.css +0 -37
- package/dist/Tag-6d02fd64.mjs +0 -32
- package/dist/Tag.css +0 -34
- package/dist/Tooltip.css +0 -7
- package/dist/TotalsCard.css +0 -14
- package/dist/TransactionDetails.css +0 -74
- package/dist/TransactionsDisplay.css +0 -4
- package/dist/TransactionsOverview.css +0 -29
- package/dist/TransactionsOverviewContainer.css +0 -3
- package/dist/TransactionsTable.css +0 -18
- package/dist/Typography-11b95870.mjs +0 -68
- package/dist/Typography.css +0 -57
- package/dist/cjs/ModalContent-f4990141.js +0 -10
- package/dist/cjs/ModalContent-f4990141.js.map +0 -1
- package/dist/cjs/index-8c098f20.js +0 -10401
- package/dist/cjs/index-8c098f20.js.map +0 -1
- package/dist/cjs/index.css +0 -1709
- package/dist/compat.module-a4d537ff.mjs +0 -237
- package/dist/en-US-1daadfc1.mjs +0 -371
- package/dist/es/components/external/FormElement.js +0 -78
- package/dist/es/components/external/TransactionDetails/index.js +0 -4
- package/dist/es/components/external/TransactionsOverview/components/BalanceAccountSelector/index.js +0 -6
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/index.js +0 -15
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/index.js +0 -13
- package/dist/es/components/external/TransactionsOverview/index.js +0 -6
- package/dist/es/components/external/index.js +0 -8
- package/dist/es/components/index.js +0 -11
- package/dist/es/components/internal/BaseButton/index.js +0 -4
- package/dist/es/components/internal/Button/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/YearFrame.js +0 -197
- package/dist/es/components/internal/Calendar/calendar/timeframe/index.js +0 -8
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.test.js +0 -139
- package/dist/es/components/internal/Calendar/calendar/timerange/index.js +0 -4
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/index.js +0 -14
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastMonth.test.js +0 -69
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.test.js +0 -69
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastWeek.test.js +0 -108
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/fixtures.js +0 -15
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/testing/helpers.js +0 -19
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisMonth.test.js +0 -46
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/thisWeek.test.js +0 -85
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.test.js +0 -49
- package/dist/es/components/internal/Calendar/clock/clock.test.js +0 -43
- package/dist/es/components/internal/Calendar/clock/index.js +0 -7
- package/dist/es/components/internal/Calendar/clock/testing/fixtures.js +0 -60
- package/dist/es/components/internal/Calendar/clock/today.test.js +0 -98
- package/dist/es/components/internal/Calendar/components/CalendarControls/index.js +0 -4
- package/dist/es/components/internal/Calendar/components/CalendarGrid/index.js +0 -4
- package/dist/es/components/internal/Calendar/index.js +0 -4
- package/dist/es/components/internal/DataGrid/index.js +0 -4
- package/dist/es/components/internal/DataGrid/tests/DataGrid.test.js +0 -190
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/index.js +0 -7
- package/dist/es/components/internal/DatePicker/index.js +0 -4
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.test.js +0 -45
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/DateFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/filters/TextFilter/TextFilter.js +0 -8
- package/dist/es/components/internal/FilterBar/filters/TextFilter/index.js +0 -4
- package/dist/es/components/internal/FilterBar/index.js +0 -4
- package/dist/es/components/internal/FormFields/Select/index.js +0 -4
- package/dist/es/components/internal/FormFields/index.js +0 -18
- package/dist/es/components/internal/FormFields/utils.js +0 -4
- package/dist/es/components/internal/Img/index.js +0 -4
- package/dist/es/components/internal/Modal/index.js +0 -4
- package/dist/es/components/internal/Pagination/components/LimitSelect.js +0 -1
- package/dist/es/components/internal/Pagination/hooks/index.js +0 -6
- package/dist/es/components/internal/Pagination/hooks/useOffsetPaginatedRecords.js +0 -10
- package/dist/es/components/internal/Pagination/index.js +0 -4
- package/dist/es/components/internal/Popover/Popover.test.js +0 -119
- package/dist/es/components/internal/Spinner/index.js +0 -4
- package/dist/es/components/utils/utils.js +0 -34
- package/dist/es/core/Analytics/Analytics.js +0 -63
- package/dist/es/core/Analytics/EventsQueue.js +0 -22
- package/dist/es/core/Analytics/index.js +0 -4
- package/dist/es/core/Errors/ErrorPanel.js +0 -19
- package/dist/es/core/Localization/Localization.test.js +0 -70
- package/dist/es/core/Localization/amount/amount-util.test.js +0 -54
- package/dist/es/core/Localization/datetime/restamper/index.js +0 -9
- package/dist/es/core/Localization/datetime/restamper/restamper.test.js +0 -179
- package/dist/es/core/Localization/datetime/restamper/testing/fixtures.js +0 -21
- package/dist/es/core/Localization/datetime/restamper/testing/helpers.js +0 -27
- package/dist/es/core/Localization/index.js +0 -32
- package/dist/es/core/Localization/utils.test.js +0 -215
- package/dist/es/core/ProcessResponse/index.js +0 -4
- package/dist/es/core/ProcessResponse/process-response.js +0 -40
- package/dist/es/core/Services/analytics/collect-id.js +0 -37
- package/dist/es/core/Services/analytics/log-event.js +0 -14
- package/dist/es/core/Services/analytics/post-telemetry.js +0 -22
- package/dist/es/core/Services/data-set.js +0 -1
- package/dist/es/core/Services/get-dataset.js +0 -13
- package/dist/es/core/Services/requests/endpoints.js +0 -9
- package/dist/es/core/Session/index.js +0 -4
- package/dist/es/core/index.js +0 -36
- package/dist/es/hooks/element/useIdentifierString.js +0 -61
- package/dist/es/hooks/useBooleanState/index.js +0 -4
- package/dist/es/hooks/useCommitAction/index.js +0 -6
- package/dist/es/hooks/useDefinedValue/index.js +0 -4
- package/dist/es/hooks/useDefinedValue/useDefinedValue.js +0 -16
- package/dist/es/hooks/useMounted/index.js +0 -4
- package/dist/es/hooks/useReactiveState/index.js +0 -4
- package/dist/es/hooks/useReflex/core/reflex.test.js +0 -170
- package/dist/es/hooks/useReflex/core/registry.test.js +0 -114
- package/dist/es/hooks/useReflex/core/utils.test.js +0 -59
- package/dist/es/hooks/useReflex/index.js +0 -8
- package/dist/es/utils/Validator/ValidationRuleResult.js +0 -28
- package/dist/es/utils/Validator/Validator.js +0 -67
- package/dist/es/utils/Validator/Validator.test.js +0 -27
- package/dist/es/utils/Validator/defaultRules.js +0 -12
- package/dist/es/utils/Validator/index.js +0 -4
- package/dist/es/utils/get-image.test.js +0 -38
- package/dist/es/utils/memoComparator/index.js +0 -4
- package/dist/es/utils/regex.js +0 -6
- package/dist/es/utils/useForm/index.js +0 -4
- package/dist/es/utils/useForm/reducer.js +0 -153
- package/dist/es/utils/useForm/useForm.js +0 -85
- package/dist/es/utils/useForm/useForm.test.js +0 -107
- package/dist/es/utils/uuid.test.js +0 -13
- package/dist/es/utils/watchable/core/Watchable.test.js +0 -103
- package/dist/es/utils/watchable/core/helpers.test.js +0 -106
- package/dist/es/utils/watchable/core/syncEffect.test.js +0 -103
- package/dist/flags-41c36e13.mjs +0 -83
- package/dist/hooks.module-8565d716.mjs +0 -161
- package/dist/index-2c0f6175.mjs +0 -12069
- package/dist/index-6e47f755.mjs +0 -231
- package/dist/index-944be685.mjs +0 -6609
- package/dist/index-c88cd37e.mjs +0 -243
- package/dist/index-f5bc0382.mjs +0 -155
- package/dist/index.css +0 -65
- package/dist/index2.css +0 -4
- package/dist/jsxRuntime.module-69493d81.mjs +0 -15
- package/dist/magic-string.es-219c273f.mjs +0 -1146
- package/dist/preact.module-38e5a571.mjs +0 -323
- package/dist/types-0027b7c2.mjs +0 -9
- package/dist/types-0aaff3aa.mjs +0 -19
- package/dist/types-7ad6576a.mjs +0 -10
- package/dist/types-e4bbd37f.mjs +0 -13
- package/dist/types-e6a6a3ff.mjs +0 -9
- package/dist/usePaginatedRecords-63a69bf1.mjs +0 -131
- package/dist/usePopoverPositioner-882fea89.mjs +0 -182
- package/dist/vendor-vi.a3ff54b1-5e924357.mjs +0 -22389
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { Component as s, options as a, createElement as c, Fragment as y, toChildArray as v, render as b } from "../../dist/preact.module.js";
|
|
2
|
+
import { createContext as J } from "../../dist/preact.module.js";
|
|
3
|
+
import { useCallback as te, useContext as re, useEffect as ne, useImperativeHandle as oe, useLayoutEffect as ie, useMemo as ue, useReducer as ae, useRef as le, useState as _e } from "../../hooks/dist/hooks.module.js";
|
|
4
|
+
function R(e, t) {
|
|
5
|
+
for (var r in t)
|
|
6
|
+
e[r] = t[r];
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
function h(e, t) {
|
|
10
|
+
for (var r in e)
|
|
11
|
+
if (r !== "__source" && !(r in t))
|
|
12
|
+
return !0;
|
|
13
|
+
for (var n in t)
|
|
14
|
+
if (n !== "__source" && e[n] !== t[n])
|
|
15
|
+
return !0;
|
|
16
|
+
return !1;
|
|
17
|
+
}
|
|
18
|
+
function C(e) {
|
|
19
|
+
this.props = e;
|
|
20
|
+
}
|
|
21
|
+
function q(e, t) {
|
|
22
|
+
function r(o) {
|
|
23
|
+
var i = this.props.ref, u = i == o.ref;
|
|
24
|
+
return !u && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !u : h(this.props, o);
|
|
25
|
+
}
|
|
26
|
+
function n(o) {
|
|
27
|
+
return this.shouldComponentUpdate = r, c(e, o);
|
|
28
|
+
}
|
|
29
|
+
return n.displayName = "Memo(" + (e.displayName || e.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n;
|
|
30
|
+
}
|
|
31
|
+
(C.prototype = new s()).isPureReactComponent = !0, C.prototype.shouldComponentUpdate = function(e, t) {
|
|
32
|
+
return h(this.props, e) || h(this.state, t);
|
|
33
|
+
};
|
|
34
|
+
var g = a.__b;
|
|
35
|
+
a.__b = function(e) {
|
|
36
|
+
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), g && g(e);
|
|
37
|
+
};
|
|
38
|
+
var $ = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
39
|
+
function K(e) {
|
|
40
|
+
function t(r) {
|
|
41
|
+
var n = R({}, r);
|
|
42
|
+
return delete n.ref, e(n, r.ref || null);
|
|
43
|
+
}
|
|
44
|
+
return t.$$typeof = $, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
45
|
+
}
|
|
46
|
+
var W = a.__e;
|
|
47
|
+
a.__e = function(e, t, r, n) {
|
|
48
|
+
if (e.then) {
|
|
49
|
+
for (var o, i = t; i = i.__; )
|
|
50
|
+
if ((o = i.__c) && o.__c)
|
|
51
|
+
return t.__e == null && (t.__e = r.__e, t.__k = r.__k), o.__c(e, t);
|
|
52
|
+
}
|
|
53
|
+
W(e, t, r, n);
|
|
54
|
+
};
|
|
55
|
+
var k = a.unmount;
|
|
56
|
+
function O(e, t, r) {
|
|
57
|
+
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(n) {
|
|
58
|
+
typeof n.__c == "function" && n.__c();
|
|
59
|
+
}), e.__c.__H = null), (e = R({}, e)).__c != null && (e.__c.__P === r && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(n) {
|
|
60
|
+
return O(n, t, r);
|
|
61
|
+
})), e;
|
|
62
|
+
}
|
|
63
|
+
function E(e, t, r) {
|
|
64
|
+
return e && r && (e.__v = null, e.__k = e.__k && e.__k.map(function(n) {
|
|
65
|
+
return E(n, t, r);
|
|
66
|
+
}), e.__c && e.__c.__P === t && (e.__e && r.insertBefore(e.__e, e.__d), e.__c.__e = !0, e.__c.__P = r)), e;
|
|
67
|
+
}
|
|
68
|
+
function d() {
|
|
69
|
+
this.__u = 0, this.t = null, this.__b = null;
|
|
70
|
+
}
|
|
71
|
+
function U(e) {
|
|
72
|
+
var t = e.__.__c;
|
|
73
|
+
return t && t.__a && t.__a(e);
|
|
74
|
+
}
|
|
75
|
+
function Q(e) {
|
|
76
|
+
var t, r, n;
|
|
77
|
+
function o(i) {
|
|
78
|
+
if (t || (t = e()).then(function(u) {
|
|
79
|
+
r = u.default || u;
|
|
80
|
+
}, function(u) {
|
|
81
|
+
n = u;
|
|
82
|
+
}), n)
|
|
83
|
+
throw n;
|
|
84
|
+
if (!r)
|
|
85
|
+
throw t;
|
|
86
|
+
return c(r, i);
|
|
87
|
+
}
|
|
88
|
+
return o.displayName = "Lazy", o.__f = !0, o;
|
|
89
|
+
}
|
|
90
|
+
function f() {
|
|
91
|
+
this.u = null, this.o = null;
|
|
92
|
+
}
|
|
93
|
+
a.unmount = function(e) {
|
|
94
|
+
var t = e.__c;
|
|
95
|
+
t && t.__R && t.__R(), t && e.__h === !0 && (e.type = null), k && k(e);
|
|
96
|
+
}, (d.prototype = new s()).__c = function(e, t) {
|
|
97
|
+
var r = t.__c, n = this;
|
|
98
|
+
n.t == null && (n.t = []), n.t.push(r);
|
|
99
|
+
var o = U(n.__v), i = !1, u = function() {
|
|
100
|
+
i || (i = !0, r.__R = null, o ? o(l) : l());
|
|
101
|
+
};
|
|
102
|
+
r.__R = u;
|
|
103
|
+
var l = function() {
|
|
104
|
+
if (!--n.__u) {
|
|
105
|
+
if (n.state.__a) {
|
|
106
|
+
var p = n.state.__a;
|
|
107
|
+
n.__v.__k[0] = E(p, p.__c.__P, p.__c.__O);
|
|
108
|
+
}
|
|
109
|
+
var m;
|
|
110
|
+
for (n.setState({ __a: n.__b = null }); m = n.t.pop(); )
|
|
111
|
+
m.forceUpdate();
|
|
112
|
+
}
|
|
113
|
+
}, _ = t.__h === !0;
|
|
114
|
+
n.__u++ || _ || n.setState({ __a: n.__b = n.__v.__k[0] }), e.then(u, u);
|
|
115
|
+
}, d.prototype.componentWillUnmount = function() {
|
|
116
|
+
this.t = [];
|
|
117
|
+
}, d.prototype.render = function(e, t) {
|
|
118
|
+
if (this.__b) {
|
|
119
|
+
if (this.__v.__k) {
|
|
120
|
+
var r = document.createElement("div"), n = this.__v.__k[0].__c;
|
|
121
|
+
this.__v.__k[0] = O(this.__b, r, n.__O = n.__P);
|
|
122
|
+
}
|
|
123
|
+
this.__b = null;
|
|
124
|
+
}
|
|
125
|
+
var o = t.__a && c(y, null, e.fallback);
|
|
126
|
+
return o && (o.__h = null), [c(y, null, t.__a ? null : e.children), o];
|
|
127
|
+
};
|
|
128
|
+
var N = function(e, t, r) {
|
|
129
|
+
if (++r[1] === r[0] && e.o.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.o.size))
|
|
130
|
+
for (r = e.u; r; ) {
|
|
131
|
+
for (; r.length > 3; )
|
|
132
|
+
r.pop()();
|
|
133
|
+
if (r[1] < r[0])
|
|
134
|
+
break;
|
|
135
|
+
e.u = r = r[2];
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
function A(e) {
|
|
139
|
+
return this.getChildContext = function() {
|
|
140
|
+
return e.context;
|
|
141
|
+
}, e.children;
|
|
142
|
+
}
|
|
143
|
+
function L(e) {
|
|
144
|
+
var t = this, r = e.i;
|
|
145
|
+
t.componentWillUnmount = function() {
|
|
146
|
+
b(null, t.l), t.l = null, t.i = null;
|
|
147
|
+
}, t.i && t.i !== r && t.componentWillUnmount(), t.l || (t.i = r, t.l = { nodeType: 1, parentNode: r, childNodes: [], appendChild: function(n) {
|
|
148
|
+
this.childNodes.push(n), t.i.appendChild(n);
|
|
149
|
+
}, insertBefore: function(n, o) {
|
|
150
|
+
this.childNodes.push(n), t.i.appendChild(n);
|
|
151
|
+
}, removeChild: function(n) {
|
|
152
|
+
this.childNodes.splice(this.childNodes.indexOf(n) >>> 1, 1), t.i.removeChild(n);
|
|
153
|
+
} }), b(c(A, { context: t.context }, e.__v), t.l);
|
|
154
|
+
}
|
|
155
|
+
function X(e, t) {
|
|
156
|
+
var r = c(L, { __v: e, i: t });
|
|
157
|
+
return r.containerInfo = t, r;
|
|
158
|
+
}
|
|
159
|
+
(f.prototype = new s()).__a = function(e) {
|
|
160
|
+
var t = this, r = U(t.__v), n = t.o.get(e);
|
|
161
|
+
return n[0]++, function(o) {
|
|
162
|
+
var i = function() {
|
|
163
|
+
t.props.revealOrder ? (n.push(o), N(t, e, n)) : o();
|
|
164
|
+
};
|
|
165
|
+
r ? r(i) : i();
|
|
166
|
+
};
|
|
167
|
+
}, f.prototype.render = function(e) {
|
|
168
|
+
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
169
|
+
var t = v(e.children);
|
|
170
|
+
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
|
|
171
|
+
for (var r = t.length; r--; )
|
|
172
|
+
this.o.set(t[r], this.u = [1, 0, this.u]);
|
|
173
|
+
return e.children;
|
|
174
|
+
}, f.prototype.componentDidUpdate = f.prototype.componentDidMount = function() {
|
|
175
|
+
var e = this;
|
|
176
|
+
this.o.forEach(function(t, r) {
|
|
177
|
+
N(e, r, t);
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
var B = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, H = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, M = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, V = /[A-Z0-9]/g, z = typeof document < "u", F = function(e) {
|
|
181
|
+
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
182
|
+
};
|
|
183
|
+
s.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
|
|
184
|
+
Object.defineProperty(s.prototype, e, { configurable: !0, get: function() {
|
|
185
|
+
return this["UNSAFE_" + e];
|
|
186
|
+
}, set: function(t) {
|
|
187
|
+
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
|
|
188
|
+
} });
|
|
189
|
+
});
|
|
190
|
+
var x = a.event;
|
|
191
|
+
function j() {
|
|
192
|
+
}
|
|
193
|
+
function D() {
|
|
194
|
+
return this.cancelBubble;
|
|
195
|
+
}
|
|
196
|
+
function I() {
|
|
197
|
+
return this.defaultPrevented;
|
|
198
|
+
}
|
|
199
|
+
a.event = function(e) {
|
|
200
|
+
return x && (e = x(e)), e.persist = j, e.isPropagationStopped = D, e.isDefaultPrevented = I, e.nativeEvent = e;
|
|
201
|
+
};
|
|
202
|
+
var T = { enumerable: !1, configurable: !0, get: function() {
|
|
203
|
+
return this.class;
|
|
204
|
+
} }, P = a.vnode;
|
|
205
|
+
a.vnode = function(e) {
|
|
206
|
+
typeof e.type == "string" && function(t) {
|
|
207
|
+
var r = t.props, n = t.type, o = {};
|
|
208
|
+
for (var i in r) {
|
|
209
|
+
var u = r[i];
|
|
210
|
+
if (!(i === "value" && "defaultValue" in r && u == null || z && i === "children" && n === "noscript" || i === "class" || i === "className")) {
|
|
211
|
+
var l = i.toLowerCase();
|
|
212
|
+
i === "defaultValue" && "value" in r && r.value == null ? i = "value" : i === "download" && u === !0 ? u = "" : l === "ondoubleclick" ? i = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || F(r.type) ? l === "onfocus" ? i = "onfocusin" : l === "onblur" ? i = "onfocusout" : M.test(i) ? i = l : n.indexOf("-") === -1 && H.test(i) ? i = i.replace(V, "-$&").toLowerCase() : u === null && (u = void 0) : l = i = "oninput", l === "oninput" && o[i = l] && (i = "oninputCapture"), o[i] = u;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
n == "select" && o.multiple && Array.isArray(o.value) && (o.value = v(r.children).forEach(function(_) {
|
|
216
|
+
_.props.selected = o.value.indexOf(_.props.value) != -1;
|
|
217
|
+
})), n == "select" && o.defaultValue != null && (o.value = v(r.children).forEach(function(_) {
|
|
218
|
+
_.props.selected = o.multiple ? o.defaultValue.indexOf(_.props.value) != -1 : o.defaultValue == _.props.value;
|
|
219
|
+
})), r.class && !r.className ? (o.class = r.class, Object.defineProperty(o, "className", T)) : (r.className && !r.class || r.class && r.className) && (o.class = o.className = r.className), t.props = o;
|
|
220
|
+
}(e), e.$$typeof = B, P && P(e);
|
|
221
|
+
};
|
|
222
|
+
var w = a.__r;
|
|
223
|
+
a.__r = function(e) {
|
|
224
|
+
w && w(e), e.__c;
|
|
225
|
+
};
|
|
226
|
+
var S = a.diffed;
|
|
227
|
+
a.diffed = function(e) {
|
|
228
|
+
S && S(e);
|
|
229
|
+
var t = e.props, r = e.__e;
|
|
230
|
+
r != null && e.type === "textarea" && "value" in t && t.value !== r.value && (r.value = t.value == null ? "" : t.value);
|
|
231
|
+
};
|
|
232
|
+
export {
|
|
233
|
+
s as Component,
|
|
234
|
+
y as Fragment,
|
|
235
|
+
C as PureComponent,
|
|
236
|
+
d as Suspense,
|
|
237
|
+
f as SuspenseList,
|
|
238
|
+
J as createContext,
|
|
239
|
+
c as createElement,
|
|
240
|
+
X as createPortal,
|
|
241
|
+
K as forwardRef,
|
|
242
|
+
Q as lazy,
|
|
243
|
+
q as memo,
|
|
244
|
+
te as useCallback,
|
|
245
|
+
re as useContext,
|
|
246
|
+
ne as useEffect,
|
|
247
|
+
oe as useImperativeHandle,
|
|
248
|
+
ie as useLayoutEffect,
|
|
249
|
+
ue as useMemo,
|
|
250
|
+
ae as useReducer,
|
|
251
|
+
le as useRef,
|
|
252
|
+
_e as useState
|
|
253
|
+
};
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
var M, h, J, S, G, K, $, Q, E = {}, X = [], oe = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, F = Array.isArray;
|
|
2
|
+
function C(t, e) {
|
|
3
|
+
for (var _ in e)
|
|
4
|
+
t[_] = e[_];
|
|
5
|
+
return t;
|
|
6
|
+
}
|
|
7
|
+
function Y(t) {
|
|
8
|
+
var e = t.parentNode;
|
|
9
|
+
e && e.removeChild(t);
|
|
10
|
+
}
|
|
11
|
+
function re(t, e, _) {
|
|
12
|
+
var r, l, o, i = {};
|
|
13
|
+
for (o in e)
|
|
14
|
+
o == "key" ? r = e[o] : o == "ref" ? l = e[o] : i[o] = e[o];
|
|
15
|
+
if (arguments.length > 2 && (i.children = arguments.length > 3 ? M.call(arguments, 2) : _), typeof t == "function" && t.defaultProps != null)
|
|
16
|
+
for (o in t.defaultProps)
|
|
17
|
+
i[o] === void 0 && (i[o] = t.defaultProps[o]);
|
|
18
|
+
return U(t, i, r, l, null);
|
|
19
|
+
}
|
|
20
|
+
function U(t, e, _, r, l) {
|
|
21
|
+
var o = { type: t, props: e, key: _, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: l ?? ++J };
|
|
22
|
+
return l == null && h.vnode != null && h.vnode(o), o;
|
|
23
|
+
}
|
|
24
|
+
function I(t) {
|
|
25
|
+
return t.children;
|
|
26
|
+
}
|
|
27
|
+
function W(t, e) {
|
|
28
|
+
this.props = t, this.context = e;
|
|
29
|
+
}
|
|
30
|
+
function L(t, e) {
|
|
31
|
+
if (e == null)
|
|
32
|
+
return t.__ ? L(t.__, t.__.__k.indexOf(t) + 1) : null;
|
|
33
|
+
for (var _; e < t.__k.length; e++)
|
|
34
|
+
if ((_ = t.__k[e]) != null && _.__e != null)
|
|
35
|
+
return _.__d || _.__e;
|
|
36
|
+
return typeof t.type == "function" ? L(t) : null;
|
|
37
|
+
}
|
|
38
|
+
function Z(t) {
|
|
39
|
+
var e, _;
|
|
40
|
+
if ((t = t.__) != null && t.__c != null) {
|
|
41
|
+
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
|
|
42
|
+
if ((_ = t.__k[e]) != null && _.__e != null) {
|
|
43
|
+
t.__e = t.__c.base = _.__e;
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
return Z(t);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function B(t) {
|
|
50
|
+
(!t.__d && (t.__d = !0) && S.push(t) && !H.__r++ || G !== h.debounceRendering) && ((G = h.debounceRendering) || K)(H);
|
|
51
|
+
}
|
|
52
|
+
function H() {
|
|
53
|
+
var t, e, _, r, l, o, i, c, u;
|
|
54
|
+
for (S.sort($); t = S.shift(); )
|
|
55
|
+
t.__d && (e = S.length, r = void 0, l = void 0, o = void 0, c = (i = (_ = t).__v).__e, (u = _.__P) && (r = [], l = [], (o = C({}, i)).__v = i.__v + 1, R(u, i, o, _.__n, u.ownerSVGElement !== void 0, i.__h != null ? [c] : null, r, c ?? L(i), i.__h, l), ne(r, i, l), i.__e != c && Z(i)), S.length > e && S.sort($));
|
|
56
|
+
H.__r = 0;
|
|
57
|
+
}
|
|
58
|
+
function ee(t, e, _, r, l, o, i, c, u, x, d) {
|
|
59
|
+
var n, m, f, s, p, w, a, v, b, g = 0, y = r && r.__k || X, T = y.length, P = T, D = e.length;
|
|
60
|
+
for (_.__k = [], n = 0; n < D; n++)
|
|
61
|
+
(s = _.__k[n] = (s = e[n]) == null || typeof s == "boolean" || typeof s == "function" ? null : typeof s == "string" || typeof s == "number" || typeof s == "bigint" ? U(null, s, null, null, s) : F(s) ? U(I, { children: s }, null, null, null) : s.__b > 0 ? U(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s) != null ? (s.__ = _, s.__b = _.__b + 1, (v = ie(s, y, a = n + g, P)) === -1 ? f = E : (f = y[v] || E, y[v] = void 0, P--), R(t, s, f, l, o, i, c, u, x, d), p = s.__e, (m = s.ref) && f.ref != m && (f.ref && j(f.ref, null, s), d.push(m, s.__c || p, s)), p != null && (w == null && (w = p), (b = f === E || f.__v === null) ? v == -1 && g-- : v !== a && (v === a + 1 ? g++ : v > a ? P > D - a ? g += v - a : g-- : g = v < a && v == a - 1 ? v - a : 0), a = n + g, typeof s.type != "function" || v === a && f.__k !== s.__k ? typeof s.type == "function" || v === a && !b ? s.__d !== void 0 ? (u = s.__d, s.__d = void 0) : u = p.nextSibling : u = _e(t, p, u) : u = te(s, u, t), typeof _.type == "function" && (_.__d = u))) : (f = y[n]) && f.key == null && f.__e && (f.__e == u && (f.__ = r, u = L(f)), O(f, f, !1), y[n] = null);
|
|
62
|
+
for (_.__e = w, n = T; n--; )
|
|
63
|
+
y[n] != null && (typeof _.type == "function" && y[n].__e != null && y[n].__e == _.__d && (_.__d = y[n].__e.nextSibling), O(y[n], y[n]));
|
|
64
|
+
}
|
|
65
|
+
function te(t, e, _) {
|
|
66
|
+
for (var r, l = t.__k, o = 0; l && o < l.length; o++)
|
|
67
|
+
(r = l[o]) && (r.__ = t, e = typeof r.type == "function" ? te(r, e, _) : _e(_, r.__e, e));
|
|
68
|
+
return e;
|
|
69
|
+
}
|
|
70
|
+
function le(t, e) {
|
|
71
|
+
return e = e || [], t == null || typeof t == "boolean" || (F(t) ? t.some(function(_) {
|
|
72
|
+
le(_, e);
|
|
73
|
+
}) : e.push(t)), e;
|
|
74
|
+
}
|
|
75
|
+
function _e(t, e, _) {
|
|
76
|
+
return _ == null || _.parentNode !== t ? t.insertBefore(e, null) : e == _ && e.parentNode != null || t.insertBefore(e, _), e.nextSibling;
|
|
77
|
+
}
|
|
78
|
+
function ie(t, e, _, r) {
|
|
79
|
+
var l = t.key, o = t.type, i = _ - 1, c = _ + 1, u = e[_];
|
|
80
|
+
if (u === null || u && l == u.key && o === u.type)
|
|
81
|
+
return _;
|
|
82
|
+
if (r > (u != null ? 1 : 0))
|
|
83
|
+
for (; i >= 0 || c < e.length; ) {
|
|
84
|
+
if (i >= 0) {
|
|
85
|
+
if ((u = e[i]) && l == u.key && o === u.type)
|
|
86
|
+
return i;
|
|
87
|
+
i--;
|
|
88
|
+
}
|
|
89
|
+
if (c < e.length) {
|
|
90
|
+
if ((u = e[c]) && l == u.key && o === u.type)
|
|
91
|
+
return c;
|
|
92
|
+
c++;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return -1;
|
|
96
|
+
}
|
|
97
|
+
function se(t, e, _, r, l) {
|
|
98
|
+
var o;
|
|
99
|
+
for (o in _)
|
|
100
|
+
o === "children" || o === "key" || o in e || A(t, o, null, _[o], r);
|
|
101
|
+
for (o in e)
|
|
102
|
+
l && typeof e[o] != "function" || o === "children" || o === "key" || o === "value" || o === "checked" || _[o] === e[o] || A(t, o, e[o], _[o], r);
|
|
103
|
+
}
|
|
104
|
+
function z(t, e, _) {
|
|
105
|
+
e[0] === "-" ? t.setProperty(e, _ ?? "") : t[e] = _ == null ? "" : typeof _ != "number" || oe.test(e) ? _ : _ + "px";
|
|
106
|
+
}
|
|
107
|
+
function A(t, e, _, r, l) {
|
|
108
|
+
var o;
|
|
109
|
+
e:
|
|
110
|
+
if (e === "style")
|
|
111
|
+
if (typeof _ == "string")
|
|
112
|
+
t.style.cssText = _;
|
|
113
|
+
else {
|
|
114
|
+
if (typeof r == "string" && (t.style.cssText = r = ""), r)
|
|
115
|
+
for (e in r)
|
|
116
|
+
_ && e in _ || z(t.style, e, "");
|
|
117
|
+
if (_)
|
|
118
|
+
for (e in _)
|
|
119
|
+
r && _[e] === r[e] || z(t.style, e, _[e]);
|
|
120
|
+
}
|
|
121
|
+
else if (e[0] === "o" && e[1] === "n")
|
|
122
|
+
o = e !== (e = e.replace(/(PointerCapture)$|Capture$/, "$1")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = _, _ ? r ? _.u = r.u : (_.u = Date.now(), t.addEventListener(e, o ? q : V, o)) : t.removeEventListener(e, o ? q : V, o);
|
|
123
|
+
else if (e !== "dangerouslySetInnerHTML") {
|
|
124
|
+
if (l)
|
|
125
|
+
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
126
|
+
else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e !== "rowSpan" && e !== "colSpan" && e !== "role" && e in t)
|
|
127
|
+
try {
|
|
128
|
+
t[e] = _ ?? "";
|
|
129
|
+
break e;
|
|
130
|
+
} catch {
|
|
131
|
+
}
|
|
132
|
+
typeof _ == "function" || (_ == null || _ === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, _));
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function V(t) {
|
|
136
|
+
var e = this.l[t.type + !1];
|
|
137
|
+
if (t.t) {
|
|
138
|
+
if (t.t <= e.u)
|
|
139
|
+
return;
|
|
140
|
+
} else
|
|
141
|
+
t.t = Date.now();
|
|
142
|
+
return e(h.event ? h.event(t) : t);
|
|
143
|
+
}
|
|
144
|
+
function q(t) {
|
|
145
|
+
return this.l[t.type + !0](h.event ? h.event(t) : t);
|
|
146
|
+
}
|
|
147
|
+
function R(t, e, _, r, l, o, i, c, u, x) {
|
|
148
|
+
var d, n, m, f, s, p, w, a, v, b, g, y, T, P, D, k = e.type;
|
|
149
|
+
if (e.constructor !== void 0)
|
|
150
|
+
return null;
|
|
151
|
+
_.__h != null && (u = _.__h, c = e.__e = _.__e, e.__h = null, o = [c]), (d = h.__b) && d(e);
|
|
152
|
+
e:
|
|
153
|
+
if (typeof k == "function")
|
|
154
|
+
try {
|
|
155
|
+
if (a = e.props, v = (d = k.contextType) && r[d.__c], b = d ? v ? v.props.value : d.__ : r, _.__c ? w = (n = e.__c = _.__c).__ = n.__E : ("prototype" in k && k.prototype.render ? e.__c = n = new k(a, b) : (e.__c = n = new W(a, b), n.constructor = k, n.render = fe), v && v.sub(n), n.props = a, n.state || (n.state = {}), n.context = b, n.__n = r, m = n.__d = !0, n.__h = [], n._sb = []), n.__s == null && (n.__s = n.state), k.getDerivedStateFromProps != null && (n.__s == n.state && (n.__s = C({}, n.__s)), C(n.__s, k.getDerivedStateFromProps(a, n.__s))), f = n.props, s = n.state, n.__v = e, m)
|
|
156
|
+
k.getDerivedStateFromProps == null && n.componentWillMount != null && n.componentWillMount(), n.componentDidMount != null && n.__h.push(n.componentDidMount);
|
|
157
|
+
else {
|
|
158
|
+
if (k.getDerivedStateFromProps == null && a !== f && n.componentWillReceiveProps != null && n.componentWillReceiveProps(a, b), !n.__e && (n.shouldComponentUpdate != null && n.shouldComponentUpdate(a, n.__s, b) === !1 || e.__v === _.__v)) {
|
|
159
|
+
for (e.__v !== _.__v && (n.props = a, n.state = n.__s, n.__d = !1), e.__e = _.__e, e.__k = _.__k, e.__k.forEach(function(N) {
|
|
160
|
+
N && (N.__ = e);
|
|
161
|
+
}), g = 0; g < n._sb.length; g++)
|
|
162
|
+
n.__h.push(n._sb[g]);
|
|
163
|
+
n._sb = [], n.__h.length && i.push(n);
|
|
164
|
+
break e;
|
|
165
|
+
}
|
|
166
|
+
n.componentWillUpdate != null && n.componentWillUpdate(a, n.__s, b), n.componentDidUpdate != null && n.__h.push(function() {
|
|
167
|
+
n.componentDidUpdate(f, s, p);
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
if (n.context = b, n.props = a, n.__P = t, n.__e = !1, y = h.__r, T = 0, "prototype" in k && k.prototype.render) {
|
|
171
|
+
for (n.state = n.__s, n.__d = !1, y && y(e), d = n.render(n.props, n.state, n.context), P = 0; P < n._sb.length; P++)
|
|
172
|
+
n.__h.push(n._sb[P]);
|
|
173
|
+
n._sb = [];
|
|
174
|
+
} else
|
|
175
|
+
do
|
|
176
|
+
n.__d = !1, y && y(e), d = n.render(n.props, n.state, n.context), n.state = n.__s;
|
|
177
|
+
while (n.__d && ++T < 25);
|
|
178
|
+
n.state = n.__s, n.getChildContext != null && (r = C(C({}, r), n.getChildContext())), m || n.getSnapshotBeforeUpdate == null || (p = n.getSnapshotBeforeUpdate(f, s)), ee(t, F(D = d != null && d.type === I && d.key == null ? d.props.children : d) ? D : [D], e, _, r, l, o, i, c, u, x), n.base = e.__e, e.__h = null, n.__h.length && i.push(n), w && (n.__E = n.__ = null);
|
|
179
|
+
} catch (N) {
|
|
180
|
+
e.__v = null, (u || o != null) && (e.__e = c, e.__h = !!u, o[o.indexOf(c)] = null), h.__e(N, e, _);
|
|
181
|
+
}
|
|
182
|
+
else
|
|
183
|
+
o == null && e.__v === _.__v ? (e.__k = _.__k, e.__e = _.__e) : e.__e = ce(_.__e, e, _, r, l, o, i, u, x);
|
|
184
|
+
(d = h.diffed) && d(e);
|
|
185
|
+
}
|
|
186
|
+
function ne(t, e, _) {
|
|
187
|
+
for (var r = 0; r < _.length; r++)
|
|
188
|
+
j(_[r], _[++r], _[++r]);
|
|
189
|
+
h.__c && h.__c(e, t), t.some(function(l) {
|
|
190
|
+
try {
|
|
191
|
+
t = l.__h, l.__h = [], t.some(function(o) {
|
|
192
|
+
o.call(l);
|
|
193
|
+
});
|
|
194
|
+
} catch (o) {
|
|
195
|
+
h.__e(o, l.__v);
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
function ce(t, e, _, r, l, o, i, c, u) {
|
|
200
|
+
var x, d, n, m = _.props, f = e.props, s = e.type, p = 0;
|
|
201
|
+
if (s === "svg" && (l = !0), o != null) {
|
|
202
|
+
for (; p < o.length; p++)
|
|
203
|
+
if ((x = o[p]) && "setAttribute" in x == !!s && (s ? x.localName === s : x.nodeType === 3)) {
|
|
204
|
+
t = x, o[p] = null;
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
if (t == null) {
|
|
209
|
+
if (s === null)
|
|
210
|
+
return document.createTextNode(f);
|
|
211
|
+
t = l ? document.createElementNS("http://www.w3.org/2000/svg", s) : document.createElement(s, f.is && f), o = null, c = !1;
|
|
212
|
+
}
|
|
213
|
+
if (s === null)
|
|
214
|
+
m === f || c && t.data === f || (t.data = f);
|
|
215
|
+
else {
|
|
216
|
+
if (o = o && M.call(t.childNodes), d = (m = _.props || E).dangerouslySetInnerHTML, n = f.dangerouslySetInnerHTML, !c) {
|
|
217
|
+
if (o != null)
|
|
218
|
+
for (m = {}, p = 0; p < t.attributes.length; p++)
|
|
219
|
+
m[t.attributes[p].name] = t.attributes[p].value;
|
|
220
|
+
(n || d) && (n && (d && n.__html == d.__html || n.__html === t.innerHTML) || (t.innerHTML = n && n.__html || ""));
|
|
221
|
+
}
|
|
222
|
+
if (se(t, f, m, l, c), n)
|
|
223
|
+
e.__k = [];
|
|
224
|
+
else if (ee(t, F(p = e.props.children) ? p : [p], e, _, r, l && s !== "foreignObject", o, i, o ? o[0] : _.__k && L(_, 0), c, u), o != null)
|
|
225
|
+
for (p = o.length; p--; )
|
|
226
|
+
o[p] != null && Y(o[p]);
|
|
227
|
+
c || ("value" in f && (p = f.value) !== void 0 && (p !== t.value || s === "progress" && !p || s === "option" && p !== m.value) && A(t, "value", p, m.value, !1), "checked" in f && (p = f.checked) !== void 0 && p !== t.checked && A(t, "checked", p, m.checked, !1));
|
|
228
|
+
}
|
|
229
|
+
return t;
|
|
230
|
+
}
|
|
231
|
+
function j(t, e, _) {
|
|
232
|
+
try {
|
|
233
|
+
typeof t == "function" ? t(e) : t.current = e;
|
|
234
|
+
} catch (r) {
|
|
235
|
+
h.__e(r, _);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
function O(t, e, _) {
|
|
239
|
+
var r, l;
|
|
240
|
+
if (h.unmount && h.unmount(t), (r = t.ref) && (r.current && r.current !== t.__e || j(r, null, e)), (r = t.__c) != null) {
|
|
241
|
+
if (r.componentWillUnmount)
|
|
242
|
+
try {
|
|
243
|
+
r.componentWillUnmount();
|
|
244
|
+
} catch (o) {
|
|
245
|
+
h.__e(o, e);
|
|
246
|
+
}
|
|
247
|
+
r.base = r.__P = null, t.__c = void 0;
|
|
248
|
+
}
|
|
249
|
+
if (r = t.__k)
|
|
250
|
+
for (l = 0; l < r.length; l++)
|
|
251
|
+
r[l] && O(r[l], e, _ || typeof t.type != "function");
|
|
252
|
+
_ || t.__e == null || Y(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
253
|
+
}
|
|
254
|
+
function fe(t, e, _) {
|
|
255
|
+
return this.constructor(t, _);
|
|
256
|
+
}
|
|
257
|
+
function ue(t, e, _) {
|
|
258
|
+
var r, l, o, i;
|
|
259
|
+
h.__ && h.__(t, e), l = (r = typeof _ == "function") ? null : _ && _.__k || e.__k, o = [], i = [], R(e, t = (!r && _ || e).__k = re(I, null, [t]), l || E, E, e.ownerSVGElement !== void 0, !r && _ ? [_] : l ? null : e.firstChild ? M.call(e.childNodes) : null, o, !r && _ ? _ : l ? l.__e : e.firstChild, r, i), ne(o, t, i);
|
|
260
|
+
}
|
|
261
|
+
function pe(t, e, _) {
|
|
262
|
+
var r, l, o, i, c = C({}, t.props);
|
|
263
|
+
for (o in t.type && t.type.defaultProps && (i = t.type.defaultProps), e)
|
|
264
|
+
o == "key" ? r = e[o] : o == "ref" ? l = e[o] : c[o] = e[o] === void 0 && i !== void 0 ? i[o] : e[o];
|
|
265
|
+
return arguments.length > 2 && (c.children = arguments.length > 3 ? M.call(arguments, 2) : _), U(t.type, c, r || t.key, l || t.ref, null);
|
|
266
|
+
}
|
|
267
|
+
function ae(t, e) {
|
|
268
|
+
var _ = { __c: e = "__cC" + Q++, __: t, Consumer: function(r, l) {
|
|
269
|
+
return r.children(l);
|
|
270
|
+
}, Provider: function(r) {
|
|
271
|
+
var l, o;
|
|
272
|
+
return this.getChildContext || (l = [], (o = {})[e] = this, this.getChildContext = function() {
|
|
273
|
+
return o;
|
|
274
|
+
}, this.shouldComponentUpdate = function(i) {
|
|
275
|
+
this.props.value !== i.value && l.some(function(c) {
|
|
276
|
+
c.__e = !0, B(c);
|
|
277
|
+
});
|
|
278
|
+
}, this.sub = function(i) {
|
|
279
|
+
l.push(i);
|
|
280
|
+
var c = i.componentWillUnmount;
|
|
281
|
+
i.componentWillUnmount = function() {
|
|
282
|
+
l.splice(l.indexOf(i), 1), c && c.call(i);
|
|
283
|
+
};
|
|
284
|
+
}), r.children;
|
|
285
|
+
} };
|
|
286
|
+
return _.Provider.__ = _.Consumer.contextType = _;
|
|
287
|
+
}
|
|
288
|
+
M = X.slice, h = { __e: function(t, e, _, r) {
|
|
289
|
+
for (var l, o, i; e = e.__; )
|
|
290
|
+
if ((l = e.__c) && !l.__)
|
|
291
|
+
try {
|
|
292
|
+
if ((o = l.constructor) && o.getDerivedStateFromError != null && (l.setState(o.getDerivedStateFromError(t)), i = l.__d), l.componentDidCatch != null && (l.componentDidCatch(t, r || {}), i = l.__d), i)
|
|
293
|
+
return l.__E = l;
|
|
294
|
+
} catch (c) {
|
|
295
|
+
t = c;
|
|
296
|
+
}
|
|
297
|
+
throw t;
|
|
298
|
+
} }, J = 0, W.prototype.setState = function(t, e) {
|
|
299
|
+
var _;
|
|
300
|
+
_ = this.__s != null && this.__s !== this.state ? this.__s : this.__s = C({}, this.state), typeof t == "function" && (t = t(C({}, _), this.props)), t && C(_, t), t != null && this.__v && (e && this._sb.push(e), B(this));
|
|
301
|
+
}, W.prototype.forceUpdate = function(t) {
|
|
302
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), B(this));
|
|
303
|
+
}, W.prototype.render = I, S = [], K = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, $ = function(t, e) {
|
|
304
|
+
return t.__v.__b - e.__v.__b;
|
|
305
|
+
}, H.__r = 0, Q = 0;
|
|
306
|
+
export {
|
|
307
|
+
W as Component,
|
|
308
|
+
I as Fragment,
|
|
309
|
+
pe as cloneElement,
|
|
310
|
+
ae as createContext,
|
|
311
|
+
re as createElement,
|
|
312
|
+
re as h,
|
|
313
|
+
h as options,
|
|
314
|
+
ue as render,
|
|
315
|
+
le as toChildArray
|
|
316
|
+
};
|