@buildcanada/charts 0.3.4 → 0.3.6
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/package.json +1 -1
- package/src/components/GrapherTabIcon.tsx +1 -1
- package/src/components/GrapherTrendArrow.tsx +1 -1
- package/src/components/Halo/Halo.tsx +1 -1
- package/src/components/LabeledSwitch/LabeledSwitch.tsx +1 -1
- package/src/components/MarkdownTextWrap/MarkdownTextWrap.tsx +4 -4
- package/src/components/OverlayHeader.tsx +1 -1
- package/src/components/SimpleMarkdownText.tsx +1 -1
- package/src/components/TextWrap/TextWrap.tsx +1 -1
- package/src/components/index.ts +23 -23
- package/src/components/loadingIndicator/LoadingIndicator.tsx +1 -1
- package/src/core-table/ChartsTable.ts +7 -7
- package/src/core-table/CoreTable.ts +6 -6
- package/src/core-table/CoreTableColumns.ts +5 -5
- package/src/core-table/CoreTableUtils.ts +3 -3
- package/src/core-table/ErrorValues.ts +1 -1
- package/src/core-table/TableSynthesizers.ts +3 -3
- package/src/core-table/TableUtil.ts +2 -2
- package/src/core-table/Transforms.ts +3 -3
- package/src/core-table/index.ts +8 -8
- package/src/explorer/ColumnGrammar.ts +4 -4
- package/src/explorer/Explorer.sample.ts +4 -4
- package/src/explorer/Explorer.tsx +10 -10
- package/src/explorer/ExplorerConstants.ts +2 -2
- package/src/explorer/ExplorerControls.tsx +4 -4
- package/src/explorer/ExplorerDecisionMatrix.ts +7 -7
- package/src/explorer/ExplorerGrammar.ts +4 -4
- package/src/explorer/ExplorerProgram.ts +11 -11
- package/src/explorer/ExplorerUtils.ts +4 -4
- package/src/explorer/GrapherGrammar.ts +3 -3
- package/src/explorer/gridLang/GridCell.ts +4 -4
- package/src/explorer/gridLang/GridLangConstants.ts +1 -1
- package/src/explorer/gridLang/GridProgram.ts +5 -5
- package/src/explorer/index.ts +15 -15
- package/src/explorer/urlMigrations/CO2UrlMigration.ts +3 -3
- package/src/explorer/urlMigrations/CovidUrlMigration.ts +2 -2
- package/src/explorer/urlMigrations/EnergyUrlMigration.ts +3 -3
- package/src/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.ts +1 -1
- package/src/explorer/urlMigrations/ExplorerUrlMigrationUtils.ts +2 -2
- package/src/explorer/urlMigrations/ExplorerUrlMigrations.ts +5 -5
- package/src/explorer/urlMigrations/LegacyCovidUrlMigration.ts +4 -4
- package/src/grapher/axis/Axis.ts +5 -5
- package/src/grapher/axis/AxisConfig.ts +2 -2
- package/src/grapher/axis/AxisViews.tsx +2 -2
- package/src/grapher/barCharts/DiscreteBarChart.tsx +4 -4
- package/src/grapher/barCharts/DiscreteBarChartConstants.ts +4 -4
- package/src/grapher/barCharts/DiscreteBarChartHelpers.ts +3 -3
- package/src/grapher/barCharts/DiscreteBarChartState.ts +2 -2
- package/src/grapher/barCharts/DiscreteBarChartThumbnail.tsx +2 -2
- package/src/grapher/captionedChart/CaptionedChart.tsx +4 -4
- package/src/grapher/captionedChart/Logos.tsx +2 -2
- package/src/grapher/captionedChart/StaticChartRasterizer.tsx +1 -1
- package/src/grapher/chart/Chart.tsx +5 -5
- package/src/grapher/chart/ChartAreaContent.tsx +3 -3
- package/src/grapher/chart/ChartDimension.ts +2 -2
- package/src/grapher/chart/ChartInterface.ts +2 -2
- package/src/grapher/chart/ChartManager.ts +3 -3
- package/src/grapher/chart/ChartTabs.ts +1 -1
- package/src/grapher/chart/ChartTypeMap.tsx +9 -9
- package/src/grapher/chart/ChartTypeSwitcher.tsx +1 -1
- package/src/grapher/chart/ChartUtils.tsx +3 -3
- package/src/grapher/chart/DimensionSlot.ts +1 -1
- package/src/grapher/chart/StaticChartWrapper.tsx +5 -5
- package/src/grapher/chart/guidedChartUtils.ts +4 -4
- package/src/grapher/color/BinningStrategies.ts +4 -4
- package/src/grapher/color/BinningStrategyEqualSizeBins.ts +3 -3
- package/src/grapher/color/BinningStrategyLogarithmic.ts +3 -3
- package/src/grapher/color/CategoricalColorAssigner.ts +1 -1
- package/src/grapher/color/ColorBrewerSchemes.ts +1 -1
- package/src/grapher/color/ColorScale.ts +4 -4
- package/src/grapher/color/ColorScaleBin.ts +1 -1
- package/src/grapher/color/ColorScaleConfig.ts +2 -2
- package/src/grapher/color/ColorScheme.ts +2 -2
- package/src/grapher/color/ColorSchemes.ts +2 -2
- package/src/grapher/color/ColorUtils.ts +1 -1
- package/src/grapher/color/CustomSchemes.ts +2 -2
- package/src/grapher/comparisonLine/ComparisonLine.tsx +1 -1
- package/src/grapher/comparisonLine/ComparisonLineGenerator.ts +1 -1
- package/src/grapher/comparisonLine/ComparisonLineHelpers.ts +1 -1
- package/src/grapher/comparisonLine/CustomComparisonLine.tsx +3 -3
- package/src/grapher/comparisonLine/VerticalComparisonLine.tsx +2 -2
- package/src/grapher/controls/ActionButtons.tsx +4 -4
- package/src/grapher/controls/CommandPalette.tsx +1 -1
- package/src/grapher/controls/ContentSwitchers.tsx +3 -3
- package/src/grapher/controls/DataTableFilterDropdown.tsx +2 -2
- package/src/grapher/controls/Dropdown.tsx +1 -1
- package/src/grapher/controls/EntitySelectionToggle.tsx +1 -1
- package/src/grapher/controls/MapRegionDropdown.tsx +1 -1
- package/src/grapher/controls/MapResetButton.tsx +1 -1
- package/src/grapher/controls/MapZoomDropdown.tsx +2 -2
- package/src/grapher/controls/MapZoomToSelectionButton.tsx +1 -1
- package/src/grapher/controls/SearchField.tsx +1 -1
- package/src/grapher/controls/SettingsMenu.tsx +3 -3
- package/src/grapher/controls/ShareMenu.tsx +3 -3
- package/src/grapher/controls/SortIcon.tsx +1 -1
- package/src/grapher/controls/controlsRow/ControlsRow.tsx +1 -1
- package/src/grapher/controls/entityPicker/EntityPicker.tsx +2 -2
- package/src/grapher/controls/entityPicker/EntityPickerConstants.ts +3 -3
- package/src/grapher/controls/globalEntitySelector/GlobalEntitySelector.tsx +2 -2
- package/src/grapher/controls/settings/AbsRelToggle.tsx +2 -2
- package/src/grapher/controls/settings/AxisScaleToggle.tsx +1 -1
- package/src/grapher/controls/settings/FacetStrategySelector.tsx +1 -1
- package/src/grapher/controls/settings/FacetYDomainToggle.tsx +2 -2
- package/src/grapher/controls/settings/NoDataAreaToggle.tsx +1 -1
- package/src/grapher/controls/settings/ZoomToggle.tsx +1 -1
- package/src/grapher/core/EntitiesByRegionType.ts +2 -2
- package/src/grapher/core/EntityCodes.ts +2 -2
- package/src/grapher/core/EntityUrlBuilder.ts +2 -2
- package/src/grapher/core/FetchingGrapher.tsx +8 -8
- package/src/grapher/core/Grapher.tsx +6 -6
- package/src/grapher/core/GrapherAnalytics.ts +1 -1
- package/src/grapher/core/GrapherConstants.ts +3 -3
- package/src/grapher/core/GrapherState.tsx +38 -38
- package/src/grapher/core/GrapherUrl.ts +4 -4
- package/src/grapher/core/GrapherUrlMigrations.ts +1 -1
- package/src/grapher/core/GrapherUseHelpers.tsx +5 -5
- package/src/grapher/core/LegacyToChartsTable.ts +4 -4
- package/src/grapher/core/loadGrapherTableHelpers.ts +4 -4
- package/src/grapher/core/loadVariable.ts +2 -2
- package/src/grapher/core/relatedQuestion.ts +1 -1
- package/src/grapher/dataTable/DataTable.sample.ts +3 -3
- package/src/grapher/dataTable/DataTable.tsx +3 -3
- package/src/grapher/dataTable/DataTableConstants.ts +2 -2
- package/src/grapher/entitySelector/EntitySelector.tsx +7 -7
- package/src/grapher/facet/FacetChart.tsx +4 -4
- package/src/grapher/facet/FacetChartConstants.ts +2 -2
- package/src/grapher/facet/FacetMap.tsx +4 -4
- package/src/grapher/facet/FacetMapConstants.ts +1 -1
- package/src/grapher/focus/FocusArray.ts +2 -2
- package/src/grapher/footer/Footer.tsx +2 -2
- package/src/grapher/footer/FooterManager.ts +1 -1
- package/src/grapher/fullScreen/FullScreen.tsx +1 -1
- package/src/grapher/header/Header.tsx +2 -2
- package/src/grapher/header/HeaderManager.ts +2 -2
- package/src/grapher/index.ts +8 -8
- package/src/grapher/legend/HorizontalColorLegends.tsx +2 -2
- package/src/grapher/legend/LegendInteractionState.ts +1 -1
- package/src/grapher/legend/VerticalColorLegend.tsx +2 -2
- package/src/grapher/lineCharts/LineChart.tsx +6 -6
- package/src/grapher/lineCharts/LineChartConstants.ts +2 -2
- package/src/grapher/lineCharts/LineChartHelpers.ts +2 -2
- package/src/grapher/lineCharts/LineChartState.ts +3 -3
- package/src/grapher/lineCharts/LineChartThumbnail.tsx +3 -3
- package/src/grapher/lineCharts/Lines.tsx +1 -1
- package/src/grapher/lineLegend/LineLegend.tsx +6 -6
- package/src/grapher/lineLegend/LineLegendHelpers.ts +1 -1
- package/src/grapher/lineLegend/LineLegendTypes.ts +2 -2
- package/src/grapher/mapCharts/ChoroplethGlobe.tsx +1 -1
- package/src/grapher/mapCharts/ChoroplethMap.tsx +1 -1
- package/src/grapher/mapCharts/GeoFeatures.ts +1 -1
- package/src/grapher/mapCharts/GlobeController.ts +2 -2
- package/src/grapher/mapCharts/MapAnnotations.ts +1 -1
- package/src/grapher/mapCharts/MapChart.sample.ts +2 -2
- package/src/grapher/mapCharts/MapChart.tsx +6 -6
- package/src/grapher/mapCharts/MapChartConstants.ts +4 -4
- package/src/grapher/mapCharts/MapChartState.ts +3 -3
- package/src/grapher/mapCharts/MapComponents.tsx +2 -2
- package/src/grapher/mapCharts/MapConfig.ts +2 -2
- package/src/grapher/mapCharts/MapHelpers.ts +5 -5
- package/src/grapher/mapCharts/MapProjections.ts +2 -2
- package/src/grapher/mapCharts/MapSparkline.tsx +5 -5
- package/src/grapher/mapCharts/MapTooltip.tsx +6 -6
- package/src/grapher/modal/DownloadModal.tsx +7 -7
- package/src/grapher/modal/EmbedModal.tsx +2 -2
- package/src/grapher/modal/EntitySelectorModal.tsx +1 -1
- package/src/grapher/modal/Modal.tsx +1 -1
- package/src/grapher/modal/ModalHeader.tsx +1 -1
- package/src/grapher/modal/SourcesDescriptions.tsx +1 -1
- package/src/grapher/modal/SourcesKeyDataTable.tsx +2 -2
- package/src/grapher/modal/SourcesModal.tsx +4 -4
- package/src/grapher/noDataModal/NoDataModal.tsx +2 -2
- package/src/grapher/scatterCharts/ConnectedScatterLegend.tsx +2 -2
- package/src/grapher/scatterCharts/NoDataSection.tsx +1 -1
- package/src/grapher/scatterCharts/ScatterPlotChart.tsx +5 -5
- package/src/grapher/scatterCharts/ScatterPlotChartConstants.ts +4 -4
- package/src/grapher/scatterCharts/ScatterPlotChartState.ts +4 -4
- package/src/grapher/scatterCharts/ScatterPlotChartThumbnail.tsx +2 -2
- package/src/grapher/scatterCharts/ScatterPlotTooltip.tsx +3 -3
- package/src/grapher/scatterCharts/ScatterPoints.tsx +1 -1
- package/src/grapher/scatterCharts/ScatterPointsWithLabels.tsx +3 -3
- package/src/grapher/scatterCharts/ScatterSizeLegend.tsx +3 -3
- package/src/grapher/scatterCharts/ScatterUtils.ts +3 -3
- package/src/grapher/schema/defaultGrapherConfig.ts +1 -1
- package/src/grapher/schema/migrations/migrate.ts +1 -1
- package/src/grapher/schema/migrations/migrations.ts +1 -1
- package/src/grapher/selection/MapSelectionArray.ts +1 -1
- package/src/grapher/selection/SelectionArray.ts +1 -1
- package/src/grapher/sidePanel/SidePanel.tsx +2 -2
- package/src/grapher/slopeCharts/MarkX.tsx +1 -1
- package/src/grapher/slopeCharts/Slope.tsx +1 -1
- package/src/grapher/slopeCharts/SlopeChart.tsx +5 -5
- package/src/grapher/slopeCharts/SlopeChartConstants.ts +3 -3
- package/src/grapher/slopeCharts/SlopeChartHelpers.ts +1 -1
- package/src/grapher/slopeCharts/SlopeChartState.ts +3 -3
- package/src/grapher/slopeCharts/SlopeChartThumbnail.tsx +3 -3
- package/src/grapher/stackedCharts/AbstractStackedChartState.ts +13 -13
- package/src/grapher/stackedCharts/MarimekkoBars.tsx +1 -1
- package/src/grapher/stackedCharts/MarimekkoBarsForOneEntity.tsx +2 -2
- package/src/grapher/stackedCharts/MarimekkoChart.tsx +5 -5
- package/src/grapher/stackedCharts/MarimekkoChartConstants.ts +3 -3
- package/src/grapher/stackedCharts/MarimekkoChartState.ts +5 -5
- package/src/grapher/stackedCharts/MarimekkoChartThumbnail.tsx +2 -2
- package/src/grapher/stackedCharts/MarimekkoInternalLabels.tsx +2 -2
- package/src/grapher/stackedCharts/StackedAreaChart.tsx +6 -6
- package/src/grapher/stackedCharts/StackedAreaChartState.ts +5 -5
- package/src/grapher/stackedCharts/StackedAreaChartThumbnail.tsx +3 -3
- package/src/grapher/stackedCharts/StackedAreas.tsx +2 -2
- package/src/grapher/stackedCharts/StackedBarChart.tsx +6 -6
- package/src/grapher/stackedCharts/StackedBarChartState.ts +8 -8
- package/src/grapher/stackedCharts/StackedBarChartThumbnail.tsx +3 -3
- package/src/grapher/stackedCharts/StackedBarSegment.tsx +1 -1
- package/src/grapher/stackedCharts/StackedBars.tsx +3 -3
- package/src/grapher/stackedCharts/StackedConstants.ts +3 -3
- package/src/grapher/stackedCharts/StackedDiscreteBarChart.tsx +3 -3
- package/src/grapher/stackedCharts/StackedDiscreteBarChartState.ts +3 -3
- package/src/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.tsx +1 -1
- package/src/grapher/stackedCharts/StackedDiscreteBars.tsx +5 -5
- package/src/grapher/stackedCharts/StackedUtils.ts +2 -2
- package/src/grapher/testData/TestData.sample.ts +2 -2
- package/src/grapher/testData/TestData.ts +2 -2
- package/src/grapher/timeline/TimelineComponent.tsx +2 -2
- package/src/grapher/timeline/TimelineController.ts +2 -2
- package/src/grapher/tooltip/Tooltip.tsx +4 -4
- package/src/grapher/tooltip/TooltipContents.tsx +5 -5
- package/src/grapher/tooltip/TooltipProps.ts +1 -1
- package/src/grapher/tooltip/TooltipState.ts +1 -1
- package/src/grapher/verticalLabels/VerticalLabels.tsx +1 -1
- package/src/grapher/verticalLabels/VerticalLabelsState.ts +2 -2
- package/src/index.ts +55 -55
- package/src/types/Origin.ts +1 -1
- package/src/types/Variable.ts +3 -3
- package/src/types/VariableDisplayConfigInterface.ts +2 -2
- package/src/types/domainTypes/ContentGraph.ts +2 -2
- package/src/types/domainTypes/CoreTableTypes.ts +5 -5
- package/src/types/domainTypes/Posts.ts +4 -4
- package/src/types/domainTypes/Search.ts +2 -2
- package/src/types/gdocTypes/Gdoc.ts +2 -2
- package/src/types/grapherTypes/GrapherTypes.ts +9 -9
- package/src/types/index.ts +15 -15
- package/src/utils/Bounds.ts +2 -2
- package/src/utils/FuzzySearch.ts +1 -1
- package/src/utils/TimeBounds.ts +2 -2
- package/src/utils/Util.ts +3 -3
- package/src/utils/Variable.ts +2 -2
- package/src/utils/archival/archivalDate.ts +2 -2
- package/src/utils/formatValue.ts +2 -2
- package/src/utils/grapherConfigUtils.ts +1 -1
- package/src/utils/image.ts +2 -2
- package/src/utils/index.ts +27 -27
- package/src/utils/metadataHelpers.ts +3 -3
- package/src/utils/regions.ts +2 -2
- package/src/utils/urls/Url.ts +3 -3
- package/src/utils/urls/UrlMigration.ts +1 -1
- package/src/utils/urls/UrlUtils.ts +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
excludeUndefined,
|
|
5
5
|
getRegionByName,
|
|
6
6
|
Url,
|
|
7
|
-
} from "../../utils/index
|
|
7
|
+
} from "../../utils/index"
|
|
8
8
|
import {
|
|
9
9
|
SeriesStrategy,
|
|
10
10
|
EntityName,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
PrimitiveType,
|
|
18
18
|
ColumnTypeNames,
|
|
19
19
|
Time,
|
|
20
|
-
} from "../../types/index
|
|
20
|
+
} from "../../types/index"
|
|
21
21
|
import { LineChartSeries } from "../lineCharts/LineChartConstants"
|
|
22
22
|
import { SelectionArray } from "../selection/SelectionArray"
|
|
23
23
|
import { ChartManager } from "./ChartManager"
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ErrorValueTypes,
|
|
37
37
|
isNotErrorValueOrEmptyCell,
|
|
38
38
|
ChartsTable,
|
|
39
|
-
} from "../../core-table/index
|
|
39
|
+
} from "../../core-table/index"
|
|
40
40
|
import { GRAPHER_BACKGROUND_DEFAULT } from "../color/ColorConstants"
|
|
41
41
|
import { InteractionState } from "../interaction/InteractionState"
|
|
42
42
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { GrapherState } from "../core/GrapherState"
|
|
4
4
|
import { computed, makeObservable } from "mobx"
|
|
5
5
|
import { ChartDimension } from "./ChartDimension"
|
|
6
|
-
import { DimensionProperty } from "../../utils/index
|
|
6
|
+
import { DimensionProperty } from "../../utils/index"
|
|
7
7
|
|
|
8
8
|
export class DimensionSlot {
|
|
9
9
|
private grapherState: GrapherState
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import { computed, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
|
-
import { Bounds } from "../../utils/index
|
|
5
|
-
import { DEFAULT_GRAPHER_BOUNDS } from "../core/GrapherConstants
|
|
6
|
-
import { CaptionedChartManager } from "../captionedChart/CaptionedChart
|
|
7
|
-
import { GRAPHER_BACKGROUND_DEFAULT } from "../color/ColorConstants
|
|
8
|
-
import { getChartSvgProps, NoDataPattern } from "./ChartUtils
|
|
4
|
+
import { Bounds } from "../../utils/index"
|
|
5
|
+
import { DEFAULT_GRAPHER_BOUNDS } from "../core/GrapherConstants"
|
|
6
|
+
import { CaptionedChartManager } from "../captionedChart/CaptionedChart"
|
|
7
|
+
import { GRAPHER_BACKGROUND_DEFAULT } from "../color/ColorConstants"
|
|
8
|
+
import { getChartSvgProps, NoDataPattern } from "./ChartUtils"
|
|
9
9
|
|
|
10
10
|
interface StaticChartWrapperProps {
|
|
11
11
|
manager: CaptionedChartManager
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
|
-
import { GrapherProgrammaticInterface } from "../core/Grapher
|
|
3
|
-
import { GrapherState } from "../core/GrapherState
|
|
4
|
-
import { MultiDimDataPageConfig, Url } from "../../utils/index
|
|
2
|
+
import { GrapherProgrammaticInterface } from "../core/Grapher"
|
|
3
|
+
import { GrapherState } from "../core/GrapherState"
|
|
4
|
+
import { MultiDimDataPageConfig, Url } from "../../utils/index"
|
|
5
5
|
import {
|
|
6
6
|
GrapherQueryParams,
|
|
7
7
|
MultiDimDimensionChoices,
|
|
8
8
|
ChartConfigType,
|
|
9
|
-
} from "../../types/index
|
|
9
|
+
} from "../../types/index"
|
|
10
10
|
|
|
11
11
|
export interface ArchiveGuidedChartRegistration {
|
|
12
12
|
iframeRef: React.RefObject<HTMLIFrameElement | null>
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
AutomaticBinningStrategy,
|
|
4
4
|
MidpointMode,
|
|
5
5
|
ResolvedBinningStrategy,
|
|
6
|
-
} from "../../types/index
|
|
6
|
+
} from "../../types/index"
|
|
7
7
|
import {
|
|
8
8
|
firstOfNonEmptyArray,
|
|
9
9
|
lastOfNonEmptyArray,
|
|
10
|
-
} from "../../utils/index
|
|
10
|
+
} from "../../utils/index"
|
|
11
11
|
import { quantile } from "d3"
|
|
12
12
|
import { sortedUniq } from "lodash-es"
|
|
13
13
|
import * as R from "remeda"
|
|
@@ -15,11 +15,11 @@ import { match, P } from "ts-pattern"
|
|
|
15
15
|
import {
|
|
16
16
|
isLogBinningStrategy,
|
|
17
17
|
runLogBinningStrategy,
|
|
18
|
-
} from "./BinningStrategyLogarithmic
|
|
18
|
+
} from "./BinningStrategyLogarithmic"
|
|
19
19
|
import {
|
|
20
20
|
isEqualSizeBinningStrategy,
|
|
21
21
|
runEqualSizeBinningStrategy,
|
|
22
|
-
} from "./BinningStrategyEqualSizeBins
|
|
22
|
+
} from "./BinningStrategyEqualSizeBins"
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Strategies:
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
BinningStrategyIncludingManual,
|
|
3
3
|
EqualSizeBinningStrategy,
|
|
4
4
|
ResolvedBinningStrategy,
|
|
5
|
-
} from "../../types/index
|
|
5
|
+
} from "../../types/index"
|
|
6
6
|
import {
|
|
7
7
|
normaliseToSingleDigitNumber,
|
|
8
8
|
RequiredBy,
|
|
9
9
|
roundSigFig,
|
|
10
|
-
} from "../../utils/index
|
|
10
|
+
} from "../../utils/index"
|
|
11
11
|
import * as R from "remeda"
|
|
12
12
|
import { match, P } from "ts-pattern"
|
|
13
|
-
import { ResolvedBinningStrategyConfig } from "./BinningStrategies
|
|
13
|
+
import { ResolvedBinningStrategyConfig } from "./BinningStrategies"
|
|
14
14
|
|
|
15
15
|
export const isEqualSizeBinningStrategy = (
|
|
16
16
|
strategy: BinningStrategyIncludingManual | ResolvedBinningStrategy
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { numberMagnitude, RequiredBy } from "../../utils/index
|
|
1
|
+
import { numberMagnitude, RequiredBy } from "../../utils/index"
|
|
2
2
|
import {
|
|
3
3
|
BinningStrategyIncludingManual,
|
|
4
4
|
LogBinningStrategy,
|
|
5
5
|
ResolvedLogBinningStrategy,
|
|
6
|
-
} from "../../types/index
|
|
6
|
+
} from "../../types/index"
|
|
7
7
|
import {
|
|
8
8
|
calcMagnitudeDiff,
|
|
9
9
|
pruneUnusedBins,
|
|
10
10
|
ResolvedBinningStrategyConfig,
|
|
11
|
-
} from "./BinningStrategies
|
|
11
|
+
} from "./BinningStrategies"
|
|
12
12
|
import * as R from "remeda"
|
|
13
13
|
import { match } from "ts-pattern"
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _ from "lodash-es"
|
|
2
2
|
import { computed, toJS, makeObservable } from "mobx"
|
|
3
3
|
import { ColorScaleConfig } from "./ColorScaleConfig"
|
|
4
|
-
import { mapNullToUndefined, sortNumeric } from "../../utils/index
|
|
4
|
+
import { mapNullToUndefined, sortNumeric } from "../../utils/index"
|
|
5
5
|
import { pairs } from "d3-array"
|
|
6
6
|
import { ColorSchemes } from "../color/ColorSchemes"
|
|
7
7
|
import { ColorScheme } from "../color/ColorScheme"
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
Color,
|
|
14
14
|
CoreValueType,
|
|
15
15
|
VariableRoundingMode,
|
|
16
|
-
} from "../../types/index
|
|
17
|
-
import { CoreColumn } from "../../core-table/index
|
|
16
|
+
} from "../../types/index"
|
|
17
|
+
import { CoreColumn } from "../../core-table/index"
|
|
18
18
|
import * as R from "remeda"
|
|
19
|
-
import { runBinningStrategy } from "./BinningStrategies
|
|
19
|
+
import { runBinningStrategy } from "./BinningStrategies"
|
|
20
20
|
|
|
21
21
|
export const NO_DATA_LABEL = "No data"
|
|
22
22
|
export const PROJECTED_DATA_LABEL = "Projected data"
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
ColorSchemeName,
|
|
8
8
|
ColorScaleConfigInterface,
|
|
9
9
|
MidpointMode,
|
|
10
|
-
} from "../../types/index
|
|
10
|
+
} from "../../types/index"
|
|
11
11
|
import {
|
|
12
12
|
trimObject,
|
|
13
13
|
deleteRuntimeAndUnchangedProps,
|
|
14
14
|
objectWithPersistablesToObject,
|
|
15
15
|
Persistable,
|
|
16
16
|
updatePersistables,
|
|
17
|
-
} from "../../utils/index
|
|
17
|
+
} from "../../utils/index"
|
|
18
18
|
|
|
19
19
|
import { NO_DATA_LABEL } from "./ColorScale"
|
|
20
20
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import * as _ from "lodash-es"
|
|
3
3
|
import { rgb } from "d3-color"
|
|
4
4
|
import { interpolate } from "d3-interpolate"
|
|
5
|
-
import { lastOfNonEmptyArray, Color } from "../../utils/index
|
|
6
|
-
import { ColorSchemeInterface } from "../../types/index
|
|
5
|
+
import { lastOfNonEmptyArray, Color } from "../../utils/index"
|
|
6
|
+
import { ColorSchemeInterface } from "../../types/index"
|
|
7
7
|
import { interpolateArray } from "./ColorUtils"
|
|
8
8
|
|
|
9
9
|
export class ColorScheme implements ColorSchemeInterface {
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
ColorSchemeName,
|
|
9
9
|
GRAPHER_MAP_TYPE,
|
|
10
10
|
GrapherChartOrMapType,
|
|
11
|
-
} from "../../types/index
|
|
12
|
-
import { getColorBrewerScheme } from "./ColorBrewerSchemes
|
|
11
|
+
} from "../../types/index"
|
|
12
|
+
import { getColorBrewerScheme } from "./ColorBrewerSchemes"
|
|
13
13
|
|
|
14
14
|
function getPreferredSchemesByType(
|
|
15
15
|
type: GrapherChartOrMapType
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _ from "lodash-es"
|
|
2
|
-
import { lazy } from "../../utils/index
|
|
3
|
-
import { ColorSchemeInterface, ColorSchemeName } from "../../types/index
|
|
2
|
+
import { lazy } from "../../utils/index"
|
|
3
|
+
import { ColorSchemeInterface, ColorSchemeName } from "../../types/index"
|
|
4
4
|
import * as R from "remeda"
|
|
5
5
|
|
|
6
6
|
// TODO: Initialize CustomColorSchemes lazily
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Color,
|
|
4
4
|
ComparisonLineConfig,
|
|
5
5
|
VerticalComparisonLineConfig,
|
|
6
|
-
} from "../../types/index
|
|
6
|
+
} from "../../types/index"
|
|
7
7
|
import { VerticalComparisonLine } from "./VerticalComparisonLine"
|
|
8
8
|
import { CustomComparisonLine } from "./CustomComparisonLine"
|
|
9
9
|
import { isValidVerticalComparisonLineConfig } from "./ComparisonLineHelpers"
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
guid,
|
|
7
7
|
PointVector,
|
|
8
8
|
makeIdForHumanConsumption,
|
|
9
|
-
} from "../../utils/index
|
|
10
|
-
import { CustomComparisonLineConfig } from "../../types/index
|
|
9
|
+
} from "../../utils/index"
|
|
10
|
+
import { CustomComparisonLineConfig } from "../../types/index"
|
|
11
11
|
import { generateComparisonLinePoints } from "./ComparisonLineGenerator"
|
|
12
|
-
import { Halo } from "../../components/index
|
|
12
|
+
import { Halo } from "../../components/index"
|
|
13
13
|
import { GRAPHER_TEXT_OUTLINE_FACTOR } from "../core/GrapherConstants"
|
|
14
14
|
import { ClipPath, makeClipPath } from "../chart/ChartUtils"
|
|
15
15
|
import {
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
dyFromAlign,
|
|
8
8
|
makeIdForHumanConsumption,
|
|
9
9
|
VerticalAlign,
|
|
10
|
-
} from "../../utils/index
|
|
10
|
+
} from "../../utils/index"
|
|
11
11
|
import {
|
|
12
12
|
COMPARISON_LINE_STYLE,
|
|
13
13
|
COMPARISON_LINE_LABEL_STYLE,
|
|
14
14
|
} from "./ComparisonLineConstants"
|
|
15
15
|
import { ComparisonLineProps } from "./ComparisonLine"
|
|
16
|
-
import { VerticalComparisonLineConfig } from "../../types/index
|
|
16
|
+
import { VerticalComparisonLineConfig } from "../../types/index"
|
|
17
17
|
import { isValidVerticalComparisonLineConfig } from "./ComparisonLineHelpers"
|
|
18
18
|
|
|
19
19
|
@observer
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ShareMenuManager,
|
|
17
17
|
shareUsingShareApi,
|
|
18
18
|
shouldShareUsingShareApi,
|
|
19
|
-
} from "./ShareMenu
|
|
20
|
-
import { Tippy } from "../../utils/index
|
|
19
|
+
} from "./ShareMenu"
|
|
20
|
+
import { Tippy } from "../../utils/index"
|
|
21
21
|
import classNames from "classnames"
|
|
22
|
-
import { GrapherModal } from "../core/GrapherConstants
|
|
23
|
-
import { DownloadModalTabName } from "../modal/DownloadModal
|
|
22
|
+
import { GrapherModal } from "../core/GrapherConstants"
|
|
23
|
+
import { DownloadModalTabName } from "../modal/DownloadModal"
|
|
24
24
|
|
|
25
25
|
export interface ActionButtonsManager extends ShareMenuManager {
|
|
26
26
|
isAdmin?: boolean
|
|
@@ -2,11 +2,11 @@ import * as React from "react"
|
|
|
2
2
|
import { action, computed, observable, makeObservable } from "mobx"
|
|
3
3
|
import cx from "classnames"
|
|
4
4
|
import { observer } from "mobx-react"
|
|
5
|
-
import { GrapherTabName } from "../../types/index
|
|
6
|
-
import { TabItem, Tabs } from "../tabs/Tabs
|
|
5
|
+
import { GrapherTabName } from "../../types/index"
|
|
6
|
+
import { TabItem, Tabs } from "../tabs/Tabs"
|
|
7
7
|
import { makeLabelForGrapherTab } from "../chart/ChartTabs"
|
|
8
8
|
import { Menu, MenuItem, Popover } from "react-aria-components"
|
|
9
|
-
import { GrapherTabIcon } from "../../components/index
|
|
9
|
+
import { GrapherTabIcon } from "../../components/index"
|
|
10
10
|
|
|
11
11
|
export interface ContentSwitchersManager {
|
|
12
12
|
availableTabs?: GrapherTabName[]
|
|
@@ -2,9 +2,9 @@ import * as React from "react"
|
|
|
2
2
|
import { computed, action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
4
|
import { Dropdown } from "./Dropdown"
|
|
5
|
-
import { EntityName } from "../../utils/index
|
|
5
|
+
import { EntityName } from "../../utils/index"
|
|
6
6
|
import { DataTableConfig } from "../dataTable/DataTableConstants"
|
|
7
|
-
import { ChartsTable } from "../../core-table/index
|
|
7
|
+
import { ChartsTable } from "../../core-table/index"
|
|
8
8
|
import { SelectionArray } from "../selection/SelectionArray"
|
|
9
9
|
import { makeSelectionArray } from "../chart/ChartUtils"
|
|
10
10
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "react-aria-components"
|
|
19
19
|
import { faTimesCircle } from "@fortawesome/free-solid-svg-icons"
|
|
20
20
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
21
|
-
import { isTouchDevice } from "../../utils/index
|
|
21
|
+
import { isTouchDevice } from "../../utils/index"
|
|
22
22
|
|
|
23
23
|
export interface BasicDropdownOption {
|
|
24
24
|
trackNote?: string
|
|
@@ -4,7 +4,7 @@ import { observer } from "mobx-react"
|
|
|
4
4
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
5
5
|
import { faEye, faRightLeft, faPen } from "@fortawesome/free-solid-svg-icons"
|
|
6
6
|
import classnames from "classnames"
|
|
7
|
-
import { GrapherWindowType } from "../../types/index
|
|
7
|
+
import { GrapherWindowType } from "../../types/index"
|
|
8
8
|
|
|
9
9
|
export interface EntitySelectionManager {
|
|
10
10
|
canHighlightEntities?: boolean
|
|
@@ -2,7 +2,7 @@ import * as React from "react"
|
|
|
2
2
|
import { computed, action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
4
|
import { MapConfig } from "../mapCharts/MapConfig"
|
|
5
|
-
import { MapRegionName } from "../../types/index
|
|
5
|
+
import { MapRegionName } from "../../types/index"
|
|
6
6
|
import { Dropdown } from "./Dropdown"
|
|
7
7
|
import { MAP_REGION_LABELS } from "../mapCharts/MapChartConstants"
|
|
8
8
|
import { GlobeController } from "../mapCharts/GlobeController"
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
GrapherWindowType,
|
|
7
7
|
MapRegionName,
|
|
8
8
|
TimeBound,
|
|
9
|
-
} from "../../utils/index
|
|
9
|
+
} from "../../utils/index"
|
|
10
10
|
import { GlobeController } from "../mapCharts/GlobeController"
|
|
11
11
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
12
12
|
import { faRotateLeft } from "@fortawesome/free-solid-svg-icons"
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
checkIsIncomeGroupName,
|
|
15
15
|
getUserCountryInformation,
|
|
16
16
|
regions,
|
|
17
|
-
} from "../../utils/index
|
|
17
|
+
} from "../../utils/index"
|
|
18
18
|
import { GlobeController } from "../mapCharts/GlobeController"
|
|
19
19
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
20
20
|
import { faLocationArrow } from "@fortawesome/free-solid-svg-icons"
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
DropdownCollection,
|
|
24
24
|
DropdownCollectionItem,
|
|
25
25
|
DropdownOptionGroup,
|
|
26
|
-
} from "./Dropdown
|
|
26
|
+
} from "./Dropdown"
|
|
27
27
|
import { MAP_REGION_LABELS } from "../mapCharts/MapChartConstants"
|
|
28
28
|
import { match } from "ts-pattern"
|
|
29
29
|
import * as R from "remeda"
|
|
@@ -3,7 +3,7 @@ import { computed, action, makeObservable } from "mobx"
|
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
4
|
import { MapConfig } from "../mapCharts/MapConfig"
|
|
5
5
|
import { GlobeController } from "../mapCharts/GlobeController"
|
|
6
|
-
import { MapRegionName } from "../../types/index
|
|
6
|
+
import { MapRegionName } from "../../types/index"
|
|
7
7
|
|
|
8
8
|
export interface MapZoomToSelectionButtonManager {
|
|
9
9
|
mapConfig?: MapConfig
|
|
@@ -6,7 +6,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
|
6
6
|
import * as React from "react"
|
|
7
7
|
import { forwardRef } from "react"
|
|
8
8
|
import cx from "classnames"
|
|
9
|
-
import { isTouchDevice } from "../../utils/index
|
|
9
|
+
import { isTouchDevice } from "../../utils/index"
|
|
10
10
|
|
|
11
11
|
export const SearchField = forwardRef<
|
|
12
12
|
HTMLInputElement,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
GRAPHER_CHART_TYPES,
|
|
17
17
|
FacetStrategy,
|
|
18
18
|
GrapherChartType,
|
|
19
|
-
} from "../../types/index
|
|
20
|
-
import { OverlayHeader } from "../../components/index
|
|
19
|
+
} from "../../types/index"
|
|
20
|
+
import { OverlayHeader } from "../../components/index"
|
|
21
21
|
import { SelectionArray } from "../selection/SelectionArray"
|
|
22
22
|
import { ChartDimension } from "../chart/ChartDimension"
|
|
23
|
-
import { makeSelectionArray } from "../chart/ChartUtils
|
|
23
|
+
import { makeSelectionArray } from "../chart/ChartUtils"
|
|
24
24
|
import { AxisConfig } from "../axis/AxisConfig"
|
|
25
25
|
|
|
26
26
|
import { AxisScaleToggle } from "./settings/AxisScaleToggle"
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
copyToClipboard,
|
|
16
16
|
isAndroid,
|
|
17
17
|
isIOS,
|
|
18
|
-
} from "../../utils/index
|
|
18
|
+
} from "../../utils/index"
|
|
19
19
|
import { GrapherModal } from "../core/GrapherConstants"
|
|
20
|
-
import { isTargetOutsideElement } from "../chart/ChartUtils
|
|
21
|
-
import { GrapherRasterizeFn } from "../captionedChart/StaticChartRasterizer
|
|
20
|
+
import { isTargetOutsideElement } from "../chart/ChartUtils"
|
|
21
|
+
import { GrapherRasterizeFn } from "../captionedChart/StaticChartRasterizer"
|
|
22
22
|
|
|
23
23
|
export interface ShareMenuManager {
|
|
24
24
|
slug?: string
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
faSortAmountDown,
|
|
9
9
|
} from "@fortawesome/free-solid-svg-icons"
|
|
10
10
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
11
|
-
import { SortOrder } from "../../types/index
|
|
11
|
+
import { SortOrder } from "../../types/index"
|
|
12
12
|
|
|
13
13
|
export function SortIcon(props: {
|
|
14
14
|
type?: "text" | "numeric"
|
|
@@ -2,7 +2,7 @@ import { Component } from "react"
|
|
|
2
2
|
import { computed, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
4
|
|
|
5
|
-
import { Bounds } from "../../../utils/index
|
|
5
|
+
import { Bounds } from "../../../utils/index"
|
|
6
6
|
|
|
7
7
|
import { ContentSwitchers, ContentSwitchersManager } from "../ContentSwitchers"
|
|
8
8
|
import {
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
EntityName,
|
|
24
24
|
CoreColumnDef,
|
|
25
25
|
ChartsTableSlugs,
|
|
26
|
-
} from "../../../utils/index
|
|
26
|
+
} from "../../../utils/index"
|
|
27
27
|
import classnames from "classnames"
|
|
28
28
|
import { scaleLinear, ScaleLinear } from "d3-scale"
|
|
29
29
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
ColumnTypeMap,
|
|
36
36
|
CoreColumn,
|
|
37
37
|
ChartsTable,
|
|
38
|
-
} from "../../../core-table/index
|
|
38
|
+
} from "../../../core-table/index"
|
|
39
39
|
import { EntityPickerManager } from "./EntityPickerConstants"
|
|
40
40
|
import { SelectionArray } from "../../selection/SelectionArray"
|
|
41
41
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ColumnSlug } from "../../../utils/index
|
|
1
|
+
import { ColumnSlug } from "../../../utils/index"
|
|
2
2
|
import { GrapherAnalytics } from "../../core/GrapherAnalytics"
|
|
3
|
-
import { ChartsTable } from "../../../core-table/index
|
|
4
|
-
import { CoreColumnDef, EntityName, SortOrder } from "../../../types/index
|
|
3
|
+
import { ChartsTable } from "../../../core-table/index"
|
|
4
|
+
import { CoreColumnDef, EntityName, SortOrder } from "../../../types/index"
|
|
5
5
|
import { MapConfig } from "../../mapCharts/MapConfig"
|
|
6
6
|
|
|
7
7
|
export interface EntityPickerManager {
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
setWindowUrl,
|
|
28
28
|
lazy,
|
|
29
29
|
RegionType,
|
|
30
|
-
} from "../../../utils/index
|
|
30
|
+
} from "../../../utils/index"
|
|
31
31
|
import { GrapherAnalytics } from "../../core/GrapherAnalytics"
|
|
32
32
|
import { WORLD_ENTITY_NAME } from "../../core/GrapherConstants"
|
|
33
33
|
import { GLOBAL_ENTITY_SELECTOR_ELEMENT } from "./GlobalEntitySelectorConstants"
|
|
34
34
|
import { SelectionArray } from "../../selection/SelectionArray"
|
|
35
|
-
import { EntityName } from "../../../types/index
|
|
35
|
+
import { EntityName } from "../../../types/index"
|
|
36
36
|
import { setSelectedEntityNamesParam } from "../../core/EntityUrlBuilder"
|
|
37
37
|
|
|
38
38
|
enum GlobalEntitySelectionModes {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
GRAPHER_CHART_TYPES,
|
|
6
6
|
GrapherChartType,
|
|
7
7
|
StackMode,
|
|
8
|
-
} from "../../../types/index
|
|
9
|
-
import { LabeledSwitch } from "../../../components/index
|
|
8
|
+
} from "../../../types/index"
|
|
9
|
+
import { LabeledSwitch } from "../../../components/index"
|
|
10
10
|
|
|
11
11
|
const { LineChart, ScatterPlot, SlopeChart } = GRAPHER_CHART_TYPES
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
|
-
import { ScaleType } from "../../../types/index
|
|
4
|
+
import { ScaleType } from "../../../types/index"
|
|
5
5
|
import { AxisConfig } from "../../axis/AxisConfig"
|
|
6
6
|
import classnames from "classnames"
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import * as React from "react"
|
|
|
3
3
|
import { computed, makeObservable } from "mobx"
|
|
4
4
|
import { observer } from "mobx-react"
|
|
5
5
|
import { DEFAULT_GRAPHER_ENTITY_TYPE } from "../../core/GrapherConstants"
|
|
6
|
-
import { FacetStrategy } from "../../../utils/index
|
|
6
|
+
import { FacetStrategy } from "../../../utils/index"
|
|
7
7
|
import classnames from "classnames"
|
|
8
8
|
|
|
9
9
|
export interface FacetStrategySelectionManager {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { computed, action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
|
-
import { FacetAxisDomain, FacetStrategy } from "../../../types/index
|
|
4
|
+
import { FacetAxisDomain, FacetStrategy } from "../../../types/index"
|
|
5
5
|
import { AxisConfig } from "../../axis/AxisConfig"
|
|
6
|
-
import { LabeledSwitch } from "../../../components/index
|
|
6
|
+
import { LabeledSwitch } from "../../../components/index"
|
|
7
7
|
|
|
8
8
|
export interface FacetYDomainToggleManager {
|
|
9
9
|
facetStrategy?: FacetStrategy
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { computed, action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
|
-
import { LabeledSwitch } from "../../../components/index
|
|
4
|
+
import { LabeledSwitch } from "../../../components/index"
|
|
5
5
|
|
|
6
6
|
export interface NoDataAreaToggleManager {
|
|
7
7
|
showNoDataArea?: boolean
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { action, makeObservable } from "mobx"
|
|
3
3
|
import { observer } from "mobx-react"
|
|
4
|
-
import { LabeledSwitch } from "../../../components/index
|
|
4
|
+
import { LabeledSwitch } from "../../../components/index"
|
|
5
5
|
|
|
6
6
|
export interface ZoomToggleManager {
|
|
7
7
|
zoomToSelection?: boolean
|