@ssa-ui-kit/widgets 0.0.30-alpha → 0.0.32-alpha
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/.storybook/main.ts +2 -1
- package/.storybook/preview.tsx +1 -0
- package/LICENSE +21 -0
- package/custom-shots/widgets-bots-table--no-control-orders--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__[w390px].png +0 -0
- package/custom-shots/widgets-meal-nutrients--hint-opened__dropdown__[w900px].png +0 -0
- package/dist/components/AccountBalance/BalancePieChart.d.ts +1 -1
- package/dist/components/AccountBalance/BalancePieChartTitle.d.ts +1 -1
- package/dist/index.d.ts +0 -17
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -8
- package/src/components/AccountBalance/AccountBalance.stories.tsx +1 -1
- package/src/components/AccountBalance/BalancePieChart.tsx +1 -5
- package/src/components/Activity/Activity.stories.tsx +1 -1
- package/src/components/Bmi/Bmi.stories.tsx +1 -1
- package/src/components/BotsTable/BotsTable.e2e.ts +4 -4
- package/src/components/BotsTable/stories/BotsTable.stories.tsx +1 -1
- package/src/components/Calories/Calories.stories.tsx +1 -1
- package/src/components/ExchangeAccount/ExchangeAccount.stories.tsx +3 -4
- package/src/components/ExchangeAccountKeys/ExchangeAccountKeys.stories.tsx +2 -2
- package/src/components/HeartRate/HeartRate.e2e.ts +2 -2
- package/src/components/HeartRate/HeartRate.stories.tsx +1 -1
- package/src/components/ListGoals/ListGoals.stories.tsx +1 -1
- package/src/components/ListGoals/ListGoals.tsx +1 -1
- package/src/components/MealNutrients/MealNutrients.e2e.ts +2 -2
- package/src/components/MealNutrients/MealNutrients.stories.tsx +1 -1
- package/src/components/MealPlanner/MealPlanner.stories.tsx +1 -1
- package/src/components/StepsCounter/StepsCounter.stories.tsx +1 -1
- package/src/components/TradingInfoCard/TradingInfoCard.e2e.ts +4 -2
- package/src/components/TradingInfoCard/TradingInfoCard.stories.tsx +1 -1
- package/src/components/TradingScoreboard/TradingScoreboard.stories.tsx +2 -2
- package/src/components/UpcomingWorkouts/UpcomingWorkouts.stories.tsx +1 -1
- package/src/components/UpcomingWorkouts/UpcomingWorkouts.tsx +1 -1
- package/src/components/WaterConsume/WaterConsume.stories.tsx +1 -1
- package/src/index.ts +0 -17
- package/tsbuildcache +1 -1
- package/tsconfig.build.json +4 -6
- package/webpack.config.js +0 -1
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px].png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1439px]_statistics_submenu_popover.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_side_menu_expanded.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_expanded.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w1920px]_statistics_submenu_popover.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_default.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_menu_opened.png +0 -0
- package/custom-shots/widgets-collapsiblenavbar-opened__[w899px]_statistics_submenu.png +0 -0
- package/custom-shots/widgets-filters--default__[w1920px].png +0 -0
- package/custom-shots/widgets-filters--filter-button-items-not-selected__[w390px].png +0 -0
- package/custom-shots/widgets-filters--filter-button__[w390px].png +0 -0
- package/custom-shots/widgets-filters--filter-button__[w900px].png +0 -0
- package/custom-shots/widgets-filters--more-button-items-selected__[w390px].png +0 -0
- package/custom-shots/widgets-filters--more-button__[w900px].png +0 -0
- package/custom-shots/widgets-linkstabbar--current-focus__[w1920px].png +0 -0
- package/custom-shots/widgets-linkstabbar--non-current-focus__[w1920px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w390px].png +0 -0
- package/custom-shots/widgets-navbar--mobile-opened__[w900px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w390px].png +0 -0
- package/custom-shots/widgets-navbar-opened__[w900px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w1440px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w1920px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w390px].png +0 -0
- package/custom-shots/widgets-notification-menu--is-opened__[w900px].png +0 -0
- package/custom-shots/widgets-pagination--next-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--not-selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--previous-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination--selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination-disabled--next-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination-disabled--not-selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination-disabled--previous-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-pagination-disabled--selected-hover__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w1440px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w390px].png +0 -0
- package/custom-shots/widgets-progressInfo__[w900px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w1440px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w1920px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w390px].png +0 -0
- package/custom-shots/widgets-progressInfo__dropdown__[w900px].png +0 -0
- package/custom-shots/widgets-searchbox--cross-icon__[w1920px].png +0 -0
- package/custom-shots/widgets-searchbox--cross-icon__[w900px].png +0 -0
- package/custom-shots/widgets-searchbox--search-icon__[w1920px].png +0 -0
- package/custom-shots/widgets-searchbox--search-icon__[w900px].png +0 -0
- package/custom-shots/widgets-table-bots--default_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--menu-opened_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--no-control-orders--menu-opened_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--no-control-orders--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-table-bots--run-reason-modal_[w1920px].png +0 -0
- package/custom-shots/widgets-table-filters--opened__[w1920px].png +0 -0
- package/custom-shots/widgets-user-profile--is-opened__[w1920px].png +0 -0
- package/dist/components/AddNewAccountCard/AddNewAccountCard.d.ts +0 -2
- package/dist/components/AddNewAccountCard/index.d.ts +0 -2
- package/dist/components/AddNewAccountCard/styles.d.ts +0 -2
- package/dist/components/AddNewAccountCard/types.d.ts +0 -7
- package/dist/components/CardList/CardList.d.ts +0 -6
- package/dist/components/CardList/index.d.ts +0 -2
- package/dist/components/CardList/types.d.ts +0 -10
- package/dist/components/CollapsibleNavBar/CollapsibleNavBar.d.ts +0 -5
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +0 -8
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +0 -8
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +0 -5
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +0 -8
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +0 -8
- package/dist/components/CollapsibleNavBar/CollapsibleNavContentToggle.d.ts +0 -4
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggle.d.ts +0 -4
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +0 -8
- package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +0 -16
- package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +0 -5
- package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +0 -6
- package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +0 -6
- package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +0 -7
- package/dist/components/CollapsibleNavBar/index.d.ts +0 -2
- package/dist/components/CollapsibleNavBar/stories/CustomIcon.d.ts +0 -1
- package/dist/components/CollapsibleNavBar/stories/Layout.d.ts +0 -3
- package/dist/components/CollapsibleNavBar/stories/Logo.d.ts +0 -1
- package/dist/components/CollapsibleNavBar/stories/StoryComponent.d.ts +0 -2
- package/dist/components/CollapsibleNavBar/stories/consts.d.ts +0 -2
- package/dist/components/CollapsibleNavBar/stories/styles.d.ts +0 -2
- package/dist/components/CollapsibleNavBar/styles.d.ts +0 -7
- package/dist/components/CollapsibleNavBar/types.d.ts +0 -16
- package/dist/components/Filters/FilterBlockWrapper.d.ts +0 -11
- package/dist/components/Filters/Filters.d.ts +0 -16
- package/dist/components/Filters/FiltersBlock.d.ts +0 -1
- package/dist/components/Filters/FiltersContext.d.ts +0 -37
- package/dist/components/Filters/FiltersWrapper.d.ts +0 -7
- package/dist/components/Filters/hooks/useVisibility.d.ts +0 -14
- package/dist/components/Filters/index.d.ts +0 -1
- package/dist/components/Filters/stories/StoryComponent.d.ts +0 -3
- package/dist/components/Filters/stories/mockData.d.ts +0 -3
- package/dist/components/Filters/types.d.ts +0 -4
- package/dist/components/LinksTabBar/LinksTabBar.d.ts +0 -2
- package/dist/components/LinksTabBar/LinksTabBarBase.d.ts +0 -5
- package/dist/components/LinksTabBar/index.d.ts +0 -2
- package/dist/components/LinksTabBar/stories/decorators.d.ts +0 -4
- package/dist/components/LinksTabBar/stories/mockData.d.ts +0 -5
- package/dist/components/LinksTabBar/types.d.ts +0 -10
- package/dist/components/NavBar/NavBar.d.ts +0 -5
- package/dist/components/NavBar/NavBarBase.d.ts +0 -6
- package/dist/components/NavBar/NavBarItem.d.ts +0 -6
- package/dist/components/NavBar/NavBarLink.d.ts +0 -5
- package/dist/components/NavBar/NavBarList.d.ts +0 -6
- package/dist/components/NavBar/NavBarWrapper.d.ts +0 -6
- package/dist/components/NavBar/NavToggle.d.ts +0 -4
- package/dist/components/NavBar/NavToggleWrapper.d.ts +0 -6
- package/dist/components/NavBar/index.d.ts +0 -2
- package/dist/components/NavBar/types.d.ts +0 -27
- package/dist/components/NotificationCard/NotificationCard.d.ts +0 -6
- package/dist/components/NotificationCard/index.d.ts +0 -2
- package/dist/components/NotificationCard/styles.d.ts +0 -7
- package/dist/components/NotificationCard/types.d.ts +0 -12
- package/dist/components/NotificationMenu/NotificationMenu.d.ts +0 -2
- package/dist/components/NotificationMenu/helpers.d.ts +0 -11
- package/dist/components/NotificationMenu/index.d.ts +0 -2
- package/dist/components/NotificationMenu/stories/StoryComponent.d.ts +0 -1
- package/dist/components/NotificationMenu/stories/StoryContent.d.ts +0 -6
- package/dist/components/NotificationMenu/styles.d.ts +0 -9
- package/dist/components/NotificationMenu/types.d.ts +0 -11
- package/dist/components/Pagination/ArrowButton.d.ts +0 -2
- package/dist/components/Pagination/Pagination.d.ts +0 -3
- package/dist/components/Pagination/PaginationButtons.d.ts +0 -2
- package/dist/components/Pagination/PaginationContext.d.ts +0 -5
- package/dist/components/Pagination/WithPagination.d.ts +0 -5
- package/dist/components/Pagination/index.d.ts +0 -4
- package/dist/components/Pagination/styles.d.ts +0 -4
- package/dist/components/Pagination/types.d.ts +0 -33
- package/dist/components/PieChart/PieChart.d.ts +0 -2
- package/dist/components/PieChart/PieChartBases.d.ts +0 -9
- package/dist/components/PieChart/PieChartLegend.d.ts +0 -2
- package/dist/components/PieChart/PieChartLegendList.d.ts +0 -5
- package/dist/components/PieChart/PieChartLegendMarker.d.ts +0 -4
- package/dist/components/PieChart/colorPalettes.d.ts +0 -6
- package/dist/components/PieChart/index.d.ts +0 -4
- package/dist/components/PieChart/stories/fixtures.d.ts +0 -11
- package/dist/components/PieChart/types.d.ts +0 -26
- package/dist/components/ProgressInfo/ProgressInfo.d.ts +0 -2
- package/dist/components/ProgressInfo/ProgressInfoTotals.d.ts +0 -5
- package/dist/components/ProgressInfo/index.d.ts +0 -3
- package/dist/components/ProgressInfo/mockProgressInfoRequest.d.ts +0 -2
- package/dist/components/ProgressInfo/styles.d.ts +0 -2
- package/dist/components/ProgressInfo/types.d.ts +0 -28
- package/dist/components/SearchBox/SearchBox.d.ts +0 -2
- package/dist/components/SearchBox/SearchBoxCrossIcon.d.ts +0 -3
- package/dist/components/SearchBox/SearchBoxInput.d.ts +0 -4
- package/dist/components/SearchBox/SearchBoxWrapper.d.ts +0 -5
- package/dist/components/SearchBox/index.d.ts +0 -4
- package/dist/components/SearchBox/stories/StoryComponent.d.ts +0 -3
- package/dist/components/SearchBox/types.d.ts +0 -7
- package/dist/components/TableFilters/TableFilterCancelButton.d.ts +0 -6
- package/dist/components/TableFilters/TableFilterCheckbox.d.ts +0 -2
- package/dist/components/TableFilters/TableFilterClearButton.d.ts +0 -6
- package/dist/components/TableFilters/TableFilterTrigger.d.ts +0 -8
- package/dist/components/TableFilters/TableFilterTriggerWithNotification.d.ts +0 -5
- package/dist/components/TableFilters/TableFilters.d.ts +0 -2
- package/dist/components/TableFilters/TableFiltersAccordion.d.ts +0 -2
- package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +0 -9
- package/dist/components/TableFilters/TableFiltersButtons.d.ts +0 -4
- package/dist/components/TableFilters/hooks/useTableData.d.ts +0 -27
- package/dist/components/TableFilters/index.d.ts +0 -9
- package/dist/components/TableFilters/stories/StoryComponent.d.ts +0 -1
- package/dist/components/TableFilters/stories/TableFiltersWrapper.d.ts +0 -1
- package/dist/components/TableFilters/stories/mockData.d.ts +0 -2
- package/dist/components/TableFilters/styles.d.ts +0 -4
- package/dist/components/TableFilters/types.d.ts +0 -30
- package/dist/components/TableFilters/utils/handlers.d.ts +0 -11
- package/dist/components/UserProfile/UserProfile.d.ts +0 -2
- package/dist/components/UserProfile/index.d.ts +0 -2
- package/dist/components/UserProfile/styles.d.ts +0 -6
- package/dist/components/UserProfile/types.d.ts +0 -8
- package/src/components/AddNewAccountCard/AddNewAccountCard.spec.tsx +0 -39
- package/src/components/AddNewAccountCard/AddNewAccountCard.stories.tsx +0 -48
- package/src/components/AddNewAccountCard/AddNewAccountCard.tsx +0 -22
- package/src/components/AddNewAccountCard/index.ts +0 -2
- package/src/components/AddNewAccountCard/styles.ts +0 -29
- package/src/components/AddNewAccountCard/types.ts +0 -7
- package/src/components/CardList/CardList.spec.tsx +0 -32
- package/src/components/CardList/CardList.stories.tsx +0 -37
- package/src/components/CardList/CardList.tsx +0 -37
- package/src/components/CardList/index.ts +0 -2
- package/src/components/CardList/types.ts +0 -10
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.e2e.ts +0 -115
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.spec.tsx +0 -50
- package/src/components/CollapsibleNavBar/CollapsibleNavBar.tsx +0 -81
- package/src/components/CollapsibleNavBar/CollapsibleNavBarBase.ts +0 -134
- package/src/components/CollapsibleNavBar/CollapsibleNavBarItem.ts +0 -28
- package/src/components/CollapsibleNavBar/CollapsibleNavBarLink.ts +0 -40
- package/src/components/CollapsibleNavBar/CollapsibleNavBarList.ts +0 -18
- package/src/components/CollapsibleNavBar/CollapsibleNavBarWrapper.ts +0 -24
- package/src/components/CollapsibleNavBar/CollapsibleNavContentToggle.tsx +0 -27
- package/src/components/CollapsibleNavBar/CollapsibleNavToggle.tsx +0 -49
- package/src/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.ts +0 -16
- package/src/components/CollapsibleNavBar/NavBarAccordionContent.tsx +0 -52
- package/src/components/CollapsibleNavBar/NavBarItemWithSubMenu.tsx +0 -94
- package/src/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.tsx +0 -33
- package/src/components/CollapsibleNavBar/NavBarPopover.tsx +0 -125
- package/src/components/CollapsibleNavBar/TriggerIcon.tsx +0 -43
- package/src/components/CollapsibleNavBar/index.ts +0 -2
- package/src/components/CollapsibleNavBar/stories/CollapsibleNavBar.stories.tsx +0 -79
- package/src/components/CollapsibleNavBar/stories/CustomIcon.tsx +0 -20
- package/src/components/CollapsibleNavBar/stories/Layout.tsx +0 -53
- package/src/components/CollapsibleNavBar/stories/Logo.tsx +0 -12
- package/src/components/CollapsibleNavBar/stories/StoryComponent.tsx +0 -26
- package/src/components/CollapsibleNavBar/stories/consts.ts +0 -37
- package/src/components/CollapsibleNavBar/stories/styles.ts +0 -21
- package/src/components/CollapsibleNavBar/styles.ts +0 -91
- package/src/components/CollapsibleNavBar/types.ts +0 -18
- package/src/components/Filters/FilterBlockWrapper.tsx +0 -11
- package/src/components/Filters/Filters.e2e.ts +0 -115
- package/src/components/Filters/Filters.spec.tsx +0 -47
- package/src/components/Filters/Filters.tsx +0 -87
- package/src/components/Filters/FiltersBlock.tsx +0 -78
- package/src/components/Filters/FiltersContext.tsx +0 -44
- package/src/components/Filters/FiltersWrapper.tsx +0 -34
- package/src/components/Filters/hooks/useVisibility.ts +0 -101
- package/src/components/Filters/index.ts +0 -1
- package/src/components/Filters/stories/Filters.stories.tsx +0 -24
- package/src/components/Filters/stories/StoryComponent.tsx +0 -19
- package/src/components/Filters/stories/mockData.ts +0 -421
- package/src/components/Filters/types.ts +0 -4
- package/src/components/LinksTabBar/LinksTabBar.e2e.ts +0 -23
- package/src/components/LinksTabBar/LinksTabBar.spec.tsx +0 -48
- package/src/components/LinksTabBar/LinksTabBar.stories.tsx +0 -45
- package/src/components/LinksTabBar/LinksTabBar.tsx +0 -14
- package/src/components/LinksTabBar/LinksTabBarBase.tsx +0 -36
- package/src/components/LinksTabBar/index.ts +0 -2
- package/src/components/LinksTabBar/stories/decorators.tsx +0 -34
- package/src/components/LinksTabBar/stories/mockData.ts +0 -27
- package/src/components/LinksTabBar/types.ts +0 -12
- package/src/components/NavBar/NavBar.e2e.ts +0 -64
- package/src/components/NavBar/NavBar.stories.tsx +0 -86
- package/src/components/NavBar/NavBar.tsx +0 -41
- package/src/components/NavBar/NavBarBase.ts +0 -45
- package/src/components/NavBar/NavBarItem.ts +0 -13
- package/src/components/NavBar/NavBarLink.ts +0 -33
- package/src/components/NavBar/NavBarList.ts +0 -16
- package/src/components/NavBar/NavBarWrapper.ts +0 -40
- package/src/components/NavBar/NavToggle.tsx +0 -36
- package/src/components/NavBar/NavToggleWrapper.ts +0 -21
- package/src/components/NavBar/index.ts +0 -2
- package/src/components/NavBar/types.ts +0 -25
- package/src/components/NotificationCard/NotificationCard.spec.tsx +0 -113
- package/src/components/NotificationCard/NotificationCard.stories.tsx +0 -112
- package/src/components/NotificationCard/NotificationCard.tsx +0 -95
- package/src/components/NotificationCard/index.ts +0 -2
- package/src/components/NotificationCard/styles.tsx +0 -134
- package/src/components/NotificationCard/types.ts +0 -12
- package/src/components/NotificationMenu/NotificationMenu.e2e.ts +0 -27
- package/src/components/NotificationMenu/NotificationMenu.spec.tsx +0 -64
- package/src/components/NotificationMenu/NotificationMenu.tsx +0 -77
- package/src/components/NotificationMenu/helpers.ts +0 -91
- package/src/components/NotificationMenu/index.ts +0 -2
- package/src/components/NotificationMenu/stories/NotificationMenu.stories.tsx +0 -14
- package/src/components/NotificationMenu/stories/StoryComponent.tsx +0 -85
- package/src/components/NotificationMenu/stories/StoryContent.tsx +0 -52
- package/src/components/NotificationMenu/styles.ts +0 -125
- package/src/components/NotificationMenu/types.ts +0 -11
- package/src/components/Pagination/ArrowButton.tsx +0 -32
- package/src/components/Pagination/Pagination.e2e.ts +0 -51
- package/src/components/Pagination/Pagination.spec.tsx +0 -228
- package/src/components/Pagination/Pagination.stories.tsx +0 -60
- package/src/components/Pagination/Pagination.tsx +0 -66
- package/src/components/Pagination/PaginationButtons.tsx +0 -63
- package/src/components/Pagination/PaginationContext.tsx +0 -23
- package/src/components/Pagination/WithPagination.tsx +0 -14
- package/src/components/Pagination/index.ts +0 -4
- package/src/components/Pagination/styles.tsx +0 -98
- package/src/components/Pagination/types.ts +0 -38
- package/src/components/PieChart/PieChart.spec.tsx +0 -97
- package/src/components/PieChart/PieChart.stories.tsx +0 -129
- package/src/components/PieChart/PieChart.tsx +0 -40
- package/src/components/PieChart/PieChartBases.tsx +0 -26
- package/src/components/PieChart/PieChartLegend.tsx +0 -74
- package/src/components/PieChart/PieChartLegendList.tsx +0 -19
- package/src/components/PieChart/PieChartLegendMarker.tsx +0 -12
- package/src/components/PieChart/colorPalettes.ts +0 -28
- package/src/components/PieChart/index.ts +0 -4
- package/src/components/PieChart/stories/fixtures.ts +0 -39
- package/src/components/PieChart/types.ts +0 -30
- package/src/components/ProgressInfo/ProgressInfo.e2e.ts +0 -31
- package/src/components/ProgressInfo/ProgressInfo.spec.tsx +0 -91
- package/src/components/ProgressInfo/ProgressInfo.stories.tsx +0 -32
- package/src/components/ProgressInfo/ProgressInfo.tsx +0 -117
- package/src/components/ProgressInfo/ProgressInfoTotals.tsx +0 -60
- package/src/components/ProgressInfo/index.ts +0 -3
- package/src/components/ProgressInfo/mockProgressInfoRequest.ts +0 -166
- package/src/components/ProgressInfo/styles.ts +0 -20
- package/src/components/ProgressInfo/types.ts +0 -29
- package/src/components/SearchBox/SearchBox.e2e.ts +0 -37
- package/src/components/SearchBox/SearchBox.spec.tsx +0 -77
- package/src/components/SearchBox/SearchBox.tsx +0 -70
- package/src/components/SearchBox/SearchBoxCrossIcon.tsx +0 -26
- package/src/components/SearchBox/SearchBoxInput.tsx +0 -42
- package/src/components/SearchBox/SearchBoxWrapper.tsx +0 -9
- package/src/components/SearchBox/index.ts +0 -4
- package/src/components/SearchBox/stories/SearchBox.stories.tsx +0 -16
- package/src/components/SearchBox/stories/StoryComponent.tsx +0 -25
- package/src/components/SearchBox/types.ts +0 -9
- package/src/components/TableFilters/TableFilterCancelButton.tsx +0 -39
- package/src/components/TableFilters/TableFilterCheckbox.tsx +0 -24
- package/src/components/TableFilters/TableFilterClearButton.tsx +0 -47
- package/src/components/TableFilters/TableFilterTrigger.tsx +0 -66
- package/src/components/TableFilters/TableFilterTriggerWithNotification.tsx +0 -44
- package/src/components/TableFilters/TableFilters.e2e.ts +0 -32
- package/src/components/TableFilters/TableFilters.spec.tsx +0 -171
- package/src/components/TableFilters/TableFilters.tsx +0 -187
- package/src/components/TableFilters/TableFiltersAccordion.tsx +0 -14
- package/src/components/TableFilters/TableFiltersAccordionContent.tsx +0 -18
- package/src/components/TableFilters/TableFiltersButtons.tsx +0 -32
- package/src/components/TableFilters/hooks/useTableData.ts +0 -137
- package/src/components/TableFilters/index.ts +0 -9
- package/src/components/TableFilters/stories/StoryComponent.tsx +0 -35
- package/src/components/TableFilters/stories/TableFilters.stories.tsx +0 -17
- package/src/components/TableFilters/stories/TableFiltersWrapper.tsx +0 -7
- package/src/components/TableFilters/stories/mockData.tsx +0 -114
- package/src/components/TableFilters/styles.ts +0 -26
- package/src/components/TableFilters/types.ts +0 -34
- package/src/components/TableFilters/utils/handlers.ts +0 -73
- package/src/components/UserProfile/UserProfile.e2e.ts +0 -21
- package/src/components/UserProfile/UserProfile.spec.tsx +0 -107
- package/src/components/UserProfile/UserProfile.stories.tsx +0 -21
- package/src/components/UserProfile/UserProfile.tsx +0 -53
- package/src/components/UserProfile/index.ts +0 -2
- package/src/components/UserProfile/styles.ts +0 -47
- package/src/components/UserProfile/types.ts +0 -8
- package/storybook-static/106.9e8cbea9.iframe.bundle.js +0 -1
- package/storybook-static/1283.9fc9db8d.iframe.bundle.js +0 -1
- package/storybook-static/1326.d70e842e.iframe.bundle.js +0 -1
- package/storybook-static/2494.b66ef19b.iframe.bundle.js +0 -2
- package/storybook-static/2494.b66ef19b.iframe.bundle.js.LICENSE.txt +0 -18
- package/storybook-static/2912.382cd394.iframe.bundle.js +0 -1
- package/storybook-static/3169.20437151.iframe.bundle.js +0 -1
- package/storybook-static/3547.b4dd7bd1.iframe.bundle.js +0 -1
- package/storybook-static/3721.ecdf9b8f.iframe.bundle.js +0 -1
- package/storybook-static/3753.f1b27c03.iframe.bundle.js +0 -1
- package/storybook-static/382.c62928ce.iframe.bundle.js +0 -1
- package/storybook-static/4166.c831831a.iframe.bundle.js +0 -1
- package/storybook-static/4303.5eddf0db.iframe.bundle.js +0 -1
- package/storybook-static/4305.7abb00bd.iframe.bundle.js +0 -2
- package/storybook-static/4305.7abb00bd.iframe.bundle.js.LICENSE.txt +0 -32
- package/storybook-static/4906.4b715571.iframe.bundle.js +0 -402
- package/storybook-static/4906.4b715571.iframe.bundle.js.LICENSE.txt +0 -62
- package/storybook-static/4906.4b715571.iframe.bundle.js.map +0 -1
- package/storybook-static/4995.5eacd857.iframe.bundle.js +0 -1
- package/storybook-static/5241.1a778c90.iframe.bundle.js +0 -1
- package/storybook-static/5497.3a271e7d.iframe.bundle.js +0 -44
- package/storybook-static/5497.3a271e7d.iframe.bundle.js.map +0 -1
- package/storybook-static/5540.89ab0bf2.iframe.bundle.js +0 -1
- package/storybook-static/6620.f3ef6e69.iframe.bundle.js +0 -1
- package/storybook-static/7076.79537dd3.iframe.bundle.js +0 -1
- package/storybook-static/7263.29396000.iframe.bundle.js +0 -1
- package/storybook-static/7345.08466e1f.iframe.bundle.js +0 -1
- package/storybook-static/7609.4ae558d6.iframe.bundle.js +0 -1
- package/storybook-static/7633.15d72cbe.iframe.bundle.js +0 -1
- package/storybook-static/7767.a19480fa.iframe.bundle.js +0 -1
- package/storybook-static/7979.89edbcc1.iframe.bundle.js +0 -1
- package/storybook-static/8251.0c911d7f.iframe.bundle.js +0 -1
- package/storybook-static/9134.e8d5e9a4.iframe.bundle.js +0 -1
- package/storybook-static/9185.3fd701e4.iframe.bundle.js +0 -139
- package/storybook-static/9185.3fd701e4.iframe.bundle.js.map +0 -1
- package/storybook-static/9661.ea461ab6.iframe.bundle.js +0 -1
- package/storybook-static/973.d2780faa.iframe.bundle.js +0 -1
- package/storybook-static/components-AccountBalance-AccountBalance-stories.5840f875.iframe.bundle.js +0 -1
- package/storybook-static/components-Activity-Activity-stories.f32d8951.iframe.bundle.js +0 -1
- package/storybook-static/components-AddNewAccountCard-AddNewAccountCard-stories.42fb75cd.iframe.bundle.js +0 -1
- package/storybook-static/components-Bmi-Bmi-stories.9d5870ee.iframe.bundle.js +0 -1
- package/storybook-static/components-BotsTable-stories-BotsTable-stories.c5f522b5.iframe.bundle.js +0 -1
- package/storybook-static/components-Calories-Calories-stories.6bc48f55.iframe.bundle.js +0 -1
- package/storybook-static/components-CardList-CardList-stories.1fd44abd.iframe.bundle.js +0 -1
- package/storybook-static/components-CollapsibleNavBar-stories-CollapsibleNavBar-stories.ecfd2c49.iframe.bundle.js +0 -1
- package/storybook-static/components-ExchangeAccount-ExchangeAccount-stories.088bb989.iframe.bundle.js +0 -1
- package/storybook-static/components-ExchangeAccountKeys-ExchangeAccountKeys-stories.ad32903f.iframe.bundle.js +0 -1
- package/storybook-static/components-Filters-stories-Filters-stories.7ab0cd65.iframe.bundle.js +0 -1
- package/storybook-static/components-HeartRate-HeartRate-stories.b5275934.iframe.bundle.js +0 -1
- package/storybook-static/components-LinksTabBar-LinksTabBar-stories.13046734.iframe.bundle.js +0 -1
- package/storybook-static/components-ListGoals-ListGoals-stories.4d20456d.iframe.bundle.js +0 -1
- package/storybook-static/components-MealNutrients-MealNutrients-stories.b3061522.iframe.bundle.js +0 -1
- package/storybook-static/components-MealPlanner-MealPlanner-stories.6bc8eee9.iframe.bundle.js +0 -1
- package/storybook-static/components-NavBar-NavBar-stories.a2e2370c.iframe.bundle.js +0 -1
- package/storybook-static/components-NotificationCard-NotificationCard-stories.b1588a3f.iframe.bundle.js +0 -1
- package/storybook-static/components-NotificationMenu-stories-NotificationMenu-stories.098870e8.iframe.bundle.js +0 -1
- package/storybook-static/components-Pagination-Pagination-stories.35dfacb7.iframe.bundle.js +0 -1
- package/storybook-static/components-PieChart-PieChart-stories.f676f1b8.iframe.bundle.js +0 -1
- package/storybook-static/components-ProgressInfo-ProgressInfo-stories.3faeb127.iframe.bundle.js +0 -1
- package/storybook-static/components-SearchBox-stories-SearchBox-stories.e9350111.iframe.bundle.js +0 -1
- package/storybook-static/components-StepsCounter-StepsCounter-stories.b87bd065.iframe.bundle.js +0 -1
- package/storybook-static/components-TableFilters-stories-TableFilters-stories.fbc705de.iframe.bundle.js +0 -1
- package/storybook-static/components-TradingInfoCard-TradingInfoCard-stories.613e31d4.iframe.bundle.js +0 -1
- package/storybook-static/components-TradingScoreboard-TradingScoreboard-stories.19efcd33.iframe.bundle.js +0 -1
- package/storybook-static/components-UpcomingWorkouts-UpcomingWorkouts-stories.1cafd2e0.iframe.bundle.js +0 -1
- package/storybook-static/components-UserProfile-UserProfile-stories.e99e7d95.iframe.bundle.js +0 -1
- package/storybook-static/components-WaterConsume-WaterConsume-stories.92b6eef9.iframe.bundle.js +0 -1
- package/storybook-static/favicon.svg +0 -7
- package/storybook-static/iframe.html +0 -355
- package/storybook-static/index.html +0 -126
- package/storybook-static/index.json +0 -1
- package/storybook-static/main.1ea4e737.iframe.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.ac655abf.iframe.bundle.js +0 -1
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -13
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -115
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -28
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.map +0 -7
- package/storybook-static/sb-addons/links-0/manager-bundle.js +0 -4
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js.map +0 -7
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/CRUD-I5EZL2FS-LBZVDZXV.js +0 -1
- package/storybook-static/sb-manager/Communicate-7JXCND2Z-6SIVXWT4.js +0 -1
- package/storybook-static/sb-manager/Devices-SUYACUPO-DMGV6ENX.js +0 -1
- package/storybook-static/sb-manager/Documents-SGWAY3KW-XZRZ6I6S.js +0 -1
- package/storybook-static/sb-manager/Editing-7QFB6ZMG-J5U6QGB6.js +0 -1
- package/storybook-static/sb-manager/Git-DZ2D5ZUL-VKBWYJHE.js +0 -1
- package/storybook-static/sb-manager/GlobalScrollAreaStyles-4LLX2B3H-DOBSPBNW.js +0 -7
- package/storybook-static/sb-manager/Images-S2WTXNGG-NXAYS4VP.js +0 -1
- package/storybook-static/sb-manager/Logos-SJTNNI74-F3IVL4UV.js +0 -1
- package/storybook-static/sb-manager/OS-YZ2Y4VYS-KGSGCOHC.js +0 -1
- package/storybook-static/sb-manager/OverlayScrollbars-OL4C4TVX-FNYA4OIC.js +0 -1
- package/storybook-static/sb-manager/People-OD4EV7WZ-DBPUNUXW.js +0 -1
- package/storybook-static/sb-manager/Wayfinding-BB4H7CHP-N2QAVLVA.js +0 -1
- package/storybook-static/sb-manager/WithTooltip-YBG737T3-GLWUADFI.js +0 -1
- package/storybook-static/sb-manager/chunk-6KNXZZZ5.js +0 -207
- package/storybook-static/sb-manager/chunk-DP4DR4LA.js +0 -15
- package/storybook-static/sb-manager/chunk-GBCXFRBK.js +0 -1
- package/storybook-static/sb-manager/chunk-IFNK3PLJ.js +0 -1
- package/storybook-static/sb-manager/chunk-JMPBYCHU.js +0 -1
- package/storybook-static/sb-manager/chunk-JSPL73I3.js +0 -1
- package/storybook-static/sb-manager/chunk-SJD7EFYL.js +0 -136
- package/storybook-static/sb-manager/chunk-UBXIQABM.js +0 -447
- package/storybook-static/sb-manager/chunk-V7GYLJLR.js +0 -7
- package/storybook-static/sb-manager/chunk-Z4NRYNHR.js +0 -1
- package/storybook-static/sb-manager/formatter-6736J7QO-TGL2ZGQC.js +0 -156
- package/storybook-static/sb-manager/globals.js +0 -1
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/runtime.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-4OVWVELQ-5IZ45DZY.js +0 -1
- package/storybook-static/sb-preview/globals.js +0 -1
- package/storybook-static/sb-preview/runtime.js +0 -105
- package/storybook-static/stories.json +0 -1
- package/tsconfig.tsbuildinfo +0 -1
- /package/src/components/AccountBalance/{AccountBalance.spec.tsx → AccountBalance.spec.old.tsx} +0 -0
- /package/src/components/Activity/{Activity.spec.tsx → Activity.spec.old.tsx} +0 -0
- /package/src/components/Bmi/{Bmi.spec.tsx → Bmi.spec.old.tsx} +0 -0
- /package/src/components/BotsTable/{BotsTable.spec.tsx → BotsTable.spec.old.tsx} +0 -0
- /package/src/components/Calories/{Calories.spec.tsx → Calories.spec.old.tsx} +0 -0
- /package/src/components/ExchangeAccount/{ExchangeAccount.spec.tsx → ExchangeAccount.spec.old.tsx} +0 -0
- /package/src/components/ExchangeAccountKeys/{ExchangeAccountKeys.spec.tsx → ExchangeAccountKeys.spec.old.tsx} +0 -0
- /package/src/components/HeartRate/{HeartRate.spec.tsx → HeartRate.spec.old.tsx} +0 -0
- /package/src/components/ListGoals/{ListGoals.spec.tsx → ListGoals.spec.old.tsx} +0 -0
- /package/src/components/MealNutrients/{MealNutrients.spec.tsx → MealNutrients.spec.old.tsx} +0 -0
- /package/src/components/MealPlanner/{MealPlanner.spec.tsx → MealPlanner.spec.old.tsx} +0 -0
- /package/src/components/StepsCounter/{StepsCounter.spec.tsx → StepsCounter.spec.old.tsx} +0 -0
- /package/src/components/TradingInfoCard/{TradingInfoCard.spec.tsx → TradingInfoCard.spec.old.tsx} +0 -0
- /package/src/components/TradingScoreboard/{TradingScoreboard.spec.tsx → TradingScoreboard.spec.old.tsx} +0 -0
- /package/src/components/UpcomingWorkouts/{UpcomingWorkouts.spec.tsx → UpcomingWorkouts.spec.old.tsx} +0 -0
- /package/src/components/WaterConsume/{WaterConsume.spec.tsx → WaterConsume.spec.old.tsx} +0 -0
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { TableFilterConfig } from '../types';
|
|
2
|
-
|
|
3
|
-
export const mockData: TableFilterConfig = {
|
|
4
|
-
strategy: {
|
|
5
|
-
id: 'strategy',
|
|
6
|
-
title: 'Strategy',
|
|
7
|
-
isOpened: true,
|
|
8
|
-
ariaControls: 'strategy-panel',
|
|
9
|
-
selectedItems: ['checkbox1', 'checkbox4'],
|
|
10
|
-
items: {
|
|
11
|
-
checkbox1: {
|
|
12
|
-
key: 'strategy-checkbox1',
|
|
13
|
-
name: 'checkbox1',
|
|
14
|
-
content: {
|
|
15
|
-
statePath: ['strategy', 'items', 'checkbox1'],
|
|
16
|
-
text: 'checkbox1',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
checkbox2: {
|
|
20
|
-
key: 'strategy-checkbox2',
|
|
21
|
-
name: 'checkbox2',
|
|
22
|
-
content: {
|
|
23
|
-
statePath: ['strategy', 'items', 'checkbox2'],
|
|
24
|
-
text: 'checkbox2',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
checkbox3: {
|
|
28
|
-
key: 'strategy-checkbox3',
|
|
29
|
-
name: 'checkbox3',
|
|
30
|
-
content: {
|
|
31
|
-
statePath: ['strategy', 'items', 'checkbox3'],
|
|
32
|
-
text: 'checkbox3',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
checkbox4: {
|
|
36
|
-
key: 'strategy-checkbox4',
|
|
37
|
-
name: 'checkbox4',
|
|
38
|
-
content: {
|
|
39
|
-
statePath: ['strategy', 'items', 'checkbox4'],
|
|
40
|
-
text: 'checkbox4',
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
checkbox5: {
|
|
44
|
-
key: 'strategy-checkbox5',
|
|
45
|
-
name: 'checkbox5',
|
|
46
|
-
content: {
|
|
47
|
-
statePath: ['strategy', 'items', 'checkbox5'],
|
|
48
|
-
text: 'checkbox5',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
status: {
|
|
54
|
-
id: 'status',
|
|
55
|
-
title: 'Status',
|
|
56
|
-
isOpened: false,
|
|
57
|
-
ariaControls: 'status-panel',
|
|
58
|
-
selectedItems: ['running'],
|
|
59
|
-
items: {
|
|
60
|
-
running: {
|
|
61
|
-
key: 'status-checkbox-running',
|
|
62
|
-
name: 'running',
|
|
63
|
-
content: {
|
|
64
|
-
statePath: ['status', 'items', 'running'],
|
|
65
|
-
text: 'Running',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
stopped: {
|
|
69
|
-
key: 'status-checkbox-stopped',
|
|
70
|
-
name: 'stopped',
|
|
71
|
-
content: {
|
|
72
|
-
statePath: ['status', 'items', 'stopped'],
|
|
73
|
-
text: 'Stopped',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
pairs: {
|
|
79
|
-
id: 'pairs',
|
|
80
|
-
title: 'Pairs',
|
|
81
|
-
isOpened: false,
|
|
82
|
-
ariaControls: 'pairs-panel',
|
|
83
|
-
selectedItems: ['btcfdusd'],
|
|
84
|
-
items: {
|
|
85
|
-
btcfdusd: {
|
|
86
|
-
key: 'btcfdusd',
|
|
87
|
-
name: 'btcfdusd',
|
|
88
|
-
isDisabled: true,
|
|
89
|
-
content: {
|
|
90
|
-
statePath: ['pairs', 'items', 'btcfdusd'],
|
|
91
|
-
text: 'BTC-FDUSD',
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
exchange: {
|
|
97
|
-
id: 'exchange',
|
|
98
|
-
title: 'Exchange',
|
|
99
|
-
isOpened: false,
|
|
100
|
-
ariaControls: 'exchange-panel',
|
|
101
|
-
selectedItems: ['binance'],
|
|
102
|
-
items: {
|
|
103
|
-
binance: {
|
|
104
|
-
key: 'binance',
|
|
105
|
-
name: 'binance',
|
|
106
|
-
isDisabled: true,
|
|
107
|
-
content: {
|
|
108
|
-
statePath: ['exchange', 'items', 'binance'],
|
|
109
|
-
text: 'Binance',
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Theme, css } from '@emotion/react';
|
|
2
|
-
|
|
3
|
-
export const tableFilterPopoverContentStyles = (theme: Theme) => css`
|
|
4
|
-
border: 1px solid ${theme.colors.greyDropdownMain};
|
|
5
|
-
border-radius: 20px;
|
|
6
|
-
padding: 20px 20px 14px 18px;
|
|
7
|
-
width: 340px;
|
|
8
|
-
background: ${theme.colors.white};
|
|
9
|
-
`;
|
|
10
|
-
|
|
11
|
-
export const tableFilterDividerStyles = (theme: Theme) => css`
|
|
12
|
-
border: 1px solid ${theme.colors.greyDropdownMain};
|
|
13
|
-
width: calc(100% + 38px);
|
|
14
|
-
margin: 22px auto 14px -19px;
|
|
15
|
-
`;
|
|
16
|
-
|
|
17
|
-
export const baseButtonStyle = css`
|
|
18
|
-
padding: 0 14px;
|
|
19
|
-
height: 38px;
|
|
20
|
-
border-radius: 5px;
|
|
21
|
-
font-size: 14px;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
&:hover {
|
|
24
|
-
box-shadow: none;
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type CheckboxData = Record<string, string[]>;
|
|
2
|
-
export type NotChangedData = Record<string, Record<string, boolean>>;
|
|
3
|
-
|
|
4
|
-
export interface SingleItem {
|
|
5
|
-
key: string;
|
|
6
|
-
name: string;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
content: {
|
|
9
|
-
statePath: string[];
|
|
10
|
-
text: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface AccordionInfo {
|
|
15
|
-
id: string;
|
|
16
|
-
title: string;
|
|
17
|
-
isOpened: boolean;
|
|
18
|
-
ariaControls: string;
|
|
19
|
-
isDisabled?: boolean;
|
|
20
|
-
items: Record<string, SingleItem>;
|
|
21
|
-
selectedItems: string[];
|
|
22
|
-
selectedItemsDraft?: string[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export type TableFilterConfig = Record<string, AccordionInfo>;
|
|
26
|
-
|
|
27
|
-
export interface TableFiltersView {
|
|
28
|
-
onReset?: () => void;
|
|
29
|
-
onClear?: () => void;
|
|
30
|
-
onSubmit?: () => void;
|
|
31
|
-
onCheckboxToggle?: (groupName: string, name: string) => void;
|
|
32
|
-
handleMoreButtonVisibleChange?: (isVisible: boolean) => void;
|
|
33
|
-
checkboxData?: TableFilterConfig;
|
|
34
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { assocPath, pathOr } from '@ssa-ui-kit/utils';
|
|
2
|
-
import { TableFilterConfig } from '../types';
|
|
3
|
-
|
|
4
|
-
export const getSubmitData = (checkboxData: TableFilterConfig) => {
|
|
5
|
-
let submitCheckboxData: TableFilterConfig = JSON.parse(
|
|
6
|
-
JSON.stringify(checkboxData),
|
|
7
|
-
);
|
|
8
|
-
const dataForSubmit: Record<string, string[]> = {};
|
|
9
|
-
Object.keys(submitCheckboxData).forEach((groupName) => {
|
|
10
|
-
submitCheckboxData = assocPath<TableFilterConfig>(
|
|
11
|
-
[groupName, 'selectedItems'],
|
|
12
|
-
submitCheckboxData[groupName]['selectedItemsDraft'],
|
|
13
|
-
)(submitCheckboxData);
|
|
14
|
-
dataForSubmit[groupName] = submitCheckboxData[groupName][
|
|
15
|
-
'selectedItemsDraft'
|
|
16
|
-
] as string[];
|
|
17
|
-
});
|
|
18
|
-
return {
|
|
19
|
-
submitCheckboxData,
|
|
20
|
-
dataForSubmit,
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export const getResetData = (checkboxData: TableFilterConfig) => {
|
|
25
|
-
let newData: TableFilterConfig = JSON.parse(JSON.stringify(checkboxData));
|
|
26
|
-
Object.keys(newData).forEach((groupName) => {
|
|
27
|
-
newData = assocPath<TableFilterConfig>(
|
|
28
|
-
[groupName, 'selectedItemsDraft'],
|
|
29
|
-
newData[groupName]['selectedItems'],
|
|
30
|
-
)(newData);
|
|
31
|
-
});
|
|
32
|
-
return newData;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export const getClearData = (checkboxData: TableFilterConfig) => {
|
|
36
|
-
let newData: TableFilterConfig = JSON.parse(JSON.stringify(checkboxData));
|
|
37
|
-
Object.keys(checkboxData).forEach((groupName) => {
|
|
38
|
-
const notChangedData: string[] = [];
|
|
39
|
-
const selectedItems = checkboxData[groupName].selectedItems;
|
|
40
|
-
const currentItems = checkboxData[groupName].items;
|
|
41
|
-
Object.keys(checkboxData[groupName].items).forEach((itemKey) => {
|
|
42
|
-
const itemInfo = currentItems[itemKey];
|
|
43
|
-
if (itemInfo.isDisabled && selectedItems.includes(itemInfo.name)) {
|
|
44
|
-
notChangedData.push(itemInfo.name);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
newData = assocPath<TableFilterConfig>(
|
|
48
|
-
[groupName, 'selectedItemsDraft'],
|
|
49
|
-
notChangedData,
|
|
50
|
-
)(newData);
|
|
51
|
-
});
|
|
52
|
-
return newData;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export const getCheckboxChangedItems = (
|
|
56
|
-
checkboxData: TableFilterConfig,
|
|
57
|
-
groupName: string,
|
|
58
|
-
name: string | number,
|
|
59
|
-
) => {
|
|
60
|
-
const draftPath = [groupName, 'selectedItemsDraft'];
|
|
61
|
-
const selectedItemsDraft = pathOr<TableFilterConfig, string[]>(
|
|
62
|
-
[],
|
|
63
|
-
draftPath,
|
|
64
|
-
)(checkboxData);
|
|
65
|
-
const newSelectedItems = selectedItemsDraft.includes(`${name}`)
|
|
66
|
-
? selectedItemsDraft.filter((currentItemName) => currentItemName !== name)
|
|
67
|
-
: [...selectedItemsDraft, name];
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
items: newSelectedItems,
|
|
71
|
-
path: draftPath,
|
|
72
|
-
};
|
|
73
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { test, Page } from '@playwright/test';
|
|
2
|
-
import { SCREEN_SIZES } from '../../consts';
|
|
3
|
-
|
|
4
|
-
const CUSTOM_SHOTS_PATH = './custom-shots/';
|
|
5
|
-
|
|
6
|
-
const gotoPage = (page: Page) => {
|
|
7
|
-
return page.goto(
|
|
8
|
-
'http://localhost:6007/iframe.html?args=&id=widgets-userprofile--default&viewMode=story',
|
|
9
|
-
);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
test('Widgets: UserProfile is opened', async ({ page }) => {
|
|
13
|
-
await gotoPage(page);
|
|
14
|
-
await page.setViewportSize(SCREEN_SIZES[1920]);
|
|
15
|
-
await page.getByTestId('trigger-button').click();
|
|
16
|
-
|
|
17
|
-
const SCREENSHOT_PREFIX = `${CUSTOM_SHOTS_PATH}widgets-user-profile--is-opened__`;
|
|
18
|
-
await page.screenshot({
|
|
19
|
-
path: `${SCREENSHOT_PREFIX}[w1920px].png`,
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import userEvent from '@testing-library/user-event';
|
|
2
|
-
import { UserProfile } from './UserProfile';
|
|
3
|
-
|
|
4
|
-
describe('UserProfile', () => {
|
|
5
|
-
it('Renders with a user name and email values via mouse click', async () => {
|
|
6
|
-
const user = userEvent.setup();
|
|
7
|
-
const { getByText, getByTestId } = render(
|
|
8
|
-
<UserProfile
|
|
9
|
-
name="Josh Li"
|
|
10
|
-
email="Josh@gmail.com"
|
|
11
|
-
trigger="Trigger"
|
|
12
|
-
onClick={jest.fn()}
|
|
13
|
-
/>,
|
|
14
|
-
);
|
|
15
|
-
await user.click(getByTestId('trigger-button'));
|
|
16
|
-
|
|
17
|
-
getByText(/Josh Li/i);
|
|
18
|
-
getByText(/Josh@gmail.com/i);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it('Renders with a user name and email values via mouse hover', async () => {
|
|
22
|
-
const user = userEvent.setup();
|
|
23
|
-
const { getByText, getByTestId } = render(
|
|
24
|
-
<UserProfile
|
|
25
|
-
name="Josh Li"
|
|
26
|
-
email="Josh@gmail.com"
|
|
27
|
-
trigger="Trigger"
|
|
28
|
-
onClick={jest.fn()}
|
|
29
|
-
/>,
|
|
30
|
-
);
|
|
31
|
-
await user.hover(getByTestId('trigger-button'));
|
|
32
|
-
|
|
33
|
-
getByText(/Josh Li/i);
|
|
34
|
-
getByText(/Josh@gmail.com/i);
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
it('Renders with a Log out button', async () => {
|
|
38
|
-
const user = userEvent.setup();
|
|
39
|
-
const { getByRole, getByTestId } = render(
|
|
40
|
-
<UserProfile
|
|
41
|
-
name="Josh Li"
|
|
42
|
-
email="Josh@gmail.com"
|
|
43
|
-
trigger="Trigger"
|
|
44
|
-
onClick={jest.fn()}
|
|
45
|
-
/>,
|
|
46
|
-
);
|
|
47
|
-
await user.click(getByTestId('trigger-button'));
|
|
48
|
-
|
|
49
|
-
getByRole('button', { name: new RegExp('Log Out', 'i') });
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
it('Renders with click prop', async () => {
|
|
53
|
-
const user = userEvent.setup();
|
|
54
|
-
const mockOnClick = jest.fn();
|
|
55
|
-
const { getByRole, getByTestId } = render(
|
|
56
|
-
<UserProfile
|
|
57
|
-
name="Josh Li"
|
|
58
|
-
email="Josh@gmail.com"
|
|
59
|
-
trigger="Trigger"
|
|
60
|
-
onClick={mockOnClick}
|
|
61
|
-
/>,
|
|
62
|
-
);
|
|
63
|
-
await user.click(getByTestId('trigger-button'));
|
|
64
|
-
|
|
65
|
-
const buttonEl = getByRole('button', { name: new RegExp('Log Out', 'i') });
|
|
66
|
-
|
|
67
|
-
await user.click(buttonEl);
|
|
68
|
-
|
|
69
|
-
expect(mockOnClick).toBeCalledTimes(1);
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
it('renders with custom text', async () => {
|
|
73
|
-
const user = userEvent.setup();
|
|
74
|
-
const { getByRole, queryByRole, getByTestId } = render(
|
|
75
|
-
<UserProfile
|
|
76
|
-
name="Josh Li"
|
|
77
|
-
email="Josh@gmail.com"
|
|
78
|
-
trigger="Trigger"
|
|
79
|
-
logOutText="Leave"
|
|
80
|
-
onClick={jest.fn()}
|
|
81
|
-
/>,
|
|
82
|
-
);
|
|
83
|
-
|
|
84
|
-
await user.click(getByTestId('trigger-button'));
|
|
85
|
-
|
|
86
|
-
getByRole('button', { name: 'Log out Leave' });
|
|
87
|
-
expect(queryByRole('button', { name: 'Log Out' })).not.toBeInTheDocument();
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
it('renders with custom styles', async () => {
|
|
91
|
-
const user = userEvent.setup();
|
|
92
|
-
const { getByRole, getByTestId } = render(
|
|
93
|
-
<UserProfile
|
|
94
|
-
name="Josh Li"
|
|
95
|
-
email="Josh@gmail.com"
|
|
96
|
-
trigger="Trigger"
|
|
97
|
-
onClick={jest.fn()}
|
|
98
|
-
css={{ backgroundColor: 'pink' }}
|
|
99
|
-
/>,
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
await user.click(getByTestId('trigger-button'));
|
|
103
|
-
|
|
104
|
-
const dialogEl = getByRole('dialog');
|
|
105
|
-
expect(dialogEl).toHaveStyle(`background-color: pink`);
|
|
106
|
-
});
|
|
107
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Avatar } from '@ssa-ui-kit/core';
|
|
3
|
-
import { UserProfile } from './UserProfile';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Widgets/UserProfile',
|
|
7
|
-
component: UserProfile,
|
|
8
|
-
} as Meta<typeof UserProfile>;
|
|
9
|
-
|
|
10
|
-
export const Default: StoryObj<typeof UserProfile> = () => {
|
|
11
|
-
return (
|
|
12
|
-
<UserProfile
|
|
13
|
-
name="Josh Li"
|
|
14
|
-
email="Josh@gmail.com"
|
|
15
|
-
trigger={<Avatar size={42} image="https://via.placeholder.com/42x42" />}
|
|
16
|
-
onClick={() => alert('Clicked!')}
|
|
17
|
-
/>
|
|
18
|
-
);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
Default.args = {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { useTheme } from '@emotion/react';
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
Icon,
|
|
5
|
-
Popover,
|
|
6
|
-
PopoverContent,
|
|
7
|
-
PopoverDescription,
|
|
8
|
-
PopoverHeading,
|
|
9
|
-
PopoverTrigger,
|
|
10
|
-
} from '@ssa-ui-kit/core';
|
|
11
|
-
import { UserProfileProps } from './types';
|
|
12
|
-
import {
|
|
13
|
-
UserInfo,
|
|
14
|
-
ContentWrapper,
|
|
15
|
-
LogoutWrapper,
|
|
16
|
-
ResetBtnStyles,
|
|
17
|
-
CustomButton,
|
|
18
|
-
} from './styles';
|
|
19
|
-
|
|
20
|
-
export const UserProfile = ({
|
|
21
|
-
name,
|
|
22
|
-
email,
|
|
23
|
-
trigger,
|
|
24
|
-
onClick,
|
|
25
|
-
logOutText = 'Log Out',
|
|
26
|
-
className,
|
|
27
|
-
}: UserProfileProps) => {
|
|
28
|
-
const theme = useTheme();
|
|
29
|
-
return (
|
|
30
|
-
<Popover placement="bottom-end" interactionsEnabled="both">
|
|
31
|
-
<PopoverTrigger css={ResetBtnStyles}>{trigger}</PopoverTrigger>
|
|
32
|
-
<PopoverContent css={ContentWrapper} className={className}>
|
|
33
|
-
<div css={UserInfo}>
|
|
34
|
-
<PopoverHeading variant="h5" weight="bold">
|
|
35
|
-
{name}
|
|
36
|
-
</PopoverHeading>
|
|
37
|
-
<PopoverDescription
|
|
38
|
-
css={{ fontSize: 14, marginTop: 6 }}
|
|
39
|
-
weight="regular"
|
|
40
|
-
color={theme.colors.greyDropdownFocused}>
|
|
41
|
-
{email}
|
|
42
|
-
</PopoverDescription>
|
|
43
|
-
</div>
|
|
44
|
-
<div css={LogoutWrapper}>
|
|
45
|
-
<Button variant="info" css={CustomButton} onClick={onClick}>
|
|
46
|
-
<Icon name="log-out" size={15} color={theme.colors.white} />
|
|
47
|
-
{logOutText}
|
|
48
|
-
</Button>
|
|
49
|
-
</div>
|
|
50
|
-
</PopoverContent>
|
|
51
|
-
</Popover>
|
|
52
|
-
);
|
|
53
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Theme, css } from '@emotion/react';
|
|
2
|
-
|
|
3
|
-
export const ResetBtnStyles = css`
|
|
4
|
-
padding: 0;
|
|
5
|
-
height: auto;
|
|
6
|
-
background: none;
|
|
7
|
-
|
|
8
|
-
&:focus,
|
|
9
|
-
&:hover {
|
|
10
|
-
border: none;
|
|
11
|
-
background: none;
|
|
12
|
-
box-shadow: none;
|
|
13
|
-
|
|
14
|
-
&::before {
|
|
15
|
-
border: none;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
`;
|
|
19
|
-
|
|
20
|
-
export const ContentWrapper = (theme: Theme) => css`
|
|
21
|
-
width: 224px;
|
|
22
|
-
background: ${theme.colors.greyPopoverLight};
|
|
23
|
-
border-radius: 20px;
|
|
24
|
-
box-shadow: 0px 4px 15px 0px ${theme.colors.black25};
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
export const UserInfo = css`
|
|
28
|
-
gap: 2px;
|
|
29
|
-
width: 100%;
|
|
30
|
-
padding: 10px;
|
|
31
|
-
`;
|
|
32
|
-
|
|
33
|
-
export const LogoutWrapper = (theme: Theme) => css`
|
|
34
|
-
width: 100%;
|
|
35
|
-
padding: 10px 10px 18px 10px;
|
|
36
|
-
border-top: 0.4px solid ${theme.colors.greyGraphite70};
|
|
37
|
-
`;
|
|
38
|
-
|
|
39
|
-
export const CustomButton = css`
|
|
40
|
-
justify-content: center;
|
|
41
|
-
gap: 8px;
|
|
42
|
-
width: 100%;
|
|
43
|
-
padding: 8px;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
line-height: 19px;
|
|
46
|
-
font-weight: 500;
|
|
47
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_ssa_ui_kit_widgets=self.webpackChunk_ssa_ui_kit_widgets||[]).push([[106],{"../../node_modules/.pnpm/@emotion+styled@11.11.0_@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:function(){return createStyled}});var esm_extends=__webpack_require__("../../node_modules/.pnpm/@babel+runtime@7.22.6/node_modules/@babel/runtime/helpers/esm/extends.js"),react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),emotion_memoize_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"),reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=(0,emotion_memoize_esm.Z)((function(prop){return reactPropsRegex.test(prop)||111===prop.charCodeAt(0)&&110===prop.charCodeAt(1)&&prop.charCodeAt(2)<91})),emotion_element_c39617d8_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+react@11.11.1_@types+react@18.2.8_react@18.2.0/node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js"),emotion_utils_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"),emotion_serialize_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"),emotion_use_insertion_effect_with_fallbacks_browser_esm=__webpack_require__("../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.0.1_react@18.2.0/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js"),testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function testOmitPropsOnComponent(key){return"theme"!==key},getDefaultShouldForwardProp=function getDefaultShouldForwardProp(tag){return"string"==typeof tag&&tag.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function composeShouldForwardProps(tag,options,isReal){var shouldForwardProp;if(options){var optionsShouldForwardProp=options.shouldForwardProp;shouldForwardProp=tag.__emotion_forwardProp&&optionsShouldForwardProp?function(propName){return tag.__emotion_forwardProp(propName)&&optionsShouldForwardProp(propName)}:optionsShouldForwardProp}return"function"!=typeof shouldForwardProp&&isReal&&(shouldForwardProp=tag.__emotion_forwardProp),shouldForwardProp},Insertion=function Insertion(_ref){var cache=_ref.cache,serialized=_ref.serialized,isStringTag=_ref.isStringTag;return(0,emotion_utils_browser_esm.hC)(cache,serialized,isStringTag),(0,emotion_use_insertion_effect_with_fallbacks_browser_esm.L)((function(){return(0,emotion_utils_browser_esm.My)(cache,serialized,isStringTag)})),null},createStyled=function createStyled(tag,options){var identifierName,targetClassName,isReal=tag.__emotion_real===tag,baseTag=isReal&&tag.__emotion_base||tag;void 0!==options&&(identifierName=options.label,targetClassName=options.target);var shouldForwardProp=composeShouldForwardProps(tag,options,isReal),defaultShouldForwardProp=shouldForwardProp||getDefaultShouldForwardProp(baseTag),shouldUseAs=!defaultShouldForwardProp("as");return function(){var args=arguments,styles=isReal&&void 0!==tag.__emotion_styles?tag.__emotion_styles.slice(0):[];if(void 0!==identifierName&&styles.push("label:"+identifierName+";"),null==args[0]||void 0===args[0].raw)styles.push.apply(styles,args);else{0,styles.push(args[0][0]);for(var len=args.length,i=1;i<len;i++)styles.push(args[i],args[0][i])}var Styled=(0,emotion_element_c39617d8_browser_esm.w)((function(props,cache,ref){var FinalTag=shouldUseAs&&props.as||baseTag,className="",classInterpolations=[],mergedProps=props;if(null==props.theme){for(var key in mergedProps={},props)mergedProps[key]=props[key];mergedProps.theme=react.useContext(emotion_element_c39617d8_browser_esm.T)}"string"==typeof props.className?className=(0,emotion_utils_browser_esm.fp)(cache.registered,classInterpolations,props.className):null!=props.className&&(className=props.className+" ");var serialized=(0,emotion_serialize_browser_esm.O)(styles.concat(classInterpolations),cache.registered,mergedProps);className+=cache.key+"-"+serialized.name,void 0!==targetClassName&&(className+=" "+targetClassName);var finalShouldForwardProp=shouldUseAs&&void 0===shouldForwardProp?getDefaultShouldForwardProp(FinalTag):defaultShouldForwardProp,newProps={};for(var _key in props)shouldUseAs&&"as"===_key||finalShouldForwardProp(_key)&&(newProps[_key]=props[_key]);return newProps.className=className,newProps.ref=ref,react.createElement(react.Fragment,null,react.createElement(Insertion,{cache:cache,serialized:serialized,isStringTag:"string"==typeof FinalTag}),react.createElement(FinalTag,newProps))}));return Styled.displayName=void 0!==identifierName?identifierName:"Styled("+("string"==typeof baseTag?baseTag:baseTag.displayName||baseTag.name||"Component")+")",Styled.defaultProps=tag.defaultProps,Styled.__emotion_real=Styled,Styled.__emotion_base=baseTag,Styled.__emotion_styles=styles,Styled.__emotion_forwardProp=shouldForwardProp,Object.defineProperty(Styled,"toString",{value:function value(){return"."+targetClassName}}),Styled.withComponent=function(nextTag,nextOptions){return createStyled(nextTag,(0,esm_extends.Z)({},options,nextOptions,{shouldForwardProp:composeShouldForwardProps(Styled,nextOptions,!0)})).apply(void 0,styles)},Styled}}},"../../node_modules/.pnpm/@nivo+pie@0.83.0_prop-types@15.8.1_react-dom@18.2.0_react@18.2.0/node_modules/@nivo/pie/dist/nivo-pie.es.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Y2:function(){return nivo_pie_es_$}});var react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),nivo_core_es=__webpack_require__("../../node_modules/.pnpm/@nivo+core@0.83.0_prop-types@15.8.1_react-dom@18.2.0_react@18.2.0/node_modules/@nivo/core/dist/nivo-core.es.js"),react_spring_web_modern=__webpack_require__("../../node_modules/.pnpm/@react-spring+web@9.7.3_react-dom@18.2.0_react@18.2.0/node_modules/@react-spring/web/dist/react-spring_web.modern.mjs"),jsx_runtime=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js"),nivo_colors_es=__webpack_require__("../../node_modules/.pnpm/@nivo+colors@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/@nivo/colors/dist/nivo-colors.es.js"),line=__webpack_require__("../../node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/line.js"),path=__webpack_require__("../../node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.js"),constant=__webpack_require__("../../node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.js"),math=__webpack_require__("../../node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/math.js");function arcInnerRadius(d){return d.innerRadius}function arcOuterRadius(d){return d.outerRadius}function arcStartAngle(d){return d.startAngle}function arcEndAngle(d){return d.endAngle}function arcPadAngle(d){return d&&d.padAngle}function cornerTangents(x0,y0,x1,y1,r1,rc,cw){var x01=x0-x1,y01=y0-y1,lo=(cw?rc:-rc)/(0,math._b)(x01*x01+y01*y01),ox=lo*y01,oy=-lo*x01,x11=x0+ox,y11=y0+oy,x10=x1+ox,y10=y1+oy,x00=(x11+x10)/2,y00=(y11+y10)/2,dx=x10-x11,dy=y10-y11,d2=dx*dx+dy*dy,r=r1-rc,D=x11*y10-x10*y11,d=(dy<0?-1:1)*(0,math._b)((0,math.Fp)(0,r*r*d2-D*D)),cx0=(D*dy-dx*d)/d2,cy0=(-D*dx-dy*d)/d2,cx1=(D*dy+dx*d)/d2,cy1=(-D*dx+dy*d)/d2,dx0=cx0-x00,dy0=cy0-y00,dx1=cx1-x00,dy1=cy1-y00;return dx0*dx0+dy0*dy0>dx1*dx1+dy1*dy1&&(cx0=cx1,cy0=cy1),{cx:cx0,cy:cy0,x01:-ox,y01:-oy,x11:cx0*(r1/r-1),y11:cy0*(r1/r-1)}}function arc(){var innerRadius=arcInnerRadius,outerRadius=arcOuterRadius,cornerRadius=(0,constant.Z)(0),padRadius=null,startAngle=arcStartAngle,endAngle=arcEndAngle,padAngle=arcPadAngle,context=null;function arc(){var buffer,r,r0=+innerRadius.apply(this,arguments),r1=+outerRadius.apply(this,arguments),a0=startAngle.apply(this,arguments)-math.ou,a1=endAngle.apply(this,arguments)-math.ou,da=(0,math.Wn)(a1-a0),cw=a1>a0;if(context||(context=buffer=(0,path.Z)()),r1<r0&&(r=r1,r1=r0,r0=r),r1>math.Ho)if(da>math.BZ-math.Ho)context.moveTo(r1*(0,math.mC)(a0),r1*(0,math.O$)(a0)),context.arc(0,0,r1,a0,a1,!cw),r0>math.Ho&&(context.moveTo(r0*(0,math.mC)(a1),r0*(0,math.O$)(a1)),context.arc(0,0,r0,a1,a0,cw));else{var t0,t1,a01=a0,a11=a1,a00=a0,a10=a1,da0=da,da1=da,ap=padAngle.apply(this,arguments)/2,rp=ap>math.Ho&&(padRadius?+padRadius.apply(this,arguments):(0,math._b)(r0*r0+r1*r1)),rc=(0,math.VV)((0,math.Wn)(r1-r0)/2,+cornerRadius.apply(this,arguments)),rc0=rc,rc1=rc;if(rp>math.Ho){var p0=(0,math.ZR)(rp/r0*(0,math.O$)(ap)),p1=(0,math.ZR)(rp/r1*(0,math.O$)(ap));(da0-=2*p0)>math.Ho?(a00+=p0*=cw?1:-1,a10-=p0):(da0=0,a00=a10=(a0+a1)/2),(da1-=2*p1)>math.Ho?(a01+=p1*=cw?1:-1,a11-=p1):(da1=0,a01=a11=(a0+a1)/2)}var x01=r1*(0,math.mC)(a01),y01=r1*(0,math.O$)(a01),x10=r0*(0,math.mC)(a10),y10=r0*(0,math.O$)(a10);if(rc>math.Ho){var oc,x11=r1*(0,math.mC)(a11),y11=r1*(0,math.O$)(a11),x00=r0*(0,math.mC)(a00),y00=r0*(0,math.O$)(a00);if(da<math.pi&&(oc=function intersect(x0,y0,x1,y1,x2,y2,x3,y3){var x10=x1-x0,y10=y1-y0,x32=x3-x2,y32=y3-y2,t=y32*x10-x32*y10;if(!(t*t<math.Ho))return[x0+(t=(x32*(y0-y2)-y32*(x0-x2))/t)*x10,y0+t*y10]}(x01,y01,x00,y00,x11,y11,x10,y10))){var ax=x01-oc[0],ay=y01-oc[1],bx=x11-oc[0],by=y11-oc[1],kc=1/(0,math.O$)((0,math.Kh)((ax*bx+ay*by)/((0,math._b)(ax*ax+ay*ay)*(0,math._b)(bx*bx+by*by)))/2),lc=(0,math._b)(oc[0]*oc[0]+oc[1]*oc[1]);rc0=(0,math.VV)(rc,(r0-lc)/(kc-1)),rc1=(0,math.VV)(rc,(r1-lc)/(kc+1))}}da1>math.Ho?rc1>math.Ho?(t0=cornerTangents(x00,y00,x01,y01,r1,rc1,cw),t1=cornerTangents(x11,y11,x10,y10,r1,rc1,cw),context.moveTo(t0.cx+t0.x01,t0.cy+t0.y01),rc1<rc?context.arc(t0.cx,t0.cy,rc1,(0,math.fv)(t0.y01,t0.x01),(0,math.fv)(t1.y01,t1.x01),!cw):(context.arc(t0.cx,t0.cy,rc1,(0,math.fv)(t0.y01,t0.x01),(0,math.fv)(t0.y11,t0.x11),!cw),context.arc(0,0,r1,(0,math.fv)(t0.cy+t0.y11,t0.cx+t0.x11),(0,math.fv)(t1.cy+t1.y11,t1.cx+t1.x11),!cw),context.arc(t1.cx,t1.cy,rc1,(0,math.fv)(t1.y11,t1.x11),(0,math.fv)(t1.y01,t1.x01),!cw))):(context.moveTo(x01,y01),context.arc(0,0,r1,a01,a11,!cw)):context.moveTo(x01,y01),r0>math.Ho&&da0>math.Ho?rc0>math.Ho?(t0=cornerTangents(x10,y10,x11,y11,r0,-rc0,cw),t1=cornerTangents(x01,y01,x00,y00,r0,-rc0,cw),context.lineTo(t0.cx+t0.x01,t0.cy+t0.y01),rc0<rc?context.arc(t0.cx,t0.cy,rc0,(0,math.fv)(t0.y01,t0.x01),(0,math.fv)(t1.y01,t1.x01),!cw):(context.arc(t0.cx,t0.cy,rc0,(0,math.fv)(t0.y01,t0.x01),(0,math.fv)(t0.y11,t0.x11),!cw),context.arc(0,0,r0,(0,math.fv)(t0.cy+t0.y11,t0.cx+t0.x11),(0,math.fv)(t1.cy+t1.y11,t1.cx+t1.x11),cw),context.arc(t1.cx,t1.cy,rc0,(0,math.fv)(t1.y11,t1.x11),(0,math.fv)(t1.y01,t1.x01),!cw))):context.arc(0,0,r0,a10,a00,cw):context.lineTo(x10,y10)}else context.moveTo(0,0);if(context.closePath(),buffer)return context=null,buffer+""||null}return arc.centroid=function(){var r=(+innerRadius.apply(this,arguments)+ +outerRadius.apply(this,arguments))/2,a=(+startAngle.apply(this,arguments)+ +endAngle.apply(this,arguments))/2-math.pi/2;return[(0,math.mC)(a)*r,(0,math.O$)(a)*r]},arc.innerRadius=function(_){return arguments.length?(innerRadius="function"==typeof _?_:(0,constant.Z)(+_),arc):innerRadius},arc.outerRadius=function(_){return arguments.length?(outerRadius="function"==typeof _?_:(0,constant.Z)(+_),arc):outerRadius},arc.cornerRadius=function(_){return arguments.length?(cornerRadius="function"==typeof _?_:(0,constant.Z)(+_),arc):cornerRadius},arc.padRadius=function(_){return arguments.length?(padRadius=null==_?null:"function"==typeof _?_:(0,constant.Z)(+_),arc):padRadius},arc.startAngle=function(_){return arguments.length?(startAngle="function"==typeof _?_:(0,constant.Z)(+_),arc):startAngle},arc.endAngle=function(_){return arguments.length?(endAngle="function"==typeof _?_:(0,constant.Z)(+_),arc):endAngle},arc.padAngle=function(_){return arguments.length?(padAngle="function"==typeof _?_:(0,constant.Z)(+_),arc):padAngle},arc.context=function(_){return arguments.length?(context=null==_?null:_,arc):context},arc}function nivo_arcs_es_M(){return nivo_arcs_es_M=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},nivo_arcs_es_M.apply(this,arguments)}var k={pointerEvents:"none"},nivo_arcs_es_b=function(n){var e=n.label,r=n.style,a=(0,nivo_core_es.Fg)();return(0,jsx_runtime.jsx)(react_spring_web_modern.q.g,{transform:r.transform,opacity:r.progress,style:k,children:(0,jsx_runtime.jsx)(react_spring_web_modern.q.text,{textAnchor:"middle",dominantBaseline:"central",style:nivo_arcs_es_M({},a.labels.text,{fill:r.textColor}),children:e})})},nivo_arcs_es_C=function(t){var n=t%(2*Math.PI);return n<0&&(n+=2*Math.PI),n},nivo_arcs_es_L=function(t,n){return t.filter((function(t){return Math.abs((0,nivo_core_es.vi)(t.arc.endAngle-t.arc.startAngle))>=n}))},nivo_arcs_es_E={startAngle:{enter:function(t){return nivo_arcs_es_M({},t,{endAngle:t.startAngle})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{startAngle:t.endAngle})}},middleAngle:{enter:function(t){var n=t.startAngle+(t.endAngle-t.startAngle)/2;return nivo_arcs_es_M({},t,{startAngle:n,endAngle:n})},update:function(t){return t},leave:function(t){var n=t.startAngle+(t.endAngle-t.startAngle)/2;return nivo_arcs_es_M({},t,{startAngle:n,endAngle:n})}},endAngle:{enter:function(t){return nivo_arcs_es_M({},t,{startAngle:t.endAngle})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{endAngle:t.startAngle})}},innerRadius:{enter:function(t){return nivo_arcs_es_M({},t,{outerRadius:t.innerRadius})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.outerRadius})}},centerRadius:{enter:function(t){var n=t.innerRadius+(t.outerRadius-t.innerRadius)/2;return nivo_arcs_es_M({},t,{innerRadius:n,outerRadius:n})},update:function(t){return t},leave:function(t){var n=t.innerRadius+(t.outerRadius-t.innerRadius)/2;return nivo_arcs_es_M({},t,{innerRadius:n,outerRadius:n})}},outerRadius:{enter:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.outerRadius})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{outerRadius:t.innerRadius})}},pushIn:{enter:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.innerRadius-t.outerRadius+t.innerRadius,outerRadius:t.innerRadius})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.outerRadius,outerRadius:t.outerRadius+t.outerRadius-t.innerRadius})}},pushOut:{enter:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.outerRadius,outerRadius:t.outerRadius+t.outerRadius-t.innerRadius})},update:function(t){return t},leave:function(t){return nivo_arcs_es_M({},t,{innerRadius:t.innerRadius-t.outerRadius+t.innerRadius,outerRadius:t.innerRadius})}}},nivo_arcs_es_I=function(t,n){return(0,react.useMemo)((function(){var e=nivo_arcs_es_E[t];return{enter:function(t){return nivo_arcs_es_M({progress:0},e.enter(t.arc),n?n.enter(t):{})},update:function(t){return nivo_arcs_es_M({progress:1},e.update(t.arc),n?n.update(t):{})},leave:function(t){return nivo_arcs_es_M({progress:0},e.leave(t.arc),n?n.leave(t):{})}}}),[t,n])},T=function(t,n){var e=(0,nivo_core_es.Vp)(t)-Math.PI/2,r=t.innerRadius+(t.outerRadius-t.innerRadius)*n;return(0,nivo_core_es.re)(e,r)},j=function(t){return function(e,r,i,a){return(0,react_spring_web_modern.to)([e,r,i,a],(function(n,e,r,i){var a=T({startAngle:n,endAngle:e,innerRadius:r,outerRadius:i},t);return"translate("+a.x+","+a.y+")"}))}},nivo_arcs_es_B=function(t){var n=t.center,e=t.data,r=t.transitionMode,o=t.label,u=t.radiusOffset,l=t.skipAngle,s=t.textColor,f=t.component,c=void 0===f?nivo_arcs_es_b:f,g=(0,nivo_core_es.LR)(o),h=(0,nivo_core_es.Fg)(),x=(0,nivo_colors_es.Bf)(s,h),m=(0,react.useMemo)((function(){return e.filter((function(t){return Math.abs((0,nivo_core_es.vi)(t.arc.endAngle-t.arc.startAngle))>=l}))}),[e,l]),y=function(t,n,r,i){void 0===n&&(n=.5),void 0===r&&(r="innerRadius");var a=(0,nivo_core_es.tf)(),o=a.animate,u=a.config,l=nivo_arcs_es_I(r,i);return{transition:(0,react_spring_web_modern.Yz)(t,{keys:function(t){return t.id},initial:l.update,from:l.enter,enter:l.update,update:l.update,leave:l.leave,config:u,immediate:!o}),interpolate:j(n)}}(m,u,r),k=y.transition,C=y.interpolate,L=c;return(0,jsx_runtime.jsx)("g",{transform:"translate("+n[0]+","+n[1]+")",children:k((function(t,n){return(0,react.createElement)(L,{key:n.id,datum:n,label:g(n),style:nivo_arcs_es_M({},t,{transform:C(t.startAngle,t.endAngle,t.innerRadius,t.outerRadius),textColor:x(n)})})}))})},G=function(n){var e=n.label,r=n.style,a=(0,nivo_core_es.Fg)();return(0,jsx_runtime.jsxs)(react_spring_web_modern.q.g,{opacity:r.opacity,children:[(0,jsx_runtime.jsx)(react_spring_web_modern.q.path,{fill:"none",stroke:r.linkColor,strokeWidth:r.thickness,d:r.path}),(0,jsx_runtime.jsx)(react_spring_web_modern.q.text,{transform:r.textPosition,textAnchor:r.textAnchor,dominantBaseline:"central",style:nivo_arcs_es_M({},a.labels.text,{fill:r.textColor}),children:e})]})},D=function(t,n,e,r){var i,a,u=nivo_arcs_es_C(t.startAngle+(t.endAngle-t.startAngle)/2-Math.PI/2),l=(0,nivo_core_es.re)(u,t.outerRadius+n),s=(0,nivo_core_es.re)(u,t.outerRadius+n+e);return u<Math.PI/2||u>1.5*Math.PI?(i="after",a={x:s.x+r,y:s.y}):(i="before",a={x:s.x-r,y:s.y}),{side:i,points:[l,s,a]}},H=(0,line.Z)().x((function(t){return t.x})).y((function(t){return t.y})),J=function(t,e,r,i,a,o,u){return(0,react_spring_web_modern.to)([t,e,r,i,a,o,u],(function(t,n,e,r,i,a,o){var u=D({startAngle:t,endAngle:n,innerRadius:e,outerRadius:r},i,a,o).points;return H(u)}))},K=function(t,e,r,i){return(0,react_spring_web_modern.to)([t,e,r,i],(function(t,n,e,r){return function(t){var n=nivo_arcs_es_C(t.startAngle+(t.endAngle-t.startAngle)/2-Math.PI/2);return n<Math.PI/2||n>1.5*Math.PI?"start":"end"}({startAngle:t,endAngle:n,innerRadius:e,outerRadius:r})}))},N=function(t,e,r,i,a,o,u,l){return(0,react_spring_web_modern.to)([t,e,r,i,a,o,u,l],(function(t,n,e,r,i,a,o,u){var l=D({startAngle:t,endAngle:n,innerRadius:e,outerRadius:r},i,a,o),s=l.points,d=l.side,f=s[2];return"before"===d?f.x-=u:f.x+=u,"translate("+f.x+","+f.y+")"}))},nivo_arcs_es_U=function(t){var n=t.center,e=t.data,r=t.label,i=t.skipAngle,a=t.offset,o=t.diagonalLength,u=t.straightLength,l=t.strokeWidth,s=t.textOffset,f=t.textColor,c=t.linkColor,g=t.component,h=void 0===g?G:g,v=(0,nivo_core_es.LR)(r),x=function(t){var n=t.data,r=t.offset,a=void 0===r?0:r,o=t.diagonalLength,u=t.straightLength,l=t.skipAngle,d=void 0===l?0:l,f=t.textOffset,c=t.linkColor,g=t.textColor,p=(0,nivo_core_es.tf)(),h=p.animate,A=p.config,x=(0,nivo_core_es.Fg)(),m=(0,nivo_colors_es.Bf)(c,x),y=(0,nivo_colors_es.Bf)(g,x),M=function(t,n){return(0,react.useMemo)((function(){return nivo_arcs_es_L(t,n)}),[t,n])}(n,d),k=function(t){var n=t.offset,e=t.diagonalLength,r=t.straightLength,i=t.textOffset,a=t.getLinkColor,o=t.getTextColor;return(0,react.useMemo)((function(){return{enter:function(t){return{startAngle:t.arc.startAngle,endAngle:t.arc.endAngle,innerRadius:t.arc.innerRadius,outerRadius:t.arc.outerRadius,offset:n,diagonalLength:0,straightLength:0,textOffset:i,linkColor:a(t),textColor:o(t),opacity:0}},update:function(t){return{startAngle:t.arc.startAngle,endAngle:t.arc.endAngle,innerRadius:t.arc.innerRadius,outerRadius:t.arc.outerRadius,offset:n,diagonalLength:e,straightLength:r,textOffset:i,linkColor:a(t),textColor:o(t),opacity:1}},leave:function(t){return{startAngle:t.arc.startAngle,endAngle:t.arc.endAngle,innerRadius:t.arc.innerRadius,outerRadius:t.arc.outerRadius,offset:n,diagonalLength:0,straightLength:0,textOffset:i,linkColor:a(t),textColor:o(t),opacity:0}}}}),[e,r,i,a,o])}({offset:a,diagonalLength:o,straightLength:u,textOffset:f,getLinkColor:m,getTextColor:y});return{transition:(0,react_spring_web_modern.Yz)(M,{keys:function(t){return t.id},initial:k.update,from:k.enter,enter:k.update,update:k.update,leave:k.leave,config:A,immediate:!h}),interpolateLink:J,interpolateTextAnchor:K,interpolateTextPosition:N}}({data:e,skipAngle:i,offset:a,diagonalLength:o,straightLength:u,textOffset:s,linkColor:c,textColor:f}),R=x.transition,m=x.interpolateLink,y=x.interpolateTextAnchor,k=x.interpolateTextPosition,b=h;return(0,jsx_runtime.jsx)("g",{transform:"translate("+n[0]+","+n[1]+")",children:R((function(t,n){return(0,react.createElement)(b,{key:n.id,datum:n,label:v(n),style:nivo_arcs_es_M({},t,{thickness:l,path:m(t.startAngle,t.endAngle,t.innerRadius,t.outerRadius,t.offset,t.diagonalLength,t.straightLength),textAnchor:y(t.startAngle,t.endAngle,t.innerRadius,t.outerRadius),textPosition:k(t.startAngle,t.endAngle,t.innerRadius,t.outerRadius,t.offset,t.diagonalLength,t.straightLength,t.textOffset)})})}))})},tt=function(n){var e=n.datum,r=n.style,i=n.onClick,a=n.onMouseEnter,o=n.onMouseMove,u=n.onMouseLeave,l=(0,react.useCallback)((function(t){return null==i?void 0:i(e,t)}),[i,e]),s=(0,react.useCallback)((function(t){return null==a?void 0:a(e,t)}),[a,e]),d=(0,react.useCallback)((function(t){return null==o?void 0:o(e,t)}),[o,e]),f=(0,react.useCallback)((function(t){return null==u?void 0:u(e,t)}),[u,e]);return(0,jsx_runtime.jsx)(react_spring_web_modern.q.path,{d:r.path,opacity:r.opacity,fill:e.fill||r.color,stroke:r.borderColor,strokeWidth:r.borderWidth,onClick:i?l:void 0,onMouseEnter:a?s:void 0,onMouseMove:o?d:void 0,onMouseLeave:u?f:void 0})},nt=function(t,e,r,i,a){return(0,react_spring_web_modern.to)([t,e,r,i],(function(t,n,e,r){return a({startAngle:t,endAngle:n,innerRadius:Math.max(0,e),outerRadius:Math.max(0,r)})}))},rt=function(t){var n=t.center,e=t.data,r=t.arcGenerator,a=t.borderWidth,o=t.borderColor,u=t.onClick,l=t.onMouseEnter,s=t.onMouseMove,d=t.onMouseLeave,f=t.transitionMode,c=t.component,g=void 0===c?tt:c,h=(0,nivo_core_es.Fg)(),v=(0,nivo_colors_es.Bf)(o,h),x=function(t,n,r){void 0===n&&(n="innerRadius");var i=(0,nivo_core_es.tf)(),a=i.animate,o=i.config,u=nivo_arcs_es_I(n,r);return{transition:(0,react_spring_web_modern.Yz)(t,{keys:function(t){return t.id},initial:u.update,from:u.enter,enter:u.update,update:u.update,leave:u.leave,config:o,immediate:!a}),interpolate:nt}}(e,f,{enter:function(t){return{opacity:0,color:t.color,borderColor:v(t)}},update:function(t){return{opacity:1,color:t.color,borderColor:v(t)}},leave:function(t){return{opacity:0,color:t.color,borderColor:v(t)}}}),m=x.transition,y=x.interpolate,k=g;return(0,jsx_runtime.jsx)("g",{transform:"translate("+n[0]+","+n[1]+")",children:m((function(t,n){return(0,react.createElement)(k,{key:n.id,datum:n,style:nivo_arcs_es_M({},t,{borderWidth:a,path:y(t.startAngle,t.endAngle,t.innerRadius,t.outerRadius,r)}),onClick:u,onMouseEnter:l,onMouseMove:s,onMouseLeave:d})}))})},lt=function(t){var n=void 0===t?{}:t,e=n.cornerRadius,r=void 0===e?0:e,i=n.padAngle,a=void 0===i?0:i;return(0,react.useMemo)((function(){return arc().innerRadius((function(t){return t.innerRadius})).outerRadius((function(t){return t.outerRadius})).cornerRadius(r).padAngle(a)}),[r,a])},nivo_legends_es=__webpack_require__("../../node_modules/.pnpm/@nivo+legends@0.83.0_react-dom@18.2.0_react@18.2.0/node_modules/@nivo/legends/dist/nivo-legends.es.js");function descending(a,b){return b<a?-1:b>a?1:b>=a?0:NaN}function identity(d){return d}var nivo_tooltip_es=__webpack_require__("../../node_modules/.pnpm/@nivo+tooltip@0.83.0_prop-types@15.8.1_react-dom@18.2.0_react@18.2.0/node_modules/@nivo/tooltip/dist/nivo-tooltip.es.js");function nivo_pie_es_D(){return nivo_pie_es_D=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},nivo_pie_es_D.apply(this,arguments)}function nivo_pie_es_F(e,i){if(null==e)return{};var n,t,r={},a=Object.keys(e);for(t=0;t<a.length;t++)n=a[t],i.indexOf(n)>=0||(r[n]=e[n]);return r}var nivo_pie_es_H,nivo_pie_es_X=function(e){var i=e.width,n=e.height,t=e.legends,r=e.data,a=e.toggleSerie;return(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:t.map((function(e,t){var o;return(0,jsx_runtime.jsx)(nivo_legends_es.$6,nivo_pie_es_D({},e,{containerWidth:i,containerHeight:n,data:null!=(o=e.data)?o:r,toggleSerie:e.toggleSerie?a:void 0}),t)}))})},nivo_pie_es_Y={id:"id",value:"value",sortByValue:!1,innerRadius:0,padAngle:0,cornerRadius:0,layers:["arcLinkLabels","arcs","arcLabels","legends"],startAngle:0,endAngle:360,fit:!0,activeInnerRadiusOffset:0,activeOuterRadiusOffset:0,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableArcLabels:!0,arcLabel:"formattedValue",arcLabelsSkipAngle:0,arcLabelsRadiusOffset:.5,arcLabelsTextColor:{theme:"labels.text.fill"},enableArcLinkLabels:!0,arcLinkLabel:"id",arcLinkLabelsSkipAngle:0,arcLinkLabelsOffset:0,arcLinkLabelsDiagonalLength:16,arcLinkLabelsStraightLength:24,arcLinkLabelsThickness:1,arcLinkLabelsTextOffset:6,arcLinkLabelsTextColor:{theme:"labels.text.fill"},arcLinkLabelsColor:{theme:"axis.ticks.line.stroke"},colors:{scheme:"nivo"},defs:[],fill:[],isInteractive:!0,animate:!0,motionConfig:"gentle",transitionMode:"innerRadius",tooltip:function(e){var i=e.datum;return(0,jsx_runtime.jsx)(nivo_tooltip_es._5,{id:i.id,value:i.formattedValue,enableChip:!0,color:i.color})},legends:[],role:"img",pixelRatio:"undefined"!=typeof window&&null!=(nivo_pie_es_H=window.devicePixelRatio)?nivo_pie_es_H:1},nivo_pie_es_j=["points"],nivo_pie_es_P=function(i){var n=i.data,t=i.id,r=void 0===t?nivo_pie_es_Y.id:t,a=i.value,o=void 0===a?nivo_pie_es_Y.value:a,s=i.valueFormat,c=i.colors,u=void 0===c?nivo_pie_es_Y.colors:c,v=(0,nivo_core_es.LR)(r),f=(0,nivo_core_es.LR)(o),g=(0,nivo_core_es.O_)(s),L=(0,nivo_colors_es.U)(u,"id");return(0,react.useMemo)((function(){return n.map((function(e){var i,n=v(e),t=f(e),r={id:n,label:null!=(i=e.label)?i:n,hidden:!1,value:t,formattedValue:g(t),data:e};return nivo_pie_es_D({},r,{color:L(r)})}))}),[n,v,f,g,L])},nivo_pie_es_q=function(i){var n=i.data,t=i.startAngle,r=i.endAngle,a=i.innerRadius,o=i.outerRadius,d=i.padAngle,l=i.sortByValue,u=i.activeId,v=i.activeInnerRadiusOffset,f=i.activeOuterRadiusOffset,g=i.hiddenIds,L=(0,react.useMemo)((function(){var e=function pie(){var value=identity,sortValues=descending,sort=null,startAngle=(0,constant.Z)(0),endAngle=(0,constant.Z)(math.BZ),padAngle=(0,constant.Z)(0);function pie(data){var i,j,k,a1,v,n=data.length,sum=0,index=new Array(n),arcs=new Array(n),a0=+startAngle.apply(this,arguments),da=Math.min(math.BZ,Math.max(-math.BZ,endAngle.apply(this,arguments)-a0)),p=Math.min(Math.abs(da)/n,padAngle.apply(this,arguments)),pa=p*(da<0?-1:1);for(i=0;i<n;++i)(v=arcs[index[i]=i]=+value(data[i],i,data))>0&&(sum+=v);for(null!=sortValues?index.sort((function(i,j){return sortValues(arcs[i],arcs[j])})):null!=sort&&index.sort((function(i,j){return sort(data[i],data[j])})),i=0,k=sum?(da-n*pa)/sum:0;i<n;++i,a0=a1)j=index[i],a1=a0+((v=arcs[j])>0?v*k:0)+pa,arcs[j]={data:data[j],index:i,value:v,startAngle:a0,endAngle:a1,padAngle:p};return arcs}return pie.value=function(_){return arguments.length?(value="function"==typeof _?_:(0,constant.Z)(+_),pie):value},pie.sortValues=function(_){return arguments.length?(sortValues=_,sort=null,pie):sortValues},pie.sort=function(_){return arguments.length?(sort=_,sortValues=null,pie):sort},pie.startAngle=function(_){return arguments.length?(startAngle="function"==typeof _?_:(0,constant.Z)(+_),pie):startAngle},pie.endAngle=function(_){return arguments.length?(endAngle="function"==typeof _?_:(0,constant.Z)(+_),pie):endAngle},pie.padAngle=function(_){return arguments.length?(padAngle="function"==typeof _?_:(0,constant.Z)(+_),pie):padAngle},pie}().value((function(e){return e.value})).startAngle((0,nivo_core_es.Ht)(t)).endAngle((0,nivo_core_es.Ht)(r)).padAngle((0,nivo_core_es.Ht)(d));return l||e.sortValues(null),e}),[t,r,d,l]);return(0,react.useMemo)((function(){var e=n.filter((function(e){return!g.includes(e.id)}));return{dataWithArc:L(e).map((function(e){var i=Math.abs(e.endAngle-e.startAngle);return nivo_pie_es_D({},e.data,{arc:{index:e.index,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:u===e.data.id?a-v:a,outerRadius:u===e.data.id?o+f:o,thickness:o-a,padAngle:e.padAngle,angle:i,angleDeg:(0,nivo_core_es.vi)(i)}})})),legendData:n.map((function(e){return nivo_pie_es_D({},e,{hidden:g.includes(e.id)})}))}}),[L,n,g,u,a,v,o,f])},nivo_pie_es_J=function(t){var r=t.data,a=t.width,o=t.height,d=t.innerRadius,l=void 0===d?nivo_pie_es_Y.innerRadius:d,c=t.startAngle,u=void 0===c?nivo_pie_es_Y.startAngle:c,v=t.endAngle,f=void 0===v?nivo_pie_es_Y.endAngle:v,g=t.padAngle,L=void 0===g?nivo_pie_es_Y.padAngle:g,h=t.sortByValue,b=void 0===h?nivo_pie_es_Y.sortByValue:h,A=t.cornerRadius,R=void 0===A?nivo_pie_es_Y.cornerRadius:A,m=t.fit,O=void 0===m?nivo_pie_es_Y.fit:m,C=t.activeInnerRadiusOffset,I=void 0===C?nivo_pie_es_Y.activeInnerRadiusOffset:C,x=t.activeOuterRadiusOffset,M=void 0===x?nivo_pie_es_Y.activeOuterRadiusOffset:x,y=(0,react.useState)(null),w=y[0],W=y[1],S=(0,react.useState)([]),T=S[0],V=S[1],B=(0,react.useMemo)((function(){var e,i=Math.min(a,o)/2,n=i*Math.min(l,1),t=a/2,r=o/2;if(O){var d=function(t,n,e,r,i,a){void 0===a&&(a=!0);var l=[],s=(0,nivo_core_es.re)((0,nivo_core_es.Ht)(r),e);l.push([s.x,s.y]);var d=(0,nivo_core_es.re)((0,nivo_core_es.Ht)(i),e);l.push([d.x,d.y]);for(var f=Math.round(Math.min(r,i));f<=Math.round(Math.max(r,i));f++)if(f%90==0){var c=(0,nivo_core_es.re)((0,nivo_core_es.Ht)(f),e);l.push([c.x,c.y])}l=l.map((function(e){var r=e[0],i=e[1];return[t+r,n+i]})),a&&l.push([t,n]);var g=l.map((function(t){return t[0]})),p=l.map((function(t){return t[1]})),h=Math.min.apply(Math,g),v=Math.max.apply(Math,g),A=Math.min.apply(Math,p);return{points:l,x:h,y:A,width:v-h,height:Math.max.apply(Math,p)-A}}(t,r,i,u-90,f-90),s=d.points,c=nivo_pie_es_F(d,nivo_pie_es_j),v=Math.min(a/c.width,o/c.height),g={width:c.width*v,height:c.height*v};g.x=(a-g.width)/2,g.y=(o-g.height)/2,t=(t-c.x)/c.width*c.width*v+g.x,r=(r-c.y)/c.height*c.height*v+g.y,e={box:c,ratio:v,points:s},i*=v,n*=v}return{centerX:t,centerY:r,radius:i,innerRadius:n,debug:e}}),[a,o,l,u,f,O,R]),G=nivo_pie_es_q({data:r,startAngle:u,endAngle:f,innerRadius:B.innerRadius,outerRadius:B.radius,padAngle:L,sortByValue:b,activeId:w,activeInnerRadiusOffset:I,activeOuterRadiusOffset:M,hiddenIds:T}),E=(0,react.useCallback)((function(e){V((function(i){return i.indexOf(e)>-1?i.filter((function(i){return i!==e})):[].concat(i,[e])}))}),[]);return nivo_pie_es_D({arcGenerator:lt({cornerRadius:R,padAngle:(0,nivo_core_es.Ht)(L)}),setActiveId:W,toggleSerie:E},G,B)},nivo_pie_es_N=function(i){var n=i.center,r=i.data,a=i.arcGenerator,o=i.borderWidth,d=i.borderColor,l=i.isInteractive,s=i.onClick,c=i.onMouseEnter,u=i.onMouseMove,v=i.onMouseLeave,f=i.setActiveId,g=i.tooltip,L=i.transitionMode,h=(0,nivo_tooltip_es.lL)(),b=h.showTooltipFromEvent,p=h.hideTooltip,k=(0,react.useMemo)((function(){if(l)return function(e,i){null==s||s(e,i)}}),[l,s]),R=(0,react.useMemo)((function(){if(l)return function(e,i){b((0,react.createElement)(g,{datum:e}),i),f(e.id),null==c||c(e,i)}}),[l,b,f,c,g]),m=(0,react.useMemo)((function(){if(l)return function(e,i){b((0,react.createElement)(g,{datum:e}),i),null==u||u(e,i)}}),[l,b,u,g]),O=(0,react.useMemo)((function(){if(l)return function(e,i){p(),f(null),null==v||v(e,i)}}),[l,p,f,v]);return(0,jsx_runtime.jsx)(rt,{center:n,data:r,arcGenerator:a,borderWidth:o,borderColor:d,transitionMode:L,onClick:k,onMouseEnter:R,onMouseMove:m,onMouseLeave:O})},nivo_pie_es_Q=["isInteractive","animate","motionConfig","theme","renderWrapper"],U=function(e){var i=e.data,n=e.id,a=void 0===n?nivo_pie_es_Y.id:n,o=e.value,d=void 0===o?nivo_pie_es_Y.value:o,l=e.valueFormat,s=e.sortByValue,c=void 0===s?nivo_pie_es_Y.sortByValue:s,u=e.layers,L=void 0===u?nivo_pie_es_Y.layers:u,h=e.startAngle,b=void 0===h?nivo_pie_es_Y.startAngle:h,p=e.endAngle,k=void 0===p?nivo_pie_es_Y.endAngle:p,A=e.padAngle,O=void 0===A?nivo_pie_es_Y.padAngle:A,C=e.fit,I=void 0===C?nivo_pie_es_Y.fit:C,x=e.innerRadius,M=void 0===x?nivo_pie_es_Y.innerRadius:x,y=e.cornerRadius,w=void 0===y?nivo_pie_es_Y.cornerRadius:y,S=e.activeInnerRadiusOffset,T=void 0===S?nivo_pie_es_Y.activeInnerRadiusOffset:S,V=e.activeOuterRadiusOffset,B=void 0===V?nivo_pie_es_Y.activeOuterRadiusOffset:V,G=e.width,E=e.height,D=e.margin,F=e.colors,H=void 0===F?nivo_pie_es_Y.colors:F,j=e.borderWidth,q=void 0===j?nivo_pie_es_Y.borderWidth:j,z=e.borderColor,Q=void 0===z?nivo_pie_es_Y.borderColor:z,U=e.enableArcLabels,Z=void 0===U?nivo_pie_es_Y.enableArcLabels:U,$=e.arcLabel,_=void 0===$?nivo_pie_es_Y.arcLabel:$,ee=e.arcLabelsSkipAngle,ie=void 0===ee?nivo_pie_es_Y.arcLabelsSkipAngle:ee,ne=e.arcLabelsTextColor,te=void 0===ne?nivo_pie_es_Y.arcLabelsTextColor:ne,re=e.arcLabelsRadiusOffset,ae=void 0===re?nivo_pie_es_Y.arcLabelsRadiusOffset:re,oe=e.arcLabelsComponent,de=e.enableArcLinkLabels,le=void 0===de?nivo_pie_es_Y.enableArcLinkLabels:de,se=e.arcLinkLabel,ce=void 0===se?nivo_pie_es_Y.arcLinkLabel:se,ue=e.arcLinkLabelsSkipAngle,ve=void 0===ue?nivo_pie_es_Y.arcLinkLabelsSkipAngle:ue,fe=e.arcLinkLabelsOffset,ge=void 0===fe?nivo_pie_es_Y.arcLinkLabelsOffset:fe,Le=e.arcLinkLabelsDiagonalLength,he=void 0===Le?nivo_pie_es_Y.arcLinkLabelsDiagonalLength:Le,be=e.arcLinkLabelsStraightLength,pe=void 0===be?nivo_pie_es_Y.arcLinkLabelsStraightLength:be,ke=e.arcLinkLabelsThickness,Ae=void 0===ke?nivo_pie_es_Y.arcLinkLabelsThickness:ke,Re=e.arcLinkLabelsTextOffset,me=void 0===Re?nivo_pie_es_Y.arcLinkLabelsTextOffset:Re,Oe=e.arcLinkLabelsTextColor,Ce=void 0===Oe?nivo_pie_es_Y.arcLinkLabelsTextColor:Oe,Ie=e.arcLinkLabelsColor,xe=void 0===Ie?nivo_pie_es_Y.arcLinkLabelsColor:Ie,Me=e.arcLinkLabelComponent,ye=e.defs,we=void 0===ye?nivo_pie_es_Y.defs:ye,We=e.fill,Se=void 0===We?nivo_pie_es_Y.fill:We,Te=e.isInteractive,Ve=void 0===Te?nivo_pie_es_Y.isInteractive:Te,Be=e.onClick,Ge=e.onMouseEnter,Ee=e.onMouseMove,De=e.onMouseLeave,Fe=e.tooltip,He=void 0===Fe?nivo_pie_es_Y.tooltip:Fe,Xe=e.transitionMode,Ye=void 0===Xe?nivo_pie_es_Y.transitionMode:Xe,je=e.legends,Pe=void 0===je?nivo_pie_es_Y.legends:je,qe=e.role,ze=void 0===qe?nivo_pie_es_Y.role:qe,Je=(0,nivo_core_es.Bs)(G,E,D),Ke=Je.outerWidth,Ne=Je.outerHeight,Qe=Je.margin,Ue=Je.innerWidth,Ze=Je.innerHeight,$e=nivo_pie_es_P({data:i,id:a,value:d,valueFormat:l,colors:H}),_e=nivo_pie_es_J({data:$e,width:Ue,height:Ze,fit:I,innerRadius:M,startAngle:b,endAngle:k,padAngle:O,sortByValue:c,cornerRadius:w,activeInnerRadiusOffset:T,activeOuterRadiusOffset:B}),ei=_e.dataWithArc,ii=_e.legendData,ni=_e.arcGenerator,ti=_e.centerX,ri=_e.centerY,ai=_e.radius,oi=_e.innerRadius,di=_e.setActiveId,li=_e.toggleSerie,si=(0,nivo_core_es.yU)(we,ei,Se),ci={arcLinkLabels:null,arcs:null,arcLabels:null,legends:null};le&&L.includes("arcLinkLabels")&&(ci.arcLinkLabels=(0,jsx_runtime.jsx)(nivo_arcs_es_U,{center:[ti,ri],data:ei,label:ce,skipAngle:ve,offset:ge,diagonalLength:he,straightLength:pe,strokeWidth:Ae,textOffset:me,textColor:Ce,linkColor:xe,component:Me},"arcLinkLabels")),L.includes("arcs")&&(ci.arcs=(0,jsx_runtime.jsx)(nivo_pie_es_N,{center:[ti,ri],data:ei,arcGenerator:ni,borderWidth:q,borderColor:Q,isInteractive:Ve,onClick:Be,onMouseEnter:Ge,onMouseMove:Ee,onMouseLeave:De,setActiveId:di,tooltip:He,transitionMode:Ye},"arcs")),Z&&L.includes("arcLabels")&&(ci.arcLabels=(0,jsx_runtime.jsx)(nivo_arcs_es_B,{center:[ti,ri],data:ei,label:_,radiusOffset:ae,skipAngle:ie,textColor:te,transitionMode:Ye,component:oe},"arcLabels")),Pe.length>0&&L.includes("legends")&&(ci.legends=(0,jsx_runtime.jsx)(nivo_pie_es_X,{width:Ue,height:Ze,data:ii,legends:Pe,toggleSerie:li},"legends"));var ui=function(i){var n=i.dataWithArc,t=i.arcGenerator,r=i.centerX,a=i.centerY,o=i.radius,d=i.innerRadius;return(0,react.useMemo)((function(){return{dataWithArc:n,arcGenerator:t,centerX:r,centerY:a,radius:o,innerRadius:d}}),[n,t,r,a,o,d])}({dataWithArc:ei,arcGenerator:ni,centerX:ti,centerY:ri,radius:ai,innerRadius:oi});return(0,jsx_runtime.jsx)(nivo_core_es.tM,{width:Ke,height:Ne,margin:Qe,defs:si,role:ze,children:L.map((function(e,i){return void 0!==ci[e]?ci[e]:"function"==typeof e?(0,jsx_runtime.jsx)(react.Fragment,{children:(0,react.createElement)(e,ui)},i):null}))})},nivo_pie_es_Z=function(e){var i=e.isInteractive,n=void 0===i?nivo_pie_es_Y.isInteractive:i,t=e.animate,r=void 0===t?nivo_pie_es_Y.animate:t,a=e.motionConfig,o=void 0===a?nivo_pie_es_Y.motionConfig:a,d=e.theme,l=e.renderWrapper,s=nivo_pie_es_F(e,nivo_pie_es_Q);return(0,jsx_runtime.jsx)(nivo_core_es.W2,{animate:r,isInteractive:n,motionConfig:o,renderWrapper:l,theme:d,children:(0,jsx_runtime.jsx)(U,nivo_pie_es_D({isInteractive:n},s))})},nivo_pie_es_$=function(e){return(0,jsx_runtime.jsx)(nivo_core_es.d,{children:function(i){var n=i.width,t=i.height;return(0,jsx_runtime.jsx)(nivo_pie_es_Z,nivo_pie_es_D({width:n,height:t},e))}})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_ssa_ui_kit_widgets=self.webpackChunk_ssa_ui_kit_widgets||[]).push([[1283],{"../../node_modules/.pnpm/@storybook+components@7.3.2_@types+react-dom@18.2.4_@types+react@18.2.8_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/components/dist/WithTooltip-YBG737T3.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WithToolTipState:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.WA},WithTooltip:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.WA},WithTooltipPure:function(){return _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__.DG}});var _chunk_OCF3KO2R_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/@storybook+components@7.3.2_@types+react-dom@18.2.4_@types+react@18.2.8_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/components/dist/chunk-OCF3KO2R.mjs")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_ssa_ui_kit_widgets=self.webpackChunk_ssa_ui_kit_widgets||[]).push([[1326],{"../../node_modules/.pnpm/@storybook+icons@1.1.6_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/icons/dist/Editing-7QFB6ZMG.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Bold:function(){return Bold},Italic:function(){return Italic},ListOrdered:function(){return ListOrdered},ListUnordered:function(){return ListUnordered},Markdown:function(){return Markdown},Markup:function(){return Markup},PaperClip:function(){return PaperClip},Paragraph:function(){return Paragraph}});var _chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/@storybook+icons@1.1.6_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),Markup=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:"currentColor"})),...restProps})},Bold=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:"currentColor"})),...restProps})},Italic=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:"currentColor"})),...restProps})},PaperClip=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:"currentColor"})),...restProps})},ListOrdered=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:"currentColor"})),...restProps})},ListUnordered=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:"currentColor"})),...restProps})},Paragraph=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:"currentColor"})),...restProps})},Markdown=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:"currentColor"})),...restProps})}},"../../node_modules/.pnpm/@storybook+icons@1.1.6_react-dom@18.2.0_react@18.2.0/node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{a:function(){return IconWrapper}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),IconWrapper=({icon:icon,color:colorProp,size:sizeProp,...restProps})=>{const color=colorProp||"currentColor",size=sizeProp||"14px";return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{role:"img","aria-hidden":"true",style:{color:color,width:size,height:size,display:"inline-flex",fontSize:"inherit"},...restProps},icon)}}}]);
|