sag_components 2.0.0-beta27 → 2.0.0-beta29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.js +56 -0
- package/dist/App.test.js +10 -0
- package/dist/Button.test.js +162 -0
- package/dist/LinkButton.test.js +150 -0
- package/dist/SingleBar.test.js +120 -0
- package/dist/index.esm.js +2208 -544
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2207 -544
- package/dist/index.js.map +1 -1
- package/dist/setupTests.js +15 -0
- package/dist/stories/AttachedFile.stories.js +37 -0
- package/dist/stories/AutocompleteField.stories.js +25 -0
- package/dist/stories/BannerEventBox.stories.js +59 -0
- package/dist/stories/BannerEventBoxList.stories.js +39 -0
- package/dist/stories/BannerEventBoxTest.stories.js +27 -0
- package/dist/stories/BannersDropdown.stories.js +64 -0
- package/dist/stories/BarChart.stories.js +306 -0
- package/dist/stories/BarChartTwoRows.stories.js +259 -0
- package/dist/stories/BarChartWithAreaChart.stories.js +134 -0
- package/dist/stories/BarChartsByWeeks.stories.js +445 -0
- package/dist/stories/Benchmark.stories.js +147 -0
- package/dist/stories/Button.stories.js +255 -0
- package/dist/stories/CampaignDemoReport.stories.js +65 -0
- package/dist/stories/CampaignTool/Card.stories.js +92 -0
- package/dist/stories/CampaignTool/MultipleCard.stories.js +33 -0
- package/dist/stories/CampaignTool/PageFilterBar.stories.js +28 -0
- package/dist/stories/CampaignTool/Popup.stories.js +697 -0
- package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
- package/dist/stories/CampaignTool/Table.stories.js +104 -0
- package/dist/stories/CheckBox.stories.js +107 -0
- package/dist/stories/CheckBoxButton.stories.js +150 -0
- package/dist/stories/CollapseData.stories.js +125 -0
- package/dist/stories/CollapseHeader.stories.js +123 -0
- package/dist/stories/CollapseMenuItem.stories.js +134 -0
- package/dist/stories/Datepicker.stories.js +85 -0
- package/dist/stories/DialogOverlay.stories.js +39 -0
- package/dist/stories/DoublePanelDataRow.stories.js +116 -0
- package/dist/stories/DownloadProgress.stories.js +109 -0
- package/dist/stories/Dropdown.stories.js +318 -0
- package/dist/stories/DropdownMulti.stories.js +220 -0
- package/dist/stories/DropdownNew.stories.js +407 -0
- package/dist/stories/EventDetailsCard.stories.js +122 -0
- package/dist/stories/EventList.stories.js +84 -0
- package/dist/stories/EventListItem.stories.js +65 -0
- package/dist/stories/FilterButton.stories.js +90 -0
- package/dist/stories/FilterContainer.stories.js +22 -0
- package/dist/stories/FilterPanel.stories.js +967 -0
- package/dist/stories/FormattedValue.stories.js +183 -0
- package/dist/stories/Heatmap.stories.js +118 -0
- package/dist/stories/IconButton.stories.js +126 -0
- package/dist/stories/Input.stories.js +422 -0
- package/dist/stories/InputOld.stories.js +103 -0
- package/dist/stories/KpiFilter.stories.js +401 -0
- package/dist/stories/LinkButton.stories.js +171 -0
- package/dist/stories/LinnerDataBox.stories.js +79 -0
- package/dist/stories/ListBox.stories.js +132 -0
- package/dist/stories/MarketShareDescription.stories.js +196 -0
- package/dist/stories/MonthPicker.stories.js +142 -0
- package/dist/stories/NewInput.stories.js +37 -0
- package/dist/stories/NoDataFoundMessage.stories.js +66 -0
- package/dist/stories/OneColumnContainer.stories.js +119 -0
- package/dist/stories/PerformanceAnalytics.stories.js +263 -0
- package/dist/stories/PerformanceAnalyticsLegend.stories.js +99 -0
- package/dist/stories/PerformanceAnalyticsOneColumn.stories.js +236 -0
- package/dist/stories/PerformanceAnalyticsTotals.stories.js +109 -0
- package/dist/stories/PieChart.stories.js +215 -0
- package/dist/stories/PopupCharts.stories.js +1191 -0
- package/dist/stories/ProductsVariety.stories.js +90 -0
- package/dist/stories/ProgressBar.stories.js +71 -0
- package/dist/stories/QuarterPicker.stories.js +142 -0
- package/dist/stories/QuickFilter.stories.js +275 -0
- package/dist/stories/RangePicker.stories.js +140 -0
- package/dist/stories/ReportTable.stories.js +255 -0
- package/dist/stories/SagButton.stories.js +118 -0
- package/dist/stories/SagIconButton.stories.js +122 -0
- package/dist/stories/SagInput.stories.js +69 -0
- package/dist/stories/SalesAndROI.stories.js +166 -0
- package/dist/stories/SalesSplit.stories.js +122 -0
- package/dist/stories/SearchInput.stories.js +44 -0
- package/dist/stories/SegmentedButton.stories.js +181 -0
- package/dist/stories/Select.stories.js +201 -0
- package/dist/stories/SingleBarLineCharts.stories.js +310 -0
- package/dist/stories/TabMenu.stories.js +224 -0
- package/dist/stories/TextField.stories.js +160 -0
- package/dist/stories/TitleDescription.stories.js +116 -0
- package/dist/stories/TopToggleList.stories.js +52 -0
- package/dist/stories/TotalBenchmark.stories.js +135 -0
- package/dist/stories/TotalBenchmarkAreachart.stories.js +341 -0
- package/dist/stories/TotalBenchmarkArrows.stories.js +170 -0
- package/dist/stories/TotalBenchmarkBarchart.stories.js +183 -0
- package/dist/stories/TotalDoughnutChart.stories.js +301 -0
- package/dist/stories/TotalHorizontalCharts.stories.js +291 -0
- package/dist/stories/TwoBarCharts.stories.js +185 -0
- package/dist/stories/components/AttachedFile.js +60 -0
- package/dist/stories/components/AttachedFile.style.js +48 -0
- package/dist/stories/components/AutocompleteField.js +40 -0
- package/dist/stories/components/AutocompleteField.style.js +55 -0
- package/dist/stories/components/BannerEventBox.js +97 -0
- package/dist/stories/components/BannerEventBox.style.js +78 -0
- package/dist/stories/components/BannerEventBoxList.js +153 -0
- package/dist/stories/components/BannerEventBoxList.style.js +189 -0
- package/dist/stories/components/BannerEventBoxTest.js +42 -0
- package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
- package/dist/stories/components/BannersDropdown.js +119 -0
- package/dist/stories/components/BannersDropdown.style.js +99 -0
- package/dist/stories/components/BarChart.js +258 -0
- package/dist/stories/components/BarChart.style.js +60 -0
- package/dist/stories/components/BarChartTwoRows.js +220 -0
- package/dist/stories/components/BarChartTwoRows.style.js +79 -0
- package/dist/stories/components/BarChartWithAreaChart.js +268 -0
- package/dist/stories/components/BarChartWithAreaChart.style.js +67 -0
- package/dist/stories/components/BarChartsByWeeks.js +306 -0
- package/dist/stories/components/BarChartsByWeeks.style.js +96 -0
- package/dist/stories/components/Benchmark.js +130 -0
- package/dist/stories/components/Benchmark.style.js +61 -0
- package/dist/stories/components/Button.js +255 -0
- package/dist/stories/components/Button.style.js +90 -0
- package/dist/stories/components/CampaignTool/CampaignDemoReport.js +48 -0
- package/dist/stories/components/CampaignTool/CampaignDemoReport.style.js +48 -0
- package/dist/stories/components/CampaignTool/Card.js +72 -0
- package/dist/stories/components/CampaignTool/Card.style.js +65 -0
- package/dist/stories/components/CampaignTool/FormInput.js +41 -0
- package/dist/stories/components/CampaignTool/FormSelect.js +42 -0
- package/dist/stories/components/CampaignTool/MultipleCard.js +26 -0
- package/dist/stories/components/CampaignTool/MultipleCard.style.js +13 -0
- package/dist/stories/components/CampaignTool/PageFilterBar.js +23 -0
- package/dist/stories/components/CampaignTool/PageFilterBar.style.js +22 -0
- package/dist/stories/components/CampaignTool/Popup.js +172 -0
- package/dist/stories/components/CampaignTool/Popup.style.js +122 -0
- package/dist/stories/components/CampaignTool/PopupContent.js +111 -0
- package/dist/stories/components/CampaignTool/PopupContent.style.js +74 -0
- package/dist/stories/components/CampaignTool/PopupFieldsRules.js +168 -0
- package/dist/stories/components/CampaignTool/Table.js +195 -0
- package/dist/stories/components/CampaignTool/Table.style.js +86 -0
- package/dist/stories/components/CheckBox.js +76 -0
- package/dist/stories/components/CheckBox.style.js +36 -0
- package/dist/stories/components/CheckBoxButton.js +69 -0
- package/dist/stories/components/CheckBoxButton.style.js +39 -0
- package/dist/stories/components/CodeEditor.js +43 -0
- package/dist/stories/components/CodeEditor.style.js +13 -0
- package/dist/stories/components/CollapseData.js +66 -0
- package/dist/stories/components/CollapseData.style.js +127 -0
- package/dist/stories/components/CollapseHeader.js +255 -0
- package/dist/stories/components/CollapseHeader.style.js +200 -0
- package/dist/stories/components/CollapseMenuItem.js +61 -0
- package/dist/stories/components/CollapseMenuItem.style.js +61 -0
- package/dist/stories/components/CommonFunctions.js +99 -0
- package/dist/stories/components/Datepicker.js +148 -0
- package/dist/stories/components/Datepicker.style.js +19 -0
- package/dist/stories/components/DialogOverlay.js +44 -0
- package/dist/stories/components/DialogOverlay.style.js +70 -0
- package/dist/stories/components/DoublePanelDataRow.js +70 -0
- package/dist/stories/components/DoublePanelDataRow.style.js +66 -0
- package/dist/stories/components/DownloadProgress.js +97 -0
- package/dist/stories/components/DownloadProgress.style.js +51 -0
- package/dist/stories/components/Dropdown.js +231 -0
- package/dist/stories/components/Dropdown.style.js +17 -0
- package/dist/stories/components/DropdownMulti.js +290 -0
- package/dist/stories/components/DropdownMulti.style.js +17 -0
- package/dist/stories/components/DropdownMultiNew.js +292 -0
- package/dist/stories/components/DropdownMultiNew.style.js +218 -0
- package/dist/stories/components/DropdownNew.js +98 -0
- package/dist/stories/components/DropdownNew.style.js +21 -0
- package/dist/stories/components/DropdownSingleNew.js +256 -0
- package/dist/stories/components/DropdownSingleNew.style.js +189 -0
- package/dist/stories/components/EventDetailsCard.js +142 -0
- package/dist/stories/components/EventDetailsCard.style.js +62 -0
- package/dist/stories/components/EventList.js +61 -0
- package/dist/stories/components/EventList.style.js +38 -0
- package/dist/stories/components/EventListItem.js +50 -0
- package/dist/stories/components/EventListItem.style.js +47 -0
- package/dist/stories/components/FilterButton.js +53 -0
- package/dist/stories/components/FilterButton.style.js +12 -0
- package/dist/stories/components/FilterContainer.js +29 -0
- package/dist/stories/components/FilterContainer.style.js +30 -0
- package/dist/stories/components/FilterPanel.js +614 -0
- package/dist/stories/components/FilterPanel.style.js +89 -0
- package/dist/stories/components/FormattedValue.js +69 -0
- package/dist/stories/components/FormattedValue.style.js +91 -0
- package/dist/stories/components/Heatmap.js +184 -0
- package/dist/stories/components/Heatmap.style.js +151 -0
- package/dist/stories/components/IconButton.js +147 -0
- package/dist/stories/components/IconButton.style.js +64 -0
- package/dist/stories/components/Input.js +186 -0
- package/dist/stories/components/Input.style.js +132 -0
- package/dist/stories/components/InputOld.js +93 -0
- package/dist/stories/components/InputOld.style.js +71 -0
- package/dist/stories/components/KpiFilter.js +345 -0
- package/dist/stories/components/KpiFilter.style.js +132 -0
- package/dist/stories/components/LinkButton.js +225 -0
- package/dist/stories/components/LinkButton.style.js +53 -0
- package/dist/stories/components/LinnerDataBox.js +54 -0
- package/dist/stories/components/LinnerDataBox.style.js +68 -0
- package/dist/stories/components/ListBox.js +82 -0
- package/dist/stories/components/ListBox.style.js +48 -0
- package/dist/stories/components/MarketShareDescription.js +109 -0
- package/dist/stories/components/MarketShareDescription.style.js +215 -0
- package/dist/stories/components/Modal.js +21 -0
- package/dist/stories/components/Modal.style.js +63 -0
- package/dist/stories/components/ModalTotalBenchmark.js +224 -0
- package/dist/stories/components/ModalTotalCost.js +139 -0
- package/dist/stories/components/MonthPicker.js +169 -0
- package/dist/stories/components/MonthPicker.style.js +105 -0
- package/dist/stories/components/MonthPopupPicker.js +206 -0
- package/dist/stories/components/NewInput.js +33 -0
- package/dist/stories/components/NewInput.style.js +13 -0
- package/dist/stories/components/NoDataFoundMessage.js +30 -0
- package/dist/stories/components/NoDataFoundMessage.style.js +39 -0
- package/dist/stories/components/OneColumnContainer.js +121 -0
- package/dist/stories/components/OneColumnContainer.style.js +107 -0
- package/dist/stories/components/PerformanceAnalytics.js +447 -0
- package/dist/stories/components/PerformanceAnalytics.style.js +144 -0
- package/dist/stories/components/PerformanceAnalyticsLegend.js +59 -0
- package/dist/stories/components/PerformanceAnalyticsLegend.style.js +63 -0
- package/dist/stories/components/PerformanceAnalyticsOneColumn.js +327 -0
- package/dist/stories/components/PerformanceAnalyticsOneColumn.style.js +116 -0
- package/dist/stories/components/PerformanceAnalyticsTotals.js +70 -0
- package/dist/stories/components/PerformanceAnalyticsTotals.style.js +89 -0
- package/dist/stories/components/PieChart.js +154 -0
- package/dist/stories/components/PieChart.style.js +154 -0
- package/dist/stories/components/PopupCharts.js +244 -0
- package/dist/stories/components/PopupCharts.style.js +108 -0
- package/dist/stories/components/ProductsVariety.js +94 -0
- package/dist/stories/components/ProductsVariety.style.js +86 -0
- package/dist/stories/components/ProgressBar.js +52 -0
- package/dist/stories/components/ProgressBar.style.js +24 -0
- package/dist/stories/components/QuarterPicker.js +168 -0
- package/dist/stories/components/QuarterPicker.style.js +104 -0
- package/dist/stories/components/QuarterPopupPicker.js +186 -0
- package/dist/stories/components/QuickFilter.js +78 -0
- package/dist/stories/components/QuickFilter.style.js +21 -0
- package/dist/stories/components/QuickFilterDropdownMultiSelection.js +299 -0
- package/dist/stories/components/QuickFilterDropdownMultiSelection.style.js +194 -0
- package/dist/stories/components/QuickFilterDropdownSingle.js +229 -0
- package/dist/stories/components/QuickFilterDropdownSingle.style.js +139 -0
- package/dist/stories/components/RangeDatePicker.js +231 -0
- package/dist/stories/components/RangePicker.js +179 -0
- package/dist/stories/components/RangePicker.style.js +109 -0
- package/dist/stories/components/ReportTable.js +420 -0
- package/dist/stories/components/ReportTable.style.js +306 -0
- package/dist/stories/components/SagButton.js +68 -0
- package/dist/stories/components/SagButton.style.js +47 -0
- package/dist/stories/components/SagIconButton.js +130 -0
- package/dist/stories/components/SagIconButton.style.js +30 -0
- package/dist/stories/components/SagInput.js +53 -0
- package/dist/stories/components/SagInput.style.js +41 -0
- package/dist/stories/components/SalesAndROI.js +89 -0
- package/dist/stories/components/SalesAndROI.style.js +111 -0
- package/dist/stories/components/SalesSplit.js +153 -0
- package/dist/stories/components/SalesSplit.style.js +150 -0
- package/dist/stories/components/SearchInput.js +39 -0
- package/dist/stories/components/SearchInput.style.js +37 -0
- package/dist/stories/components/SegmentedButton.js +124 -0
- package/dist/stories/components/SegmentedButton.style.js +100 -0
- package/dist/stories/components/Select.js +137 -0
- package/dist/stories/components/Select.style.js +104 -0
- package/dist/stories/components/SingleBarLineCharts.js +415 -0
- package/dist/stories/components/SingleBarLineCharts.style.js +101 -0
- package/dist/stories/components/TabMenu.js +241 -0
- package/dist/stories/components/TabMenu.style.js +120 -0
- package/dist/stories/components/TextField.js +209 -0
- package/dist/stories/components/TextField.style.js +18 -0
- package/dist/stories/components/TitleDescription.js +272 -0
- package/dist/stories/components/TitleDescription.style.js +222 -0
- package/dist/stories/components/Tooltip.js +44 -0
- package/dist/stories/components/Tooltip.style.js +103 -0
- package/dist/stories/components/TopToggleList.js +46 -0
- package/dist/stories/components/TopToggleList.style.js +51 -0
- package/dist/stories/components/TotalBenchmark.js +97 -0
- package/dist/stories/components/TotalBenchmark.style.js +79 -0
- package/dist/stories/components/TotalBenchmarkAreachart.js +342 -0
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +171 -0
- package/dist/stories/components/TotalBenchmarkArrows.js +149 -0
- package/dist/stories/components/TotalBenchmarkArrows.style.js +108 -0
- package/dist/stories/components/TotalBenchmarkBarchart.js +165 -0
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +77 -0
- package/dist/stories/components/TotalDoughnutChart.js +187 -0
- package/dist/stories/components/TotalDoughnutChart.style.js +178 -0
- package/dist/stories/components/TotalHorizontalCharts.js +236 -0
- package/dist/stories/components/TotalHorizontalCharts.style.js +93 -0
- package/dist/stories/components/TspanTooltip.js +33 -0
- package/dist/stories/components/TspanTooltip.style.js +105 -0
- package/dist/stories/components/TwoBarCharts.js +211 -0
- package/dist/stories/components/TwoBarCharts.style.js +60 -0
- package/dist/stories/components/icons/ArrowDownIcon.js +27 -0
- package/dist/stories/components/icons/ArrowDropDownIcon.js +27 -0
- package/dist/stories/components/icons/ArrowSelectIcon.js +28 -0
- package/dist/stories/components/icons/ArrowUpIcon.js +27 -0
- package/dist/stories/components/icons/AttachedIcon.js +27 -0
- package/dist/stories/components/icons/BellIcon.js +27 -0
- package/dist/stories/components/icons/ButtonArrowRight.js +27 -0
- package/dist/stories/components/icons/Calendar.js +20 -0
- package/dist/stories/components/icons/CalendarIcon.js +27 -0
- package/dist/stories/components/icons/CalendarInOpen.js +26 -0
- package/dist/stories/components/icons/CheckBoxButtonCheckedIcon.js +28 -0
- package/dist/stories/components/icons/CheckBoxCheckedIcon.js +28 -0
- package/dist/stories/components/icons/CheckBoxNotCheckedIcon.js +28 -0
- package/dist/stories/components/icons/ChervronLeftIcon.js +20 -0
- package/dist/stories/components/icons/ChervronRightIcon.js +20 -0
- package/dist/stories/components/icons/ChevronLeftIcon.js +29 -0
- package/dist/stories/components/icons/ChevronRightIcon.js +29 -0
- package/dist/stories/components/icons/ClockIcon.js +27 -0
- package/dist/stories/components/icons/CloseIcon.js +27 -0
- package/dist/stories/components/icons/CloseXIcon.js +27 -0
- package/dist/stories/components/icons/ComboBoxArrowDownIcon.js +28 -0
- package/dist/stories/components/icons/ComboBoxArrowUpIcon.js +28 -0
- package/dist/stories/components/icons/DocumentIcon.js +48 -0
- package/dist/stories/components/icons/DownloadIcon.js +27 -0
- package/dist/stories/components/icons/Duplicate.js +28 -0
- package/dist/stories/components/icons/ErrorIcon.js +28 -0
- package/dist/stories/components/icons/ExitIcon.js +28 -0
- package/dist/stories/components/icons/ExportIcon.js +28 -0
- package/dist/stories/components/icons/EyeIcon.js +28 -0
- package/dist/stories/components/icons/FileIcon.js +27 -0
- package/dist/stories/components/icons/FilterIcon.js +36 -0
- package/dist/stories/components/icons/FlyIcon.js +28 -0
- package/dist/stories/components/icons/FoodLionChartIcon.js +42 -0
- package/dist/stories/components/icons/FoodLionIcon.js +3076 -0
- package/dist/stories/components/icons/FoodLionNewIcon.js +39 -0
- package/dist/stories/components/icons/GiantFoodChartIcon.js +40 -0
- package/dist/stories/components/icons/GiantFoodIcon.js +1976 -0
- package/dist/stories/components/icons/GiantFoodIcon_new.js +42 -0
- package/dist/stories/components/icons/HannafordChartIcon.js +40 -0
- package/dist/stories/components/icons/HannafordIcon.js +5017 -0
- package/dist/stories/components/icons/HannafordIcon_new.js +41 -0
- package/dist/stories/components/icons/HannafordNewIcon.js +213 -0
- package/dist/stories/components/icons/InfoIcon.js +28 -0
- package/dist/stories/components/icons/LampIcon.js +30 -0
- package/dist/stories/components/icons/LegendLineIcon.js +29 -0
- package/dist/stories/components/icons/LegendUnionIcon.js +29 -0
- package/dist/stories/components/icons/MaintenanceIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemClosedIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemOpenIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemRightIcon.js +28 -0
- package/dist/stories/components/icons/MenuItemUpIcon.js +28 -0
- package/dist/stories/components/icons/NoDataFoundIcon.js +86 -0
- package/dist/stories/components/icons/OptionsIcon.js +27 -0
- package/dist/stories/components/icons/ReselectIcon.js +27 -0
- package/dist/stories/components/icons/SearchIcon.js +27 -0
- package/dist/stories/components/icons/ShoppingCartIcon.js +45 -0
- package/dist/stories/components/icons/ShoutIcon.js +27 -0
- package/dist/stories/components/icons/Sort.js +13 -0
- package/dist/stories/components/icons/SortIcon.js +35 -0
- package/dist/stories/components/icons/SpotlightProductIcon.js +28 -0
- package/dist/stories/components/icons/StopAndShopChartIcon.js +42 -0
- package/dist/stories/components/icons/StopAndShopIcon.js +134 -0
- package/dist/stories/components/icons/StopAndShopNewIcon.js +41 -0
- package/dist/stories/components/icons/SucceededIcon.js +28 -0
- package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +40 -0
- package/dist/stories/components/icons/TheGiantCompanyIcon.js +40 -0
- package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
- package/dist/stories/components/icons/TheGiantCompanyNewIcon.js +39 -0
- package/dist/stories/utils/ComponentFactory.js +65 -0
- package/dist/stories/utils/IconsHandler.js +150 -0
- package/dist/stories/utils/IconsHandler.style.js +16 -0
- package/dist/stories/utils/regex/Email.regex.js +7 -0
- package/dist/stories/utils/regex/LatinWithSpaces.regex.js +7 -0
- package/dist/stories/utils/regex/OnlyEnglishLetters.regex.js +7 -0
- package/dist/stories/utils/regex/Phone.regex.js +7 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +23 -0
- package/dist/vite.config.js +15 -0
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import styled, { keyframes, css } from 'styled-components';
|
|
1
|
+
import React, { useRef, useDebugValue, createElement, useContext, useState, useEffect } from 'react';
|
|
3
2
|
import { ResponsiveContainer, PieChart as PieChart$1, Pie, Cell, Tooltip as Tooltip$2, BarChart as BarChart$1, CartesianGrid, XAxis, YAxis, Bar, LabelList, ReferenceLine, Brush } from 'recharts';
|
|
4
3
|
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
|
5
4
|
import { motion, AnimatePresence } from 'framer-motion';
|
|
@@ -1157,7 +1156,1664 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1157
1156
|
var propTypesExports = propTypes.exports;
|
|
1158
1157
|
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1159
1158
|
|
|
1160
|
-
|
|
1159
|
+
/******************************************************************************
|
|
1160
|
+
Copyright (c) Microsoft Corporation.
|
|
1161
|
+
|
|
1162
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1163
|
+
purpose with or without fee is hereby granted.
|
|
1164
|
+
|
|
1165
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1166
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1167
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1168
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1169
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1170
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1171
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1172
|
+
***************************************************************************** */
|
|
1173
|
+
|
|
1174
|
+
var __assign = function() {
|
|
1175
|
+
__assign = Object.assign || function __assign(t) {
|
|
1176
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1177
|
+
s = arguments[i];
|
|
1178
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1179
|
+
}
|
|
1180
|
+
return t;
|
|
1181
|
+
};
|
|
1182
|
+
return __assign.apply(this, arguments);
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
function __spreadArray(to, from, pack) {
|
|
1186
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1187
|
+
if (ar || !(i in from)) {
|
|
1188
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1189
|
+
ar[i] = from[i];
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1196
|
+
var e = new Error(message);
|
|
1197
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1200
|
+
function memoize(fn) {
|
|
1201
|
+
var cache = Object.create(null);
|
|
1202
|
+
return function (arg) {
|
|
1203
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
1204
|
+
return cache[arg];
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
var 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|disableRemotePlayback|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)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
1209
|
+
|
|
1210
|
+
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
1211
|
+
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
1212
|
+
/* o */ && prop.charCodeAt(1) === 110
|
|
1213
|
+
/* n */ && prop.charCodeAt(2) < 91;
|
|
1214
|
+
}
|
|
1215
|
+
/* Z+1 */);
|
|
1216
|
+
|
|
1217
|
+
var MS = '-ms-';
|
|
1218
|
+
var MOZ = '-moz-';
|
|
1219
|
+
var WEBKIT = '-webkit-';
|
|
1220
|
+
var COMMENT = 'comm';
|
|
1221
|
+
var RULESET = 'rule';
|
|
1222
|
+
var DECLARATION = 'decl';
|
|
1223
|
+
var IMPORT = '@import';
|
|
1224
|
+
var KEYFRAMES = '@keyframes';
|
|
1225
|
+
var LAYER = '@layer';
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* @param {number}
|
|
1229
|
+
* @return {number}
|
|
1230
|
+
*/
|
|
1231
|
+
var abs = Math.abs;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @param {number}
|
|
1235
|
+
* @return {string}
|
|
1236
|
+
*/
|
|
1237
|
+
var from = String.fromCharCode;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* @param {object}
|
|
1241
|
+
* @return {object}
|
|
1242
|
+
*/
|
|
1243
|
+
var assign = Object.assign;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* @param {string} value
|
|
1247
|
+
* @param {number} length
|
|
1248
|
+
* @return {number}
|
|
1249
|
+
*/
|
|
1250
|
+
function hash(value, length) {
|
|
1251
|
+
return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* @param {string} value
|
|
1256
|
+
* @return {string}
|
|
1257
|
+
*/
|
|
1258
|
+
function trim(value) {
|
|
1259
|
+
return value.trim();
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* @param {string} value
|
|
1264
|
+
* @param {RegExp} pattern
|
|
1265
|
+
* @return {string?}
|
|
1266
|
+
*/
|
|
1267
|
+
function match(value, pattern) {
|
|
1268
|
+
return (value = pattern.exec(value)) ? value[0] : value;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* @param {string} value
|
|
1273
|
+
* @param {(string|RegExp)} pattern
|
|
1274
|
+
* @param {string} replacement
|
|
1275
|
+
* @return {string}
|
|
1276
|
+
*/
|
|
1277
|
+
function replace(value, pattern, replacement) {
|
|
1278
|
+
return value.replace(pattern, replacement);
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* @param {string} value
|
|
1283
|
+
* @param {string} search
|
|
1284
|
+
* @param {number} position
|
|
1285
|
+
* @return {number}
|
|
1286
|
+
*/
|
|
1287
|
+
function indexof(value, search, position) {
|
|
1288
|
+
return value.indexOf(search, position);
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* @param {string} value
|
|
1293
|
+
* @param {number} index
|
|
1294
|
+
* @return {number}
|
|
1295
|
+
*/
|
|
1296
|
+
function charat(value, index) {
|
|
1297
|
+
return value.charCodeAt(index) | 0;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* @param {string} value
|
|
1302
|
+
* @param {number} begin
|
|
1303
|
+
* @param {number} end
|
|
1304
|
+
* @return {string}
|
|
1305
|
+
*/
|
|
1306
|
+
function substr(value, begin, end) {
|
|
1307
|
+
return value.slice(begin, end);
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* @param {string} value
|
|
1312
|
+
* @return {number}
|
|
1313
|
+
*/
|
|
1314
|
+
function strlen(value) {
|
|
1315
|
+
return value.length;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* @param {any[]} value
|
|
1320
|
+
* @return {number}
|
|
1321
|
+
*/
|
|
1322
|
+
function sizeof(value) {
|
|
1323
|
+
return value.length;
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* @param {any} value
|
|
1328
|
+
* @param {any[]} array
|
|
1329
|
+
* @return {any}
|
|
1330
|
+
*/
|
|
1331
|
+
function append(value, array) {
|
|
1332
|
+
return array.push(value), value;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* @param {string[]} array
|
|
1337
|
+
* @param {function} callback
|
|
1338
|
+
* @return {string}
|
|
1339
|
+
*/
|
|
1340
|
+
function combine(array, callback) {
|
|
1341
|
+
return array.map(callback).join('');
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @param {string[]} array
|
|
1346
|
+
* @param {RegExp} pattern
|
|
1347
|
+
* @return {string[]}
|
|
1348
|
+
*/
|
|
1349
|
+
function filter(array, pattern) {
|
|
1350
|
+
return array.filter(function (value) {
|
|
1351
|
+
return !match(value, pattern);
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
var line = 1;
|
|
1356
|
+
var column = 1;
|
|
1357
|
+
var length = 0;
|
|
1358
|
+
var position = 0;
|
|
1359
|
+
var character = 0;
|
|
1360
|
+
var characters = '';
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* @param {string} value
|
|
1364
|
+
* @param {object | null} root
|
|
1365
|
+
* @param {object | null} parent
|
|
1366
|
+
* @param {string} type
|
|
1367
|
+
* @param {string[] | string} props
|
|
1368
|
+
* @param {object[] | string} children
|
|
1369
|
+
* @param {object[]} siblings
|
|
1370
|
+
* @param {number} length
|
|
1371
|
+
*/
|
|
1372
|
+
function node(value, root, parent, type, props, children, length, siblings) {
|
|
1373
|
+
return {
|
|
1374
|
+
value: value,
|
|
1375
|
+
root: root,
|
|
1376
|
+
parent: parent,
|
|
1377
|
+
type: type,
|
|
1378
|
+
props: props,
|
|
1379
|
+
children: children,
|
|
1380
|
+
line: line,
|
|
1381
|
+
column: column,
|
|
1382
|
+
length: length,
|
|
1383
|
+
return: '',
|
|
1384
|
+
siblings: siblings
|
|
1385
|
+
};
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {object} root
|
|
1390
|
+
* @param {object} props
|
|
1391
|
+
* @return {object}
|
|
1392
|
+
*/
|
|
1393
|
+
function copy(root, props) {
|
|
1394
|
+
return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
|
|
1395
|
+
length: -root.length
|
|
1396
|
+
}, props);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @param {object} root
|
|
1401
|
+
*/
|
|
1402
|
+
function lift(root) {
|
|
1403
|
+
while (root.root) root = copy(root.root, {
|
|
1404
|
+
children: [root]
|
|
1405
|
+
});
|
|
1406
|
+
append(root, root.siblings);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* @return {number}
|
|
1411
|
+
*/
|
|
1412
|
+
function char() {
|
|
1413
|
+
return character;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @return {number}
|
|
1418
|
+
*/
|
|
1419
|
+
function prev() {
|
|
1420
|
+
character = position > 0 ? charat(characters, --position) : 0;
|
|
1421
|
+
if (column--, character === 10) column = 1, line--;
|
|
1422
|
+
return character;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* @return {number}
|
|
1427
|
+
*/
|
|
1428
|
+
function next() {
|
|
1429
|
+
character = position < length ? charat(characters, position++) : 0;
|
|
1430
|
+
if (column++, character === 10) column = 1, line++;
|
|
1431
|
+
return character;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* @return {number}
|
|
1436
|
+
*/
|
|
1437
|
+
function peek() {
|
|
1438
|
+
return charat(characters, position);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* @return {number}
|
|
1443
|
+
*/
|
|
1444
|
+
function caret() {
|
|
1445
|
+
return position;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* @param {number} begin
|
|
1450
|
+
* @param {number} end
|
|
1451
|
+
* @return {string}
|
|
1452
|
+
*/
|
|
1453
|
+
function slice(begin, end) {
|
|
1454
|
+
return substr(characters, begin, end);
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* @param {number} type
|
|
1459
|
+
* @return {number}
|
|
1460
|
+
*/
|
|
1461
|
+
function token(type) {
|
|
1462
|
+
switch (type) {
|
|
1463
|
+
// \0 \t \n \r \s whitespace token
|
|
1464
|
+
case 0:
|
|
1465
|
+
case 9:
|
|
1466
|
+
case 10:
|
|
1467
|
+
case 13:
|
|
1468
|
+
case 32:
|
|
1469
|
+
return 5;
|
|
1470
|
+
// ! + , / > @ ~ isolate token
|
|
1471
|
+
case 33:
|
|
1472
|
+
case 43:
|
|
1473
|
+
case 44:
|
|
1474
|
+
case 47:
|
|
1475
|
+
case 62:
|
|
1476
|
+
case 64:
|
|
1477
|
+
case 126:
|
|
1478
|
+
// ; { } breakpoint token
|
|
1479
|
+
case 59:
|
|
1480
|
+
case 123:
|
|
1481
|
+
case 125:
|
|
1482
|
+
return 4;
|
|
1483
|
+
// : accompanied token
|
|
1484
|
+
case 58:
|
|
1485
|
+
return 3;
|
|
1486
|
+
// " ' ( [ opening delimit token
|
|
1487
|
+
case 34:
|
|
1488
|
+
case 39:
|
|
1489
|
+
case 40:
|
|
1490
|
+
case 91:
|
|
1491
|
+
return 2;
|
|
1492
|
+
// ) ] closing delimit token
|
|
1493
|
+
case 41:
|
|
1494
|
+
case 93:
|
|
1495
|
+
return 1;
|
|
1496
|
+
}
|
|
1497
|
+
return 0;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* @param {string} value
|
|
1502
|
+
* @return {any[]}
|
|
1503
|
+
*/
|
|
1504
|
+
function alloc(value) {
|
|
1505
|
+
return line = column = 1, length = strlen(characters = value), position = 0, [];
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* @param {any} value
|
|
1510
|
+
* @return {any}
|
|
1511
|
+
*/
|
|
1512
|
+
function dealloc(value) {
|
|
1513
|
+
return characters = '', value;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* @param {number} type
|
|
1518
|
+
* @return {string}
|
|
1519
|
+
*/
|
|
1520
|
+
function delimit(type) {
|
|
1521
|
+
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* @param {number} type
|
|
1526
|
+
* @return {string}
|
|
1527
|
+
*/
|
|
1528
|
+
function whitespace(type) {
|
|
1529
|
+
while (character = peek()) if (character < 33) next();else break;
|
|
1530
|
+
return token(type) > 2 || token(character) > 3 ? '' : ' ';
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @param {number} index
|
|
1535
|
+
* @param {number} count
|
|
1536
|
+
* @return {string}
|
|
1537
|
+
*/
|
|
1538
|
+
function escaping(index, count) {
|
|
1539
|
+
while (--count && next())
|
|
1540
|
+
// not 0-9 A-F a-f
|
|
1541
|
+
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
|
|
1542
|
+
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* @param {number} type
|
|
1547
|
+
* @return {number}
|
|
1548
|
+
*/
|
|
1549
|
+
function delimiter(type) {
|
|
1550
|
+
while (next()) switch (character) {
|
|
1551
|
+
// ] ) " '
|
|
1552
|
+
case type:
|
|
1553
|
+
return position;
|
|
1554
|
+
// " '
|
|
1555
|
+
case 34:
|
|
1556
|
+
case 39:
|
|
1557
|
+
if (type !== 34 && type !== 39) delimiter(character);
|
|
1558
|
+
break;
|
|
1559
|
+
// (
|
|
1560
|
+
case 40:
|
|
1561
|
+
if (type === 41) delimiter(type);
|
|
1562
|
+
break;
|
|
1563
|
+
// \
|
|
1564
|
+
case 92:
|
|
1565
|
+
next();
|
|
1566
|
+
break;
|
|
1567
|
+
}
|
|
1568
|
+
return position;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* @param {number} type
|
|
1573
|
+
* @param {number} index
|
|
1574
|
+
* @return {number}
|
|
1575
|
+
*/
|
|
1576
|
+
function commenter(type, index) {
|
|
1577
|
+
while (next())
|
|
1578
|
+
// //
|
|
1579
|
+
if (type + character === 47 + 10) break;
|
|
1580
|
+
// /*
|
|
1581
|
+
else if (type + character === 42 + 42 && peek() === 47) break;
|
|
1582
|
+
return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* @param {number} index
|
|
1587
|
+
* @return {string}
|
|
1588
|
+
*/
|
|
1589
|
+
function identifier(index) {
|
|
1590
|
+
while (!token(peek())) next();
|
|
1591
|
+
return slice(index, position);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @param {string} value
|
|
1596
|
+
* @return {object[]}
|
|
1597
|
+
*/
|
|
1598
|
+
function compile(value) {
|
|
1599
|
+
return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* @param {string} value
|
|
1604
|
+
* @param {object} root
|
|
1605
|
+
* @param {object?} parent
|
|
1606
|
+
* @param {string[]} rule
|
|
1607
|
+
* @param {string[]} rules
|
|
1608
|
+
* @param {string[]} rulesets
|
|
1609
|
+
* @param {number[]} pseudo
|
|
1610
|
+
* @param {number[]} points
|
|
1611
|
+
* @param {string[]} declarations
|
|
1612
|
+
* @return {object}
|
|
1613
|
+
*/
|
|
1614
|
+
function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
|
|
1615
|
+
var index = 0;
|
|
1616
|
+
var offset = 0;
|
|
1617
|
+
var length = pseudo;
|
|
1618
|
+
var atrule = 0;
|
|
1619
|
+
var property = 0;
|
|
1620
|
+
var previous = 0;
|
|
1621
|
+
var variable = 1;
|
|
1622
|
+
var scanning = 1;
|
|
1623
|
+
var ampersand = 1;
|
|
1624
|
+
var character = 0;
|
|
1625
|
+
var type = '';
|
|
1626
|
+
var props = rules;
|
|
1627
|
+
var children = rulesets;
|
|
1628
|
+
var reference = rule;
|
|
1629
|
+
var characters = type;
|
|
1630
|
+
while (scanning) switch (previous = character, character = next()) {
|
|
1631
|
+
// (
|
|
1632
|
+
case 40:
|
|
1633
|
+
if (previous != 108 && charat(characters, length - 1) == 58) {
|
|
1634
|
+
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
|
|
1635
|
+
break;
|
|
1636
|
+
}
|
|
1637
|
+
// " ' [
|
|
1638
|
+
case 34:
|
|
1639
|
+
case 39:
|
|
1640
|
+
case 91:
|
|
1641
|
+
characters += delimit(character);
|
|
1642
|
+
break;
|
|
1643
|
+
// \t \n \r \s
|
|
1644
|
+
case 9:
|
|
1645
|
+
case 10:
|
|
1646
|
+
case 13:
|
|
1647
|
+
case 32:
|
|
1648
|
+
characters += whitespace(previous);
|
|
1649
|
+
break;
|
|
1650
|
+
// \
|
|
1651
|
+
case 92:
|
|
1652
|
+
characters += escaping(caret() - 1, 7);
|
|
1653
|
+
continue;
|
|
1654
|
+
// /
|
|
1655
|
+
case 47:
|
|
1656
|
+
switch (peek()) {
|
|
1657
|
+
case 42:
|
|
1658
|
+
case 47:
|
|
1659
|
+
append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
|
|
1660
|
+
break;
|
|
1661
|
+
default:
|
|
1662
|
+
characters += '/';
|
|
1663
|
+
}
|
|
1664
|
+
break;
|
|
1665
|
+
// {
|
|
1666
|
+
case 123 * variable:
|
|
1667
|
+
points[index++] = strlen(characters) * ampersand;
|
|
1668
|
+
// } ; \0
|
|
1669
|
+
case 125 * variable:
|
|
1670
|
+
case 59:
|
|
1671
|
+
case 0:
|
|
1672
|
+
switch (character) {
|
|
1673
|
+
// \0 }
|
|
1674
|
+
case 0:
|
|
1675
|
+
case 125:
|
|
1676
|
+
scanning = 0;
|
|
1677
|
+
// ;
|
|
1678
|
+
case 59 + offset:
|
|
1679
|
+
if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
|
1680
|
+
if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations);
|
|
1681
|
+
break;
|
|
1682
|
+
// @ ;
|
|
1683
|
+
case 59:
|
|
1684
|
+
characters += ';';
|
|
1685
|
+
// { rule/at-rule
|
|
1686
|
+
default:
|
|
1687
|
+
append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
|
|
1688
|
+
if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
|
|
1689
|
+
// d l m s
|
|
1690
|
+
case 100:
|
|
1691
|
+
case 108:
|
|
1692
|
+
case 109:
|
|
1693
|
+
case 115:
|
|
1694
|
+
parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children);
|
|
1695
|
+
break;
|
|
1696
|
+
default:
|
|
1697
|
+
parse(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
|
|
1701
|
+
break;
|
|
1702
|
+
// :
|
|
1703
|
+
case 58:
|
|
1704
|
+
length = 1 + strlen(characters), property = previous;
|
|
1705
|
+
default:
|
|
1706
|
+
if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
|
|
1707
|
+
switch (characters += from(character), character * variable) {
|
|
1708
|
+
// &
|
|
1709
|
+
case 38:
|
|
1710
|
+
ampersand = offset > 0 ? 1 : (characters += '\f', -1);
|
|
1711
|
+
break;
|
|
1712
|
+
// ,
|
|
1713
|
+
case 44:
|
|
1714
|
+
points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
|
|
1715
|
+
break;
|
|
1716
|
+
// @
|
|
1717
|
+
case 64:
|
|
1718
|
+
// -
|
|
1719
|
+
if (peek() === 45) characters += delimit(next());
|
|
1720
|
+
atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
|
|
1721
|
+
break;
|
|
1722
|
+
// -
|
|
1723
|
+
case 45:
|
|
1724
|
+
if (previous === 45 && strlen(characters) == 2) variable = 0;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
return rulesets;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* @param {string} value
|
|
1732
|
+
* @param {object} root
|
|
1733
|
+
* @param {object?} parent
|
|
1734
|
+
* @param {number} index
|
|
1735
|
+
* @param {number} offset
|
|
1736
|
+
* @param {string[]} rules
|
|
1737
|
+
* @param {number[]} points
|
|
1738
|
+
* @param {string} type
|
|
1739
|
+
* @param {string[]} props
|
|
1740
|
+
* @param {string[]} children
|
|
1741
|
+
* @param {number} length
|
|
1742
|
+
* @param {object[]} siblings
|
|
1743
|
+
* @return {object}
|
|
1744
|
+
*/
|
|
1745
|
+
function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
|
|
1746
|
+
var post = offset - 1;
|
|
1747
|
+
var rule = offset === 0 ? rules : [''];
|
|
1748
|
+
var size = sizeof(rule);
|
|
1749
|
+
for (var i = 0, j = 0, k = 0; i < index; ++i) for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
|
|
1750
|
+
return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* @param {number} value
|
|
1755
|
+
* @param {object} root
|
|
1756
|
+
* @param {object?} parent
|
|
1757
|
+
* @param {object[]} siblings
|
|
1758
|
+
* @return {object}
|
|
1759
|
+
*/
|
|
1760
|
+
function comment(value, root, parent, siblings) {
|
|
1761
|
+
return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
/**
|
|
1765
|
+
* @param {string} value
|
|
1766
|
+
* @param {object} root
|
|
1767
|
+
* @param {object?} parent
|
|
1768
|
+
* @param {number} length
|
|
1769
|
+
* @param {object[]} siblings
|
|
1770
|
+
* @return {object}
|
|
1771
|
+
*/
|
|
1772
|
+
function declaration(value, root, parent, length, siblings) {
|
|
1773
|
+
return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* @param {string} value
|
|
1778
|
+
* @param {number} length
|
|
1779
|
+
* @param {object[]} children
|
|
1780
|
+
* @return {string}
|
|
1781
|
+
*/
|
|
1782
|
+
function prefix(value, length, children) {
|
|
1783
|
+
switch (hash(value, length)) {
|
|
1784
|
+
// color-adjust
|
|
1785
|
+
case 5103:
|
|
1786
|
+
return WEBKIT + 'print-' + value + value;
|
|
1787
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
1788
|
+
case 5737:
|
|
1789
|
+
case 4201:
|
|
1790
|
+
case 3177:
|
|
1791
|
+
case 3433:
|
|
1792
|
+
case 1641:
|
|
1793
|
+
case 4457:
|
|
1794
|
+
case 2921:
|
|
1795
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
1796
|
+
case 5572:
|
|
1797
|
+
case 6356:
|
|
1798
|
+
case 5844:
|
|
1799
|
+
case 3191:
|
|
1800
|
+
case 6645:
|
|
1801
|
+
case 3005:
|
|
1802
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
1803
|
+
case 6391:
|
|
1804
|
+
case 5879:
|
|
1805
|
+
case 5623:
|
|
1806
|
+
case 6135:
|
|
1807
|
+
case 4599:
|
|
1808
|
+
case 4855:
|
|
1809
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
1810
|
+
case 4215:
|
|
1811
|
+
case 6389:
|
|
1812
|
+
case 5109:
|
|
1813
|
+
case 5365:
|
|
1814
|
+
case 5621:
|
|
1815
|
+
case 3829:
|
|
1816
|
+
return WEBKIT + value + value;
|
|
1817
|
+
// tab-size
|
|
1818
|
+
case 4789:
|
|
1819
|
+
return MOZ + value + value;
|
|
1820
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
1821
|
+
case 5349:
|
|
1822
|
+
case 4246:
|
|
1823
|
+
case 4810:
|
|
1824
|
+
case 6968:
|
|
1825
|
+
case 2756:
|
|
1826
|
+
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
1827
|
+
// writing-mode
|
|
1828
|
+
case 5936:
|
|
1829
|
+
switch (charat(value, length + 11)) {
|
|
1830
|
+
// vertical-l(r)
|
|
1831
|
+
case 114:
|
|
1832
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
1833
|
+
// vertical-r(l)
|
|
1834
|
+
case 108:
|
|
1835
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
1836
|
+
// horizontal(-)tb
|
|
1837
|
+
case 45:
|
|
1838
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
1839
|
+
// default: fallthrough to below
|
|
1840
|
+
}
|
|
1841
|
+
// flex, flex-direction, scroll-snap-type, writing-mode
|
|
1842
|
+
case 6828:
|
|
1843
|
+
case 4268:
|
|
1844
|
+
case 2903:
|
|
1845
|
+
return WEBKIT + value + MS + value + value;
|
|
1846
|
+
// order
|
|
1847
|
+
case 6165:
|
|
1848
|
+
return WEBKIT + value + MS + 'flex-' + value + value;
|
|
1849
|
+
// align-items
|
|
1850
|
+
case 5187:
|
|
1851
|
+
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
|
1852
|
+
// align-self
|
|
1853
|
+
case 5443:
|
|
1854
|
+
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
|
|
1855
|
+
// align-content
|
|
1856
|
+
case 4675:
|
|
1857
|
+
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
|
|
1858
|
+
// flex-shrink
|
|
1859
|
+
case 5548:
|
|
1860
|
+
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
|
1861
|
+
// flex-basis
|
|
1862
|
+
case 5292:
|
|
1863
|
+
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
|
1864
|
+
// flex-grow
|
|
1865
|
+
case 6060:
|
|
1866
|
+
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
|
1867
|
+
// transition
|
|
1868
|
+
case 4554:
|
|
1869
|
+
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
|
1870
|
+
// cursor
|
|
1871
|
+
case 6187:
|
|
1872
|
+
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
|
1873
|
+
// background, background-image
|
|
1874
|
+
case 5495:
|
|
1875
|
+
case 3959:
|
|
1876
|
+
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
|
1877
|
+
// justify-content
|
|
1878
|
+
case 4968:
|
|
1879
|
+
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
|
1880
|
+
// justify-self
|
|
1881
|
+
case 4200:
|
|
1882
|
+
if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
|
|
1883
|
+
break;
|
|
1884
|
+
// grid-template-(columns|rows)
|
|
1885
|
+
case 2592:
|
|
1886
|
+
case 3360:
|
|
1887
|
+
return MS + replace(value, 'template-', '') + value;
|
|
1888
|
+
// grid-(row|column)-start
|
|
1889
|
+
case 4384:
|
|
1890
|
+
case 3616:
|
|
1891
|
+
if (children && children.some(function (element, index) {
|
|
1892
|
+
return length = index, match(element.props, /grid-\w+-end/);
|
|
1893
|
+
})) {
|
|
1894
|
+
return ~indexof(value + (children = children[length].value), 'span', 0) ? value : MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\d+/) : +match(children, /\d+/) - +match(value, /\d+/)) + ';';
|
|
1895
|
+
}
|
|
1896
|
+
return MS + replace(value, '-start', '') + value;
|
|
1897
|
+
// grid-(row|column)-end
|
|
1898
|
+
case 4896:
|
|
1899
|
+
case 4128:
|
|
1900
|
+
return children && children.some(function (element) {
|
|
1901
|
+
return match(element.props, /grid-\w+-start/);
|
|
1902
|
+
}) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
|
|
1903
|
+
// (margin|padding)-inline-(start|end)
|
|
1904
|
+
case 4095:
|
|
1905
|
+
case 3583:
|
|
1906
|
+
case 4068:
|
|
1907
|
+
case 2532:
|
|
1908
|
+
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
|
1909
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
1910
|
+
case 8116:
|
|
1911
|
+
case 7059:
|
|
1912
|
+
case 5753:
|
|
1913
|
+
case 5535:
|
|
1914
|
+
case 5445:
|
|
1915
|
+
case 5701:
|
|
1916
|
+
case 4933:
|
|
1917
|
+
case 4677:
|
|
1918
|
+
case 5533:
|
|
1919
|
+
case 5789:
|
|
1920
|
+
case 5021:
|
|
1921
|
+
case 4765:
|
|
1922
|
+
// stretch, max-content, min-content, fill-available
|
|
1923
|
+
if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
|
|
1924
|
+
// (m)ax-content, (m)in-content
|
|
1925
|
+
case 109:
|
|
1926
|
+
// -
|
|
1927
|
+
if (charat(value, length + 4) !== 45) break;
|
|
1928
|
+
// (f)ill-available, (f)it-content
|
|
1929
|
+
case 102:
|
|
1930
|
+
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
1931
|
+
// (s)tretch
|
|
1932
|
+
case 115:
|
|
1933
|
+
return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
|
|
1934
|
+
}
|
|
1935
|
+
break;
|
|
1936
|
+
// grid-(column|row)
|
|
1937
|
+
case 5152:
|
|
1938
|
+
case 5920:
|
|
1939
|
+
return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
|
|
1940
|
+
return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
|
|
1941
|
+
});
|
|
1942
|
+
// position: sticky
|
|
1943
|
+
case 4949:
|
|
1944
|
+
// stick(y)?
|
|
1945
|
+
if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
|
|
1946
|
+
break;
|
|
1947
|
+
// display: (flex|inline-flex|grid|inline-grid)
|
|
1948
|
+
case 6444:
|
|
1949
|
+
switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
|
|
1950
|
+
// (inline-)?fle(x)
|
|
1951
|
+
case 120:
|
|
1952
|
+
return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
|
1953
|
+
// (inline-)?gri(d)
|
|
1954
|
+
case 100:
|
|
1955
|
+
return replace(value, ':', ':' + MS) + value;
|
|
1956
|
+
}
|
|
1957
|
+
break;
|
|
1958
|
+
// scroll-margin, scroll-margin-(top|right|bottom|left)
|
|
1959
|
+
case 5719:
|
|
1960
|
+
case 2647:
|
|
1961
|
+
case 2135:
|
|
1962
|
+
case 3927:
|
|
1963
|
+
case 2391:
|
|
1964
|
+
return replace(value, 'scroll-', 'scroll-snap-') + value;
|
|
1965
|
+
}
|
|
1966
|
+
return value;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* @param {object[]} children
|
|
1971
|
+
* @param {function} callback
|
|
1972
|
+
* @return {string}
|
|
1973
|
+
*/
|
|
1974
|
+
function serialize(children, callback) {
|
|
1975
|
+
var output = '';
|
|
1976
|
+
for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
|
|
1977
|
+
return output;
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* @param {object} element
|
|
1982
|
+
* @param {number} index
|
|
1983
|
+
* @param {object[]} children
|
|
1984
|
+
* @param {function} callback
|
|
1985
|
+
* @return {string}
|
|
1986
|
+
*/
|
|
1987
|
+
function stringify(element, index, children, callback) {
|
|
1988
|
+
switch (element.type) {
|
|
1989
|
+
case LAYER:
|
|
1990
|
+
if (element.children.length) break;
|
|
1991
|
+
case IMPORT:
|
|
1992
|
+
case DECLARATION:
|
|
1993
|
+
return element.return = element.return || element.value;
|
|
1994
|
+
case COMMENT:
|
|
1995
|
+
return '';
|
|
1996
|
+
case KEYFRAMES:
|
|
1997
|
+
return element.return = element.value + '{' + serialize(element.children, callback) + '}';
|
|
1998
|
+
case RULESET:
|
|
1999
|
+
if (!strlen(element.value = element.props.join(','))) return '';
|
|
2000
|
+
}
|
|
2001
|
+
return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* @param {function[]} collection
|
|
2006
|
+
* @return {function}
|
|
2007
|
+
*/
|
|
2008
|
+
function middleware(collection) {
|
|
2009
|
+
var length = sizeof(collection);
|
|
2010
|
+
return function (element, index, children, callback) {
|
|
2011
|
+
var output = '';
|
|
2012
|
+
for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
|
|
2013
|
+
return output;
|
|
2014
|
+
};
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* @param {function} callback
|
|
2019
|
+
* @return {function}
|
|
2020
|
+
*/
|
|
2021
|
+
function rulesheet(callback) {
|
|
2022
|
+
return function (element) {
|
|
2023
|
+
if (!element.root) if (element = element.return) callback(element);
|
|
2024
|
+
};
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* @param {object} element
|
|
2029
|
+
* @param {number} index
|
|
2030
|
+
* @param {object[]} children
|
|
2031
|
+
* @param {function} callback
|
|
2032
|
+
*/
|
|
2033
|
+
function prefixer(element, index, children, callback) {
|
|
2034
|
+
if (element.length > -1) if (!element.return) switch (element.type) {
|
|
2035
|
+
case DECLARATION:
|
|
2036
|
+
element.return = prefix(element.value, element.length, children);
|
|
2037
|
+
return;
|
|
2038
|
+
case KEYFRAMES:
|
|
2039
|
+
return serialize([copy(element, {
|
|
2040
|
+
value: replace(element.value, '@', '@' + WEBKIT)
|
|
2041
|
+
})], callback);
|
|
2042
|
+
case RULESET:
|
|
2043
|
+
if (element.length) return combine(children = element.props, function (value) {
|
|
2044
|
+
switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
|
|
2045
|
+
// :read-(only|write)
|
|
2046
|
+
case ':read-only':
|
|
2047
|
+
case ':read-write':
|
|
2048
|
+
lift(copy(element, {
|
|
2049
|
+
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
|
2050
|
+
}));
|
|
2051
|
+
lift(copy(element, {
|
|
2052
|
+
props: [value]
|
|
2053
|
+
}));
|
|
2054
|
+
assign(element, {
|
|
2055
|
+
props: filter(children, callback)
|
|
2056
|
+
});
|
|
2057
|
+
break;
|
|
2058
|
+
// :placeholder
|
|
2059
|
+
case '::placeholder':
|
|
2060
|
+
lift(copy(element, {
|
|
2061
|
+
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
|
2062
|
+
}));
|
|
2063
|
+
lift(copy(element, {
|
|
2064
|
+
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
|
2065
|
+
}));
|
|
2066
|
+
lift(copy(element, {
|
|
2067
|
+
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
|
2068
|
+
}));
|
|
2069
|
+
lift(copy(element, {
|
|
2070
|
+
props: [value]
|
|
2071
|
+
}));
|
|
2072
|
+
assign(element, {
|
|
2073
|
+
props: filter(children, callback)
|
|
2074
|
+
});
|
|
2075
|
+
break;
|
|
2076
|
+
}
|
|
2077
|
+
return '';
|
|
2078
|
+
});
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
var unitlessKeys = {
|
|
2083
|
+
animationIterationCount: 1,
|
|
2084
|
+
aspectRatio: 1,
|
|
2085
|
+
borderImageOutset: 1,
|
|
2086
|
+
borderImageSlice: 1,
|
|
2087
|
+
borderImageWidth: 1,
|
|
2088
|
+
boxFlex: 1,
|
|
2089
|
+
boxFlexGroup: 1,
|
|
2090
|
+
boxOrdinalGroup: 1,
|
|
2091
|
+
columnCount: 1,
|
|
2092
|
+
columns: 1,
|
|
2093
|
+
flex: 1,
|
|
2094
|
+
flexGrow: 1,
|
|
2095
|
+
flexPositive: 1,
|
|
2096
|
+
flexShrink: 1,
|
|
2097
|
+
flexNegative: 1,
|
|
2098
|
+
flexOrder: 1,
|
|
2099
|
+
gridRow: 1,
|
|
2100
|
+
gridRowEnd: 1,
|
|
2101
|
+
gridRowSpan: 1,
|
|
2102
|
+
gridRowStart: 1,
|
|
2103
|
+
gridColumn: 1,
|
|
2104
|
+
gridColumnEnd: 1,
|
|
2105
|
+
gridColumnSpan: 1,
|
|
2106
|
+
gridColumnStart: 1,
|
|
2107
|
+
msGridRow: 1,
|
|
2108
|
+
msGridRowSpan: 1,
|
|
2109
|
+
msGridColumn: 1,
|
|
2110
|
+
msGridColumnSpan: 1,
|
|
2111
|
+
fontWeight: 1,
|
|
2112
|
+
lineHeight: 1,
|
|
2113
|
+
opacity: 1,
|
|
2114
|
+
order: 1,
|
|
2115
|
+
orphans: 1,
|
|
2116
|
+
tabSize: 1,
|
|
2117
|
+
widows: 1,
|
|
2118
|
+
zIndex: 1,
|
|
2119
|
+
zoom: 1,
|
|
2120
|
+
WebkitLineClamp: 1,
|
|
2121
|
+
// SVG-related properties
|
|
2122
|
+
fillOpacity: 1,
|
|
2123
|
+
floodOpacity: 1,
|
|
2124
|
+
stopOpacity: 1,
|
|
2125
|
+
strokeDasharray: 1,
|
|
2126
|
+
strokeDashoffset: 1,
|
|
2127
|
+
strokeMiterlimit: 1,
|
|
2128
|
+
strokeOpacity: 1,
|
|
2129
|
+
strokeWidth: 1
|
|
2130
|
+
};
|
|
2131
|
+
|
|
2132
|
+
var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
2133
|
+
m = "active",
|
|
2134
|
+
y = "data-styled-version",
|
|
2135
|
+
v = "6.1.15",
|
|
2136
|
+
g = "/*!sc*/\n",
|
|
2137
|
+
S = "undefined" != typeof window && "HTMLElement" in window,
|
|
2138
|
+
w = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
|
|
2139
|
+
E = /invalid hook call/i,
|
|
2140
|
+
N = new Set(),
|
|
2141
|
+
P = function (t, n) {
|
|
2142
|
+
if ("production" !== process.env.NODE_ENV) {
|
|
2143
|
+
var r = n ? ' with the id of "'.concat(n, '"') : "",
|
|
2144
|
+
s = "The component ".concat(t).concat(r, " has been created dynamically.\n") + "You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
|
|
2145
|
+
i = console.error;
|
|
2146
|
+
try {
|
|
2147
|
+
var a = !0;
|
|
2148
|
+
console.error = function (t) {
|
|
2149
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2150
|
+
E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
|
|
2151
|
+
}, useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
|
|
2152
|
+
} catch (e) {
|
|
2153
|
+
E.test(e.message) && N.delete(s);
|
|
2154
|
+
} finally {
|
|
2155
|
+
console.error = i;
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
_ = Object.freeze([]),
|
|
2160
|
+
C = Object.freeze({});
|
|
2161
|
+
function I(e, t, n) {
|
|
2162
|
+
return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
|
|
2163
|
+
}
|
|
2164
|
+
var A = new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]),
|
|
2165
|
+
O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
2166
|
+
D = /(^-|-$)/g;
|
|
2167
|
+
function R(e) {
|
|
2168
|
+
return e.replace(O, "-").replace(D, "");
|
|
2169
|
+
}
|
|
2170
|
+
var T = /(a)(d)/gi,
|
|
2171
|
+
k = 52,
|
|
2172
|
+
j = function (e) {
|
|
2173
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
2174
|
+
};
|
|
2175
|
+
function x(e) {
|
|
2176
|
+
var t,
|
|
2177
|
+
n = "";
|
|
2178
|
+
for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
|
|
2179
|
+
return (j(t % k) + n).replace(T, "$1-$2");
|
|
2180
|
+
}
|
|
2181
|
+
var V,
|
|
2182
|
+
F = 5381,
|
|
2183
|
+
M = function (e, t) {
|
|
2184
|
+
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
2185
|
+
return e;
|
|
2186
|
+
},
|
|
2187
|
+
z = function (e) {
|
|
2188
|
+
return M(F, e);
|
|
2189
|
+
};
|
|
2190
|
+
function $(e) {
|
|
2191
|
+
return x(z(e) >>> 0);
|
|
2192
|
+
}
|
|
2193
|
+
function B(e) {
|
|
2194
|
+
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
2195
|
+
}
|
|
2196
|
+
function L(e) {
|
|
2197
|
+
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
2198
|
+
}
|
|
2199
|
+
var G = "function" == typeof Symbol && Symbol.for,
|
|
2200
|
+
Y = G ? Symbol.for("react.memo") : 60115,
|
|
2201
|
+
q = G ? Symbol.for("react.forward_ref") : 60112,
|
|
2202
|
+
W = {
|
|
2203
|
+
childContextTypes: !0,
|
|
2204
|
+
contextType: !0,
|
|
2205
|
+
contextTypes: !0,
|
|
2206
|
+
defaultProps: !0,
|
|
2207
|
+
displayName: !0,
|
|
2208
|
+
getDefaultProps: !0,
|
|
2209
|
+
getDerivedStateFromError: !0,
|
|
2210
|
+
getDerivedStateFromProps: !0,
|
|
2211
|
+
mixins: !0,
|
|
2212
|
+
propTypes: !0,
|
|
2213
|
+
type: !0
|
|
2214
|
+
},
|
|
2215
|
+
H = {
|
|
2216
|
+
name: !0,
|
|
2217
|
+
length: !0,
|
|
2218
|
+
prototype: !0,
|
|
2219
|
+
caller: !0,
|
|
2220
|
+
callee: !0,
|
|
2221
|
+
arguments: !0,
|
|
2222
|
+
arity: !0
|
|
2223
|
+
},
|
|
2224
|
+
U = {
|
|
2225
|
+
$$typeof: !0,
|
|
2226
|
+
compare: !0,
|
|
2227
|
+
defaultProps: !0,
|
|
2228
|
+
displayName: !0,
|
|
2229
|
+
propTypes: !0,
|
|
2230
|
+
type: !0
|
|
2231
|
+
},
|
|
2232
|
+
J = ((V = {})[q] = {
|
|
2233
|
+
$$typeof: !0,
|
|
2234
|
+
render: !0,
|
|
2235
|
+
defaultProps: !0,
|
|
2236
|
+
displayName: !0,
|
|
2237
|
+
propTypes: !0
|
|
2238
|
+
}, V[Y] = U, V);
|
|
2239
|
+
function X(e) {
|
|
2240
|
+
return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
|
|
2241
|
+
var t;
|
|
2242
|
+
}
|
|
2243
|
+
var Z = Object.defineProperty,
|
|
2244
|
+
K = Object.getOwnPropertyNames,
|
|
2245
|
+
Q = Object.getOwnPropertySymbols,
|
|
2246
|
+
ee = Object.getOwnPropertyDescriptor,
|
|
2247
|
+
te = Object.getPrototypeOf,
|
|
2248
|
+
ne = Object.prototype;
|
|
2249
|
+
function re(e, t, n) {
|
|
2250
|
+
if ("string" != typeof t) {
|
|
2251
|
+
if (ne) {
|
|
2252
|
+
var r = te(t);
|
|
2253
|
+
r && r !== ne && re(e, r, n);
|
|
2254
|
+
}
|
|
2255
|
+
var o = K(t);
|
|
2256
|
+
Q && (o = o.concat(Q(t)));
|
|
2257
|
+
for (var s = X(e), i = X(t), a = 0; a < o.length; ++a) {
|
|
2258
|
+
var c = o[a];
|
|
2259
|
+
if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
|
|
2260
|
+
var l = ee(t, c);
|
|
2261
|
+
try {
|
|
2262
|
+
Z(e, c, l);
|
|
2263
|
+
} catch (e) {}
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
return e;
|
|
2268
|
+
}
|
|
2269
|
+
function oe(e) {
|
|
2270
|
+
return "function" == typeof e;
|
|
2271
|
+
}
|
|
2272
|
+
function se(e) {
|
|
2273
|
+
return "object" == typeof e && "styledComponentId" in e;
|
|
2274
|
+
}
|
|
2275
|
+
function ie(e, t) {
|
|
2276
|
+
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
|
|
2277
|
+
}
|
|
2278
|
+
function ae(e, t) {
|
|
2279
|
+
if (0 === e.length) return "";
|
|
2280
|
+
for (var n = e[0], r = 1; r < e.length; r++) n += t ? t + e[r] : e[r];
|
|
2281
|
+
return n;
|
|
2282
|
+
}
|
|
2283
|
+
function ce(e) {
|
|
2284
|
+
return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
|
|
2285
|
+
}
|
|
2286
|
+
function le(e, t, n) {
|
|
2287
|
+
if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
|
|
2288
|
+
if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = le(e[r], t[r]);else if (ce(t)) for (var r in t) e[r] = le(e[r], t[r]);
|
|
2289
|
+
return e;
|
|
2290
|
+
}
|
|
2291
|
+
function ue(e, t) {
|
|
2292
|
+
Object.defineProperty(e, "toString", {
|
|
2293
|
+
value: t
|
|
2294
|
+
});
|
|
2295
|
+
}
|
|
2296
|
+
var pe = "production" !== process.env.NODE_ENV ? {
|
|
2297
|
+
1: "Cannot create styled-component for component: %s.\n\n",
|
|
2298
|
+
2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
|
|
2299
|
+
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
2300
|
+
4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
|
|
2301
|
+
5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
|
|
2302
|
+
6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
|
|
2303
|
+
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
2304
|
+
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
2305
|
+
9: "Missing document `<head>`\n\n",
|
|
2306
|
+
10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
|
|
2307
|
+
11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
|
|
2308
|
+
12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
|
|
2309
|
+
13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
|
|
2310
|
+
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
2311
|
+
15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
|
|
2312
|
+
16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
|
|
2313
|
+
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
|
|
2314
|
+
18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
|
|
2315
|
+
} : {};
|
|
2316
|
+
function de() {
|
|
2317
|
+
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
2318
|
+
for (var n = e[0], r = [], o = 1, s = e.length; o < s; o += 1) r.push(e[o]);
|
|
2319
|
+
return r.forEach(function (e) {
|
|
2320
|
+
n = n.replace(/%[a-z]/, e);
|
|
2321
|
+
}), n;
|
|
2322
|
+
}
|
|
2323
|
+
function he(t) {
|
|
2324
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2325
|
+
return "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t, " for more information.").concat(n.length > 0 ? " Args: ".concat(n.join(", ")) : "")) : new Error(de.apply(void 0, __spreadArray([pe[t]], n, !1)).trim());
|
|
2326
|
+
}
|
|
2327
|
+
var fe = function () {
|
|
2328
|
+
function e(e) {
|
|
2329
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
2330
|
+
}
|
|
2331
|
+
return e.prototype.indexOfGroup = function (e) {
|
|
2332
|
+
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
2333
|
+
return t;
|
|
2334
|
+
}, e.prototype.insertRules = function (e, t) {
|
|
2335
|
+
if (e >= this.groupSizes.length) {
|
|
2336
|
+
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) if ((o <<= 1) < 0) throw he(16, "".concat(e));
|
|
2337
|
+
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
2338
|
+
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
2339
|
+
}
|
|
2340
|
+
for (var i = this.indexOfGroup(e + 1), a = (s = 0, t.length); s < a; s++) this.tag.insertRule(i, t[s]) && (this.groupSizes[e]++, i++);
|
|
2341
|
+
}, e.prototype.clearGroup = function (e) {
|
|
2342
|
+
if (e < this.length) {
|
|
2343
|
+
var t = this.groupSizes[e],
|
|
2344
|
+
n = this.indexOfGroup(e),
|
|
2345
|
+
r = n + t;
|
|
2346
|
+
this.groupSizes[e] = 0;
|
|
2347
|
+
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
2348
|
+
}
|
|
2349
|
+
}, e.prototype.getGroup = function (e) {
|
|
2350
|
+
var t = "";
|
|
2351
|
+
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
2352
|
+
for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += "".concat(this.tag.getRule(s)).concat(g);
|
|
2353
|
+
return t;
|
|
2354
|
+
}, e;
|
|
2355
|
+
}(),
|
|
2356
|
+
me = 1 << 30,
|
|
2357
|
+
ye = new Map(),
|
|
2358
|
+
ve = new Map(),
|
|
2359
|
+
ge = 1,
|
|
2360
|
+
Se = function (e) {
|
|
2361
|
+
if (ye.has(e)) return ye.get(e);
|
|
2362
|
+
for (; ve.has(ge);) ge++;
|
|
2363
|
+
var t = ge++;
|
|
2364
|
+
if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > me)) throw he(16, "".concat(t));
|
|
2365
|
+
return ye.set(e, t), ve.set(t, e), t;
|
|
2366
|
+
},
|
|
2367
|
+
we = function (e, t) {
|
|
2368
|
+
ge = t + 1, ye.set(e, t), ve.set(t, e);
|
|
2369
|
+
},
|
|
2370
|
+
be = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
|
|
2371
|
+
Ee = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
|
|
2372
|
+
Ne = function (e, t, n) {
|
|
2373
|
+
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
2374
|
+
},
|
|
2375
|
+
Pe = function (e, t) {
|
|
2376
|
+
for (var n, r = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), o = [], s = 0, i = r.length; s < i; s++) {
|
|
2377
|
+
var a = r[s].trim();
|
|
2378
|
+
if (a) {
|
|
2379
|
+
var c = a.match(Ee);
|
|
2380
|
+
if (c) {
|
|
2381
|
+
var l = 0 | parseInt(c[1], 10),
|
|
2382
|
+
u = c[2];
|
|
2383
|
+
0 !== l && (we(u, l), Ne(e, u, c[3]), e.getTag().insertRules(l, o)), o.length = 0;
|
|
2384
|
+
} else o.push(a);
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
_e = function (e) {
|
|
2389
|
+
for (var t = document.querySelectorAll(be), n = 0, r = t.length; n < r; n++) {
|
|
2390
|
+
var o = t[n];
|
|
2391
|
+
o && o.getAttribute(f) !== m && (Pe(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
2392
|
+
}
|
|
2393
|
+
};
|
|
2394
|
+
function Ce() {
|
|
2395
|
+
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
2396
|
+
}
|
|
2397
|
+
var Ie = function (e) {
|
|
2398
|
+
var t = document.head,
|
|
2399
|
+
n = e || t,
|
|
2400
|
+
r = document.createElement("style"),
|
|
2401
|
+
o = function (e) {
|
|
2402
|
+
var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
|
|
2403
|
+
return t[t.length - 1];
|
|
2404
|
+
}(n),
|
|
2405
|
+
s = void 0 !== o ? o.nextSibling : null;
|
|
2406
|
+
r.setAttribute(f, m), r.setAttribute(y, v);
|
|
2407
|
+
var i = Ce();
|
|
2408
|
+
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
2409
|
+
},
|
|
2410
|
+
Ae = function () {
|
|
2411
|
+
function e(e) {
|
|
2412
|
+
this.element = Ie(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
2413
|
+
if (e.sheet) return e.sheet;
|
|
2414
|
+
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
2415
|
+
var o = t[n];
|
|
2416
|
+
if (o.ownerNode === e) return o;
|
|
2417
|
+
}
|
|
2418
|
+
throw he(17);
|
|
2419
|
+
}(this.element), this.length = 0;
|
|
2420
|
+
}
|
|
2421
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2422
|
+
try {
|
|
2423
|
+
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
2424
|
+
} catch (e) {
|
|
2425
|
+
return !1;
|
|
2426
|
+
}
|
|
2427
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2428
|
+
this.sheet.deleteRule(e), this.length--;
|
|
2429
|
+
}, e.prototype.getRule = function (e) {
|
|
2430
|
+
var t = this.sheet.cssRules[e];
|
|
2431
|
+
return t && t.cssText ? t.cssText : "";
|
|
2432
|
+
}, e;
|
|
2433
|
+
}(),
|
|
2434
|
+
Oe = function () {
|
|
2435
|
+
function e(e) {
|
|
2436
|
+
this.element = Ie(e), this.nodes = this.element.childNodes, this.length = 0;
|
|
2437
|
+
}
|
|
2438
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2439
|
+
if (e <= this.length && e >= 0) {
|
|
2440
|
+
var n = document.createTextNode(t);
|
|
2441
|
+
return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
|
|
2442
|
+
}
|
|
2443
|
+
return !1;
|
|
2444
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2445
|
+
this.element.removeChild(this.nodes[e]), this.length--;
|
|
2446
|
+
}, e.prototype.getRule = function (e) {
|
|
2447
|
+
return e < this.length ? this.nodes[e].textContent : "";
|
|
2448
|
+
}, e;
|
|
2449
|
+
}(),
|
|
2450
|
+
De = function () {
|
|
2451
|
+
function e(e) {
|
|
2452
|
+
this.rules = [], this.length = 0;
|
|
2453
|
+
}
|
|
2454
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2455
|
+
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
2456
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2457
|
+
this.rules.splice(e, 1), this.length--;
|
|
2458
|
+
}, e.prototype.getRule = function (e) {
|
|
2459
|
+
return e < this.length ? this.rules[e] : "";
|
|
2460
|
+
}, e;
|
|
2461
|
+
}(),
|
|
2462
|
+
Re = S,
|
|
2463
|
+
Te = {
|
|
2464
|
+
isServer: !S,
|
|
2465
|
+
useCSSOMInjection: !w
|
|
2466
|
+
},
|
|
2467
|
+
ke = function () {
|
|
2468
|
+
function e(e, n, r) {
|
|
2469
|
+
void 0 === e && (e = C), void 0 === n && (n = {});
|
|
2470
|
+
var o = this;
|
|
2471
|
+
this.options = __assign(__assign({}, Te), e), this.gs = n, this.names = new Map(r), this.server = !!e.isServer, !this.server && S && Re && (Re = !1, _e(this)), ue(this, function () {
|
|
2472
|
+
return function (e) {
|
|
2473
|
+
for (var t = e.getTag(), n = t.length, r = "", o = function (n) {
|
|
2474
|
+
var o = function (e) {
|
|
2475
|
+
return ve.get(e);
|
|
2476
|
+
}(n);
|
|
2477
|
+
if (void 0 === o) return "continue";
|
|
2478
|
+
var s = e.names.get(o),
|
|
2479
|
+
i = t.getGroup(n);
|
|
2480
|
+
if (void 0 === s || !s.size || 0 === i.length) return "continue";
|
|
2481
|
+
var a = "".concat(f, ".g").concat(n, '[id="').concat(o, '"]'),
|
|
2482
|
+
c = "";
|
|
2483
|
+
void 0 !== s && s.forEach(function (e) {
|
|
2484
|
+
e.length > 0 && (c += "".concat(e, ","));
|
|
2485
|
+
}), r += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
|
|
2486
|
+
}, s = 0; s < n; s++) o(s);
|
|
2487
|
+
return r;
|
|
2488
|
+
}(o);
|
|
2489
|
+
});
|
|
2490
|
+
}
|
|
2491
|
+
return e.registerId = function (e) {
|
|
2492
|
+
return Se(e);
|
|
2493
|
+
}, e.prototype.rehydrate = function () {
|
|
2494
|
+
!this.server && S && _e(this);
|
|
2495
|
+
}, e.prototype.reconstructWithOptions = function (n, r) {
|
|
2496
|
+
return void 0 === r && (r = !0), new e(__assign(__assign({}, this.options), n), this.gs, r && this.names || void 0);
|
|
2497
|
+
}, e.prototype.allocateGSInstance = function (e) {
|
|
2498
|
+
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
2499
|
+
}, e.prototype.getTag = function () {
|
|
2500
|
+
return this.tag || (this.tag = (e = function (e) {
|
|
2501
|
+
var t = e.useCSSOMInjection,
|
|
2502
|
+
n = e.target;
|
|
2503
|
+
return e.isServer ? new De(n) : t ? new Ae(n) : new Oe(n);
|
|
2504
|
+
}(this.options), new fe(e)));
|
|
2505
|
+
var e;
|
|
2506
|
+
}, e.prototype.hasNameForId = function (e, t) {
|
|
2507
|
+
return this.names.has(e) && this.names.get(e).has(t);
|
|
2508
|
+
}, e.prototype.registerName = function (e, t) {
|
|
2509
|
+
if (Se(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
2510
|
+
var n = new Set();
|
|
2511
|
+
n.add(t), this.names.set(e, n);
|
|
2512
|
+
}
|
|
2513
|
+
}, e.prototype.insertRules = function (e, t, n) {
|
|
2514
|
+
this.registerName(e, t), this.getTag().insertRules(Se(e), n);
|
|
2515
|
+
}, e.prototype.clearNames = function (e) {
|
|
2516
|
+
this.names.has(e) && this.names.get(e).clear();
|
|
2517
|
+
}, e.prototype.clearRules = function (e) {
|
|
2518
|
+
this.getTag().clearGroup(Se(e)), this.clearNames(e);
|
|
2519
|
+
}, e.prototype.clearTag = function () {
|
|
2520
|
+
this.tag = void 0;
|
|
2521
|
+
}, e;
|
|
2522
|
+
}(),
|
|
2523
|
+
je = /&/g,
|
|
2524
|
+
xe = /^\s*\/\/.*$/gm;
|
|
2525
|
+
function Ve(e, t) {
|
|
2526
|
+
return e.map(function (e) {
|
|
2527
|
+
return "rule" === e.type && (e.value = "".concat(t, " ").concat(e.value), e.value = e.value.replaceAll(",", ",".concat(t, " ")), e.props = e.props.map(function (e) {
|
|
2528
|
+
return "".concat(t, " ").concat(e);
|
|
2529
|
+
})), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = Ve(e.children, t)), e;
|
|
2530
|
+
});
|
|
2531
|
+
}
|
|
2532
|
+
function Fe(e) {
|
|
2533
|
+
var t,
|
|
2534
|
+
n,
|
|
2535
|
+
r,
|
|
2536
|
+
o = void 0 === e ? C : e,
|
|
2537
|
+
s = o.options,
|
|
2538
|
+
i = void 0 === s ? C : s,
|
|
2539
|
+
a = o.plugins,
|
|
2540
|
+
c = void 0 === a ? _ : a,
|
|
2541
|
+
l = function (e, r, o) {
|
|
2542
|
+
return o.startsWith(n) && o.endsWith(n) && o.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
|
|
2543
|
+
},
|
|
2544
|
+
u = c.slice();
|
|
2545
|
+
u.push(function (e) {
|
|
2546
|
+
e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(je, n).replace(r, l));
|
|
2547
|
+
}), i.prefix && u.push(prefixer), u.push(stringify);
|
|
2548
|
+
var p = function (e, o, s, a) {
|
|
2549
|
+
void 0 === o && (o = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = o, r = new RegExp("\\".concat(n, "\\b"), "g");
|
|
2550
|
+
var c = e.replace(xe, ""),
|
|
2551
|
+
l = compile(s || o ? "".concat(s, " ").concat(o, " { ").concat(c, " }") : c);
|
|
2552
|
+
i.namespace && (l = Ve(l, i.namespace));
|
|
2553
|
+
var p = [];
|
|
2554
|
+
return serialize(l, middleware(u.concat(rulesheet(function (e) {
|
|
2555
|
+
return p.push(e);
|
|
2556
|
+
})))), p;
|
|
2557
|
+
};
|
|
2558
|
+
return p.hash = c.length ? c.reduce(function (e, t) {
|
|
2559
|
+
return t.name || he(15), M(e, t.name);
|
|
2560
|
+
}, F).toString() : "", p;
|
|
2561
|
+
}
|
|
2562
|
+
var Me = new ke(),
|
|
2563
|
+
ze = Fe(),
|
|
2564
|
+
$e = /*#__PURE__*/React.createContext({
|
|
2565
|
+
shouldForwardProp: void 0,
|
|
2566
|
+
styleSheet: Me,
|
|
2567
|
+
stylis: ze
|
|
2568
|
+
});
|
|
2569
|
+
$e.Consumer;
|
|
2570
|
+
function Ge() {
|
|
2571
|
+
return useContext($e);
|
|
2572
|
+
}
|
|
2573
|
+
var qe = function () {
|
|
2574
|
+
function e(e, t) {
|
|
2575
|
+
var n = this;
|
|
2576
|
+
this.inject = function (e, t) {
|
|
2577
|
+
void 0 === t && (t = ze);
|
|
2578
|
+
var r = n.name + t.hash;
|
|
2579
|
+
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
2580
|
+
}, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
|
|
2581
|
+
throw he(12, String(n.name));
|
|
2582
|
+
});
|
|
2583
|
+
}
|
|
2584
|
+
return e.prototype.getName = function (e) {
|
|
2585
|
+
return void 0 === e && (e = ze), this.name + e.hash;
|
|
2586
|
+
}, e;
|
|
2587
|
+
}(),
|
|
2588
|
+
We = function (e) {
|
|
2589
|
+
return e >= "A" && e <= "Z";
|
|
2590
|
+
};
|
|
2591
|
+
function He(e) {
|
|
2592
|
+
for (var t = "", n = 0; n < e.length; n++) {
|
|
2593
|
+
var r = e[n];
|
|
2594
|
+
if (1 === n && "-" === r && "-" === e[0]) return e;
|
|
2595
|
+
We(r) ? t += "-" + r.toLowerCase() : t += r;
|
|
2596
|
+
}
|
|
2597
|
+
return t.startsWith("ms-") ? "-" + t : t;
|
|
2598
|
+
}
|
|
2599
|
+
var Ue = function (e) {
|
|
2600
|
+
return null == e || !1 === e || "" === e;
|
|
2601
|
+
},
|
|
2602
|
+
Je = function (t) {
|
|
2603
|
+
var n,
|
|
2604
|
+
r,
|
|
2605
|
+
o = [];
|
|
2606
|
+
for (var s in t) {
|
|
2607
|
+
var i = t[s];
|
|
2608
|
+
t.hasOwnProperty(s) && !Ue(i) && (Array.isArray(i) && i.isCss || oe(i) ? o.push("".concat(He(s), ":"), i, ";") : ce(i) ? o.push.apply(o, __spreadArray(__spreadArray(["".concat(s, " {")], Je(i), !1), ["}"], !1)) : o.push("".concat(He(s), ": ").concat((n = s, null == (r = i) || "boolean" == typeof r || "" === r ? "" : "number" != typeof r || 0 === r || n in unitlessKeys || n.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
|
|
2609
|
+
}
|
|
2610
|
+
return o;
|
|
2611
|
+
};
|
|
2612
|
+
function Xe(e, t, n, r) {
|
|
2613
|
+
if (Ue(e)) return [];
|
|
2614
|
+
if (se(e)) return [".".concat(e.styledComponentId)];
|
|
2615
|
+
if (oe(e)) {
|
|
2616
|
+
if (!oe(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
|
|
2617
|
+
var o = e(t);
|
|
2618
|
+
return "production" === process.env.NODE_ENV || "object" != typeof o || Array.isArray(o) || o instanceof qe || ce(o) || null === o || console.error("".concat(B(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Xe(o, t, n, r);
|
|
2619
|
+
}
|
|
2620
|
+
var s;
|
|
2621
|
+
return e instanceof qe ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : ce(e) ? Je(e) : Array.isArray(e) ? Array.prototype.concat.apply(_, e.map(function (e) {
|
|
2622
|
+
return Xe(e, t, n, r);
|
|
2623
|
+
})) : [e.toString()];
|
|
2624
|
+
}
|
|
2625
|
+
function Ze(e) {
|
|
2626
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
2627
|
+
var n = e[t];
|
|
2628
|
+
if (oe(n) && !se(n)) return !1;
|
|
2629
|
+
}
|
|
2630
|
+
return !0;
|
|
2631
|
+
}
|
|
2632
|
+
var Ke = z(v),
|
|
2633
|
+
Qe = function () {
|
|
2634
|
+
function e(e, t, n) {
|
|
2635
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && Ze(e), this.componentId = t, this.baseHash = M(Ke, t), this.baseStyle = n, ke.registerId(t);
|
|
2636
|
+
}
|
|
2637
|
+
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
2638
|
+
var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
|
|
2639
|
+
if (this.isStatic && !n.hash) {
|
|
2640
|
+
if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) r = ie(r, this.staticRulesId);else {
|
|
2641
|
+
var o = ae(Xe(this.rules, e, t, n)),
|
|
2642
|
+
s = x(M(this.baseHash, o) >>> 0);
|
|
2643
|
+
if (!t.hasNameForId(this.componentId, s)) {
|
|
2644
|
+
var i = n(o, ".".concat(s), void 0, this.componentId);
|
|
2645
|
+
t.insertRules(this.componentId, s, i);
|
|
2646
|
+
}
|
|
2647
|
+
r = ie(r, s), this.staticRulesId = s;
|
|
2648
|
+
}
|
|
2649
|
+
} else {
|
|
2650
|
+
for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
|
|
2651
|
+
var u = this.rules[l];
|
|
2652
|
+
if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
|
|
2653
|
+
var p = ae(Xe(u, e, t, n));
|
|
2654
|
+
a = M(a, p + l), c += p;
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
if (c) {
|
|
2658
|
+
var d = x(a >>> 0);
|
|
2659
|
+
t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), r = ie(r, d);
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
return r;
|
|
2663
|
+
}, e;
|
|
2664
|
+
}(),
|
|
2665
|
+
et = /*#__PURE__*/React.createContext(void 0);
|
|
2666
|
+
et.Consumer;
|
|
2667
|
+
var ot = {},
|
|
2668
|
+
st = new Set();
|
|
2669
|
+
function it(e, o, s) {
|
|
2670
|
+
var i = se(e),
|
|
2671
|
+
a = e,
|
|
2672
|
+
c = !L(e),
|
|
2673
|
+
p = o.attrs,
|
|
2674
|
+
d = void 0 === p ? _ : p,
|
|
2675
|
+
h = o.componentId,
|
|
2676
|
+
f = void 0 === h ? function (e, t) {
|
|
2677
|
+
var n = "string" != typeof e ? "sc" : R(e);
|
|
2678
|
+
ot[n] = (ot[n] || 0) + 1;
|
|
2679
|
+
var r = "".concat(n, "-").concat($(v + n + ot[n]));
|
|
2680
|
+
return t ? "".concat(t, "-").concat(r) : r;
|
|
2681
|
+
}(o.displayName, o.parentComponentId) : h,
|
|
2682
|
+
m = o.displayName,
|
|
2683
|
+
y = void 0 === m ? function (e) {
|
|
2684
|
+
return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
|
|
2685
|
+
}(e) : m,
|
|
2686
|
+
g = o.displayName && o.componentId ? "".concat(R(o.displayName), "-").concat(o.componentId) : o.componentId || f,
|
|
2687
|
+
S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
|
|
2688
|
+
w = o.shouldForwardProp;
|
|
2689
|
+
if (i && a.shouldForwardProp) {
|
|
2690
|
+
var b = a.shouldForwardProp;
|
|
2691
|
+
if (o.shouldForwardProp) {
|
|
2692
|
+
var E = o.shouldForwardProp;
|
|
2693
|
+
w = function (e, t) {
|
|
2694
|
+
return b(e, t) && E(e, t);
|
|
2695
|
+
};
|
|
2696
|
+
} else w = b;
|
|
2697
|
+
}
|
|
2698
|
+
var N = new Qe(s, g, i ? a.componentStyle : void 0);
|
|
2699
|
+
function O(e, o) {
|
|
2700
|
+
return function (e, o, s) {
|
|
2701
|
+
var i = e.attrs,
|
|
2702
|
+
a = e.componentStyle,
|
|
2703
|
+
c = e.defaultProps,
|
|
2704
|
+
p = e.foldedComponentIds,
|
|
2705
|
+
d = e.styledComponentId,
|
|
2706
|
+
h = e.target,
|
|
2707
|
+
f = React.useContext(et),
|
|
2708
|
+
m = Ge(),
|
|
2709
|
+
y = e.shouldForwardProp || m.shouldForwardProp;
|
|
2710
|
+
"production" !== process.env.NODE_ENV && useDebugValue(d);
|
|
2711
|
+
var v = I(o, f, c) || C,
|
|
2712
|
+
g = function (e, n, r) {
|
|
2713
|
+
for (var o, s = __assign(__assign({}, n), {
|
|
2714
|
+
className: void 0,
|
|
2715
|
+
theme: r
|
|
2716
|
+
}), i = 0; i < e.length; i += 1) {
|
|
2717
|
+
var a = oe(o = e[i]) ? o(s) : o;
|
|
2718
|
+
for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
|
|
2719
|
+
}
|
|
2720
|
+
return n.className && (s.className = ie(s.className, n.className)), s;
|
|
2721
|
+
}(i, o, v),
|
|
2722
|
+
S = g.as || h,
|
|
2723
|
+
w = {};
|
|
2724
|
+
for (var b in g) void 0 === g[b] || "$" === b[0] || "as" === b || "theme" === b && g.theme === v || ("forwardedAs" === b ? w.as = g.forwardedAs : y && !y(b, S) || (w[b] = g[b], y || "development" !== process.env.NODE_ENV || isPropValid(b) || st.has(b) || !A.has(S) || (st.add(b), console.warn('styled-components: it looks like an unknown prop "'.concat(b, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
2725
|
+
var E = function (e, t) {
|
|
2726
|
+
var n = Ge(),
|
|
2727
|
+
r = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
|
|
2728
|
+
return "production" !== process.env.NODE_ENV && useDebugValue(r), r;
|
|
2729
|
+
}(a, g);
|
|
2730
|
+
"production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
|
|
2731
|
+
var N = ie(p, d);
|
|
2732
|
+
return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, s && (w.ref = s), /*#__PURE__*/createElement(S, w);
|
|
2733
|
+
}(D, e, o);
|
|
2734
|
+
}
|
|
2735
|
+
O.displayName = y;
|
|
2736
|
+
var D = /*#__PURE__*/React.forwardRef(O);
|
|
2737
|
+
return D.attrs = S, D.componentStyle = N, D.displayName = y, D.shouldForwardProp = w, D.foldedComponentIds = i ? ie(a.foldedComponentIds, a.styledComponentId) : "", D.styledComponentId = g, D.target = i ? a.target : e, Object.defineProperty(D, "defaultProps", {
|
|
2738
|
+
get: function () {
|
|
2739
|
+
return this._foldedDefaultProps;
|
|
2740
|
+
},
|
|
2741
|
+
set: function (e) {
|
|
2742
|
+
this._foldedDefaultProps = i ? function (e) {
|
|
2743
|
+
for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
2744
|
+
for (var r = 0, o = t; r < o.length; r++) le(e, o[r], !0);
|
|
2745
|
+
return e;
|
|
2746
|
+
}({}, a.defaultProps, e) : e;
|
|
2747
|
+
}
|
|
2748
|
+
}), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
|
|
2749
|
+
var n = {},
|
|
2750
|
+
r = !1;
|
|
2751
|
+
return function (o) {
|
|
2752
|
+
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
2753
|
+
var s = t ? ' with the id of "'.concat(t, '"') : "";
|
|
2754
|
+
console.warn("Over ".concat(200, " classes were generated for component ").concat(e).concat(s, ".\n") + "Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
|
|
2755
|
+
}
|
|
2756
|
+
};
|
|
2757
|
+
}(y, g)), ue(D, function () {
|
|
2758
|
+
return ".".concat(D.styledComponentId);
|
|
2759
|
+
}), c && re(D, e, {
|
|
2760
|
+
attrs: !0,
|
|
2761
|
+
componentStyle: !0,
|
|
2762
|
+
displayName: !0,
|
|
2763
|
+
foldedComponentIds: !0,
|
|
2764
|
+
shouldForwardProp: !0,
|
|
2765
|
+
styledComponentId: !0,
|
|
2766
|
+
target: !0
|
|
2767
|
+
}), D;
|
|
2768
|
+
}
|
|
2769
|
+
function at(e, t) {
|
|
2770
|
+
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
2771
|
+
return n;
|
|
2772
|
+
}
|
|
2773
|
+
var ct = function (e) {
|
|
2774
|
+
return Object.assign(e, {
|
|
2775
|
+
isCss: !0
|
|
2776
|
+
});
|
|
2777
|
+
};
|
|
2778
|
+
function lt(t) {
|
|
2779
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2780
|
+
if (oe(t) || ce(t)) return ct(Xe(at(_, __spreadArray([t], n, !0))));
|
|
2781
|
+
var o = t;
|
|
2782
|
+
return 0 === n.length && 1 === o.length && "string" == typeof o[0] ? Xe(o) : ct(Xe(at(o, n)));
|
|
2783
|
+
}
|
|
2784
|
+
function ut(n, r, o) {
|
|
2785
|
+
if (void 0 === o && (o = C), !r) throw he(1, r);
|
|
2786
|
+
var s = function (t) {
|
|
2787
|
+
for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
|
|
2788
|
+
return n(r, o, lt.apply(void 0, __spreadArray([t], s, !1)));
|
|
2789
|
+
};
|
|
2790
|
+
return s.attrs = function (e) {
|
|
2791
|
+
return ut(n, r, __assign(__assign({}, o), {
|
|
2792
|
+
attrs: Array.prototype.concat(o.attrs, e).filter(Boolean)
|
|
2793
|
+
}));
|
|
2794
|
+
}, s.withConfig = function (e) {
|
|
2795
|
+
return ut(n, r, __assign(__assign({}, o), e));
|
|
2796
|
+
}, s;
|
|
2797
|
+
}
|
|
2798
|
+
var pt = function (e) {
|
|
2799
|
+
return ut(it, e);
|
|
2800
|
+
},
|
|
2801
|
+
dt = pt;
|
|
2802
|
+
A.forEach(function (e) {
|
|
2803
|
+
dt[e] = pt(e);
|
|
2804
|
+
});
|
|
2805
|
+
function mt(t) {
|
|
2806
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2807
|
+
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
2808
|
+
var o = ae(lt.apply(void 0, __spreadArray([t], n, !1))),
|
|
2809
|
+
s = $(o);
|
|
2810
|
+
return new qe(s, o);
|
|
2811
|
+
}
|
|
2812
|
+
"production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
|
|
2813
|
+
var wt = "__sc-".concat(f, "__");
|
|
2814
|
+
"production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window[wt] || (window[wt] = 0), 1 === window[wt] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[wt] += 1);
|
|
2815
|
+
|
|
2816
|
+
const ButtonContainer = dt.div`
|
|
1161
2817
|
//position: relative;
|
|
1162
2818
|
display: flex;
|
|
1163
2819
|
align-items: center;
|
|
@@ -1166,7 +2822,7 @@ const ButtonContainer = styled.div`
|
|
|
1166
2822
|
width: ${props => props.width};
|
|
1167
2823
|
height: ${props => props.height};
|
|
1168
2824
|
`;
|
|
1169
|
-
const ButtonItem =
|
|
2825
|
+
const ButtonItem = dt.div`
|
|
1170
2826
|
display: flex;
|
|
1171
2827
|
align-items: center;
|
|
1172
2828
|
justify-content: center;
|
|
@@ -1196,7 +2852,7 @@ const ButtonItem = styled.div`
|
|
|
1196
2852
|
transition: background-color 0.3s, color 0.3s;
|
|
1197
2853
|
}
|
|
1198
2854
|
`;
|
|
1199
|
-
const Label$6 =
|
|
2855
|
+
const Label$6 = dt.label`
|
|
1200
2856
|
font-family: "Poppins";
|
|
1201
2857
|
font-size: 14px;
|
|
1202
2858
|
font-weight: 400;
|
|
@@ -1204,13 +2860,13 @@ const Label$6 = styled.label`
|
|
|
1204
2860
|
pointer-events: none;
|
|
1205
2861
|
user-select: none;
|
|
1206
2862
|
`;
|
|
1207
|
-
const IconWrapper$1 =
|
|
2863
|
+
const IconWrapper$1 = dt.div`
|
|
1208
2864
|
display: flex;
|
|
1209
2865
|
align-items: center;
|
|
1210
2866
|
justify-content: center;
|
|
1211
2867
|
align-content: center;
|
|
1212
2868
|
`;
|
|
1213
|
-
const InputCommit =
|
|
2869
|
+
const InputCommit = dt.input`
|
|
1214
2870
|
font-family: "Poppins", sans-serif;
|
|
1215
2871
|
border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
|
|
1216
2872
|
border-radius: 8px;
|
|
@@ -1862,7 +3518,7 @@ NoDataFoundIcon.propTypes = {
|
|
|
1862
3518
|
width: PropTypes.string
|
|
1863
3519
|
};
|
|
1864
3520
|
|
|
1865
|
-
const NoDataFoundContainer =
|
|
3521
|
+
const NoDataFoundContainer = dt.div`
|
|
1866
3522
|
font-family: "Poppins", sans-serif;
|
|
1867
3523
|
font-style: normal;
|
|
1868
3524
|
font-weight: 400;
|
|
@@ -1870,7 +3526,7 @@ const NoDataFoundContainer = styled.div`
|
|
|
1870
3526
|
flex-direction: column;
|
|
1871
3527
|
align-items: center;
|
|
1872
3528
|
`;
|
|
1873
|
-
const NoDataFoundTitle =
|
|
3529
|
+
const NoDataFoundTitle = dt.h4`
|
|
1874
3530
|
font-weight: 600;
|
|
1875
3531
|
font-size: 18px;
|
|
1876
3532
|
margin: 0;
|
|
@@ -1880,7 +3536,7 @@ const NoDataFoundTitle = styled.h4`
|
|
|
1880
3536
|
font-size: 14px;
|
|
1881
3537
|
}
|
|
1882
3538
|
`;
|
|
1883
|
-
const NoDataFoundText =
|
|
3539
|
+
const NoDataFoundText = dt.p`
|
|
1884
3540
|
font-weight: 400;
|
|
1885
3541
|
font-size: 16px;
|
|
1886
3542
|
margin: 0;
|
|
@@ -1933,7 +3589,7 @@ const scrollableStyles$a = `
|
|
|
1933
3589
|
border-radius: 5px;
|
|
1934
3590
|
}
|
|
1935
3591
|
`;
|
|
1936
|
-
const ControlsContainer$9 =
|
|
3592
|
+
const ControlsContainer$9 = dt.div`
|
|
1937
3593
|
position: relative;
|
|
1938
3594
|
font-family: "Poppins", sans-serif;
|
|
1939
3595
|
font-style: normal;
|
|
@@ -1952,7 +3608,7 @@ const ControlsContainer$9 = styled.div`
|
|
|
1952
3608
|
box-sizing: border-box;
|
|
1953
3609
|
}
|
|
1954
3610
|
`;
|
|
1955
|
-
const Controls$6 =
|
|
3611
|
+
const Controls$6 = dt.div`
|
|
1956
3612
|
display: flex;
|
|
1957
3613
|
flex-direction: column;
|
|
1958
3614
|
width: 100%;
|
|
@@ -1960,7 +3616,7 @@ const Controls$6 = styled.div`
|
|
|
1960
3616
|
background: white;
|
|
1961
3617
|
border-radius: 12px;
|
|
1962
3618
|
`;
|
|
1963
|
-
|
|
3619
|
+
dt.div`
|
|
1964
3620
|
display: flex;
|
|
1965
3621
|
background: white;
|
|
1966
3622
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
@@ -1968,7 +3624,7 @@ styled.div`
|
|
|
1968
3624
|
padding: 6px 10px;
|
|
1969
3625
|
margin: 0;
|
|
1970
3626
|
`;
|
|
1971
|
-
|
|
3627
|
+
dt.p`
|
|
1972
3628
|
color: #212121;
|
|
1973
3629
|
font-family: "Poppins", sans-serif;
|
|
1974
3630
|
font-size: 12px;
|
|
@@ -1978,12 +3634,12 @@ styled.p`
|
|
|
1978
3634
|
line-height: normal;
|
|
1979
3635
|
margin: 0;
|
|
1980
3636
|
`;
|
|
1981
|
-
const TitleAndValueContainer$4 =
|
|
3637
|
+
const TitleAndValueContainer$4 = dt.div`
|
|
1982
3638
|
display: flex;
|
|
1983
3639
|
flex-direction: column;
|
|
1984
3640
|
padding: 0 20px;
|
|
1985
3641
|
`;
|
|
1986
|
-
const Title$a =
|
|
3642
|
+
const Title$a = dt.h4`
|
|
1987
3643
|
font-weight: 400;
|
|
1988
3644
|
font-size: 18px;
|
|
1989
3645
|
margin: 0 0 8px;
|
|
@@ -1991,12 +3647,12 @@ const Title$a = styled.h4`
|
|
|
1991
3647
|
font-size: 16px;
|
|
1992
3648
|
}
|
|
1993
3649
|
`;
|
|
1994
|
-
const CurrencySignAndFormattedValueContainer$2 =
|
|
3650
|
+
const CurrencySignAndFormattedValueContainer$2 = dt.div`
|
|
1995
3651
|
display: flex;
|
|
1996
3652
|
align-items: center;
|
|
1997
3653
|
gap: 8px;
|
|
1998
3654
|
`;
|
|
1999
|
-
const FormattedValue$4 =
|
|
3655
|
+
const FormattedValue$4 = dt.h5`
|
|
2000
3656
|
font-size: 40px;
|
|
2001
3657
|
font-weight: 500;
|
|
2002
3658
|
margin: 0;
|
|
@@ -2008,17 +3664,17 @@ const FormattedValue$4 = styled.h5`
|
|
|
2008
3664
|
font-size: 20px;
|
|
2009
3665
|
}
|
|
2010
3666
|
`;
|
|
2011
|
-
const CurrencySign$2 =
|
|
3667
|
+
const CurrencySign$2 = dt.span`
|
|
2012
3668
|
font-size: 14px;
|
|
2013
3669
|
font-weight: 500;
|
|
2014
3670
|
line-height: 0;
|
|
2015
3671
|
`;
|
|
2016
|
-
const TextAfterValue$1 =
|
|
3672
|
+
const TextAfterValue$1 = dt.span`
|
|
2017
3673
|
color: #999999;
|
|
2018
3674
|
font-size: 12px;
|
|
2019
3675
|
font-weight: 400;
|
|
2020
3676
|
`;
|
|
2021
|
-
const DoughnutChartAndLegendContainer$1 =
|
|
3677
|
+
const DoughnutChartAndLegendContainer$1 = dt.div`
|
|
2022
3678
|
display: flex;
|
|
2023
3679
|
gap: 2%;
|
|
2024
3680
|
width: 86%;
|
|
@@ -2026,31 +3682,31 @@ const DoughnutChartAndLegendContainer$1 = styled.div`
|
|
|
2026
3682
|
margin: auto;
|
|
2027
3683
|
padding: 0 20px;
|
|
2028
3684
|
`;
|
|
2029
|
-
const DoughnutChartContainer$1 =
|
|
3685
|
+
const DoughnutChartContainer$1 = dt.div`
|
|
2030
3686
|
width: 50%;
|
|
2031
3687
|
`;
|
|
2032
|
-
const LegendContainer$2 =
|
|
3688
|
+
const LegendContainer$2 = dt.div`
|
|
2033
3689
|
padding-left: 10px;
|
|
2034
3690
|
display: flex;
|
|
2035
3691
|
justify-content: center;
|
|
2036
3692
|
flex-direction: column;
|
|
2037
3693
|
gap: 12px;
|
|
2038
3694
|
`;
|
|
2039
|
-
const LegendControlsContainer$1 =
|
|
3695
|
+
const LegendControlsContainer$1 = dt.div`
|
|
2040
3696
|
display: flex;
|
|
2041
3697
|
gap: 0.5rem;
|
|
2042
3698
|
align-items: center;
|
|
2043
3699
|
margin-bottom: 0.375rem;
|
|
2044
3700
|
`;
|
|
2045
|
-
const LegendTitleAndFormatedValueContainer$1 =
|
|
3701
|
+
const LegendTitleAndFormatedValueContainer$1 = dt.div`
|
|
2046
3702
|
flex-grow: 1;
|
|
2047
3703
|
`;
|
|
2048
|
-
const LegendColorRectangle$2 =
|
|
3704
|
+
const LegendColorRectangle$2 = dt.div`
|
|
2049
3705
|
width: 16px;
|
|
2050
3706
|
height: 16px;
|
|
2051
3707
|
background: ${props => props.color};
|
|
2052
3708
|
`;
|
|
2053
|
-
const LegendTitle$1 =
|
|
3709
|
+
const LegendTitle$1 = dt.h5`
|
|
2054
3710
|
font-weight: 400;
|
|
2055
3711
|
font-size: 14px;
|
|
2056
3712
|
margin: 0;
|
|
@@ -2058,12 +3714,12 @@ const LegendTitle$1 = styled.h5`
|
|
|
2058
3714
|
gap: 20px;
|
|
2059
3715
|
justify-content: space-between;
|
|
2060
3716
|
`;
|
|
2061
|
-
const LegendFormattedValue$1 =
|
|
3717
|
+
const LegendFormattedValue$1 = dt.span`
|
|
2062
3718
|
font-weight: 500;
|
|
2063
3719
|
white-space: nowrap;
|
|
2064
3720
|
`;
|
|
2065
3721
|
|
|
2066
|
-
const ControlsContainer$8 =
|
|
3722
|
+
const ControlsContainer$8 = dt.div`
|
|
2067
3723
|
display: flex;
|
|
2068
3724
|
position: relative;
|
|
2069
3725
|
margin: 0px 0 0px;
|
|
@@ -2076,7 +3732,7 @@ const ControlsContainer$8 = styled.div`
|
|
|
2076
3732
|
//border: 1px solid red;
|
|
2077
3733
|
align-items: center;
|
|
2078
3734
|
`;
|
|
2079
|
-
const Controls$5 =
|
|
3735
|
+
const Controls$5 = dt.div`
|
|
2080
3736
|
position: relative;
|
|
2081
3737
|
border-radius: 100px;
|
|
2082
3738
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
@@ -2084,7 +3740,7 @@ const Controls$5 = styled.div`
|
|
|
2084
3740
|
//background: #ffffff;
|
|
2085
3741
|
//border: 1px solid blue;
|
|
2086
3742
|
`;
|
|
2087
|
-
const BackgroundValueRectangle =
|
|
3743
|
+
const BackgroundValueRectangle = dt.div`
|
|
2088
3744
|
position: absolute;
|
|
2089
3745
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
2090
3746
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
@@ -2094,7 +3750,7 @@ const BackgroundValueRectangle = styled.div`
|
|
|
2094
3750
|
background: ${props => props.color};
|
|
2095
3751
|
//border: 1px solid orange;
|
|
2096
3752
|
`;
|
|
2097
|
-
const CurrentValueRectangle =
|
|
3753
|
+
const CurrentValueRectangle = dt.div`
|
|
2098
3754
|
position: absolute;
|
|
2099
3755
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
2100
3756
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
@@ -2108,7 +3764,7 @@ const CurrentValueRectangle = styled.div`
|
|
|
2108
3764
|
);
|
|
2109
3765
|
//border: 1px solid green;
|
|
2110
3766
|
`;
|
|
2111
|
-
const AvarageDelimiter =
|
|
3767
|
+
const AvarageDelimiter = dt.div`
|
|
2112
3768
|
position: absolute;
|
|
2113
3769
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
2114
3770
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
@@ -2118,7 +3774,7 @@ const AvarageDelimiter = styled.div`
|
|
|
2118
3774
|
`;
|
|
2119
3775
|
|
|
2120
3776
|
/* Custom properties */
|
|
2121
|
-
const TooltipContainer$2 =
|
|
3777
|
+
const TooltipContainer$2 = dt.div`
|
|
2122
3778
|
--tooltip-text-color: black;
|
|
2123
3779
|
--tooltip-background-color: white;
|
|
2124
3780
|
--tooltip-margin: 40px;
|
|
@@ -2126,13 +3782,13 @@ const TooltipContainer$2 = styled.div`
|
|
|
2126
3782
|
`;
|
|
2127
3783
|
|
|
2128
3784
|
/* Wrapping */
|
|
2129
|
-
const TooltipWrapper$2 =
|
|
3785
|
+
const TooltipWrapper$2 = dt.div`
|
|
2130
3786
|
display: inline-block;
|
|
2131
3787
|
position: relative;
|
|
2132
3788
|
`;
|
|
2133
3789
|
|
|
2134
3790
|
/* Absolute positioning */
|
|
2135
|
-
const TooltipTip$1 =
|
|
3791
|
+
const TooltipTip$1 = dt.div`
|
|
2136
3792
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
2137
3793
|
position: absolute;
|
|
2138
3794
|
border-radius: 4px;
|
|
@@ -2543,7 +4199,7 @@ PieChart.defaultProps = {
|
|
|
2543
4199
|
noDataText: 'No Data'
|
|
2544
4200
|
};
|
|
2545
4201
|
|
|
2546
|
-
const MainContainer$7 =
|
|
4202
|
+
const MainContainer$7 = dt.div`
|
|
2547
4203
|
position: relative;
|
|
2548
4204
|
font-family: "Poppins", sans-serif;
|
|
2549
4205
|
background-color: white;
|
|
@@ -2554,7 +4210,7 @@ const MainContainer$7 = styled.div`
|
|
|
2554
4210
|
border-radius: 8px;
|
|
2555
4211
|
border: 1px solid #f2f2f2;
|
|
2556
4212
|
`;
|
|
2557
|
-
const TitleWrapper$1 =
|
|
4213
|
+
const TitleWrapper$1 = dt.div`
|
|
2558
4214
|
padding: 22px 20px;
|
|
2559
4215
|
border-radius: 8px 8px 0 0;
|
|
2560
4216
|
background-color: #f7f8fa;
|
|
@@ -2562,11 +4218,11 @@ const TitleWrapper$1 = styled.div`
|
|
|
2562
4218
|
gap: 10px;
|
|
2563
4219
|
align-items: baseline;
|
|
2564
4220
|
`;
|
|
2565
|
-
const CardTitle$1 =
|
|
4221
|
+
const CardTitle$1 = dt.span`
|
|
2566
4222
|
font-size: 18px;
|
|
2567
4223
|
font-weight: 400;
|
|
2568
4224
|
`;
|
|
2569
|
-
const MainCard =
|
|
4225
|
+
const MainCard = dt.div`
|
|
2570
4226
|
padding: 20px;
|
|
2571
4227
|
flex-grow: 1;
|
|
2572
4228
|
display: flex;
|
|
@@ -2579,7 +4235,7 @@ const MainCard = styled.div`
|
|
|
2579
4235
|
}
|
|
2580
4236
|
}
|
|
2581
4237
|
`;
|
|
2582
|
-
const List =
|
|
4238
|
+
const List = dt.ul`
|
|
2583
4239
|
list-style-type: none;
|
|
2584
4240
|
padding: 0;
|
|
2585
4241
|
margin: 0 0 auto;
|
|
@@ -2594,7 +4250,7 @@ const List = styled.ul`
|
|
|
2594
4250
|
font-weight: 500;
|
|
2595
4251
|
}
|
|
2596
4252
|
`;
|
|
2597
|
-
const LinkButtonContainer$1 =
|
|
4253
|
+
const LinkButtonContainer$1 = dt.div`
|
|
2598
4254
|
margin-left: auto;
|
|
2599
4255
|
`;
|
|
2600
4256
|
|
|
@@ -2749,16 +4405,16 @@ const HannafordNewIcon = _ref => {
|
|
|
2749
4405
|
})));
|
|
2750
4406
|
};
|
|
2751
4407
|
|
|
2752
|
-
const MainContainer$6 =
|
|
4408
|
+
const MainContainer$6 = dt.div`
|
|
2753
4409
|
position: relative;
|
|
2754
4410
|
font-family: "Poppins", sans-serif;
|
|
2755
4411
|
background-color: white;
|
|
2756
4412
|
border-radius: 30px;
|
|
2757
4413
|
`;
|
|
2758
|
-
const ToggleBannersWrapper =
|
|
4414
|
+
const ToggleBannersWrapper = dt.div`
|
|
2759
4415
|
position: relative;
|
|
2760
4416
|
`;
|
|
2761
|
-
const ToggleBanners =
|
|
4417
|
+
const ToggleBanners = dt.button`
|
|
2762
4418
|
display: flex;
|
|
2763
4419
|
gap: 4px;
|
|
2764
4420
|
color: #2d8de7;
|
|
@@ -2776,7 +4432,7 @@ const ToggleBanners = styled.button`
|
|
|
2776
4432
|
white-space: nowrap;
|
|
2777
4433
|
}
|
|
2778
4434
|
`;
|
|
2779
|
-
const ArrowWrap =
|
|
4435
|
+
const ArrowWrap = dt.div`
|
|
2780
4436
|
> svg {
|
|
2781
4437
|
transform: rotate(180deg);
|
|
2782
4438
|
transition: transform 0.3s ease;
|
|
@@ -2787,7 +4443,7 @@ const ArrowWrap = styled.div`
|
|
|
2787
4443
|
}
|
|
2788
4444
|
}
|
|
2789
4445
|
`;
|
|
2790
|
-
const ToggledDropdown =
|
|
4446
|
+
const ToggledDropdown = dt.div`
|
|
2791
4447
|
position: absolute;
|
|
2792
4448
|
margin-top: 10px;
|
|
2793
4449
|
border-radius: 5px;
|
|
@@ -2797,14 +4453,14 @@ const ToggledDropdown = styled.div`
|
|
|
2797
4453
|
|
|
2798
4454
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
2799
4455
|
`;
|
|
2800
|
-
const ToggledDropdownTitle =
|
|
4456
|
+
const ToggledDropdownTitle = dt.span`
|
|
2801
4457
|
font-size: 14px;
|
|
2802
4458
|
font-weight: 600;
|
|
2803
4459
|
padding: 8px 12px;
|
|
2804
4460
|
margin-bottom: 12px;
|
|
2805
4461
|
white-space: nowrap;
|
|
2806
4462
|
`;
|
|
2807
|
-
const ToggledDropdownList =
|
|
4463
|
+
const ToggledDropdownList = dt.ul`
|
|
2808
4464
|
list-style-type: none;
|
|
2809
4465
|
padding: 0;
|
|
2810
4466
|
margin: 0;
|
|
@@ -2836,7 +4492,7 @@ const ToggledDropdownList = styled.ul`
|
|
|
2836
4492
|
}
|
|
2837
4493
|
}
|
|
2838
4494
|
`;
|
|
2839
|
-
const IconWrap =
|
|
4495
|
+
const IconWrap = dt.div`
|
|
2840
4496
|
min-width: 54px;
|
|
2841
4497
|
text-align: center;
|
|
2842
4498
|
`;
|
|
@@ -2964,7 +4620,7 @@ BannersDropdown.defaultProps = {
|
|
|
2964
4620
|
onClick: () => {}
|
|
2965
4621
|
};
|
|
2966
4622
|
|
|
2967
|
-
const LinkButtonContainer =
|
|
4623
|
+
const LinkButtonContainer = dt.div`
|
|
2968
4624
|
display: flex;
|
|
2969
4625
|
align-items: center;
|
|
2970
4626
|
justify-content: center;
|
|
@@ -2972,7 +4628,7 @@ const LinkButtonContainer = styled.div`
|
|
|
2972
4628
|
width: ${props => props.width};
|
|
2973
4629
|
height: ${props => props.height};
|
|
2974
4630
|
`;
|
|
2975
|
-
const LinkButtonItem =
|
|
4631
|
+
const LinkButtonItem = dt.div`
|
|
2976
4632
|
display: flex;
|
|
2977
4633
|
align-items: center;
|
|
2978
4634
|
justify-content: center;
|
|
@@ -2999,11 +4655,11 @@ const LinkButtonItem = styled.div`
|
|
|
2999
4655
|
transition: background-color 0.3s, color 0.3s;
|
|
3000
4656
|
}
|
|
3001
4657
|
`;
|
|
3002
|
-
const Label$5 =
|
|
4658
|
+
const Label$5 = dt.label`
|
|
3003
4659
|
user-select: none;
|
|
3004
4660
|
pointer-events: none;
|
|
3005
4661
|
`;
|
|
3006
|
-
const IconWrapper =
|
|
4662
|
+
const IconWrapper = dt.div`
|
|
3007
4663
|
display: flex;
|
|
3008
4664
|
align-items: center;
|
|
3009
4665
|
justify-content: center;
|
|
@@ -3419,7 +5075,7 @@ EventDetailsCard.defaultProps = {
|
|
|
3419
5075
|
disableViewDetailsButton: false
|
|
3420
5076
|
};
|
|
3421
5077
|
|
|
3422
|
-
const LinnerContainer$1 =
|
|
5078
|
+
const LinnerContainer$1 = dt.div`
|
|
3423
5079
|
font-family: "Poppins", sans-serif;
|
|
3424
5080
|
display: flex;
|
|
3425
5081
|
justify-content: space-between;
|
|
@@ -3428,7 +5084,7 @@ const LinnerContainer$1 = styled.div`
|
|
|
3428
5084
|
background-color: ${props => props.backgroundColor};
|
|
3429
5085
|
padding: 50px 40px 30px;
|
|
3430
5086
|
`;
|
|
3431
|
-
const DataBoxWrap =
|
|
5087
|
+
const DataBoxWrap = dt.div`
|
|
3432
5088
|
display: flex;
|
|
3433
5089
|
gap: 10px;
|
|
3434
5090
|
justify-content: space-around;
|
|
@@ -3436,45 +5092,45 @@ const DataBoxWrap = styled.div`
|
|
|
3436
5092
|
width: ${props => props.width};
|
|
3437
5093
|
height: 100%;
|
|
3438
5094
|
`;
|
|
3439
|
-
const DataBox$1 =
|
|
5095
|
+
const DataBox$1 = dt.div`
|
|
3440
5096
|
color: #212121;
|
|
3441
5097
|
font-weight: 400;
|
|
3442
5098
|
`;
|
|
3443
|
-
const DataBoxTitle$1 =
|
|
5099
|
+
const DataBoxTitle$1 = dt.span`
|
|
3444
5100
|
font-size: 18px;
|
|
3445
5101
|
font-weight: 500;
|
|
3446
5102
|
`;
|
|
3447
|
-
const DataBoxContent =
|
|
5103
|
+
const DataBoxContent = dt.div`
|
|
3448
5104
|
display: flex;
|
|
3449
5105
|
align-items: baseline;
|
|
3450
5106
|
`;
|
|
3451
|
-
const DataBoxContentSign =
|
|
5107
|
+
const DataBoxContentSign = dt.span`
|
|
3452
5108
|
font-size: 18px;
|
|
3453
5109
|
font-weight: 500;
|
|
3454
5110
|
`;
|
|
3455
|
-
const DataBoxContentValue =
|
|
5111
|
+
const DataBoxContentValue = dt.span`
|
|
3456
5112
|
font-size: 40px;
|
|
3457
5113
|
font-weight: 500;
|
|
3458
5114
|
`;
|
|
3459
|
-
const DataBoxContentNoValue =
|
|
5115
|
+
const DataBoxContentNoValue = dt.span`
|
|
3460
5116
|
font-size: 18px;
|
|
3461
5117
|
font-weight: 500;
|
|
3462
5118
|
margin: 20px auto 0;
|
|
3463
5119
|
`;
|
|
3464
|
-
|
|
5120
|
+
dt.div`
|
|
3465
5121
|
display: flex;
|
|
3466
5122
|
flex-direction: column;
|
|
3467
5123
|
`;
|
|
3468
|
-
const DataBoxExtraInfoCell =
|
|
5124
|
+
const DataBoxExtraInfoCell = dt.div`
|
|
3469
5125
|
display: flex;
|
|
3470
5126
|
gap: 5px;
|
|
3471
5127
|
`;
|
|
3472
|
-
const DataBoxExtraInfoCellTitle =
|
|
5128
|
+
const DataBoxExtraInfoCellTitle = dt.div`
|
|
3473
5129
|
color: #999;
|
|
3474
5130
|
font-size: 12px;
|
|
3475
5131
|
text-transform: uppercase;
|
|
3476
5132
|
`;
|
|
3477
|
-
const DataBoxExtraInfoCellValue =
|
|
5133
|
+
const DataBoxExtraInfoCellValue = dt.div`
|
|
3478
5134
|
color: #999;
|
|
3479
5135
|
font-size: 12px;
|
|
3480
5136
|
text-transform: uppercase;
|
|
@@ -3531,7 +5187,7 @@ LinnerDataBox.propTypes = {
|
|
|
3531
5187
|
};
|
|
3532
5188
|
LinnerDataBox.defaultProps = {
|
|
3533
5189
|
className: "",
|
|
3534
|
-
width: "
|
|
5190
|
+
width: "auto",
|
|
3535
5191
|
height: "auto",
|
|
3536
5192
|
data: [],
|
|
3537
5193
|
backgroundColor: "#FFFFFF",
|
|
@@ -3595,7 +5251,7 @@ const scrollableStyles$9 = `
|
|
|
3595
5251
|
border-radius: 5px;
|
|
3596
5252
|
}
|
|
3597
5253
|
`;
|
|
3598
|
-
const MainContainer$5 =
|
|
5254
|
+
const MainContainer$5 = dt.div`
|
|
3599
5255
|
display: flex;
|
|
3600
5256
|
flex-direction: row;
|
|
3601
5257
|
position: relative;
|
|
@@ -3609,7 +5265,7 @@ const MainContainer$5 = styled.div`
|
|
|
3609
5265
|
overflow: auto;
|
|
3610
5266
|
${scrollableStyles$9}
|
|
3611
5267
|
`;
|
|
3612
|
-
const RowTitle =
|
|
5268
|
+
const RowTitle = dt.h4`
|
|
3613
5269
|
display: flex;
|
|
3614
5270
|
justify-content: space-between;
|
|
3615
5271
|
font-weight: 500;
|
|
@@ -3622,7 +5278,7 @@ const RowTitle = styled.h4`
|
|
|
3622
5278
|
font-size: 12px;
|
|
3623
5279
|
}
|
|
3624
5280
|
`;
|
|
3625
|
-
const AllRowsContainer =
|
|
5281
|
+
const AllRowsContainer = dt.div`
|
|
3626
5282
|
display: flex;
|
|
3627
5283
|
flex-direction: column;
|
|
3628
5284
|
justify-content: space-between;
|
|
@@ -3630,13 +5286,13 @@ const AllRowsContainer = styled.div`
|
|
|
3630
5286
|
width: 100%;
|
|
3631
5287
|
height: 100%;
|
|
3632
5288
|
`;
|
|
3633
|
-
const OneRowContainer =
|
|
5289
|
+
const OneRowContainer = dt.div`
|
|
3634
5290
|
display: flex;
|
|
3635
5291
|
flex-direction: column;
|
|
3636
5292
|
width: 100%;
|
|
3637
5293
|
height: 100%;
|
|
3638
5294
|
`;
|
|
3639
|
-
const ColumnLineSeporatorContainer =
|
|
5295
|
+
const ColumnLineSeporatorContainer = dt.div`
|
|
3640
5296
|
display: flex;
|
|
3641
5297
|
flex-direction: column;
|
|
3642
5298
|
background-color: #b1b1b1;
|
|
@@ -3655,11 +5311,11 @@ const ColumnLineSeporatorContainer = styled.div`
|
|
|
3655
5311
|
width: 100%;
|
|
3656
5312
|
}
|
|
3657
5313
|
`;
|
|
3658
|
-
const ColumnLineSeporator =
|
|
5314
|
+
const ColumnLineSeporator = dt.div`
|
|
3659
5315
|
min-width: 0.5px;
|
|
3660
5316
|
width: 0.5px;
|
|
3661
5317
|
`;
|
|
3662
|
-
const FieldsContainer$1 =
|
|
5318
|
+
const FieldsContainer$1 = dt.div`
|
|
3663
5319
|
display: flex;
|
|
3664
5320
|
flex-direction: row;
|
|
3665
5321
|
justify-content: space-between;
|
|
@@ -3667,7 +5323,7 @@ const FieldsContainer$1 = styled.div`
|
|
|
3667
5323
|
height: 100%;
|
|
3668
5324
|
padding: 30px 0px;
|
|
3669
5325
|
`;
|
|
3670
|
-
const OneFieldsContainer =
|
|
5326
|
+
const OneFieldsContainer = dt.div`
|
|
3671
5327
|
display: flex;
|
|
3672
5328
|
padding: 4px;
|
|
3673
5329
|
gap: 10px;
|
|
@@ -3675,7 +5331,7 @@ const OneFieldsContainer = styled.div`
|
|
|
3675
5331
|
justify-content: flex-start;
|
|
3676
5332
|
// padding: ${props => props.padding}; //0 0 0 40px;
|
|
3677
5333
|
`;
|
|
3678
|
-
const FieldTitle =
|
|
5334
|
+
const FieldTitle = dt.h4`
|
|
3679
5335
|
font-size: 18px;
|
|
3680
5336
|
font-weight: 400;
|
|
3681
5337
|
margin: 0;
|
|
@@ -3686,7 +5342,7 @@ const FieldTitle = styled.h4`
|
|
|
3686
5342
|
font-size: 12px;
|
|
3687
5343
|
}
|
|
3688
5344
|
`;
|
|
3689
|
-
const FormattedValue$3 =
|
|
5345
|
+
const FormattedValue$3 = dt.div`
|
|
3690
5346
|
font-weight: 400;
|
|
3691
5347
|
font-size: 40px;
|
|
3692
5348
|
display: flex;
|
|
@@ -3700,7 +5356,7 @@ const FormattedValue$3 = styled.div`
|
|
|
3700
5356
|
font-size: 20px;
|
|
3701
5357
|
}
|
|
3702
5358
|
`;
|
|
3703
|
-
const TextBeforeAndAfterValue$1 =
|
|
5359
|
+
const TextBeforeAndAfterValue$1 = dt.span`
|
|
3704
5360
|
font-weight: 400;
|
|
3705
5361
|
font-size: 16px;
|
|
3706
5362
|
@media (max-width: 1536px) {
|
|
@@ -3710,26 +5366,26 @@ const TextBeforeAndAfterValue$1 = styled.span`
|
|
|
3710
5366
|
font-size: 11px;
|
|
3711
5367
|
}
|
|
3712
5368
|
`;
|
|
3713
|
-
const FieldTitleAndValueSubContainer =
|
|
5369
|
+
const FieldTitleAndValueSubContainer = dt.div`
|
|
3714
5370
|
display: flex;
|
|
3715
5371
|
justify-content: space-around;
|
|
3716
5372
|
flex-direction: column;
|
|
3717
5373
|
flex-wrap: wrap;
|
|
3718
5374
|
width: 100%;
|
|
3719
5375
|
`;
|
|
3720
|
-
const InfoTextContainer$1 =
|
|
5376
|
+
const InfoTextContainer$1 = dt.div`
|
|
3721
5377
|
display: flex;
|
|
3722
5378
|
flex-direction: row;
|
|
3723
5379
|
width: 100%;
|
|
3724
5380
|
height: 100%;
|
|
3725
5381
|
overflow:auto;
|
|
3726
5382
|
`;
|
|
3727
|
-
const IconContainer$5 =
|
|
5383
|
+
const IconContainer$5 = dt.div`
|
|
3728
5384
|
display: flex;
|
|
3729
5385
|
padding: 5px 10px 0 0;
|
|
3730
5386
|
cursor: pointer;
|
|
3731
5387
|
`;
|
|
3732
|
-
const InfoTextLabel$1 =
|
|
5388
|
+
const InfoTextLabel$1 = dt.div`
|
|
3733
5389
|
color: black;
|
|
3734
5390
|
font-size: 18px;
|
|
3735
5391
|
line-height: 24px;
|
|
@@ -3758,7 +5414,7 @@ const InfoTextLabel$1 = styled.div`
|
|
|
3758
5414
|
}
|
|
3759
5415
|
};
|
|
3760
5416
|
`;
|
|
3761
|
-
const OutBanner$2 =
|
|
5417
|
+
const OutBanner$2 = dt.div`
|
|
3762
5418
|
display: flex;
|
|
3763
5419
|
gap: 8px;
|
|
3764
5420
|
align-items: center;
|
|
@@ -3890,7 +5546,7 @@ MarketShareDescription.defaultProps = {
|
|
|
3890
5546
|
dotCut: false
|
|
3891
5547
|
};
|
|
3892
5548
|
|
|
3893
|
-
const SagIconButtonWrapper =
|
|
5549
|
+
const SagIconButtonWrapper = dt.button`
|
|
3894
5550
|
height: ${props => props.height};
|
|
3895
5551
|
font-size: 14px;
|
|
3896
5552
|
font-weight: 400;
|
|
@@ -3910,7 +5566,7 @@ const SagIconButtonWrapper = styled.button`
|
|
|
3910
5566
|
box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
|
|
3911
5567
|
}
|
|
3912
5568
|
`;
|
|
3913
|
-
const SpanText$1 =
|
|
5569
|
+
const SpanText$1 = dt.span`
|
|
3914
5570
|
`;
|
|
3915
5571
|
|
|
3916
5572
|
const SagIconButton = props => {
|
|
@@ -4038,7 +5694,7 @@ SagIconButton.defaultProps = {
|
|
|
4038
5694
|
onButtonClick: () => {}
|
|
4039
5695
|
};
|
|
4040
5696
|
|
|
4041
|
-
const TextFieldContainer =
|
|
5697
|
+
const TextFieldContainer = dt.div`
|
|
4042
5698
|
position: relative;
|
|
4043
5699
|
width: ${props => props.width};
|
|
4044
5700
|
> svg {
|
|
@@ -4049,7 +5705,7 @@ const TextFieldContainer = styled.div`
|
|
|
4049
5705
|
|
|
4050
5706
|
}
|
|
4051
5707
|
`;
|
|
4052
|
-
const TextFieldInput =
|
|
5708
|
+
const TextFieldInput = dt.input`
|
|
4053
5709
|
width: 100%;
|
|
4054
5710
|
height: ${props => props.height};
|
|
4055
5711
|
font-size: 14px;
|
|
@@ -4136,31 +5792,31 @@ const scrollableStyles$8 = `
|
|
|
4136
5792
|
border-radius: 5px;
|
|
4137
5793
|
}
|
|
4138
5794
|
`;
|
|
4139
|
-
const TabMenuContainer =
|
|
5795
|
+
const TabMenuContainer = dt.div`
|
|
4140
5796
|
font-family: 'Poppins', sans-serif;
|
|
4141
5797
|
display: grid;
|
|
4142
5798
|
gap: 20px;
|
|
4143
5799
|
grid-template-rows: repeat(3, auto);
|
|
4144
5800
|
`;
|
|
4145
|
-
const TopRow =
|
|
5801
|
+
const TopRow = dt.div`
|
|
4146
5802
|
display: flex;
|
|
4147
5803
|
align-items: center;
|
|
4148
5804
|
gap: 20px;
|
|
4149
5805
|
`;
|
|
4150
|
-
const Headline$1 =
|
|
5806
|
+
const Headline$1 = dt.span`
|
|
4151
5807
|
font-size: 18px;
|
|
4152
5808
|
font-weight: 500;
|
|
4153
5809
|
margin-right: auto;
|
|
4154
5810
|
`;
|
|
4155
|
-
const Nav =
|
|
5811
|
+
const Nav = dt.nav`
|
|
4156
5812
|
`;
|
|
4157
|
-
const Tabs =
|
|
5813
|
+
const Tabs = dt.div`
|
|
4158
5814
|
position: relative;
|
|
4159
5815
|
display: flex;
|
|
4160
5816
|
align-items: center;
|
|
4161
5817
|
width: 100%;
|
|
4162
5818
|
`;
|
|
4163
|
-
const Tab =
|
|
5819
|
+
const Tab = dt.div`
|
|
4164
5820
|
cursor: pointer;
|
|
4165
5821
|
position: relative;
|
|
4166
5822
|
text-align: center;
|
|
@@ -4174,7 +5830,7 @@ const Tab = styled.div`
|
|
|
4174
5830
|
//2px solid ${props => props.color};
|
|
4175
5831
|
}
|
|
4176
5832
|
`;
|
|
4177
|
-
const PresentationSlider =
|
|
5833
|
+
const PresentationSlider = dt.div`
|
|
4178
5834
|
position: absolute;
|
|
4179
5835
|
bottom: 0;
|
|
4180
5836
|
left: 0;
|
|
@@ -4193,7 +5849,7 @@ const PresentationSlider = styled.div`
|
|
|
4193
5849
|
transition: transform .35s ease;
|
|
4194
5850
|
}
|
|
4195
5851
|
`;
|
|
4196
|
-
const Body =
|
|
5852
|
+
const Body = dt.div`
|
|
4197
5853
|
width: 100%;
|
|
4198
5854
|
${scrollableStyles$8}
|
|
4199
5855
|
position: relative;
|
|
@@ -4204,7 +5860,7 @@ const Body = styled.div`
|
|
|
4204
5860
|
border-radius: ${props => props.setBackground ? '12px' : '0'};
|
|
4205
5861
|
box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
|
|
4206
5862
|
`;
|
|
4207
|
-
const Label$4 =
|
|
5863
|
+
const Label$4 = dt.div`
|
|
4208
5864
|
font-size: 12px;
|
|
4209
5865
|
font-weight: 400;
|
|
4210
5866
|
padding: 8px;
|
|
@@ -4219,15 +5875,15 @@ const Label$4 = styled.div`
|
|
|
4219
5875
|
font-weight: 400;
|
|
4220
5876
|
}
|
|
4221
5877
|
`;
|
|
4222
|
-
const ActionsWrapper =
|
|
5878
|
+
const ActionsWrapper = dt.div`
|
|
4223
5879
|
display: flex;
|
|
4224
5880
|
align-items: center;
|
|
4225
5881
|
gap: 10px;
|
|
4226
5882
|
width: 100%;
|
|
4227
5883
|
`;
|
|
4228
|
-
const SagIconButtonWrap =
|
|
5884
|
+
const SagIconButtonWrap = dt(SagIconButton)`
|
|
4229
5885
|
`;
|
|
4230
|
-
const SearchInputWrap =
|
|
5886
|
+
const SearchInputWrap = dt(SearchInput)`
|
|
4231
5887
|
margin-left: auto;
|
|
4232
5888
|
`;
|
|
4233
5889
|
|
|
@@ -9075,7 +10731,7 @@ const scrollableStyles$7 = `
|
|
|
9075
10731
|
border-radius: 5px;
|
|
9076
10732
|
}
|
|
9077
10733
|
`;
|
|
9078
|
-
const DropdownWrapper$2 =
|
|
10734
|
+
const DropdownWrapper$2 = dt.div`
|
|
9079
10735
|
position: relative;
|
|
9080
10736
|
display: flex;
|
|
9081
10737
|
flex-direction: column;
|
|
@@ -9088,7 +10744,7 @@ const DropdownWrapper$2 = styled.div`
|
|
|
9088
10744
|
font-size: 14px;
|
|
9089
10745
|
border-radius: 10px;
|
|
9090
10746
|
`;
|
|
9091
|
-
const Label$3 =
|
|
10747
|
+
const Label$3 = dt.label`
|
|
9092
10748
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
9093
10749
|
font-weight: 400;
|
|
9094
10750
|
padding-inline-end: 5px;
|
|
@@ -9111,7 +10767,7 @@ const Label$3 = styled.label`
|
|
|
9111
10767
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
9112
10768
|
}
|
|
9113
10769
|
`;
|
|
9114
|
-
const InputContainer$6 =
|
|
10770
|
+
const InputContainer$6 = dt.div`
|
|
9115
10771
|
display: flex;
|
|
9116
10772
|
flex-direction: row;
|
|
9117
10773
|
flex-wrap: nowrap;
|
|
@@ -9143,7 +10799,7 @@ const InputContainer$6 = styled.div`
|
|
|
9143
10799
|
}
|
|
9144
10800
|
|
|
9145
10801
|
`;
|
|
9146
|
-
const InputSubContainer$3 =
|
|
10802
|
+
const InputSubContainer$3 = dt.div`
|
|
9147
10803
|
display: flex;
|
|
9148
10804
|
flex-direction: column;
|
|
9149
10805
|
flex-wrap: nowrap;
|
|
@@ -9162,7 +10818,7 @@ const InputSubContainer$3 = styled.div`
|
|
|
9162
10818
|
outline: none;
|
|
9163
10819
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9164
10820
|
`;
|
|
9165
|
-
const StyledInput$6 =
|
|
10821
|
+
const StyledInput$6 = dt.input`
|
|
9166
10822
|
width: calc(100% - 10px);
|
|
9167
10823
|
height: 20px;
|
|
9168
10824
|
font-family: Poppins;
|
|
@@ -9173,7 +10829,7 @@ const StyledInput$6 = styled.input`
|
|
|
9173
10829
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9174
10830
|
border: none;
|
|
9175
10831
|
`;
|
|
9176
|
-
const OptionsContainer$6 =
|
|
10832
|
+
const OptionsContainer$6 = dt.div`
|
|
9177
10833
|
margin: 0;
|
|
9178
10834
|
top: 100%;
|
|
9179
10835
|
left: 0;
|
|
@@ -9182,7 +10838,7 @@ const OptionsContainer$6 = styled.div`
|
|
|
9182
10838
|
background-color: #fff;
|
|
9183
10839
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
9184
10840
|
`;
|
|
9185
|
-
const OptionsSubContainer$3 =
|
|
10841
|
+
const OptionsSubContainer$3 = dt.ul`
|
|
9186
10842
|
${scrollableStyles$7}
|
|
9187
10843
|
list-style: none;
|
|
9188
10844
|
font-weight: 400;
|
|
@@ -9201,7 +10857,7 @@ const OptionsSubContainer$3 = styled.ul`
|
|
|
9201
10857
|
max-height: 400px;
|
|
9202
10858
|
overflow: auto;
|
|
9203
10859
|
`;
|
|
9204
|
-
const OptionItem$3 =
|
|
10860
|
+
const OptionItem$3 = dt.li`
|
|
9205
10861
|
display: flex;
|
|
9206
10862
|
flex-direction: row;
|
|
9207
10863
|
justify-content: flex-start;
|
|
@@ -9221,12 +10877,12 @@ const OptionItem$3 = styled.li`
|
|
|
9221
10877
|
background-color: #EDF6FF;
|
|
9222
10878
|
}
|
|
9223
10879
|
`;
|
|
9224
|
-
const ErrorMessage$3 =
|
|
10880
|
+
const ErrorMessage$3 = dt.div`
|
|
9225
10881
|
font-size: 12px;
|
|
9226
10882
|
color: red;
|
|
9227
10883
|
margin-top: 5px;
|
|
9228
10884
|
`;
|
|
9229
|
-
const IconContainer$4 =
|
|
10885
|
+
const IconContainer$4 = dt.div`
|
|
9230
10886
|
display: flex;
|
|
9231
10887
|
padding: 2px;
|
|
9232
10888
|
cursor: pointer;
|
|
@@ -9544,7 +11200,7 @@ const scrollableStyles$6 = `
|
|
|
9544
11200
|
border-radius: 5px;
|
|
9545
11201
|
}
|
|
9546
11202
|
`;
|
|
9547
|
-
const DropdownWrapper$1 =
|
|
11203
|
+
const DropdownWrapper$1 = dt.div`
|
|
9548
11204
|
position: relative;
|
|
9549
11205
|
display: flex;
|
|
9550
11206
|
flex-direction: column;
|
|
@@ -9557,7 +11213,7 @@ const DropdownWrapper$1 = styled.div`
|
|
|
9557
11213
|
font-size: 14px;
|
|
9558
11214
|
border-radius: 10px;
|
|
9559
11215
|
`;
|
|
9560
|
-
const Label$2 =
|
|
11216
|
+
const Label$2 = dt.label`
|
|
9561
11217
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
9562
11218
|
font-weight: 400;
|
|
9563
11219
|
padding-inline-end: 5px;
|
|
@@ -9580,7 +11236,7 @@ const Label$2 = styled.label`
|
|
|
9580
11236
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
9581
11237
|
}
|
|
9582
11238
|
`;
|
|
9583
|
-
const InputContainer$5 =
|
|
11239
|
+
const InputContainer$5 = dt.div`
|
|
9584
11240
|
display: flex;
|
|
9585
11241
|
flex-direction: row;
|
|
9586
11242
|
flex-wrap: nowrap;
|
|
@@ -9611,7 +11267,7 @@ const InputContainer$5 = styled.div`
|
|
|
9611
11267
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
9612
11268
|
}
|
|
9613
11269
|
`;
|
|
9614
|
-
const InputSubContainer$2 =
|
|
11270
|
+
const InputSubContainer$2 = dt.div`
|
|
9615
11271
|
|
|
9616
11272
|
display: flex;
|
|
9617
11273
|
flex-direction: column;
|
|
@@ -9631,7 +11287,7 @@ const InputSubContainer$2 = styled.div`
|
|
|
9631
11287
|
outline: none;
|
|
9632
11288
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9633
11289
|
`;
|
|
9634
|
-
const StyledInput$5 =
|
|
11290
|
+
const StyledInput$5 = dt.input`
|
|
9635
11291
|
width: calc(100% - 20px);
|
|
9636
11292
|
height: 25px;
|
|
9637
11293
|
font-family: Poppins;
|
|
@@ -9642,7 +11298,7 @@ const StyledInput$5 = styled.input`
|
|
|
9642
11298
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9643
11299
|
border: none;
|
|
9644
11300
|
`;
|
|
9645
|
-
const OptionsContainer$5 =
|
|
11301
|
+
const OptionsContainer$5 = dt.div`
|
|
9646
11302
|
margin: 0;
|
|
9647
11303
|
top: 100%;
|
|
9648
11304
|
left: 0;
|
|
@@ -9651,7 +11307,7 @@ const OptionsContainer$5 = styled.div`
|
|
|
9651
11307
|
background-color: #fff;
|
|
9652
11308
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
9653
11309
|
`;
|
|
9654
|
-
const OptionsSubContainer$2 =
|
|
11310
|
+
const OptionsSubContainer$2 = dt.ul`
|
|
9655
11311
|
${scrollableStyles$6}
|
|
9656
11312
|
list-style: none;
|
|
9657
11313
|
font-weight: 400;
|
|
@@ -9670,7 +11326,7 @@ const OptionsSubContainer$2 = styled.ul`
|
|
|
9670
11326
|
max-height: 400px;
|
|
9671
11327
|
overflow: auto;
|
|
9672
11328
|
`;
|
|
9673
|
-
const OptionItem$2 =
|
|
11329
|
+
const OptionItem$2 = dt.li`
|
|
9674
11330
|
display: flex;
|
|
9675
11331
|
flex-direction: row;
|
|
9676
11332
|
justify-content: flex-start;
|
|
@@ -9689,12 +11345,12 @@ const OptionItem$2 = styled.li`
|
|
|
9689
11345
|
background-color: #EDF6FF;
|
|
9690
11346
|
}
|
|
9691
11347
|
`;
|
|
9692
|
-
const ErrorMessage$2 =
|
|
11348
|
+
const ErrorMessage$2 = dt.div`
|
|
9693
11349
|
font-size: 12px;
|
|
9694
11350
|
color: red;
|
|
9695
11351
|
margin-top: 5px;
|
|
9696
11352
|
`;
|
|
9697
|
-
const SelectedOptionsContainer$1 =
|
|
11353
|
+
const SelectedOptionsContainer$1 = dt.div`
|
|
9698
11354
|
display: flex;
|
|
9699
11355
|
flex-direction: row;
|
|
9700
11356
|
flex-wrap: nowrap;
|
|
@@ -9710,7 +11366,7 @@ const SelectedOptionsContainer$1 = styled.div`
|
|
|
9710
11366
|
background-color: #fff;
|
|
9711
11367
|
gap: 4px;
|
|
9712
11368
|
`;
|
|
9713
|
-
const SelectedOptionItem$1 =
|
|
11369
|
+
const SelectedOptionItem$1 = dt.div`
|
|
9714
11370
|
display: flex;
|
|
9715
11371
|
margin: 0;
|
|
9716
11372
|
flex-wrap: nowrap;
|
|
@@ -9724,7 +11380,7 @@ const SelectedOptionItem$1 = styled.div`
|
|
|
9724
11380
|
padding: 4px 6px;
|
|
9725
11381
|
font-size: 12px;
|
|
9726
11382
|
`;
|
|
9727
|
-
const IconContainer$3 =
|
|
11383
|
+
const IconContainer$3 = dt.div`
|
|
9728
11384
|
display: flex;
|
|
9729
11385
|
padding: 2px;
|
|
9730
11386
|
cursor: pointer;
|
|
@@ -10021,7 +11677,7 @@ DropdownMultiNew.defaultProps = {
|
|
|
10021
11677
|
elementType: "number"
|
|
10022
11678
|
};
|
|
10023
11679
|
|
|
10024
|
-
const DropdownMain =
|
|
11680
|
+
const DropdownMain = dt.div`
|
|
10025
11681
|
position: relative;
|
|
10026
11682
|
display: flex;
|
|
10027
11683
|
flex-direction: column;
|
|
@@ -10036,67 +11692,70 @@ const DropdownMain = styled.div`
|
|
|
10036
11692
|
`;
|
|
10037
11693
|
|
|
10038
11694
|
/* eslint-disable react/prop-types */
|
|
10039
|
-
const DropdownNew =
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10055
|
-
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
|
|
10076
|
-
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10089
|
-
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
11695
|
+
const DropdownNew = _ref => {
|
|
11696
|
+
let {
|
|
11697
|
+
isMulti,
|
|
11698
|
+
label,
|
|
11699
|
+
labelEmptyValue,
|
|
11700
|
+
options,
|
|
11701
|
+
selectedValue,
|
|
11702
|
+
placeHolder,
|
|
11703
|
+
onChange,
|
|
11704
|
+
required,
|
|
11705
|
+
disabled,
|
|
11706
|
+
width,
|
|
11707
|
+
error,
|
|
11708
|
+
errorMessage,
|
|
11709
|
+
labelColor,
|
|
11710
|
+
checkBoxColor,
|
|
11711
|
+
xIconShow,
|
|
11712
|
+
showLabelOnTop,
|
|
11713
|
+
orderBy,
|
|
11714
|
+
elementType
|
|
11715
|
+
} = _ref;
|
|
11716
|
+
return /*#__PURE__*/React.createElement(DropdownMain, {
|
|
11717
|
+
className: "DropdownMain",
|
|
11718
|
+
width: width
|
|
11719
|
+
}, isMulti ? /*#__PURE__*/React.createElement(DropdownMultiNew, {
|
|
11720
|
+
className: "DropdownMultiNew",
|
|
11721
|
+
placeHolder: placeHolder,
|
|
11722
|
+
label: label,
|
|
11723
|
+
labelEmptyValue: labelEmptyValue,
|
|
11724
|
+
labelColor: labelColor,
|
|
11725
|
+
checkBoxColor: checkBoxColor,
|
|
11726
|
+
required: required,
|
|
11727
|
+
options: options,
|
|
11728
|
+
width: width,
|
|
11729
|
+
disabled: disabled,
|
|
11730
|
+
error: error,
|
|
11731
|
+
errorMessage: errorMessage,
|
|
11732
|
+
selectedValue: selectedValue,
|
|
11733
|
+
xIconShow: xIconShow,
|
|
11734
|
+
onChange: onChange,
|
|
11735
|
+
showLabelOnTop: showLabelOnTop,
|
|
11736
|
+
orderBy: orderBy,
|
|
11737
|
+
elementType: elementType
|
|
11738
|
+
}) : /*#__PURE__*/React.createElement(DropdownSingleNew, {
|
|
11739
|
+
className: "DropdownSingleNew",
|
|
11740
|
+
placeHolder: placeHolder,
|
|
11741
|
+
label: label,
|
|
11742
|
+
labelEmptyValue: labelEmptyValue,
|
|
11743
|
+
labelColor: labelColor,
|
|
11744
|
+
checkBoxColor: checkBoxColor,
|
|
11745
|
+
required: required,
|
|
11746
|
+
options: options,
|
|
11747
|
+
width: width,
|
|
11748
|
+
disabled: disabled,
|
|
11749
|
+
error: error,
|
|
11750
|
+
errorMessage: errorMessage,
|
|
11751
|
+
selectedValue: selectedValue,
|
|
11752
|
+
xIconShow: xIconShow,
|
|
11753
|
+
onChange: onChange,
|
|
11754
|
+
showLabelOnTop: showLabelOnTop,
|
|
11755
|
+
orderBy: orderBy,
|
|
11756
|
+
elementType: elementType
|
|
11757
|
+
}));
|
|
11758
|
+
};
|
|
10100
11759
|
DropdownNew.propTypes = {
|
|
10101
11760
|
placeHolder: PropTypes.string,
|
|
10102
11761
|
label: PropTypes.string,
|
|
@@ -10169,13 +11828,13 @@ const CalendarInOpen = () => /*#__PURE__*/React.createElement("svg", {
|
|
|
10169
11828
|
}));
|
|
10170
11829
|
|
|
10171
11830
|
/* eslint-disable no-nested-ternary */
|
|
10172
|
-
const RangePickerContainer =
|
|
11831
|
+
const RangePickerContainer = dt.div`
|
|
10173
11832
|
position: relative;
|
|
10174
11833
|
margin-bottom: 10px;
|
|
10175
11834
|
width: ${props => props.width || '100%'};
|
|
10176
11835
|
height: ${props => props.height || '60px'};
|
|
10177
11836
|
`;
|
|
10178
|
-
const CalendarDiv$2 =
|
|
11837
|
+
const CalendarDiv$2 = dt.div`
|
|
10179
11838
|
position: absolute;
|
|
10180
11839
|
width: 11px;
|
|
10181
11840
|
height: 11px;
|
|
@@ -10187,7 +11846,7 @@ const CalendarDiv$2 = styled.div`
|
|
|
10187
11846
|
}
|
|
10188
11847
|
|
|
10189
11848
|
`;
|
|
10190
|
-
const InputContainer$4 =
|
|
11849
|
+
const InputContainer$4 = dt.div`
|
|
10191
11850
|
display: flex;
|
|
10192
11851
|
flex-direction: row;
|
|
10193
11852
|
flex-wrap: nowrap;
|
|
@@ -10217,7 +11876,7 @@ const InputContainer$4 = styled.div`
|
|
|
10217
11876
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10218
11877
|
}
|
|
10219
11878
|
`;
|
|
10220
|
-
const StyledInput$4 =
|
|
11879
|
+
const StyledInput$4 = dt.input`
|
|
10221
11880
|
padding: 20px;
|
|
10222
11881
|
font-size: 14px;
|
|
10223
11882
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10234,7 +11893,7 @@ const StyledInput$4 = styled.input`
|
|
|
10234
11893
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10235
11894
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10236
11895
|
`;
|
|
10237
|
-
const StyledLabel$2 =
|
|
11896
|
+
const StyledLabel$2 = dt.label`
|
|
10238
11897
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10239
11898
|
padding-inline-end: 5px;
|
|
10240
11899
|
padding-inline-start: 5px;
|
|
@@ -10254,16 +11913,16 @@ const StyledLabel$2 = styled.label`
|
|
|
10254
11913
|
box-sizing: border-box;
|
|
10255
11914
|
cursor: pointer;
|
|
10256
11915
|
`;
|
|
10257
|
-
const RequiredIndicator$2 =
|
|
11916
|
+
const RequiredIndicator$2 = dt.span`
|
|
10258
11917
|
color: red;
|
|
10259
11918
|
margin-left: 5px;
|
|
10260
11919
|
`;
|
|
10261
|
-
|
|
11920
|
+
dt.div`
|
|
10262
11921
|
font-size: 12px;
|
|
10263
11922
|
color: red;
|
|
10264
11923
|
margin-top: 5px;
|
|
10265
11924
|
`;
|
|
10266
|
-
const OptionsContainer$4 =
|
|
11925
|
+
const OptionsContainer$4 = dt.div`
|
|
10267
11926
|
display: block;
|
|
10268
11927
|
margin: 0;
|
|
10269
11928
|
padding-top: 8px;
|
|
@@ -10294,10 +11953,10 @@ const ChervronLeftIcon = () => /*#__PURE__*/React.createElement("svg", {
|
|
|
10294
11953
|
/* eslint-disable react/prop-types */
|
|
10295
11954
|
|
|
10296
11955
|
// Styled components for the date picker
|
|
10297
|
-
const DatePickerContainer$3 =
|
|
11956
|
+
const DatePickerContainer$3 = dt.div`
|
|
10298
11957
|
position: relative;
|
|
10299
11958
|
`;
|
|
10300
|
-
const DatePickerPopup$2 =
|
|
11959
|
+
const DatePickerPopup$2 = dt.div`
|
|
10301
11960
|
position: absolute;
|
|
10302
11961
|
width: 320px;
|
|
10303
11962
|
height: 410px;
|
|
@@ -10310,18 +11969,18 @@ const DatePickerPopup$2 = styled.div`
|
|
|
10310
11969
|
padding: 10px;
|
|
10311
11970
|
z-index: 1000;
|
|
10312
11971
|
`;
|
|
10313
|
-
const DatePickerHeader$2 =
|
|
11972
|
+
const DatePickerHeader$2 = dt.div`
|
|
10314
11973
|
display: flex;
|
|
10315
11974
|
justify-content: space-between;
|
|
10316
11975
|
margin-bottom: 10px;
|
|
10317
11976
|
`;
|
|
10318
|
-
const DatePickerFooter =
|
|
11977
|
+
const DatePickerFooter = dt.div`
|
|
10319
11978
|
display: flex;
|
|
10320
11979
|
justify-content: end;
|
|
10321
11980
|
margin-inline-end: 10px;
|
|
10322
11981
|
margin-top: 10px;
|
|
10323
11982
|
`;
|
|
10324
|
-
const ClearButton =
|
|
11983
|
+
const ClearButton = dt.button`
|
|
10325
11984
|
color: #568202;
|
|
10326
11985
|
text-align: center;
|
|
10327
11986
|
font-family: Poppins;
|
|
@@ -10333,14 +11992,14 @@ const ClearButton = styled.button`
|
|
|
10333
11992
|
line-height: normal;
|
|
10334
11993
|
text-transform: uppercase;
|
|
10335
11994
|
`;
|
|
10336
|
-
const NavDiv =
|
|
11995
|
+
const NavDiv = dt.div`
|
|
10337
11996
|
width: 80px;
|
|
10338
11997
|
height: 30px;
|
|
10339
11998
|
display: flex;
|
|
10340
11999
|
padding: 5px;
|
|
10341
12000
|
justify-content: space-around;
|
|
10342
12001
|
`;
|
|
10343
|
-
const DatePickerSelect$2 =
|
|
12002
|
+
const DatePickerSelect$2 = dt.div`
|
|
10344
12003
|
padding: 4px;
|
|
10345
12004
|
border-radius: 4px;
|
|
10346
12005
|
border: none;
|
|
@@ -10350,14 +12009,14 @@ const DatePickerSelect$2 = styled.div`
|
|
|
10350
12009
|
font-weight: 400;
|
|
10351
12010
|
cursor: pointer;
|
|
10352
12011
|
`;
|
|
10353
|
-
const DatePickerCalendar$2 =
|
|
12012
|
+
const DatePickerCalendar$2 = dt.div`
|
|
10354
12013
|
display: grid;
|
|
10355
12014
|
width: 260px;
|
|
10356
12015
|
height: 330px;
|
|
10357
12016
|
row-gap: 12px;
|
|
10358
12017
|
grid-template-columns: repeat(7, 1fr);
|
|
10359
12018
|
`;
|
|
10360
|
-
const DateCell$2 =
|
|
12019
|
+
const DateCell$2 = dt.div`
|
|
10361
12020
|
width: 100%;
|
|
10362
12021
|
aspect-ratio: 1 / 1;
|
|
10363
12022
|
/* height: 32px; */
|
|
@@ -10510,20 +12169,21 @@ const DatePicker = ({
|
|
|
10510
12169
|
};
|
|
10511
12170
|
|
|
10512
12171
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10513
|
-
const RangePicker =
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
12172
|
+
const RangePicker = _ref => {
|
|
12173
|
+
let {
|
|
12174
|
+
label,
|
|
12175
|
+
onChange,
|
|
12176
|
+
borderRadius,
|
|
12177
|
+
required,
|
|
12178
|
+
width,
|
|
12179
|
+
height,
|
|
12180
|
+
placeholder,
|
|
12181
|
+
disabled,
|
|
12182
|
+
borderColor,
|
|
12183
|
+
borderColorFocus,
|
|
12184
|
+
textColor,
|
|
12185
|
+
selectedValue
|
|
12186
|
+
} = _ref;
|
|
10527
12187
|
const [isFocused, setIsFocused] = useState(false);
|
|
10528
12188
|
const [isOpen, setIsOpen] = useState(false);
|
|
10529
12189
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -10687,20 +12347,20 @@ RangePicker.defaultProps = {
|
|
|
10687
12347
|
};
|
|
10688
12348
|
|
|
10689
12349
|
/* eslint-disable no-nested-ternary */
|
|
10690
|
-
const QuarterPickerContainer =
|
|
12350
|
+
const QuarterPickerContainer = dt.div`
|
|
10691
12351
|
position: relative;
|
|
10692
12352
|
margin-bottom: 10px;
|
|
10693
12353
|
width: ${props => props.width || '100%'};
|
|
10694
12354
|
height: ${props => props.height || '60px'};
|
|
10695
12355
|
`;
|
|
10696
|
-
const CalendarDiv$1 =
|
|
12356
|
+
const CalendarDiv$1 = dt.div`
|
|
10697
12357
|
position: absolute;
|
|
10698
12358
|
width: 11px;
|
|
10699
12359
|
height: 11px;
|
|
10700
12360
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
10701
12361
|
right: 25px;
|
|
10702
12362
|
`;
|
|
10703
|
-
const InputContainer$3 =
|
|
12363
|
+
const InputContainer$3 = dt.div`
|
|
10704
12364
|
display: flex;
|
|
10705
12365
|
flex-direction: row;
|
|
10706
12366
|
flex-wrap: nowrap;
|
|
@@ -10730,7 +12390,7 @@ const InputContainer$3 = styled.div`
|
|
|
10730
12390
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10731
12391
|
}
|
|
10732
12392
|
`;
|
|
10733
|
-
const StyledInput$3 =
|
|
12393
|
+
const StyledInput$3 = dt.input`
|
|
10734
12394
|
padding: 20px;
|
|
10735
12395
|
font-size: 14px;
|
|
10736
12396
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10747,7 +12407,7 @@ const StyledInput$3 = styled.input`
|
|
|
10747
12407
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10748
12408
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10749
12409
|
`;
|
|
10750
|
-
const StyledLabel$1 =
|
|
12410
|
+
const StyledLabel$1 = dt.label`
|
|
10751
12411
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10752
12412
|
padding-inline-end: 5px;
|
|
10753
12413
|
padding-inline-start: 5px;
|
|
@@ -10767,16 +12427,16 @@ const StyledLabel$1 = styled.label`
|
|
|
10767
12427
|
box-sizing: border-box;
|
|
10768
12428
|
cursor: pointer;
|
|
10769
12429
|
`;
|
|
10770
|
-
const RequiredIndicator$1 =
|
|
12430
|
+
const RequiredIndicator$1 = dt.span`
|
|
10771
12431
|
color: red;
|
|
10772
12432
|
margin-left: 5px;
|
|
10773
12433
|
`;
|
|
10774
|
-
|
|
12434
|
+
dt.div`
|
|
10775
12435
|
font-size: 12px;
|
|
10776
12436
|
color: red;
|
|
10777
12437
|
margin-top: 5px;
|
|
10778
12438
|
`;
|
|
10779
|
-
const OptionsContainer$3 =
|
|
12439
|
+
const OptionsContainer$3 = dt.div`
|
|
10780
12440
|
display: block;
|
|
10781
12441
|
margin: 0;
|
|
10782
12442
|
padding-top: 8px;
|
|
@@ -10787,10 +12447,10 @@ const OptionsContainer$3 = styled.div`
|
|
|
10787
12447
|
// import ChervronLeftIcon from './icons/ChervronLeftIcon';
|
|
10788
12448
|
|
|
10789
12449
|
// Styled components for the date picker
|
|
10790
|
-
const DatePickerContainer$2 =
|
|
12450
|
+
const DatePickerContainer$2 = dt.div`
|
|
10791
12451
|
position: relative;
|
|
10792
12452
|
`;
|
|
10793
|
-
const DatePickerPopup$1 =
|
|
12453
|
+
const DatePickerPopup$1 = dt.div`
|
|
10794
12454
|
position: absolute;
|
|
10795
12455
|
width: auto;
|
|
10796
12456
|
// margin: 5px;
|
|
@@ -10804,7 +12464,7 @@ const DatePickerPopup$1 = styled.div`
|
|
|
10804
12464
|
padding: 10px;
|
|
10805
12465
|
z-index: 1000;
|
|
10806
12466
|
`;
|
|
10807
|
-
const DatePickerHeader$1 =
|
|
12467
|
+
const DatePickerHeader$1 = dt.div`
|
|
10808
12468
|
display: flex;
|
|
10809
12469
|
justify-content: space-between;
|
|
10810
12470
|
margin-bottom: 10px;
|
|
@@ -10818,7 +12478,7 @@ const DatePickerHeader$1 = styled.div`
|
|
|
10818
12478
|
// justify-content: space-around;
|
|
10819
12479
|
// `;
|
|
10820
12480
|
|
|
10821
|
-
const DatePickerSelect$1 =
|
|
12481
|
+
const DatePickerSelect$1 = dt.select`
|
|
10822
12482
|
padding: 4px;
|
|
10823
12483
|
border: none;
|
|
10824
12484
|
font-family: Poppins;
|
|
@@ -10831,7 +12491,7 @@ const DatePickerSelect$1 = styled.select`
|
|
|
10831
12491
|
border: none;
|
|
10832
12492
|
}
|
|
10833
12493
|
`;
|
|
10834
|
-
const DatePickerCalendar$1 =
|
|
12494
|
+
const DatePickerCalendar$1 = dt.div`
|
|
10835
12495
|
display: grid;
|
|
10836
12496
|
width: 220px;
|
|
10837
12497
|
height: 150px;
|
|
@@ -10841,7 +12501,7 @@ const DatePickerCalendar$1 = styled.div`
|
|
|
10841
12501
|
grid-template-columns: repeat(4, 1fr);
|
|
10842
12502
|
grid-template-rows: repeat(4, 1fr);
|
|
10843
12503
|
`;
|
|
10844
|
-
const DateCell$1 =
|
|
12504
|
+
const DateCell$1 = dt.div`
|
|
10845
12505
|
width: 100%;
|
|
10846
12506
|
aspect-ratio: 1 / 1;
|
|
10847
12507
|
/* height: 32px; */
|
|
@@ -10955,22 +12615,23 @@ const QuarterPopupPicker = ({
|
|
|
10955
12615
|
};
|
|
10956
12616
|
|
|
10957
12617
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10958
|
-
const QuarterPicker =
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
12618
|
+
const QuarterPicker = _ref => {
|
|
12619
|
+
let {
|
|
12620
|
+
availableQuarters,
|
|
12621
|
+
// ["Q1-2024"]
|
|
12622
|
+
label,
|
|
12623
|
+
onChange,
|
|
12624
|
+
borderRadius,
|
|
12625
|
+
required,
|
|
12626
|
+
width,
|
|
12627
|
+
height,
|
|
12628
|
+
placeholder,
|
|
12629
|
+
disabled,
|
|
12630
|
+
borderColor,
|
|
12631
|
+
borderColorFocus,
|
|
12632
|
+
textColor,
|
|
12633
|
+
selectedValue
|
|
12634
|
+
} = _ref;
|
|
10974
12635
|
const [isFocused, setIsFocused] = useState(false);
|
|
10975
12636
|
const [isOpen, setIsOpen] = useState(false);
|
|
10976
12637
|
const [value, setValue] = useState('');
|
|
@@ -11119,20 +12780,20 @@ QuarterPicker.defaultProps = {
|
|
|
11119
12780
|
};
|
|
11120
12781
|
|
|
11121
12782
|
/* eslint-disable no-nested-ternary */
|
|
11122
|
-
const MonthPickerContainer =
|
|
12783
|
+
const MonthPickerContainer = dt.div`
|
|
11123
12784
|
position: relative;
|
|
11124
12785
|
margin-bottom: 10px;
|
|
11125
12786
|
width: ${props => props.width || '100%'};
|
|
11126
12787
|
height: ${props => props.height || '60px'};
|
|
11127
12788
|
`;
|
|
11128
|
-
const CalendarDiv =
|
|
12789
|
+
const CalendarDiv = dt.div`
|
|
11129
12790
|
position: absolute;
|
|
11130
12791
|
width: 11px;
|
|
11131
12792
|
height: 11px;
|
|
11132
12793
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
11133
12794
|
right: 25px;
|
|
11134
12795
|
`;
|
|
11135
|
-
const InputContainer$2 =
|
|
12796
|
+
const InputContainer$2 = dt.div`
|
|
11136
12797
|
display: flex;
|
|
11137
12798
|
flex-direction: row;
|
|
11138
12799
|
flex-wrap: nowrap;
|
|
@@ -11162,7 +12823,7 @@ const InputContainer$2 = styled.div`
|
|
|
11162
12823
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
11163
12824
|
}
|
|
11164
12825
|
`;
|
|
11165
|
-
const StyledInput$2 =
|
|
12826
|
+
const StyledInput$2 = dt.input`
|
|
11166
12827
|
padding: 20px;
|
|
11167
12828
|
font-size: 14px;
|
|
11168
12829
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -11180,7 +12841,7 @@ const StyledInput$2 = styled.input`
|
|
|
11180
12841
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
11181
12842
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
11182
12843
|
`;
|
|
11183
|
-
const StyledLabel =
|
|
12844
|
+
const StyledLabel = dt.label`
|
|
11184
12845
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
11185
12846
|
padding-inline-end: 5px;
|
|
11186
12847
|
padding-inline-start: 5px;
|
|
@@ -11200,16 +12861,16 @@ const StyledLabel = styled.label`
|
|
|
11200
12861
|
box-sizing: border-box;
|
|
11201
12862
|
cursor: pointer;
|
|
11202
12863
|
`;
|
|
11203
|
-
const RequiredIndicator =
|
|
12864
|
+
const RequiredIndicator = dt.span`
|
|
11204
12865
|
color: red;
|
|
11205
12866
|
margin-left: 5px;
|
|
11206
12867
|
`;
|
|
11207
|
-
|
|
12868
|
+
dt.div`
|
|
11208
12869
|
font-size: 12px;
|
|
11209
12870
|
color: red;
|
|
11210
12871
|
margin-top: 5px;
|
|
11211
12872
|
`;
|
|
11212
|
-
const OptionsContainer$2 =
|
|
12873
|
+
const OptionsContainer$2 = dt.div`
|
|
11213
12874
|
display: block;
|
|
11214
12875
|
margin: 0;
|
|
11215
12876
|
padding-top: 8px;
|
|
@@ -11218,10 +12879,10 @@ const OptionsContainer$2 = styled.div`
|
|
|
11218
12879
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
11219
12880
|
|
|
11220
12881
|
// Styled components for the date picker
|
|
11221
|
-
const DatePickerContainer$1 =
|
|
12882
|
+
const DatePickerContainer$1 = dt.div`
|
|
11222
12883
|
position: relative;
|
|
11223
12884
|
`;
|
|
11224
|
-
const DatePickerPopup =
|
|
12885
|
+
const DatePickerPopup = dt.div`
|
|
11225
12886
|
position: absolute;
|
|
11226
12887
|
width: auto;
|
|
11227
12888
|
// margin: 5px;
|
|
@@ -11235,19 +12896,19 @@ const DatePickerPopup = styled.div`
|
|
|
11235
12896
|
padding: 10px;
|
|
11236
12897
|
z-index: 1000;
|
|
11237
12898
|
`;
|
|
11238
|
-
const DatePickerHeader =
|
|
12899
|
+
const DatePickerHeader = dt.div`
|
|
11239
12900
|
display: flex;
|
|
11240
12901
|
justify-content: space-between;
|
|
11241
12902
|
margin-bottom: 10px;
|
|
11242
12903
|
`;
|
|
11243
|
-
|
|
12904
|
+
dt.div`
|
|
11244
12905
|
width: 80px;
|
|
11245
12906
|
height: 30px;
|
|
11246
12907
|
display: flex;
|
|
11247
12908
|
padding: 5px;
|
|
11248
12909
|
justify-content: space-around;
|
|
11249
12910
|
`;
|
|
11250
|
-
const DatePickerSelect =
|
|
12911
|
+
const DatePickerSelect = dt.select`
|
|
11251
12912
|
padding: 4px;
|
|
11252
12913
|
border: none;
|
|
11253
12914
|
font-family: Poppins;
|
|
@@ -11260,7 +12921,7 @@ const DatePickerSelect = styled.select`
|
|
|
11260
12921
|
border: none;
|
|
11261
12922
|
}
|
|
11262
12923
|
`;
|
|
11263
|
-
const DatePickerCalendar =
|
|
12924
|
+
const DatePickerCalendar = dt.div`
|
|
11264
12925
|
display: grid;
|
|
11265
12926
|
width: 220px;
|
|
11266
12927
|
height: 150px;
|
|
@@ -11270,7 +12931,7 @@ const DatePickerCalendar = styled.div`
|
|
|
11270
12931
|
grid-template-columns: repeat(4, 1fr);
|
|
11271
12932
|
grid-template-rows: repeat(4, 1fr);
|
|
11272
12933
|
`;
|
|
11273
|
-
const DateCell =
|
|
12934
|
+
const DateCell = dt.div`
|
|
11274
12935
|
width: 100%;
|
|
11275
12936
|
aspect-ratio: 1 / 1;
|
|
11276
12937
|
/* height: 32px; */
|
|
@@ -11409,21 +13070,22 @@ const MonthPopupPicker = ({
|
|
|
11409
13070
|
};
|
|
11410
13071
|
|
|
11411
13072
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11412
|
-
const MonthPicker =
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
13073
|
+
const MonthPicker = _ref => {
|
|
13074
|
+
let {
|
|
13075
|
+
availableMonths,
|
|
13076
|
+
label,
|
|
13077
|
+
onChange,
|
|
13078
|
+
borderRadius,
|
|
13079
|
+
required,
|
|
13080
|
+
width,
|
|
13081
|
+
height,
|
|
13082
|
+
placeholder,
|
|
13083
|
+
disabled,
|
|
13084
|
+
borderColor,
|
|
13085
|
+
borderColorFocus,
|
|
13086
|
+
textColor,
|
|
13087
|
+
selectedValue
|
|
13088
|
+
} = _ref;
|
|
11427
13089
|
const [isFocused, setIsFocused] = useState(false);
|
|
11428
13090
|
const [isOpen, setIsOpen] = useState(false);
|
|
11429
13091
|
const [value, setValue] = useState('');
|
|
@@ -11576,7 +13238,7 @@ MonthPicker.defaultProps = {
|
|
|
11576
13238
|
selectedValue: ''
|
|
11577
13239
|
};
|
|
11578
13240
|
|
|
11579
|
-
const ControlsContainer$7 =
|
|
13241
|
+
const ControlsContainer$7 = dt.div`
|
|
11580
13242
|
display: flex;
|
|
11581
13243
|
flex-direction: column;
|
|
11582
13244
|
justify-content: space-between;
|
|
@@ -11591,37 +13253,37 @@ const ControlsContainer$7 = styled.div`
|
|
|
11591
13253
|
box-shadow: ${props => props.showShadow ? '0px 0px 20px 0px rgba(0, 0, 0, 0.2)' : ''};
|
|
11592
13254
|
box-sizing: border-box;
|
|
11593
13255
|
`;
|
|
11594
|
-
const ButtonsContainer =
|
|
13256
|
+
const ButtonsContainer = dt.div`
|
|
11595
13257
|
display: flex;
|
|
11596
13258
|
gap: 10px;
|
|
11597
13259
|
flex-direction: row-reverse;
|
|
11598
13260
|
`;
|
|
11599
|
-
const AllFieldsContainer =
|
|
13261
|
+
const AllFieldsContainer = dt.div`
|
|
11600
13262
|
display: flex;
|
|
11601
13263
|
justify-content: space-between;
|
|
11602
13264
|
align-items: flex-start;
|
|
11603
13265
|
flex-wrap: wrap;
|
|
11604
13266
|
width: 100%;
|
|
11605
13267
|
`;
|
|
11606
|
-
const FieldsContainer =
|
|
13268
|
+
const FieldsContainer = dt.div`
|
|
11607
13269
|
display: flex;
|
|
11608
13270
|
flex-direction: column;
|
|
11609
13271
|
white-space: wrap;
|
|
11610
13272
|
gap: 20px;
|
|
11611
13273
|
width: 100%;
|
|
11612
13274
|
`;
|
|
11613
|
-
const FieldContainer =
|
|
13275
|
+
const FieldContainer = dt.div`
|
|
11614
13276
|
margin: 0;
|
|
11615
13277
|
`;
|
|
11616
|
-
const DatePickerContainer =
|
|
13278
|
+
const DatePickerContainer = dt.div`
|
|
11617
13279
|
margin: 0;
|
|
11618
13280
|
`;
|
|
11619
|
-
const PeriodPickerContainer =
|
|
13281
|
+
const PeriodPickerContainer = dt.div`
|
|
11620
13282
|
display: flex;
|
|
11621
13283
|
flex-direction: column;
|
|
11622
13284
|
gap: 20px;
|
|
11623
13285
|
`;
|
|
11624
|
-
const PeriodPickerEmptyContainer =
|
|
13286
|
+
const PeriodPickerEmptyContainer = dt.div`
|
|
11625
13287
|
display: flex;
|
|
11626
13288
|
align-content: center;
|
|
11627
13289
|
justify-content: flex-start;
|
|
@@ -11635,7 +13297,7 @@ const PeriodPickerEmptyContainer = styled.div`
|
|
|
11635
13297
|
cursor: pointer;
|
|
11636
13298
|
}
|
|
11637
13299
|
`;
|
|
11638
|
-
const PeriodPickerEmptyText =
|
|
13300
|
+
const PeriodPickerEmptyText = dt.div`
|
|
11639
13301
|
margin: 0 20px;
|
|
11640
13302
|
font-family: "Poppins", sans-serif;
|
|
11641
13303
|
font-weight: 400;
|
|
@@ -11643,7 +13305,7 @@ const PeriodPickerEmptyText = styled.div`
|
|
|
11643
13305
|
color: #8B8989;
|
|
11644
13306
|
user-select: none;
|
|
11645
13307
|
`;
|
|
11646
|
-
const TooltipTextContainer =
|
|
13308
|
+
const TooltipTextContainer = dt.div`
|
|
11647
13309
|
margin: 5px;
|
|
11648
13310
|
font-family: "Poppins", sans-serif;
|
|
11649
13311
|
font-weight: 400;
|
|
@@ -11654,7 +13316,7 @@ const TooltipTextContainer = styled.div`
|
|
|
11654
13316
|
cursor: pointer;
|
|
11655
13317
|
}
|
|
11656
13318
|
`;
|
|
11657
|
-
const TooltipText =
|
|
13319
|
+
const TooltipText = dt.div`
|
|
11658
13320
|
margin: 0;
|
|
11659
13321
|
`;
|
|
11660
13322
|
|
|
@@ -12334,7 +13996,7 @@ const scrollableStyles$5 = `
|
|
|
12334
13996
|
border-radius: 5px;
|
|
12335
13997
|
}
|
|
12336
13998
|
`;
|
|
12337
|
-
const rotation$1 =
|
|
13999
|
+
const rotation$1 = mt`
|
|
12338
14000
|
0%, 100% {
|
|
12339
14001
|
box-shadow:
|
|
12340
14002
|
0px -8.32px 0px 0px #1F7677,
|
|
@@ -12431,9 +14093,9 @@ const rotation$1 = keyframes`
|
|
|
12431
14093
|
-5.76px -5.76px 0 0px #1F7677;
|
|
12432
14094
|
}
|
|
12433
14095
|
`;
|
|
12434
|
-
const ReportTableWrapper =
|
|
14096
|
+
const ReportTableWrapper = dt.div`
|
|
12435
14097
|
`;
|
|
12436
|
-
const PaginationContainer =
|
|
14098
|
+
const PaginationContainer = dt.div`
|
|
12437
14099
|
display: flex;
|
|
12438
14100
|
justify-content: center;
|
|
12439
14101
|
align-items: center;
|
|
@@ -12490,7 +14152,7 @@ const PaginationContainer = styled.div`
|
|
|
12490
14152
|
cursor: default;
|
|
12491
14153
|
}
|
|
12492
14154
|
`;
|
|
12493
|
-
const TooltipWrapper$1 =
|
|
14155
|
+
const TooltipWrapper$1 = dt.div`
|
|
12494
14156
|
width: max-content;
|
|
12495
14157
|
max-width: 330px;
|
|
12496
14158
|
/* white-space: wrap; */
|
|
@@ -12501,7 +14163,7 @@ const TooltipWrapper$1 = styled.div`
|
|
|
12501
14163
|
word-wrap: break-word;
|
|
12502
14164
|
white-space: normal;
|
|
12503
14165
|
`;
|
|
12504
|
-
const RecordDisplay =
|
|
14166
|
+
const RecordDisplay = dt.div`
|
|
12505
14167
|
color: #8b8989;
|
|
12506
14168
|
font-size: 14px;
|
|
12507
14169
|
font-weight: 400;
|
|
@@ -12509,12 +14171,12 @@ const RecordDisplay = styled.div`
|
|
|
12509
14171
|
margin-left: 20px;
|
|
12510
14172
|
position: absolute;
|
|
12511
14173
|
`;
|
|
12512
|
-
const PaginationWrapper =
|
|
14174
|
+
const PaginationWrapper = dt.div`
|
|
12513
14175
|
display: flex;
|
|
12514
14176
|
align-items: center;
|
|
12515
14177
|
justify-content: space-between;
|
|
12516
14178
|
`;
|
|
12517
|
-
const LoaderWrapper$1 =
|
|
14179
|
+
const LoaderWrapper$1 = dt.div`
|
|
12518
14180
|
position: absolute;
|
|
12519
14181
|
top: 40%;
|
|
12520
14182
|
left: 50%;
|
|
@@ -12534,7 +14196,7 @@ const LoaderWrapper$1 = styled.div`
|
|
|
12534
14196
|
font-size: 12px;
|
|
12535
14197
|
}
|
|
12536
14198
|
`;
|
|
12537
|
-
const Loader$1 =
|
|
14199
|
+
const Loader$1 = dt.span`
|
|
12538
14200
|
font-size: 10px;
|
|
12539
14201
|
width: 4px;
|
|
12540
14202
|
height: 4px;
|
|
@@ -12544,7 +14206,7 @@ const Loader$1 = styled.span`
|
|
|
12544
14206
|
animation: ${rotation$1} 1.5s infinite ease;
|
|
12545
14207
|
transform: translateZ(0);
|
|
12546
14208
|
`;
|
|
12547
|
-
const TableWrapper =
|
|
14209
|
+
const TableWrapper = dt.div`
|
|
12548
14210
|
position: relative;
|
|
12549
14211
|
width: ${props => `${props.width}`};
|
|
12550
14212
|
height: ${props => `${props.height}`};
|
|
@@ -12554,7 +14216,7 @@ const TableWrapper = styled.div`
|
|
|
12554
14216
|
overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
|
|
12555
14217
|
${scrollableStyles$5}
|
|
12556
14218
|
`;
|
|
12557
|
-
const Table =
|
|
14219
|
+
const Table = dt.table`
|
|
12558
14220
|
font-family: "Poppins", sans-serif;
|
|
12559
14221
|
width: ${props => `${props.tableWidthSize}%`};
|
|
12560
14222
|
table-layout: fixed;
|
|
@@ -12568,7 +14230,7 @@ const Table = styled.table`
|
|
|
12568
14230
|
text-overflow: ellipsis;
|
|
12569
14231
|
}
|
|
12570
14232
|
`;
|
|
12571
|
-
const Th =
|
|
14233
|
+
const Th = dt.th`
|
|
12572
14234
|
font-weight: 600;
|
|
12573
14235
|
font-size: 12px;
|
|
12574
14236
|
color: #212121;
|
|
@@ -12581,14 +14243,14 @@ const Th = styled.th`
|
|
|
12581
14243
|
align-items: center;
|
|
12582
14244
|
}
|
|
12583
14245
|
`;
|
|
12584
|
-
const Td =
|
|
14246
|
+
const Td = dt.td`
|
|
12585
14247
|
font-weight: 400;
|
|
12586
14248
|
font-size: 12px;
|
|
12587
14249
|
padding-top: 20px;
|
|
12588
14250
|
padding-bottom: 20px;
|
|
12589
14251
|
padding-left: 40px;
|
|
12590
14252
|
`;
|
|
12591
|
-
const Tr =
|
|
14253
|
+
const Tr = dt.tr`
|
|
12592
14254
|
border-bottom: 1px solid #f3f4f6;
|
|
12593
14255
|
${_ref => {
|
|
12594
14256
|
let {
|
|
@@ -12601,14 +14263,14 @@ const Tr = styled.tr`
|
|
|
12601
14263
|
}`;
|
|
12602
14264
|
}}
|
|
12603
14265
|
`;
|
|
12604
|
-
const InfoText =
|
|
14266
|
+
const InfoText = dt.div`
|
|
12605
14267
|
font-weight: 400;
|
|
12606
14268
|
font-size: 14px;
|
|
12607
14269
|
color: #212121;
|
|
12608
14270
|
padding-top: 20px;
|
|
12609
14271
|
padding-bottom: 20px;
|
|
12610
14272
|
`;
|
|
12611
|
-
const InfoBlock =
|
|
14273
|
+
const InfoBlock = dt.div`
|
|
12612
14274
|
display: flex;
|
|
12613
14275
|
justify-content: center;
|
|
12614
14276
|
align-items: center;
|
|
@@ -13056,7 +14718,7 @@ ReportTable.defaultProps = {
|
|
|
13056
14718
|
onSortReset: () => {}
|
|
13057
14719
|
};
|
|
13058
14720
|
|
|
13059
|
-
const EventListItemControlsContainer =
|
|
14721
|
+
const EventListItemControlsContainer = dt.div`
|
|
13060
14722
|
position: relative;
|
|
13061
14723
|
font-family: "Poppins", sans-serif;
|
|
13062
14724
|
width: ${props => props.width};
|
|
@@ -13069,13 +14731,13 @@ const EventListItemControlsContainer = styled.div`
|
|
|
13069
14731
|
padding: 20px;
|
|
13070
14732
|
border-radius: 12px;
|
|
13071
14733
|
`;
|
|
13072
|
-
const EventName =
|
|
14734
|
+
const EventName = dt.span`
|
|
13073
14735
|
font-size: 16px;
|
|
13074
14736
|
@media (max-width: 1536px) {
|
|
13075
14737
|
font-size: 14px;
|
|
13076
14738
|
}
|
|
13077
14739
|
`;
|
|
13078
|
-
const Period =
|
|
14740
|
+
const Period = dt.span`
|
|
13079
14741
|
color: #b1b1b1;
|
|
13080
14742
|
font-size: 16px;
|
|
13081
14743
|
margin-bottom: 8px;
|
|
@@ -13083,7 +14745,7 @@ const Period = styled.span`
|
|
|
13083
14745
|
font-size: 14px;
|
|
13084
14746
|
}
|
|
13085
14747
|
`;
|
|
13086
|
-
const SelectButtonContainer =
|
|
14748
|
+
const SelectButtonContainer = dt.span`
|
|
13087
14749
|
font-size: 16px;
|
|
13088
14750
|
display: flex;
|
|
13089
14751
|
align-items: center;
|
|
@@ -13143,7 +14805,7 @@ EventListItem.defaultProps = {
|
|
|
13143
14805
|
onClick: () => {}
|
|
13144
14806
|
};
|
|
13145
14807
|
|
|
13146
|
-
const MainContainer$4 =
|
|
14808
|
+
const MainContainer$4 = dt.div`
|
|
13147
14809
|
/* display: flex; */
|
|
13148
14810
|
position: relative;
|
|
13149
14811
|
font-family: "Poppins", sans-serif;
|
|
@@ -13152,7 +14814,7 @@ const MainContainer$4 = styled.div`
|
|
|
13152
14814
|
width: ${props => props.width};
|
|
13153
14815
|
height: ${props => props.height};
|
|
13154
14816
|
`;
|
|
13155
|
-
const PanelContainer$1 =
|
|
14817
|
+
const PanelContainer$1 = dt.div`
|
|
13156
14818
|
display: flex;
|
|
13157
14819
|
border-radius: 12px;
|
|
13158
14820
|
padding: 0 10px;
|
|
@@ -13163,14 +14825,14 @@ const PanelContainer$1 = styled.div`
|
|
|
13163
14825
|
overflow: hidden;
|
|
13164
14826
|
width: 100%;
|
|
13165
14827
|
`;
|
|
13166
|
-
const EventItemsContainer =
|
|
14828
|
+
const EventItemsContainer = dt.div`
|
|
13167
14829
|
display: grid;
|
|
13168
14830
|
grid-template-columns: repeat(3, 1fr);
|
|
13169
14831
|
padding: 15px 10px 30px;
|
|
13170
14832
|
gap: 30px;
|
|
13171
14833
|
width: 100%;
|
|
13172
14834
|
`;
|
|
13173
|
-
const OneEventItemContainer =
|
|
14835
|
+
const OneEventItemContainer = dt.div`
|
|
13174
14836
|
margin: 0;
|
|
13175
14837
|
`;
|
|
13176
14838
|
|
|
@@ -13235,17 +14897,17 @@ EventList.defaultProps = {
|
|
|
13235
14897
|
onSelectClick: () => {}
|
|
13236
14898
|
};
|
|
13237
14899
|
|
|
13238
|
-
const CollapseMenuItemMainContainer =
|
|
14900
|
+
const CollapseMenuItemMainContainer = dt.div`
|
|
13239
14901
|
font-family: "Poppins", sans-serif;
|
|
13240
14902
|
background: white;
|
|
13241
14903
|
padding: 20px 24px;
|
|
13242
14904
|
box-shadow: 0px 8px 20px -10px rgba(0, 0, 0, 0.2);
|
|
13243
14905
|
`;
|
|
13244
|
-
const CollapseMenuItemContainer =
|
|
14906
|
+
const CollapseMenuItemContainer = dt.div`
|
|
13245
14907
|
display: flex;
|
|
13246
14908
|
justify-content: space-between;
|
|
13247
14909
|
`;
|
|
13248
|
-
const rotation =
|
|
14910
|
+
const rotation = mt`
|
|
13249
14911
|
0%, 100% {
|
|
13250
14912
|
box-shadow:
|
|
13251
14913
|
0px -8.32px 0px 0px #ffffff,
|
|
@@ -13342,7 +15004,7 @@ const rotation = keyframes`
|
|
|
13342
15004
|
-5.76px -5.76px 0 0px #ffffff;
|
|
13343
15005
|
}
|
|
13344
15006
|
`;
|
|
13345
|
-
const LoaderWrapper =
|
|
15007
|
+
const LoaderWrapper = dt.div`
|
|
13346
15008
|
font-size: 16px;
|
|
13347
15009
|
display: flex;
|
|
13348
15010
|
gap: 20px;
|
|
@@ -13355,7 +15017,7 @@ const LoaderWrapper = styled.div`
|
|
|
13355
15017
|
font-size: 12px;
|
|
13356
15018
|
}
|
|
13357
15019
|
`;
|
|
13358
|
-
const Loader =
|
|
15020
|
+
const Loader = dt.span`
|
|
13359
15021
|
font-size: 10px;
|
|
13360
15022
|
width: 4px;
|
|
13361
15023
|
height: 4px;
|
|
@@ -13365,17 +15027,17 @@ const Loader = styled.span`
|
|
|
13365
15027
|
animation: ${rotation} 1.1s infinite ease;
|
|
13366
15028
|
transform: translateZ(0);
|
|
13367
15029
|
`;
|
|
13368
|
-
const BannerIcon =
|
|
15030
|
+
const BannerIcon = dt.div`
|
|
13369
15031
|
align-items: center;
|
|
13370
15032
|
display: flex;
|
|
13371
15033
|
`;
|
|
13372
|
-
const MainDetails =
|
|
15034
|
+
const MainDetails = dt.div`
|
|
13373
15035
|
display: flex;
|
|
13374
15036
|
align-items: center;
|
|
13375
15037
|
gap: 10px;
|
|
13376
15038
|
font-size: 16px;
|
|
13377
15039
|
`;
|
|
13378
|
-
const SubDetails =
|
|
15040
|
+
const SubDetails = dt.span`
|
|
13379
15041
|
font-size: 16px;
|
|
13380
15042
|
font-weight: 400;
|
|
13381
15043
|
@media (max-width: 1536px) {
|
|
@@ -13385,15 +15047,15 @@ const SubDetails = styled.span`
|
|
|
13385
15047
|
font-size: 12px;
|
|
13386
15048
|
}
|
|
13387
15049
|
`;
|
|
13388
|
-
const ProductName =
|
|
15050
|
+
const ProductName = dt.span`
|
|
13389
15051
|
color: #8b8989;
|
|
13390
15052
|
`;
|
|
13391
|
-
const ToggleContainer =
|
|
15053
|
+
const ToggleContainer = dt.div`
|
|
13392
15054
|
cursor: "pointer";
|
|
13393
15055
|
display: flex;
|
|
13394
15056
|
align-items: center;
|
|
13395
15057
|
`;
|
|
13396
|
-
const CollapseMenuItemContentContainer =
|
|
15058
|
+
const CollapseMenuItemContentContainer = dt.div`
|
|
13397
15059
|
font-weight: 500;
|
|
13398
15060
|
font-size: 14px;
|
|
13399
15061
|
margin-top: 12px;
|
|
@@ -13402,14 +15064,14 @@ const CollapseMenuItemContentContainer = styled.div`
|
|
|
13402
15064
|
font-size: 12px;
|
|
13403
15065
|
}
|
|
13404
15066
|
`;
|
|
13405
|
-
const MainContainer$3 =
|
|
15067
|
+
const MainContainer$3 = dt.div`
|
|
13406
15068
|
width: ${props => props.width};
|
|
13407
15069
|
height: ${props => props.height};
|
|
13408
15070
|
display: flex;
|
|
13409
15071
|
gap: 20px;
|
|
13410
15072
|
padding: 20px 0 4px;
|
|
13411
15073
|
`;
|
|
13412
|
-
const DraftTag$1 =
|
|
15074
|
+
const DraftTag$1 = dt.div`
|
|
13413
15075
|
color: #E41111;
|
|
13414
15076
|
border: 2px solid #E41111;
|
|
13415
15077
|
font-size: 20px;
|
|
@@ -13417,7 +15079,7 @@ const DraftTag$1 = styled.div`
|
|
|
13417
15079
|
height: fit-content;
|
|
13418
15080
|
`;
|
|
13419
15081
|
|
|
13420
|
-
const MainContainer$2 =
|
|
15082
|
+
const MainContainer$2 = dt.div`
|
|
13421
15083
|
width: ${props => props.width};
|
|
13422
15084
|
height: ${props => props.height};
|
|
13423
15085
|
font-family: 'Poppins', sans-serif;
|
|
@@ -13427,63 +15089,63 @@ const MainContainer$2 = styled.div`
|
|
|
13427
15089
|
border-radius: 12px;
|
|
13428
15090
|
border: 1px solid #D0D0D0;
|
|
13429
15091
|
`;
|
|
13430
|
-
const TitleWrapper =
|
|
15092
|
+
const TitleWrapper = dt.div`
|
|
13431
15093
|
display: flex;
|
|
13432
15094
|
align-items: center;
|
|
13433
15095
|
margin-bottom: 20px;
|
|
13434
15096
|
gap: 6px;
|
|
13435
15097
|
`;
|
|
13436
|
-
const CardTitle =
|
|
15098
|
+
const CardTitle = dt.h5`
|
|
13437
15099
|
font-size: 14px;
|
|
13438
15100
|
font-weight: 400;
|
|
13439
15101
|
margin: 0;
|
|
13440
15102
|
`;
|
|
13441
|
-
const Headline =
|
|
15103
|
+
const Headline = dt.h6`
|
|
13442
15104
|
font-size: 12px;
|
|
13443
15105
|
font-weight: 500;
|
|
13444
15106
|
margin: 0;
|
|
13445
15107
|
`;
|
|
13446
|
-
const Block =
|
|
15108
|
+
const Block = dt.div`
|
|
13447
15109
|
margin-bottom: 12px;
|
|
13448
15110
|
`;
|
|
13449
|
-
const Text =
|
|
15111
|
+
const Text = dt.p`
|
|
13450
15112
|
color: #8B8989;
|
|
13451
15113
|
font-size: 12px;
|
|
13452
15114
|
font-weight: 400;
|
|
13453
15115
|
margin: 0;
|
|
13454
15116
|
`;
|
|
13455
|
-
|
|
15117
|
+
dt.span`
|
|
13456
15118
|
color: #229E38;
|
|
13457
15119
|
font-size: 12px;
|
|
13458
15120
|
font-weight: 400;
|
|
13459
15121
|
text-decoration: underline;
|
|
13460
15122
|
cursor: pointer;
|
|
13461
15123
|
`;
|
|
13462
|
-
const DetailsWrapper =
|
|
15124
|
+
const DetailsWrapper = dt.div`
|
|
13463
15125
|
display: flex;
|
|
13464
15126
|
gap: 12px;
|
|
13465
15127
|
align-items: stretch;
|
|
13466
15128
|
margin-top: 12px;
|
|
13467
15129
|
`;
|
|
13468
|
-
const KeyBlock =
|
|
15130
|
+
const KeyBlock = dt.div`
|
|
13469
15131
|
/* position: relative; */
|
|
13470
15132
|
`;
|
|
13471
|
-
const Key =
|
|
15133
|
+
const Key = dt.span`
|
|
13472
15134
|
display: inline-flex;
|
|
13473
15135
|
align-items: center;
|
|
13474
15136
|
gap: 4px;
|
|
13475
15137
|
font-size: 12px;
|
|
13476
15138
|
font-weight: 500;
|
|
13477
15139
|
`;
|
|
13478
|
-
const Count =
|
|
15140
|
+
const Count = dt.span`
|
|
13479
15141
|
color: #8B8989;
|
|
13480
15142
|
font-size: 12px;
|
|
13481
15143
|
font-weight: 400;
|
|
13482
15144
|
`;
|
|
13483
|
-
const Seperator =
|
|
15145
|
+
const Seperator = dt.div`
|
|
13484
15146
|
border-right: 1px solid #F2F2F2;
|
|
13485
15147
|
`;
|
|
13486
|
-
const ButtonWrap =
|
|
15148
|
+
const ButtonWrap = dt.div`
|
|
13487
15149
|
display: flex;
|
|
13488
15150
|
justify-content: flex-start;
|
|
13489
15151
|
`;
|
|
@@ -13749,7 +15411,7 @@ const scrollableStyles$4 = `
|
|
|
13749
15411
|
border-radius: 5px;
|
|
13750
15412
|
}
|
|
13751
15413
|
`;
|
|
13752
|
-
const ModalWrapper =
|
|
15414
|
+
const ModalWrapper = dt.dialog`
|
|
13753
15415
|
width: 100vw;
|
|
13754
15416
|
height: 100vh;
|
|
13755
15417
|
padding: 20px;
|
|
@@ -13765,30 +15427,30 @@ const ModalWrapper = styled.dialog`
|
|
|
13765
15427
|
align-content: center;
|
|
13766
15428
|
}
|
|
13767
15429
|
`;
|
|
13768
|
-
const Modal =
|
|
15430
|
+
const Modal = dt.div`
|
|
13769
15431
|
width: 79%;
|
|
13770
15432
|
max-width: 1500px;
|
|
13771
15433
|
margin: 0 auto;
|
|
13772
15434
|
${scrollableStyles$4}
|
|
13773
15435
|
`;
|
|
13774
|
-
const ModalHeader =
|
|
15436
|
+
const ModalHeader = dt.div`
|
|
13775
15437
|
display: flex;
|
|
13776
15438
|
align-items: center;
|
|
13777
15439
|
justify-content: space-between;
|
|
13778
15440
|
margin-bottom: 32px;
|
|
13779
15441
|
`;
|
|
13780
|
-
const ModalBody =
|
|
15442
|
+
const ModalBody = dt.div`
|
|
13781
15443
|
${scrollableStyles$4}
|
|
13782
15444
|
max-height: 80vh;
|
|
13783
15445
|
`;
|
|
13784
|
-
const ModalTitle =
|
|
15446
|
+
const ModalTitle = dt.h5`
|
|
13785
15447
|
font-family: 'Poppins', sans-serif;
|
|
13786
15448
|
font-size: 32px;
|
|
13787
15449
|
font-weight: 500;
|
|
13788
15450
|
color: white;
|
|
13789
15451
|
margin: 0;
|
|
13790
15452
|
`;
|
|
13791
|
-
const ModalClose =
|
|
15453
|
+
const ModalClose = dt.button`
|
|
13792
15454
|
outline: none;
|
|
13793
15455
|
cursor: pointer;
|
|
13794
15456
|
border: none;
|
|
@@ -24033,7 +25695,7 @@ const TheGiantCompanyIcon = _ref => {
|
|
|
24033
25695
|
})));
|
|
24034
25696
|
};
|
|
24035
25697
|
|
|
24036
|
-
const MainContainer$1 =
|
|
25698
|
+
const MainContainer$1 = dt.div`
|
|
24037
25699
|
display: flex;
|
|
24038
25700
|
position: relative;
|
|
24039
25701
|
font-family: "Poppins", sans-serif;
|
|
@@ -24043,7 +25705,7 @@ const MainContainer$1 = styled.div`
|
|
|
24043
25705
|
height: ${props => props.height};
|
|
24044
25706
|
border-radius: 12px;
|
|
24045
25707
|
`;
|
|
24046
|
-
const PanelContainer =
|
|
25708
|
+
const PanelContainer = dt.div`
|
|
24047
25709
|
display: flex;
|
|
24048
25710
|
align-content: center;
|
|
24049
25711
|
flex-direction: column;
|
|
@@ -24059,27 +25721,27 @@ const PanelContainer = styled.div`
|
|
|
24059
25721
|
padding: 12px 0 0;
|
|
24060
25722
|
}
|
|
24061
25723
|
`;
|
|
24062
|
-
const EventNameAndViewCreativeContainer =
|
|
25724
|
+
const EventNameAndViewCreativeContainer = dt.div`
|
|
24063
25725
|
display: flex;
|
|
24064
25726
|
align-content: center;
|
|
24065
25727
|
align-items: center;
|
|
24066
25728
|
justify-content: space-between;
|
|
24067
25729
|
width: 100%;
|
|
24068
25730
|
`;
|
|
24069
|
-
const EventNameViewCreativeSubContainer =
|
|
25731
|
+
const EventNameViewCreativeSubContainer = dt.div`
|
|
24070
25732
|
display: flex;
|
|
24071
25733
|
position: relative;
|
|
24072
25734
|
align-content: center;
|
|
24073
25735
|
align-items: center;
|
|
24074
25736
|
gap: 20px;
|
|
24075
25737
|
`;
|
|
24076
|
-
const DraftTag =
|
|
25738
|
+
const DraftTag = dt.div`
|
|
24077
25739
|
color: #E41111;
|
|
24078
25740
|
border: 2px solid #E41111;
|
|
24079
25741
|
font-size: 20px;
|
|
24080
25742
|
padding: 6px 18px;
|
|
24081
25743
|
`;
|
|
24082
|
-
|
|
25744
|
+
dt.div`
|
|
24083
25745
|
display: flex;
|
|
24084
25746
|
align-items: center;
|
|
24085
25747
|
justify-content: center;
|
|
@@ -24091,7 +25753,7 @@ styled.div`
|
|
|
24091
25753
|
cursor: ${props => !props.disabled ? 'pointer' : 'default'};
|
|
24092
25754
|
}
|
|
24093
25755
|
`;
|
|
24094
|
-
|
|
25756
|
+
dt.h4`
|
|
24095
25757
|
display: flex;
|
|
24096
25758
|
line-height: 19px;
|
|
24097
25759
|
font-size: 14px;
|
|
@@ -24104,7 +25766,7 @@ styled.h4`
|
|
|
24104
25766
|
font-size: 12px;
|
|
24105
25767
|
}
|
|
24106
25768
|
`;
|
|
24107
|
-
const ViewCreativeButtonAndListBoxContainer =
|
|
25769
|
+
const ViewCreativeButtonAndListBoxContainer = dt.div`
|
|
24108
25770
|
position: relative;
|
|
24109
25771
|
overflow: visible;
|
|
24110
25772
|
font-size: 18px;
|
|
@@ -24115,21 +25777,21 @@ const ViewCreativeButtonAndListBoxContainer = styled.div`
|
|
|
24115
25777
|
font-size: 12px;
|
|
24116
25778
|
}
|
|
24117
25779
|
`;
|
|
24118
|
-
const ViewCreativeListBoxContainer =
|
|
25780
|
+
const ViewCreativeListBoxContainer = dt.div`
|
|
24119
25781
|
display: flex;
|
|
24120
25782
|
position: absolute;
|
|
24121
25783
|
left: ${props => props.left};
|
|
24122
25784
|
top: ${props => props.top};
|
|
24123
25785
|
z-index:1000;
|
|
24124
25786
|
`;
|
|
24125
|
-
const FilterValuesContainer =
|
|
25787
|
+
const FilterValuesContainer = dt.div`
|
|
24126
25788
|
display: flex;
|
|
24127
25789
|
align-content: center;
|
|
24128
25790
|
align-items: center;
|
|
24129
25791
|
width: 100%;
|
|
24130
25792
|
margin: 0.5rem 0 0 0;
|
|
24131
25793
|
`;
|
|
24132
|
-
const FilterValue =
|
|
25794
|
+
const FilterValue = dt.p`
|
|
24133
25795
|
color: #212121;
|
|
24134
25796
|
margin: 0;
|
|
24135
25797
|
font-size: 14px;
|
|
@@ -24141,32 +25803,32 @@ const FilterValue = styled.p`
|
|
|
24141
25803
|
font-size: 12px;
|
|
24142
25804
|
}
|
|
24143
25805
|
`;
|
|
24144
|
-
const FieldsDelimiter =
|
|
25806
|
+
const FieldsDelimiter = dt.p`
|
|
24145
25807
|
color: #ccc;
|
|
24146
25808
|
margin: 0;
|
|
24147
25809
|
`;
|
|
24148
|
-
const Retailer =
|
|
25810
|
+
const Retailer = dt.div`
|
|
24149
25811
|
color: #1b30aa;
|
|
24150
25812
|
margin: 0;
|
|
24151
25813
|
margin-inline-end: 5px;
|
|
24152
25814
|
`;
|
|
24153
|
-
const RetailerIconContainer =
|
|
25815
|
+
const RetailerIconContainer = dt.div`
|
|
24154
25816
|
display: flex;
|
|
24155
25817
|
align-items: center;
|
|
24156
25818
|
`;
|
|
24157
|
-
const ObjectiesContainer =
|
|
25819
|
+
const ObjectiesContainer = dt.div`
|
|
24158
25820
|
max-width: 70%;
|
|
24159
25821
|
`;
|
|
24160
|
-
const ObjectiesAndPeriodsContainer =
|
|
25822
|
+
const ObjectiesAndPeriodsContainer = dt.div`
|
|
24161
25823
|
display: flex;
|
|
24162
25824
|
gap: 40px;
|
|
24163
25825
|
width: 100%;
|
|
24164
25826
|
margin-top: 8px;
|
|
24165
25827
|
`;
|
|
24166
|
-
const ObjectivesTitle =
|
|
25828
|
+
const ObjectivesTitle = dt.strong`
|
|
24167
25829
|
font-weight: 500;
|
|
24168
25830
|
`;
|
|
24169
|
-
const ObjectivesDescription =
|
|
25831
|
+
const ObjectivesDescription = dt.p`
|
|
24170
25832
|
margin: 0;
|
|
24171
25833
|
font-size: 14px;
|
|
24172
25834
|
font-weight: 400;
|
|
@@ -24177,19 +25839,19 @@ const ObjectivesDescription = styled.p`
|
|
|
24177
25839
|
font-size: 12px;
|
|
24178
25840
|
}
|
|
24179
25841
|
`;
|
|
24180
|
-
|
|
25842
|
+
dt.a`
|
|
24181
25843
|
color: ${props => props.disabled ? '#B1B1B1' : '#1b30aa'};
|
|
24182
25844
|
&:hover {
|
|
24183
25845
|
cursor: ${props => !props.disabled ? 'pointer' : 'default'};
|
|
24184
25846
|
}
|
|
24185
25847
|
`;
|
|
24186
|
-
|
|
25848
|
+
dt.div`
|
|
24187
25849
|
align-items: center;
|
|
24188
25850
|
justify-content: flex-end;
|
|
24189
25851
|
min-height: 1.5rem;
|
|
24190
25852
|
`;
|
|
24191
|
-
|
|
24192
|
-
const PeriodsContainer =
|
|
25853
|
+
dt.div``;
|
|
25854
|
+
const PeriodsContainer = dt.div`
|
|
24193
25855
|
display: flex;
|
|
24194
25856
|
flex-wrap: wrap;
|
|
24195
25857
|
align-content: flex-start;
|
|
@@ -24199,11 +25861,11 @@ const PeriodsContainer = styled.div`
|
|
|
24199
25861
|
font-size: 12px;
|
|
24200
25862
|
}
|
|
24201
25863
|
`;
|
|
24202
|
-
const SubLineContainer =
|
|
25864
|
+
const SubLineContainer = dt.div`
|
|
24203
25865
|
display: flex;
|
|
24204
25866
|
width: 100%;
|
|
24205
25867
|
`;
|
|
24206
|
-
const PeriodLabel =
|
|
25868
|
+
const PeriodLabel = dt.strong`
|
|
24207
25869
|
font-size: 14px;
|
|
24208
25870
|
font-weight: 500;
|
|
24209
25871
|
@media (max-width: 1536px) {
|
|
@@ -24213,7 +25875,7 @@ const PeriodLabel = styled.strong`
|
|
|
24213
25875
|
font-size: 12px;
|
|
24214
25876
|
}
|
|
24215
25877
|
`;
|
|
24216
|
-
const PeriodValue =
|
|
25878
|
+
const PeriodValue = dt.p`
|
|
24217
25879
|
line-height: 19px;
|
|
24218
25880
|
font-size: 14px;
|
|
24219
25881
|
font-weight: 400;
|
|
@@ -24483,7 +26145,7 @@ CollapseHeader.defaultProps = {
|
|
|
24483
26145
|
datesTitle: "Event Dates: "
|
|
24484
26146
|
};
|
|
24485
26147
|
|
|
24486
|
-
const QuickFilterInput =
|
|
26148
|
+
const QuickFilterInput = dt.div`
|
|
24487
26149
|
position: relative;
|
|
24488
26150
|
align-content: center;
|
|
24489
26151
|
justify-content: center;
|
|
@@ -24494,14 +26156,14 @@ const QuickFilterInput = styled.div`
|
|
|
24494
26156
|
font-size: 14px;
|
|
24495
26157
|
border-radius: 8px;
|
|
24496
26158
|
`;
|
|
24497
|
-
const Label$1 =
|
|
26159
|
+
const Label$1 = dt.label`
|
|
24498
26160
|
font-size: 14px;
|
|
24499
26161
|
font-weight: 500;
|
|
24500
26162
|
color: ${props => props.disabled ? '#D0D0D0' : '212121'};
|
|
24501
26163
|
font-family: "Poppins";
|
|
24502
26164
|
white-space: nowrap;
|
|
24503
26165
|
`;
|
|
24504
|
-
const InputContainer$1 =
|
|
26166
|
+
const InputContainer$1 = dt.div`
|
|
24505
26167
|
display: flex;
|
|
24506
26168
|
justify-content: space-between;
|
|
24507
26169
|
align-content: center;
|
|
@@ -24532,12 +26194,12 @@ const InputContainer$1 = styled.div`
|
|
|
24532
26194
|
${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
24533
26195
|
}
|
|
24534
26196
|
`;
|
|
24535
|
-
const InputSubContainer$1 =
|
|
26197
|
+
const InputSubContainer$1 = dt.div`
|
|
24536
26198
|
display: flex;
|
|
24537
26199
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24538
26200
|
gap: 8px;
|
|
24539
26201
|
`;
|
|
24540
|
-
const StyledInput$1 =
|
|
26202
|
+
const StyledInput$1 = dt.input`
|
|
24541
26203
|
width: 100%;
|
|
24542
26204
|
height: 20px;
|
|
24543
26205
|
font-family: "Poppins";
|
|
@@ -24551,7 +26213,7 @@ const StyledInput$1 = styled.input`
|
|
|
24551
26213
|
color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
|
|
24552
26214
|
}
|
|
24553
26215
|
`;
|
|
24554
|
-
const OptionsContainer$1 =
|
|
26216
|
+
const OptionsContainer$1 = dt.div`
|
|
24555
26217
|
margin: 0;
|
|
24556
26218
|
top: 100%;
|
|
24557
26219
|
left: 0;
|
|
@@ -24560,7 +26222,7 @@ const OptionsContainer$1 = styled.div`
|
|
|
24560
26222
|
background-color: #fff;
|
|
24561
26223
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
24562
26224
|
`;
|
|
24563
|
-
const OptionsSubContainer$1 =
|
|
26225
|
+
const OptionsSubContainer$1 = dt.ul`
|
|
24564
26226
|
list-style: none;
|
|
24565
26227
|
font-weight: 400;
|
|
24566
26228
|
margin: 0;
|
|
@@ -24578,7 +26240,7 @@ const OptionsSubContainer$1 = styled.ul`
|
|
|
24578
26240
|
max-height: 400px;
|
|
24579
26241
|
overflow: auto;
|
|
24580
26242
|
`;
|
|
24581
|
-
const OptionItem$1 =
|
|
26243
|
+
const OptionItem$1 = dt.li`
|
|
24582
26244
|
padding: 10px;
|
|
24583
26245
|
cursor: pointer;
|
|
24584
26246
|
color: #212121;
|
|
@@ -24595,35 +26257,36 @@ const OptionItem$1 = styled.li`
|
|
|
24595
26257
|
color: #229e38;
|
|
24596
26258
|
}
|
|
24597
26259
|
`;
|
|
24598
|
-
const ErrorMessage$1 =
|
|
26260
|
+
const ErrorMessage$1 = dt.div`
|
|
24599
26261
|
font-size: 12px;
|
|
24600
26262
|
color: red;
|
|
24601
26263
|
margin-top: 5px;
|
|
24602
26264
|
`;
|
|
24603
|
-
const IconContainer$2 =
|
|
26265
|
+
const IconContainer$2 = dt.div`
|
|
24604
26266
|
padding: 2px;
|
|
24605
26267
|
cursor: pointer;
|
|
24606
26268
|
`;
|
|
24607
|
-
const DeleteIcon =
|
|
26269
|
+
const DeleteIcon = dt.div`
|
|
24608
26270
|
right: 40px;
|
|
24609
26271
|
position: absolute;
|
|
24610
26272
|
`;
|
|
24611
26273
|
|
|
24612
|
-
const QuickFilterDropdownSingle =
|
|
24613
|
-
|
|
24614
|
-
|
|
24615
|
-
|
|
24616
|
-
|
|
24617
|
-
|
|
24618
|
-
|
|
24619
|
-
|
|
24620
|
-
|
|
24621
|
-
|
|
24622
|
-
|
|
24623
|
-
|
|
24624
|
-
|
|
24625
|
-
|
|
24626
|
-
|
|
26274
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
26275
|
+
let {
|
|
26276
|
+
label,
|
|
26277
|
+
hoverColor,
|
|
26278
|
+
options,
|
|
26279
|
+
selectedValue,
|
|
26280
|
+
placeHolder,
|
|
26281
|
+
onChange,
|
|
26282
|
+
disabled,
|
|
26283
|
+
width,
|
|
26284
|
+
error,
|
|
26285
|
+
errorMessage,
|
|
26286
|
+
xIconShow,
|
|
26287
|
+
labelColor,
|
|
26288
|
+
showLabelOnTop
|
|
26289
|
+
} = _ref;
|
|
24627
26290
|
const [isFocused, setIsFocused] = useState(false);
|
|
24628
26291
|
const [showOptions, setShowOptions] = useState(false);
|
|
24629
26292
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24840,7 +26503,7 @@ QuickFilterDropdownSingle.defaultProps = {
|
|
|
24840
26503
|
showLabelOnTop: true
|
|
24841
26504
|
};
|
|
24842
26505
|
|
|
24843
|
-
const DropdownWrapper =
|
|
26506
|
+
const DropdownWrapper = dt.div`
|
|
24844
26507
|
position: relative;
|
|
24845
26508
|
display: flex;
|
|
24846
26509
|
flex-direction: column;
|
|
@@ -24853,7 +26516,7 @@ const DropdownWrapper = styled.div`
|
|
|
24853
26516
|
font-size: 14px;
|
|
24854
26517
|
border-radius: 10px;
|
|
24855
26518
|
`;
|
|
24856
|
-
const Label =
|
|
26519
|
+
const Label = dt.label`
|
|
24857
26520
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
24858
26521
|
font-weight: 400;
|
|
24859
26522
|
padding-inline-end: 5px;
|
|
@@ -24876,7 +26539,7 @@ const Label = styled.label`
|
|
|
24876
26539
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
24877
26540
|
}
|
|
24878
26541
|
`;
|
|
24879
|
-
const InputContainer =
|
|
26542
|
+
const InputContainer = dt.div`
|
|
24880
26543
|
display: flex;
|
|
24881
26544
|
flex-direction: row;
|
|
24882
26545
|
flex-wrap: nowrap;
|
|
@@ -24907,7 +26570,7 @@ const InputContainer = styled.div`
|
|
|
24907
26570
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
24908
26571
|
}
|
|
24909
26572
|
`;
|
|
24910
|
-
const InputSubContainer =
|
|
26573
|
+
const InputSubContainer = dt.div`
|
|
24911
26574
|
display: flex;
|
|
24912
26575
|
flex-direction: column;
|
|
24913
26576
|
flex-wrap: nowrap;
|
|
@@ -24926,7 +26589,7 @@ const InputSubContainer = styled.div`
|
|
|
24926
26589
|
outline: none;
|
|
24927
26590
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24928
26591
|
`;
|
|
24929
|
-
const StyledInput =
|
|
26592
|
+
const StyledInput = dt.input`
|
|
24930
26593
|
width: calc(100% - 20px);
|
|
24931
26594
|
height: 25px;
|
|
24932
26595
|
font-family: Poppins;
|
|
@@ -24937,7 +26600,7 @@ const StyledInput = styled.input`
|
|
|
24937
26600
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24938
26601
|
border: none;
|
|
24939
26602
|
`;
|
|
24940
|
-
const OptionsContainer =
|
|
26603
|
+
const OptionsContainer = dt.div`
|
|
24941
26604
|
margin: 0;
|
|
24942
26605
|
top: 100%;
|
|
24943
26606
|
left: 0;
|
|
@@ -24947,7 +26610,7 @@ const OptionsContainer = styled.div`
|
|
|
24947
26610
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
24948
26611
|
|
|
24949
26612
|
`;
|
|
24950
|
-
const OptionsSubContainer =
|
|
26613
|
+
const OptionsSubContainer = dt.ul`
|
|
24951
26614
|
list-style: none;
|
|
24952
26615
|
font-weight: 400;
|
|
24953
26616
|
margin: 0;
|
|
@@ -24965,7 +26628,7 @@ const OptionsSubContainer = styled.ul`
|
|
|
24965
26628
|
max-height: 400px;
|
|
24966
26629
|
overflow: auto;
|
|
24967
26630
|
`;
|
|
24968
|
-
const OptionItem =
|
|
26631
|
+
const OptionItem = dt.li`
|
|
24969
26632
|
gap: 8px;
|
|
24970
26633
|
padding: 10px;
|
|
24971
26634
|
cursor: pointer;
|
|
@@ -24980,12 +26643,12 @@ const OptionItem = styled.li`
|
|
|
24980
26643
|
background-color: #EDF6FF;
|
|
24981
26644
|
}
|
|
24982
26645
|
`;
|
|
24983
|
-
const ErrorMessage =
|
|
26646
|
+
const ErrorMessage = dt.div`
|
|
24984
26647
|
font-size: 12px;
|
|
24985
26648
|
color: red;
|
|
24986
26649
|
margin-top: 5px;
|
|
24987
26650
|
`;
|
|
24988
|
-
const SelectedOptionsContainer =
|
|
26651
|
+
const SelectedOptionsContainer = dt.div`
|
|
24989
26652
|
display: flex;
|
|
24990
26653
|
flex-direction: row;
|
|
24991
26654
|
flex-wrap: nowrap;
|
|
@@ -25001,7 +26664,7 @@ const SelectedOptionsContainer = styled.div`
|
|
|
25001
26664
|
background-color: #fff;
|
|
25002
26665
|
gap: 4px;
|
|
25003
26666
|
`;
|
|
25004
|
-
const SelectedOptionItem =
|
|
26667
|
+
const SelectedOptionItem = dt.div`
|
|
25005
26668
|
display: flex;
|
|
25006
26669
|
margin: 0;
|
|
25007
26670
|
flex-wrap: nowrap;
|
|
@@ -25015,29 +26678,30 @@ const SelectedOptionItem = styled.div`
|
|
|
25015
26678
|
padding: 4px 6px;
|
|
25016
26679
|
font-size: 12px;
|
|
25017
26680
|
`;
|
|
25018
|
-
const IconContainer$1 =
|
|
26681
|
+
const IconContainer$1 = dt.div`
|
|
25019
26682
|
display: flex;
|
|
25020
26683
|
padding: 2px;
|
|
25021
26684
|
cursor: pointer;
|
|
25022
26685
|
`;
|
|
25023
26686
|
|
|
25024
|
-
const QuickFilterDropdownMultiSelection =
|
|
25025
|
-
|
|
25026
|
-
|
|
25027
|
-
|
|
25028
|
-
|
|
25029
|
-
|
|
25030
|
-
|
|
25031
|
-
|
|
25032
|
-
|
|
25033
|
-
|
|
25034
|
-
|
|
25035
|
-
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
26687
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
26688
|
+
let {
|
|
26689
|
+
label,
|
|
26690
|
+
labelEmptyValue,
|
|
26691
|
+
options,
|
|
26692
|
+
selectedValue,
|
|
26693
|
+
placeHolder,
|
|
26694
|
+
onChange,
|
|
26695
|
+
required,
|
|
26696
|
+
disabled,
|
|
26697
|
+
width,
|
|
26698
|
+
error,
|
|
26699
|
+
errorMessage,
|
|
26700
|
+
labelColor,
|
|
26701
|
+
xIconShow,
|
|
26702
|
+
checkBoxColor,
|
|
26703
|
+
showLabelOnTop
|
|
26704
|
+
} = _ref;
|
|
25041
26705
|
const [isFocused, setIsFocused] = useState(false);
|
|
25042
26706
|
const [showOptions, setShowOptions] = useState(false);
|
|
25043
26707
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -25321,7 +26985,7 @@ QuickFilterDropdownMultiSelection.defaultProps = {
|
|
|
25321
26985
|
showLabelOnTop: true
|
|
25322
26986
|
};
|
|
25323
26987
|
|
|
25324
|
-
const QuickFilterMain =
|
|
26988
|
+
const QuickFilterMain = dt.div`
|
|
25325
26989
|
position: relative;
|
|
25326
26990
|
display: flex;
|
|
25327
26991
|
flex-direction: column;
|
|
@@ -25493,7 +27157,7 @@ classnames.exports;
|
|
|
25493
27157
|
var classnamesExports = classnames.exports;
|
|
25494
27158
|
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
25495
27159
|
|
|
25496
|
-
const StyledContainer =
|
|
27160
|
+
const StyledContainer = dt.div`
|
|
25497
27161
|
font-family: "Poppins", sans-serif;
|
|
25498
27162
|
width: ${props => props.width};
|
|
25499
27163
|
height: ${props => props.height};
|
|
@@ -25506,7 +27170,7 @@ const StyledContainer = styled.div`
|
|
|
25506
27170
|
background-color: white;
|
|
25507
27171
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
|
|
25508
27172
|
`;
|
|
25509
|
-
const OneColumnContainerMainDiv =
|
|
27173
|
+
const OneColumnContainerMainDiv = dt.div`
|
|
25510
27174
|
position: relative;
|
|
25511
27175
|
/* align-items: flex-start; */
|
|
25512
27176
|
justify-content: center;
|
|
@@ -25519,40 +27183,40 @@ const OneColumnContainerMainDiv = styled.div`
|
|
|
25519
27183
|
box-sizing: border-box;
|
|
25520
27184
|
}
|
|
25521
27185
|
`;
|
|
25522
|
-
const InfoTextContainer =
|
|
27186
|
+
const InfoTextContainer = dt.div`
|
|
25523
27187
|
background: white;
|
|
25524
27188
|
overflow: auto;
|
|
25525
27189
|
padding: 20px;
|
|
25526
27190
|
box-sizing: border-box;
|
|
25527
27191
|
`;
|
|
25528
|
-
const InfoTitleLabel =
|
|
27192
|
+
const InfoTitleLabel = dt.div`
|
|
25529
27193
|
font-weight: 600;
|
|
25530
27194
|
color: black;
|
|
25531
27195
|
margin: 0px 0px 10px 0px;
|
|
25532
27196
|
font-size: 18px;
|
|
25533
27197
|
line-height: 32px;
|
|
25534
27198
|
`;
|
|
25535
|
-
const InfoTextLabel =
|
|
27199
|
+
const InfoTextLabel = dt.div`
|
|
25536
27200
|
color: black;
|
|
25537
27201
|
font-size: 14px;
|
|
25538
27202
|
line-height: 20px;
|
|
25539
27203
|
font-weight: 400;
|
|
25540
27204
|
`;
|
|
25541
|
-
const ColumnTitle =
|
|
27205
|
+
const ColumnTitle = dt.span`
|
|
25542
27206
|
color: black;
|
|
25543
27207
|
display: inline-block;
|
|
25544
27208
|
font-size: 20px;
|
|
25545
27209
|
font-weight: 500;
|
|
25546
27210
|
padding: 20px 20px 0;
|
|
25547
27211
|
`;
|
|
25548
|
-
const IconContainer =
|
|
27212
|
+
const IconContainer = dt.div`
|
|
25549
27213
|
width: 20px;
|
|
25550
27214
|
height: 20px;
|
|
25551
27215
|
top: 10px;
|
|
25552
27216
|
right: 10px;
|
|
25553
27217
|
position: absolute;
|
|
25554
27218
|
`;
|
|
25555
|
-
const LoadingDiv =
|
|
27219
|
+
const LoadingDiv = dt.div`
|
|
25556
27220
|
height: 100%;
|
|
25557
27221
|
display: flex;
|
|
25558
27222
|
flex-direction: column;
|
|
@@ -25560,14 +27224,14 @@ const LoadingDiv = styled.div`
|
|
|
25560
27224
|
text-align: center;
|
|
25561
27225
|
gap: 10px;
|
|
25562
27226
|
`;
|
|
25563
|
-
const BannerContainer =
|
|
27227
|
+
const BannerContainer = dt.div`
|
|
25564
27228
|
position: absolute;
|
|
25565
27229
|
z-index: 99;
|
|
25566
27230
|
top: 18px;
|
|
25567
27231
|
right: ${props => props.right};
|
|
25568
27232
|
user-select: none;
|
|
25569
27233
|
`;
|
|
25570
|
-
const OutBanner$1 =
|
|
27234
|
+
const OutBanner$1 = dt.div`
|
|
25571
27235
|
display: flex;
|
|
25572
27236
|
justify-content: flex-end;
|
|
25573
27237
|
align-items: center;
|
|
@@ -25762,7 +27426,7 @@ const scrollableStyles$3 = `
|
|
|
25762
27426
|
border-radius: 5px;
|
|
25763
27427
|
}
|
|
25764
27428
|
`;
|
|
25765
|
-
const ControlsContainer$6 =
|
|
27429
|
+
const ControlsContainer$6 = dt.div`
|
|
25766
27430
|
position: relative;
|
|
25767
27431
|
font-family: "Poppins", sans-serif;
|
|
25768
27432
|
font-style: normal;
|
|
@@ -25781,18 +27445,18 @@ const ControlsContainer$6 = styled.div`
|
|
|
25781
27445
|
box-sizing: border-box;
|
|
25782
27446
|
}
|
|
25783
27447
|
`;
|
|
25784
|
-
const Controls$4 =
|
|
27448
|
+
const Controls$4 = dt.div`
|
|
25785
27449
|
display: flex;
|
|
25786
27450
|
flex-direction: column;
|
|
25787
27451
|
width: 100%;
|
|
25788
27452
|
height: 100%;
|
|
25789
27453
|
background: white;
|
|
25790
27454
|
`;
|
|
25791
|
-
const TitleAndValueContainer$3 =
|
|
27455
|
+
const TitleAndValueContainer$3 = dt.div`
|
|
25792
27456
|
display: flex;
|
|
25793
27457
|
flex-direction: column;
|
|
25794
27458
|
`;
|
|
25795
|
-
const Title$9 =
|
|
27459
|
+
const Title$9 = dt.h4`
|
|
25796
27460
|
font-weight: 400;
|
|
25797
27461
|
font-size: 20px;
|
|
25798
27462
|
margin: 0;
|
|
@@ -25803,12 +27467,12 @@ const Title$9 = styled.h4`
|
|
|
25803
27467
|
font-size: 10px;
|
|
25804
27468
|
}
|
|
25805
27469
|
`;
|
|
25806
|
-
const CurrencySignAndFormattedValueContainer$1 =
|
|
27470
|
+
const CurrencySignAndFormattedValueContainer$1 = dt.div`
|
|
25807
27471
|
display: flex;
|
|
25808
27472
|
align-items: center;
|
|
25809
27473
|
gap: 16px;
|
|
25810
27474
|
`;
|
|
25811
|
-
const CurrencySignOrPercent =
|
|
27475
|
+
const CurrencySignOrPercent = dt.span`
|
|
25812
27476
|
font-weight: 500;
|
|
25813
27477
|
font-size: 16px;
|
|
25814
27478
|
@media (max-width: 1536px) {
|
|
@@ -25818,7 +27482,7 @@ const CurrencySignOrPercent = styled.span`
|
|
|
25818
27482
|
font-size: 11px;
|
|
25819
27483
|
}
|
|
25820
27484
|
`;
|
|
25821
|
-
const FormattedValueText =
|
|
27485
|
+
const FormattedValueText = dt.div`
|
|
25822
27486
|
font-weight: 500;
|
|
25823
27487
|
font-size: 40px;
|
|
25824
27488
|
@media (max-width: 1536px) {
|
|
@@ -25901,7 +27565,7 @@ FormattedValue$2.defaultProps = {
|
|
|
25901
27565
|
isPercent: false
|
|
25902
27566
|
};
|
|
25903
27567
|
|
|
25904
|
-
const ControlsContainer$5 =
|
|
27568
|
+
const ControlsContainer$5 = dt.div`
|
|
25905
27569
|
position: relative;
|
|
25906
27570
|
font-family: "Poppins", sans-serif;
|
|
25907
27571
|
color: #212121;
|
|
@@ -25909,35 +27573,35 @@ const ControlsContainer$5 = styled.div`
|
|
|
25909
27573
|
height: ${props => props.height};
|
|
25910
27574
|
min-width: 250px;
|
|
25911
27575
|
`;
|
|
25912
|
-
const Controls$3 =
|
|
27576
|
+
const Controls$3 = dt.div`
|
|
25913
27577
|
height: 100%;
|
|
25914
27578
|
width: 100%;
|
|
25915
27579
|
background: white;
|
|
25916
27580
|
display: flex;
|
|
25917
27581
|
flex-direction: column;
|
|
25918
27582
|
`;
|
|
25919
|
-
const TooltipDiv$2 =
|
|
27583
|
+
const TooltipDiv$2 = dt.div`
|
|
25920
27584
|
border-radius: 5px;
|
|
25921
27585
|
padding: 8px 12px;
|
|
25922
27586
|
background: white;
|
|
25923
27587
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
25924
27588
|
margin: 0;
|
|
25925
27589
|
`;
|
|
25926
|
-
const TooltipLabel$2 =
|
|
27590
|
+
const TooltipLabel$2 = dt.div`
|
|
25927
27591
|
color: #212121;
|
|
25928
27592
|
font-size: 14px;
|
|
25929
27593
|
font-weight: 400;
|
|
25930
27594
|
width: fit-content;
|
|
25931
27595
|
`;
|
|
25932
|
-
const TooltipTitle$1 =
|
|
27596
|
+
const TooltipTitle$1 = dt.div`
|
|
25933
27597
|
color: #212121;
|
|
25934
27598
|
font-size: 14px;
|
|
25935
27599
|
font-weight: 600;
|
|
25936
27600
|
`;
|
|
25937
|
-
const TitleAndValueContainer$2 =
|
|
27601
|
+
const TitleAndValueContainer$2 = dt.div`
|
|
25938
27602
|
padding: 0 1rem;
|
|
25939
27603
|
`;
|
|
25940
|
-
const Title$8 =
|
|
27604
|
+
const Title$8 = dt.h5`
|
|
25941
27605
|
font-weight: 500;
|
|
25942
27606
|
font-size: 18px;
|
|
25943
27607
|
line-height: 20px;
|
|
@@ -25949,7 +27613,7 @@ const Title$8 = styled.h5`
|
|
|
25949
27613
|
font-size: 14px;
|
|
25950
27614
|
}
|
|
25951
27615
|
`;
|
|
25952
|
-
const EventWeeksLegendMainContainer =
|
|
27616
|
+
const EventWeeksLegendMainContainer = dt.div`
|
|
25953
27617
|
display: flex;
|
|
25954
27618
|
justify-content: center;
|
|
25955
27619
|
flex-direction: column;
|
|
@@ -25957,14 +27621,14 @@ const EventWeeksLegendMainContainer = styled.div`
|
|
|
25957
27621
|
padding-left: 55px;
|
|
25958
27622
|
align-items: center;
|
|
25959
27623
|
`;
|
|
25960
|
-
const EventWeeksLegendDataElementsContainer =
|
|
27624
|
+
const EventWeeksLegendDataElementsContainer = dt.div`
|
|
25961
27625
|
display: flex;
|
|
25962
27626
|
margin: 0px;
|
|
25963
27627
|
align-items: center;
|
|
25964
27628
|
justify-content: space-around;
|
|
25965
27629
|
width: 100%;
|
|
25966
27630
|
`;
|
|
25967
|
-
const EventWeeksLegendDataElement =
|
|
27631
|
+
const EventWeeksLegendDataElement = dt.h4`
|
|
25968
27632
|
display: flex;
|
|
25969
27633
|
font-weight: ${props => props.fontWeight};
|
|
25970
27634
|
font-size: 12px;
|
|
@@ -25986,7 +27650,7 @@ const EventWeeksLegendDataElement = styled.h4`
|
|
|
25986
27650
|
font-size: 10px;
|
|
25987
27651
|
}
|
|
25988
27652
|
`;
|
|
25989
|
-
const LegendWrapper =
|
|
27653
|
+
const LegendWrapper = dt.div`
|
|
25990
27654
|
padding-top: 15px;
|
|
25991
27655
|
`;
|
|
25992
27656
|
|
|
@@ -26024,7 +27688,7 @@ const LegendLineIcon = ({
|
|
|
26024
27688
|
fill: color
|
|
26025
27689
|
}));
|
|
26026
27690
|
|
|
26027
|
-
const ControlsContainer$4 =
|
|
27691
|
+
const ControlsContainer$4 = dt.div`
|
|
26028
27692
|
position: relative;
|
|
26029
27693
|
font-family: "Poppins", sans-serif;
|
|
26030
27694
|
font-size: ${props => props.rootFont};
|
|
@@ -26036,7 +27700,7 @@ const ControlsContainer$4 = styled.div`
|
|
|
26036
27700
|
box-sizing: border-box;
|
|
26037
27701
|
}
|
|
26038
27702
|
`;
|
|
26039
|
-
const Controls$2 =
|
|
27703
|
+
const Controls$2 = dt.div`
|
|
26040
27704
|
display: flex;
|
|
26041
27705
|
gap: 20px;
|
|
26042
27706
|
flex-direction: column;
|
|
@@ -26044,7 +27708,7 @@ const Controls$2 = styled.div`
|
|
|
26044
27708
|
height: 100%;
|
|
26045
27709
|
background: white;
|
|
26046
27710
|
`;
|
|
26047
|
-
const LegendDataContainer =
|
|
27711
|
+
const LegendDataContainer = dt.div`
|
|
26048
27712
|
display: flex;
|
|
26049
27713
|
justify-content: center;
|
|
26050
27714
|
gap: 40px;
|
|
@@ -26056,11 +27720,11 @@ const LegendDataContainer = styled.div`
|
|
|
26056
27720
|
gap: 30px;
|
|
26057
27721
|
}
|
|
26058
27722
|
`;
|
|
26059
|
-
const TitleAndIconContainer =
|
|
27723
|
+
const TitleAndIconContainer = dt.div`
|
|
26060
27724
|
display: flex;
|
|
26061
27725
|
align-items: center;
|
|
26062
27726
|
`;
|
|
26063
|
-
const Title$7 =
|
|
27727
|
+
const Title$7 = dt.h4`
|
|
26064
27728
|
font-weight: 400;
|
|
26065
27729
|
font-size: 14px;
|
|
26066
27730
|
line-height: 27px;
|
|
@@ -26072,7 +27736,7 @@ const Title$7 = styled.h4`
|
|
|
26072
27736
|
font-size: 12px;
|
|
26073
27737
|
}
|
|
26074
27738
|
`;
|
|
26075
|
-
const LegendColorRectangle$1 =
|
|
27739
|
+
const LegendColorRectangle$1 = dt.div`
|
|
26076
27740
|
width: 0.875rem;
|
|
26077
27741
|
min-width: 0.875rem;
|
|
26078
27742
|
height: 0.875rem;
|
|
@@ -26473,7 +28137,7 @@ const scrollableStyles$2 = `
|
|
|
26473
28137
|
border-radius: 5px;
|
|
26474
28138
|
}
|
|
26475
28139
|
`;
|
|
26476
|
-
const ControlsContainer$3 =
|
|
28140
|
+
const ControlsContainer$3 = dt.div`
|
|
26477
28141
|
position: relative;
|
|
26478
28142
|
font-family: "Poppins", sans-serif;
|
|
26479
28143
|
font-style: normal;
|
|
@@ -26492,7 +28156,7 @@ const ControlsContainer$3 = styled.div`
|
|
|
26492
28156
|
box-sizing: border-box;
|
|
26493
28157
|
}
|
|
26494
28158
|
`;
|
|
26495
|
-
const Controls$1 =
|
|
28159
|
+
const Controls$1 = dt.div`
|
|
26496
28160
|
display: flex;
|
|
26497
28161
|
flex-direction: column;
|
|
26498
28162
|
width: 100%;
|
|
@@ -26500,7 +28164,7 @@ const Controls$1 = styled.div`
|
|
|
26500
28164
|
background: white;
|
|
26501
28165
|
border-radius: 12px;
|
|
26502
28166
|
`;
|
|
26503
|
-
const TooltipDiv$1 =
|
|
28167
|
+
const TooltipDiv$1 = dt.div`
|
|
26504
28168
|
display: flex;
|
|
26505
28169
|
background: white;
|
|
26506
28170
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
@@ -26508,7 +28172,7 @@ const TooltipDiv$1 = styled.div`
|
|
|
26508
28172
|
padding: 6px 10px;
|
|
26509
28173
|
margin: 0;
|
|
26510
28174
|
`;
|
|
26511
|
-
const TooltipLabel$1 =
|
|
28175
|
+
const TooltipLabel$1 = dt.p`
|
|
26512
28176
|
color: #212121;
|
|
26513
28177
|
font-family: "Poppins", sans-serif;
|
|
26514
28178
|
font-size: 12px;
|
|
@@ -26518,12 +28182,12 @@ const TooltipLabel$1 = styled.p`
|
|
|
26518
28182
|
line-height: normal;
|
|
26519
28183
|
margin: 0;
|
|
26520
28184
|
`;
|
|
26521
|
-
const TitleAndValueContainer$1 =
|
|
28185
|
+
const TitleAndValueContainer$1 = dt.div`
|
|
26522
28186
|
display: flex;
|
|
26523
28187
|
flex-direction: column;
|
|
26524
28188
|
padding: 0 20px;
|
|
26525
28189
|
`;
|
|
26526
|
-
const Title$6 =
|
|
28190
|
+
const Title$6 = dt.h4`
|
|
26527
28191
|
font-weight: 500;
|
|
26528
28192
|
font-size: 1rem;
|
|
26529
28193
|
margin: 0;
|
|
@@ -26534,13 +28198,13 @@ const Title$6 = styled.h4`
|
|
|
26534
28198
|
font-size: 12px;
|
|
26535
28199
|
}
|
|
26536
28200
|
`;
|
|
26537
|
-
const CurrencySignAndFormattedValueContainer =
|
|
28201
|
+
const CurrencySignAndFormattedValueContainer = dt.div`
|
|
26538
28202
|
display: flex;
|
|
26539
28203
|
align-items: center;
|
|
26540
28204
|
gap: 5px;
|
|
26541
28205
|
align-items: baseline;
|
|
26542
28206
|
`;
|
|
26543
|
-
const CurrencySign$1 =
|
|
28207
|
+
const CurrencySign$1 = dt.span`
|
|
26544
28208
|
font-weight: 500;
|
|
26545
28209
|
font-size: 16px;
|
|
26546
28210
|
@media (max-width: 1536px) {
|
|
@@ -26550,7 +28214,7 @@ const CurrencySign$1 = styled.span`
|
|
|
26550
28214
|
font-size: 11px;
|
|
26551
28215
|
}
|
|
26552
28216
|
`;
|
|
26553
|
-
const FormattedValue$1 =
|
|
28217
|
+
const FormattedValue$1 = dt.div`
|
|
26554
28218
|
font-weight: 500;
|
|
26555
28219
|
font-size: 40px;
|
|
26556
28220
|
@media (max-width: 1536px) {
|
|
@@ -26560,7 +28224,7 @@ const FormattedValue$1 = styled.div`
|
|
|
26560
28224
|
font-size: 20px;
|
|
26561
28225
|
}
|
|
26562
28226
|
`;
|
|
26563
|
-
const TextAfterValue =
|
|
28227
|
+
const TextAfterValue = dt.div`
|
|
26564
28228
|
font-weight: 400;
|
|
26565
28229
|
font-size: 12px;
|
|
26566
28230
|
@media (max-width: 1536px) {
|
|
@@ -26570,45 +28234,45 @@ const TextAfterValue = styled.div`
|
|
|
26570
28234
|
font-size: 10px;
|
|
26571
28235
|
}
|
|
26572
28236
|
`;
|
|
26573
|
-
const DoughnutChartAndLegendContainer =
|
|
28237
|
+
const DoughnutChartAndLegendContainer = dt.div`
|
|
26574
28238
|
display: flex;
|
|
26575
28239
|
justify-content: space-between;
|
|
26576
28240
|
margin-top: auto;
|
|
26577
28241
|
padding: 0 20px ;
|
|
26578
28242
|
margin-bottom: 20px;
|
|
26579
28243
|
`;
|
|
26580
|
-
const DoughnutChartContainer =
|
|
28244
|
+
const DoughnutChartContainer = dt.div`
|
|
26581
28245
|
display: flex;
|
|
26582
28246
|
align-items: center;
|
|
26583
28247
|
min-width: 90px;
|
|
26584
28248
|
min-height: 90px;
|
|
26585
28249
|
`;
|
|
26586
|
-
const LegendContainer$1 =
|
|
28250
|
+
const LegendContainer$1 = dt.div`
|
|
26587
28251
|
padding-left: 10px;
|
|
26588
28252
|
display: flex;
|
|
26589
28253
|
flex-direction: column;
|
|
26590
28254
|
justify-content: space-evenly;
|
|
26591
28255
|
`;
|
|
26592
|
-
const LegendControlsContainer =
|
|
28256
|
+
const LegendControlsContainer = dt.div`
|
|
26593
28257
|
display: flex;
|
|
26594
28258
|
gap: 0.5rem;
|
|
26595
28259
|
align-items: center;
|
|
26596
28260
|
margin-bottom: 0.375rem;
|
|
26597
28261
|
`;
|
|
26598
|
-
const LegendTitleAndFormatedValueContainer =
|
|
28262
|
+
const LegendTitleAndFormatedValueContainer = dt.div`
|
|
26599
28263
|
flex-grow: 1;
|
|
26600
28264
|
`;
|
|
26601
|
-
|
|
28265
|
+
dt.div`
|
|
26602
28266
|
font-size: 0.875rem;
|
|
26603
28267
|
`;
|
|
26604
|
-
const LegendColorRectangle =
|
|
28268
|
+
const LegendColorRectangle = dt.div`
|
|
26605
28269
|
width: 0.875rem;
|
|
26606
28270
|
min-width: 0.875rem;
|
|
26607
28271
|
height: 0.875rem;
|
|
26608
28272
|
border-radius: 2px;
|
|
26609
28273
|
background: ${props => props.color};
|
|
26610
28274
|
`;
|
|
26611
|
-
const LegendTitle =
|
|
28275
|
+
const LegendTitle = dt.h5`
|
|
26612
28276
|
font-weight: 400;
|
|
26613
28277
|
font-size: 16px;
|
|
26614
28278
|
gap: 5px;
|
|
@@ -26622,7 +28286,7 @@ const LegendTitle = styled.h5`
|
|
|
26622
28286
|
font-size: 10px;
|
|
26623
28287
|
}
|
|
26624
28288
|
`;
|
|
26625
|
-
const LegendFormattedValue =
|
|
28289
|
+
const LegendFormattedValue = dt.span`
|
|
26626
28290
|
font-weight: 500;
|
|
26627
28291
|
white-space: nowrap;
|
|
26628
28292
|
`;
|
|
@@ -26831,7 +28495,7 @@ CustomTooltip.defaultProps = {
|
|
|
26831
28495
|
isPercent: false
|
|
26832
28496
|
};
|
|
26833
28497
|
|
|
26834
|
-
const TooltipContainer$1 =
|
|
28498
|
+
const TooltipContainer$1 = dt.div`
|
|
26835
28499
|
--tooltip-text-color: black;
|
|
26836
28500
|
--tooltip-background-color: white;
|
|
26837
28501
|
--tooltip-margin: 40px;
|
|
@@ -26841,11 +28505,11 @@ const TooltipContainer$1 = styled.div`
|
|
|
26841
28505
|
top: ${props => props.top};
|
|
26842
28506
|
left: ${props => props.left};
|
|
26843
28507
|
`;
|
|
26844
|
-
const TooltipWrapper =
|
|
28508
|
+
const TooltipWrapper = dt.div`
|
|
26845
28509
|
display: inline-block;
|
|
26846
28510
|
position: relative;
|
|
26847
28511
|
`;
|
|
26848
|
-
const TooltipTip =
|
|
28512
|
+
const TooltipTip = dt.div`
|
|
26849
28513
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
26850
28514
|
position: absolute;
|
|
26851
28515
|
border-radius: 4px;
|
|
@@ -26960,7 +28624,7 @@ Tooltip.defaultProps = {
|
|
|
26960
28624
|
content: ''
|
|
26961
28625
|
};
|
|
26962
28626
|
|
|
26963
|
-
const ControlsContainer$2 =
|
|
28627
|
+
const ControlsContainer$2 = dt.div`
|
|
26964
28628
|
font-family: "Poppins", sans-serif;
|
|
26965
28629
|
background-color: white;
|
|
26966
28630
|
color: ${props => props.textColor};
|
|
@@ -26985,7 +28649,7 @@ const ControlsContainer$2 = styled.div`
|
|
|
26985
28649
|
border-radius: 5px;
|
|
26986
28650
|
}
|
|
26987
28651
|
`;
|
|
26988
|
-
|
|
28652
|
+
dt.div`
|
|
26989
28653
|
overflow-y: auto;
|
|
26990
28654
|
height: 100%;
|
|
26991
28655
|
|
|
@@ -27003,14 +28667,14 @@ styled.div`
|
|
|
27003
28667
|
border-radius: 5px;
|
|
27004
28668
|
}
|
|
27005
28669
|
`;
|
|
27006
|
-
const CardHeader =
|
|
28670
|
+
const CardHeader = dt.div`
|
|
27007
28671
|
padding: 16px;
|
|
27008
28672
|
position: sticky;
|
|
27009
28673
|
top: 0;
|
|
27010
28674
|
z-index: 10;
|
|
27011
28675
|
background-color: white;
|
|
27012
28676
|
`;
|
|
27013
|
-
const TotalValue =
|
|
28677
|
+
const TotalValue = dt.div`
|
|
27014
28678
|
font-weight: 500;
|
|
27015
28679
|
font-size: 40px;
|
|
27016
28680
|
display: flex;
|
|
@@ -27023,7 +28687,7 @@ const TotalValue = styled.div`
|
|
|
27023
28687
|
font-size: 20px;
|
|
27024
28688
|
}
|
|
27025
28689
|
`;
|
|
27026
|
-
const Title$5 =
|
|
28690
|
+
const Title$5 = dt.h4`
|
|
27027
28691
|
font-size: 18px;
|
|
27028
28692
|
font-weight: 400;
|
|
27029
28693
|
line-height: 1;
|
|
@@ -27035,7 +28699,7 @@ const Title$5 = styled.h4`
|
|
|
27035
28699
|
font-size: 12px;
|
|
27036
28700
|
}
|
|
27037
28701
|
`;
|
|
27038
|
-
const CurrencySign =
|
|
28702
|
+
const CurrencySign = dt.span`
|
|
27039
28703
|
font-weight: 500;
|
|
27040
28704
|
font-size: 16px;
|
|
27041
28705
|
@media (max-width: 1536px) {
|
|
@@ -27289,7 +28953,7 @@ TotalHorizontalCharts.defaultProps = {
|
|
|
27289
28953
|
hideTitle: false
|
|
27290
28954
|
};
|
|
27291
28955
|
|
|
27292
|
-
const ControlsContainer$1 =
|
|
28956
|
+
const ControlsContainer$1 = dt.div`
|
|
27293
28957
|
// position: relative;
|
|
27294
28958
|
display: flex;
|
|
27295
28959
|
flex-direction: column;
|
|
@@ -27301,12 +28965,12 @@ const ControlsContainer$1 = styled.div`
|
|
|
27301
28965
|
box-shadow: ${props => props.showBorderShadow ? '0px 0px 20px 0px rgba(0, 0, 0, 0.2)' : null};
|
|
27302
28966
|
border-radius: 12px;
|
|
27303
28967
|
`;
|
|
27304
|
-
const TitleAndValueContainer =
|
|
28968
|
+
const TitleAndValueContainer = dt.div`
|
|
27305
28969
|
display: flex;
|
|
27306
28970
|
justify-content: space-between;
|
|
27307
28971
|
padding: 0;
|
|
27308
28972
|
`;
|
|
27309
|
-
const ItemsContainer =
|
|
28973
|
+
const ItemsContainer = dt.div`
|
|
27310
28974
|
display: grid;
|
|
27311
28975
|
grid-template-columns: repeat(2, 1fr); /* Two columns */
|
|
27312
28976
|
padding: 20px;
|
|
@@ -27314,13 +28978,13 @@ const ItemsContainer = styled.div`
|
|
|
27314
28978
|
width: 90%;
|
|
27315
28979
|
height: 100%;
|
|
27316
28980
|
`;
|
|
27317
|
-
const ItemContainer =
|
|
28981
|
+
const ItemContainer = dt.div`
|
|
27318
28982
|
display: flex;
|
|
27319
28983
|
justify-content: flex-start;
|
|
27320
28984
|
flex-direction: column;
|
|
27321
28985
|
flex-wrap: wrap;
|
|
27322
28986
|
`;
|
|
27323
|
-
const Title$4 =
|
|
28987
|
+
const Title$4 = dt.h4`
|
|
27324
28988
|
font-size: 18px;
|
|
27325
28989
|
font-weight: 500;
|
|
27326
28990
|
margin: 0;
|
|
@@ -27331,7 +28995,7 @@ const Title$4 = styled.h4`
|
|
|
27331
28995
|
font-size: 14px;
|
|
27332
28996
|
}
|
|
27333
28997
|
`;
|
|
27334
|
-
const ItemTitle =
|
|
28998
|
+
const ItemTitle = dt.h4`
|
|
27335
28999
|
font-size: 18px;
|
|
27336
29000
|
font-weight: 500;
|
|
27337
29001
|
margin: 0;
|
|
@@ -27342,7 +29006,7 @@ const ItemTitle = styled.h4`
|
|
|
27342
29006
|
font-size: 12px;
|
|
27343
29007
|
}
|
|
27344
29008
|
`;
|
|
27345
|
-
const FormattedValue =
|
|
29009
|
+
const FormattedValue = dt.div`
|
|
27346
29010
|
font-weight: 500;
|
|
27347
29011
|
font-size: 40px;
|
|
27348
29012
|
display: flex;
|
|
@@ -27355,7 +29019,7 @@ const FormattedValue = styled.div`
|
|
|
27355
29019
|
font-size: 20px;
|
|
27356
29020
|
}
|
|
27357
29021
|
`;
|
|
27358
|
-
const OutBanner =
|
|
29022
|
+
const OutBanner = dt.div`
|
|
27359
29023
|
display: flex;
|
|
27360
29024
|
gap: 8px;
|
|
27361
29025
|
align-items: center;
|
|
@@ -27382,7 +29046,7 @@ const OutBanner = styled.div`
|
|
|
27382
29046
|
}
|
|
27383
29047
|
}
|
|
27384
29048
|
`;
|
|
27385
|
-
const TextBeforeAndAfterValue =
|
|
29049
|
+
const TextBeforeAndAfterValue = dt.span`
|
|
27386
29050
|
font-weight: 500;
|
|
27387
29051
|
font-size: 16px;
|
|
27388
29052
|
@media (max-width: 1536px) {
|
|
@@ -27502,8 +29166,8 @@ const scrollableStyles$1 = `
|
|
|
27502
29166
|
border-radius: 5px;
|
|
27503
29167
|
}
|
|
27504
29168
|
`;
|
|
27505
|
-
const MainContainer =
|
|
27506
|
-
const ModalOverlay =
|
|
29169
|
+
const MainContainer = dt.div``;
|
|
29170
|
+
const ModalOverlay = dt.div`
|
|
27507
29171
|
position: fixed;
|
|
27508
29172
|
z-index: 100;
|
|
27509
29173
|
top: 0;
|
|
@@ -27515,7 +29179,7 @@ const ModalOverlay = styled.div`
|
|
|
27515
29179
|
justify-content: center;
|
|
27516
29180
|
align-items: center;
|
|
27517
29181
|
`;
|
|
27518
|
-
const ModalContent =
|
|
29182
|
+
const ModalContent = dt.div`
|
|
27519
29183
|
font-family: "Poppins", sans-serif;
|
|
27520
29184
|
font-weight: 500;
|
|
27521
29185
|
font-size: 18px;
|
|
@@ -27527,7 +29191,7 @@ const ModalContent = styled.div`
|
|
|
27527
29191
|
width: ${props => props.width};
|
|
27528
29192
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
27529
29193
|
`;
|
|
27530
|
-
const TitleContainer$1 =
|
|
29194
|
+
const TitleContainer$1 = dt.div`
|
|
27531
29195
|
display: flex;
|
|
27532
29196
|
justify-content: space-between;
|
|
27533
29197
|
align-items: center;
|
|
@@ -27535,12 +29199,12 @@ const TitleContainer$1 = styled.div`
|
|
|
27535
29199
|
margin: 0;
|
|
27536
29200
|
border-bottom: 1px solid #b1b1b1;
|
|
27537
29201
|
`;
|
|
27538
|
-
const Title$3 =
|
|
29202
|
+
const Title$3 = dt.p`
|
|
27539
29203
|
font-weight: 400;
|
|
27540
29204
|
font-size: 24px;
|
|
27541
29205
|
margin: 0;
|
|
27542
29206
|
`;
|
|
27543
|
-
const ChartsContainer =
|
|
29207
|
+
const ChartsContainer = dt.div`
|
|
27544
29208
|
display: grid;
|
|
27545
29209
|
grid-template-columns: repeat(3, 1fr); /* 3 columns */
|
|
27546
29210
|
flex-wrap: wrap;
|
|
@@ -27550,7 +29214,7 @@ const ChartsContainer = styled.div`
|
|
|
27550
29214
|
height: ${props => props.height};
|
|
27551
29215
|
padding: 10px 0 0 0;
|
|
27552
29216
|
`;
|
|
27553
|
-
const ChartItemMainContainer =
|
|
29217
|
+
const ChartItemMainContainer = dt.div`
|
|
27554
29218
|
// display: flex;
|
|
27555
29219
|
margin: 10px 10px 10px 10px;
|
|
27556
29220
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
@@ -27558,29 +29222,29 @@ const ChartItemMainContainer = styled.div`
|
|
|
27558
29222
|
padding-right: 10px;
|
|
27559
29223
|
|
|
27560
29224
|
`;
|
|
27561
|
-
const ChartItemContainer =
|
|
29225
|
+
const ChartItemContainer = dt.div`
|
|
27562
29226
|
display: flex;
|
|
27563
29227
|
justify-content: flex-start;
|
|
27564
29228
|
align-items: center;
|
|
27565
29229
|
margin: 20px 10px;
|
|
27566
29230
|
`;
|
|
27567
|
-
const ChartItemTitle =
|
|
29231
|
+
const ChartItemTitle = dt.h3`
|
|
27568
29232
|
font-weight: 400;
|
|
27569
29233
|
font-size: 16px;
|
|
27570
29234
|
line-height: 24px;
|
|
27571
29235
|
margin: 0 10px;
|
|
27572
29236
|
color: ${props => props.subtitleTextColor};
|
|
27573
29237
|
`;
|
|
27574
|
-
const ChartItemIconContainer =
|
|
29238
|
+
const ChartItemIconContainer = dt.h3`
|
|
27575
29239
|
margin: 0 0 0 10px;
|
|
27576
29240
|
`;
|
|
27577
|
-
const ChartContentContainer =
|
|
29241
|
+
const ChartContentContainer = dt.div`
|
|
27578
29242
|
font-weight: 500;
|
|
27579
29243
|
font-size: 14px;
|
|
27580
29244
|
margin: 0;
|
|
27581
29245
|
border-radius: 12px;
|
|
27582
29246
|
`;
|
|
27583
|
-
const CloseXIconContainer =
|
|
29247
|
+
const CloseXIconContainer = dt.div`
|
|
27584
29248
|
display: block;
|
|
27585
29249
|
margin: 0;
|
|
27586
29250
|
cursor: pointer;
|
|
@@ -27847,29 +29511,29 @@ const scrollableStyles = `
|
|
|
27847
29511
|
border-radius: 5px;
|
|
27848
29512
|
}
|
|
27849
29513
|
`;
|
|
27850
|
-
const TopToggleListMainContainer =
|
|
29514
|
+
const TopToggleListMainContainer = dt.div`
|
|
27851
29515
|
font-family: "Lato", sans-serif;
|
|
27852
29516
|
color: #212121;
|
|
27853
29517
|
padding: 0 24px;
|
|
27854
29518
|
width: ${props => props.width};
|
|
27855
29519
|
`;
|
|
27856
|
-
const Title$2 =
|
|
29520
|
+
const Title$2 = dt.h4`
|
|
27857
29521
|
font-size: 14px;
|
|
27858
29522
|
font-weight: 600;
|
|
27859
29523
|
margin: 20px 0 12px;
|
|
27860
29524
|
`;
|
|
27861
|
-
const ListContainer =
|
|
29525
|
+
const ListContainer = dt.ul`
|
|
27862
29526
|
height: ${props => props.height};
|
|
27863
29527
|
padding: 0;
|
|
27864
29528
|
margin: 0;
|
|
27865
29529
|
list-style-type: none;
|
|
27866
29530
|
${scrollableStyles}
|
|
27867
29531
|
`;
|
|
27868
|
-
const ListItem =
|
|
29532
|
+
const ListItem = dt.li`
|
|
27869
29533
|
padding: 20px 0;
|
|
27870
29534
|
border-bottom: 1px solid #F3F4F6;
|
|
27871
29535
|
`;
|
|
27872
|
-
const Item =
|
|
29536
|
+
const Item = dt.span`
|
|
27873
29537
|
font-size: 14px;
|
|
27874
29538
|
font-weight: 400;
|
|
27875
29539
|
`;
|
|
@@ -27920,7 +29584,7 @@ TopToggleList.defaultProps = {
|
|
|
27920
29584
|
}]
|
|
27921
29585
|
};
|
|
27922
29586
|
|
|
27923
|
-
const HeatmapContainer =
|
|
29587
|
+
const HeatmapContainer = dt.div`
|
|
27924
29588
|
|
|
27925
29589
|
display: flex;
|
|
27926
29590
|
flex-direction: column;
|
|
@@ -27933,19 +29597,19 @@ const HeatmapContainer = styled.div`
|
|
|
27933
29597
|
`;
|
|
27934
29598
|
|
|
27935
29599
|
// Wrapper with padding
|
|
27936
|
-
const HeatmapWrapper =
|
|
29600
|
+
const HeatmapWrapper = dt.div`
|
|
27937
29601
|
display: flex;
|
|
27938
29602
|
flex-direction: column;
|
|
27939
29603
|
padding: 20px;
|
|
27940
29604
|
height: ${props => props.height};
|
|
27941
29605
|
`;
|
|
27942
|
-
const TitleContainer =
|
|
29606
|
+
const TitleContainer = dt.div`
|
|
27943
29607
|
display: flex;
|
|
27944
29608
|
align-items: center;
|
|
27945
29609
|
justify-content: flex-start;
|
|
27946
29610
|
margin: 0 0 10px 0;
|
|
27947
29611
|
`;
|
|
27948
|
-
const Title$1 =
|
|
29612
|
+
const Title$1 = dt.h3`
|
|
27949
29613
|
user-select: none;
|
|
27950
29614
|
text-align: left;
|
|
27951
29615
|
margin: 0;
|
|
@@ -27959,7 +29623,7 @@ const Title$1 = styled.h3`
|
|
|
27959
29623
|
font-size: 14px;
|
|
27960
29624
|
}
|
|
27961
29625
|
`;
|
|
27962
|
-
const BarsContainer =
|
|
29626
|
+
const BarsContainer = dt.div`
|
|
27963
29627
|
position: relative;
|
|
27964
29628
|
display: flex;
|
|
27965
29629
|
align-items: center;
|
|
@@ -27967,7 +29631,7 @@ const BarsContainer = styled.div`
|
|
|
27967
29631
|
width: 100%;
|
|
27968
29632
|
height: ${props => props.height};
|
|
27969
29633
|
`;
|
|
27970
|
-
const BarWrapper =
|
|
29634
|
+
const BarWrapper = dt.div`
|
|
27971
29635
|
display: flex;
|
|
27972
29636
|
flex-direction: column;
|
|
27973
29637
|
/* align-items: center; */
|
|
@@ -27976,7 +29640,7 @@ const BarWrapper = styled.div`
|
|
|
27976
29640
|
width: ${props => props.width};
|
|
27977
29641
|
height: ${props => props.height};
|
|
27978
29642
|
`;
|
|
27979
|
-
const BarContainer =
|
|
29643
|
+
const BarContainer = dt(motion.div)`
|
|
27980
29644
|
background-color: ${props => props.color};
|
|
27981
29645
|
display: flex;
|
|
27982
29646
|
align-items: center;
|
|
@@ -27984,13 +29648,13 @@ const BarContainer = styled(motion.div)`
|
|
|
27984
29648
|
height: ${props => props.height};
|
|
27985
29649
|
width: 0%; /* Starts at 0% for animation */
|
|
27986
29650
|
`;
|
|
27987
|
-
const BarLabel =
|
|
29651
|
+
const BarLabel = dt.span`
|
|
27988
29652
|
color: white;
|
|
27989
29653
|
font-size: 14px;
|
|
27990
29654
|
font-weight: 400;
|
|
27991
29655
|
user-select: none;
|
|
27992
29656
|
`;
|
|
27993
|
-
const TooltipContainer =
|
|
29657
|
+
const TooltipContainer = dt.div`
|
|
27994
29658
|
position: absolute;
|
|
27995
29659
|
|
|
27996
29660
|
top: ${props => props.top};
|
|
@@ -28027,7 +29691,7 @@ const TooltipContainer = styled.div`
|
|
|
28027
29691
|
border-top: 12px solid white;
|
|
28028
29692
|
} */
|
|
28029
29693
|
`;
|
|
28030
|
-
const LegendContainer =
|
|
29694
|
+
const LegendContainer = dt.div`
|
|
28031
29695
|
display: flex;
|
|
28032
29696
|
align-items: center;
|
|
28033
29697
|
justify-content: center;
|
|
@@ -28037,19 +29701,19 @@ const LegendContainer = styled.div`
|
|
|
28037
29701
|
width: 100%;
|
|
28038
29702
|
flex-shrink: 0;
|
|
28039
29703
|
`;
|
|
28040
|
-
const LegendItem =
|
|
29704
|
+
const LegendItem = dt.div`
|
|
28041
29705
|
display: flex;
|
|
28042
29706
|
align-items: center;
|
|
28043
29707
|
margin-right: 15px;
|
|
28044
29708
|
`;
|
|
28045
|
-
const LegendColorBox =
|
|
29709
|
+
const LegendColorBox = dt.div`
|
|
28046
29710
|
width: 16px;
|
|
28047
29711
|
height: 16px;
|
|
28048
29712
|
margin-right: 8px;
|
|
28049
29713
|
background-color: ${props => props.color};
|
|
28050
29714
|
border-radius: 2px;
|
|
28051
29715
|
`;
|
|
28052
|
-
const LegendLabel =
|
|
29716
|
+
const LegendLabel = dt.span`
|
|
28053
29717
|
user-select: none;
|
|
28054
29718
|
font-family: "Poppins", sans-serif;
|
|
28055
29719
|
color: #212121;
|
|
@@ -28235,11 +29899,11 @@ Heatmap.propTypes = {
|
|
|
28235
29899
|
barHeight: PropTypes.string.isRequired
|
|
28236
29900
|
};
|
|
28237
29901
|
|
|
28238
|
-
const ButtonWrapper =
|
|
29902
|
+
const ButtonWrapper = dt.div`
|
|
28239
29903
|
width: fit-content;
|
|
28240
29904
|
text-align: center;
|
|
28241
29905
|
`;
|
|
28242
|
-
const IconButtonContainer =
|
|
29906
|
+
const IconButtonContainer = dt.a`
|
|
28243
29907
|
font-size: 14px;
|
|
28244
29908
|
font-weight: 400;
|
|
28245
29909
|
display: flex;
|
|
@@ -28254,7 +29918,7 @@ const IconButtonContainer = styled.a`
|
|
|
28254
29918
|
background: ${props => props.backgroundColor.toString()};
|
|
28255
29919
|
position: relative;
|
|
28256
29920
|
transition: all .3s;
|
|
28257
|
-
${props => props.inProgress &&
|
|
29921
|
+
${props => props.inProgress && lt`
|
|
28258
29922
|
pointer-events: none;
|
|
28259
29923
|
&:after {
|
|
28260
29924
|
content: 'In progress';
|
|
@@ -28281,9 +29945,9 @@ const IconButtonContainer = styled.a`
|
|
|
28281
29945
|
box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
|
|
28282
29946
|
}
|
|
28283
29947
|
`;
|
|
28284
|
-
const SpanText =
|
|
29948
|
+
const SpanText = dt.span`
|
|
28285
29949
|
`;
|
|
28286
|
-
const CancelClick =
|
|
29950
|
+
const CancelClick = dt.span`
|
|
28287
29951
|
display: inherit;
|
|
28288
29952
|
font-family: "Lato", sans-serif;;
|
|
28289
29953
|
font-size: 14px;
|
|
@@ -28439,7 +30103,7 @@ IconButton.defaultProps = {
|
|
|
28439
30103
|
onCancelClick: () => {}
|
|
28440
30104
|
};
|
|
28441
30105
|
|
|
28442
|
-
const LinnerContainer =
|
|
30106
|
+
const LinnerContainer = dt.div`
|
|
28443
30107
|
font-family: "Poppins", sans-serif;
|
|
28444
30108
|
display: grid;
|
|
28445
30109
|
gap: 48px 0;
|
|
@@ -28451,7 +30115,7 @@ const LinnerContainer = styled.div`
|
|
|
28451
30115
|
padding: 50px 20px 20px;
|
|
28452
30116
|
box-sizing: border-box;
|
|
28453
30117
|
`;
|
|
28454
|
-
const DataBox =
|
|
30118
|
+
const DataBox = dt.div`
|
|
28455
30119
|
height: 100%;
|
|
28456
30120
|
padding: 0 40px;
|
|
28457
30121
|
border-left: 1px solid #d0d0d0;
|
|
@@ -28465,33 +30129,33 @@ const DataBox = styled.div`
|
|
|
28465
30129
|
padding-right: 0;
|
|
28466
30130
|
}
|
|
28467
30131
|
`;
|
|
28468
|
-
const CellItem =
|
|
30132
|
+
const CellItem = dt.div`
|
|
28469
30133
|
display: flex;
|
|
28470
30134
|
align-items: center;
|
|
28471
30135
|
`;
|
|
28472
|
-
const DataBoxTitle =
|
|
30136
|
+
const DataBoxTitle = dt.span`
|
|
28473
30137
|
font-size: 18px;
|
|
28474
30138
|
display: block;
|
|
28475
30139
|
margin: 0 0 12px;
|
|
28476
30140
|
`;
|
|
28477
|
-
const BigValue =
|
|
30141
|
+
const BigValue = dt.span`
|
|
28478
30142
|
font-size: 40px;
|
|
28479
30143
|
font-weight: 500;
|
|
28480
30144
|
margin-right: 5px;
|
|
28481
30145
|
`;
|
|
28482
|
-
const CellItemValueSign =
|
|
30146
|
+
const CellItemValueSign = dt.span`
|
|
28483
30147
|
font-size: 16px;
|
|
28484
30148
|
font-weight: 400;
|
|
28485
30149
|
`;
|
|
28486
|
-
const ValueChange =
|
|
30150
|
+
const ValueChange = dt.span`
|
|
28487
30151
|
font-size: 16px;
|
|
28488
30152
|
font-weight: 400;
|
|
28489
30153
|
`;
|
|
28490
|
-
const CellItemNoValue =
|
|
30154
|
+
const CellItemNoValue = dt.span`
|
|
28491
30155
|
font-size: 40px;
|
|
28492
30156
|
font-weight: 500;
|
|
28493
30157
|
`;
|
|
28494
|
-
const PercentageChange =
|
|
30158
|
+
const PercentageChange = dt.div`
|
|
28495
30159
|
display: flex;
|
|
28496
30160
|
align-items: center;
|
|
28497
30161
|
font-size: 16px;
|
|
@@ -28606,7 +30270,7 @@ const DoublePanelDataRow = props => {
|
|
|
28606
30270
|
// showPercentChange: false,
|
|
28607
30271
|
// };
|
|
28608
30272
|
|
|
28609
|
-
const ControlsContainer =
|
|
30273
|
+
const ControlsContainer = dt.div`
|
|
28610
30274
|
position: relative;
|
|
28611
30275
|
font-family: "Poppins", sans-serif;
|
|
28612
30276
|
color: #212121;
|
|
@@ -28614,32 +30278,32 @@ const ControlsContainer = styled.div`
|
|
|
28614
30278
|
height: ${props => props.height};
|
|
28615
30279
|
min-width: 250px;
|
|
28616
30280
|
`;
|
|
28617
|
-
const Controls =
|
|
30281
|
+
const Controls = dt.div`
|
|
28618
30282
|
height: 100%;
|
|
28619
30283
|
width: 100%;
|
|
28620
30284
|
background: white;
|
|
28621
30285
|
display: flex;
|
|
28622
30286
|
flex-direction: column;
|
|
28623
30287
|
`;
|
|
28624
|
-
const TooltipDiv =
|
|
30288
|
+
const TooltipDiv = dt.div`
|
|
28625
30289
|
border-radius: 5px;
|
|
28626
30290
|
padding: 8px 12px;
|
|
28627
30291
|
background: white;
|
|
28628
30292
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
28629
30293
|
margin: 0;
|
|
28630
30294
|
`;
|
|
28631
|
-
const TooltipLabel =
|
|
30295
|
+
const TooltipLabel = dt.div`
|
|
28632
30296
|
color: #212121;
|
|
28633
30297
|
font-size: 14px;
|
|
28634
30298
|
font-weight: 400;
|
|
28635
30299
|
width: fit-content;
|
|
28636
30300
|
`;
|
|
28637
|
-
const TooltipTitle =
|
|
30301
|
+
const TooltipTitle = dt.div`
|
|
28638
30302
|
color: #212121;
|
|
28639
30303
|
font-size: 14px;
|
|
28640
30304
|
font-weight: 600;
|
|
28641
30305
|
`;
|
|
28642
|
-
const Title =
|
|
30306
|
+
const Title = dt.h5`
|
|
28643
30307
|
font-weight: 500;
|
|
28644
30308
|
font-size: 18px;
|
|
28645
30309
|
line-height: 20px;
|
|
@@ -28652,10 +30316,10 @@ const Title = styled.h5`
|
|
|
28652
30316
|
font-size: 14px;
|
|
28653
30317
|
}
|
|
28654
30318
|
`;
|
|
28655
|
-
const LabelBoldText =
|
|
30319
|
+
const LabelBoldText = dt.tspan`
|
|
28656
30320
|
font-size: 0.7em;
|
|
28657
30321
|
`;
|
|
28658
|
-
const LabelText =
|
|
30322
|
+
const LabelText = dt.tspan`
|
|
28659
30323
|
font-size: 0.6em;
|
|
28660
30324
|
`;
|
|
28661
30325
|
|