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.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var styled = require('styled-components');
|
|
7
6
|
var recharts = require('recharts');
|
|
8
7
|
var Skeleton = require('react-loading-skeleton');
|
|
9
8
|
var framerMotion = require('framer-motion');
|
|
@@ -11,7 +10,6 @@ var framerMotion = require('framer-motion');
|
|
|
11
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
11
|
|
|
13
12
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
15
13
|
var Skeleton__default = /*#__PURE__*/_interopDefaultLegacy(Skeleton);
|
|
16
14
|
|
|
17
15
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -1167,7 +1165,1664 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1167
1165
|
var propTypesExports = propTypes.exports;
|
|
1168
1166
|
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1169
1167
|
|
|
1170
|
-
|
|
1168
|
+
/******************************************************************************
|
|
1169
|
+
Copyright (c) Microsoft Corporation.
|
|
1170
|
+
|
|
1171
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1172
|
+
purpose with or without fee is hereby granted.
|
|
1173
|
+
|
|
1174
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1175
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1176
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1177
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1178
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1179
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1180
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1181
|
+
***************************************************************************** */
|
|
1182
|
+
|
|
1183
|
+
var __assign = function() {
|
|
1184
|
+
__assign = Object.assign || function __assign(t) {
|
|
1185
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1186
|
+
s = arguments[i];
|
|
1187
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
1188
|
+
}
|
|
1189
|
+
return t;
|
|
1190
|
+
};
|
|
1191
|
+
return __assign.apply(this, arguments);
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
function __spreadArray(to, from, pack) {
|
|
1195
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1196
|
+
if (ar || !(i in from)) {
|
|
1197
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
1198
|
+
ar[i] = from[i];
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1205
|
+
var e = new Error(message);
|
|
1206
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
function memoize(fn) {
|
|
1210
|
+
var cache = Object.create(null);
|
|
1211
|
+
return function (arg) {
|
|
1212
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
1213
|
+
return cache[arg];
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
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
|
|
1218
|
+
|
|
1219
|
+
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
1220
|
+
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
1221
|
+
/* o */ && prop.charCodeAt(1) === 110
|
|
1222
|
+
/* n */ && prop.charCodeAt(2) < 91;
|
|
1223
|
+
}
|
|
1224
|
+
/* Z+1 */);
|
|
1225
|
+
|
|
1226
|
+
var MS = '-ms-';
|
|
1227
|
+
var MOZ = '-moz-';
|
|
1228
|
+
var WEBKIT = '-webkit-';
|
|
1229
|
+
var COMMENT = 'comm';
|
|
1230
|
+
var RULESET = 'rule';
|
|
1231
|
+
var DECLARATION = 'decl';
|
|
1232
|
+
var IMPORT = '@import';
|
|
1233
|
+
var KEYFRAMES = '@keyframes';
|
|
1234
|
+
var LAYER = '@layer';
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* @param {number}
|
|
1238
|
+
* @return {number}
|
|
1239
|
+
*/
|
|
1240
|
+
var abs = Math.abs;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* @param {number}
|
|
1244
|
+
* @return {string}
|
|
1245
|
+
*/
|
|
1246
|
+
var from = String.fromCharCode;
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* @param {object}
|
|
1250
|
+
* @return {object}
|
|
1251
|
+
*/
|
|
1252
|
+
var assign = Object.assign;
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* @param {string} value
|
|
1256
|
+
* @param {number} length
|
|
1257
|
+
* @return {number}
|
|
1258
|
+
*/
|
|
1259
|
+
function hash(value, length) {
|
|
1260
|
+
return charat(value, 0) ^ 45 ? (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* @param {string} value
|
|
1265
|
+
* @return {string}
|
|
1266
|
+
*/
|
|
1267
|
+
function trim(value) {
|
|
1268
|
+
return value.trim();
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* @param {string} value
|
|
1273
|
+
* @param {RegExp} pattern
|
|
1274
|
+
* @return {string?}
|
|
1275
|
+
*/
|
|
1276
|
+
function match(value, pattern) {
|
|
1277
|
+
return (value = pattern.exec(value)) ? value[0] : value;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* @param {string} value
|
|
1282
|
+
* @param {(string|RegExp)} pattern
|
|
1283
|
+
* @param {string} replacement
|
|
1284
|
+
* @return {string}
|
|
1285
|
+
*/
|
|
1286
|
+
function replace(value, pattern, replacement) {
|
|
1287
|
+
return value.replace(pattern, replacement);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* @param {string} value
|
|
1292
|
+
* @param {string} search
|
|
1293
|
+
* @param {number} position
|
|
1294
|
+
* @return {number}
|
|
1295
|
+
*/
|
|
1296
|
+
function indexof(value, search, position) {
|
|
1297
|
+
return value.indexOf(search, position);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* @param {string} value
|
|
1302
|
+
* @param {number} index
|
|
1303
|
+
* @return {number}
|
|
1304
|
+
*/
|
|
1305
|
+
function charat(value, index) {
|
|
1306
|
+
return value.charCodeAt(index) | 0;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @param {string} value
|
|
1311
|
+
* @param {number} begin
|
|
1312
|
+
* @param {number} end
|
|
1313
|
+
* @return {string}
|
|
1314
|
+
*/
|
|
1315
|
+
function substr(value, begin, end) {
|
|
1316
|
+
return value.slice(begin, end);
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* @param {string} value
|
|
1321
|
+
* @return {number}
|
|
1322
|
+
*/
|
|
1323
|
+
function strlen(value) {
|
|
1324
|
+
return value.length;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* @param {any[]} value
|
|
1329
|
+
* @return {number}
|
|
1330
|
+
*/
|
|
1331
|
+
function sizeof(value) {
|
|
1332
|
+
return value.length;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* @param {any} value
|
|
1337
|
+
* @param {any[]} array
|
|
1338
|
+
* @return {any}
|
|
1339
|
+
*/
|
|
1340
|
+
function append(value, array) {
|
|
1341
|
+
return array.push(value), value;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* @param {string[]} array
|
|
1346
|
+
* @param {function} callback
|
|
1347
|
+
* @return {string}
|
|
1348
|
+
*/
|
|
1349
|
+
function combine(array, callback) {
|
|
1350
|
+
return array.map(callback).join('');
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* @param {string[]} array
|
|
1355
|
+
* @param {RegExp} pattern
|
|
1356
|
+
* @return {string[]}
|
|
1357
|
+
*/
|
|
1358
|
+
function filter(array, pattern) {
|
|
1359
|
+
return array.filter(function (value) {
|
|
1360
|
+
return !match(value, pattern);
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
var line = 1;
|
|
1365
|
+
var column = 1;
|
|
1366
|
+
var length = 0;
|
|
1367
|
+
var position = 0;
|
|
1368
|
+
var character = 0;
|
|
1369
|
+
var characters = '';
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* @param {string} value
|
|
1373
|
+
* @param {object | null} root
|
|
1374
|
+
* @param {object | null} parent
|
|
1375
|
+
* @param {string} type
|
|
1376
|
+
* @param {string[] | string} props
|
|
1377
|
+
* @param {object[] | string} children
|
|
1378
|
+
* @param {object[]} siblings
|
|
1379
|
+
* @param {number} length
|
|
1380
|
+
*/
|
|
1381
|
+
function node(value, root, parent, type, props, children, length, siblings) {
|
|
1382
|
+
return {
|
|
1383
|
+
value: value,
|
|
1384
|
+
root: root,
|
|
1385
|
+
parent: parent,
|
|
1386
|
+
type: type,
|
|
1387
|
+
props: props,
|
|
1388
|
+
children: children,
|
|
1389
|
+
line: line,
|
|
1390
|
+
column: column,
|
|
1391
|
+
length: length,
|
|
1392
|
+
return: '',
|
|
1393
|
+
siblings: siblings
|
|
1394
|
+
};
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* @param {object} root
|
|
1399
|
+
* @param {object} props
|
|
1400
|
+
* @return {object}
|
|
1401
|
+
*/
|
|
1402
|
+
function copy(root, props) {
|
|
1403
|
+
return assign(node('', null, null, '', null, null, 0, root.siblings), root, {
|
|
1404
|
+
length: -root.length
|
|
1405
|
+
}, props);
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* @param {object} root
|
|
1410
|
+
*/
|
|
1411
|
+
function lift(root) {
|
|
1412
|
+
while (root.root) root = copy(root.root, {
|
|
1413
|
+
children: [root]
|
|
1414
|
+
});
|
|
1415
|
+
append(root, root.siblings);
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* @return {number}
|
|
1420
|
+
*/
|
|
1421
|
+
function char() {
|
|
1422
|
+
return character;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* @return {number}
|
|
1427
|
+
*/
|
|
1428
|
+
function prev() {
|
|
1429
|
+
character = position > 0 ? charat(characters, --position) : 0;
|
|
1430
|
+
if (column--, character === 10) column = 1, line--;
|
|
1431
|
+
return character;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* @return {number}
|
|
1436
|
+
*/
|
|
1437
|
+
function next() {
|
|
1438
|
+
character = position < length ? charat(characters, position++) : 0;
|
|
1439
|
+
if (column++, character === 10) column = 1, line++;
|
|
1440
|
+
return character;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* @return {number}
|
|
1445
|
+
*/
|
|
1446
|
+
function peek() {
|
|
1447
|
+
return charat(characters, position);
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* @return {number}
|
|
1452
|
+
*/
|
|
1453
|
+
function caret() {
|
|
1454
|
+
return position;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* @param {number} begin
|
|
1459
|
+
* @param {number} end
|
|
1460
|
+
* @return {string}
|
|
1461
|
+
*/
|
|
1462
|
+
function slice(begin, end) {
|
|
1463
|
+
return substr(characters, begin, end);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* @param {number} type
|
|
1468
|
+
* @return {number}
|
|
1469
|
+
*/
|
|
1470
|
+
function token(type) {
|
|
1471
|
+
switch (type) {
|
|
1472
|
+
// \0 \t \n \r \s whitespace token
|
|
1473
|
+
case 0:
|
|
1474
|
+
case 9:
|
|
1475
|
+
case 10:
|
|
1476
|
+
case 13:
|
|
1477
|
+
case 32:
|
|
1478
|
+
return 5;
|
|
1479
|
+
// ! + , / > @ ~ isolate token
|
|
1480
|
+
case 33:
|
|
1481
|
+
case 43:
|
|
1482
|
+
case 44:
|
|
1483
|
+
case 47:
|
|
1484
|
+
case 62:
|
|
1485
|
+
case 64:
|
|
1486
|
+
case 126:
|
|
1487
|
+
// ; { } breakpoint token
|
|
1488
|
+
case 59:
|
|
1489
|
+
case 123:
|
|
1490
|
+
case 125:
|
|
1491
|
+
return 4;
|
|
1492
|
+
// : accompanied token
|
|
1493
|
+
case 58:
|
|
1494
|
+
return 3;
|
|
1495
|
+
// " ' ( [ opening delimit token
|
|
1496
|
+
case 34:
|
|
1497
|
+
case 39:
|
|
1498
|
+
case 40:
|
|
1499
|
+
case 91:
|
|
1500
|
+
return 2;
|
|
1501
|
+
// ) ] closing delimit token
|
|
1502
|
+
case 41:
|
|
1503
|
+
case 93:
|
|
1504
|
+
return 1;
|
|
1505
|
+
}
|
|
1506
|
+
return 0;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* @param {string} value
|
|
1511
|
+
* @return {any[]}
|
|
1512
|
+
*/
|
|
1513
|
+
function alloc(value) {
|
|
1514
|
+
return line = column = 1, length = strlen(characters = value), position = 0, [];
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* @param {any} value
|
|
1519
|
+
* @return {any}
|
|
1520
|
+
*/
|
|
1521
|
+
function dealloc(value) {
|
|
1522
|
+
return characters = '', value;
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* @param {number} type
|
|
1527
|
+
* @return {string}
|
|
1528
|
+
*/
|
|
1529
|
+
function delimit(type) {
|
|
1530
|
+
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @param {number} type
|
|
1535
|
+
* @return {string}
|
|
1536
|
+
*/
|
|
1537
|
+
function whitespace(type) {
|
|
1538
|
+
while (character = peek()) if (character < 33) next();else break;
|
|
1539
|
+
return token(type) > 2 || token(character) > 3 ? '' : ' ';
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @param {number} index
|
|
1544
|
+
* @param {number} count
|
|
1545
|
+
* @return {string}
|
|
1546
|
+
*/
|
|
1547
|
+
function escaping(index, count) {
|
|
1548
|
+
while (--count && next())
|
|
1549
|
+
// not 0-9 A-F a-f
|
|
1550
|
+
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
|
|
1551
|
+
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* @param {number} type
|
|
1556
|
+
* @return {number}
|
|
1557
|
+
*/
|
|
1558
|
+
function delimiter(type) {
|
|
1559
|
+
while (next()) switch (character) {
|
|
1560
|
+
// ] ) " '
|
|
1561
|
+
case type:
|
|
1562
|
+
return position;
|
|
1563
|
+
// " '
|
|
1564
|
+
case 34:
|
|
1565
|
+
case 39:
|
|
1566
|
+
if (type !== 34 && type !== 39) delimiter(character);
|
|
1567
|
+
break;
|
|
1568
|
+
// (
|
|
1569
|
+
case 40:
|
|
1570
|
+
if (type === 41) delimiter(type);
|
|
1571
|
+
break;
|
|
1572
|
+
// \
|
|
1573
|
+
case 92:
|
|
1574
|
+
next();
|
|
1575
|
+
break;
|
|
1576
|
+
}
|
|
1577
|
+
return position;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* @param {number} type
|
|
1582
|
+
* @param {number} index
|
|
1583
|
+
* @return {number}
|
|
1584
|
+
*/
|
|
1585
|
+
function commenter(type, index) {
|
|
1586
|
+
while (next())
|
|
1587
|
+
// //
|
|
1588
|
+
if (type + character === 47 + 10) break;
|
|
1589
|
+
// /*
|
|
1590
|
+
else if (type + character === 42 + 42 && peek() === 47) break;
|
|
1591
|
+
return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @param {number} index
|
|
1596
|
+
* @return {string}
|
|
1597
|
+
*/
|
|
1598
|
+
function identifier(index) {
|
|
1599
|
+
while (!token(peek())) next();
|
|
1600
|
+
return slice(index, position);
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* @param {string} value
|
|
1605
|
+
* @return {object[]}
|
|
1606
|
+
*/
|
|
1607
|
+
function compile(value) {
|
|
1608
|
+
return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* @param {string} value
|
|
1613
|
+
* @param {object} root
|
|
1614
|
+
* @param {object?} parent
|
|
1615
|
+
* @param {string[]} rule
|
|
1616
|
+
* @param {string[]} rules
|
|
1617
|
+
* @param {string[]} rulesets
|
|
1618
|
+
* @param {number[]} pseudo
|
|
1619
|
+
* @param {number[]} points
|
|
1620
|
+
* @param {string[]} declarations
|
|
1621
|
+
* @return {object}
|
|
1622
|
+
*/
|
|
1623
|
+
function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
|
|
1624
|
+
var index = 0;
|
|
1625
|
+
var offset = 0;
|
|
1626
|
+
var length = pseudo;
|
|
1627
|
+
var atrule = 0;
|
|
1628
|
+
var property = 0;
|
|
1629
|
+
var previous = 0;
|
|
1630
|
+
var variable = 1;
|
|
1631
|
+
var scanning = 1;
|
|
1632
|
+
var ampersand = 1;
|
|
1633
|
+
var character = 0;
|
|
1634
|
+
var type = '';
|
|
1635
|
+
var props = rules;
|
|
1636
|
+
var children = rulesets;
|
|
1637
|
+
var reference = rule;
|
|
1638
|
+
var characters = type;
|
|
1639
|
+
while (scanning) switch (previous = character, character = next()) {
|
|
1640
|
+
// (
|
|
1641
|
+
case 40:
|
|
1642
|
+
if (previous != 108 && charat(characters, length - 1) == 58) {
|
|
1643
|
+
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f', abs(index ? points[index - 1] : 0)) != -1) ampersand = -1;
|
|
1644
|
+
break;
|
|
1645
|
+
}
|
|
1646
|
+
// " ' [
|
|
1647
|
+
case 34:
|
|
1648
|
+
case 39:
|
|
1649
|
+
case 91:
|
|
1650
|
+
characters += delimit(character);
|
|
1651
|
+
break;
|
|
1652
|
+
// \t \n \r \s
|
|
1653
|
+
case 9:
|
|
1654
|
+
case 10:
|
|
1655
|
+
case 13:
|
|
1656
|
+
case 32:
|
|
1657
|
+
characters += whitespace(previous);
|
|
1658
|
+
break;
|
|
1659
|
+
// \
|
|
1660
|
+
case 92:
|
|
1661
|
+
characters += escaping(caret() - 1, 7);
|
|
1662
|
+
continue;
|
|
1663
|
+
// /
|
|
1664
|
+
case 47:
|
|
1665
|
+
switch (peek()) {
|
|
1666
|
+
case 42:
|
|
1667
|
+
case 47:
|
|
1668
|
+
append(comment(commenter(next(), caret()), root, parent, declarations), declarations);
|
|
1669
|
+
break;
|
|
1670
|
+
default:
|
|
1671
|
+
characters += '/';
|
|
1672
|
+
}
|
|
1673
|
+
break;
|
|
1674
|
+
// {
|
|
1675
|
+
case 123 * variable:
|
|
1676
|
+
points[index++] = strlen(characters) * ampersand;
|
|
1677
|
+
// } ; \0
|
|
1678
|
+
case 125 * variable:
|
|
1679
|
+
case 59:
|
|
1680
|
+
case 0:
|
|
1681
|
+
switch (character) {
|
|
1682
|
+
// \0 }
|
|
1683
|
+
case 0:
|
|
1684
|
+
case 125:
|
|
1685
|
+
scanning = 0;
|
|
1686
|
+
// ;
|
|
1687
|
+
case 59 + offset:
|
|
1688
|
+
if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
|
1689
|
+
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);
|
|
1690
|
+
break;
|
|
1691
|
+
// @ ;
|
|
1692
|
+
case 59:
|
|
1693
|
+
characters += ';';
|
|
1694
|
+
// { rule/at-rule
|
|
1695
|
+
default:
|
|
1696
|
+
append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets);
|
|
1697
|
+
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) {
|
|
1698
|
+
// d l m s
|
|
1699
|
+
case 100:
|
|
1700
|
+
case 108:
|
|
1701
|
+
case 109:
|
|
1702
|
+
case 115:
|
|
1703
|
+
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);
|
|
1704
|
+
break;
|
|
1705
|
+
default:
|
|
1706
|
+
parse(characters, reference, reference, reference, [''], children, 0, points, children);
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
|
|
1710
|
+
break;
|
|
1711
|
+
// :
|
|
1712
|
+
case 58:
|
|
1713
|
+
length = 1 + strlen(characters), property = previous;
|
|
1714
|
+
default:
|
|
1715
|
+
if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
|
|
1716
|
+
switch (characters += from(character), character * variable) {
|
|
1717
|
+
// &
|
|
1718
|
+
case 38:
|
|
1719
|
+
ampersand = offset > 0 ? 1 : (characters += '\f', -1);
|
|
1720
|
+
break;
|
|
1721
|
+
// ,
|
|
1722
|
+
case 44:
|
|
1723
|
+
points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
|
|
1724
|
+
break;
|
|
1725
|
+
// @
|
|
1726
|
+
case 64:
|
|
1727
|
+
// -
|
|
1728
|
+
if (peek() === 45) characters += delimit(next());
|
|
1729
|
+
atrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++;
|
|
1730
|
+
break;
|
|
1731
|
+
// -
|
|
1732
|
+
case 45:
|
|
1733
|
+
if (previous === 45 && strlen(characters) == 2) variable = 0;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
return rulesets;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* @param {string} value
|
|
1741
|
+
* @param {object} root
|
|
1742
|
+
* @param {object?} parent
|
|
1743
|
+
* @param {number} index
|
|
1744
|
+
* @param {number} offset
|
|
1745
|
+
* @param {string[]} rules
|
|
1746
|
+
* @param {number[]} points
|
|
1747
|
+
* @param {string} type
|
|
1748
|
+
* @param {string[]} props
|
|
1749
|
+
* @param {string[]} children
|
|
1750
|
+
* @param {number} length
|
|
1751
|
+
* @param {object[]} siblings
|
|
1752
|
+
* @return {object}
|
|
1753
|
+
*/
|
|
1754
|
+
function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {
|
|
1755
|
+
var post = offset - 1;
|
|
1756
|
+
var rule = offset === 0 ? rules : [''];
|
|
1757
|
+
var size = sizeof(rule);
|
|
1758
|
+
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;
|
|
1759
|
+
return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings);
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* @param {number} value
|
|
1764
|
+
* @param {object} root
|
|
1765
|
+
* @param {object?} parent
|
|
1766
|
+
* @param {object[]} siblings
|
|
1767
|
+
* @return {object}
|
|
1768
|
+
*/
|
|
1769
|
+
function comment(value, root, parent, siblings) {
|
|
1770
|
+
return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings);
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* @param {string} value
|
|
1775
|
+
* @param {object} root
|
|
1776
|
+
* @param {object?} parent
|
|
1777
|
+
* @param {number} length
|
|
1778
|
+
* @param {object[]} siblings
|
|
1779
|
+
* @return {object}
|
|
1780
|
+
*/
|
|
1781
|
+
function declaration(value, root, parent, length, siblings) {
|
|
1782
|
+
return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings);
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* @param {string} value
|
|
1787
|
+
* @param {number} length
|
|
1788
|
+
* @param {object[]} children
|
|
1789
|
+
* @return {string}
|
|
1790
|
+
*/
|
|
1791
|
+
function prefix(value, length, children) {
|
|
1792
|
+
switch (hash(value, length)) {
|
|
1793
|
+
// color-adjust
|
|
1794
|
+
case 5103:
|
|
1795
|
+
return WEBKIT + 'print-' + value + value;
|
|
1796
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
1797
|
+
case 5737:
|
|
1798
|
+
case 4201:
|
|
1799
|
+
case 3177:
|
|
1800
|
+
case 3433:
|
|
1801
|
+
case 1641:
|
|
1802
|
+
case 4457:
|
|
1803
|
+
case 2921:
|
|
1804
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
1805
|
+
case 5572:
|
|
1806
|
+
case 6356:
|
|
1807
|
+
case 5844:
|
|
1808
|
+
case 3191:
|
|
1809
|
+
case 6645:
|
|
1810
|
+
case 3005:
|
|
1811
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
1812
|
+
case 6391:
|
|
1813
|
+
case 5879:
|
|
1814
|
+
case 5623:
|
|
1815
|
+
case 6135:
|
|
1816
|
+
case 4599:
|
|
1817
|
+
case 4855:
|
|
1818
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
1819
|
+
case 4215:
|
|
1820
|
+
case 6389:
|
|
1821
|
+
case 5109:
|
|
1822
|
+
case 5365:
|
|
1823
|
+
case 5621:
|
|
1824
|
+
case 3829:
|
|
1825
|
+
return WEBKIT + value + value;
|
|
1826
|
+
// tab-size
|
|
1827
|
+
case 4789:
|
|
1828
|
+
return MOZ + value + value;
|
|
1829
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
1830
|
+
case 5349:
|
|
1831
|
+
case 4246:
|
|
1832
|
+
case 4810:
|
|
1833
|
+
case 6968:
|
|
1834
|
+
case 2756:
|
|
1835
|
+
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
1836
|
+
// writing-mode
|
|
1837
|
+
case 5936:
|
|
1838
|
+
switch (charat(value, length + 11)) {
|
|
1839
|
+
// vertical-l(r)
|
|
1840
|
+
case 114:
|
|
1841
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
1842
|
+
// vertical-r(l)
|
|
1843
|
+
case 108:
|
|
1844
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
1845
|
+
// horizontal(-)tb
|
|
1846
|
+
case 45:
|
|
1847
|
+
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
1848
|
+
// default: fallthrough to below
|
|
1849
|
+
}
|
|
1850
|
+
// flex, flex-direction, scroll-snap-type, writing-mode
|
|
1851
|
+
case 6828:
|
|
1852
|
+
case 4268:
|
|
1853
|
+
case 2903:
|
|
1854
|
+
return WEBKIT + value + MS + value + value;
|
|
1855
|
+
// order
|
|
1856
|
+
case 6165:
|
|
1857
|
+
return WEBKIT + value + MS + 'flex-' + value + value;
|
|
1858
|
+
// align-items
|
|
1859
|
+
case 5187:
|
|
1860
|
+
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
|
1861
|
+
// align-self
|
|
1862
|
+
case 5443:
|
|
1863
|
+
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value;
|
|
1864
|
+
// align-content
|
|
1865
|
+
case 4675:
|
|
1866
|
+
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value;
|
|
1867
|
+
// flex-shrink
|
|
1868
|
+
case 5548:
|
|
1869
|
+
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
|
1870
|
+
// flex-basis
|
|
1871
|
+
case 5292:
|
|
1872
|
+
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
|
1873
|
+
// flex-grow
|
|
1874
|
+
case 6060:
|
|
1875
|
+
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
|
1876
|
+
// transition
|
|
1877
|
+
case 4554:
|
|
1878
|
+
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
|
1879
|
+
// cursor
|
|
1880
|
+
case 6187:
|
|
1881
|
+
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
|
1882
|
+
// background, background-image
|
|
1883
|
+
case 5495:
|
|
1884
|
+
case 3959:
|
|
1885
|
+
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
|
1886
|
+
// justify-content
|
|
1887
|
+
case 4968:
|
|
1888
|
+
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
|
1889
|
+
// justify-self
|
|
1890
|
+
case 4200:
|
|
1891
|
+
if (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value;
|
|
1892
|
+
break;
|
|
1893
|
+
// grid-template-(columns|rows)
|
|
1894
|
+
case 2592:
|
|
1895
|
+
case 3360:
|
|
1896
|
+
return MS + replace(value, 'template-', '') + value;
|
|
1897
|
+
// grid-(row|column)-start
|
|
1898
|
+
case 4384:
|
|
1899
|
+
case 3616:
|
|
1900
|
+
if (children && children.some(function (element, index) {
|
|
1901
|
+
return length = index, match(element.props, /grid-\w+-end/);
|
|
1902
|
+
})) {
|
|
1903
|
+
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+/)) + ';';
|
|
1904
|
+
}
|
|
1905
|
+
return MS + replace(value, '-start', '') + value;
|
|
1906
|
+
// grid-(row|column)-end
|
|
1907
|
+
case 4896:
|
|
1908
|
+
case 4128:
|
|
1909
|
+
return children && children.some(function (element) {
|
|
1910
|
+
return match(element.props, /grid-\w+-start/);
|
|
1911
|
+
}) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value;
|
|
1912
|
+
// (margin|padding)-inline-(start|end)
|
|
1913
|
+
case 4095:
|
|
1914
|
+
case 3583:
|
|
1915
|
+
case 4068:
|
|
1916
|
+
case 2532:
|
|
1917
|
+
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
|
1918
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
1919
|
+
case 8116:
|
|
1920
|
+
case 7059:
|
|
1921
|
+
case 5753:
|
|
1922
|
+
case 5535:
|
|
1923
|
+
case 5445:
|
|
1924
|
+
case 5701:
|
|
1925
|
+
case 4933:
|
|
1926
|
+
case 4677:
|
|
1927
|
+
case 5533:
|
|
1928
|
+
case 5789:
|
|
1929
|
+
case 5021:
|
|
1930
|
+
case 4765:
|
|
1931
|
+
// stretch, max-content, min-content, fill-available
|
|
1932
|
+
if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
|
|
1933
|
+
// (m)ax-content, (m)in-content
|
|
1934
|
+
case 109:
|
|
1935
|
+
// -
|
|
1936
|
+
if (charat(value, length + 4) !== 45) break;
|
|
1937
|
+
// (f)ill-available, (f)it-content
|
|
1938
|
+
case 102:
|
|
1939
|
+
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
1940
|
+
// (s)tretch
|
|
1941
|
+
case 115:
|
|
1942
|
+
return ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value;
|
|
1943
|
+
}
|
|
1944
|
+
break;
|
|
1945
|
+
// grid-(column|row)
|
|
1946
|
+
case 5152:
|
|
1947
|
+
case 5920:
|
|
1948
|
+
return replace(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) {
|
|
1949
|
+
return MS + a + ':' + b + f + (c ? MS + a + '-span:' + (d ? e : +e - +b) + f : '') + value;
|
|
1950
|
+
});
|
|
1951
|
+
// position: sticky
|
|
1952
|
+
case 4949:
|
|
1953
|
+
// stick(y)?
|
|
1954
|
+
if (charat(value, length + 6) === 121) return replace(value, ':', ':' + WEBKIT) + value;
|
|
1955
|
+
break;
|
|
1956
|
+
// display: (flex|inline-flex|grid|inline-grid)
|
|
1957
|
+
case 6444:
|
|
1958
|
+
switch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {
|
|
1959
|
+
// (inline-)?fle(x)
|
|
1960
|
+
case 120:
|
|
1961
|
+
return replace(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
|
1962
|
+
// (inline-)?gri(d)
|
|
1963
|
+
case 100:
|
|
1964
|
+
return replace(value, ':', ':' + MS) + value;
|
|
1965
|
+
}
|
|
1966
|
+
break;
|
|
1967
|
+
// scroll-margin, scroll-margin-(top|right|bottom|left)
|
|
1968
|
+
case 5719:
|
|
1969
|
+
case 2647:
|
|
1970
|
+
case 2135:
|
|
1971
|
+
case 3927:
|
|
1972
|
+
case 2391:
|
|
1973
|
+
return replace(value, 'scroll-', 'scroll-snap-') + value;
|
|
1974
|
+
}
|
|
1975
|
+
return value;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* @param {object[]} children
|
|
1980
|
+
* @param {function} callback
|
|
1981
|
+
* @return {string}
|
|
1982
|
+
*/
|
|
1983
|
+
function serialize(children, callback) {
|
|
1984
|
+
var output = '';
|
|
1985
|
+
for (var i = 0; i < children.length; i++) output += callback(children[i], i, children, callback) || '';
|
|
1986
|
+
return output;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* @param {object} element
|
|
1991
|
+
* @param {number} index
|
|
1992
|
+
* @param {object[]} children
|
|
1993
|
+
* @param {function} callback
|
|
1994
|
+
* @return {string}
|
|
1995
|
+
*/
|
|
1996
|
+
function stringify(element, index, children, callback) {
|
|
1997
|
+
switch (element.type) {
|
|
1998
|
+
case LAYER:
|
|
1999
|
+
if (element.children.length) break;
|
|
2000
|
+
case IMPORT:
|
|
2001
|
+
case DECLARATION:
|
|
2002
|
+
return element.return = element.return || element.value;
|
|
2003
|
+
case COMMENT:
|
|
2004
|
+
return '';
|
|
2005
|
+
case KEYFRAMES:
|
|
2006
|
+
return element.return = element.value + '{' + serialize(element.children, callback) + '}';
|
|
2007
|
+
case RULESET:
|
|
2008
|
+
if (!strlen(element.value = element.props.join(','))) return '';
|
|
2009
|
+
}
|
|
2010
|
+
return strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '';
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* @param {function[]} collection
|
|
2015
|
+
* @return {function}
|
|
2016
|
+
*/
|
|
2017
|
+
function middleware(collection) {
|
|
2018
|
+
var length = sizeof(collection);
|
|
2019
|
+
return function (element, index, children, callback) {
|
|
2020
|
+
var output = '';
|
|
2021
|
+
for (var i = 0; i < length; i++) output += collection[i](element, index, children, callback) || '';
|
|
2022
|
+
return output;
|
|
2023
|
+
};
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* @param {function} callback
|
|
2028
|
+
* @return {function}
|
|
2029
|
+
*/
|
|
2030
|
+
function rulesheet(callback) {
|
|
2031
|
+
return function (element) {
|
|
2032
|
+
if (!element.root) if (element = element.return) callback(element);
|
|
2033
|
+
};
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* @param {object} element
|
|
2038
|
+
* @param {number} index
|
|
2039
|
+
* @param {object[]} children
|
|
2040
|
+
* @param {function} callback
|
|
2041
|
+
*/
|
|
2042
|
+
function prefixer(element, index, children, callback) {
|
|
2043
|
+
if (element.length > -1) if (!element.return) switch (element.type) {
|
|
2044
|
+
case DECLARATION:
|
|
2045
|
+
element.return = prefix(element.value, element.length, children);
|
|
2046
|
+
return;
|
|
2047
|
+
case KEYFRAMES:
|
|
2048
|
+
return serialize([copy(element, {
|
|
2049
|
+
value: replace(element.value, '@', '@' + WEBKIT)
|
|
2050
|
+
})], callback);
|
|
2051
|
+
case RULESET:
|
|
2052
|
+
if (element.length) return combine(children = element.props, function (value) {
|
|
2053
|
+
switch (match(value, callback = /(::plac\w+|:read-\w+)/)) {
|
|
2054
|
+
// :read-(only|write)
|
|
2055
|
+
case ':read-only':
|
|
2056
|
+
case ':read-write':
|
|
2057
|
+
lift(copy(element, {
|
|
2058
|
+
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
|
2059
|
+
}));
|
|
2060
|
+
lift(copy(element, {
|
|
2061
|
+
props: [value]
|
|
2062
|
+
}));
|
|
2063
|
+
assign(element, {
|
|
2064
|
+
props: filter(children, callback)
|
|
2065
|
+
});
|
|
2066
|
+
break;
|
|
2067
|
+
// :placeholder
|
|
2068
|
+
case '::placeholder':
|
|
2069
|
+
lift(copy(element, {
|
|
2070
|
+
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
|
2071
|
+
}));
|
|
2072
|
+
lift(copy(element, {
|
|
2073
|
+
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
|
2074
|
+
}));
|
|
2075
|
+
lift(copy(element, {
|
|
2076
|
+
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
|
2077
|
+
}));
|
|
2078
|
+
lift(copy(element, {
|
|
2079
|
+
props: [value]
|
|
2080
|
+
}));
|
|
2081
|
+
assign(element, {
|
|
2082
|
+
props: filter(children, callback)
|
|
2083
|
+
});
|
|
2084
|
+
break;
|
|
2085
|
+
}
|
|
2086
|
+
return '';
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
var unitlessKeys = {
|
|
2092
|
+
animationIterationCount: 1,
|
|
2093
|
+
aspectRatio: 1,
|
|
2094
|
+
borderImageOutset: 1,
|
|
2095
|
+
borderImageSlice: 1,
|
|
2096
|
+
borderImageWidth: 1,
|
|
2097
|
+
boxFlex: 1,
|
|
2098
|
+
boxFlexGroup: 1,
|
|
2099
|
+
boxOrdinalGroup: 1,
|
|
2100
|
+
columnCount: 1,
|
|
2101
|
+
columns: 1,
|
|
2102
|
+
flex: 1,
|
|
2103
|
+
flexGrow: 1,
|
|
2104
|
+
flexPositive: 1,
|
|
2105
|
+
flexShrink: 1,
|
|
2106
|
+
flexNegative: 1,
|
|
2107
|
+
flexOrder: 1,
|
|
2108
|
+
gridRow: 1,
|
|
2109
|
+
gridRowEnd: 1,
|
|
2110
|
+
gridRowSpan: 1,
|
|
2111
|
+
gridRowStart: 1,
|
|
2112
|
+
gridColumn: 1,
|
|
2113
|
+
gridColumnEnd: 1,
|
|
2114
|
+
gridColumnSpan: 1,
|
|
2115
|
+
gridColumnStart: 1,
|
|
2116
|
+
msGridRow: 1,
|
|
2117
|
+
msGridRowSpan: 1,
|
|
2118
|
+
msGridColumn: 1,
|
|
2119
|
+
msGridColumnSpan: 1,
|
|
2120
|
+
fontWeight: 1,
|
|
2121
|
+
lineHeight: 1,
|
|
2122
|
+
opacity: 1,
|
|
2123
|
+
order: 1,
|
|
2124
|
+
orphans: 1,
|
|
2125
|
+
tabSize: 1,
|
|
2126
|
+
widows: 1,
|
|
2127
|
+
zIndex: 1,
|
|
2128
|
+
zoom: 1,
|
|
2129
|
+
WebkitLineClamp: 1,
|
|
2130
|
+
// SVG-related properties
|
|
2131
|
+
fillOpacity: 1,
|
|
2132
|
+
floodOpacity: 1,
|
|
2133
|
+
stopOpacity: 1,
|
|
2134
|
+
strokeDasharray: 1,
|
|
2135
|
+
strokeDashoffset: 1,
|
|
2136
|
+
strokeMiterlimit: 1,
|
|
2137
|
+
strokeOpacity: 1,
|
|
2138
|
+
strokeWidth: 1
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
var f = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
2142
|
+
m = "active",
|
|
2143
|
+
y = "data-styled-version",
|
|
2144
|
+
v = "6.1.15",
|
|
2145
|
+
g = "/*!sc*/\n",
|
|
2146
|
+
S = "undefined" != typeof window && "HTMLElement" in window,
|
|
2147
|
+
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),
|
|
2148
|
+
E = /invalid hook call/i,
|
|
2149
|
+
N = new Set(),
|
|
2150
|
+
P = function (t, n) {
|
|
2151
|
+
if ("production" !== process.env.NODE_ENV) {
|
|
2152
|
+
var r = n ? ' with the id of "'.concat(n, '"') : "",
|
|
2153
|
+
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.",
|
|
2154
|
+
i = console.error;
|
|
2155
|
+
try {
|
|
2156
|
+
var a = !0;
|
|
2157
|
+
console.error = function (t) {
|
|
2158
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2159
|
+
E.test(t) ? (a = !1, N.delete(s)) : i.apply(void 0, __spreadArray([t], n, !1));
|
|
2160
|
+
}, React.useRef(), a && !N.has(s) && (console.warn(s), N.add(s));
|
|
2161
|
+
} catch (e) {
|
|
2162
|
+
E.test(e.message) && N.delete(s);
|
|
2163
|
+
} finally {
|
|
2164
|
+
console.error = i;
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
_ = Object.freeze([]),
|
|
2169
|
+
C = Object.freeze({});
|
|
2170
|
+
function I(e, t, n) {
|
|
2171
|
+
return void 0 === n && (n = C), e.theme !== n.theme && e.theme || t || n.theme;
|
|
2172
|
+
}
|
|
2173
|
+
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"]),
|
|
2174
|
+
O = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
2175
|
+
D = /(^-|-$)/g;
|
|
2176
|
+
function R(e) {
|
|
2177
|
+
return e.replace(O, "-").replace(D, "");
|
|
2178
|
+
}
|
|
2179
|
+
var T = /(a)(d)/gi,
|
|
2180
|
+
k = 52,
|
|
2181
|
+
j = function (e) {
|
|
2182
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
2183
|
+
};
|
|
2184
|
+
function x(e) {
|
|
2185
|
+
var t,
|
|
2186
|
+
n = "";
|
|
2187
|
+
for (t = Math.abs(e); t > k; t = t / k | 0) n = j(t % k) + n;
|
|
2188
|
+
return (j(t % k) + n).replace(T, "$1-$2");
|
|
2189
|
+
}
|
|
2190
|
+
var V,
|
|
2191
|
+
F = 5381,
|
|
2192
|
+
M = function (e, t) {
|
|
2193
|
+
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
2194
|
+
return e;
|
|
2195
|
+
},
|
|
2196
|
+
z = function (e) {
|
|
2197
|
+
return M(F, e);
|
|
2198
|
+
};
|
|
2199
|
+
function $(e) {
|
|
2200
|
+
return x(z(e) >>> 0);
|
|
2201
|
+
}
|
|
2202
|
+
function B(e) {
|
|
2203
|
+
return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
|
|
2204
|
+
}
|
|
2205
|
+
function L(e) {
|
|
2206
|
+
return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
2207
|
+
}
|
|
2208
|
+
var G = "function" == typeof Symbol && Symbol.for,
|
|
2209
|
+
Y = G ? Symbol.for("react.memo") : 60115,
|
|
2210
|
+
q = G ? Symbol.for("react.forward_ref") : 60112,
|
|
2211
|
+
W = {
|
|
2212
|
+
childContextTypes: !0,
|
|
2213
|
+
contextType: !0,
|
|
2214
|
+
contextTypes: !0,
|
|
2215
|
+
defaultProps: !0,
|
|
2216
|
+
displayName: !0,
|
|
2217
|
+
getDefaultProps: !0,
|
|
2218
|
+
getDerivedStateFromError: !0,
|
|
2219
|
+
getDerivedStateFromProps: !0,
|
|
2220
|
+
mixins: !0,
|
|
2221
|
+
propTypes: !0,
|
|
2222
|
+
type: !0
|
|
2223
|
+
},
|
|
2224
|
+
H = {
|
|
2225
|
+
name: !0,
|
|
2226
|
+
length: !0,
|
|
2227
|
+
prototype: !0,
|
|
2228
|
+
caller: !0,
|
|
2229
|
+
callee: !0,
|
|
2230
|
+
arguments: !0,
|
|
2231
|
+
arity: !0
|
|
2232
|
+
},
|
|
2233
|
+
U = {
|
|
2234
|
+
$$typeof: !0,
|
|
2235
|
+
compare: !0,
|
|
2236
|
+
defaultProps: !0,
|
|
2237
|
+
displayName: !0,
|
|
2238
|
+
propTypes: !0,
|
|
2239
|
+
type: !0
|
|
2240
|
+
},
|
|
2241
|
+
J = ((V = {})[q] = {
|
|
2242
|
+
$$typeof: !0,
|
|
2243
|
+
render: !0,
|
|
2244
|
+
defaultProps: !0,
|
|
2245
|
+
displayName: !0,
|
|
2246
|
+
propTypes: !0
|
|
2247
|
+
}, V[Y] = U, V);
|
|
2248
|
+
function X(e) {
|
|
2249
|
+
return ("type" in (t = e) && t.type.$$typeof) === Y ? U : "$$typeof" in e ? J[e.$$typeof] : W;
|
|
2250
|
+
var t;
|
|
2251
|
+
}
|
|
2252
|
+
var Z = Object.defineProperty,
|
|
2253
|
+
K = Object.getOwnPropertyNames,
|
|
2254
|
+
Q = Object.getOwnPropertySymbols,
|
|
2255
|
+
ee = Object.getOwnPropertyDescriptor,
|
|
2256
|
+
te = Object.getPrototypeOf,
|
|
2257
|
+
ne = Object.prototype;
|
|
2258
|
+
function re(e, t, n) {
|
|
2259
|
+
if ("string" != typeof t) {
|
|
2260
|
+
if (ne) {
|
|
2261
|
+
var r = te(t);
|
|
2262
|
+
r && r !== ne && re(e, r, n);
|
|
2263
|
+
}
|
|
2264
|
+
var o = K(t);
|
|
2265
|
+
Q && (o = o.concat(Q(t)));
|
|
2266
|
+
for (var s = X(e), i = X(t), a = 0; a < o.length; ++a) {
|
|
2267
|
+
var c = o[a];
|
|
2268
|
+
if (!(c in H || n && n[c] || i && c in i || s && c in s)) {
|
|
2269
|
+
var l = ee(t, c);
|
|
2270
|
+
try {
|
|
2271
|
+
Z(e, c, l);
|
|
2272
|
+
} catch (e) {}
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
return e;
|
|
2277
|
+
}
|
|
2278
|
+
function oe(e) {
|
|
2279
|
+
return "function" == typeof e;
|
|
2280
|
+
}
|
|
2281
|
+
function se(e) {
|
|
2282
|
+
return "object" == typeof e && "styledComponentId" in e;
|
|
2283
|
+
}
|
|
2284
|
+
function ie(e, t) {
|
|
2285
|
+
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
|
|
2286
|
+
}
|
|
2287
|
+
function ae(e, t) {
|
|
2288
|
+
if (0 === e.length) return "";
|
|
2289
|
+
for (var n = e[0], r = 1; r < e.length; r++) n += t ? t + e[r] : e[r];
|
|
2290
|
+
return n;
|
|
2291
|
+
}
|
|
2292
|
+
function ce(e) {
|
|
2293
|
+
return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
|
|
2294
|
+
}
|
|
2295
|
+
function le(e, t, n) {
|
|
2296
|
+
if (void 0 === n && (n = !1), !n && !ce(e) && !Array.isArray(e)) return t;
|
|
2297
|
+
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]);
|
|
2298
|
+
return e;
|
|
2299
|
+
}
|
|
2300
|
+
function ue(e, t) {
|
|
2301
|
+
Object.defineProperty(e, "toString", {
|
|
2302
|
+
value: t
|
|
2303
|
+
});
|
|
2304
|
+
}
|
|
2305
|
+
var pe = "production" !== process.env.NODE_ENV ? {
|
|
2306
|
+
1: "Cannot create styled-component for component: %s.\n\n",
|
|
2307
|
+
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",
|
|
2308
|
+
3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
|
|
2309
|
+
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",
|
|
2310
|
+
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",
|
|
2311
|
+
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",
|
|
2312
|
+
7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
|
|
2313
|
+
8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
|
|
2314
|
+
9: "Missing document `<head>`\n\n",
|
|
2315
|
+
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",
|
|
2316
|
+
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",
|
|
2317
|
+
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",
|
|
2318
|
+
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",
|
|
2319
|
+
14: 'ThemeProvider: "theme" prop is required.\n\n',
|
|
2320
|
+
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",
|
|
2321
|
+
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",
|
|
2322
|
+
17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
|
|
2323
|
+
18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
|
|
2324
|
+
} : {};
|
|
2325
|
+
function de() {
|
|
2326
|
+
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
2327
|
+
for (var n = e[0], r = [], o = 1, s = e.length; o < s; o += 1) r.push(e[o]);
|
|
2328
|
+
return r.forEach(function (e) {
|
|
2329
|
+
n = n.replace(/%[a-z]/, e);
|
|
2330
|
+
}), n;
|
|
2331
|
+
}
|
|
2332
|
+
function he(t) {
|
|
2333
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2334
|
+
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());
|
|
2335
|
+
}
|
|
2336
|
+
var fe = function () {
|
|
2337
|
+
function e(e) {
|
|
2338
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
2339
|
+
}
|
|
2340
|
+
return e.prototype.indexOfGroup = function (e) {
|
|
2341
|
+
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
2342
|
+
return t;
|
|
2343
|
+
}, e.prototype.insertRules = function (e, t) {
|
|
2344
|
+
if (e >= this.groupSizes.length) {
|
|
2345
|
+
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) if ((o <<= 1) < 0) throw he(16, "".concat(e));
|
|
2346
|
+
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
2347
|
+
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
2348
|
+
}
|
|
2349
|
+
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++);
|
|
2350
|
+
}, e.prototype.clearGroup = function (e) {
|
|
2351
|
+
if (e < this.length) {
|
|
2352
|
+
var t = this.groupSizes[e],
|
|
2353
|
+
n = this.indexOfGroup(e),
|
|
2354
|
+
r = n + t;
|
|
2355
|
+
this.groupSizes[e] = 0;
|
|
2356
|
+
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
2357
|
+
}
|
|
2358
|
+
}, e.prototype.getGroup = function (e) {
|
|
2359
|
+
var t = "";
|
|
2360
|
+
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
2361
|
+
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);
|
|
2362
|
+
return t;
|
|
2363
|
+
}, e;
|
|
2364
|
+
}(),
|
|
2365
|
+
me = 1 << 30,
|
|
2366
|
+
ye = new Map(),
|
|
2367
|
+
ve = new Map(),
|
|
2368
|
+
ge = 1,
|
|
2369
|
+
Se = function (e) {
|
|
2370
|
+
if (ye.has(e)) return ye.get(e);
|
|
2371
|
+
for (; ve.has(ge);) ge++;
|
|
2372
|
+
var t = ge++;
|
|
2373
|
+
if ("production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > me)) throw he(16, "".concat(t));
|
|
2374
|
+
return ye.set(e, t), ve.set(t, e), t;
|
|
2375
|
+
},
|
|
2376
|
+
we = function (e, t) {
|
|
2377
|
+
ge = t + 1, ye.set(e, t), ve.set(t, e);
|
|
2378
|
+
},
|
|
2379
|
+
be = "style[".concat(f, "][").concat(y, '="').concat(v, '"]'),
|
|
2380
|
+
Ee = new RegExp("^".concat(f, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),
|
|
2381
|
+
Ne = function (e, t, n) {
|
|
2382
|
+
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
2383
|
+
},
|
|
2384
|
+
Pe = function (e, t) {
|
|
2385
|
+
for (var n, r = (null !== (n = t.textContent) && void 0 !== n ? n : "").split(g), o = [], s = 0, i = r.length; s < i; s++) {
|
|
2386
|
+
var a = r[s].trim();
|
|
2387
|
+
if (a) {
|
|
2388
|
+
var c = a.match(Ee);
|
|
2389
|
+
if (c) {
|
|
2390
|
+
var l = 0 | parseInt(c[1], 10),
|
|
2391
|
+
u = c[2];
|
|
2392
|
+
0 !== l && (we(u, l), Ne(e, u, c[3]), e.getTag().insertRules(l, o)), o.length = 0;
|
|
2393
|
+
} else o.push(a);
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
_e = function (e) {
|
|
2398
|
+
for (var t = document.querySelectorAll(be), n = 0, r = t.length; n < r; n++) {
|
|
2399
|
+
var o = t[n];
|
|
2400
|
+
o && o.getAttribute(f) !== m && (Pe(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
2401
|
+
}
|
|
2402
|
+
};
|
|
2403
|
+
function Ce() {
|
|
2404
|
+
return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
|
|
2405
|
+
}
|
|
2406
|
+
var Ie = function (e) {
|
|
2407
|
+
var t = document.head,
|
|
2408
|
+
n = e || t,
|
|
2409
|
+
r = document.createElement("style"),
|
|
2410
|
+
o = function (e) {
|
|
2411
|
+
var t = Array.from(e.querySelectorAll("style[".concat(f, "]")));
|
|
2412
|
+
return t[t.length - 1];
|
|
2413
|
+
}(n),
|
|
2414
|
+
s = void 0 !== o ? o.nextSibling : null;
|
|
2415
|
+
r.setAttribute(f, m), r.setAttribute(y, v);
|
|
2416
|
+
var i = Ce();
|
|
2417
|
+
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
2418
|
+
},
|
|
2419
|
+
Ae = function () {
|
|
2420
|
+
function e(e) {
|
|
2421
|
+
this.element = Ie(e), this.element.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
2422
|
+
if (e.sheet) return e.sheet;
|
|
2423
|
+
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
2424
|
+
var o = t[n];
|
|
2425
|
+
if (o.ownerNode === e) return o;
|
|
2426
|
+
}
|
|
2427
|
+
throw he(17);
|
|
2428
|
+
}(this.element), this.length = 0;
|
|
2429
|
+
}
|
|
2430
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2431
|
+
try {
|
|
2432
|
+
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
2433
|
+
} catch (e) {
|
|
2434
|
+
return !1;
|
|
2435
|
+
}
|
|
2436
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2437
|
+
this.sheet.deleteRule(e), this.length--;
|
|
2438
|
+
}, e.prototype.getRule = function (e) {
|
|
2439
|
+
var t = this.sheet.cssRules[e];
|
|
2440
|
+
return t && t.cssText ? t.cssText : "";
|
|
2441
|
+
}, e;
|
|
2442
|
+
}(),
|
|
2443
|
+
Oe = function () {
|
|
2444
|
+
function e(e) {
|
|
2445
|
+
this.element = Ie(e), this.nodes = this.element.childNodes, this.length = 0;
|
|
2446
|
+
}
|
|
2447
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2448
|
+
if (e <= this.length && e >= 0) {
|
|
2449
|
+
var n = document.createTextNode(t);
|
|
2450
|
+
return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
|
|
2451
|
+
}
|
|
2452
|
+
return !1;
|
|
2453
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2454
|
+
this.element.removeChild(this.nodes[e]), this.length--;
|
|
2455
|
+
}, e.prototype.getRule = function (e) {
|
|
2456
|
+
return e < this.length ? this.nodes[e].textContent : "";
|
|
2457
|
+
}, e;
|
|
2458
|
+
}(),
|
|
2459
|
+
De = function () {
|
|
2460
|
+
function e(e) {
|
|
2461
|
+
this.rules = [], this.length = 0;
|
|
2462
|
+
}
|
|
2463
|
+
return e.prototype.insertRule = function (e, t) {
|
|
2464
|
+
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
2465
|
+
}, e.prototype.deleteRule = function (e) {
|
|
2466
|
+
this.rules.splice(e, 1), this.length--;
|
|
2467
|
+
}, e.prototype.getRule = function (e) {
|
|
2468
|
+
return e < this.length ? this.rules[e] : "";
|
|
2469
|
+
}, e;
|
|
2470
|
+
}(),
|
|
2471
|
+
Re = S,
|
|
2472
|
+
Te = {
|
|
2473
|
+
isServer: !S,
|
|
2474
|
+
useCSSOMInjection: !w
|
|
2475
|
+
},
|
|
2476
|
+
ke = function () {
|
|
2477
|
+
function e(e, n, r) {
|
|
2478
|
+
void 0 === e && (e = C), void 0 === n && (n = {});
|
|
2479
|
+
var o = this;
|
|
2480
|
+
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 () {
|
|
2481
|
+
return function (e) {
|
|
2482
|
+
for (var t = e.getTag(), n = t.length, r = "", o = function (n) {
|
|
2483
|
+
var o = function (e) {
|
|
2484
|
+
return ve.get(e);
|
|
2485
|
+
}(n);
|
|
2486
|
+
if (void 0 === o) return "continue";
|
|
2487
|
+
var s = e.names.get(o),
|
|
2488
|
+
i = t.getGroup(n);
|
|
2489
|
+
if (void 0 === s || !s.size || 0 === i.length) return "continue";
|
|
2490
|
+
var a = "".concat(f, ".g").concat(n, '[id="').concat(o, '"]'),
|
|
2491
|
+
c = "";
|
|
2492
|
+
void 0 !== s && s.forEach(function (e) {
|
|
2493
|
+
e.length > 0 && (c += "".concat(e, ","));
|
|
2494
|
+
}), r += "".concat(i).concat(a, '{content:"').concat(c, '"}').concat(g);
|
|
2495
|
+
}, s = 0; s < n; s++) o(s);
|
|
2496
|
+
return r;
|
|
2497
|
+
}(o);
|
|
2498
|
+
});
|
|
2499
|
+
}
|
|
2500
|
+
return e.registerId = function (e) {
|
|
2501
|
+
return Se(e);
|
|
2502
|
+
}, e.prototype.rehydrate = function () {
|
|
2503
|
+
!this.server && S && _e(this);
|
|
2504
|
+
}, e.prototype.reconstructWithOptions = function (n, r) {
|
|
2505
|
+
return void 0 === r && (r = !0), new e(__assign(__assign({}, this.options), n), this.gs, r && this.names || void 0);
|
|
2506
|
+
}, e.prototype.allocateGSInstance = function (e) {
|
|
2507
|
+
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
2508
|
+
}, e.prototype.getTag = function () {
|
|
2509
|
+
return this.tag || (this.tag = (e = function (e) {
|
|
2510
|
+
var t = e.useCSSOMInjection,
|
|
2511
|
+
n = e.target;
|
|
2512
|
+
return e.isServer ? new De(n) : t ? new Ae(n) : new Oe(n);
|
|
2513
|
+
}(this.options), new fe(e)));
|
|
2514
|
+
var e;
|
|
2515
|
+
}, e.prototype.hasNameForId = function (e, t) {
|
|
2516
|
+
return this.names.has(e) && this.names.get(e).has(t);
|
|
2517
|
+
}, e.prototype.registerName = function (e, t) {
|
|
2518
|
+
if (Se(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
2519
|
+
var n = new Set();
|
|
2520
|
+
n.add(t), this.names.set(e, n);
|
|
2521
|
+
}
|
|
2522
|
+
}, e.prototype.insertRules = function (e, t, n) {
|
|
2523
|
+
this.registerName(e, t), this.getTag().insertRules(Se(e), n);
|
|
2524
|
+
}, e.prototype.clearNames = function (e) {
|
|
2525
|
+
this.names.has(e) && this.names.get(e).clear();
|
|
2526
|
+
}, e.prototype.clearRules = function (e) {
|
|
2527
|
+
this.getTag().clearGroup(Se(e)), this.clearNames(e);
|
|
2528
|
+
}, e.prototype.clearTag = function () {
|
|
2529
|
+
this.tag = void 0;
|
|
2530
|
+
}, e;
|
|
2531
|
+
}(),
|
|
2532
|
+
je = /&/g,
|
|
2533
|
+
xe = /^\s*\/\/.*$/gm;
|
|
2534
|
+
function Ve(e, t) {
|
|
2535
|
+
return e.map(function (e) {
|
|
2536
|
+
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) {
|
|
2537
|
+
return "".concat(t, " ").concat(e);
|
|
2538
|
+
})), Array.isArray(e.children) && "@keyframes" !== e.type && (e.children = Ve(e.children, t)), e;
|
|
2539
|
+
});
|
|
2540
|
+
}
|
|
2541
|
+
function Fe(e) {
|
|
2542
|
+
var t,
|
|
2543
|
+
n,
|
|
2544
|
+
r,
|
|
2545
|
+
o = void 0 === e ? C : e,
|
|
2546
|
+
s = o.options,
|
|
2547
|
+
i = void 0 === s ? C : s,
|
|
2548
|
+
a = o.plugins,
|
|
2549
|
+
c = void 0 === a ? _ : a,
|
|
2550
|
+
l = function (e, r, o) {
|
|
2551
|
+
return o.startsWith(n) && o.endsWith(n) && o.replaceAll(n, "").length > 0 ? ".".concat(t) : e;
|
|
2552
|
+
},
|
|
2553
|
+
u = c.slice();
|
|
2554
|
+
u.push(function (e) {
|
|
2555
|
+
e.type === RULESET && e.value.includes("&") && (e.props[0] = e.props[0].replace(je, n).replace(r, l));
|
|
2556
|
+
}), i.prefix && u.push(prefixer), u.push(stringify);
|
|
2557
|
+
var p = function (e, o, s, a) {
|
|
2558
|
+
void 0 === o && (o = ""), void 0 === s && (s = ""), void 0 === a && (a = "&"), t = a, n = o, r = new RegExp("\\".concat(n, "\\b"), "g");
|
|
2559
|
+
var c = e.replace(xe, ""),
|
|
2560
|
+
l = compile(s || o ? "".concat(s, " ").concat(o, " { ").concat(c, " }") : c);
|
|
2561
|
+
i.namespace && (l = Ve(l, i.namespace));
|
|
2562
|
+
var p = [];
|
|
2563
|
+
return serialize(l, middleware(u.concat(rulesheet(function (e) {
|
|
2564
|
+
return p.push(e);
|
|
2565
|
+
})))), p;
|
|
2566
|
+
};
|
|
2567
|
+
return p.hash = c.length ? c.reduce(function (e, t) {
|
|
2568
|
+
return t.name || he(15), M(e, t.name);
|
|
2569
|
+
}, F).toString() : "", p;
|
|
2570
|
+
}
|
|
2571
|
+
var Me = new ke(),
|
|
2572
|
+
ze = Fe(),
|
|
2573
|
+
$e = /*#__PURE__*/React__default["default"].createContext({
|
|
2574
|
+
shouldForwardProp: void 0,
|
|
2575
|
+
styleSheet: Me,
|
|
2576
|
+
stylis: ze
|
|
2577
|
+
});
|
|
2578
|
+
$e.Consumer;
|
|
2579
|
+
function Ge() {
|
|
2580
|
+
return React.useContext($e);
|
|
2581
|
+
}
|
|
2582
|
+
var qe = function () {
|
|
2583
|
+
function e(e, t) {
|
|
2584
|
+
var n = this;
|
|
2585
|
+
this.inject = function (e, t) {
|
|
2586
|
+
void 0 === t && (t = ze);
|
|
2587
|
+
var r = n.name + t.hash;
|
|
2588
|
+
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
2589
|
+
}, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = t, ue(this, function () {
|
|
2590
|
+
throw he(12, String(n.name));
|
|
2591
|
+
});
|
|
2592
|
+
}
|
|
2593
|
+
return e.prototype.getName = function (e) {
|
|
2594
|
+
return void 0 === e && (e = ze), this.name + e.hash;
|
|
2595
|
+
}, e;
|
|
2596
|
+
}(),
|
|
2597
|
+
We = function (e) {
|
|
2598
|
+
return e >= "A" && e <= "Z";
|
|
2599
|
+
};
|
|
2600
|
+
function He(e) {
|
|
2601
|
+
for (var t = "", n = 0; n < e.length; n++) {
|
|
2602
|
+
var r = e[n];
|
|
2603
|
+
if (1 === n && "-" === r && "-" === e[0]) return e;
|
|
2604
|
+
We(r) ? t += "-" + r.toLowerCase() : t += r;
|
|
2605
|
+
}
|
|
2606
|
+
return t.startsWith("ms-") ? "-" + t : t;
|
|
2607
|
+
}
|
|
2608
|
+
var Ue = function (e) {
|
|
2609
|
+
return null == e || !1 === e || "" === e;
|
|
2610
|
+
},
|
|
2611
|
+
Je = function (t) {
|
|
2612
|
+
var n,
|
|
2613
|
+
r,
|
|
2614
|
+
o = [];
|
|
2615
|
+
for (var s in t) {
|
|
2616
|
+
var i = t[s];
|
|
2617
|
+
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")), ";")));
|
|
2618
|
+
}
|
|
2619
|
+
return o;
|
|
2620
|
+
};
|
|
2621
|
+
function Xe(e, t, n, r) {
|
|
2622
|
+
if (Ue(e)) return [];
|
|
2623
|
+
if (se(e)) return [".".concat(e.styledComponentId)];
|
|
2624
|
+
if (oe(e)) {
|
|
2625
|
+
if (!oe(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
|
|
2626
|
+
var o = e(t);
|
|
2627
|
+
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);
|
|
2628
|
+
}
|
|
2629
|
+
var s;
|
|
2630
|
+
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) {
|
|
2631
|
+
return Xe(e, t, n, r);
|
|
2632
|
+
})) : [e.toString()];
|
|
2633
|
+
}
|
|
2634
|
+
function Ze(e) {
|
|
2635
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
2636
|
+
var n = e[t];
|
|
2637
|
+
if (oe(n) && !se(n)) return !1;
|
|
2638
|
+
}
|
|
2639
|
+
return !0;
|
|
2640
|
+
}
|
|
2641
|
+
var Ke = z(v),
|
|
2642
|
+
Qe = function () {
|
|
2643
|
+
function e(e, t, n) {
|
|
2644
|
+
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);
|
|
2645
|
+
}
|
|
2646
|
+
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
2647
|
+
var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
|
|
2648
|
+
if (this.isStatic && !n.hash) {
|
|
2649
|
+
if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) r = ie(r, this.staticRulesId);else {
|
|
2650
|
+
var o = ae(Xe(this.rules, e, t, n)),
|
|
2651
|
+
s = x(M(this.baseHash, o) >>> 0);
|
|
2652
|
+
if (!t.hasNameForId(this.componentId, s)) {
|
|
2653
|
+
var i = n(o, ".".concat(s), void 0, this.componentId);
|
|
2654
|
+
t.insertRules(this.componentId, s, i);
|
|
2655
|
+
}
|
|
2656
|
+
r = ie(r, s), this.staticRulesId = s;
|
|
2657
|
+
}
|
|
2658
|
+
} else {
|
|
2659
|
+
for (var a = M(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
|
|
2660
|
+
var u = this.rules[l];
|
|
2661
|
+
if ("string" == typeof u) c += u, "production" !== process.env.NODE_ENV && (a = M(a, u));else if (u) {
|
|
2662
|
+
var p = ae(Xe(u, e, t, n));
|
|
2663
|
+
a = M(a, p + l), c += p;
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
if (c) {
|
|
2667
|
+
var d = x(a >>> 0);
|
|
2668
|
+
t.hasNameForId(this.componentId, d) || t.insertRules(this.componentId, d, n(c, ".".concat(d), void 0, this.componentId)), r = ie(r, d);
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
return r;
|
|
2672
|
+
}, e;
|
|
2673
|
+
}(),
|
|
2674
|
+
et = /*#__PURE__*/React__default["default"].createContext(void 0);
|
|
2675
|
+
et.Consumer;
|
|
2676
|
+
var ot = {},
|
|
2677
|
+
st = new Set();
|
|
2678
|
+
function it(e, o, s) {
|
|
2679
|
+
var i = se(e),
|
|
2680
|
+
a = e,
|
|
2681
|
+
c = !L(e),
|
|
2682
|
+
p = o.attrs,
|
|
2683
|
+
d = void 0 === p ? _ : p,
|
|
2684
|
+
h = o.componentId,
|
|
2685
|
+
f = void 0 === h ? function (e, t) {
|
|
2686
|
+
var n = "string" != typeof e ? "sc" : R(e);
|
|
2687
|
+
ot[n] = (ot[n] || 0) + 1;
|
|
2688
|
+
var r = "".concat(n, "-").concat($(v + n + ot[n]));
|
|
2689
|
+
return t ? "".concat(t, "-").concat(r) : r;
|
|
2690
|
+
}(o.displayName, o.parentComponentId) : h,
|
|
2691
|
+
m = o.displayName,
|
|
2692
|
+
y = void 0 === m ? function (e) {
|
|
2693
|
+
return L(e) ? "styled.".concat(e) : "Styled(".concat(B(e), ")");
|
|
2694
|
+
}(e) : m,
|
|
2695
|
+
g = o.displayName && o.componentId ? "".concat(R(o.displayName), "-").concat(o.componentId) : o.componentId || f,
|
|
2696
|
+
S = i && a.attrs ? a.attrs.concat(d).filter(Boolean) : d,
|
|
2697
|
+
w = o.shouldForwardProp;
|
|
2698
|
+
if (i && a.shouldForwardProp) {
|
|
2699
|
+
var b = a.shouldForwardProp;
|
|
2700
|
+
if (o.shouldForwardProp) {
|
|
2701
|
+
var E = o.shouldForwardProp;
|
|
2702
|
+
w = function (e, t) {
|
|
2703
|
+
return b(e, t) && E(e, t);
|
|
2704
|
+
};
|
|
2705
|
+
} else w = b;
|
|
2706
|
+
}
|
|
2707
|
+
var N = new Qe(s, g, i ? a.componentStyle : void 0);
|
|
2708
|
+
function O(e, o) {
|
|
2709
|
+
return function (e, o, s) {
|
|
2710
|
+
var i = e.attrs,
|
|
2711
|
+
a = e.componentStyle,
|
|
2712
|
+
c = e.defaultProps,
|
|
2713
|
+
p = e.foldedComponentIds,
|
|
2714
|
+
d = e.styledComponentId,
|
|
2715
|
+
h = e.target,
|
|
2716
|
+
f = React__default["default"].useContext(et),
|
|
2717
|
+
m = Ge(),
|
|
2718
|
+
y = e.shouldForwardProp || m.shouldForwardProp;
|
|
2719
|
+
"production" !== process.env.NODE_ENV && React.useDebugValue(d);
|
|
2720
|
+
var v = I(o, f, c) || C,
|
|
2721
|
+
g = function (e, n, r) {
|
|
2722
|
+
for (var o, s = __assign(__assign({}, n), {
|
|
2723
|
+
className: void 0,
|
|
2724
|
+
theme: r
|
|
2725
|
+
}), i = 0; i < e.length; i += 1) {
|
|
2726
|
+
var a = oe(o = e[i]) ? o(s) : o;
|
|
2727
|
+
for (var c in a) s[c] = "className" === c ? ie(s[c], a[c]) : "style" === c ? __assign(__assign({}, s[c]), a[c]) : a[c];
|
|
2728
|
+
}
|
|
2729
|
+
return n.className && (s.className = ie(s.className, n.className)), s;
|
|
2730
|
+
}(i, o, v),
|
|
2731
|
+
S = g.as || h,
|
|
2732
|
+
w = {};
|
|
2733
|
+
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.)')))));
|
|
2734
|
+
var E = function (e, t) {
|
|
2735
|
+
var n = Ge(),
|
|
2736
|
+
r = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
|
|
2737
|
+
return "production" !== process.env.NODE_ENV && React.useDebugValue(r), r;
|
|
2738
|
+
}(a, g);
|
|
2739
|
+
"production" !== process.env.NODE_ENV && e.warnTooManyClasses && e.warnTooManyClasses(E);
|
|
2740
|
+
var N = ie(p, d);
|
|
2741
|
+
return E && (N += " " + E), g.className && (N += " " + g.className), w[L(S) && !A.has(S) ? "class" : "className"] = N, s && (w.ref = s), /*#__PURE__*/React.createElement(S, w);
|
|
2742
|
+
}(D, e, o);
|
|
2743
|
+
}
|
|
2744
|
+
O.displayName = y;
|
|
2745
|
+
var D = /*#__PURE__*/React__default["default"].forwardRef(O);
|
|
2746
|
+
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", {
|
|
2747
|
+
get: function () {
|
|
2748
|
+
return this._foldedDefaultProps;
|
|
2749
|
+
},
|
|
2750
|
+
set: function (e) {
|
|
2751
|
+
this._foldedDefaultProps = i ? function (e) {
|
|
2752
|
+
for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
2753
|
+
for (var r = 0, o = t; r < o.length; r++) le(e, o[r], !0);
|
|
2754
|
+
return e;
|
|
2755
|
+
}({}, a.defaultProps, e) : e;
|
|
2756
|
+
}
|
|
2757
|
+
}), "production" !== process.env.NODE_ENV && (P(y, g), D.warnTooManyClasses = function (e, t) {
|
|
2758
|
+
var n = {},
|
|
2759
|
+
r = !1;
|
|
2760
|
+
return function (o) {
|
|
2761
|
+
if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
|
|
2762
|
+
var s = t ? ' with the id of "'.concat(t, '"') : "";
|
|
2763
|
+
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 = {};
|
|
2764
|
+
}
|
|
2765
|
+
};
|
|
2766
|
+
}(y, g)), ue(D, function () {
|
|
2767
|
+
return ".".concat(D.styledComponentId);
|
|
2768
|
+
}), c && re(D, e, {
|
|
2769
|
+
attrs: !0,
|
|
2770
|
+
componentStyle: !0,
|
|
2771
|
+
displayName: !0,
|
|
2772
|
+
foldedComponentIds: !0,
|
|
2773
|
+
shouldForwardProp: !0,
|
|
2774
|
+
styledComponentId: !0,
|
|
2775
|
+
target: !0
|
|
2776
|
+
}), D;
|
|
2777
|
+
}
|
|
2778
|
+
function at(e, t) {
|
|
2779
|
+
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
2780
|
+
return n;
|
|
2781
|
+
}
|
|
2782
|
+
var ct = function (e) {
|
|
2783
|
+
return Object.assign(e, {
|
|
2784
|
+
isCss: !0
|
|
2785
|
+
});
|
|
2786
|
+
};
|
|
2787
|
+
function lt(t) {
|
|
2788
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2789
|
+
if (oe(t) || ce(t)) return ct(Xe(at(_, __spreadArray([t], n, !0))));
|
|
2790
|
+
var o = t;
|
|
2791
|
+
return 0 === n.length && 1 === o.length && "string" == typeof o[0] ? Xe(o) : ct(Xe(at(o, n)));
|
|
2792
|
+
}
|
|
2793
|
+
function ut(n, r, o) {
|
|
2794
|
+
if (void 0 === o && (o = C), !r) throw he(1, r);
|
|
2795
|
+
var s = function (t) {
|
|
2796
|
+
for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
|
|
2797
|
+
return n(r, o, lt.apply(void 0, __spreadArray([t], s, !1)));
|
|
2798
|
+
};
|
|
2799
|
+
return s.attrs = function (e) {
|
|
2800
|
+
return ut(n, r, __assign(__assign({}, o), {
|
|
2801
|
+
attrs: Array.prototype.concat(o.attrs, e).filter(Boolean)
|
|
2802
|
+
}));
|
|
2803
|
+
}, s.withConfig = function (e) {
|
|
2804
|
+
return ut(n, r, __assign(__assign({}, o), e));
|
|
2805
|
+
}, s;
|
|
2806
|
+
}
|
|
2807
|
+
var pt = function (e) {
|
|
2808
|
+
return ut(it, e);
|
|
2809
|
+
},
|
|
2810
|
+
dt = pt;
|
|
2811
|
+
A.forEach(function (e) {
|
|
2812
|
+
dt[e] = pt(e);
|
|
2813
|
+
});
|
|
2814
|
+
function mt(t) {
|
|
2815
|
+
for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
|
|
2816
|
+
"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.");
|
|
2817
|
+
var o = ae(lt.apply(void 0, __spreadArray([t], n, !1))),
|
|
2818
|
+
s = $(o);
|
|
2819
|
+
return new qe(s, o);
|
|
2820
|
+
}
|
|
2821
|
+
"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");
|
|
2822
|
+
var wt = "__sc-".concat(f, "__");
|
|
2823
|
+
"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);
|
|
2824
|
+
|
|
2825
|
+
const ButtonContainer = dt.div`
|
|
1171
2826
|
//position: relative;
|
|
1172
2827
|
display: flex;
|
|
1173
2828
|
align-items: center;
|
|
@@ -1176,7 +2831,7 @@ const ButtonContainer = styled__default["default"].div`
|
|
|
1176
2831
|
width: ${props => props.width};
|
|
1177
2832
|
height: ${props => props.height};
|
|
1178
2833
|
`;
|
|
1179
|
-
const ButtonItem =
|
|
2834
|
+
const ButtonItem = dt.div`
|
|
1180
2835
|
display: flex;
|
|
1181
2836
|
align-items: center;
|
|
1182
2837
|
justify-content: center;
|
|
@@ -1206,7 +2861,7 @@ const ButtonItem = styled__default["default"].div`
|
|
|
1206
2861
|
transition: background-color 0.3s, color 0.3s;
|
|
1207
2862
|
}
|
|
1208
2863
|
`;
|
|
1209
|
-
const Label$6 =
|
|
2864
|
+
const Label$6 = dt.label`
|
|
1210
2865
|
font-family: "Poppins";
|
|
1211
2866
|
font-size: 14px;
|
|
1212
2867
|
font-weight: 400;
|
|
@@ -1214,13 +2869,13 @@ const Label$6 = styled__default["default"].label`
|
|
|
1214
2869
|
pointer-events: none;
|
|
1215
2870
|
user-select: none;
|
|
1216
2871
|
`;
|
|
1217
|
-
const IconWrapper$1 =
|
|
2872
|
+
const IconWrapper$1 = dt.div`
|
|
1218
2873
|
display: flex;
|
|
1219
2874
|
align-items: center;
|
|
1220
2875
|
justify-content: center;
|
|
1221
2876
|
align-content: center;
|
|
1222
2877
|
`;
|
|
1223
|
-
const InputCommit =
|
|
2878
|
+
const InputCommit = dt.input`
|
|
1224
2879
|
font-family: "Poppins", sans-serif;
|
|
1225
2880
|
border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
|
|
1226
2881
|
border-radius: 8px;
|
|
@@ -1872,7 +3527,7 @@ NoDataFoundIcon.propTypes = {
|
|
|
1872
3527
|
width: PropTypes.string
|
|
1873
3528
|
};
|
|
1874
3529
|
|
|
1875
|
-
const NoDataFoundContainer =
|
|
3530
|
+
const NoDataFoundContainer = dt.div`
|
|
1876
3531
|
font-family: "Poppins", sans-serif;
|
|
1877
3532
|
font-style: normal;
|
|
1878
3533
|
font-weight: 400;
|
|
@@ -1880,7 +3535,7 @@ const NoDataFoundContainer = styled__default["default"].div`
|
|
|
1880
3535
|
flex-direction: column;
|
|
1881
3536
|
align-items: center;
|
|
1882
3537
|
`;
|
|
1883
|
-
const NoDataFoundTitle =
|
|
3538
|
+
const NoDataFoundTitle = dt.h4`
|
|
1884
3539
|
font-weight: 600;
|
|
1885
3540
|
font-size: 18px;
|
|
1886
3541
|
margin: 0;
|
|
@@ -1890,7 +3545,7 @@ const NoDataFoundTitle = styled__default["default"].h4`
|
|
|
1890
3545
|
font-size: 14px;
|
|
1891
3546
|
}
|
|
1892
3547
|
`;
|
|
1893
|
-
const NoDataFoundText =
|
|
3548
|
+
const NoDataFoundText = dt.p`
|
|
1894
3549
|
font-weight: 400;
|
|
1895
3550
|
font-size: 16px;
|
|
1896
3551
|
margin: 0;
|
|
@@ -1943,7 +3598,7 @@ const scrollableStyles$a = `
|
|
|
1943
3598
|
border-radius: 5px;
|
|
1944
3599
|
}
|
|
1945
3600
|
`;
|
|
1946
|
-
const ControlsContainer$9 =
|
|
3601
|
+
const ControlsContainer$9 = dt.div`
|
|
1947
3602
|
position: relative;
|
|
1948
3603
|
font-family: "Poppins", sans-serif;
|
|
1949
3604
|
font-style: normal;
|
|
@@ -1962,7 +3617,7 @@ const ControlsContainer$9 = styled__default["default"].div`
|
|
|
1962
3617
|
box-sizing: border-box;
|
|
1963
3618
|
}
|
|
1964
3619
|
`;
|
|
1965
|
-
const Controls$6 =
|
|
3620
|
+
const Controls$6 = dt.div`
|
|
1966
3621
|
display: flex;
|
|
1967
3622
|
flex-direction: column;
|
|
1968
3623
|
width: 100%;
|
|
@@ -1970,7 +3625,7 @@ const Controls$6 = styled__default["default"].div`
|
|
|
1970
3625
|
background: white;
|
|
1971
3626
|
border-radius: 12px;
|
|
1972
3627
|
`;
|
|
1973
|
-
|
|
3628
|
+
dt.div`
|
|
1974
3629
|
display: flex;
|
|
1975
3630
|
background: white;
|
|
1976
3631
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
@@ -1978,7 +3633,7 @@ styled__default["default"].div`
|
|
|
1978
3633
|
padding: 6px 10px;
|
|
1979
3634
|
margin: 0;
|
|
1980
3635
|
`;
|
|
1981
|
-
|
|
3636
|
+
dt.p`
|
|
1982
3637
|
color: #212121;
|
|
1983
3638
|
font-family: "Poppins", sans-serif;
|
|
1984
3639
|
font-size: 12px;
|
|
@@ -1988,12 +3643,12 @@ styled__default["default"].p`
|
|
|
1988
3643
|
line-height: normal;
|
|
1989
3644
|
margin: 0;
|
|
1990
3645
|
`;
|
|
1991
|
-
const TitleAndValueContainer$4 =
|
|
3646
|
+
const TitleAndValueContainer$4 = dt.div`
|
|
1992
3647
|
display: flex;
|
|
1993
3648
|
flex-direction: column;
|
|
1994
3649
|
padding: 0 20px;
|
|
1995
3650
|
`;
|
|
1996
|
-
const Title$a =
|
|
3651
|
+
const Title$a = dt.h4`
|
|
1997
3652
|
font-weight: 400;
|
|
1998
3653
|
font-size: 18px;
|
|
1999
3654
|
margin: 0 0 8px;
|
|
@@ -2001,12 +3656,12 @@ const Title$a = styled__default["default"].h4`
|
|
|
2001
3656
|
font-size: 16px;
|
|
2002
3657
|
}
|
|
2003
3658
|
`;
|
|
2004
|
-
const CurrencySignAndFormattedValueContainer$2 =
|
|
3659
|
+
const CurrencySignAndFormattedValueContainer$2 = dt.div`
|
|
2005
3660
|
display: flex;
|
|
2006
3661
|
align-items: center;
|
|
2007
3662
|
gap: 8px;
|
|
2008
3663
|
`;
|
|
2009
|
-
const FormattedValue$4 =
|
|
3664
|
+
const FormattedValue$4 = dt.h5`
|
|
2010
3665
|
font-size: 40px;
|
|
2011
3666
|
font-weight: 500;
|
|
2012
3667
|
margin: 0;
|
|
@@ -2018,17 +3673,17 @@ const FormattedValue$4 = styled__default["default"].h5`
|
|
|
2018
3673
|
font-size: 20px;
|
|
2019
3674
|
}
|
|
2020
3675
|
`;
|
|
2021
|
-
const CurrencySign$2 =
|
|
3676
|
+
const CurrencySign$2 = dt.span`
|
|
2022
3677
|
font-size: 14px;
|
|
2023
3678
|
font-weight: 500;
|
|
2024
3679
|
line-height: 0;
|
|
2025
3680
|
`;
|
|
2026
|
-
const TextAfterValue$1 =
|
|
3681
|
+
const TextAfterValue$1 = dt.span`
|
|
2027
3682
|
color: #999999;
|
|
2028
3683
|
font-size: 12px;
|
|
2029
3684
|
font-weight: 400;
|
|
2030
3685
|
`;
|
|
2031
|
-
const DoughnutChartAndLegendContainer$1 =
|
|
3686
|
+
const DoughnutChartAndLegendContainer$1 = dt.div`
|
|
2032
3687
|
display: flex;
|
|
2033
3688
|
gap: 2%;
|
|
2034
3689
|
width: 86%;
|
|
@@ -2036,31 +3691,31 @@ const DoughnutChartAndLegendContainer$1 = styled__default["default"].div`
|
|
|
2036
3691
|
margin: auto;
|
|
2037
3692
|
padding: 0 20px;
|
|
2038
3693
|
`;
|
|
2039
|
-
const DoughnutChartContainer$1 =
|
|
3694
|
+
const DoughnutChartContainer$1 = dt.div`
|
|
2040
3695
|
width: 50%;
|
|
2041
3696
|
`;
|
|
2042
|
-
const LegendContainer$2 =
|
|
3697
|
+
const LegendContainer$2 = dt.div`
|
|
2043
3698
|
padding-left: 10px;
|
|
2044
3699
|
display: flex;
|
|
2045
3700
|
justify-content: center;
|
|
2046
3701
|
flex-direction: column;
|
|
2047
3702
|
gap: 12px;
|
|
2048
3703
|
`;
|
|
2049
|
-
const LegendControlsContainer$1 =
|
|
3704
|
+
const LegendControlsContainer$1 = dt.div`
|
|
2050
3705
|
display: flex;
|
|
2051
3706
|
gap: 0.5rem;
|
|
2052
3707
|
align-items: center;
|
|
2053
3708
|
margin-bottom: 0.375rem;
|
|
2054
3709
|
`;
|
|
2055
|
-
const LegendTitleAndFormatedValueContainer$1 =
|
|
3710
|
+
const LegendTitleAndFormatedValueContainer$1 = dt.div`
|
|
2056
3711
|
flex-grow: 1;
|
|
2057
3712
|
`;
|
|
2058
|
-
const LegendColorRectangle$2 =
|
|
3713
|
+
const LegendColorRectangle$2 = dt.div`
|
|
2059
3714
|
width: 16px;
|
|
2060
3715
|
height: 16px;
|
|
2061
3716
|
background: ${props => props.color};
|
|
2062
3717
|
`;
|
|
2063
|
-
const LegendTitle$1 =
|
|
3718
|
+
const LegendTitle$1 = dt.h5`
|
|
2064
3719
|
font-weight: 400;
|
|
2065
3720
|
font-size: 14px;
|
|
2066
3721
|
margin: 0;
|
|
@@ -2068,12 +3723,12 @@ const LegendTitle$1 = styled__default["default"].h5`
|
|
|
2068
3723
|
gap: 20px;
|
|
2069
3724
|
justify-content: space-between;
|
|
2070
3725
|
`;
|
|
2071
|
-
const LegendFormattedValue$1 =
|
|
3726
|
+
const LegendFormattedValue$1 = dt.span`
|
|
2072
3727
|
font-weight: 500;
|
|
2073
3728
|
white-space: nowrap;
|
|
2074
3729
|
`;
|
|
2075
3730
|
|
|
2076
|
-
const ControlsContainer$8 =
|
|
3731
|
+
const ControlsContainer$8 = dt.div`
|
|
2077
3732
|
display: flex;
|
|
2078
3733
|
position: relative;
|
|
2079
3734
|
margin: 0px 0 0px;
|
|
@@ -2086,7 +3741,7 @@ const ControlsContainer$8 = styled__default["default"].div`
|
|
|
2086
3741
|
//border: 1px solid red;
|
|
2087
3742
|
align-items: center;
|
|
2088
3743
|
`;
|
|
2089
|
-
const Controls$5 =
|
|
3744
|
+
const Controls$5 = dt.div`
|
|
2090
3745
|
position: relative;
|
|
2091
3746
|
border-radius: 100px;
|
|
2092
3747
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
@@ -2094,7 +3749,7 @@ const Controls$5 = styled__default["default"].div`
|
|
|
2094
3749
|
//background: #ffffff;
|
|
2095
3750
|
//border: 1px solid blue;
|
|
2096
3751
|
`;
|
|
2097
|
-
const BackgroundValueRectangle =
|
|
3752
|
+
const BackgroundValueRectangle = dt.div`
|
|
2098
3753
|
position: absolute;
|
|
2099
3754
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
2100
3755
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
@@ -2104,7 +3759,7 @@ const BackgroundValueRectangle = styled__default["default"].div`
|
|
|
2104
3759
|
background: ${props => props.color};
|
|
2105
3760
|
//border: 1px solid orange;
|
|
2106
3761
|
`;
|
|
2107
|
-
const CurrentValueRectangle =
|
|
3762
|
+
const CurrentValueRectangle = dt.div`
|
|
2108
3763
|
position: absolute;
|
|
2109
3764
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
2110
3765
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
@@ -2118,7 +3773,7 @@ const CurrentValueRectangle = styled__default["default"].div`
|
|
|
2118
3773
|
);
|
|
2119
3774
|
//border: 1px solid green;
|
|
2120
3775
|
`;
|
|
2121
|
-
const AvarageDelimiter =
|
|
3776
|
+
const AvarageDelimiter = dt.div`
|
|
2122
3777
|
position: absolute;
|
|
2123
3778
|
height: ${props => props.height.toString().concat('', 'px')};
|
|
2124
3779
|
width: ${props => props.width.toString().concat('', 'px')};
|
|
@@ -2128,7 +3783,7 @@ const AvarageDelimiter = styled__default["default"].div`
|
|
|
2128
3783
|
`;
|
|
2129
3784
|
|
|
2130
3785
|
/* Custom properties */
|
|
2131
|
-
const TooltipContainer$2 =
|
|
3786
|
+
const TooltipContainer$2 = dt.div`
|
|
2132
3787
|
--tooltip-text-color: black;
|
|
2133
3788
|
--tooltip-background-color: white;
|
|
2134
3789
|
--tooltip-margin: 40px;
|
|
@@ -2136,13 +3791,13 @@ const TooltipContainer$2 = styled__default["default"].div`
|
|
|
2136
3791
|
`;
|
|
2137
3792
|
|
|
2138
3793
|
/* Wrapping */
|
|
2139
|
-
const TooltipWrapper$2 =
|
|
3794
|
+
const TooltipWrapper$2 = dt.div`
|
|
2140
3795
|
display: inline-block;
|
|
2141
3796
|
position: relative;
|
|
2142
3797
|
`;
|
|
2143
3798
|
|
|
2144
3799
|
/* Absolute positioning */
|
|
2145
|
-
const TooltipTip$1 =
|
|
3800
|
+
const TooltipTip$1 = dt.div`
|
|
2146
3801
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
2147
3802
|
position: absolute;
|
|
2148
3803
|
border-radius: 4px;
|
|
@@ -2553,7 +4208,7 @@ PieChart.defaultProps = {
|
|
|
2553
4208
|
noDataText: 'No Data'
|
|
2554
4209
|
};
|
|
2555
4210
|
|
|
2556
|
-
const MainContainer$7 =
|
|
4211
|
+
const MainContainer$7 = dt.div`
|
|
2557
4212
|
position: relative;
|
|
2558
4213
|
font-family: "Poppins", sans-serif;
|
|
2559
4214
|
background-color: white;
|
|
@@ -2564,7 +4219,7 @@ const MainContainer$7 = styled__default["default"].div`
|
|
|
2564
4219
|
border-radius: 8px;
|
|
2565
4220
|
border: 1px solid #f2f2f2;
|
|
2566
4221
|
`;
|
|
2567
|
-
const TitleWrapper$1 =
|
|
4222
|
+
const TitleWrapper$1 = dt.div`
|
|
2568
4223
|
padding: 22px 20px;
|
|
2569
4224
|
border-radius: 8px 8px 0 0;
|
|
2570
4225
|
background-color: #f7f8fa;
|
|
@@ -2572,11 +4227,11 @@ const TitleWrapper$1 = styled__default["default"].div`
|
|
|
2572
4227
|
gap: 10px;
|
|
2573
4228
|
align-items: baseline;
|
|
2574
4229
|
`;
|
|
2575
|
-
const CardTitle$1 =
|
|
4230
|
+
const CardTitle$1 = dt.span`
|
|
2576
4231
|
font-size: 18px;
|
|
2577
4232
|
font-weight: 400;
|
|
2578
4233
|
`;
|
|
2579
|
-
const MainCard =
|
|
4234
|
+
const MainCard = dt.div`
|
|
2580
4235
|
padding: 20px;
|
|
2581
4236
|
flex-grow: 1;
|
|
2582
4237
|
display: flex;
|
|
@@ -2589,7 +4244,7 @@ const MainCard = styled__default["default"].div`
|
|
|
2589
4244
|
}
|
|
2590
4245
|
}
|
|
2591
4246
|
`;
|
|
2592
|
-
const List =
|
|
4247
|
+
const List = dt.ul`
|
|
2593
4248
|
list-style-type: none;
|
|
2594
4249
|
padding: 0;
|
|
2595
4250
|
margin: 0 0 auto;
|
|
@@ -2604,7 +4259,7 @@ const List = styled__default["default"].ul`
|
|
|
2604
4259
|
font-weight: 500;
|
|
2605
4260
|
}
|
|
2606
4261
|
`;
|
|
2607
|
-
const LinkButtonContainer$1 =
|
|
4262
|
+
const LinkButtonContainer$1 = dt.div`
|
|
2608
4263
|
margin-left: auto;
|
|
2609
4264
|
`;
|
|
2610
4265
|
|
|
@@ -2759,16 +4414,16 @@ const HannafordNewIcon = _ref => {
|
|
|
2759
4414
|
})));
|
|
2760
4415
|
};
|
|
2761
4416
|
|
|
2762
|
-
const MainContainer$6 =
|
|
4417
|
+
const MainContainer$6 = dt.div`
|
|
2763
4418
|
position: relative;
|
|
2764
4419
|
font-family: "Poppins", sans-serif;
|
|
2765
4420
|
background-color: white;
|
|
2766
4421
|
border-radius: 30px;
|
|
2767
4422
|
`;
|
|
2768
|
-
const ToggleBannersWrapper =
|
|
4423
|
+
const ToggleBannersWrapper = dt.div`
|
|
2769
4424
|
position: relative;
|
|
2770
4425
|
`;
|
|
2771
|
-
const ToggleBanners =
|
|
4426
|
+
const ToggleBanners = dt.button`
|
|
2772
4427
|
display: flex;
|
|
2773
4428
|
gap: 4px;
|
|
2774
4429
|
color: #2d8de7;
|
|
@@ -2786,7 +4441,7 @@ const ToggleBanners = styled__default["default"].button`
|
|
|
2786
4441
|
white-space: nowrap;
|
|
2787
4442
|
}
|
|
2788
4443
|
`;
|
|
2789
|
-
const ArrowWrap =
|
|
4444
|
+
const ArrowWrap = dt.div`
|
|
2790
4445
|
> svg {
|
|
2791
4446
|
transform: rotate(180deg);
|
|
2792
4447
|
transition: transform 0.3s ease;
|
|
@@ -2797,7 +4452,7 @@ const ArrowWrap = styled__default["default"].div`
|
|
|
2797
4452
|
}
|
|
2798
4453
|
}
|
|
2799
4454
|
`;
|
|
2800
|
-
const ToggledDropdown =
|
|
4455
|
+
const ToggledDropdown = dt.div`
|
|
2801
4456
|
position: absolute;
|
|
2802
4457
|
margin-top: 10px;
|
|
2803
4458
|
border-radius: 5px;
|
|
@@ -2807,14 +4462,14 @@ const ToggledDropdown = styled__default["default"].div`
|
|
|
2807
4462
|
|
|
2808
4463
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
2809
4464
|
`;
|
|
2810
|
-
const ToggledDropdownTitle =
|
|
4465
|
+
const ToggledDropdownTitle = dt.span`
|
|
2811
4466
|
font-size: 14px;
|
|
2812
4467
|
font-weight: 600;
|
|
2813
4468
|
padding: 8px 12px;
|
|
2814
4469
|
margin-bottom: 12px;
|
|
2815
4470
|
white-space: nowrap;
|
|
2816
4471
|
`;
|
|
2817
|
-
const ToggledDropdownList =
|
|
4472
|
+
const ToggledDropdownList = dt.ul`
|
|
2818
4473
|
list-style-type: none;
|
|
2819
4474
|
padding: 0;
|
|
2820
4475
|
margin: 0;
|
|
@@ -2846,7 +4501,7 @@ const ToggledDropdownList = styled__default["default"].ul`
|
|
|
2846
4501
|
}
|
|
2847
4502
|
}
|
|
2848
4503
|
`;
|
|
2849
|
-
const IconWrap =
|
|
4504
|
+
const IconWrap = dt.div`
|
|
2850
4505
|
min-width: 54px;
|
|
2851
4506
|
text-align: center;
|
|
2852
4507
|
`;
|
|
@@ -2974,7 +4629,7 @@ BannersDropdown.defaultProps = {
|
|
|
2974
4629
|
onClick: () => {}
|
|
2975
4630
|
};
|
|
2976
4631
|
|
|
2977
|
-
const LinkButtonContainer =
|
|
4632
|
+
const LinkButtonContainer = dt.div`
|
|
2978
4633
|
display: flex;
|
|
2979
4634
|
align-items: center;
|
|
2980
4635
|
justify-content: center;
|
|
@@ -2982,7 +4637,7 @@ const LinkButtonContainer = styled__default["default"].div`
|
|
|
2982
4637
|
width: ${props => props.width};
|
|
2983
4638
|
height: ${props => props.height};
|
|
2984
4639
|
`;
|
|
2985
|
-
const LinkButtonItem =
|
|
4640
|
+
const LinkButtonItem = dt.div`
|
|
2986
4641
|
display: flex;
|
|
2987
4642
|
align-items: center;
|
|
2988
4643
|
justify-content: center;
|
|
@@ -3009,11 +4664,11 @@ const LinkButtonItem = styled__default["default"].div`
|
|
|
3009
4664
|
transition: background-color 0.3s, color 0.3s;
|
|
3010
4665
|
}
|
|
3011
4666
|
`;
|
|
3012
|
-
const Label$5 =
|
|
4667
|
+
const Label$5 = dt.label`
|
|
3013
4668
|
user-select: none;
|
|
3014
4669
|
pointer-events: none;
|
|
3015
4670
|
`;
|
|
3016
|
-
const IconWrapper =
|
|
4671
|
+
const IconWrapper = dt.div`
|
|
3017
4672
|
display: flex;
|
|
3018
4673
|
align-items: center;
|
|
3019
4674
|
justify-content: center;
|
|
@@ -3429,7 +5084,7 @@ EventDetailsCard.defaultProps = {
|
|
|
3429
5084
|
disableViewDetailsButton: false
|
|
3430
5085
|
};
|
|
3431
5086
|
|
|
3432
|
-
const LinnerContainer$1 =
|
|
5087
|
+
const LinnerContainer$1 = dt.div`
|
|
3433
5088
|
font-family: "Poppins", sans-serif;
|
|
3434
5089
|
display: flex;
|
|
3435
5090
|
justify-content: space-between;
|
|
@@ -3438,7 +5093,7 @@ const LinnerContainer$1 = styled__default["default"].div`
|
|
|
3438
5093
|
background-color: ${props => props.backgroundColor};
|
|
3439
5094
|
padding: 50px 40px 30px;
|
|
3440
5095
|
`;
|
|
3441
|
-
const DataBoxWrap =
|
|
5096
|
+
const DataBoxWrap = dt.div`
|
|
3442
5097
|
display: flex;
|
|
3443
5098
|
gap: 10px;
|
|
3444
5099
|
justify-content: space-around;
|
|
@@ -3446,45 +5101,45 @@ const DataBoxWrap = styled__default["default"].div`
|
|
|
3446
5101
|
width: ${props => props.width};
|
|
3447
5102
|
height: 100%;
|
|
3448
5103
|
`;
|
|
3449
|
-
const DataBox$1 =
|
|
5104
|
+
const DataBox$1 = dt.div`
|
|
3450
5105
|
color: #212121;
|
|
3451
5106
|
font-weight: 400;
|
|
3452
5107
|
`;
|
|
3453
|
-
const DataBoxTitle$1 =
|
|
5108
|
+
const DataBoxTitle$1 = dt.span`
|
|
3454
5109
|
font-size: 18px;
|
|
3455
5110
|
font-weight: 500;
|
|
3456
5111
|
`;
|
|
3457
|
-
const DataBoxContent =
|
|
5112
|
+
const DataBoxContent = dt.div`
|
|
3458
5113
|
display: flex;
|
|
3459
5114
|
align-items: baseline;
|
|
3460
5115
|
`;
|
|
3461
|
-
const DataBoxContentSign =
|
|
5116
|
+
const DataBoxContentSign = dt.span`
|
|
3462
5117
|
font-size: 18px;
|
|
3463
5118
|
font-weight: 500;
|
|
3464
5119
|
`;
|
|
3465
|
-
const DataBoxContentValue =
|
|
5120
|
+
const DataBoxContentValue = dt.span`
|
|
3466
5121
|
font-size: 40px;
|
|
3467
5122
|
font-weight: 500;
|
|
3468
5123
|
`;
|
|
3469
|
-
const DataBoxContentNoValue =
|
|
5124
|
+
const DataBoxContentNoValue = dt.span`
|
|
3470
5125
|
font-size: 18px;
|
|
3471
5126
|
font-weight: 500;
|
|
3472
5127
|
margin: 20px auto 0;
|
|
3473
5128
|
`;
|
|
3474
|
-
|
|
5129
|
+
dt.div`
|
|
3475
5130
|
display: flex;
|
|
3476
5131
|
flex-direction: column;
|
|
3477
5132
|
`;
|
|
3478
|
-
const DataBoxExtraInfoCell =
|
|
5133
|
+
const DataBoxExtraInfoCell = dt.div`
|
|
3479
5134
|
display: flex;
|
|
3480
5135
|
gap: 5px;
|
|
3481
5136
|
`;
|
|
3482
|
-
const DataBoxExtraInfoCellTitle =
|
|
5137
|
+
const DataBoxExtraInfoCellTitle = dt.div`
|
|
3483
5138
|
color: #999;
|
|
3484
5139
|
font-size: 12px;
|
|
3485
5140
|
text-transform: uppercase;
|
|
3486
5141
|
`;
|
|
3487
|
-
const DataBoxExtraInfoCellValue =
|
|
5142
|
+
const DataBoxExtraInfoCellValue = dt.div`
|
|
3488
5143
|
color: #999;
|
|
3489
5144
|
font-size: 12px;
|
|
3490
5145
|
text-transform: uppercase;
|
|
@@ -3541,7 +5196,7 @@ LinnerDataBox.propTypes = {
|
|
|
3541
5196
|
};
|
|
3542
5197
|
LinnerDataBox.defaultProps = {
|
|
3543
5198
|
className: "",
|
|
3544
|
-
width: "
|
|
5199
|
+
width: "auto",
|
|
3545
5200
|
height: "auto",
|
|
3546
5201
|
data: [],
|
|
3547
5202
|
backgroundColor: "#FFFFFF",
|
|
@@ -3605,7 +5260,7 @@ const scrollableStyles$9 = `
|
|
|
3605
5260
|
border-radius: 5px;
|
|
3606
5261
|
}
|
|
3607
5262
|
`;
|
|
3608
|
-
const MainContainer$5 =
|
|
5263
|
+
const MainContainer$5 = dt.div`
|
|
3609
5264
|
display: flex;
|
|
3610
5265
|
flex-direction: row;
|
|
3611
5266
|
position: relative;
|
|
@@ -3619,7 +5274,7 @@ const MainContainer$5 = styled__default["default"].div`
|
|
|
3619
5274
|
overflow: auto;
|
|
3620
5275
|
${scrollableStyles$9}
|
|
3621
5276
|
`;
|
|
3622
|
-
const RowTitle =
|
|
5277
|
+
const RowTitle = dt.h4`
|
|
3623
5278
|
display: flex;
|
|
3624
5279
|
justify-content: space-between;
|
|
3625
5280
|
font-weight: 500;
|
|
@@ -3632,7 +5287,7 @@ const RowTitle = styled__default["default"].h4`
|
|
|
3632
5287
|
font-size: 12px;
|
|
3633
5288
|
}
|
|
3634
5289
|
`;
|
|
3635
|
-
const AllRowsContainer =
|
|
5290
|
+
const AllRowsContainer = dt.div`
|
|
3636
5291
|
display: flex;
|
|
3637
5292
|
flex-direction: column;
|
|
3638
5293
|
justify-content: space-between;
|
|
@@ -3640,13 +5295,13 @@ const AllRowsContainer = styled__default["default"].div`
|
|
|
3640
5295
|
width: 100%;
|
|
3641
5296
|
height: 100%;
|
|
3642
5297
|
`;
|
|
3643
|
-
const OneRowContainer =
|
|
5298
|
+
const OneRowContainer = dt.div`
|
|
3644
5299
|
display: flex;
|
|
3645
5300
|
flex-direction: column;
|
|
3646
5301
|
width: 100%;
|
|
3647
5302
|
height: 100%;
|
|
3648
5303
|
`;
|
|
3649
|
-
const ColumnLineSeporatorContainer =
|
|
5304
|
+
const ColumnLineSeporatorContainer = dt.div`
|
|
3650
5305
|
display: flex;
|
|
3651
5306
|
flex-direction: column;
|
|
3652
5307
|
background-color: #b1b1b1;
|
|
@@ -3665,11 +5320,11 @@ const ColumnLineSeporatorContainer = styled__default["default"].div`
|
|
|
3665
5320
|
width: 100%;
|
|
3666
5321
|
}
|
|
3667
5322
|
`;
|
|
3668
|
-
const ColumnLineSeporator =
|
|
5323
|
+
const ColumnLineSeporator = dt.div`
|
|
3669
5324
|
min-width: 0.5px;
|
|
3670
5325
|
width: 0.5px;
|
|
3671
5326
|
`;
|
|
3672
|
-
const FieldsContainer$1 =
|
|
5327
|
+
const FieldsContainer$1 = dt.div`
|
|
3673
5328
|
display: flex;
|
|
3674
5329
|
flex-direction: row;
|
|
3675
5330
|
justify-content: space-between;
|
|
@@ -3677,7 +5332,7 @@ const FieldsContainer$1 = styled__default["default"].div`
|
|
|
3677
5332
|
height: 100%;
|
|
3678
5333
|
padding: 30px 0px;
|
|
3679
5334
|
`;
|
|
3680
|
-
const OneFieldsContainer =
|
|
5335
|
+
const OneFieldsContainer = dt.div`
|
|
3681
5336
|
display: flex;
|
|
3682
5337
|
padding: 4px;
|
|
3683
5338
|
gap: 10px;
|
|
@@ -3685,7 +5340,7 @@ const OneFieldsContainer = styled__default["default"].div`
|
|
|
3685
5340
|
justify-content: flex-start;
|
|
3686
5341
|
// padding: ${props => props.padding}; //0 0 0 40px;
|
|
3687
5342
|
`;
|
|
3688
|
-
const FieldTitle =
|
|
5343
|
+
const FieldTitle = dt.h4`
|
|
3689
5344
|
font-size: 18px;
|
|
3690
5345
|
font-weight: 400;
|
|
3691
5346
|
margin: 0;
|
|
@@ -3696,7 +5351,7 @@ const FieldTitle = styled__default["default"].h4`
|
|
|
3696
5351
|
font-size: 12px;
|
|
3697
5352
|
}
|
|
3698
5353
|
`;
|
|
3699
|
-
const FormattedValue$3 =
|
|
5354
|
+
const FormattedValue$3 = dt.div`
|
|
3700
5355
|
font-weight: 400;
|
|
3701
5356
|
font-size: 40px;
|
|
3702
5357
|
display: flex;
|
|
@@ -3710,7 +5365,7 @@ const FormattedValue$3 = styled__default["default"].div`
|
|
|
3710
5365
|
font-size: 20px;
|
|
3711
5366
|
}
|
|
3712
5367
|
`;
|
|
3713
|
-
const TextBeforeAndAfterValue$1 =
|
|
5368
|
+
const TextBeforeAndAfterValue$1 = dt.span`
|
|
3714
5369
|
font-weight: 400;
|
|
3715
5370
|
font-size: 16px;
|
|
3716
5371
|
@media (max-width: 1536px) {
|
|
@@ -3720,26 +5375,26 @@ const TextBeforeAndAfterValue$1 = styled__default["default"].span`
|
|
|
3720
5375
|
font-size: 11px;
|
|
3721
5376
|
}
|
|
3722
5377
|
`;
|
|
3723
|
-
const FieldTitleAndValueSubContainer =
|
|
5378
|
+
const FieldTitleAndValueSubContainer = dt.div`
|
|
3724
5379
|
display: flex;
|
|
3725
5380
|
justify-content: space-around;
|
|
3726
5381
|
flex-direction: column;
|
|
3727
5382
|
flex-wrap: wrap;
|
|
3728
5383
|
width: 100%;
|
|
3729
5384
|
`;
|
|
3730
|
-
const InfoTextContainer$1 =
|
|
5385
|
+
const InfoTextContainer$1 = dt.div`
|
|
3731
5386
|
display: flex;
|
|
3732
5387
|
flex-direction: row;
|
|
3733
5388
|
width: 100%;
|
|
3734
5389
|
height: 100%;
|
|
3735
5390
|
overflow:auto;
|
|
3736
5391
|
`;
|
|
3737
|
-
const IconContainer$5 =
|
|
5392
|
+
const IconContainer$5 = dt.div`
|
|
3738
5393
|
display: flex;
|
|
3739
5394
|
padding: 5px 10px 0 0;
|
|
3740
5395
|
cursor: pointer;
|
|
3741
5396
|
`;
|
|
3742
|
-
const InfoTextLabel$1 =
|
|
5397
|
+
const InfoTextLabel$1 = dt.div`
|
|
3743
5398
|
color: black;
|
|
3744
5399
|
font-size: 18px;
|
|
3745
5400
|
line-height: 24px;
|
|
@@ -3768,7 +5423,7 @@ const InfoTextLabel$1 = styled__default["default"].div`
|
|
|
3768
5423
|
}
|
|
3769
5424
|
};
|
|
3770
5425
|
`;
|
|
3771
|
-
const OutBanner$2 =
|
|
5426
|
+
const OutBanner$2 = dt.div`
|
|
3772
5427
|
display: flex;
|
|
3773
5428
|
gap: 8px;
|
|
3774
5429
|
align-items: center;
|
|
@@ -3900,7 +5555,7 @@ MarketShareDescription.defaultProps = {
|
|
|
3900
5555
|
dotCut: false
|
|
3901
5556
|
};
|
|
3902
5557
|
|
|
3903
|
-
const SagIconButtonWrapper =
|
|
5558
|
+
const SagIconButtonWrapper = dt.button`
|
|
3904
5559
|
height: ${props => props.height};
|
|
3905
5560
|
font-size: 14px;
|
|
3906
5561
|
font-weight: 400;
|
|
@@ -3920,7 +5575,7 @@ const SagIconButtonWrapper = styled__default["default"].button`
|
|
|
3920
5575
|
box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
|
|
3921
5576
|
}
|
|
3922
5577
|
`;
|
|
3923
|
-
const SpanText$1 =
|
|
5578
|
+
const SpanText$1 = dt.span`
|
|
3924
5579
|
`;
|
|
3925
5580
|
|
|
3926
5581
|
const SagIconButton = props => {
|
|
@@ -4048,7 +5703,7 @@ SagIconButton.defaultProps = {
|
|
|
4048
5703
|
onButtonClick: () => {}
|
|
4049
5704
|
};
|
|
4050
5705
|
|
|
4051
|
-
const TextFieldContainer =
|
|
5706
|
+
const TextFieldContainer = dt.div`
|
|
4052
5707
|
position: relative;
|
|
4053
5708
|
width: ${props => props.width};
|
|
4054
5709
|
> svg {
|
|
@@ -4059,7 +5714,7 @@ const TextFieldContainer = styled__default["default"].div`
|
|
|
4059
5714
|
|
|
4060
5715
|
}
|
|
4061
5716
|
`;
|
|
4062
|
-
const TextFieldInput =
|
|
5717
|
+
const TextFieldInput = dt.input`
|
|
4063
5718
|
width: 100%;
|
|
4064
5719
|
height: ${props => props.height};
|
|
4065
5720
|
font-size: 14px;
|
|
@@ -4146,31 +5801,31 @@ const scrollableStyles$8 = `
|
|
|
4146
5801
|
border-radius: 5px;
|
|
4147
5802
|
}
|
|
4148
5803
|
`;
|
|
4149
|
-
const TabMenuContainer =
|
|
5804
|
+
const TabMenuContainer = dt.div`
|
|
4150
5805
|
font-family: 'Poppins', sans-serif;
|
|
4151
5806
|
display: grid;
|
|
4152
5807
|
gap: 20px;
|
|
4153
5808
|
grid-template-rows: repeat(3, auto);
|
|
4154
5809
|
`;
|
|
4155
|
-
const TopRow =
|
|
5810
|
+
const TopRow = dt.div`
|
|
4156
5811
|
display: flex;
|
|
4157
5812
|
align-items: center;
|
|
4158
5813
|
gap: 20px;
|
|
4159
5814
|
`;
|
|
4160
|
-
const Headline$1 =
|
|
5815
|
+
const Headline$1 = dt.span`
|
|
4161
5816
|
font-size: 18px;
|
|
4162
5817
|
font-weight: 500;
|
|
4163
5818
|
margin-right: auto;
|
|
4164
5819
|
`;
|
|
4165
|
-
const Nav =
|
|
5820
|
+
const Nav = dt.nav`
|
|
4166
5821
|
`;
|
|
4167
|
-
const Tabs =
|
|
5822
|
+
const Tabs = dt.div`
|
|
4168
5823
|
position: relative;
|
|
4169
5824
|
display: flex;
|
|
4170
5825
|
align-items: center;
|
|
4171
5826
|
width: 100%;
|
|
4172
5827
|
`;
|
|
4173
|
-
const Tab =
|
|
5828
|
+
const Tab = dt.div`
|
|
4174
5829
|
cursor: pointer;
|
|
4175
5830
|
position: relative;
|
|
4176
5831
|
text-align: center;
|
|
@@ -4184,7 +5839,7 @@ const Tab = styled__default["default"].div`
|
|
|
4184
5839
|
//2px solid ${props => props.color};
|
|
4185
5840
|
}
|
|
4186
5841
|
`;
|
|
4187
|
-
const PresentationSlider =
|
|
5842
|
+
const PresentationSlider = dt.div`
|
|
4188
5843
|
position: absolute;
|
|
4189
5844
|
bottom: 0;
|
|
4190
5845
|
left: 0;
|
|
@@ -4203,7 +5858,7 @@ const PresentationSlider = styled__default["default"].div`
|
|
|
4203
5858
|
transition: transform .35s ease;
|
|
4204
5859
|
}
|
|
4205
5860
|
`;
|
|
4206
|
-
const Body =
|
|
5861
|
+
const Body = dt.div`
|
|
4207
5862
|
width: 100%;
|
|
4208
5863
|
${scrollableStyles$8}
|
|
4209
5864
|
position: relative;
|
|
@@ -4214,7 +5869,7 @@ const Body = styled__default["default"].div`
|
|
|
4214
5869
|
border-radius: ${props => props.setBackground ? '12px' : '0'};
|
|
4215
5870
|
box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
|
|
4216
5871
|
`;
|
|
4217
|
-
const Label$4 =
|
|
5872
|
+
const Label$4 = dt.div`
|
|
4218
5873
|
font-size: 12px;
|
|
4219
5874
|
font-weight: 400;
|
|
4220
5875
|
padding: 8px;
|
|
@@ -4229,15 +5884,15 @@ const Label$4 = styled__default["default"].div`
|
|
|
4229
5884
|
font-weight: 400;
|
|
4230
5885
|
}
|
|
4231
5886
|
`;
|
|
4232
|
-
const ActionsWrapper =
|
|
5887
|
+
const ActionsWrapper = dt.div`
|
|
4233
5888
|
display: flex;
|
|
4234
5889
|
align-items: center;
|
|
4235
5890
|
gap: 10px;
|
|
4236
5891
|
width: 100%;
|
|
4237
5892
|
`;
|
|
4238
|
-
const SagIconButtonWrap =
|
|
5893
|
+
const SagIconButtonWrap = dt(SagIconButton)`
|
|
4239
5894
|
`;
|
|
4240
|
-
const SearchInputWrap =
|
|
5895
|
+
const SearchInputWrap = dt(SearchInput)`
|
|
4241
5896
|
margin-left: auto;
|
|
4242
5897
|
`;
|
|
4243
5898
|
|
|
@@ -9085,7 +10740,7 @@ const scrollableStyles$7 = `
|
|
|
9085
10740
|
border-radius: 5px;
|
|
9086
10741
|
}
|
|
9087
10742
|
`;
|
|
9088
|
-
const DropdownWrapper$2 =
|
|
10743
|
+
const DropdownWrapper$2 = dt.div`
|
|
9089
10744
|
position: relative;
|
|
9090
10745
|
display: flex;
|
|
9091
10746
|
flex-direction: column;
|
|
@@ -9098,7 +10753,7 @@ const DropdownWrapper$2 = styled__default["default"].div`
|
|
|
9098
10753
|
font-size: 14px;
|
|
9099
10754
|
border-radius: 10px;
|
|
9100
10755
|
`;
|
|
9101
|
-
const Label$3 =
|
|
10756
|
+
const Label$3 = dt.label`
|
|
9102
10757
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
9103
10758
|
font-weight: 400;
|
|
9104
10759
|
padding-inline-end: 5px;
|
|
@@ -9121,7 +10776,7 @@ const Label$3 = styled__default["default"].label`
|
|
|
9121
10776
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
9122
10777
|
}
|
|
9123
10778
|
`;
|
|
9124
|
-
const InputContainer$6 =
|
|
10779
|
+
const InputContainer$6 = dt.div`
|
|
9125
10780
|
display: flex;
|
|
9126
10781
|
flex-direction: row;
|
|
9127
10782
|
flex-wrap: nowrap;
|
|
@@ -9153,7 +10808,7 @@ const InputContainer$6 = styled__default["default"].div`
|
|
|
9153
10808
|
}
|
|
9154
10809
|
|
|
9155
10810
|
`;
|
|
9156
|
-
const InputSubContainer$3 =
|
|
10811
|
+
const InputSubContainer$3 = dt.div`
|
|
9157
10812
|
display: flex;
|
|
9158
10813
|
flex-direction: column;
|
|
9159
10814
|
flex-wrap: nowrap;
|
|
@@ -9172,7 +10827,7 @@ const InputSubContainer$3 = styled__default["default"].div`
|
|
|
9172
10827
|
outline: none;
|
|
9173
10828
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9174
10829
|
`;
|
|
9175
|
-
const StyledInput$6 =
|
|
10830
|
+
const StyledInput$6 = dt.input`
|
|
9176
10831
|
width: calc(100% - 10px);
|
|
9177
10832
|
height: 20px;
|
|
9178
10833
|
font-family: Poppins;
|
|
@@ -9183,7 +10838,7 @@ const StyledInput$6 = styled__default["default"].input`
|
|
|
9183
10838
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9184
10839
|
border: none;
|
|
9185
10840
|
`;
|
|
9186
|
-
const OptionsContainer$6 =
|
|
10841
|
+
const OptionsContainer$6 = dt.div`
|
|
9187
10842
|
margin: 0;
|
|
9188
10843
|
top: 100%;
|
|
9189
10844
|
left: 0;
|
|
@@ -9192,7 +10847,7 @@ const OptionsContainer$6 = styled__default["default"].div`
|
|
|
9192
10847
|
background-color: #fff;
|
|
9193
10848
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
9194
10849
|
`;
|
|
9195
|
-
const OptionsSubContainer$3 =
|
|
10850
|
+
const OptionsSubContainer$3 = dt.ul`
|
|
9196
10851
|
${scrollableStyles$7}
|
|
9197
10852
|
list-style: none;
|
|
9198
10853
|
font-weight: 400;
|
|
@@ -9211,7 +10866,7 @@ const OptionsSubContainer$3 = styled__default["default"].ul`
|
|
|
9211
10866
|
max-height: 400px;
|
|
9212
10867
|
overflow: auto;
|
|
9213
10868
|
`;
|
|
9214
|
-
const OptionItem$3 =
|
|
10869
|
+
const OptionItem$3 = dt.li`
|
|
9215
10870
|
display: flex;
|
|
9216
10871
|
flex-direction: row;
|
|
9217
10872
|
justify-content: flex-start;
|
|
@@ -9231,12 +10886,12 @@ const OptionItem$3 = styled__default["default"].li`
|
|
|
9231
10886
|
background-color: #EDF6FF;
|
|
9232
10887
|
}
|
|
9233
10888
|
`;
|
|
9234
|
-
const ErrorMessage$3 =
|
|
10889
|
+
const ErrorMessage$3 = dt.div`
|
|
9235
10890
|
font-size: 12px;
|
|
9236
10891
|
color: red;
|
|
9237
10892
|
margin-top: 5px;
|
|
9238
10893
|
`;
|
|
9239
|
-
const IconContainer$4 =
|
|
10894
|
+
const IconContainer$4 = dt.div`
|
|
9240
10895
|
display: flex;
|
|
9241
10896
|
padding: 2px;
|
|
9242
10897
|
cursor: pointer;
|
|
@@ -9554,7 +11209,7 @@ const scrollableStyles$6 = `
|
|
|
9554
11209
|
border-radius: 5px;
|
|
9555
11210
|
}
|
|
9556
11211
|
`;
|
|
9557
|
-
const DropdownWrapper$1 =
|
|
11212
|
+
const DropdownWrapper$1 = dt.div`
|
|
9558
11213
|
position: relative;
|
|
9559
11214
|
display: flex;
|
|
9560
11215
|
flex-direction: column;
|
|
@@ -9567,7 +11222,7 @@ const DropdownWrapper$1 = styled__default["default"].div`
|
|
|
9567
11222
|
font-size: 14px;
|
|
9568
11223
|
border-radius: 10px;
|
|
9569
11224
|
`;
|
|
9570
|
-
const Label$2 =
|
|
11225
|
+
const Label$2 = dt.label`
|
|
9571
11226
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
9572
11227
|
font-weight: 400;
|
|
9573
11228
|
padding-inline-end: 5px;
|
|
@@ -9590,7 +11245,7 @@ const Label$2 = styled__default["default"].label`
|
|
|
9590
11245
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
9591
11246
|
}
|
|
9592
11247
|
`;
|
|
9593
|
-
const InputContainer$5 =
|
|
11248
|
+
const InputContainer$5 = dt.div`
|
|
9594
11249
|
display: flex;
|
|
9595
11250
|
flex-direction: row;
|
|
9596
11251
|
flex-wrap: nowrap;
|
|
@@ -9621,7 +11276,7 @@ const InputContainer$5 = styled__default["default"].div`
|
|
|
9621
11276
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
9622
11277
|
}
|
|
9623
11278
|
`;
|
|
9624
|
-
const InputSubContainer$2 =
|
|
11279
|
+
const InputSubContainer$2 = dt.div`
|
|
9625
11280
|
|
|
9626
11281
|
display: flex;
|
|
9627
11282
|
flex-direction: column;
|
|
@@ -9641,7 +11296,7 @@ const InputSubContainer$2 = styled__default["default"].div`
|
|
|
9641
11296
|
outline: none;
|
|
9642
11297
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9643
11298
|
`;
|
|
9644
|
-
const StyledInput$5 =
|
|
11299
|
+
const StyledInput$5 = dt.input`
|
|
9645
11300
|
width: calc(100% - 20px);
|
|
9646
11301
|
height: 25px;
|
|
9647
11302
|
font-family: Poppins;
|
|
@@ -9652,7 +11307,7 @@ const StyledInput$5 = styled__default["default"].input`
|
|
|
9652
11307
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
9653
11308
|
border: none;
|
|
9654
11309
|
`;
|
|
9655
|
-
const OptionsContainer$5 =
|
|
11310
|
+
const OptionsContainer$5 = dt.div`
|
|
9656
11311
|
margin: 0;
|
|
9657
11312
|
top: 100%;
|
|
9658
11313
|
left: 0;
|
|
@@ -9661,7 +11316,7 @@ const OptionsContainer$5 = styled__default["default"].div`
|
|
|
9661
11316
|
background-color: #fff;
|
|
9662
11317
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
9663
11318
|
`;
|
|
9664
|
-
const OptionsSubContainer$2 =
|
|
11319
|
+
const OptionsSubContainer$2 = dt.ul`
|
|
9665
11320
|
${scrollableStyles$6}
|
|
9666
11321
|
list-style: none;
|
|
9667
11322
|
font-weight: 400;
|
|
@@ -9680,7 +11335,7 @@ const OptionsSubContainer$2 = styled__default["default"].ul`
|
|
|
9680
11335
|
max-height: 400px;
|
|
9681
11336
|
overflow: auto;
|
|
9682
11337
|
`;
|
|
9683
|
-
const OptionItem$2 =
|
|
11338
|
+
const OptionItem$2 = dt.li`
|
|
9684
11339
|
display: flex;
|
|
9685
11340
|
flex-direction: row;
|
|
9686
11341
|
justify-content: flex-start;
|
|
@@ -9699,12 +11354,12 @@ const OptionItem$2 = styled__default["default"].li`
|
|
|
9699
11354
|
background-color: #EDF6FF;
|
|
9700
11355
|
}
|
|
9701
11356
|
`;
|
|
9702
|
-
const ErrorMessage$2 =
|
|
11357
|
+
const ErrorMessage$2 = dt.div`
|
|
9703
11358
|
font-size: 12px;
|
|
9704
11359
|
color: red;
|
|
9705
11360
|
margin-top: 5px;
|
|
9706
11361
|
`;
|
|
9707
|
-
const SelectedOptionsContainer$1 =
|
|
11362
|
+
const SelectedOptionsContainer$1 = dt.div`
|
|
9708
11363
|
display: flex;
|
|
9709
11364
|
flex-direction: row;
|
|
9710
11365
|
flex-wrap: nowrap;
|
|
@@ -9720,7 +11375,7 @@ const SelectedOptionsContainer$1 = styled__default["default"].div`
|
|
|
9720
11375
|
background-color: #fff;
|
|
9721
11376
|
gap: 4px;
|
|
9722
11377
|
`;
|
|
9723
|
-
const SelectedOptionItem$1 =
|
|
11378
|
+
const SelectedOptionItem$1 = dt.div`
|
|
9724
11379
|
display: flex;
|
|
9725
11380
|
margin: 0;
|
|
9726
11381
|
flex-wrap: nowrap;
|
|
@@ -9734,7 +11389,7 @@ const SelectedOptionItem$1 = styled__default["default"].div`
|
|
|
9734
11389
|
padding: 4px 6px;
|
|
9735
11390
|
font-size: 12px;
|
|
9736
11391
|
`;
|
|
9737
|
-
const IconContainer$3 =
|
|
11392
|
+
const IconContainer$3 = dt.div`
|
|
9738
11393
|
display: flex;
|
|
9739
11394
|
padding: 2px;
|
|
9740
11395
|
cursor: pointer;
|
|
@@ -10031,7 +11686,7 @@ DropdownMultiNew.defaultProps = {
|
|
|
10031
11686
|
elementType: "number"
|
|
10032
11687
|
};
|
|
10033
11688
|
|
|
10034
|
-
const DropdownMain =
|
|
11689
|
+
const DropdownMain = dt.div`
|
|
10035
11690
|
position: relative;
|
|
10036
11691
|
display: flex;
|
|
10037
11692
|
flex-direction: column;
|
|
@@ -10046,67 +11701,70 @@ const DropdownMain = styled__default["default"].div`
|
|
|
10046
11701
|
`;
|
|
10047
11702
|
|
|
10048
11703
|
/* eslint-disable react/prop-types */
|
|
10049
|
-
const DropdownNew =
|
|
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
|
-
|
|
10100
|
-
|
|
10101
|
-
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
11704
|
+
const DropdownNew = _ref => {
|
|
11705
|
+
let {
|
|
11706
|
+
isMulti,
|
|
11707
|
+
label,
|
|
11708
|
+
labelEmptyValue,
|
|
11709
|
+
options,
|
|
11710
|
+
selectedValue,
|
|
11711
|
+
placeHolder,
|
|
11712
|
+
onChange,
|
|
11713
|
+
required,
|
|
11714
|
+
disabled,
|
|
11715
|
+
width,
|
|
11716
|
+
error,
|
|
11717
|
+
errorMessage,
|
|
11718
|
+
labelColor,
|
|
11719
|
+
checkBoxColor,
|
|
11720
|
+
xIconShow,
|
|
11721
|
+
showLabelOnTop,
|
|
11722
|
+
orderBy,
|
|
11723
|
+
elementType
|
|
11724
|
+
} = _ref;
|
|
11725
|
+
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
11726
|
+
className: "DropdownMain",
|
|
11727
|
+
width: width
|
|
11728
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
11729
|
+
className: "DropdownMultiNew",
|
|
11730
|
+
placeHolder: placeHolder,
|
|
11731
|
+
label: label,
|
|
11732
|
+
labelEmptyValue: labelEmptyValue,
|
|
11733
|
+
labelColor: labelColor,
|
|
11734
|
+
checkBoxColor: checkBoxColor,
|
|
11735
|
+
required: required,
|
|
11736
|
+
options: options,
|
|
11737
|
+
width: width,
|
|
11738
|
+
disabled: disabled,
|
|
11739
|
+
error: error,
|
|
11740
|
+
errorMessage: errorMessage,
|
|
11741
|
+
selectedValue: selectedValue,
|
|
11742
|
+
xIconShow: xIconShow,
|
|
11743
|
+
onChange: onChange,
|
|
11744
|
+
showLabelOnTop: showLabelOnTop,
|
|
11745
|
+
orderBy: orderBy,
|
|
11746
|
+
elementType: elementType
|
|
11747
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
11748
|
+
className: "DropdownSingleNew",
|
|
11749
|
+
placeHolder: placeHolder,
|
|
11750
|
+
label: label,
|
|
11751
|
+
labelEmptyValue: labelEmptyValue,
|
|
11752
|
+
labelColor: labelColor,
|
|
11753
|
+
checkBoxColor: checkBoxColor,
|
|
11754
|
+
required: required,
|
|
11755
|
+
options: options,
|
|
11756
|
+
width: width,
|
|
11757
|
+
disabled: disabled,
|
|
11758
|
+
error: error,
|
|
11759
|
+
errorMessage: errorMessage,
|
|
11760
|
+
selectedValue: selectedValue,
|
|
11761
|
+
xIconShow: xIconShow,
|
|
11762
|
+
onChange: onChange,
|
|
11763
|
+
showLabelOnTop: showLabelOnTop,
|
|
11764
|
+
orderBy: orderBy,
|
|
11765
|
+
elementType: elementType
|
|
11766
|
+
}));
|
|
11767
|
+
};
|
|
10110
11768
|
DropdownNew.propTypes = {
|
|
10111
11769
|
placeHolder: PropTypes.string,
|
|
10112
11770
|
label: PropTypes.string,
|
|
@@ -10179,13 +11837,13 @@ const CalendarInOpen = () => /*#__PURE__*/React__default["default"].createElemen
|
|
|
10179
11837
|
}));
|
|
10180
11838
|
|
|
10181
11839
|
/* eslint-disable no-nested-ternary */
|
|
10182
|
-
const RangePickerContainer =
|
|
11840
|
+
const RangePickerContainer = dt.div`
|
|
10183
11841
|
position: relative;
|
|
10184
11842
|
margin-bottom: 10px;
|
|
10185
11843
|
width: ${props => props.width || '100%'};
|
|
10186
11844
|
height: ${props => props.height || '60px'};
|
|
10187
11845
|
`;
|
|
10188
|
-
const CalendarDiv$2 =
|
|
11846
|
+
const CalendarDiv$2 = dt.div`
|
|
10189
11847
|
position: absolute;
|
|
10190
11848
|
width: 11px;
|
|
10191
11849
|
height: 11px;
|
|
@@ -10197,7 +11855,7 @@ const CalendarDiv$2 = styled__default["default"].div`
|
|
|
10197
11855
|
}
|
|
10198
11856
|
|
|
10199
11857
|
`;
|
|
10200
|
-
const InputContainer$4 =
|
|
11858
|
+
const InputContainer$4 = dt.div`
|
|
10201
11859
|
display: flex;
|
|
10202
11860
|
flex-direction: row;
|
|
10203
11861
|
flex-wrap: nowrap;
|
|
@@ -10227,7 +11885,7 @@ const InputContainer$4 = styled__default["default"].div`
|
|
|
10227
11885
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10228
11886
|
}
|
|
10229
11887
|
`;
|
|
10230
|
-
const StyledInput$4 =
|
|
11888
|
+
const StyledInput$4 = dt.input`
|
|
10231
11889
|
padding: 20px;
|
|
10232
11890
|
font-size: 14px;
|
|
10233
11891
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10244,7 +11902,7 @@ const StyledInput$4 = styled__default["default"].input`
|
|
|
10244
11902
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10245
11903
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10246
11904
|
`;
|
|
10247
|
-
const StyledLabel$2 =
|
|
11905
|
+
const StyledLabel$2 = dt.label`
|
|
10248
11906
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10249
11907
|
padding-inline-end: 5px;
|
|
10250
11908
|
padding-inline-start: 5px;
|
|
@@ -10264,16 +11922,16 @@ const StyledLabel$2 = styled__default["default"].label`
|
|
|
10264
11922
|
box-sizing: border-box;
|
|
10265
11923
|
cursor: pointer;
|
|
10266
11924
|
`;
|
|
10267
|
-
const RequiredIndicator$2 =
|
|
11925
|
+
const RequiredIndicator$2 = dt.span`
|
|
10268
11926
|
color: red;
|
|
10269
11927
|
margin-left: 5px;
|
|
10270
11928
|
`;
|
|
10271
|
-
|
|
11929
|
+
dt.div`
|
|
10272
11930
|
font-size: 12px;
|
|
10273
11931
|
color: red;
|
|
10274
11932
|
margin-top: 5px;
|
|
10275
11933
|
`;
|
|
10276
|
-
const OptionsContainer$4 =
|
|
11934
|
+
const OptionsContainer$4 = dt.div`
|
|
10277
11935
|
display: block;
|
|
10278
11936
|
margin: 0;
|
|
10279
11937
|
padding-top: 8px;
|
|
@@ -10304,10 +11962,10 @@ const ChervronLeftIcon = () => /*#__PURE__*/React__default["default"].createElem
|
|
|
10304
11962
|
/* eslint-disable react/prop-types */
|
|
10305
11963
|
|
|
10306
11964
|
// Styled components for the date picker
|
|
10307
|
-
const DatePickerContainer$3 =
|
|
11965
|
+
const DatePickerContainer$3 = dt.div`
|
|
10308
11966
|
position: relative;
|
|
10309
11967
|
`;
|
|
10310
|
-
const DatePickerPopup$2 =
|
|
11968
|
+
const DatePickerPopup$2 = dt.div`
|
|
10311
11969
|
position: absolute;
|
|
10312
11970
|
width: 320px;
|
|
10313
11971
|
height: 410px;
|
|
@@ -10320,18 +11978,18 @@ const DatePickerPopup$2 = styled__default["default"].div`
|
|
|
10320
11978
|
padding: 10px;
|
|
10321
11979
|
z-index: 1000;
|
|
10322
11980
|
`;
|
|
10323
|
-
const DatePickerHeader$2 =
|
|
11981
|
+
const DatePickerHeader$2 = dt.div`
|
|
10324
11982
|
display: flex;
|
|
10325
11983
|
justify-content: space-between;
|
|
10326
11984
|
margin-bottom: 10px;
|
|
10327
11985
|
`;
|
|
10328
|
-
const DatePickerFooter =
|
|
11986
|
+
const DatePickerFooter = dt.div`
|
|
10329
11987
|
display: flex;
|
|
10330
11988
|
justify-content: end;
|
|
10331
11989
|
margin-inline-end: 10px;
|
|
10332
11990
|
margin-top: 10px;
|
|
10333
11991
|
`;
|
|
10334
|
-
const ClearButton =
|
|
11992
|
+
const ClearButton = dt.button`
|
|
10335
11993
|
color: #568202;
|
|
10336
11994
|
text-align: center;
|
|
10337
11995
|
font-family: Poppins;
|
|
@@ -10343,14 +12001,14 @@ const ClearButton = styled__default["default"].button`
|
|
|
10343
12001
|
line-height: normal;
|
|
10344
12002
|
text-transform: uppercase;
|
|
10345
12003
|
`;
|
|
10346
|
-
const NavDiv =
|
|
12004
|
+
const NavDiv = dt.div`
|
|
10347
12005
|
width: 80px;
|
|
10348
12006
|
height: 30px;
|
|
10349
12007
|
display: flex;
|
|
10350
12008
|
padding: 5px;
|
|
10351
12009
|
justify-content: space-around;
|
|
10352
12010
|
`;
|
|
10353
|
-
const DatePickerSelect$2 =
|
|
12011
|
+
const DatePickerSelect$2 = dt.div`
|
|
10354
12012
|
padding: 4px;
|
|
10355
12013
|
border-radius: 4px;
|
|
10356
12014
|
border: none;
|
|
@@ -10360,14 +12018,14 @@ const DatePickerSelect$2 = styled__default["default"].div`
|
|
|
10360
12018
|
font-weight: 400;
|
|
10361
12019
|
cursor: pointer;
|
|
10362
12020
|
`;
|
|
10363
|
-
const DatePickerCalendar$2 =
|
|
12021
|
+
const DatePickerCalendar$2 = dt.div`
|
|
10364
12022
|
display: grid;
|
|
10365
12023
|
width: 260px;
|
|
10366
12024
|
height: 330px;
|
|
10367
12025
|
row-gap: 12px;
|
|
10368
12026
|
grid-template-columns: repeat(7, 1fr);
|
|
10369
12027
|
`;
|
|
10370
|
-
const DateCell$2 =
|
|
12028
|
+
const DateCell$2 = dt.div`
|
|
10371
12029
|
width: 100%;
|
|
10372
12030
|
aspect-ratio: 1 / 1;
|
|
10373
12031
|
/* height: 32px; */
|
|
@@ -10520,20 +12178,21 @@ const DatePicker = ({
|
|
|
10520
12178
|
};
|
|
10521
12179
|
|
|
10522
12180
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10523
|
-
const RangePicker =
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
10527
|
-
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
12181
|
+
const RangePicker = _ref => {
|
|
12182
|
+
let {
|
|
12183
|
+
label,
|
|
12184
|
+
onChange,
|
|
12185
|
+
borderRadius,
|
|
12186
|
+
required,
|
|
12187
|
+
width,
|
|
12188
|
+
height,
|
|
12189
|
+
placeholder,
|
|
12190
|
+
disabled,
|
|
12191
|
+
borderColor,
|
|
12192
|
+
borderColorFocus,
|
|
12193
|
+
textColor,
|
|
12194
|
+
selectedValue
|
|
12195
|
+
} = _ref;
|
|
10537
12196
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
10538
12197
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
10539
12198
|
const [value, setValue] = React.useState(''); // Added value state
|
|
@@ -10697,20 +12356,20 @@ RangePicker.defaultProps = {
|
|
|
10697
12356
|
};
|
|
10698
12357
|
|
|
10699
12358
|
/* eslint-disable no-nested-ternary */
|
|
10700
|
-
const QuarterPickerContainer =
|
|
12359
|
+
const QuarterPickerContainer = dt.div`
|
|
10701
12360
|
position: relative;
|
|
10702
12361
|
margin-bottom: 10px;
|
|
10703
12362
|
width: ${props => props.width || '100%'};
|
|
10704
12363
|
height: ${props => props.height || '60px'};
|
|
10705
12364
|
`;
|
|
10706
|
-
const CalendarDiv$1 =
|
|
12365
|
+
const CalendarDiv$1 = dt.div`
|
|
10707
12366
|
position: absolute;
|
|
10708
12367
|
width: 11px;
|
|
10709
12368
|
height: 11px;
|
|
10710
12369
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
10711
12370
|
right: 25px;
|
|
10712
12371
|
`;
|
|
10713
|
-
const InputContainer$3 =
|
|
12372
|
+
const InputContainer$3 = dt.div`
|
|
10714
12373
|
display: flex;
|
|
10715
12374
|
flex-direction: row;
|
|
10716
12375
|
flex-wrap: nowrap;
|
|
@@ -10740,7 +12399,7 @@ const InputContainer$3 = styled__default["default"].div`
|
|
|
10740
12399
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
10741
12400
|
}
|
|
10742
12401
|
`;
|
|
10743
|
-
const StyledInput$3 =
|
|
12402
|
+
const StyledInput$3 = dt.input`
|
|
10744
12403
|
padding: 20px;
|
|
10745
12404
|
font-size: 14px;
|
|
10746
12405
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -10757,7 +12416,7 @@ const StyledInput$3 = styled__default["default"].input`
|
|
|
10757
12416
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
10758
12417
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
10759
12418
|
`;
|
|
10760
|
-
const StyledLabel$1 =
|
|
12419
|
+
const StyledLabel$1 = dt.label`
|
|
10761
12420
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
10762
12421
|
padding-inline-end: 5px;
|
|
10763
12422
|
padding-inline-start: 5px;
|
|
@@ -10777,16 +12436,16 @@ const StyledLabel$1 = styled__default["default"].label`
|
|
|
10777
12436
|
box-sizing: border-box;
|
|
10778
12437
|
cursor: pointer;
|
|
10779
12438
|
`;
|
|
10780
|
-
const RequiredIndicator$1 =
|
|
12439
|
+
const RequiredIndicator$1 = dt.span`
|
|
10781
12440
|
color: red;
|
|
10782
12441
|
margin-left: 5px;
|
|
10783
12442
|
`;
|
|
10784
|
-
|
|
12443
|
+
dt.div`
|
|
10785
12444
|
font-size: 12px;
|
|
10786
12445
|
color: red;
|
|
10787
12446
|
margin-top: 5px;
|
|
10788
12447
|
`;
|
|
10789
|
-
const OptionsContainer$3 =
|
|
12448
|
+
const OptionsContainer$3 = dt.div`
|
|
10790
12449
|
display: block;
|
|
10791
12450
|
margin: 0;
|
|
10792
12451
|
padding-top: 8px;
|
|
@@ -10797,10 +12456,10 @@ const OptionsContainer$3 = styled__default["default"].div`
|
|
|
10797
12456
|
// import ChervronLeftIcon from './icons/ChervronLeftIcon';
|
|
10798
12457
|
|
|
10799
12458
|
// Styled components for the date picker
|
|
10800
|
-
const DatePickerContainer$2 =
|
|
12459
|
+
const DatePickerContainer$2 = dt.div`
|
|
10801
12460
|
position: relative;
|
|
10802
12461
|
`;
|
|
10803
|
-
const DatePickerPopup$1 =
|
|
12462
|
+
const DatePickerPopup$1 = dt.div`
|
|
10804
12463
|
position: absolute;
|
|
10805
12464
|
width: auto;
|
|
10806
12465
|
// margin: 5px;
|
|
@@ -10814,7 +12473,7 @@ const DatePickerPopup$1 = styled__default["default"].div`
|
|
|
10814
12473
|
padding: 10px;
|
|
10815
12474
|
z-index: 1000;
|
|
10816
12475
|
`;
|
|
10817
|
-
const DatePickerHeader$1 =
|
|
12476
|
+
const DatePickerHeader$1 = dt.div`
|
|
10818
12477
|
display: flex;
|
|
10819
12478
|
justify-content: space-between;
|
|
10820
12479
|
margin-bottom: 10px;
|
|
@@ -10828,7 +12487,7 @@ const DatePickerHeader$1 = styled__default["default"].div`
|
|
|
10828
12487
|
// justify-content: space-around;
|
|
10829
12488
|
// `;
|
|
10830
12489
|
|
|
10831
|
-
const DatePickerSelect$1 =
|
|
12490
|
+
const DatePickerSelect$1 = dt.select`
|
|
10832
12491
|
padding: 4px;
|
|
10833
12492
|
border: none;
|
|
10834
12493
|
font-family: Poppins;
|
|
@@ -10841,7 +12500,7 @@ const DatePickerSelect$1 = styled__default["default"].select`
|
|
|
10841
12500
|
border: none;
|
|
10842
12501
|
}
|
|
10843
12502
|
`;
|
|
10844
|
-
const DatePickerCalendar$1 =
|
|
12503
|
+
const DatePickerCalendar$1 = dt.div`
|
|
10845
12504
|
display: grid;
|
|
10846
12505
|
width: 220px;
|
|
10847
12506
|
height: 150px;
|
|
@@ -10851,7 +12510,7 @@ const DatePickerCalendar$1 = styled__default["default"].div`
|
|
|
10851
12510
|
grid-template-columns: repeat(4, 1fr);
|
|
10852
12511
|
grid-template-rows: repeat(4, 1fr);
|
|
10853
12512
|
`;
|
|
10854
|
-
const DateCell$1 =
|
|
12513
|
+
const DateCell$1 = dt.div`
|
|
10855
12514
|
width: 100%;
|
|
10856
12515
|
aspect-ratio: 1 / 1;
|
|
10857
12516
|
/* height: 32px; */
|
|
@@ -10965,22 +12624,23 @@ const QuarterPopupPicker = ({
|
|
|
10965
12624
|
};
|
|
10966
12625
|
|
|
10967
12626
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10968
|
-
const QuarterPicker =
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
12627
|
+
const QuarterPicker = _ref => {
|
|
12628
|
+
let {
|
|
12629
|
+
availableQuarters,
|
|
12630
|
+
// ["Q1-2024"]
|
|
12631
|
+
label,
|
|
12632
|
+
onChange,
|
|
12633
|
+
borderRadius,
|
|
12634
|
+
required,
|
|
12635
|
+
width,
|
|
12636
|
+
height,
|
|
12637
|
+
placeholder,
|
|
12638
|
+
disabled,
|
|
12639
|
+
borderColor,
|
|
12640
|
+
borderColorFocus,
|
|
12641
|
+
textColor,
|
|
12642
|
+
selectedValue
|
|
12643
|
+
} = _ref;
|
|
10984
12644
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
10985
12645
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
10986
12646
|
const [value, setValue] = React.useState('');
|
|
@@ -11129,20 +12789,20 @@ QuarterPicker.defaultProps = {
|
|
|
11129
12789
|
};
|
|
11130
12790
|
|
|
11131
12791
|
/* eslint-disable no-nested-ternary */
|
|
11132
|
-
const MonthPickerContainer =
|
|
12792
|
+
const MonthPickerContainer = dt.div`
|
|
11133
12793
|
position: relative;
|
|
11134
12794
|
margin-bottom: 10px;
|
|
11135
12795
|
width: ${props => props.width || '100%'};
|
|
11136
12796
|
height: ${props => props.height || '60px'};
|
|
11137
12797
|
`;
|
|
11138
|
-
const CalendarDiv =
|
|
12798
|
+
const CalendarDiv = dt.div`
|
|
11139
12799
|
position: absolute;
|
|
11140
12800
|
width: 11px;
|
|
11141
12801
|
height: 11px;
|
|
11142
12802
|
top: ${props => parseInt(props.height, 10) / 2 || '20px'};
|
|
11143
12803
|
right: 25px;
|
|
11144
12804
|
`;
|
|
11145
|
-
const InputContainer$2 =
|
|
12805
|
+
const InputContainer$2 = dt.div`
|
|
11146
12806
|
display: flex;
|
|
11147
12807
|
flex-direction: row;
|
|
11148
12808
|
flex-wrap: nowrap;
|
|
@@ -11172,7 +12832,7 @@ const InputContainer$2 = styled__default["default"].div`
|
|
|
11172
12832
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
|
|
11173
12833
|
}
|
|
11174
12834
|
`;
|
|
11175
|
-
const StyledInput$2 =
|
|
12835
|
+
const StyledInput$2 = dt.input`
|
|
11176
12836
|
padding: 20px;
|
|
11177
12837
|
font-size: 14px;
|
|
11178
12838
|
border-radius: ${props => props.borderRadius || '4px'};
|
|
@@ -11190,7 +12850,7 @@ const StyledInput$2 = styled__default["default"].input`
|
|
|
11190
12850
|
color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
|
|
11191
12851
|
cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
|
|
11192
12852
|
`;
|
|
11193
|
-
const StyledLabel =
|
|
12853
|
+
const StyledLabel = dt.label`
|
|
11194
12854
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
11195
12855
|
padding-inline-end: 5px;
|
|
11196
12856
|
padding-inline-start: 5px;
|
|
@@ -11210,16 +12870,16 @@ const StyledLabel = styled__default["default"].label`
|
|
|
11210
12870
|
box-sizing: border-box;
|
|
11211
12871
|
cursor: pointer;
|
|
11212
12872
|
`;
|
|
11213
|
-
const RequiredIndicator =
|
|
12873
|
+
const RequiredIndicator = dt.span`
|
|
11214
12874
|
color: red;
|
|
11215
12875
|
margin-left: 5px;
|
|
11216
12876
|
`;
|
|
11217
|
-
|
|
12877
|
+
dt.div`
|
|
11218
12878
|
font-size: 12px;
|
|
11219
12879
|
color: red;
|
|
11220
12880
|
margin-top: 5px;
|
|
11221
12881
|
`;
|
|
11222
|
-
const OptionsContainer$2 =
|
|
12882
|
+
const OptionsContainer$2 = dt.div`
|
|
11223
12883
|
display: block;
|
|
11224
12884
|
margin: 0;
|
|
11225
12885
|
padding-top: 8px;
|
|
@@ -11228,10 +12888,10 @@ const OptionsContainer$2 = styled__default["default"].div`
|
|
|
11228
12888
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
11229
12889
|
|
|
11230
12890
|
// Styled components for the date picker
|
|
11231
|
-
const DatePickerContainer$1 =
|
|
12891
|
+
const DatePickerContainer$1 = dt.div`
|
|
11232
12892
|
position: relative;
|
|
11233
12893
|
`;
|
|
11234
|
-
const DatePickerPopup =
|
|
12894
|
+
const DatePickerPopup = dt.div`
|
|
11235
12895
|
position: absolute;
|
|
11236
12896
|
width: auto;
|
|
11237
12897
|
// margin: 5px;
|
|
@@ -11245,19 +12905,19 @@ const DatePickerPopup = styled__default["default"].div`
|
|
|
11245
12905
|
padding: 10px;
|
|
11246
12906
|
z-index: 1000;
|
|
11247
12907
|
`;
|
|
11248
|
-
const DatePickerHeader =
|
|
12908
|
+
const DatePickerHeader = dt.div`
|
|
11249
12909
|
display: flex;
|
|
11250
12910
|
justify-content: space-between;
|
|
11251
12911
|
margin-bottom: 10px;
|
|
11252
12912
|
`;
|
|
11253
|
-
|
|
12913
|
+
dt.div`
|
|
11254
12914
|
width: 80px;
|
|
11255
12915
|
height: 30px;
|
|
11256
12916
|
display: flex;
|
|
11257
12917
|
padding: 5px;
|
|
11258
12918
|
justify-content: space-around;
|
|
11259
12919
|
`;
|
|
11260
|
-
const DatePickerSelect =
|
|
12920
|
+
const DatePickerSelect = dt.select`
|
|
11261
12921
|
padding: 4px;
|
|
11262
12922
|
border: none;
|
|
11263
12923
|
font-family: Poppins;
|
|
@@ -11270,7 +12930,7 @@ const DatePickerSelect = styled__default["default"].select`
|
|
|
11270
12930
|
border: none;
|
|
11271
12931
|
}
|
|
11272
12932
|
`;
|
|
11273
|
-
const DatePickerCalendar =
|
|
12933
|
+
const DatePickerCalendar = dt.div`
|
|
11274
12934
|
display: grid;
|
|
11275
12935
|
width: 220px;
|
|
11276
12936
|
height: 150px;
|
|
@@ -11280,7 +12940,7 @@ const DatePickerCalendar = styled__default["default"].div`
|
|
|
11280
12940
|
grid-template-columns: repeat(4, 1fr);
|
|
11281
12941
|
grid-template-rows: repeat(4, 1fr);
|
|
11282
12942
|
`;
|
|
11283
|
-
const DateCell =
|
|
12943
|
+
const DateCell = dt.div`
|
|
11284
12944
|
width: 100%;
|
|
11285
12945
|
aspect-ratio: 1 / 1;
|
|
11286
12946
|
/* height: 32px; */
|
|
@@ -11419,21 +13079,22 @@ const MonthPopupPicker = ({
|
|
|
11419
13079
|
};
|
|
11420
13080
|
|
|
11421
13081
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11422
|
-
const MonthPicker =
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
|
|
11428
|
-
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
13082
|
+
const MonthPicker = _ref => {
|
|
13083
|
+
let {
|
|
13084
|
+
availableMonths,
|
|
13085
|
+
label,
|
|
13086
|
+
onChange,
|
|
13087
|
+
borderRadius,
|
|
13088
|
+
required,
|
|
13089
|
+
width,
|
|
13090
|
+
height,
|
|
13091
|
+
placeholder,
|
|
13092
|
+
disabled,
|
|
13093
|
+
borderColor,
|
|
13094
|
+
borderColorFocus,
|
|
13095
|
+
textColor,
|
|
13096
|
+
selectedValue
|
|
13097
|
+
} = _ref;
|
|
11437
13098
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
11438
13099
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
11439
13100
|
const [value, setValue] = React.useState('');
|
|
@@ -11586,7 +13247,7 @@ MonthPicker.defaultProps = {
|
|
|
11586
13247
|
selectedValue: ''
|
|
11587
13248
|
};
|
|
11588
13249
|
|
|
11589
|
-
const ControlsContainer$7 =
|
|
13250
|
+
const ControlsContainer$7 = dt.div`
|
|
11590
13251
|
display: flex;
|
|
11591
13252
|
flex-direction: column;
|
|
11592
13253
|
justify-content: space-between;
|
|
@@ -11601,37 +13262,37 @@ const ControlsContainer$7 = styled__default["default"].div`
|
|
|
11601
13262
|
box-shadow: ${props => props.showShadow ? '0px 0px 20px 0px rgba(0, 0, 0, 0.2)' : ''};
|
|
11602
13263
|
box-sizing: border-box;
|
|
11603
13264
|
`;
|
|
11604
|
-
const ButtonsContainer =
|
|
13265
|
+
const ButtonsContainer = dt.div`
|
|
11605
13266
|
display: flex;
|
|
11606
13267
|
gap: 10px;
|
|
11607
13268
|
flex-direction: row-reverse;
|
|
11608
13269
|
`;
|
|
11609
|
-
const AllFieldsContainer =
|
|
13270
|
+
const AllFieldsContainer = dt.div`
|
|
11610
13271
|
display: flex;
|
|
11611
13272
|
justify-content: space-between;
|
|
11612
13273
|
align-items: flex-start;
|
|
11613
13274
|
flex-wrap: wrap;
|
|
11614
13275
|
width: 100%;
|
|
11615
13276
|
`;
|
|
11616
|
-
const FieldsContainer =
|
|
13277
|
+
const FieldsContainer = dt.div`
|
|
11617
13278
|
display: flex;
|
|
11618
13279
|
flex-direction: column;
|
|
11619
13280
|
white-space: wrap;
|
|
11620
13281
|
gap: 20px;
|
|
11621
13282
|
width: 100%;
|
|
11622
13283
|
`;
|
|
11623
|
-
const FieldContainer =
|
|
13284
|
+
const FieldContainer = dt.div`
|
|
11624
13285
|
margin: 0;
|
|
11625
13286
|
`;
|
|
11626
|
-
const DatePickerContainer =
|
|
13287
|
+
const DatePickerContainer = dt.div`
|
|
11627
13288
|
margin: 0;
|
|
11628
13289
|
`;
|
|
11629
|
-
const PeriodPickerContainer =
|
|
13290
|
+
const PeriodPickerContainer = dt.div`
|
|
11630
13291
|
display: flex;
|
|
11631
13292
|
flex-direction: column;
|
|
11632
13293
|
gap: 20px;
|
|
11633
13294
|
`;
|
|
11634
|
-
const PeriodPickerEmptyContainer =
|
|
13295
|
+
const PeriodPickerEmptyContainer = dt.div`
|
|
11635
13296
|
display: flex;
|
|
11636
13297
|
align-content: center;
|
|
11637
13298
|
justify-content: flex-start;
|
|
@@ -11645,7 +13306,7 @@ const PeriodPickerEmptyContainer = styled__default["default"].div`
|
|
|
11645
13306
|
cursor: pointer;
|
|
11646
13307
|
}
|
|
11647
13308
|
`;
|
|
11648
|
-
const PeriodPickerEmptyText =
|
|
13309
|
+
const PeriodPickerEmptyText = dt.div`
|
|
11649
13310
|
margin: 0 20px;
|
|
11650
13311
|
font-family: "Poppins", sans-serif;
|
|
11651
13312
|
font-weight: 400;
|
|
@@ -11653,7 +13314,7 @@ const PeriodPickerEmptyText = styled__default["default"].div`
|
|
|
11653
13314
|
color: #8B8989;
|
|
11654
13315
|
user-select: none;
|
|
11655
13316
|
`;
|
|
11656
|
-
const TooltipTextContainer =
|
|
13317
|
+
const TooltipTextContainer = dt.div`
|
|
11657
13318
|
margin: 5px;
|
|
11658
13319
|
font-family: "Poppins", sans-serif;
|
|
11659
13320
|
font-weight: 400;
|
|
@@ -11664,7 +13325,7 @@ const TooltipTextContainer = styled__default["default"].div`
|
|
|
11664
13325
|
cursor: pointer;
|
|
11665
13326
|
}
|
|
11666
13327
|
`;
|
|
11667
|
-
const TooltipText =
|
|
13328
|
+
const TooltipText = dt.div`
|
|
11668
13329
|
margin: 0;
|
|
11669
13330
|
`;
|
|
11670
13331
|
|
|
@@ -12344,7 +14005,7 @@ const scrollableStyles$5 = `
|
|
|
12344
14005
|
border-radius: 5px;
|
|
12345
14006
|
}
|
|
12346
14007
|
`;
|
|
12347
|
-
const rotation$1 =
|
|
14008
|
+
const rotation$1 = mt`
|
|
12348
14009
|
0%, 100% {
|
|
12349
14010
|
box-shadow:
|
|
12350
14011
|
0px -8.32px 0px 0px #1F7677,
|
|
@@ -12441,9 +14102,9 @@ const rotation$1 = styled.keyframes`
|
|
|
12441
14102
|
-5.76px -5.76px 0 0px #1F7677;
|
|
12442
14103
|
}
|
|
12443
14104
|
`;
|
|
12444
|
-
const ReportTableWrapper =
|
|
14105
|
+
const ReportTableWrapper = dt.div`
|
|
12445
14106
|
`;
|
|
12446
|
-
const PaginationContainer =
|
|
14107
|
+
const PaginationContainer = dt.div`
|
|
12447
14108
|
display: flex;
|
|
12448
14109
|
justify-content: center;
|
|
12449
14110
|
align-items: center;
|
|
@@ -12500,7 +14161,7 @@ const PaginationContainer = styled__default["default"].div`
|
|
|
12500
14161
|
cursor: default;
|
|
12501
14162
|
}
|
|
12502
14163
|
`;
|
|
12503
|
-
const TooltipWrapper$1 =
|
|
14164
|
+
const TooltipWrapper$1 = dt.div`
|
|
12504
14165
|
width: max-content;
|
|
12505
14166
|
max-width: 330px;
|
|
12506
14167
|
/* white-space: wrap; */
|
|
@@ -12511,7 +14172,7 @@ const TooltipWrapper$1 = styled__default["default"].div`
|
|
|
12511
14172
|
word-wrap: break-word;
|
|
12512
14173
|
white-space: normal;
|
|
12513
14174
|
`;
|
|
12514
|
-
const RecordDisplay =
|
|
14175
|
+
const RecordDisplay = dt.div`
|
|
12515
14176
|
color: #8b8989;
|
|
12516
14177
|
font-size: 14px;
|
|
12517
14178
|
font-weight: 400;
|
|
@@ -12519,12 +14180,12 @@ const RecordDisplay = styled__default["default"].div`
|
|
|
12519
14180
|
margin-left: 20px;
|
|
12520
14181
|
position: absolute;
|
|
12521
14182
|
`;
|
|
12522
|
-
const PaginationWrapper =
|
|
14183
|
+
const PaginationWrapper = dt.div`
|
|
12523
14184
|
display: flex;
|
|
12524
14185
|
align-items: center;
|
|
12525
14186
|
justify-content: space-between;
|
|
12526
14187
|
`;
|
|
12527
|
-
const LoaderWrapper$1 =
|
|
14188
|
+
const LoaderWrapper$1 = dt.div`
|
|
12528
14189
|
position: absolute;
|
|
12529
14190
|
top: 40%;
|
|
12530
14191
|
left: 50%;
|
|
@@ -12544,7 +14205,7 @@ const LoaderWrapper$1 = styled__default["default"].div`
|
|
|
12544
14205
|
font-size: 12px;
|
|
12545
14206
|
}
|
|
12546
14207
|
`;
|
|
12547
|
-
const Loader$1 =
|
|
14208
|
+
const Loader$1 = dt.span`
|
|
12548
14209
|
font-size: 10px;
|
|
12549
14210
|
width: 4px;
|
|
12550
14211
|
height: 4px;
|
|
@@ -12554,7 +14215,7 @@ const Loader$1 = styled__default["default"].span`
|
|
|
12554
14215
|
animation: ${rotation$1} 1.5s infinite ease;
|
|
12555
14216
|
transform: translateZ(0);
|
|
12556
14217
|
`;
|
|
12557
|
-
const TableWrapper =
|
|
14218
|
+
const TableWrapper = dt.div`
|
|
12558
14219
|
position: relative;
|
|
12559
14220
|
width: ${props => `${props.width}`};
|
|
12560
14221
|
height: ${props => `${props.height}`};
|
|
@@ -12564,7 +14225,7 @@ const TableWrapper = styled__default["default"].div`
|
|
|
12564
14225
|
overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
|
|
12565
14226
|
${scrollableStyles$5}
|
|
12566
14227
|
`;
|
|
12567
|
-
const Table =
|
|
14228
|
+
const Table = dt.table`
|
|
12568
14229
|
font-family: "Poppins", sans-serif;
|
|
12569
14230
|
width: ${props => `${props.tableWidthSize}%`};
|
|
12570
14231
|
table-layout: fixed;
|
|
@@ -12578,7 +14239,7 @@ const Table = styled__default["default"].table`
|
|
|
12578
14239
|
text-overflow: ellipsis;
|
|
12579
14240
|
}
|
|
12580
14241
|
`;
|
|
12581
|
-
const Th =
|
|
14242
|
+
const Th = dt.th`
|
|
12582
14243
|
font-weight: 600;
|
|
12583
14244
|
font-size: 12px;
|
|
12584
14245
|
color: #212121;
|
|
@@ -12591,14 +14252,14 @@ const Th = styled__default["default"].th`
|
|
|
12591
14252
|
align-items: center;
|
|
12592
14253
|
}
|
|
12593
14254
|
`;
|
|
12594
|
-
const Td =
|
|
14255
|
+
const Td = dt.td`
|
|
12595
14256
|
font-weight: 400;
|
|
12596
14257
|
font-size: 12px;
|
|
12597
14258
|
padding-top: 20px;
|
|
12598
14259
|
padding-bottom: 20px;
|
|
12599
14260
|
padding-left: 40px;
|
|
12600
14261
|
`;
|
|
12601
|
-
const Tr =
|
|
14262
|
+
const Tr = dt.tr`
|
|
12602
14263
|
border-bottom: 1px solid #f3f4f6;
|
|
12603
14264
|
${_ref => {
|
|
12604
14265
|
let {
|
|
@@ -12611,14 +14272,14 @@ const Tr = styled__default["default"].tr`
|
|
|
12611
14272
|
}`;
|
|
12612
14273
|
}}
|
|
12613
14274
|
`;
|
|
12614
|
-
const InfoText =
|
|
14275
|
+
const InfoText = dt.div`
|
|
12615
14276
|
font-weight: 400;
|
|
12616
14277
|
font-size: 14px;
|
|
12617
14278
|
color: #212121;
|
|
12618
14279
|
padding-top: 20px;
|
|
12619
14280
|
padding-bottom: 20px;
|
|
12620
14281
|
`;
|
|
12621
|
-
const InfoBlock =
|
|
14282
|
+
const InfoBlock = dt.div`
|
|
12622
14283
|
display: flex;
|
|
12623
14284
|
justify-content: center;
|
|
12624
14285
|
align-items: center;
|
|
@@ -13066,7 +14727,7 @@ ReportTable.defaultProps = {
|
|
|
13066
14727
|
onSortReset: () => {}
|
|
13067
14728
|
};
|
|
13068
14729
|
|
|
13069
|
-
const EventListItemControlsContainer =
|
|
14730
|
+
const EventListItemControlsContainer = dt.div`
|
|
13070
14731
|
position: relative;
|
|
13071
14732
|
font-family: "Poppins", sans-serif;
|
|
13072
14733
|
width: ${props => props.width};
|
|
@@ -13079,13 +14740,13 @@ const EventListItemControlsContainer = styled__default["default"].div`
|
|
|
13079
14740
|
padding: 20px;
|
|
13080
14741
|
border-radius: 12px;
|
|
13081
14742
|
`;
|
|
13082
|
-
const EventName =
|
|
14743
|
+
const EventName = dt.span`
|
|
13083
14744
|
font-size: 16px;
|
|
13084
14745
|
@media (max-width: 1536px) {
|
|
13085
14746
|
font-size: 14px;
|
|
13086
14747
|
}
|
|
13087
14748
|
`;
|
|
13088
|
-
const Period =
|
|
14749
|
+
const Period = dt.span`
|
|
13089
14750
|
color: #b1b1b1;
|
|
13090
14751
|
font-size: 16px;
|
|
13091
14752
|
margin-bottom: 8px;
|
|
@@ -13093,7 +14754,7 @@ const Period = styled__default["default"].span`
|
|
|
13093
14754
|
font-size: 14px;
|
|
13094
14755
|
}
|
|
13095
14756
|
`;
|
|
13096
|
-
const SelectButtonContainer =
|
|
14757
|
+
const SelectButtonContainer = dt.span`
|
|
13097
14758
|
font-size: 16px;
|
|
13098
14759
|
display: flex;
|
|
13099
14760
|
align-items: center;
|
|
@@ -13153,7 +14814,7 @@ EventListItem.defaultProps = {
|
|
|
13153
14814
|
onClick: () => {}
|
|
13154
14815
|
};
|
|
13155
14816
|
|
|
13156
|
-
const MainContainer$4 =
|
|
14817
|
+
const MainContainer$4 = dt.div`
|
|
13157
14818
|
/* display: flex; */
|
|
13158
14819
|
position: relative;
|
|
13159
14820
|
font-family: "Poppins", sans-serif;
|
|
@@ -13162,7 +14823,7 @@ const MainContainer$4 = styled__default["default"].div`
|
|
|
13162
14823
|
width: ${props => props.width};
|
|
13163
14824
|
height: ${props => props.height};
|
|
13164
14825
|
`;
|
|
13165
|
-
const PanelContainer$1 =
|
|
14826
|
+
const PanelContainer$1 = dt.div`
|
|
13166
14827
|
display: flex;
|
|
13167
14828
|
border-radius: 12px;
|
|
13168
14829
|
padding: 0 10px;
|
|
@@ -13173,14 +14834,14 @@ const PanelContainer$1 = styled__default["default"].div`
|
|
|
13173
14834
|
overflow: hidden;
|
|
13174
14835
|
width: 100%;
|
|
13175
14836
|
`;
|
|
13176
|
-
const EventItemsContainer =
|
|
14837
|
+
const EventItemsContainer = dt.div`
|
|
13177
14838
|
display: grid;
|
|
13178
14839
|
grid-template-columns: repeat(3, 1fr);
|
|
13179
14840
|
padding: 15px 10px 30px;
|
|
13180
14841
|
gap: 30px;
|
|
13181
14842
|
width: 100%;
|
|
13182
14843
|
`;
|
|
13183
|
-
const OneEventItemContainer =
|
|
14844
|
+
const OneEventItemContainer = dt.div`
|
|
13184
14845
|
margin: 0;
|
|
13185
14846
|
`;
|
|
13186
14847
|
|
|
@@ -13245,17 +14906,17 @@ EventList.defaultProps = {
|
|
|
13245
14906
|
onSelectClick: () => {}
|
|
13246
14907
|
};
|
|
13247
14908
|
|
|
13248
|
-
const CollapseMenuItemMainContainer =
|
|
14909
|
+
const CollapseMenuItemMainContainer = dt.div`
|
|
13249
14910
|
font-family: "Poppins", sans-serif;
|
|
13250
14911
|
background: white;
|
|
13251
14912
|
padding: 20px 24px;
|
|
13252
14913
|
box-shadow: 0px 8px 20px -10px rgba(0, 0, 0, 0.2);
|
|
13253
14914
|
`;
|
|
13254
|
-
const CollapseMenuItemContainer =
|
|
14915
|
+
const CollapseMenuItemContainer = dt.div`
|
|
13255
14916
|
display: flex;
|
|
13256
14917
|
justify-content: space-between;
|
|
13257
14918
|
`;
|
|
13258
|
-
const rotation =
|
|
14919
|
+
const rotation = mt`
|
|
13259
14920
|
0%, 100% {
|
|
13260
14921
|
box-shadow:
|
|
13261
14922
|
0px -8.32px 0px 0px #ffffff,
|
|
@@ -13352,7 +15013,7 @@ const rotation = styled.keyframes`
|
|
|
13352
15013
|
-5.76px -5.76px 0 0px #ffffff;
|
|
13353
15014
|
}
|
|
13354
15015
|
`;
|
|
13355
|
-
const LoaderWrapper =
|
|
15016
|
+
const LoaderWrapper = dt.div`
|
|
13356
15017
|
font-size: 16px;
|
|
13357
15018
|
display: flex;
|
|
13358
15019
|
gap: 20px;
|
|
@@ -13365,7 +15026,7 @@ const LoaderWrapper = styled__default["default"].div`
|
|
|
13365
15026
|
font-size: 12px;
|
|
13366
15027
|
}
|
|
13367
15028
|
`;
|
|
13368
|
-
const Loader =
|
|
15029
|
+
const Loader = dt.span`
|
|
13369
15030
|
font-size: 10px;
|
|
13370
15031
|
width: 4px;
|
|
13371
15032
|
height: 4px;
|
|
@@ -13375,17 +15036,17 @@ const Loader = styled__default["default"].span`
|
|
|
13375
15036
|
animation: ${rotation} 1.1s infinite ease;
|
|
13376
15037
|
transform: translateZ(0);
|
|
13377
15038
|
`;
|
|
13378
|
-
const BannerIcon =
|
|
15039
|
+
const BannerIcon = dt.div`
|
|
13379
15040
|
align-items: center;
|
|
13380
15041
|
display: flex;
|
|
13381
15042
|
`;
|
|
13382
|
-
const MainDetails =
|
|
15043
|
+
const MainDetails = dt.div`
|
|
13383
15044
|
display: flex;
|
|
13384
15045
|
align-items: center;
|
|
13385
15046
|
gap: 10px;
|
|
13386
15047
|
font-size: 16px;
|
|
13387
15048
|
`;
|
|
13388
|
-
const SubDetails =
|
|
15049
|
+
const SubDetails = dt.span`
|
|
13389
15050
|
font-size: 16px;
|
|
13390
15051
|
font-weight: 400;
|
|
13391
15052
|
@media (max-width: 1536px) {
|
|
@@ -13395,15 +15056,15 @@ const SubDetails = styled__default["default"].span`
|
|
|
13395
15056
|
font-size: 12px;
|
|
13396
15057
|
}
|
|
13397
15058
|
`;
|
|
13398
|
-
const ProductName =
|
|
15059
|
+
const ProductName = dt.span`
|
|
13399
15060
|
color: #8b8989;
|
|
13400
15061
|
`;
|
|
13401
|
-
const ToggleContainer =
|
|
15062
|
+
const ToggleContainer = dt.div`
|
|
13402
15063
|
cursor: "pointer";
|
|
13403
15064
|
display: flex;
|
|
13404
15065
|
align-items: center;
|
|
13405
15066
|
`;
|
|
13406
|
-
const CollapseMenuItemContentContainer =
|
|
15067
|
+
const CollapseMenuItemContentContainer = dt.div`
|
|
13407
15068
|
font-weight: 500;
|
|
13408
15069
|
font-size: 14px;
|
|
13409
15070
|
margin-top: 12px;
|
|
@@ -13412,14 +15073,14 @@ const CollapseMenuItemContentContainer = styled__default["default"].div`
|
|
|
13412
15073
|
font-size: 12px;
|
|
13413
15074
|
}
|
|
13414
15075
|
`;
|
|
13415
|
-
const MainContainer$3 =
|
|
15076
|
+
const MainContainer$3 = dt.div`
|
|
13416
15077
|
width: ${props => props.width};
|
|
13417
15078
|
height: ${props => props.height};
|
|
13418
15079
|
display: flex;
|
|
13419
15080
|
gap: 20px;
|
|
13420
15081
|
padding: 20px 0 4px;
|
|
13421
15082
|
`;
|
|
13422
|
-
const DraftTag$1 =
|
|
15083
|
+
const DraftTag$1 = dt.div`
|
|
13423
15084
|
color: #E41111;
|
|
13424
15085
|
border: 2px solid #E41111;
|
|
13425
15086
|
font-size: 20px;
|
|
@@ -13427,7 +15088,7 @@ const DraftTag$1 = styled__default["default"].div`
|
|
|
13427
15088
|
height: fit-content;
|
|
13428
15089
|
`;
|
|
13429
15090
|
|
|
13430
|
-
const MainContainer$2 =
|
|
15091
|
+
const MainContainer$2 = dt.div`
|
|
13431
15092
|
width: ${props => props.width};
|
|
13432
15093
|
height: ${props => props.height};
|
|
13433
15094
|
font-family: 'Poppins', sans-serif;
|
|
@@ -13437,63 +15098,63 @@ const MainContainer$2 = styled__default["default"].div`
|
|
|
13437
15098
|
border-radius: 12px;
|
|
13438
15099
|
border: 1px solid #D0D0D0;
|
|
13439
15100
|
`;
|
|
13440
|
-
const TitleWrapper =
|
|
15101
|
+
const TitleWrapper = dt.div`
|
|
13441
15102
|
display: flex;
|
|
13442
15103
|
align-items: center;
|
|
13443
15104
|
margin-bottom: 20px;
|
|
13444
15105
|
gap: 6px;
|
|
13445
15106
|
`;
|
|
13446
|
-
const CardTitle =
|
|
15107
|
+
const CardTitle = dt.h5`
|
|
13447
15108
|
font-size: 14px;
|
|
13448
15109
|
font-weight: 400;
|
|
13449
15110
|
margin: 0;
|
|
13450
15111
|
`;
|
|
13451
|
-
const Headline =
|
|
15112
|
+
const Headline = dt.h6`
|
|
13452
15113
|
font-size: 12px;
|
|
13453
15114
|
font-weight: 500;
|
|
13454
15115
|
margin: 0;
|
|
13455
15116
|
`;
|
|
13456
|
-
const Block =
|
|
15117
|
+
const Block = dt.div`
|
|
13457
15118
|
margin-bottom: 12px;
|
|
13458
15119
|
`;
|
|
13459
|
-
const Text =
|
|
15120
|
+
const Text = dt.p`
|
|
13460
15121
|
color: #8B8989;
|
|
13461
15122
|
font-size: 12px;
|
|
13462
15123
|
font-weight: 400;
|
|
13463
15124
|
margin: 0;
|
|
13464
15125
|
`;
|
|
13465
|
-
|
|
15126
|
+
dt.span`
|
|
13466
15127
|
color: #229E38;
|
|
13467
15128
|
font-size: 12px;
|
|
13468
15129
|
font-weight: 400;
|
|
13469
15130
|
text-decoration: underline;
|
|
13470
15131
|
cursor: pointer;
|
|
13471
15132
|
`;
|
|
13472
|
-
const DetailsWrapper =
|
|
15133
|
+
const DetailsWrapper = dt.div`
|
|
13473
15134
|
display: flex;
|
|
13474
15135
|
gap: 12px;
|
|
13475
15136
|
align-items: stretch;
|
|
13476
15137
|
margin-top: 12px;
|
|
13477
15138
|
`;
|
|
13478
|
-
const KeyBlock =
|
|
15139
|
+
const KeyBlock = dt.div`
|
|
13479
15140
|
/* position: relative; */
|
|
13480
15141
|
`;
|
|
13481
|
-
const Key =
|
|
15142
|
+
const Key = dt.span`
|
|
13482
15143
|
display: inline-flex;
|
|
13483
15144
|
align-items: center;
|
|
13484
15145
|
gap: 4px;
|
|
13485
15146
|
font-size: 12px;
|
|
13486
15147
|
font-weight: 500;
|
|
13487
15148
|
`;
|
|
13488
|
-
const Count =
|
|
15149
|
+
const Count = dt.span`
|
|
13489
15150
|
color: #8B8989;
|
|
13490
15151
|
font-size: 12px;
|
|
13491
15152
|
font-weight: 400;
|
|
13492
15153
|
`;
|
|
13493
|
-
const Seperator =
|
|
15154
|
+
const Seperator = dt.div`
|
|
13494
15155
|
border-right: 1px solid #F2F2F2;
|
|
13495
15156
|
`;
|
|
13496
|
-
const ButtonWrap =
|
|
15157
|
+
const ButtonWrap = dt.div`
|
|
13497
15158
|
display: flex;
|
|
13498
15159
|
justify-content: flex-start;
|
|
13499
15160
|
`;
|
|
@@ -13759,7 +15420,7 @@ const scrollableStyles$4 = `
|
|
|
13759
15420
|
border-radius: 5px;
|
|
13760
15421
|
}
|
|
13761
15422
|
`;
|
|
13762
|
-
const ModalWrapper =
|
|
15423
|
+
const ModalWrapper = dt.dialog`
|
|
13763
15424
|
width: 100vw;
|
|
13764
15425
|
height: 100vh;
|
|
13765
15426
|
padding: 20px;
|
|
@@ -13775,30 +15436,30 @@ const ModalWrapper = styled__default["default"].dialog`
|
|
|
13775
15436
|
align-content: center;
|
|
13776
15437
|
}
|
|
13777
15438
|
`;
|
|
13778
|
-
const Modal =
|
|
15439
|
+
const Modal = dt.div`
|
|
13779
15440
|
width: 79%;
|
|
13780
15441
|
max-width: 1500px;
|
|
13781
15442
|
margin: 0 auto;
|
|
13782
15443
|
${scrollableStyles$4}
|
|
13783
15444
|
`;
|
|
13784
|
-
const ModalHeader =
|
|
15445
|
+
const ModalHeader = dt.div`
|
|
13785
15446
|
display: flex;
|
|
13786
15447
|
align-items: center;
|
|
13787
15448
|
justify-content: space-between;
|
|
13788
15449
|
margin-bottom: 32px;
|
|
13789
15450
|
`;
|
|
13790
|
-
const ModalBody =
|
|
15451
|
+
const ModalBody = dt.div`
|
|
13791
15452
|
${scrollableStyles$4}
|
|
13792
15453
|
max-height: 80vh;
|
|
13793
15454
|
`;
|
|
13794
|
-
const ModalTitle =
|
|
15455
|
+
const ModalTitle = dt.h5`
|
|
13795
15456
|
font-family: 'Poppins', sans-serif;
|
|
13796
15457
|
font-size: 32px;
|
|
13797
15458
|
font-weight: 500;
|
|
13798
15459
|
color: white;
|
|
13799
15460
|
margin: 0;
|
|
13800
15461
|
`;
|
|
13801
|
-
const ModalClose =
|
|
15462
|
+
const ModalClose = dt.button`
|
|
13802
15463
|
outline: none;
|
|
13803
15464
|
cursor: pointer;
|
|
13804
15465
|
border: none;
|
|
@@ -24043,7 +25704,7 @@ const TheGiantCompanyIcon = _ref => {
|
|
|
24043
25704
|
})));
|
|
24044
25705
|
};
|
|
24045
25706
|
|
|
24046
|
-
const MainContainer$1 =
|
|
25707
|
+
const MainContainer$1 = dt.div`
|
|
24047
25708
|
display: flex;
|
|
24048
25709
|
position: relative;
|
|
24049
25710
|
font-family: "Poppins", sans-serif;
|
|
@@ -24053,7 +25714,7 @@ const MainContainer$1 = styled__default["default"].div`
|
|
|
24053
25714
|
height: ${props => props.height};
|
|
24054
25715
|
border-radius: 12px;
|
|
24055
25716
|
`;
|
|
24056
|
-
const PanelContainer =
|
|
25717
|
+
const PanelContainer = dt.div`
|
|
24057
25718
|
display: flex;
|
|
24058
25719
|
align-content: center;
|
|
24059
25720
|
flex-direction: column;
|
|
@@ -24069,27 +25730,27 @@ const PanelContainer = styled__default["default"].div`
|
|
|
24069
25730
|
padding: 12px 0 0;
|
|
24070
25731
|
}
|
|
24071
25732
|
`;
|
|
24072
|
-
const EventNameAndViewCreativeContainer =
|
|
25733
|
+
const EventNameAndViewCreativeContainer = dt.div`
|
|
24073
25734
|
display: flex;
|
|
24074
25735
|
align-content: center;
|
|
24075
25736
|
align-items: center;
|
|
24076
25737
|
justify-content: space-between;
|
|
24077
25738
|
width: 100%;
|
|
24078
25739
|
`;
|
|
24079
|
-
const EventNameViewCreativeSubContainer =
|
|
25740
|
+
const EventNameViewCreativeSubContainer = dt.div`
|
|
24080
25741
|
display: flex;
|
|
24081
25742
|
position: relative;
|
|
24082
25743
|
align-content: center;
|
|
24083
25744
|
align-items: center;
|
|
24084
25745
|
gap: 20px;
|
|
24085
25746
|
`;
|
|
24086
|
-
const DraftTag =
|
|
25747
|
+
const DraftTag = dt.div`
|
|
24087
25748
|
color: #E41111;
|
|
24088
25749
|
border: 2px solid #E41111;
|
|
24089
25750
|
font-size: 20px;
|
|
24090
25751
|
padding: 6px 18px;
|
|
24091
25752
|
`;
|
|
24092
|
-
|
|
25753
|
+
dt.div`
|
|
24093
25754
|
display: flex;
|
|
24094
25755
|
align-items: center;
|
|
24095
25756
|
justify-content: center;
|
|
@@ -24101,7 +25762,7 @@ styled__default["default"].div`
|
|
|
24101
25762
|
cursor: ${props => !props.disabled ? 'pointer' : 'default'};
|
|
24102
25763
|
}
|
|
24103
25764
|
`;
|
|
24104
|
-
|
|
25765
|
+
dt.h4`
|
|
24105
25766
|
display: flex;
|
|
24106
25767
|
line-height: 19px;
|
|
24107
25768
|
font-size: 14px;
|
|
@@ -24114,7 +25775,7 @@ styled__default["default"].h4`
|
|
|
24114
25775
|
font-size: 12px;
|
|
24115
25776
|
}
|
|
24116
25777
|
`;
|
|
24117
|
-
const ViewCreativeButtonAndListBoxContainer =
|
|
25778
|
+
const ViewCreativeButtonAndListBoxContainer = dt.div`
|
|
24118
25779
|
position: relative;
|
|
24119
25780
|
overflow: visible;
|
|
24120
25781
|
font-size: 18px;
|
|
@@ -24125,21 +25786,21 @@ const ViewCreativeButtonAndListBoxContainer = styled__default["default"].div`
|
|
|
24125
25786
|
font-size: 12px;
|
|
24126
25787
|
}
|
|
24127
25788
|
`;
|
|
24128
|
-
const ViewCreativeListBoxContainer =
|
|
25789
|
+
const ViewCreativeListBoxContainer = dt.div`
|
|
24129
25790
|
display: flex;
|
|
24130
25791
|
position: absolute;
|
|
24131
25792
|
left: ${props => props.left};
|
|
24132
25793
|
top: ${props => props.top};
|
|
24133
25794
|
z-index:1000;
|
|
24134
25795
|
`;
|
|
24135
|
-
const FilterValuesContainer =
|
|
25796
|
+
const FilterValuesContainer = dt.div`
|
|
24136
25797
|
display: flex;
|
|
24137
25798
|
align-content: center;
|
|
24138
25799
|
align-items: center;
|
|
24139
25800
|
width: 100%;
|
|
24140
25801
|
margin: 0.5rem 0 0 0;
|
|
24141
25802
|
`;
|
|
24142
|
-
const FilterValue =
|
|
25803
|
+
const FilterValue = dt.p`
|
|
24143
25804
|
color: #212121;
|
|
24144
25805
|
margin: 0;
|
|
24145
25806
|
font-size: 14px;
|
|
@@ -24151,32 +25812,32 @@ const FilterValue = styled__default["default"].p`
|
|
|
24151
25812
|
font-size: 12px;
|
|
24152
25813
|
}
|
|
24153
25814
|
`;
|
|
24154
|
-
const FieldsDelimiter =
|
|
25815
|
+
const FieldsDelimiter = dt.p`
|
|
24155
25816
|
color: #ccc;
|
|
24156
25817
|
margin: 0;
|
|
24157
25818
|
`;
|
|
24158
|
-
const Retailer =
|
|
25819
|
+
const Retailer = dt.div`
|
|
24159
25820
|
color: #1b30aa;
|
|
24160
25821
|
margin: 0;
|
|
24161
25822
|
margin-inline-end: 5px;
|
|
24162
25823
|
`;
|
|
24163
|
-
const RetailerIconContainer =
|
|
25824
|
+
const RetailerIconContainer = dt.div`
|
|
24164
25825
|
display: flex;
|
|
24165
25826
|
align-items: center;
|
|
24166
25827
|
`;
|
|
24167
|
-
const ObjectiesContainer =
|
|
25828
|
+
const ObjectiesContainer = dt.div`
|
|
24168
25829
|
max-width: 70%;
|
|
24169
25830
|
`;
|
|
24170
|
-
const ObjectiesAndPeriodsContainer =
|
|
25831
|
+
const ObjectiesAndPeriodsContainer = dt.div`
|
|
24171
25832
|
display: flex;
|
|
24172
25833
|
gap: 40px;
|
|
24173
25834
|
width: 100%;
|
|
24174
25835
|
margin-top: 8px;
|
|
24175
25836
|
`;
|
|
24176
|
-
const ObjectivesTitle =
|
|
25837
|
+
const ObjectivesTitle = dt.strong`
|
|
24177
25838
|
font-weight: 500;
|
|
24178
25839
|
`;
|
|
24179
|
-
const ObjectivesDescription =
|
|
25840
|
+
const ObjectivesDescription = dt.p`
|
|
24180
25841
|
margin: 0;
|
|
24181
25842
|
font-size: 14px;
|
|
24182
25843
|
font-weight: 400;
|
|
@@ -24187,19 +25848,19 @@ const ObjectivesDescription = styled__default["default"].p`
|
|
|
24187
25848
|
font-size: 12px;
|
|
24188
25849
|
}
|
|
24189
25850
|
`;
|
|
24190
|
-
|
|
25851
|
+
dt.a`
|
|
24191
25852
|
color: ${props => props.disabled ? '#B1B1B1' : '#1b30aa'};
|
|
24192
25853
|
&:hover {
|
|
24193
25854
|
cursor: ${props => !props.disabled ? 'pointer' : 'default'};
|
|
24194
25855
|
}
|
|
24195
25856
|
`;
|
|
24196
|
-
|
|
25857
|
+
dt.div`
|
|
24197
25858
|
align-items: center;
|
|
24198
25859
|
justify-content: flex-end;
|
|
24199
25860
|
min-height: 1.5rem;
|
|
24200
25861
|
`;
|
|
24201
|
-
|
|
24202
|
-
const PeriodsContainer =
|
|
25862
|
+
dt.div``;
|
|
25863
|
+
const PeriodsContainer = dt.div`
|
|
24203
25864
|
display: flex;
|
|
24204
25865
|
flex-wrap: wrap;
|
|
24205
25866
|
align-content: flex-start;
|
|
@@ -24209,11 +25870,11 @@ const PeriodsContainer = styled__default["default"].div`
|
|
|
24209
25870
|
font-size: 12px;
|
|
24210
25871
|
}
|
|
24211
25872
|
`;
|
|
24212
|
-
const SubLineContainer =
|
|
25873
|
+
const SubLineContainer = dt.div`
|
|
24213
25874
|
display: flex;
|
|
24214
25875
|
width: 100%;
|
|
24215
25876
|
`;
|
|
24216
|
-
const PeriodLabel =
|
|
25877
|
+
const PeriodLabel = dt.strong`
|
|
24217
25878
|
font-size: 14px;
|
|
24218
25879
|
font-weight: 500;
|
|
24219
25880
|
@media (max-width: 1536px) {
|
|
@@ -24223,7 +25884,7 @@ const PeriodLabel = styled__default["default"].strong`
|
|
|
24223
25884
|
font-size: 12px;
|
|
24224
25885
|
}
|
|
24225
25886
|
`;
|
|
24226
|
-
const PeriodValue =
|
|
25887
|
+
const PeriodValue = dt.p`
|
|
24227
25888
|
line-height: 19px;
|
|
24228
25889
|
font-size: 14px;
|
|
24229
25890
|
font-weight: 400;
|
|
@@ -24493,7 +26154,7 @@ CollapseHeader.defaultProps = {
|
|
|
24493
26154
|
datesTitle: "Event Dates: "
|
|
24494
26155
|
};
|
|
24495
26156
|
|
|
24496
|
-
const QuickFilterInput =
|
|
26157
|
+
const QuickFilterInput = dt.div`
|
|
24497
26158
|
position: relative;
|
|
24498
26159
|
align-content: center;
|
|
24499
26160
|
justify-content: center;
|
|
@@ -24504,14 +26165,14 @@ const QuickFilterInput = styled__default["default"].div`
|
|
|
24504
26165
|
font-size: 14px;
|
|
24505
26166
|
border-radius: 8px;
|
|
24506
26167
|
`;
|
|
24507
|
-
const Label$1 =
|
|
26168
|
+
const Label$1 = dt.label`
|
|
24508
26169
|
font-size: 14px;
|
|
24509
26170
|
font-weight: 500;
|
|
24510
26171
|
color: ${props => props.disabled ? '#D0D0D0' : '212121'};
|
|
24511
26172
|
font-family: "Poppins";
|
|
24512
26173
|
white-space: nowrap;
|
|
24513
26174
|
`;
|
|
24514
|
-
const InputContainer$1 =
|
|
26175
|
+
const InputContainer$1 = dt.div`
|
|
24515
26176
|
display: flex;
|
|
24516
26177
|
justify-content: space-between;
|
|
24517
26178
|
align-content: center;
|
|
@@ -24542,12 +26203,12 @@ const InputContainer$1 = styled__default["default"].div`
|
|
|
24542
26203
|
${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
24543
26204
|
}
|
|
24544
26205
|
`;
|
|
24545
|
-
const InputSubContainer$1 =
|
|
26206
|
+
const InputSubContainer$1 = dt.div`
|
|
24546
26207
|
display: flex;
|
|
24547
26208
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24548
26209
|
gap: 8px;
|
|
24549
26210
|
`;
|
|
24550
|
-
const StyledInput$1 =
|
|
26211
|
+
const StyledInput$1 = dt.input`
|
|
24551
26212
|
width: 100%;
|
|
24552
26213
|
height: 20px;
|
|
24553
26214
|
font-family: "Poppins";
|
|
@@ -24561,7 +26222,7 @@ const StyledInput$1 = styled__default["default"].input`
|
|
|
24561
26222
|
color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
|
|
24562
26223
|
}
|
|
24563
26224
|
`;
|
|
24564
|
-
const OptionsContainer$1 =
|
|
26225
|
+
const OptionsContainer$1 = dt.div`
|
|
24565
26226
|
margin: 0;
|
|
24566
26227
|
top: 100%;
|
|
24567
26228
|
left: 0;
|
|
@@ -24570,7 +26231,7 @@ const OptionsContainer$1 = styled__default["default"].div`
|
|
|
24570
26231
|
background-color: #fff;
|
|
24571
26232
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
24572
26233
|
`;
|
|
24573
|
-
const OptionsSubContainer$1 =
|
|
26234
|
+
const OptionsSubContainer$1 = dt.ul`
|
|
24574
26235
|
list-style: none;
|
|
24575
26236
|
font-weight: 400;
|
|
24576
26237
|
margin: 0;
|
|
@@ -24588,7 +26249,7 @@ const OptionsSubContainer$1 = styled__default["default"].ul`
|
|
|
24588
26249
|
max-height: 400px;
|
|
24589
26250
|
overflow: auto;
|
|
24590
26251
|
`;
|
|
24591
|
-
const OptionItem$1 =
|
|
26252
|
+
const OptionItem$1 = dt.li`
|
|
24592
26253
|
padding: 10px;
|
|
24593
26254
|
cursor: pointer;
|
|
24594
26255
|
color: #212121;
|
|
@@ -24605,35 +26266,36 @@ const OptionItem$1 = styled__default["default"].li`
|
|
|
24605
26266
|
color: #229e38;
|
|
24606
26267
|
}
|
|
24607
26268
|
`;
|
|
24608
|
-
const ErrorMessage$1 =
|
|
26269
|
+
const ErrorMessage$1 = dt.div`
|
|
24609
26270
|
font-size: 12px;
|
|
24610
26271
|
color: red;
|
|
24611
26272
|
margin-top: 5px;
|
|
24612
26273
|
`;
|
|
24613
|
-
const IconContainer$2 =
|
|
26274
|
+
const IconContainer$2 = dt.div`
|
|
24614
26275
|
padding: 2px;
|
|
24615
26276
|
cursor: pointer;
|
|
24616
26277
|
`;
|
|
24617
|
-
const DeleteIcon =
|
|
26278
|
+
const DeleteIcon = dt.div`
|
|
24618
26279
|
right: 40px;
|
|
24619
26280
|
position: absolute;
|
|
24620
26281
|
`;
|
|
24621
26282
|
|
|
24622
|
-
const QuickFilterDropdownSingle =
|
|
24623
|
-
|
|
24624
|
-
|
|
24625
|
-
|
|
24626
|
-
|
|
24627
|
-
|
|
24628
|
-
|
|
24629
|
-
|
|
24630
|
-
|
|
24631
|
-
|
|
24632
|
-
|
|
24633
|
-
|
|
24634
|
-
|
|
24635
|
-
|
|
24636
|
-
|
|
26283
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
26284
|
+
let {
|
|
26285
|
+
label,
|
|
26286
|
+
hoverColor,
|
|
26287
|
+
options,
|
|
26288
|
+
selectedValue,
|
|
26289
|
+
placeHolder,
|
|
26290
|
+
onChange,
|
|
26291
|
+
disabled,
|
|
26292
|
+
width,
|
|
26293
|
+
error,
|
|
26294
|
+
errorMessage,
|
|
26295
|
+
xIconShow,
|
|
26296
|
+
labelColor,
|
|
26297
|
+
showLabelOnTop
|
|
26298
|
+
} = _ref;
|
|
24637
26299
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
24638
26300
|
const [showOptions, setShowOptions] = React.useState(false);
|
|
24639
26301
|
const [inputValue, setInputValue] = React.useState("");
|
|
@@ -24850,7 +26512,7 @@ QuickFilterDropdownSingle.defaultProps = {
|
|
|
24850
26512
|
showLabelOnTop: true
|
|
24851
26513
|
};
|
|
24852
26514
|
|
|
24853
|
-
const DropdownWrapper =
|
|
26515
|
+
const DropdownWrapper = dt.div`
|
|
24854
26516
|
position: relative;
|
|
24855
26517
|
display: flex;
|
|
24856
26518
|
flex-direction: column;
|
|
@@ -24863,7 +26525,7 @@ const DropdownWrapper = styled__default["default"].div`
|
|
|
24863
26525
|
font-size: 14px;
|
|
24864
26526
|
border-radius: 10px;
|
|
24865
26527
|
`;
|
|
24866
|
-
const Label =
|
|
26528
|
+
const Label = dt.label`
|
|
24867
26529
|
font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
|
|
24868
26530
|
font-weight: 400;
|
|
24869
26531
|
padding-inline-end: 5px;
|
|
@@ -24886,7 +26548,7 @@ const Label = styled__default["default"].label`
|
|
|
24886
26548
|
cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
|
|
24887
26549
|
}
|
|
24888
26550
|
`;
|
|
24889
|
-
const InputContainer =
|
|
26551
|
+
const InputContainer = dt.div`
|
|
24890
26552
|
display: flex;
|
|
24891
26553
|
flex-direction: row;
|
|
24892
26554
|
flex-wrap: nowrap;
|
|
@@ -24917,7 +26579,7 @@ const InputContainer = styled__default["default"].div`
|
|
|
24917
26579
|
border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
|
|
24918
26580
|
}
|
|
24919
26581
|
`;
|
|
24920
|
-
const InputSubContainer =
|
|
26582
|
+
const InputSubContainer = dt.div`
|
|
24921
26583
|
display: flex;
|
|
24922
26584
|
flex-direction: column;
|
|
24923
26585
|
flex-wrap: nowrap;
|
|
@@ -24936,7 +26598,7 @@ const InputSubContainer = styled__default["default"].div`
|
|
|
24936
26598
|
outline: none;
|
|
24937
26599
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24938
26600
|
`;
|
|
24939
|
-
const StyledInput =
|
|
26601
|
+
const StyledInput = dt.input`
|
|
24940
26602
|
width: calc(100% - 20px);
|
|
24941
26603
|
height: 25px;
|
|
24942
26604
|
font-family: Poppins;
|
|
@@ -24947,7 +26609,7 @@ const StyledInput = styled__default["default"].input`
|
|
|
24947
26609
|
color: ${props => props.disabled ? '#888' : '#212121'};
|
|
24948
26610
|
border: none;
|
|
24949
26611
|
`;
|
|
24950
|
-
const OptionsContainer =
|
|
26612
|
+
const OptionsContainer = dt.div`
|
|
24951
26613
|
margin: 0;
|
|
24952
26614
|
top: 100%;
|
|
24953
26615
|
left: 0;
|
|
@@ -24957,7 +26619,7 @@ const OptionsContainer = styled__default["default"].div`
|
|
|
24957
26619
|
display: ${props => props.showoptions && props.filteredoptions?.length > 0 ? 'block' : 'none'};
|
|
24958
26620
|
|
|
24959
26621
|
`;
|
|
24960
|
-
const OptionsSubContainer =
|
|
26622
|
+
const OptionsSubContainer = dt.ul`
|
|
24961
26623
|
list-style: none;
|
|
24962
26624
|
font-weight: 400;
|
|
24963
26625
|
margin: 0;
|
|
@@ -24975,7 +26637,7 @@ const OptionsSubContainer = styled__default["default"].ul`
|
|
|
24975
26637
|
max-height: 400px;
|
|
24976
26638
|
overflow: auto;
|
|
24977
26639
|
`;
|
|
24978
|
-
const OptionItem =
|
|
26640
|
+
const OptionItem = dt.li`
|
|
24979
26641
|
gap: 8px;
|
|
24980
26642
|
padding: 10px;
|
|
24981
26643
|
cursor: pointer;
|
|
@@ -24990,12 +26652,12 @@ const OptionItem = styled__default["default"].li`
|
|
|
24990
26652
|
background-color: #EDF6FF;
|
|
24991
26653
|
}
|
|
24992
26654
|
`;
|
|
24993
|
-
const ErrorMessage =
|
|
26655
|
+
const ErrorMessage = dt.div`
|
|
24994
26656
|
font-size: 12px;
|
|
24995
26657
|
color: red;
|
|
24996
26658
|
margin-top: 5px;
|
|
24997
26659
|
`;
|
|
24998
|
-
const SelectedOptionsContainer =
|
|
26660
|
+
const SelectedOptionsContainer = dt.div`
|
|
24999
26661
|
display: flex;
|
|
25000
26662
|
flex-direction: row;
|
|
25001
26663
|
flex-wrap: nowrap;
|
|
@@ -25011,7 +26673,7 @@ const SelectedOptionsContainer = styled__default["default"].div`
|
|
|
25011
26673
|
background-color: #fff;
|
|
25012
26674
|
gap: 4px;
|
|
25013
26675
|
`;
|
|
25014
|
-
const SelectedOptionItem =
|
|
26676
|
+
const SelectedOptionItem = dt.div`
|
|
25015
26677
|
display: flex;
|
|
25016
26678
|
margin: 0;
|
|
25017
26679
|
flex-wrap: nowrap;
|
|
@@ -25025,29 +26687,30 @@ const SelectedOptionItem = styled__default["default"].div`
|
|
|
25025
26687
|
padding: 4px 6px;
|
|
25026
26688
|
font-size: 12px;
|
|
25027
26689
|
`;
|
|
25028
|
-
const IconContainer$1 =
|
|
26690
|
+
const IconContainer$1 = dt.div`
|
|
25029
26691
|
display: flex;
|
|
25030
26692
|
padding: 2px;
|
|
25031
26693
|
cursor: pointer;
|
|
25032
26694
|
`;
|
|
25033
26695
|
|
|
25034
|
-
const QuickFilterDropdownMultiSelection =
|
|
25035
|
-
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25043
|
-
|
|
25044
|
-
|
|
25045
|
-
|
|
25046
|
-
|
|
25047
|
-
|
|
25048
|
-
|
|
25049
|
-
|
|
25050
|
-
|
|
26696
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
26697
|
+
let {
|
|
26698
|
+
label,
|
|
26699
|
+
labelEmptyValue,
|
|
26700
|
+
options,
|
|
26701
|
+
selectedValue,
|
|
26702
|
+
placeHolder,
|
|
26703
|
+
onChange,
|
|
26704
|
+
required,
|
|
26705
|
+
disabled,
|
|
26706
|
+
width,
|
|
26707
|
+
error,
|
|
26708
|
+
errorMessage,
|
|
26709
|
+
labelColor,
|
|
26710
|
+
xIconShow,
|
|
26711
|
+
checkBoxColor,
|
|
26712
|
+
showLabelOnTop
|
|
26713
|
+
} = _ref;
|
|
25051
26714
|
const [isFocused, setIsFocused] = React.useState(false);
|
|
25052
26715
|
const [showOptions, setShowOptions] = React.useState(false);
|
|
25053
26716
|
const [inputValue, setInputValue] = React.useState('');
|
|
@@ -25331,7 +26994,7 @@ QuickFilterDropdownMultiSelection.defaultProps = {
|
|
|
25331
26994
|
showLabelOnTop: true
|
|
25332
26995
|
};
|
|
25333
26996
|
|
|
25334
|
-
const QuickFilterMain =
|
|
26997
|
+
const QuickFilterMain = dt.div`
|
|
25335
26998
|
position: relative;
|
|
25336
26999
|
display: flex;
|
|
25337
27000
|
flex-direction: column;
|
|
@@ -25503,7 +27166,7 @@ classnames.exports;
|
|
|
25503
27166
|
var classnamesExports = classnames.exports;
|
|
25504
27167
|
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
25505
27168
|
|
|
25506
|
-
const StyledContainer =
|
|
27169
|
+
const StyledContainer = dt.div`
|
|
25507
27170
|
font-family: "Poppins", sans-serif;
|
|
25508
27171
|
width: ${props => props.width};
|
|
25509
27172
|
height: ${props => props.height};
|
|
@@ -25516,7 +27179,7 @@ const StyledContainer = styled__default["default"].div`
|
|
|
25516
27179
|
background-color: white;
|
|
25517
27180
|
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
|
|
25518
27181
|
`;
|
|
25519
|
-
const OneColumnContainerMainDiv =
|
|
27182
|
+
const OneColumnContainerMainDiv = dt.div`
|
|
25520
27183
|
position: relative;
|
|
25521
27184
|
/* align-items: flex-start; */
|
|
25522
27185
|
justify-content: center;
|
|
@@ -25529,40 +27192,40 @@ const OneColumnContainerMainDiv = styled__default["default"].div`
|
|
|
25529
27192
|
box-sizing: border-box;
|
|
25530
27193
|
}
|
|
25531
27194
|
`;
|
|
25532
|
-
const InfoTextContainer =
|
|
27195
|
+
const InfoTextContainer = dt.div`
|
|
25533
27196
|
background: white;
|
|
25534
27197
|
overflow: auto;
|
|
25535
27198
|
padding: 20px;
|
|
25536
27199
|
box-sizing: border-box;
|
|
25537
27200
|
`;
|
|
25538
|
-
const InfoTitleLabel =
|
|
27201
|
+
const InfoTitleLabel = dt.div`
|
|
25539
27202
|
font-weight: 600;
|
|
25540
27203
|
color: black;
|
|
25541
27204
|
margin: 0px 0px 10px 0px;
|
|
25542
27205
|
font-size: 18px;
|
|
25543
27206
|
line-height: 32px;
|
|
25544
27207
|
`;
|
|
25545
|
-
const InfoTextLabel =
|
|
27208
|
+
const InfoTextLabel = dt.div`
|
|
25546
27209
|
color: black;
|
|
25547
27210
|
font-size: 14px;
|
|
25548
27211
|
line-height: 20px;
|
|
25549
27212
|
font-weight: 400;
|
|
25550
27213
|
`;
|
|
25551
|
-
const ColumnTitle =
|
|
27214
|
+
const ColumnTitle = dt.span`
|
|
25552
27215
|
color: black;
|
|
25553
27216
|
display: inline-block;
|
|
25554
27217
|
font-size: 20px;
|
|
25555
27218
|
font-weight: 500;
|
|
25556
27219
|
padding: 20px 20px 0;
|
|
25557
27220
|
`;
|
|
25558
|
-
const IconContainer =
|
|
27221
|
+
const IconContainer = dt.div`
|
|
25559
27222
|
width: 20px;
|
|
25560
27223
|
height: 20px;
|
|
25561
27224
|
top: 10px;
|
|
25562
27225
|
right: 10px;
|
|
25563
27226
|
position: absolute;
|
|
25564
27227
|
`;
|
|
25565
|
-
const LoadingDiv =
|
|
27228
|
+
const LoadingDiv = dt.div`
|
|
25566
27229
|
height: 100%;
|
|
25567
27230
|
display: flex;
|
|
25568
27231
|
flex-direction: column;
|
|
@@ -25570,14 +27233,14 @@ const LoadingDiv = styled__default["default"].div`
|
|
|
25570
27233
|
text-align: center;
|
|
25571
27234
|
gap: 10px;
|
|
25572
27235
|
`;
|
|
25573
|
-
const BannerContainer =
|
|
27236
|
+
const BannerContainer = dt.div`
|
|
25574
27237
|
position: absolute;
|
|
25575
27238
|
z-index: 99;
|
|
25576
27239
|
top: 18px;
|
|
25577
27240
|
right: ${props => props.right};
|
|
25578
27241
|
user-select: none;
|
|
25579
27242
|
`;
|
|
25580
|
-
const OutBanner$1 =
|
|
27243
|
+
const OutBanner$1 = dt.div`
|
|
25581
27244
|
display: flex;
|
|
25582
27245
|
justify-content: flex-end;
|
|
25583
27246
|
align-items: center;
|
|
@@ -25772,7 +27435,7 @@ const scrollableStyles$3 = `
|
|
|
25772
27435
|
border-radius: 5px;
|
|
25773
27436
|
}
|
|
25774
27437
|
`;
|
|
25775
|
-
const ControlsContainer$6 =
|
|
27438
|
+
const ControlsContainer$6 = dt.div`
|
|
25776
27439
|
position: relative;
|
|
25777
27440
|
font-family: "Poppins", sans-serif;
|
|
25778
27441
|
font-style: normal;
|
|
@@ -25791,18 +27454,18 @@ const ControlsContainer$6 = styled__default["default"].div`
|
|
|
25791
27454
|
box-sizing: border-box;
|
|
25792
27455
|
}
|
|
25793
27456
|
`;
|
|
25794
|
-
const Controls$4 =
|
|
27457
|
+
const Controls$4 = dt.div`
|
|
25795
27458
|
display: flex;
|
|
25796
27459
|
flex-direction: column;
|
|
25797
27460
|
width: 100%;
|
|
25798
27461
|
height: 100%;
|
|
25799
27462
|
background: white;
|
|
25800
27463
|
`;
|
|
25801
|
-
const TitleAndValueContainer$3 =
|
|
27464
|
+
const TitleAndValueContainer$3 = dt.div`
|
|
25802
27465
|
display: flex;
|
|
25803
27466
|
flex-direction: column;
|
|
25804
27467
|
`;
|
|
25805
|
-
const Title$9 =
|
|
27468
|
+
const Title$9 = dt.h4`
|
|
25806
27469
|
font-weight: 400;
|
|
25807
27470
|
font-size: 20px;
|
|
25808
27471
|
margin: 0;
|
|
@@ -25813,12 +27476,12 @@ const Title$9 = styled__default["default"].h4`
|
|
|
25813
27476
|
font-size: 10px;
|
|
25814
27477
|
}
|
|
25815
27478
|
`;
|
|
25816
|
-
const CurrencySignAndFormattedValueContainer$1 =
|
|
27479
|
+
const CurrencySignAndFormattedValueContainer$1 = dt.div`
|
|
25817
27480
|
display: flex;
|
|
25818
27481
|
align-items: center;
|
|
25819
27482
|
gap: 16px;
|
|
25820
27483
|
`;
|
|
25821
|
-
const CurrencySignOrPercent =
|
|
27484
|
+
const CurrencySignOrPercent = dt.span`
|
|
25822
27485
|
font-weight: 500;
|
|
25823
27486
|
font-size: 16px;
|
|
25824
27487
|
@media (max-width: 1536px) {
|
|
@@ -25828,7 +27491,7 @@ const CurrencySignOrPercent = styled__default["default"].span`
|
|
|
25828
27491
|
font-size: 11px;
|
|
25829
27492
|
}
|
|
25830
27493
|
`;
|
|
25831
|
-
const FormattedValueText =
|
|
27494
|
+
const FormattedValueText = dt.div`
|
|
25832
27495
|
font-weight: 500;
|
|
25833
27496
|
font-size: 40px;
|
|
25834
27497
|
@media (max-width: 1536px) {
|
|
@@ -25911,7 +27574,7 @@ FormattedValue$2.defaultProps = {
|
|
|
25911
27574
|
isPercent: false
|
|
25912
27575
|
};
|
|
25913
27576
|
|
|
25914
|
-
const ControlsContainer$5 =
|
|
27577
|
+
const ControlsContainer$5 = dt.div`
|
|
25915
27578
|
position: relative;
|
|
25916
27579
|
font-family: "Poppins", sans-serif;
|
|
25917
27580
|
color: #212121;
|
|
@@ -25919,35 +27582,35 @@ const ControlsContainer$5 = styled__default["default"].div`
|
|
|
25919
27582
|
height: ${props => props.height};
|
|
25920
27583
|
min-width: 250px;
|
|
25921
27584
|
`;
|
|
25922
|
-
const Controls$3 =
|
|
27585
|
+
const Controls$3 = dt.div`
|
|
25923
27586
|
height: 100%;
|
|
25924
27587
|
width: 100%;
|
|
25925
27588
|
background: white;
|
|
25926
27589
|
display: flex;
|
|
25927
27590
|
flex-direction: column;
|
|
25928
27591
|
`;
|
|
25929
|
-
const TooltipDiv$2 =
|
|
27592
|
+
const TooltipDiv$2 = dt.div`
|
|
25930
27593
|
border-radius: 5px;
|
|
25931
27594
|
padding: 8px 12px;
|
|
25932
27595
|
background: white;
|
|
25933
27596
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
25934
27597
|
margin: 0;
|
|
25935
27598
|
`;
|
|
25936
|
-
const TooltipLabel$2 =
|
|
27599
|
+
const TooltipLabel$2 = dt.div`
|
|
25937
27600
|
color: #212121;
|
|
25938
27601
|
font-size: 14px;
|
|
25939
27602
|
font-weight: 400;
|
|
25940
27603
|
width: fit-content;
|
|
25941
27604
|
`;
|
|
25942
|
-
const TooltipTitle$1 =
|
|
27605
|
+
const TooltipTitle$1 = dt.div`
|
|
25943
27606
|
color: #212121;
|
|
25944
27607
|
font-size: 14px;
|
|
25945
27608
|
font-weight: 600;
|
|
25946
27609
|
`;
|
|
25947
|
-
const TitleAndValueContainer$2 =
|
|
27610
|
+
const TitleAndValueContainer$2 = dt.div`
|
|
25948
27611
|
padding: 0 1rem;
|
|
25949
27612
|
`;
|
|
25950
|
-
const Title$8 =
|
|
27613
|
+
const Title$8 = dt.h5`
|
|
25951
27614
|
font-weight: 500;
|
|
25952
27615
|
font-size: 18px;
|
|
25953
27616
|
line-height: 20px;
|
|
@@ -25959,7 +27622,7 @@ const Title$8 = styled__default["default"].h5`
|
|
|
25959
27622
|
font-size: 14px;
|
|
25960
27623
|
}
|
|
25961
27624
|
`;
|
|
25962
|
-
const EventWeeksLegendMainContainer =
|
|
27625
|
+
const EventWeeksLegendMainContainer = dt.div`
|
|
25963
27626
|
display: flex;
|
|
25964
27627
|
justify-content: center;
|
|
25965
27628
|
flex-direction: column;
|
|
@@ -25967,14 +27630,14 @@ const EventWeeksLegendMainContainer = styled__default["default"].div`
|
|
|
25967
27630
|
padding-left: 55px;
|
|
25968
27631
|
align-items: center;
|
|
25969
27632
|
`;
|
|
25970
|
-
const EventWeeksLegendDataElementsContainer =
|
|
27633
|
+
const EventWeeksLegendDataElementsContainer = dt.div`
|
|
25971
27634
|
display: flex;
|
|
25972
27635
|
margin: 0px;
|
|
25973
27636
|
align-items: center;
|
|
25974
27637
|
justify-content: space-around;
|
|
25975
27638
|
width: 100%;
|
|
25976
27639
|
`;
|
|
25977
|
-
const EventWeeksLegendDataElement =
|
|
27640
|
+
const EventWeeksLegendDataElement = dt.h4`
|
|
25978
27641
|
display: flex;
|
|
25979
27642
|
font-weight: ${props => props.fontWeight};
|
|
25980
27643
|
font-size: 12px;
|
|
@@ -25996,7 +27659,7 @@ const EventWeeksLegendDataElement = styled__default["default"].h4`
|
|
|
25996
27659
|
font-size: 10px;
|
|
25997
27660
|
}
|
|
25998
27661
|
`;
|
|
25999
|
-
const LegendWrapper =
|
|
27662
|
+
const LegendWrapper = dt.div`
|
|
26000
27663
|
padding-top: 15px;
|
|
26001
27664
|
`;
|
|
26002
27665
|
|
|
@@ -26034,7 +27697,7 @@ const LegendLineIcon = ({
|
|
|
26034
27697
|
fill: color
|
|
26035
27698
|
}));
|
|
26036
27699
|
|
|
26037
|
-
const ControlsContainer$4 =
|
|
27700
|
+
const ControlsContainer$4 = dt.div`
|
|
26038
27701
|
position: relative;
|
|
26039
27702
|
font-family: "Poppins", sans-serif;
|
|
26040
27703
|
font-size: ${props => props.rootFont};
|
|
@@ -26046,7 +27709,7 @@ const ControlsContainer$4 = styled__default["default"].div`
|
|
|
26046
27709
|
box-sizing: border-box;
|
|
26047
27710
|
}
|
|
26048
27711
|
`;
|
|
26049
|
-
const Controls$2 =
|
|
27712
|
+
const Controls$2 = dt.div`
|
|
26050
27713
|
display: flex;
|
|
26051
27714
|
gap: 20px;
|
|
26052
27715
|
flex-direction: column;
|
|
@@ -26054,7 +27717,7 @@ const Controls$2 = styled__default["default"].div`
|
|
|
26054
27717
|
height: 100%;
|
|
26055
27718
|
background: white;
|
|
26056
27719
|
`;
|
|
26057
|
-
const LegendDataContainer =
|
|
27720
|
+
const LegendDataContainer = dt.div`
|
|
26058
27721
|
display: flex;
|
|
26059
27722
|
justify-content: center;
|
|
26060
27723
|
gap: 40px;
|
|
@@ -26066,11 +27729,11 @@ const LegendDataContainer = styled__default["default"].div`
|
|
|
26066
27729
|
gap: 30px;
|
|
26067
27730
|
}
|
|
26068
27731
|
`;
|
|
26069
|
-
const TitleAndIconContainer =
|
|
27732
|
+
const TitleAndIconContainer = dt.div`
|
|
26070
27733
|
display: flex;
|
|
26071
27734
|
align-items: center;
|
|
26072
27735
|
`;
|
|
26073
|
-
const Title$7 =
|
|
27736
|
+
const Title$7 = dt.h4`
|
|
26074
27737
|
font-weight: 400;
|
|
26075
27738
|
font-size: 14px;
|
|
26076
27739
|
line-height: 27px;
|
|
@@ -26082,7 +27745,7 @@ const Title$7 = styled__default["default"].h4`
|
|
|
26082
27745
|
font-size: 12px;
|
|
26083
27746
|
}
|
|
26084
27747
|
`;
|
|
26085
|
-
const LegendColorRectangle$1 =
|
|
27748
|
+
const LegendColorRectangle$1 = dt.div`
|
|
26086
27749
|
width: 0.875rem;
|
|
26087
27750
|
min-width: 0.875rem;
|
|
26088
27751
|
height: 0.875rem;
|
|
@@ -26483,7 +28146,7 @@ const scrollableStyles$2 = `
|
|
|
26483
28146
|
border-radius: 5px;
|
|
26484
28147
|
}
|
|
26485
28148
|
`;
|
|
26486
|
-
const ControlsContainer$3 =
|
|
28149
|
+
const ControlsContainer$3 = dt.div`
|
|
26487
28150
|
position: relative;
|
|
26488
28151
|
font-family: "Poppins", sans-serif;
|
|
26489
28152
|
font-style: normal;
|
|
@@ -26502,7 +28165,7 @@ const ControlsContainer$3 = styled__default["default"].div`
|
|
|
26502
28165
|
box-sizing: border-box;
|
|
26503
28166
|
}
|
|
26504
28167
|
`;
|
|
26505
|
-
const Controls$1 =
|
|
28168
|
+
const Controls$1 = dt.div`
|
|
26506
28169
|
display: flex;
|
|
26507
28170
|
flex-direction: column;
|
|
26508
28171
|
width: 100%;
|
|
@@ -26510,7 +28173,7 @@ const Controls$1 = styled__default["default"].div`
|
|
|
26510
28173
|
background: white;
|
|
26511
28174
|
border-radius: 12px;
|
|
26512
28175
|
`;
|
|
26513
|
-
const TooltipDiv$1 =
|
|
28176
|
+
const TooltipDiv$1 = dt.div`
|
|
26514
28177
|
display: flex;
|
|
26515
28178
|
background: white;
|
|
26516
28179
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
@@ -26518,7 +28181,7 @@ const TooltipDiv$1 = styled__default["default"].div`
|
|
|
26518
28181
|
padding: 6px 10px;
|
|
26519
28182
|
margin: 0;
|
|
26520
28183
|
`;
|
|
26521
|
-
const TooltipLabel$1 =
|
|
28184
|
+
const TooltipLabel$1 = dt.p`
|
|
26522
28185
|
color: #212121;
|
|
26523
28186
|
font-family: "Poppins", sans-serif;
|
|
26524
28187
|
font-size: 12px;
|
|
@@ -26528,12 +28191,12 @@ const TooltipLabel$1 = styled__default["default"].p`
|
|
|
26528
28191
|
line-height: normal;
|
|
26529
28192
|
margin: 0;
|
|
26530
28193
|
`;
|
|
26531
|
-
const TitleAndValueContainer$1 =
|
|
28194
|
+
const TitleAndValueContainer$1 = dt.div`
|
|
26532
28195
|
display: flex;
|
|
26533
28196
|
flex-direction: column;
|
|
26534
28197
|
padding: 0 20px;
|
|
26535
28198
|
`;
|
|
26536
|
-
const Title$6 =
|
|
28199
|
+
const Title$6 = dt.h4`
|
|
26537
28200
|
font-weight: 500;
|
|
26538
28201
|
font-size: 1rem;
|
|
26539
28202
|
margin: 0;
|
|
@@ -26544,13 +28207,13 @@ const Title$6 = styled__default["default"].h4`
|
|
|
26544
28207
|
font-size: 12px;
|
|
26545
28208
|
}
|
|
26546
28209
|
`;
|
|
26547
|
-
const CurrencySignAndFormattedValueContainer =
|
|
28210
|
+
const CurrencySignAndFormattedValueContainer = dt.div`
|
|
26548
28211
|
display: flex;
|
|
26549
28212
|
align-items: center;
|
|
26550
28213
|
gap: 5px;
|
|
26551
28214
|
align-items: baseline;
|
|
26552
28215
|
`;
|
|
26553
|
-
const CurrencySign$1 =
|
|
28216
|
+
const CurrencySign$1 = dt.span`
|
|
26554
28217
|
font-weight: 500;
|
|
26555
28218
|
font-size: 16px;
|
|
26556
28219
|
@media (max-width: 1536px) {
|
|
@@ -26560,7 +28223,7 @@ const CurrencySign$1 = styled__default["default"].span`
|
|
|
26560
28223
|
font-size: 11px;
|
|
26561
28224
|
}
|
|
26562
28225
|
`;
|
|
26563
|
-
const FormattedValue$1 =
|
|
28226
|
+
const FormattedValue$1 = dt.div`
|
|
26564
28227
|
font-weight: 500;
|
|
26565
28228
|
font-size: 40px;
|
|
26566
28229
|
@media (max-width: 1536px) {
|
|
@@ -26570,7 +28233,7 @@ const FormattedValue$1 = styled__default["default"].div`
|
|
|
26570
28233
|
font-size: 20px;
|
|
26571
28234
|
}
|
|
26572
28235
|
`;
|
|
26573
|
-
const TextAfterValue =
|
|
28236
|
+
const TextAfterValue = dt.div`
|
|
26574
28237
|
font-weight: 400;
|
|
26575
28238
|
font-size: 12px;
|
|
26576
28239
|
@media (max-width: 1536px) {
|
|
@@ -26580,45 +28243,45 @@ const TextAfterValue = styled__default["default"].div`
|
|
|
26580
28243
|
font-size: 10px;
|
|
26581
28244
|
}
|
|
26582
28245
|
`;
|
|
26583
|
-
const DoughnutChartAndLegendContainer =
|
|
28246
|
+
const DoughnutChartAndLegendContainer = dt.div`
|
|
26584
28247
|
display: flex;
|
|
26585
28248
|
justify-content: space-between;
|
|
26586
28249
|
margin-top: auto;
|
|
26587
28250
|
padding: 0 20px ;
|
|
26588
28251
|
margin-bottom: 20px;
|
|
26589
28252
|
`;
|
|
26590
|
-
const DoughnutChartContainer =
|
|
28253
|
+
const DoughnutChartContainer = dt.div`
|
|
26591
28254
|
display: flex;
|
|
26592
28255
|
align-items: center;
|
|
26593
28256
|
min-width: 90px;
|
|
26594
28257
|
min-height: 90px;
|
|
26595
28258
|
`;
|
|
26596
|
-
const LegendContainer$1 =
|
|
28259
|
+
const LegendContainer$1 = dt.div`
|
|
26597
28260
|
padding-left: 10px;
|
|
26598
28261
|
display: flex;
|
|
26599
28262
|
flex-direction: column;
|
|
26600
28263
|
justify-content: space-evenly;
|
|
26601
28264
|
`;
|
|
26602
|
-
const LegendControlsContainer =
|
|
28265
|
+
const LegendControlsContainer = dt.div`
|
|
26603
28266
|
display: flex;
|
|
26604
28267
|
gap: 0.5rem;
|
|
26605
28268
|
align-items: center;
|
|
26606
28269
|
margin-bottom: 0.375rem;
|
|
26607
28270
|
`;
|
|
26608
|
-
const LegendTitleAndFormatedValueContainer =
|
|
28271
|
+
const LegendTitleAndFormatedValueContainer = dt.div`
|
|
26609
28272
|
flex-grow: 1;
|
|
26610
28273
|
`;
|
|
26611
|
-
|
|
28274
|
+
dt.div`
|
|
26612
28275
|
font-size: 0.875rem;
|
|
26613
28276
|
`;
|
|
26614
|
-
const LegendColorRectangle =
|
|
28277
|
+
const LegendColorRectangle = dt.div`
|
|
26615
28278
|
width: 0.875rem;
|
|
26616
28279
|
min-width: 0.875rem;
|
|
26617
28280
|
height: 0.875rem;
|
|
26618
28281
|
border-radius: 2px;
|
|
26619
28282
|
background: ${props => props.color};
|
|
26620
28283
|
`;
|
|
26621
|
-
const LegendTitle =
|
|
28284
|
+
const LegendTitle = dt.h5`
|
|
26622
28285
|
font-weight: 400;
|
|
26623
28286
|
font-size: 16px;
|
|
26624
28287
|
gap: 5px;
|
|
@@ -26632,7 +28295,7 @@ const LegendTitle = styled__default["default"].h5`
|
|
|
26632
28295
|
font-size: 10px;
|
|
26633
28296
|
}
|
|
26634
28297
|
`;
|
|
26635
|
-
const LegendFormattedValue =
|
|
28298
|
+
const LegendFormattedValue = dt.span`
|
|
26636
28299
|
font-weight: 500;
|
|
26637
28300
|
white-space: nowrap;
|
|
26638
28301
|
`;
|
|
@@ -26841,7 +28504,7 @@ CustomTooltip.defaultProps = {
|
|
|
26841
28504
|
isPercent: false
|
|
26842
28505
|
};
|
|
26843
28506
|
|
|
26844
|
-
const TooltipContainer$1 =
|
|
28507
|
+
const TooltipContainer$1 = dt.div`
|
|
26845
28508
|
--tooltip-text-color: black;
|
|
26846
28509
|
--tooltip-background-color: white;
|
|
26847
28510
|
--tooltip-margin: 40px;
|
|
@@ -26851,11 +28514,11 @@ const TooltipContainer$1 = styled__default["default"].div`
|
|
|
26851
28514
|
top: ${props => props.top};
|
|
26852
28515
|
left: ${props => props.left};
|
|
26853
28516
|
`;
|
|
26854
|
-
const TooltipWrapper =
|
|
28517
|
+
const TooltipWrapper = dt.div`
|
|
26855
28518
|
display: inline-block;
|
|
26856
28519
|
position: relative;
|
|
26857
28520
|
`;
|
|
26858
|
-
const TooltipTip =
|
|
28521
|
+
const TooltipTip = dt.div`
|
|
26859
28522
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
26860
28523
|
position: absolute;
|
|
26861
28524
|
border-radius: 4px;
|
|
@@ -26970,7 +28633,7 @@ Tooltip.defaultProps = {
|
|
|
26970
28633
|
content: ''
|
|
26971
28634
|
};
|
|
26972
28635
|
|
|
26973
|
-
const ControlsContainer$2 =
|
|
28636
|
+
const ControlsContainer$2 = dt.div`
|
|
26974
28637
|
font-family: "Poppins", sans-serif;
|
|
26975
28638
|
background-color: white;
|
|
26976
28639
|
color: ${props => props.textColor};
|
|
@@ -26995,7 +28658,7 @@ const ControlsContainer$2 = styled__default["default"].div`
|
|
|
26995
28658
|
border-radius: 5px;
|
|
26996
28659
|
}
|
|
26997
28660
|
`;
|
|
26998
|
-
|
|
28661
|
+
dt.div`
|
|
26999
28662
|
overflow-y: auto;
|
|
27000
28663
|
height: 100%;
|
|
27001
28664
|
|
|
@@ -27013,14 +28676,14 @@ styled__default["default"].div`
|
|
|
27013
28676
|
border-radius: 5px;
|
|
27014
28677
|
}
|
|
27015
28678
|
`;
|
|
27016
|
-
const CardHeader =
|
|
28679
|
+
const CardHeader = dt.div`
|
|
27017
28680
|
padding: 16px;
|
|
27018
28681
|
position: sticky;
|
|
27019
28682
|
top: 0;
|
|
27020
28683
|
z-index: 10;
|
|
27021
28684
|
background-color: white;
|
|
27022
28685
|
`;
|
|
27023
|
-
const TotalValue =
|
|
28686
|
+
const TotalValue = dt.div`
|
|
27024
28687
|
font-weight: 500;
|
|
27025
28688
|
font-size: 40px;
|
|
27026
28689
|
display: flex;
|
|
@@ -27033,7 +28696,7 @@ const TotalValue = styled__default["default"].div`
|
|
|
27033
28696
|
font-size: 20px;
|
|
27034
28697
|
}
|
|
27035
28698
|
`;
|
|
27036
|
-
const Title$5 =
|
|
28699
|
+
const Title$5 = dt.h4`
|
|
27037
28700
|
font-size: 18px;
|
|
27038
28701
|
font-weight: 400;
|
|
27039
28702
|
line-height: 1;
|
|
@@ -27045,7 +28708,7 @@ const Title$5 = styled__default["default"].h4`
|
|
|
27045
28708
|
font-size: 12px;
|
|
27046
28709
|
}
|
|
27047
28710
|
`;
|
|
27048
|
-
const CurrencySign =
|
|
28711
|
+
const CurrencySign = dt.span`
|
|
27049
28712
|
font-weight: 500;
|
|
27050
28713
|
font-size: 16px;
|
|
27051
28714
|
@media (max-width: 1536px) {
|
|
@@ -27299,7 +28962,7 @@ TotalHorizontalCharts.defaultProps = {
|
|
|
27299
28962
|
hideTitle: false
|
|
27300
28963
|
};
|
|
27301
28964
|
|
|
27302
|
-
const ControlsContainer$1 =
|
|
28965
|
+
const ControlsContainer$1 = dt.div`
|
|
27303
28966
|
// position: relative;
|
|
27304
28967
|
display: flex;
|
|
27305
28968
|
flex-direction: column;
|
|
@@ -27311,12 +28974,12 @@ const ControlsContainer$1 = styled__default["default"].div`
|
|
|
27311
28974
|
box-shadow: ${props => props.showBorderShadow ? '0px 0px 20px 0px rgba(0, 0, 0, 0.2)' : null};
|
|
27312
28975
|
border-radius: 12px;
|
|
27313
28976
|
`;
|
|
27314
|
-
const TitleAndValueContainer =
|
|
28977
|
+
const TitleAndValueContainer = dt.div`
|
|
27315
28978
|
display: flex;
|
|
27316
28979
|
justify-content: space-between;
|
|
27317
28980
|
padding: 0;
|
|
27318
28981
|
`;
|
|
27319
|
-
const ItemsContainer =
|
|
28982
|
+
const ItemsContainer = dt.div`
|
|
27320
28983
|
display: grid;
|
|
27321
28984
|
grid-template-columns: repeat(2, 1fr); /* Two columns */
|
|
27322
28985
|
padding: 20px;
|
|
@@ -27324,13 +28987,13 @@ const ItemsContainer = styled__default["default"].div`
|
|
|
27324
28987
|
width: 90%;
|
|
27325
28988
|
height: 100%;
|
|
27326
28989
|
`;
|
|
27327
|
-
const ItemContainer =
|
|
28990
|
+
const ItemContainer = dt.div`
|
|
27328
28991
|
display: flex;
|
|
27329
28992
|
justify-content: flex-start;
|
|
27330
28993
|
flex-direction: column;
|
|
27331
28994
|
flex-wrap: wrap;
|
|
27332
28995
|
`;
|
|
27333
|
-
const Title$4 =
|
|
28996
|
+
const Title$4 = dt.h4`
|
|
27334
28997
|
font-size: 18px;
|
|
27335
28998
|
font-weight: 500;
|
|
27336
28999
|
margin: 0;
|
|
@@ -27341,7 +29004,7 @@ const Title$4 = styled__default["default"].h4`
|
|
|
27341
29004
|
font-size: 14px;
|
|
27342
29005
|
}
|
|
27343
29006
|
`;
|
|
27344
|
-
const ItemTitle =
|
|
29007
|
+
const ItemTitle = dt.h4`
|
|
27345
29008
|
font-size: 18px;
|
|
27346
29009
|
font-weight: 500;
|
|
27347
29010
|
margin: 0;
|
|
@@ -27352,7 +29015,7 @@ const ItemTitle = styled__default["default"].h4`
|
|
|
27352
29015
|
font-size: 12px;
|
|
27353
29016
|
}
|
|
27354
29017
|
`;
|
|
27355
|
-
const FormattedValue =
|
|
29018
|
+
const FormattedValue = dt.div`
|
|
27356
29019
|
font-weight: 500;
|
|
27357
29020
|
font-size: 40px;
|
|
27358
29021
|
display: flex;
|
|
@@ -27365,7 +29028,7 @@ const FormattedValue = styled__default["default"].div`
|
|
|
27365
29028
|
font-size: 20px;
|
|
27366
29029
|
}
|
|
27367
29030
|
`;
|
|
27368
|
-
const OutBanner =
|
|
29031
|
+
const OutBanner = dt.div`
|
|
27369
29032
|
display: flex;
|
|
27370
29033
|
gap: 8px;
|
|
27371
29034
|
align-items: center;
|
|
@@ -27392,7 +29055,7 @@ const OutBanner = styled__default["default"].div`
|
|
|
27392
29055
|
}
|
|
27393
29056
|
}
|
|
27394
29057
|
`;
|
|
27395
|
-
const TextBeforeAndAfterValue =
|
|
29058
|
+
const TextBeforeAndAfterValue = dt.span`
|
|
27396
29059
|
font-weight: 500;
|
|
27397
29060
|
font-size: 16px;
|
|
27398
29061
|
@media (max-width: 1536px) {
|
|
@@ -27512,8 +29175,8 @@ const scrollableStyles$1 = `
|
|
|
27512
29175
|
border-radius: 5px;
|
|
27513
29176
|
}
|
|
27514
29177
|
`;
|
|
27515
|
-
const MainContainer =
|
|
27516
|
-
const ModalOverlay =
|
|
29178
|
+
const MainContainer = dt.div``;
|
|
29179
|
+
const ModalOverlay = dt.div`
|
|
27517
29180
|
position: fixed;
|
|
27518
29181
|
z-index: 100;
|
|
27519
29182
|
top: 0;
|
|
@@ -27525,7 +29188,7 @@ const ModalOverlay = styled__default["default"].div`
|
|
|
27525
29188
|
justify-content: center;
|
|
27526
29189
|
align-items: center;
|
|
27527
29190
|
`;
|
|
27528
|
-
const ModalContent =
|
|
29191
|
+
const ModalContent = dt.div`
|
|
27529
29192
|
font-family: "Poppins", sans-serif;
|
|
27530
29193
|
font-weight: 500;
|
|
27531
29194
|
font-size: 18px;
|
|
@@ -27537,7 +29200,7 @@ const ModalContent = styled__default["default"].div`
|
|
|
27537
29200
|
width: ${props => props.width};
|
|
27538
29201
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
27539
29202
|
`;
|
|
27540
|
-
const TitleContainer$1 =
|
|
29203
|
+
const TitleContainer$1 = dt.div`
|
|
27541
29204
|
display: flex;
|
|
27542
29205
|
justify-content: space-between;
|
|
27543
29206
|
align-items: center;
|
|
@@ -27545,12 +29208,12 @@ const TitleContainer$1 = styled__default["default"].div`
|
|
|
27545
29208
|
margin: 0;
|
|
27546
29209
|
border-bottom: 1px solid #b1b1b1;
|
|
27547
29210
|
`;
|
|
27548
|
-
const Title$3 =
|
|
29211
|
+
const Title$3 = dt.p`
|
|
27549
29212
|
font-weight: 400;
|
|
27550
29213
|
font-size: 24px;
|
|
27551
29214
|
margin: 0;
|
|
27552
29215
|
`;
|
|
27553
|
-
const ChartsContainer =
|
|
29216
|
+
const ChartsContainer = dt.div`
|
|
27554
29217
|
display: grid;
|
|
27555
29218
|
grid-template-columns: repeat(3, 1fr); /* 3 columns */
|
|
27556
29219
|
flex-wrap: wrap;
|
|
@@ -27560,7 +29223,7 @@ const ChartsContainer = styled__default["default"].div`
|
|
|
27560
29223
|
height: ${props => props.height};
|
|
27561
29224
|
padding: 10px 0 0 0;
|
|
27562
29225
|
`;
|
|
27563
|
-
const ChartItemMainContainer =
|
|
29226
|
+
const ChartItemMainContainer = dt.div`
|
|
27564
29227
|
// display: flex;
|
|
27565
29228
|
margin: 10px 10px 10px 10px;
|
|
27566
29229
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
|
|
@@ -27568,29 +29231,29 @@ const ChartItemMainContainer = styled__default["default"].div`
|
|
|
27568
29231
|
padding-right: 10px;
|
|
27569
29232
|
|
|
27570
29233
|
`;
|
|
27571
|
-
const ChartItemContainer =
|
|
29234
|
+
const ChartItemContainer = dt.div`
|
|
27572
29235
|
display: flex;
|
|
27573
29236
|
justify-content: flex-start;
|
|
27574
29237
|
align-items: center;
|
|
27575
29238
|
margin: 20px 10px;
|
|
27576
29239
|
`;
|
|
27577
|
-
const ChartItemTitle =
|
|
29240
|
+
const ChartItemTitle = dt.h3`
|
|
27578
29241
|
font-weight: 400;
|
|
27579
29242
|
font-size: 16px;
|
|
27580
29243
|
line-height: 24px;
|
|
27581
29244
|
margin: 0 10px;
|
|
27582
29245
|
color: ${props => props.subtitleTextColor};
|
|
27583
29246
|
`;
|
|
27584
|
-
const ChartItemIconContainer =
|
|
29247
|
+
const ChartItemIconContainer = dt.h3`
|
|
27585
29248
|
margin: 0 0 0 10px;
|
|
27586
29249
|
`;
|
|
27587
|
-
const ChartContentContainer =
|
|
29250
|
+
const ChartContentContainer = dt.div`
|
|
27588
29251
|
font-weight: 500;
|
|
27589
29252
|
font-size: 14px;
|
|
27590
29253
|
margin: 0;
|
|
27591
29254
|
border-radius: 12px;
|
|
27592
29255
|
`;
|
|
27593
|
-
const CloseXIconContainer =
|
|
29256
|
+
const CloseXIconContainer = dt.div`
|
|
27594
29257
|
display: block;
|
|
27595
29258
|
margin: 0;
|
|
27596
29259
|
cursor: pointer;
|
|
@@ -27857,29 +29520,29 @@ const scrollableStyles = `
|
|
|
27857
29520
|
border-radius: 5px;
|
|
27858
29521
|
}
|
|
27859
29522
|
`;
|
|
27860
|
-
const TopToggleListMainContainer =
|
|
29523
|
+
const TopToggleListMainContainer = dt.div`
|
|
27861
29524
|
font-family: "Lato", sans-serif;
|
|
27862
29525
|
color: #212121;
|
|
27863
29526
|
padding: 0 24px;
|
|
27864
29527
|
width: ${props => props.width};
|
|
27865
29528
|
`;
|
|
27866
|
-
const Title$2 =
|
|
29529
|
+
const Title$2 = dt.h4`
|
|
27867
29530
|
font-size: 14px;
|
|
27868
29531
|
font-weight: 600;
|
|
27869
29532
|
margin: 20px 0 12px;
|
|
27870
29533
|
`;
|
|
27871
|
-
const ListContainer =
|
|
29534
|
+
const ListContainer = dt.ul`
|
|
27872
29535
|
height: ${props => props.height};
|
|
27873
29536
|
padding: 0;
|
|
27874
29537
|
margin: 0;
|
|
27875
29538
|
list-style-type: none;
|
|
27876
29539
|
${scrollableStyles}
|
|
27877
29540
|
`;
|
|
27878
|
-
const ListItem =
|
|
29541
|
+
const ListItem = dt.li`
|
|
27879
29542
|
padding: 20px 0;
|
|
27880
29543
|
border-bottom: 1px solid #F3F4F6;
|
|
27881
29544
|
`;
|
|
27882
|
-
const Item =
|
|
29545
|
+
const Item = dt.span`
|
|
27883
29546
|
font-size: 14px;
|
|
27884
29547
|
font-weight: 400;
|
|
27885
29548
|
`;
|
|
@@ -27930,7 +29593,7 @@ TopToggleList.defaultProps = {
|
|
|
27930
29593
|
}]
|
|
27931
29594
|
};
|
|
27932
29595
|
|
|
27933
|
-
const HeatmapContainer =
|
|
29596
|
+
const HeatmapContainer = dt.div`
|
|
27934
29597
|
|
|
27935
29598
|
display: flex;
|
|
27936
29599
|
flex-direction: column;
|
|
@@ -27943,19 +29606,19 @@ const HeatmapContainer = styled__default["default"].div`
|
|
|
27943
29606
|
`;
|
|
27944
29607
|
|
|
27945
29608
|
// Wrapper with padding
|
|
27946
|
-
const HeatmapWrapper =
|
|
29609
|
+
const HeatmapWrapper = dt.div`
|
|
27947
29610
|
display: flex;
|
|
27948
29611
|
flex-direction: column;
|
|
27949
29612
|
padding: 20px;
|
|
27950
29613
|
height: ${props => props.height};
|
|
27951
29614
|
`;
|
|
27952
|
-
const TitleContainer =
|
|
29615
|
+
const TitleContainer = dt.div`
|
|
27953
29616
|
display: flex;
|
|
27954
29617
|
align-items: center;
|
|
27955
29618
|
justify-content: flex-start;
|
|
27956
29619
|
margin: 0 0 10px 0;
|
|
27957
29620
|
`;
|
|
27958
|
-
const Title$1 =
|
|
29621
|
+
const Title$1 = dt.h3`
|
|
27959
29622
|
user-select: none;
|
|
27960
29623
|
text-align: left;
|
|
27961
29624
|
margin: 0;
|
|
@@ -27969,7 +29632,7 @@ const Title$1 = styled__default["default"].h3`
|
|
|
27969
29632
|
font-size: 14px;
|
|
27970
29633
|
}
|
|
27971
29634
|
`;
|
|
27972
|
-
const BarsContainer =
|
|
29635
|
+
const BarsContainer = dt.div`
|
|
27973
29636
|
position: relative;
|
|
27974
29637
|
display: flex;
|
|
27975
29638
|
align-items: center;
|
|
@@ -27977,7 +29640,7 @@ const BarsContainer = styled__default["default"].div`
|
|
|
27977
29640
|
width: 100%;
|
|
27978
29641
|
height: ${props => props.height};
|
|
27979
29642
|
`;
|
|
27980
|
-
const BarWrapper =
|
|
29643
|
+
const BarWrapper = dt.div`
|
|
27981
29644
|
display: flex;
|
|
27982
29645
|
flex-direction: column;
|
|
27983
29646
|
/* align-items: center; */
|
|
@@ -27986,7 +29649,7 @@ const BarWrapper = styled__default["default"].div`
|
|
|
27986
29649
|
width: ${props => props.width};
|
|
27987
29650
|
height: ${props => props.height};
|
|
27988
29651
|
`;
|
|
27989
|
-
const BarContainer =
|
|
29652
|
+
const BarContainer = dt(framerMotion.motion.div)`
|
|
27990
29653
|
background-color: ${props => props.color};
|
|
27991
29654
|
display: flex;
|
|
27992
29655
|
align-items: center;
|
|
@@ -27994,13 +29657,13 @@ const BarContainer = styled__default["default"](framerMotion.motion.div)`
|
|
|
27994
29657
|
height: ${props => props.height};
|
|
27995
29658
|
width: 0%; /* Starts at 0% for animation */
|
|
27996
29659
|
`;
|
|
27997
|
-
const BarLabel =
|
|
29660
|
+
const BarLabel = dt.span`
|
|
27998
29661
|
color: white;
|
|
27999
29662
|
font-size: 14px;
|
|
28000
29663
|
font-weight: 400;
|
|
28001
29664
|
user-select: none;
|
|
28002
29665
|
`;
|
|
28003
|
-
const TooltipContainer =
|
|
29666
|
+
const TooltipContainer = dt.div`
|
|
28004
29667
|
position: absolute;
|
|
28005
29668
|
|
|
28006
29669
|
top: ${props => props.top};
|
|
@@ -28037,7 +29700,7 @@ const TooltipContainer = styled__default["default"].div`
|
|
|
28037
29700
|
border-top: 12px solid white;
|
|
28038
29701
|
} */
|
|
28039
29702
|
`;
|
|
28040
|
-
const LegendContainer =
|
|
29703
|
+
const LegendContainer = dt.div`
|
|
28041
29704
|
display: flex;
|
|
28042
29705
|
align-items: center;
|
|
28043
29706
|
justify-content: center;
|
|
@@ -28047,19 +29710,19 @@ const LegendContainer = styled__default["default"].div`
|
|
|
28047
29710
|
width: 100%;
|
|
28048
29711
|
flex-shrink: 0;
|
|
28049
29712
|
`;
|
|
28050
|
-
const LegendItem =
|
|
29713
|
+
const LegendItem = dt.div`
|
|
28051
29714
|
display: flex;
|
|
28052
29715
|
align-items: center;
|
|
28053
29716
|
margin-right: 15px;
|
|
28054
29717
|
`;
|
|
28055
|
-
const LegendColorBox =
|
|
29718
|
+
const LegendColorBox = dt.div`
|
|
28056
29719
|
width: 16px;
|
|
28057
29720
|
height: 16px;
|
|
28058
29721
|
margin-right: 8px;
|
|
28059
29722
|
background-color: ${props => props.color};
|
|
28060
29723
|
border-radius: 2px;
|
|
28061
29724
|
`;
|
|
28062
|
-
const LegendLabel =
|
|
29725
|
+
const LegendLabel = dt.span`
|
|
28063
29726
|
user-select: none;
|
|
28064
29727
|
font-family: "Poppins", sans-serif;
|
|
28065
29728
|
color: #212121;
|
|
@@ -28245,11 +29908,11 @@ Heatmap.propTypes = {
|
|
|
28245
29908
|
barHeight: PropTypes.string.isRequired
|
|
28246
29909
|
};
|
|
28247
29910
|
|
|
28248
|
-
const ButtonWrapper =
|
|
29911
|
+
const ButtonWrapper = dt.div`
|
|
28249
29912
|
width: fit-content;
|
|
28250
29913
|
text-align: center;
|
|
28251
29914
|
`;
|
|
28252
|
-
const IconButtonContainer =
|
|
29915
|
+
const IconButtonContainer = dt.a`
|
|
28253
29916
|
font-size: 14px;
|
|
28254
29917
|
font-weight: 400;
|
|
28255
29918
|
display: flex;
|
|
@@ -28264,7 +29927,7 @@ const IconButtonContainer = styled__default["default"].a`
|
|
|
28264
29927
|
background: ${props => props.backgroundColor.toString()};
|
|
28265
29928
|
position: relative;
|
|
28266
29929
|
transition: all .3s;
|
|
28267
|
-
${props => props.inProgress &&
|
|
29930
|
+
${props => props.inProgress && lt`
|
|
28268
29931
|
pointer-events: none;
|
|
28269
29932
|
&:after {
|
|
28270
29933
|
content: 'In progress';
|
|
@@ -28291,9 +29954,9 @@ const IconButtonContainer = styled__default["default"].a`
|
|
|
28291
29954
|
box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
|
|
28292
29955
|
}
|
|
28293
29956
|
`;
|
|
28294
|
-
const SpanText =
|
|
29957
|
+
const SpanText = dt.span`
|
|
28295
29958
|
`;
|
|
28296
|
-
const CancelClick =
|
|
29959
|
+
const CancelClick = dt.span`
|
|
28297
29960
|
display: inherit;
|
|
28298
29961
|
font-family: "Lato", sans-serif;;
|
|
28299
29962
|
font-size: 14px;
|
|
@@ -28449,7 +30112,7 @@ IconButton.defaultProps = {
|
|
|
28449
30112
|
onCancelClick: () => {}
|
|
28450
30113
|
};
|
|
28451
30114
|
|
|
28452
|
-
const LinnerContainer =
|
|
30115
|
+
const LinnerContainer = dt.div`
|
|
28453
30116
|
font-family: "Poppins", sans-serif;
|
|
28454
30117
|
display: grid;
|
|
28455
30118
|
gap: 48px 0;
|
|
@@ -28461,7 +30124,7 @@ const LinnerContainer = styled__default["default"].div`
|
|
|
28461
30124
|
padding: 50px 20px 20px;
|
|
28462
30125
|
box-sizing: border-box;
|
|
28463
30126
|
`;
|
|
28464
|
-
const DataBox =
|
|
30127
|
+
const DataBox = dt.div`
|
|
28465
30128
|
height: 100%;
|
|
28466
30129
|
padding: 0 40px;
|
|
28467
30130
|
border-left: 1px solid #d0d0d0;
|
|
@@ -28475,33 +30138,33 @@ const DataBox = styled__default["default"].div`
|
|
|
28475
30138
|
padding-right: 0;
|
|
28476
30139
|
}
|
|
28477
30140
|
`;
|
|
28478
|
-
const CellItem =
|
|
30141
|
+
const CellItem = dt.div`
|
|
28479
30142
|
display: flex;
|
|
28480
30143
|
align-items: center;
|
|
28481
30144
|
`;
|
|
28482
|
-
const DataBoxTitle =
|
|
30145
|
+
const DataBoxTitle = dt.span`
|
|
28483
30146
|
font-size: 18px;
|
|
28484
30147
|
display: block;
|
|
28485
30148
|
margin: 0 0 12px;
|
|
28486
30149
|
`;
|
|
28487
|
-
const BigValue =
|
|
30150
|
+
const BigValue = dt.span`
|
|
28488
30151
|
font-size: 40px;
|
|
28489
30152
|
font-weight: 500;
|
|
28490
30153
|
margin-right: 5px;
|
|
28491
30154
|
`;
|
|
28492
|
-
const CellItemValueSign =
|
|
30155
|
+
const CellItemValueSign = dt.span`
|
|
28493
30156
|
font-size: 16px;
|
|
28494
30157
|
font-weight: 400;
|
|
28495
30158
|
`;
|
|
28496
|
-
const ValueChange =
|
|
30159
|
+
const ValueChange = dt.span`
|
|
28497
30160
|
font-size: 16px;
|
|
28498
30161
|
font-weight: 400;
|
|
28499
30162
|
`;
|
|
28500
|
-
const CellItemNoValue =
|
|
30163
|
+
const CellItemNoValue = dt.span`
|
|
28501
30164
|
font-size: 40px;
|
|
28502
30165
|
font-weight: 500;
|
|
28503
30166
|
`;
|
|
28504
|
-
const PercentageChange =
|
|
30167
|
+
const PercentageChange = dt.div`
|
|
28505
30168
|
display: flex;
|
|
28506
30169
|
align-items: center;
|
|
28507
30170
|
font-size: 16px;
|
|
@@ -28616,7 +30279,7 @@ const DoublePanelDataRow = props => {
|
|
|
28616
30279
|
// showPercentChange: false,
|
|
28617
30280
|
// };
|
|
28618
30281
|
|
|
28619
|
-
const ControlsContainer =
|
|
30282
|
+
const ControlsContainer = dt.div`
|
|
28620
30283
|
position: relative;
|
|
28621
30284
|
font-family: "Poppins", sans-serif;
|
|
28622
30285
|
color: #212121;
|
|
@@ -28624,32 +30287,32 @@ const ControlsContainer = styled__default["default"].div`
|
|
|
28624
30287
|
height: ${props => props.height};
|
|
28625
30288
|
min-width: 250px;
|
|
28626
30289
|
`;
|
|
28627
|
-
const Controls =
|
|
30290
|
+
const Controls = dt.div`
|
|
28628
30291
|
height: 100%;
|
|
28629
30292
|
width: 100%;
|
|
28630
30293
|
background: white;
|
|
28631
30294
|
display: flex;
|
|
28632
30295
|
flex-direction: column;
|
|
28633
30296
|
`;
|
|
28634
|
-
const TooltipDiv =
|
|
30297
|
+
const TooltipDiv = dt.div`
|
|
28635
30298
|
border-radius: 5px;
|
|
28636
30299
|
padding: 8px 12px;
|
|
28637
30300
|
background: white;
|
|
28638
30301
|
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
28639
30302
|
margin: 0;
|
|
28640
30303
|
`;
|
|
28641
|
-
const TooltipLabel =
|
|
30304
|
+
const TooltipLabel = dt.div`
|
|
28642
30305
|
color: #212121;
|
|
28643
30306
|
font-size: 14px;
|
|
28644
30307
|
font-weight: 400;
|
|
28645
30308
|
width: fit-content;
|
|
28646
30309
|
`;
|
|
28647
|
-
const TooltipTitle =
|
|
30310
|
+
const TooltipTitle = dt.div`
|
|
28648
30311
|
color: #212121;
|
|
28649
30312
|
font-size: 14px;
|
|
28650
30313
|
font-weight: 600;
|
|
28651
30314
|
`;
|
|
28652
|
-
const Title =
|
|
30315
|
+
const Title = dt.h5`
|
|
28653
30316
|
font-weight: 500;
|
|
28654
30317
|
font-size: 18px;
|
|
28655
30318
|
line-height: 20px;
|
|
@@ -28662,10 +30325,10 @@ const Title = styled__default["default"].h5`
|
|
|
28662
30325
|
font-size: 14px;
|
|
28663
30326
|
}
|
|
28664
30327
|
`;
|
|
28665
|
-
const LabelBoldText =
|
|
30328
|
+
const LabelBoldText = dt.tspan`
|
|
28666
30329
|
font-size: 0.7em;
|
|
28667
30330
|
`;
|
|
28668
|
-
const LabelText =
|
|
30331
|
+
const LabelText = dt.tspan`
|
|
28669
30332
|
font-size: 0.6em;
|
|
28670
30333
|
`;
|
|
28671
30334
|
|