@buildcanada/charts 0.3.7 → 0.3.8
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/components/BodyPortal/BodyPortal.d.ts +17 -0
- package/dist/components/BodyPortal/BodyPortal.d.ts.map +1 -0
- package/dist/components/BodyPortal/BodyPortal.js +30 -0
- package/dist/components/BodyPortal/BodyPortal.js.map +7 -0
- package/dist/components/Button/Button.d.ts +27 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.js +59 -0
- package/dist/components/Button/Button.js.map +7 -0
- package/dist/components/Checkbox.d.ts +11 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox.js +38 -0
- package/dist/components/Checkbox.js.map +7 -0
- package/dist/components/ExpandableToggle/ExpandableToggle.d.ts +10 -0
- package/dist/components/ExpandableToggle/ExpandableToggle.d.ts.map +1 -0
- package/dist/components/ExpandableToggle/ExpandableToggle.js +37 -0
- package/dist/components/ExpandableToggle/ExpandableToggle.js.map +7 -0
- package/dist/components/GrapherTabIcon.d.ts +7 -0
- package/dist/components/GrapherTabIcon.d.ts.map +1 -0
- package/dist/components/GrapherTabIcon.js +134 -0
- package/dist/components/GrapherTabIcon.js.map +7 -0
- package/dist/components/GrapherTrendArrow.d.ts +7 -0
- package/dist/components/GrapherTrendArrow.d.ts.map +1 -0
- package/dist/components/GrapherTrendArrow.js +26 -0
- package/dist/components/GrapherTrendArrow.js.map +7 -0
- package/dist/components/Halo/Halo.d.ts +13 -0
- package/dist/components/Halo/Halo.d.ts.map +1 -0
- package/dist/components/Halo/Halo.js +29 -0
- package/dist/components/Halo/Halo.js.map +7 -0
- package/dist/components/LabeledSwitch/LabeledSwitch.d.ts +11 -0
- package/dist/components/LabeledSwitch/LabeledSwitch.d.ts.map +1 -0
- package/dist/components/LabeledSwitch/LabeledSwitch.js +50 -0
- package/dist/components/LabeledSwitch/LabeledSwitch.js.map +7 -0
- package/dist/components/MarkdownTextWrap/MarkdownTextWrap.d.ts +177 -0
- package/dist/components/MarkdownTextWrap/MarkdownTextWrap.d.ts.map +1 -0
- package/dist/components/MarkdownTextWrap/MarkdownTextWrap.js +978 -0
- package/dist/components/MarkdownTextWrap/MarkdownTextWrap.js.map +7 -0
- package/dist/components/OverlayHeader.d.ts +8 -0
- package/dist/components/OverlayHeader.d.ts.map +1 -0
- package/dist/components/OverlayHeader.js +23 -0
- package/dist/components/OverlayHeader.js.map +7 -0
- package/dist/components/RadioButton.d.ts +12 -0
- package/dist/components/RadioButton.d.ts.map +1 -0
- package/dist/components/RadioButton.js +28 -0
- package/dist/components/RadioButton.js.map +7 -0
- package/dist/components/SimpleMarkdownText.d.ts +16 -0
- package/dist/components/SimpleMarkdownText.d.ts.map +1 -0
- package/dist/components/SimpleMarkdownText.js +58 -0
- package/dist/components/SimpleMarkdownText.js.map +7 -0
- package/dist/components/TextInput.d.ts +8 -0
- package/dist/components/TextInput.d.ts.map +1 -0
- package/dist/components/TextInput.js +18 -0
- package/dist/components/TextInput.js.map +7 -0
- package/dist/components/TextWrap/TextWrap.d.ts +61 -0
- package/dist/components/TextWrap/TextWrap.d.ts.map +1 -0
- package/dist/components/TextWrap/TextWrap.js +283 -0
- package/dist/components/TextWrap/TextWrap.js.map +7 -0
- package/dist/components/TextWrap/TextWrapUtils.d.ts +7 -0
- package/dist/components/TextWrap/TextWrapUtils.d.ts.map +1 -0
- package/dist/components/TextWrap/TextWrapUtils.js +23 -0
- package/dist/components/TextWrap/TextWrapUtils.js.map +7 -0
- package/dist/components/closeButton/CloseButton.d.ts +8 -0
- package/dist/components/closeButton/CloseButton.d.ts.map +1 -0
- package/dist/components/closeButton/CloseButton.js +26 -0
- package/dist/components/closeButton/CloseButton.js.map +7 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +85 -0
- package/dist/components/index.js.map +7 -0
- package/dist/components/loadingIndicator/LoadingIndicator.d.ts +9 -0
- package/dist/components/loadingIndicator/LoadingIndicator.d.ts.map +1 -0
- package/dist/components/loadingIndicator/LoadingIndicator.js +26 -0
- package/dist/components/loadingIndicator/LoadingIndicator.js.map +7 -0
- package/dist/components/markdown/remarkPlainLinks.d.ts +3 -0
- package/dist/components/markdown/remarkPlainLinks.d.ts.map +1 -0
- package/dist/components/markdown/remarkPlainLinks.js +23 -0
- package/dist/components/markdown/remarkPlainLinks.js.map +7 -0
- package/dist/components/reactUtil.d.ts +2 -0
- package/dist/components/reactUtil.d.ts.map +1 -0
- package/dist/components/reactUtil.js +18 -0
- package/dist/components/reactUtil.js.map +7 -0
- package/dist/components/stubs/CodeSnippet.d.ts +12 -0
- package/dist/components/stubs/CodeSnippet.d.ts.map +1 -0
- package/dist/components/stubs/CodeSnippet.js +7 -0
- package/dist/components/stubs/CodeSnippet.js.map +7 -0
- package/dist/components/stubs/DataCitation.d.ts +13 -0
- package/dist/components/stubs/DataCitation.d.ts.map +1 -0
- package/dist/components/stubs/DataCitation.js +6 -0
- package/dist/components/stubs/DataCitation.js.map +7 -0
- package/dist/components/stubs/IndicatorKeyData.d.ts +17 -0
- package/dist/components/stubs/IndicatorKeyData.d.ts.map +1 -0
- package/dist/components/stubs/IndicatorKeyData.js +30 -0
- package/dist/components/stubs/IndicatorKeyData.js.map +7 -0
- package/dist/components/stubs/IndicatorProcessing.d.ts +12 -0
- package/dist/components/stubs/IndicatorProcessing.d.ts.map +1 -0
- package/dist/components/stubs/IndicatorProcessing.js +6 -0
- package/dist/components/stubs/IndicatorProcessing.js.map +7 -0
- package/dist/components/stubs/IndicatorSources.d.ts +12 -0
- package/dist/components/stubs/IndicatorSources.d.ts.map +1 -0
- package/dist/components/stubs/IndicatorSources.js +6 -0
- package/dist/components/stubs/IndicatorSources.js.map +7 -0
- package/dist/config/ChartsConfig.d.ts +110 -0
- package/dist/config/ChartsConfig.d.ts.map +1 -0
- package/dist/config/ChartsConfig.js +34 -0
- package/dist/config/ChartsConfig.js.map +7 -0
- package/dist/config/ChartsProvider.d.ts +89 -0
- package/dist/config/ChartsProvider.d.ts.map +1 -0
- package/dist/config/ChartsProvider.js +52 -0
- package/dist/config/ChartsProvider.js.map +7 -0
- package/dist/config/index.d.ts +3 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +22 -0
- package/dist/config/index.js.map +7 -0
- package/dist/core-table/ChartsTable.d.ts +54 -0
- package/dist/core-table/ChartsTable.d.ts.map +1 -0
- package/dist/core-table/ChartsTable.js +887 -0
- package/dist/core-table/ChartsTable.js.map +7 -0
- package/dist/core-table/CoreTable.d.ts +185 -0
- package/dist/core-table/CoreTable.d.ts.map +1 -0
- package/dist/core-table/CoreTable.js +1079 -0
- package/dist/core-table/CoreTable.js.map +7 -0
- package/dist/core-table/CoreTableColumns.d.ts +245 -0
- package/dist/core-table/CoreTableColumns.d.ts.map +1 -0
- package/dist/core-table/CoreTableColumns.js +923 -0
- package/dist/core-table/CoreTableColumns.js.map +7 -0
- package/dist/core-table/CoreTableUtils.d.ts +69 -0
- package/dist/core-table/CoreTableUtils.d.ts.map +1 -0
- package/dist/core-table/CoreTableUtils.js +498 -0
- package/dist/core-table/CoreTableUtils.js.map +7 -0
- package/dist/core-table/ErrorValues.d.ts +77 -0
- package/dist/core-table/ErrorValues.d.ts.map +1 -0
- package/dist/core-table/ErrorValues.js +76 -0
- package/dist/core-table/ErrorValues.js.map +7 -0
- package/dist/core-table/TableSynthesizers.d.ts +26 -0
- package/dist/core-table/TableSynthesizers.d.ts.map +1 -0
- package/dist/core-table/TableSynthesizers.js +215 -0
- package/dist/core-table/TableSynthesizers.js.map +7 -0
- package/dist/core-table/TableUtil.d.ts +11 -0
- package/dist/core-table/TableUtil.d.ts.map +1 -0
- package/dist/core-table/TableUtil.js +56 -0
- package/dist/core-table/TableUtil.js.map +7 -0
- package/dist/core-table/Transforms.d.ts +13 -0
- package/dist/core-table/Transforms.d.ts.map +1 -0
- package/dist/core-table/Transforms.js +324 -0
- package/dist/core-table/Transforms.js.map +7 -0
- package/dist/core-table/index.d.ts +9 -0
- package/dist/core-table/index.d.ts.map +1 -0
- package/dist/core-table/index.js +134 -0
- package/dist/core-table/index.js.map +7 -0
- package/dist/explorer/ColumnGrammar.d.ts +3 -0
- package/dist/explorer/ColumnGrammar.d.ts.map +1 -0
- package/dist/explorer/ColumnGrammar.js +208 -0
- package/dist/explorer/ColumnGrammar.js.map +7 -0
- package/dist/explorer/Explorer.d.ts +116 -0
- package/dist/explorer/Explorer.d.ts.map +1 -0
- package/dist/explorer/Explorer.js +996 -0
- package/dist/explorer/Explorer.js.map +7 -0
- package/dist/explorer/Explorer.sample.d.ts +4 -0
- package/dist/explorer/Explorer.sample.d.ts.map +1 -0
- package/dist/explorer/Explorer.sample.js +198 -0
- package/dist/explorer/Explorer.sample.js.map +7 -0
- package/dist/explorer/ExplorerConstants.d.ts +61 -0
- package/dist/explorer/ExplorerConstants.d.ts.map +1 -0
- package/dist/explorer/ExplorerConstants.js +48 -0
- package/dist/explorer/ExplorerConstants.js.map +7 -0
- package/dist/explorer/ExplorerControls.d.ts +24 -0
- package/dist/explorer/ExplorerControls.d.ts.map +1 -0
- package/dist/explorer/ExplorerControls.js +167 -0
- package/dist/explorer/ExplorerControls.js.map +7 -0
- package/dist/explorer/ExplorerDecisionMatrix.d.ts +59 -0
- package/dist/explorer/ExplorerDecisionMatrix.d.ts.map +1 -0
- package/dist/explorer/ExplorerDecisionMatrix.js +369 -0
- package/dist/explorer/ExplorerDecisionMatrix.js.map +7 -0
- package/dist/explorer/ExplorerGrammar.d.ts +3 -0
- package/dist/explorer/ExplorerGrammar.d.ts.map +1 -0
- package/dist/explorer/ExplorerGrammar.js +153 -0
- package/dist/explorer/ExplorerGrammar.js.map +7 -0
- package/dist/explorer/ExplorerProgram.d.ts +92 -0
- package/dist/explorer/ExplorerProgram.d.ts.map +1 -0
- package/dist/explorer/ExplorerProgram.js +403 -0
- package/dist/explorer/ExplorerProgram.js.map +7 -0
- package/dist/explorer/ExplorerUtils.d.ts +5 -0
- package/dist/explorer/ExplorerUtils.d.ts.map +1 -0
- package/dist/explorer/ExplorerUtils.js +55 -0
- package/dist/explorer/ExplorerUtils.js.map +7 -0
- package/dist/explorer/GrapherGrammar.d.ts +5 -0
- package/dist/explorer/GrapherGrammar.d.ts.map +1 -0
- package/dist/explorer/GrapherGrammar.js +346 -0
- package/dist/explorer/GrapherGrammar.js.map +7 -0
- package/dist/explorer/gridLang/GrammarUtils.d.ts +5 -0
- package/dist/explorer/gridLang/GrammarUtils.d.ts.map +1 -0
- package/dist/explorer/gridLang/GrammarUtils.js +79 -0
- package/dist/explorer/gridLang/GrammarUtils.js.map +7 -0
- package/dist/explorer/gridLang/GridCell.d.ts +36 -0
- package/dist/explorer/gridLang/GridCell.d.ts.map +1 -0
- package/dist/explorer/gridLang/GridCell.js +220 -0
- package/dist/explorer/gridLang/GridCell.js.map +7 -0
- package/dist/explorer/gridLang/GridLangConstants.d.ts +75 -0
- package/dist/explorer/gridLang/GridLangConstants.d.ts.map +1 -0
- package/dist/explorer/gridLang/GridLangConstants.js +206 -0
- package/dist/explorer/gridLang/GridLangConstants.js.map +7 -0
- package/dist/explorer/gridLang/GridProgram.d.ts +63 -0
- package/dist/explorer/gridLang/GridProgram.d.ts.map +1 -0
- package/dist/explorer/gridLang/GridProgram.js +223 -0
- package/dist/explorer/gridLang/GridProgram.js.map +7 -0
- package/dist/explorer/index.d.ts +16 -0
- package/dist/explorer/index.d.ts.map +1 -0
- package/dist/explorer/index.js +76 -0
- package/dist/explorer/index.js.map +7 -0
- package/dist/explorer/urlMigrations/CO2UrlMigration.d.ts +3 -0
- package/dist/explorer/urlMigrations/CO2UrlMigration.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/CO2UrlMigration.js +42 -0
- package/dist/explorer/urlMigrations/CO2UrlMigration.js.map +7 -0
- package/dist/explorer/urlMigrations/CovidUrlMigration.d.ts +3 -0
- package/dist/explorer/urlMigrations/CovidUrlMigration.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/CovidUrlMigration.js +27 -0
- package/dist/explorer/urlMigrations/CovidUrlMigration.js.map +7 -0
- package/dist/explorer/urlMigrations/EnergyUrlMigration.d.ts +3 -0
- package/dist/explorer/urlMigrations/EnergyUrlMigration.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/EnergyUrlMigration.js +38 -0
- package/dist/explorer/urlMigrations/EnergyUrlMigration.js.map +7 -0
- package/dist/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.d.ts +12 -0
- package/dist/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.js +0 -0
- package/dist/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.js.map +7 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrationUtils.d.ts +9 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrationUtils.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrationUtils.js +30 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrationUtils.js.map +7 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrations.d.ts +11 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrations.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrations.js +26 -0
- package/dist/explorer/urlMigrations/ExplorerUrlMigrations.js.map +7 -0
- package/dist/explorer/urlMigrations/LegacyCovidUrlMigration.d.ts +3 -0
- package/dist/explorer/urlMigrations/LegacyCovidUrlMigration.d.ts.map +1 -0
- package/dist/explorer/urlMigrations/LegacyCovidUrlMigration.js +104 -0
- package/dist/explorer/urlMigrations/LegacyCovidUrlMigration.js.map +7 -0
- package/dist/grapher/axis/Axis.d.ts +133 -0
- package/dist/grapher/axis/Axis.d.ts.map +1 -0
- package/dist/grapher/axis/Axis.js +805 -0
- package/dist/grapher/axis/Axis.js.map +7 -0
- package/dist/grapher/axis/AxisConfig.d.ts +46 -0
- package/dist/grapher/axis/AxisConfig.d.ts.map +1 -0
- package/dist/grapher/axis/AxisConfig.js +163 -0
- package/dist/grapher/axis/AxisConfig.js.map +7 -0
- package/dist/grapher/axis/AxisViews.d.ts +111 -0
- package/dist/grapher/axis/AxisViews.d.ts.map +1 -0
- package/dist/grapher/axis/AxisViews.js +464 -0
- package/dist/grapher/axis/AxisViews.js.map +7 -0
- package/dist/grapher/barCharts/DiscreteBarChart.d.ts +85 -0
- package/dist/grapher/barCharts/DiscreteBarChart.d.ts.map +1 -0
- package/dist/grapher/barCharts/DiscreteBarChart.js +622 -0
- package/dist/grapher/barCharts/DiscreteBarChart.js.map +7 -0
- package/dist/grapher/barCharts/DiscreteBarChartConstants.d.ts +51 -0
- package/dist/grapher/barCharts/DiscreteBarChartConstants.d.ts.map +1 -0
- package/dist/grapher/barCharts/DiscreteBarChartConstants.js +6 -0
- package/dist/grapher/barCharts/DiscreteBarChartConstants.js.map +7 -0
- package/dist/grapher/barCharts/DiscreteBarChartHelpers.d.ts +21 -0
- package/dist/grapher/barCharts/DiscreteBarChartHelpers.d.ts.map +1 -0
- package/dist/grapher/barCharts/DiscreteBarChartHelpers.js +221 -0
- package/dist/grapher/barCharts/DiscreteBarChartHelpers.js.map +7 -0
- package/dist/grapher/barCharts/DiscreteBarChartState.d.ts +45 -0
- package/dist/grapher/barCharts/DiscreteBarChartState.d.ts.map +1 -0
- package/dist/grapher/barCharts/DiscreteBarChartState.js +327 -0
- package/dist/grapher/barCharts/DiscreteBarChartState.js.map +7 -0
- package/dist/grapher/barCharts/DiscreteBarChartThumbnail.d.ts +12 -0
- package/dist/grapher/barCharts/DiscreteBarChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/barCharts/DiscreteBarChartThumbnail.js +43 -0
- package/dist/grapher/barCharts/DiscreteBarChartThumbnail.js.map +7 -0
- package/dist/grapher/captionedChart/CaptionedChart.d.ts +102 -0
- package/dist/grapher/captionedChart/CaptionedChart.d.ts.map +1 -0
- package/dist/grapher/captionedChart/CaptionedChart.js +409 -0
- package/dist/grapher/captionedChart/CaptionedChart.js.map +7 -0
- package/dist/grapher/captionedChart/Logos.d.ts +22 -0
- package/dist/grapher/captionedChart/Logos.d.ts.map +1 -0
- package/dist/grapher/captionedChart/Logos.js +113 -0
- package/dist/grapher/captionedChart/Logos.js.map +7 -0
- package/dist/grapher/captionedChart/LogosSVG.d.ts +8 -0
- package/dist/grapher/captionedChart/LogosSVG.d.ts.map +1 -0
- package/dist/grapher/captionedChart/LogosSVG.js +16 -0
- package/dist/grapher/captionedChart/LogosSVG.js.map +7 -0
- package/dist/grapher/captionedChart/StaticChartRasterizer.d.ts +24 -0
- package/dist/grapher/captionedChart/StaticChartRasterizer.d.ts.map +1 -0
- package/dist/grapher/captionedChart/StaticChartRasterizer.js +109 -0
- package/dist/grapher/captionedChart/StaticChartRasterizer.js.map +7 -0
- package/dist/grapher/chart/Chart.d.ts +15 -0
- package/dist/grapher/chart/Chart.d.ts.map +1 -0
- package/dist/grapher/chart/Chart.js +72 -0
- package/dist/grapher/chart/Chart.js.map +7 -0
- package/dist/grapher/chart/ChartAreaContent.d.ts +25 -0
- package/dist/grapher/chart/ChartAreaContent.d.ts.map +1 -0
- package/dist/grapher/chart/ChartAreaContent.js +144 -0
- package/dist/grapher/chart/ChartAreaContent.js.map +7 -0
- package/dist/grapher/chart/ChartDimension.d.ts +27 -0
- package/dist/grapher/chart/ChartDimension.d.ts.map +1 -0
- package/dist/grapher/chart/ChartDimension.js +100 -0
- package/dist/grapher/chart/ChartDimension.js.map +7 -0
- package/dist/grapher/chart/ChartInterface.d.ts +61 -0
- package/dist/grapher/chart/ChartInterface.d.ts.map +1 -0
- package/dist/grapher/chart/ChartInterface.js +0 -0
- package/dist/grapher/chart/ChartInterface.js.map +7 -0
- package/dist/grapher/chart/ChartManager.d.ts +70 -0
- package/dist/grapher/chart/ChartManager.d.ts.map +1 -0
- package/dist/grapher/chart/ChartManager.js +0 -0
- package/dist/grapher/chart/ChartManager.js.map +7 -0
- package/dist/grapher/chart/ChartTabs.d.ts +23 -0
- package/dist/grapher/chart/ChartTabs.d.ts.map +1 -0
- package/dist/grapher/chart/ChartTabs.js +119 -0
- package/dist/grapher/chart/ChartTabs.js.map +7 -0
- package/dist/grapher/chart/ChartTypeMap.d.ts +19 -0
- package/dist/grapher/chart/ChartTypeMap.d.ts.map +1 -0
- package/dist/grapher/chart/ChartTypeMap.js +111 -0
- package/dist/grapher/chart/ChartTypeMap.js.map +7 -0
- package/dist/grapher/chart/ChartTypeSwitcher.d.ts +8 -0
- package/dist/grapher/chart/ChartTypeSwitcher.d.ts.map +1 -0
- package/dist/grapher/chart/ChartTypeSwitcher.js +18 -0
- package/dist/grapher/chart/ChartTypeSwitcher.js.map +7 -0
- package/dist/grapher/chart/ChartUtils.d.ts +65 -0
- package/dist/grapher/chart/ChartUtils.d.ts.map +1 -0
- package/dist/grapher/chart/ChartUtils.js +226 -0
- package/dist/grapher/chart/ChartUtils.js.map +7 -0
- package/dist/grapher/chart/DimensionSlot.d.ts +13 -0
- package/dist/grapher/chart/DimensionSlot.d.ts.map +1 -0
- package/dist/grapher/chart/DimensionSlot.js +55 -0
- package/dist/grapher/chart/DimensionSlot.js.map +7 -0
- package/dist/grapher/chart/StaticChartWrapper.d.ts +19 -0
- package/dist/grapher/chart/StaticChartWrapper.d.ts.map +1 -0
- package/dist/grapher/chart/StaticChartWrapper.js +94 -0
- package/dist/grapher/chart/StaticChartWrapper.js.map +7 -0
- package/dist/grapher/chart/guidedChartUtils.d.ts +34 -0
- package/dist/grapher/chart/guidedChartUtils.d.ts.map +1 -0
- package/dist/grapher/chart/guidedChartUtils.js +33 -0
- package/dist/grapher/chart/guidedChartUtils.js.map +7 -0
- package/dist/grapher/color/BinningStrategies.d.ts +81 -0
- package/dist/grapher/color/BinningStrategies.d.ts.map +1 -0
- package/dist/grapher/color/BinningStrategies.js +300 -0
- package/dist/grapher/color/BinningStrategies.js.map +7 -0
- package/dist/grapher/color/BinningStrategyEqualSizeBins.d.ts +13 -0
- package/dist/grapher/color/BinningStrategyEqualSizeBins.d.ts.map +1 -0
- package/dist/grapher/color/BinningStrategyEqualSizeBins.js +76 -0
- package/dist/grapher/color/BinningStrategyEqualSizeBins.js.map +7 -0
- package/dist/grapher/color/BinningStrategyLogarithmic.d.ts +8 -0
- package/dist/grapher/color/BinningStrategyLogarithmic.d.ts.map +1 -0
- package/dist/grapher/color/BinningStrategyLogarithmic.js +70 -0
- package/dist/grapher/color/BinningStrategyLogarithmic.js.map +7 -0
- package/dist/grapher/color/CategoricalColorAssigner.d.ts +43 -0
- package/dist/grapher/color/CategoricalColorAssigner.d.ts.map +1 -0
- package/dist/grapher/color/CategoricalColorAssigner.js +48 -0
- package/dist/grapher/color/CategoricalColorAssigner.js.map +7 -0
- package/dist/grapher/color/ColorBrewerSchemes.d.ts +3 -0
- package/dist/grapher/color/ColorBrewerSchemes.d.ts.map +1 -0
- package/dist/grapher/color/ColorBrewerSchemes.js +68 -0
- package/dist/grapher/color/ColorBrewerSchemes.js.map +7 -0
- package/dist/grapher/color/ColorConstants.d.ts +25 -0
- package/dist/grapher/color/ColorConstants.d.ts.map +1 -0
- package/dist/grapher/color/ColorConstants.js +40 -0
- package/dist/grapher/color/ColorConstants.js.map +7 -0
- package/dist/grapher/color/ColorScale.d.ts +54 -0
- package/dist/grapher/color/ColorScale.d.ts.map +1 -0
- package/dist/grapher/color/ColorScale.js +340 -0
- package/dist/grapher/color/ColorScale.js.map +7 -0
- package/dist/grapher/color/ColorScaleBin.d.ts +55 -0
- package/dist/grapher/color/ColorScaleBin.d.ts.map +1 -0
- package/dist/grapher/color/ColorScaleBin.js +90 -0
- package/dist/grapher/color/ColorScaleBin.js.map +7 -0
- package/dist/grapher/color/ColorScaleConfig.d.ts +52 -0
- package/dist/grapher/color/ColorScaleConfig.d.ts.map +1 -0
- package/dist/grapher/color/ColorScaleConfig.js +139 -0
- package/dist/grapher/color/ColorScaleConfig.js.map +7 -0
- package/dist/grapher/color/ColorScheme.d.ts +20 -0
- package/dist/grapher/color/ColorScheme.d.ts.map +1 -0
- package/dist/grapher/color/ColorScheme.js +86 -0
- package/dist/grapher/color/ColorScheme.js.map +7 -0
- package/dist/grapher/color/ColorSchemes.d.ts +9 -0
- package/dist/grapher/color/ColorSchemes.d.ts.map +1 -0
- package/dist/grapher/color/ColorSchemes.js +121 -0
- package/dist/grapher/color/ColorSchemes.js.map +7 -0
- package/dist/grapher/color/ColorUtils.d.ts +9 -0
- package/dist/grapher/color/ColorUtils.d.ts.map +1 -0
- package/dist/grapher/color/ColorUtils.js +66 -0
- package/dist/grapher/color/ColorUtils.js.map +7 -0
- package/dist/grapher/color/CustomSchemes.d.ts +383 -0
- package/dist/grapher/color/CustomSchemes.d.ts.map +1 -0
- package/dist/grapher/color/CustomSchemes.js +1698 -0
- package/dist/grapher/color/CustomSchemes.js.map +7 -0
- package/dist/grapher/comparisonLine/ComparisonLine.d.ts +9 -0
- package/dist/grapher/comparisonLine/ComparisonLine.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/ComparisonLine.js +16 -0
- package/dist/grapher/comparisonLine/ComparisonLine.js.map +7 -0
- package/dist/grapher/comparisonLine/ComparisonLineConstants.d.ts +11 -0
- package/dist/grapher/comparisonLine/ComparisonLineConstants.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/ComparisonLineConstants.js +14 -0
- package/dist/grapher/comparisonLine/ComparisonLineConstants.js.map +7 -0
- package/dist/grapher/comparisonLine/ComparisonLineGenerator.d.ts +6 -0
- package/dist/grapher/comparisonLine/ComparisonLineGenerator.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/ComparisonLineGenerator.js +45 -0
- package/dist/grapher/comparisonLine/ComparisonLineGenerator.js.map +7 -0
- package/dist/grapher/comparisonLine/ComparisonLineHelpers.d.ts +3 -0
- package/dist/grapher/comparisonLine/ComparisonLineHelpers.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/ComparisonLineHelpers.js +6 -0
- package/dist/grapher/comparisonLine/ComparisonLineHelpers.js.map +7 -0
- package/dist/grapher/comparisonLine/CustomComparisonLine.d.ts +18 -0
- package/dist/grapher/comparisonLine/CustomComparisonLine.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/CustomComparisonLine.js +167 -0
- package/dist/grapher/comparisonLine/CustomComparisonLine.js.map +7 -0
- package/dist/grapher/comparisonLine/VerticalComparisonLine.d.ts +35 -0
- package/dist/grapher/comparisonLine/VerticalComparisonLine.d.ts.map +1 -0
- package/dist/grapher/comparisonLine/VerticalComparisonLine.js +181 -0
- package/dist/grapher/comparisonLine/VerticalComparisonLine.js.map +7 -0
- package/dist/grapher/controls/ActionButtons.d.ts +53 -0
- package/dist/grapher/controls/ActionButtons.d.ts.map +1 -0
- package/dist/grapher/controls/ActionButtons.js +242 -0
- package/dist/grapher/controls/ActionButtons.js.map +7 -0
- package/dist/grapher/controls/CommandPalette.d.ts +18 -0
- package/dist/grapher/controls/CommandPalette.d.ts.map +1 -0
- package/dist/grapher/controls/CommandPalette.js +50 -0
- package/dist/grapher/controls/CommandPalette.js.map +7 -0
- package/dist/grapher/controls/ContentSwitchers.d.ts +37 -0
- package/dist/grapher/controls/ContentSwitchers.d.ts.map +1 -0
- package/dist/grapher/controls/ContentSwitchers.js +237 -0
- package/dist/grapher/controls/ContentSwitchers.js.map +7 -0
- package/dist/grapher/controls/DataTableFilterDropdown.d.ts +34 -0
- package/dist/grapher/controls/DataTableFilterDropdown.d.ts.map +1 -0
- package/dist/grapher/controls/DataTableFilterDropdown.js +139 -0
- package/dist/grapher/controls/DataTableFilterDropdown.js.map +7 -0
- package/dist/grapher/controls/DataTableSearchField.d.ts +22 -0
- package/dist/grapher/controls/DataTableSearchField.d.ts.map +1 -0
- package/dist/grapher/controls/DataTableSearchField.js +79 -0
- package/dist/grapher/controls/DataTableSearchField.js.map +7 -0
- package/dist/grapher/controls/Dropdown.d.ts +33 -0
- package/dist/grapher/controls/Dropdown.d.ts.map +1 -0
- package/dist/grapher/controls/Dropdown.js +173 -0
- package/dist/grapher/controls/Dropdown.js.map +7 -0
- package/dist/grapher/controls/EntitySelectionToggle.d.ts +33 -0
- package/dist/grapher/controls/EntitySelectionToggle.d.ts.map +1 -0
- package/dist/grapher/controls/EntitySelectionToggle.js +107 -0
- package/dist/grapher/controls/EntitySelectionToggle.js.map +7 -0
- package/dist/grapher/controls/MapRegionDropdown.d.ts +32 -0
- package/dist/grapher/controls/MapRegionDropdown.d.ts.map +1 -0
- package/dist/grapher/controls/MapRegionDropdown.js +102 -0
- package/dist/grapher/controls/MapRegionDropdown.js.map +7 -0
- package/dist/grapher/controls/MapResetButton.d.ts +33 -0
- package/dist/grapher/controls/MapResetButton.d.ts.map +1 -0
- package/dist/grapher/controls/MapResetButton.js +97 -0
- package/dist/grapher/controls/MapResetButton.js.map +7 -0
- package/dist/grapher/controls/MapZoomDropdown.d.ts +43 -0
- package/dist/grapher/controls/MapZoomDropdown.d.ts.map +1 -0
- package/dist/grapher/controls/MapZoomDropdown.js +231 -0
- package/dist/grapher/controls/MapZoomDropdown.js.map +7 -0
- package/dist/grapher/controls/MapZoomToSelectionButton.d.ts +23 -0
- package/dist/grapher/controls/MapZoomToSelectionButton.d.ts.map +1 -0
- package/dist/grapher/controls/MapZoomToSelectionButton.js +85 -0
- package/dist/grapher/controls/MapZoomToSelectionButton.js.map +7 -0
- package/dist/grapher/controls/SearchField.d.ts +11 -0
- package/dist/grapher/controls/SearchField.d.ts.map +1 -0
- package/dist/grapher/controls/SearchField.js +46 -0
- package/dist/grapher/controls/SearchField.js.map +7 -0
- package/dist/grapher/controls/SettingsMenu.d.ts +57 -0
- package/dist/grapher/controls/SettingsMenu.d.ts.map +1 -0
- package/dist/grapher/controls/SettingsMenu.js +306 -0
- package/dist/grapher/controls/SettingsMenu.js.map +7 -0
- package/dist/grapher/controls/ShareMenu.d.ts +47 -0
- package/dist/grapher/controls/ShareMenu.d.ts.map +1 -0
- package/dist/grapher/controls/ShareMenu.js +261 -0
- package/dist/grapher/controls/ShareMenu.js.map +7 -0
- package/dist/grapher/controls/SortIcon.d.ts +8 -0
- package/dist/grapher/controls/SortIcon.d.ts.map +1 -0
- package/dist/grapher/controls/SortIcon.js +29 -0
- package/dist/grapher/controls/SortIcon.js.map +7 -0
- package/dist/grapher/controls/VerticalScrollContainer.d.ts +9 -0
- package/dist/grapher/controls/VerticalScrollContainer.d.ts.map +1 -0
- package/dist/grapher/controls/VerticalScrollContainer.js +192 -0
- package/dist/grapher/controls/VerticalScrollContainer.js.map +7 -0
- package/dist/grapher/controls/controlsRow/ControlsRow.d.ts +36 -0
- package/dist/grapher/controls/controlsRow/ControlsRow.d.ts.map +1 -0
- package/dist/grapher/controls/controlsRow/ControlsRow.js +103 -0
- package/dist/grapher/controls/controlsRow/ControlsRow.js.map +7 -0
- package/dist/grapher/controls/entityPicker/EntityPicker.d.ts +69 -0
- package/dist/grapher/controls/entityPicker/EntityPicker.d.ts.map +1 -0
- package/dist/grapher/controls/entityPicker/EntityPicker.js +694 -0
- package/dist/grapher/controls/entityPicker/EntityPicker.js.map +7 -0
- package/dist/grapher/controls/entityPicker/EntityPickerConstants.d.ts +23 -0
- package/dist/grapher/controls/entityPicker/EntityPickerConstants.d.ts.map +1 -0
- package/dist/grapher/controls/entityPicker/EntityPickerConstants.js +0 -0
- package/dist/grapher/controls/entityPicker/EntityPickerConstants.js.map +7 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelector.d.ts +46 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelector.d.ts.map +1 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelector.js +384 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelector.js.map +7 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelectorConstants.d.ts +4 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelectorConstants.d.ts.map +1 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelectorConstants.js +8 -0
- package/dist/grapher/controls/globalEntitySelector/GlobalEntitySelectorConstants.js.map +7 -0
- package/dist/grapher/controls/settings/AbsRelToggle.d.ts +20 -0
- package/dist/grapher/controls/settings/AbsRelToggle.d.ts.map +1 -0
- package/dist/grapher/controls/settings/AbsRelToggle.js +69 -0
- package/dist/grapher/controls/settings/AbsRelToggle.js.map +7 -0
- package/dist/grapher/controls/settings/AxisScaleToggle.d.ts +14 -0
- package/dist/grapher/controls/settings/AxisScaleToggle.d.ts.map +1 -0
- package/dist/grapher/controls/settings/AxisScaleToggle.js +55 -0
- package/dist/grapher/controls/settings/AxisScaleToggle.js.map +7 -0
- package/dist/grapher/controls/settings/FacetStrategySelector.d.ts +25 -0
- package/dist/grapher/controls/settings/FacetStrategySelector.d.ts.map +1 -0
- package/dist/grapher/controls/settings/FacetStrategySelector.js +99 -0
- package/dist/grapher/controls/settings/FacetStrategySelector.js.map +7 -0
- package/dist/grapher/controls/settings/FacetYDomainToggle.d.ts +18 -0
- package/dist/grapher/controls/settings/FacetYDomainToggle.d.ts.map +1 -0
- package/dist/grapher/controls/settings/FacetYDomainToggle.js +58 -0
- package/dist/grapher/controls/settings/FacetYDomainToggle.js.map +7 -0
- package/dist/grapher/controls/settings/NoDataAreaToggle.d.ts +15 -0
- package/dist/grapher/controls/settings/NoDataAreaToggle.d.ts.map +1 -0
- package/dist/grapher/controls/settings/NoDataAreaToggle.js +50 -0
- package/dist/grapher/controls/settings/NoDataAreaToggle.js.map +7 -0
- package/dist/grapher/controls/settings/ZoomToggle.d.ts +14 -0
- package/dist/grapher/controls/settings/ZoomToggle.d.ts.map +1 -0
- package/dist/grapher/controls/settings/ZoomToggle.js +44 -0
- package/dist/grapher/controls/settings/ZoomToggle.js.map +7 -0
- package/dist/grapher/core/EntitiesByRegionType.d.ts +17 -0
- package/dist/grapher/core/EntitiesByRegionType.d.ts.map +1 -0
- package/dist/grapher/core/EntitiesByRegionType.js +129 -0
- package/dist/grapher/core/EntitiesByRegionType.js.map +7 -0
- package/dist/grapher/core/EntityCodes.d.ts +4 -0
- package/dist/grapher/core/EntityCodes.d.ts.map +1 -0
- package/dist/grapher/core/EntityCodes.js +18 -0
- package/dist/grapher/core/EntityCodes.js.map +7 -0
- package/dist/grapher/core/EntityUrlBuilder.d.ts +11 -0
- package/dist/grapher/core/EntityUrlBuilder.d.ts.map +1 -0
- package/dist/grapher/core/EntityUrlBuilder.js +91 -0
- package/dist/grapher/core/EntityUrlBuilder.js.map +7 -0
- package/dist/grapher/core/FetchingGrapher.d.ts +15 -0
- package/dist/grapher/core/FetchingGrapher.d.ts.map +1 -0
- package/dist/grapher/core/FetchingGrapher.js +100 -0
- package/dist/grapher/core/FetchingGrapher.js.map +7 -0
- package/dist/grapher/core/Grapher.d.ts +112 -0
- package/dist/grapher/core/Grapher.d.ts.map +1 -0
- package/dist/grapher/core/Grapher.js +581 -0
- package/dist/grapher/core/Grapher.js.map +7 -0
- package/dist/grapher/core/GrapherAnalytics.d.ts +45 -0
- package/dist/grapher/core/GrapherAnalytics.d.ts.map +1 -0
- package/dist/grapher/core/GrapherAnalytics.js +145 -0
- package/dist/grapher/core/GrapherAnalytics.js.map +7 -0
- package/dist/grapher/core/GrapherConstants.d.ts +87 -0
- package/dist/grapher/core/GrapherConstants.d.ts.map +1 -0
- package/dist/grapher/core/GrapherConstants.js +175 -0
- package/dist/grapher/core/GrapherConstants.js.map +7 -0
- package/dist/grapher/core/GrapherState.d.ts +531 -0
- package/dist/grapher/core/GrapherState.d.ts.map +1 -0
- package/dist/grapher/core/GrapherState.js +3245 -0
- package/dist/grapher/core/GrapherState.js.map +7 -0
- package/dist/grapher/core/GrapherUrl.d.ts +6 -0
- package/dist/grapher/core/GrapherUrl.d.ts.map +1 -0
- package/dist/grapher/core/GrapherUrl.js +118 -0
- package/dist/grapher/core/GrapherUrl.js.map +7 -0
- package/dist/grapher/core/GrapherUrlMigrations.d.ts +5 -0
- package/dist/grapher/core/GrapherUrlMigrations.d.ts.map +1 -0
- package/dist/grapher/core/GrapherUrlMigrations.js +26 -0
- package/dist/grapher/core/GrapherUrlMigrations.js.map +7 -0
- package/dist/grapher/core/GrapherUseHelpers.d.ts +12 -0
- package/dist/grapher/core/GrapherUseHelpers.d.ts.map +1 -0
- package/dist/grapher/core/GrapherUseHelpers.js +98 -0
- package/dist/grapher/core/GrapherUseHelpers.js.map +7 -0
- package/dist/grapher/core/LegacyToChartsTable.d.ts +14 -0
- package/dist/grapher/core/LegacyToChartsTable.d.ts.map +1 -0
- package/dist/grapher/core/LegacyToChartsTable.js +487 -0
- package/dist/grapher/core/LegacyToChartsTable.js.map +7 -0
- package/dist/grapher/core/grapher.entry.d.ts +2 -0
- package/dist/grapher/core/grapher.entry.d.ts.map +1 -0
- package/dist/grapher/core/grapher.entry.js +3 -0
- package/dist/grapher/core/grapher.entry.js.map +7 -0
- package/dist/grapher/core/loadGrapherTableHelpers.d.ts +17 -0
- package/dist/grapher/core/loadGrapherTableHelpers.d.ts.map +1 -0
- package/dist/grapher/core/loadGrapherTableHelpers.js +66 -0
- package/dist/grapher/core/loadGrapherTableHelpers.js.map +7 -0
- package/dist/grapher/core/loadVariable.d.ts +16 -0
- package/dist/grapher/core/loadVariable.d.ts.map +1 -0
- package/dist/grapher/core/loadVariable.js +71 -0
- package/dist/grapher/core/loadVariable.js.map +7 -0
- package/dist/grapher/core/relatedQuestion.d.ts +3 -0
- package/dist/grapher/core/relatedQuestion.d.ts.map +1 -0
- package/dist/grapher/core/relatedQuestion.js +6 -0
- package/dist/grapher/core/relatedQuestion.js.map +7 -0
- package/dist/grapher/dataTable/DataTable.d.ts +67 -0
- package/dist/grapher/dataTable/DataTable.d.ts.map +1 -0
- package/dist/grapher/dataTable/DataTable.js +934 -0
- package/dist/grapher/dataTable/DataTable.js.map +7 -0
- package/dist/grapher/dataTable/DataTable.sample.d.ts +7 -0
- package/dist/grapher/dataTable/DataTable.sample.d.ts.map +1 -0
- package/dist/grapher/dataTable/DataTable.sample.js +192 -0
- package/dist/grapher/dataTable/DataTable.sample.js.map +7 -0
- package/dist/grapher/dataTable/DataTableConstants.d.ts +141 -0
- package/dist/grapher/dataTable/DataTableConstants.d.ts.map +1 -0
- package/dist/grapher/dataTable/DataTableConstants.js +28 -0
- package/dist/grapher/dataTable/DataTableConstants.js.map +7 -0
- package/dist/grapher/entitySelector/EntitySelector.d.ts +207 -0
- package/dist/grapher/entitySelector/EntitySelector.d.ts.map +1 -0
- package/dist/grapher/entitySelector/EntitySelector.js +1334 -0
- package/dist/grapher/entitySelector/EntitySelector.js.map +7 -0
- package/dist/grapher/facet/FacetChart.d.ts +101 -0
- package/dist/grapher/facet/FacetChart.d.ts.map +1 -0
- package/dist/grapher/facet/FacetChart.js +838 -0
- package/dist/grapher/facet/FacetChart.js.map +7 -0
- package/dist/grapher/facet/FacetChartConstants.d.ts +21 -0
- package/dist/grapher/facet/FacetChartConstants.d.ts.map +1 -0
- package/dist/grapher/facet/FacetChartConstants.js +0 -0
- package/dist/grapher/facet/FacetChartConstants.js.map +7 -0
- package/dist/grapher/facet/FacetChartUtils.d.ts +13 -0
- package/dist/grapher/facet/FacetChartUtils.d.ts.map +1 -0
- package/dist/grapher/facet/FacetChartUtils.js +37 -0
- package/dist/grapher/facet/FacetChartUtils.js.map +7 -0
- package/dist/grapher/facet/FacetMap.d.ts +73 -0
- package/dist/grapher/facet/FacetMap.d.ts.map +1 -0
- package/dist/grapher/facet/FacetMap.js +550 -0
- package/dist/grapher/facet/FacetMap.js.map +7 -0
- package/dist/grapher/facet/FacetMapConstants.d.ts +20 -0
- package/dist/grapher/facet/FacetMapConstants.d.ts.map +1 -0
- package/dist/grapher/facet/FacetMapConstants.js +0 -0
- package/dist/grapher/facet/FacetMapConstants.js.map +7 -0
- package/dist/grapher/focus/FocusArray.d.ts +24 -0
- package/dist/grapher/focus/FocusArray.d.ts.map +1 -0
- package/dist/grapher/focus/FocusArray.js +104 -0
- package/dist/grapher/focus/FocusArray.js.map +7 -0
- package/dist/grapher/footer/Footer.d.ts +86 -0
- package/dist/grapher/footer/Footer.d.ts.map +1 -0
- package/dist/grapher/footer/Footer.js +605 -0
- package/dist/grapher/footer/Footer.js.map +7 -0
- package/dist/grapher/footer/FooterManager.d.ts +43 -0
- package/dist/grapher/footer/FooterManager.d.ts.map +1 -0
- package/dist/grapher/footer/FooterManager.js +0 -0
- package/dist/grapher/footer/FooterManager.js.map +7 -0
- package/dist/grapher/fullScreen/FullScreen.d.ts +17 -0
- package/dist/grapher/fullScreen/FullScreen.d.ts.map +1 -0
- package/dist/grapher/fullScreen/FullScreen.js +62 -0
- package/dist/grapher/fullScreen/FullScreen.js.map +7 -0
- package/dist/grapher/header/Header.d.ts +51 -0
- package/dist/grapher/header/Header.d.ts.map +1 -0
- package/dist/grapher/header/Header.js +348 -0
- package/dist/grapher/header/Header.js.map +7 -0
- package/dist/grapher/header/HeaderManager.d.ts +28 -0
- package/dist/grapher/header/HeaderManager.d.ts.map +1 -0
- package/dist/grapher/header/HeaderManager.js +0 -0
- package/dist/grapher/header/HeaderManager.js.map +7 -0
- package/dist/grapher/index.d.ts +58 -0
- package/dist/grapher/index.d.ts.map +1 -0
- package/dist/grapher/index.js +226 -0
- package/dist/grapher/index.js.map +7 -0
- package/dist/grapher/interaction/InteractionState.d.ts +42 -0
- package/dist/grapher/interaction/InteractionState.d.ts.map +1 -0
- package/dist/grapher/interaction/InteractionState.js +55 -0
- package/dist/grapher/interaction/InteractionState.js.map +7 -0
- package/dist/grapher/legend/HorizontalColorLegends.d.ts +108 -0
- package/dist/grapher/legend/HorizontalColorLegends.d.ts.map +1 -0
- package/dist/grapher/legend/HorizontalColorLegends.js +755 -0
- package/dist/grapher/legend/HorizontalColorLegends.js.map +7 -0
- package/dist/grapher/legend/LegendInteractionState.d.ts +37 -0
- package/dist/grapher/legend/LegendInteractionState.d.ts.map +1 -0
- package/dist/grapher/legend/LegendInteractionState.js +9 -0
- package/dist/grapher/legend/LegendInteractionState.js.map +7 -0
- package/dist/grapher/legend/VerticalColorLegend.d.ts +47 -0
- package/dist/grapher/legend/VerticalColorLegend.d.ts.map +1 -0
- package/dist/grapher/legend/VerticalColorLegend.js +245 -0
- package/dist/grapher/legend/VerticalColorLegend.js.map +7 -0
- package/dist/grapher/lineCharts/LineChart.d.ts +108 -0
- package/dist/grapher/lineCharts/LineChart.d.ts.map +1 -0
- package/dist/grapher/lineCharts/LineChart.js +912 -0
- package/dist/grapher/lineCharts/LineChart.js.map +7 -0
- package/dist/grapher/lineCharts/LineChartConstants.d.ts +63 -0
- package/dist/grapher/lineCharts/LineChartConstants.d.ts.map +1 -0
- package/dist/grapher/lineCharts/LineChartConstants.js +37 -0
- package/dist/grapher/lineCharts/LineChartConstants.js.map +7 -0
- package/dist/grapher/lineCharts/LineChartHelpers.d.ts +33 -0
- package/dist/grapher/lineCharts/LineChartHelpers.d.ts.map +1 -0
- package/dist/grapher/lineCharts/LineChartHelpers.js +105 -0
- package/dist/grapher/lineCharts/LineChartHelpers.js.map +7 -0
- package/dist/grapher/lineCharts/LineChartState.d.ts +51 -0
- package/dist/grapher/lineCharts/LineChartState.d.ts.map +1 -0
- package/dist/grapher/lineCharts/LineChartState.js +356 -0
- package/dist/grapher/lineCharts/LineChartState.js.map +7 -0
- package/dist/grapher/lineCharts/LineChartThumbnail.d.ts +43 -0
- package/dist/grapher/lineCharts/LineChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/lineCharts/LineChartThumbnail.js +410 -0
- package/dist/grapher/lineCharts/LineChartThumbnail.js.map +7 -0
- package/dist/grapher/lineCharts/Lines.d.ts +22 -0
- package/dist/grapher/lineCharts/Lines.d.ts.map +1 -0
- package/dist/grapher/lineCharts/Lines.js +213 -0
- package/dist/grapher/lineCharts/Lines.js.map +7 -0
- package/dist/grapher/lineLegend/LineLegend.d.ts +67 -0
- package/dist/grapher/lineLegend/LineLegend.d.ts.map +1 -0
- package/dist/grapher/lineLegend/LineLegend.js +633 -0
- package/dist/grapher/lineLegend/LineLegend.js.map +7 -0
- package/dist/grapher/lineLegend/LineLegendConstants.d.ts +6 -0
- package/dist/grapher/lineLegend/LineLegendConstants.d.ts.map +1 -0
- package/dist/grapher/lineLegend/LineLegendConstants.js +12 -0
- package/dist/grapher/lineLegend/LineLegendConstants.js.map +7 -0
- package/dist/grapher/lineLegend/LineLegendFilterAlgorithms.d.ts +23 -0
- package/dist/grapher/lineLegend/LineLegendFilterAlgorithms.d.ts.map +1 -0
- package/dist/grapher/lineLegend/LineLegendFilterAlgorithms.js +91 -0
- package/dist/grapher/lineLegend/LineLegendFilterAlgorithms.js.map +7 -0
- package/dist/grapher/lineLegend/LineLegendHelpers.d.ts +53 -0
- package/dist/grapher/lineLegend/LineLegendHelpers.d.ts.map +1 -0
- package/dist/grapher/lineLegend/LineLegendHelpers.js +119 -0
- package/dist/grapher/lineLegend/LineLegendHelpers.js.map +7 -0
- package/dist/grapher/lineLegend/LineLegendTypes.d.ts +30 -0
- package/dist/grapher/lineLegend/LineLegendTypes.d.ts.map +1 -0
- package/dist/grapher/lineLegend/LineLegendTypes.js +0 -0
- package/dist/grapher/lineLegend/LineLegendTypes.js.map +7 -0
- package/dist/grapher/mapCharts/CanadaTopology.d.ts +64 -0
- package/dist/grapher/mapCharts/CanadaTopology.d.ts.map +1 -0
- package/dist/grapher/mapCharts/CanadaTopology.js +17925 -0
- package/dist/grapher/mapCharts/CanadaTopology.js.map +7 -0
- package/dist/grapher/mapCharts/ChoroplethGlobe.d.ts +79 -0
- package/dist/grapher/mapCharts/ChoroplethGlobe.d.ts.map +1 -0
- package/dist/grapher/mapCharts/ChoroplethGlobe.js +803 -0
- package/dist/grapher/mapCharts/ChoroplethGlobe.js.map +7 -0
- package/dist/grapher/mapCharts/ChoroplethMap.d.ts +63 -0
- package/dist/grapher/mapCharts/ChoroplethMap.d.ts.map +1 -0
- package/dist/grapher/mapCharts/ChoroplethMap.js +616 -0
- package/dist/grapher/mapCharts/ChoroplethMap.js.map +7 -0
- package/dist/grapher/mapCharts/GeoFeatures.d.ts +9 -0
- package/dist/grapher/mapCharts/GeoFeatures.d.ts.map +1 -0
- package/dist/grapher/mapCharts/GeoFeatures.js +145 -0
- package/dist/grapher/mapCharts/GeoFeatures.js.map +7 -0
- package/dist/grapher/mapCharts/GlobeController.d.ts +29 -0
- package/dist/grapher/mapCharts/GlobeController.d.ts.map +1 -0
- package/dist/grapher/mapCharts/GlobeController.js +359 -0
- package/dist/grapher/mapCharts/GlobeController.js.map +7 -0
- package/dist/grapher/mapCharts/MapAnnotationPlacements.d.ts +14 -0
- package/dist/grapher/mapCharts/MapAnnotationPlacements.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapAnnotationPlacements.js +16 -0
- package/dist/grapher/mapCharts/MapAnnotationPlacements.js.map +7 -0
- package/dist/grapher/mapCharts/MapAnnotations.d.ts +32 -0
- package/dist/grapher/mapCharts/MapAnnotations.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapAnnotations.js +502 -0
- package/dist/grapher/mapCharts/MapAnnotations.js.map +7 -0
- package/dist/grapher/mapCharts/MapChart.d.ts +105 -0
- package/dist/grapher/mapCharts/MapChart.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapChart.js +653 -0
- package/dist/grapher/mapCharts/MapChart.js.map +7 -0
- package/dist/grapher/mapCharts/MapChart.sample.d.ts +30 -0
- package/dist/grapher/mapCharts/MapChart.sample.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapChart.sample.js +60 -0
- package/dist/grapher/mapCharts/MapChart.sample.js.map +7 -0
- package/dist/grapher/mapCharts/MapChartConstants.d.ts +169 -0
- package/dist/grapher/mapCharts/MapChartConstants.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapChartConstants.js +118 -0
- package/dist/grapher/mapCharts/MapChartConstants.js.map +7 -0
- package/dist/grapher/mapCharts/MapChartState.d.ts +51 -0
- package/dist/grapher/mapCharts/MapChartState.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapChartState.js +335 -0
- package/dist/grapher/mapCharts/MapChartState.js.map +7 -0
- package/dist/grapher/mapCharts/MapChartThumbnail.d.ts +10 -0
- package/dist/grapher/mapCharts/MapChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapChartThumbnail.js +35 -0
- package/dist/grapher/mapCharts/MapChartThumbnail.js.map +7 -0
- package/dist/grapher/mapCharts/MapComponents.d.ts +56 -0
- package/dist/grapher/mapCharts/MapComponents.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapComponents.js +259 -0
- package/dist/grapher/mapCharts/MapComponents.js.map +7 -0
- package/dist/grapher/mapCharts/MapConfig.d.ts +31 -0
- package/dist/grapher/mapCharts/MapConfig.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapConfig.js +114 -0
- package/dist/grapher/mapCharts/MapConfig.js.map +7 -0
- package/dist/grapher/mapCharts/MapHelpers.d.ts +33 -0
- package/dist/grapher/mapCharts/MapHelpers.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapHelpers.js +113 -0
- package/dist/grapher/mapCharts/MapHelpers.js.map +7 -0
- package/dist/grapher/mapCharts/MapProjections.d.ts +4 -0
- package/dist/grapher/mapCharts/MapProjections.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapProjections.js +22 -0
- package/dist/grapher/mapCharts/MapProjections.js.map +7 -0
- package/dist/grapher/mapCharts/MapSparkline.d.ts +42 -0
- package/dist/grapher/mapCharts/MapSparkline.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapSparkline.js +223 -0
- package/dist/grapher/mapCharts/MapSparkline.js.map +7 -0
- package/dist/grapher/mapCharts/MapTooltip.d.ts +54 -0
- package/dist/grapher/mapCharts/MapTooltip.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapTooltip.js +353 -0
- package/dist/grapher/mapCharts/MapTooltip.js.map +7 -0
- package/dist/grapher/mapCharts/MapTopology.d.ts +20 -0
- package/dist/grapher/mapCharts/MapTopology.d.ts.map +1 -0
- package/dist/grapher/mapCharts/MapTopology.js +1959 -0
- package/dist/grapher/mapCharts/MapTopology.js.map +7 -0
- package/dist/grapher/mapCharts/d3-geo-projection.d.ts +12 -0
- package/dist/grapher/mapCharts/d3-geo-projection.d.ts.map +1 -0
- package/dist/grapher/mapCharts/d3-geo-projection.js +95 -0
- package/dist/grapher/mapCharts/d3-geo-projection.js.map +7 -0
- package/dist/grapher/modal/DownloadIcons.d.ts +3 -0
- package/dist/grapher/modal/DownloadIcons.d.ts.map +1 -0
- package/dist/grapher/modal/DownloadIcons.js +42 -0
- package/dist/grapher/modal/DownloadIcons.js.map +7 -0
- package/dist/grapher/modal/DownloadModal.d.ts +99 -0
- package/dist/grapher/modal/DownloadModal.d.ts.map +1 -0
- package/dist/grapher/modal/DownloadModal.js +877 -0
- package/dist/grapher/modal/DownloadModal.js.map +7 -0
- package/dist/grapher/modal/EmbedModal.d.ts +27 -0
- package/dist/grapher/modal/EmbedModal.d.ts.map +1 -0
- package/dist/grapher/modal/EmbedModal.js +132 -0
- package/dist/grapher/modal/EmbedModal.js.map +7 -0
- package/dist/grapher/modal/EntitySelectorModal.d.ts +20 -0
- package/dist/grapher/modal/EntitySelectorModal.d.ts.map +1 -0
- package/dist/grapher/modal/EntitySelectorModal.js +74 -0
- package/dist/grapher/modal/EntitySelectorModal.js.map +7 -0
- package/dist/grapher/modal/Modal.d.ts +20 -0
- package/dist/grapher/modal/Modal.d.ts.map +1 -0
- package/dist/grapher/modal/Modal.js +85 -0
- package/dist/grapher/modal/Modal.js.map +7 -0
- package/dist/grapher/modal/ModalHeader.d.ts +5 -0
- package/dist/grapher/modal/ModalHeader.d.ts.map +1 -0
- package/dist/grapher/modal/ModalHeader.js +10 -0
- package/dist/grapher/modal/ModalHeader.js.map +7 -0
- package/dist/grapher/modal/SourcesDescriptions.d.ts +12 -0
- package/dist/grapher/modal/SourcesDescriptions.d.ts.map +1 -0
- package/dist/grapher/modal/SourcesDescriptions.js +57 -0
- package/dist/grapher/modal/SourcesDescriptions.js.map +7 -0
- package/dist/grapher/modal/SourcesKeyDataTable.d.ts +15 -0
- package/dist/grapher/modal/SourcesKeyDataTable.d.ts.map +1 -0
- package/dist/grapher/modal/SourcesKeyDataTable.js +47 -0
- package/dist/grapher/modal/SourcesKeyDataTable.js.map +7 -0
- package/dist/grapher/modal/SourcesModal.d.ts +76 -0
- package/dist/grapher/modal/SourcesModal.d.ts.map +1 -0
- package/dist/grapher/modal/SourcesModal.js +496 -0
- package/dist/grapher/modal/SourcesModal.js.map +7 -0
- package/dist/grapher/noDataModal/NoDataModal.d.ts +26 -0
- package/dist/grapher/noDataModal/NoDataModal.d.ts.map +1 -0
- package/dist/grapher/noDataModal/NoDataModal.js +111 -0
- package/dist/grapher/noDataModal/NoDataModal.js.map +7 -0
- package/dist/grapher/scatterCharts/ConnectedScatterLegend.d.ts +22 -0
- package/dist/grapher/scatterCharts/ConnectedScatterLegend.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ConnectedScatterLegend.js +167 -0
- package/dist/grapher/scatterCharts/ConnectedScatterLegend.js.map +7 -0
- package/dist/grapher/scatterCharts/MultiColorPolyline.d.ts +25 -0
- package/dist/grapher/scatterCharts/MultiColorPolyline.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/MultiColorPolyline.js +90 -0
- package/dist/grapher/scatterCharts/MultiColorPolyline.js.map +7 -0
- package/dist/grapher/scatterCharts/NoDataSection.d.ts +9 -0
- package/dist/grapher/scatterCharts/NoDataSection.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/NoDataSection.js +39 -0
- package/dist/grapher/scatterCharts/NoDataSection.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPlotChart.d.ts +98 -0
- package/dist/grapher/scatterCharts/ScatterPlotChart.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPlotChart.js +750 -0
- package/dist/grapher/scatterCharts/ScatterPlotChart.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartConstants.d.ts +128 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartConstants.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartConstants.js +38 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartConstants.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartState.d.ts +75 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartState.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartState.js +605 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartState.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartThumbnail.d.ts +27 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartThumbnail.js +167 -0
- package/dist/grapher/scatterCharts/ScatterPlotChartThumbnail.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPlotTooltip.d.ts +22 -0
- package/dist/grapher/scatterCharts/ScatterPlotTooltip.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPlotTooltip.js +427 -0
- package/dist/grapher/scatterCharts/ScatterPlotTooltip.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPoints.d.ts +24 -0
- package/dist/grapher/scatterCharts/ScatterPoints.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPoints.js +151 -0
- package/dist/grapher/scatterCharts/ScatterPoints.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterPointsWithLabels.d.ts +47 -0
- package/dist/grapher/scatterCharts/ScatterPointsWithLabels.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterPointsWithLabels.js +612 -0
- package/dist/grapher/scatterCharts/ScatterPointsWithLabels.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterSizeLegend.d.ts +31 -0
- package/dist/grapher/scatterCharts/ScatterSizeLegend.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterSizeLegend.js +282 -0
- package/dist/grapher/scatterCharts/ScatterSizeLegend.js.map +7 -0
- package/dist/grapher/scatterCharts/ScatterUtils.d.ts +11 -0
- package/dist/grapher/scatterCharts/ScatterUtils.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/ScatterUtils.js +175 -0
- package/dist/grapher/scatterCharts/ScatterUtils.js.map +7 -0
- package/dist/grapher/scatterCharts/Triangle.d.ts +13 -0
- package/dist/grapher/scatterCharts/Triangle.d.ts.map +1 -0
- package/dist/grapher/scatterCharts/Triangle.js +23 -0
- package/dist/grapher/scatterCharts/Triangle.js.map +7 -0
- package/dist/grapher/schema/defaultGrapherConfig.d.ts +5 -0
- package/dist/grapher/schema/defaultGrapherConfig.d.ts.map +1 -0
- package/dist/grapher/schema/defaultGrapherConfig.js +98 -0
- package/dist/grapher/schema/defaultGrapherConfig.js.map +7 -0
- package/dist/grapher/schema/migrations/helpers.d.ts +18 -0
- package/dist/grapher/schema/migrations/helpers.d.ts.map +1 -0
- package/dist/grapher/schema/migrations/helpers.js +30 -0
- package/dist/grapher/schema/migrations/helpers.js.map +7 -0
- package/dist/grapher/schema/migrations/migrate.d.ts +14 -0
- package/dist/grapher/schema/migrations/migrate.d.ts.map +1 -0
- package/dist/grapher/schema/migrations/migrate.js +41 -0
- package/dist/grapher/schema/migrations/migrate.js.map +7 -0
- package/dist/grapher/schema/migrations/migrations.d.ts +6 -0
- package/dist/grapher/schema/migrations/migrations.d.ts.map +1 -0
- package/dist/grapher/schema/migrations/migrations.js +100 -0
- package/dist/grapher/schema/migrations/migrations.js.map +7 -0
- package/dist/grapher/selection/MapSelectionArray.d.ts +30 -0
- package/dist/grapher/selection/MapSelectionArray.d.ts.map +1 -0
- package/dist/grapher/selection/MapSelectionArray.js +110 -0
- package/dist/grapher/selection/MapSelectionArray.js.map +7 -0
- package/dist/grapher/selection/SelectionArray.d.ts +17 -0
- package/dist/grapher/selection/SelectionArray.d.ts.map +1 -0
- package/dist/grapher/selection/SelectionArray.js +99 -0
- package/dist/grapher/selection/SelectionArray.js.map +7 -0
- package/dist/grapher/sidePanel/SidePanel.d.ts +7 -0
- package/dist/grapher/sidePanel/SidePanel.d.ts.map +1 -0
- package/dist/grapher/sidePanel/SidePanel.js +21 -0
- package/dist/grapher/sidePanel/SidePanel.js.map +7 -0
- package/dist/grapher/slideInDrawer/SlideInDrawer.d.ts +27 -0
- package/dist/grapher/slideInDrawer/SlideInDrawer.d.ts.map +1 -0
- package/dist/grapher/slideInDrawer/SlideInDrawer.js +133 -0
- package/dist/grapher/slideInDrawer/SlideInDrawer.js.map +7 -0
- package/dist/grapher/slideshowController/SlideShowController.d.ts +14 -0
- package/dist/grapher/slideshowController/SlideShowController.d.ts.map +1 -0
- package/dist/grapher/slideshowController/SlideShowController.js +47 -0
- package/dist/grapher/slideshowController/SlideShowController.js.map +7 -0
- package/dist/grapher/slopeCharts/MarkX.d.ts +9 -0
- package/dist/grapher/slopeCharts/MarkX.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/MarkX.js +40 -0
- package/dist/grapher/slopeCharts/MarkX.js.map +7 -0
- package/dist/grapher/slopeCharts/Slope.d.ts +12 -0
- package/dist/grapher/slopeCharts/Slope.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/Slope.js +80 -0
- package/dist/grapher/slopeCharts/Slope.js.map +7 -0
- package/dist/grapher/slopeCharts/SlopeChart.d.ts +112 -0
- package/dist/grapher/slopeCharts/SlopeChart.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/SlopeChart.js +1036 -0
- package/dist/grapher/slopeCharts/SlopeChart.js.map +7 -0
- package/dist/grapher/slopeCharts/SlopeChartConstants.d.ts +29 -0
- package/dist/grapher/slopeCharts/SlopeChartConstants.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/SlopeChartConstants.js +0 -0
- package/dist/grapher/slopeCharts/SlopeChartConstants.js.map +7 -0
- package/dist/grapher/slopeCharts/SlopeChartHelpers.d.ts +15 -0
- package/dist/grapher/slopeCharts/SlopeChartHelpers.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/SlopeChartHelpers.js +49 -0
- package/dist/grapher/slopeCharts/SlopeChartHelpers.js.map +7 -0
- package/dist/grapher/slopeCharts/SlopeChartState.d.ts +55 -0
- package/dist/grapher/slopeCharts/SlopeChartState.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/SlopeChartState.js +368 -0
- package/dist/grapher/slopeCharts/SlopeChartState.js.map +7 -0
- package/dist/grapher/slopeCharts/SlopeChartThumbnail.d.ts +46 -0
- package/dist/grapher/slopeCharts/SlopeChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/slopeCharts/SlopeChartThumbnail.js +402 -0
- package/dist/grapher/slopeCharts/SlopeChartThumbnail.js.map +7 -0
- package/dist/grapher/stackedCharts/AbstractStackedChartState.d.ts +47 -0
- package/dist/grapher/stackedCharts/AbstractStackedChartState.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/AbstractStackedChartState.js +321 -0
- package/dist/grapher/stackedCharts/AbstractStackedChartState.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoBars.d.ts +25 -0
- package/dist/grapher/stackedCharts/MarimekkoBars.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoBars.js +125 -0
- package/dist/grapher/stackedCharts/MarimekkoBars.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoBarsForOneEntity.d.ts +24 -0
- package/dist/grapher/stackedCharts/MarimekkoBarsForOneEntity.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoBarsForOneEntity.js +122 -0
- package/dist/grapher/stackedCharts/MarimekkoBarsForOneEntity.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChart.d.ts +94 -0
- package/dist/grapher/stackedCharts/MarimekkoChart.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoChart.js +1037 -0
- package/dist/grapher/stackedCharts/MarimekkoChart.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChartConstants.d.ts +90 -0
- package/dist/grapher/stackedCharts/MarimekkoChartConstants.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoChartConstants.js +8 -0
- package/dist/grapher/stackedCharts/MarimekkoChartConstants.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChartHelpers.d.ts +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChartHelpers.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoChartHelpers.js +15 -0
- package/dist/grapher/stackedCharts/MarimekkoChartHelpers.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChartState.d.ts +56 -0
- package/dist/grapher/stackedCharts/MarimekkoChartState.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoChartState.js +458 -0
- package/dist/grapher/stackedCharts/MarimekkoChartState.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoChartThumbnail.d.ts +31 -0
- package/dist/grapher/stackedCharts/MarimekkoChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoChartThumbnail.js +200 -0
- package/dist/grapher/stackedCharts/MarimekkoChartThumbnail.js.map +7 -0
- package/dist/grapher/stackedCharts/MarimekkoInternalLabels.d.ts +26 -0
- package/dist/grapher/stackedCharts/MarimekkoInternalLabels.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/MarimekkoInternalLabels.js +96 -0
- package/dist/grapher/stackedCharts/MarimekkoInternalLabels.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedAreaChart.d.ts +73 -0
- package/dist/grapher/stackedCharts/StackedAreaChart.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedAreaChart.js +649 -0
- package/dist/grapher/stackedCharts/StackedAreaChart.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedAreaChartState.d.ts +14 -0
- package/dist/grapher/stackedCharts/StackedAreaChartState.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedAreaChartState.js +45 -0
- package/dist/grapher/stackedCharts/StackedAreaChartState.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedAreaChartThumbnail.d.ts +30 -0
- package/dist/grapher/stackedCharts/StackedAreaChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedAreaChartThumbnail.js +235 -0
- package/dist/grapher/stackedCharts/StackedAreaChartThumbnail.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedAreas.d.ts +25 -0
- package/dist/grapher/stackedCharts/StackedAreas.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedAreas.js +196 -0
- package/dist/grapher/stackedCharts/StackedAreas.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedBarChart.d.ts +90 -0
- package/dist/grapher/stackedCharts/StackedBarChart.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedBarChart.js +591 -0
- package/dist/grapher/stackedCharts/StackedBarChart.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedBarChartState.d.ts +21 -0
- package/dist/grapher/stackedCharts/StackedBarChartState.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedBarChartState.js +81 -0
- package/dist/grapher/stackedCharts/StackedBarChartState.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedBarChartThumbnail.d.ts +30 -0
- package/dist/grapher/stackedCharts/StackedBarChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedBarChartThumbnail.js +240 -0
- package/dist/grapher/stackedCharts/StackedBarChartThumbnail.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedBarSegment.d.ts +29 -0
- package/dist/grapher/stackedCharts/StackedBarSegment.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedBarSegment.js +83 -0
- package/dist/grapher/stackedCharts/StackedBarSegment.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedBars.d.ts +20 -0
- package/dist/grapher/stackedCharts/StackedBars.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedBars.js +80 -0
- package/dist/grapher/stackedCharts/StackedBars.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedConstants.d.ts +74 -0
- package/dist/grapher/stackedCharts/StackedConstants.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedConstants.js +37 -0
- package/dist/grapher/stackedCharts/StackedConstants.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChart.d.ts +55 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChart.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChart.js +270 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChart.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartState.d.ts +39 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartState.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartState.js +274 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartState.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.d.ts +10 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.js +35 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBars.d.ts +78 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBars.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBars.js +571 -0
- package/dist/grapher/stackedCharts/StackedDiscreteBars.js.map +7 -0
- package/dist/grapher/stackedCharts/StackedUtils.d.ts +12 -0
- package/dist/grapher/stackedCharts/StackedUtils.d.ts.map +1 -0
- package/dist/grapher/stackedCharts/StackedUtils.js +100 -0
- package/dist/grapher/stackedCharts/StackedUtils.js.map +7 -0
- package/dist/grapher/tabs/Tabs.d.ts +19 -0
- package/dist/grapher/tabs/Tabs.d.ts.map +1 -0
- package/dist/grapher/tabs/Tabs.js +41 -0
- package/dist/grapher/tabs/Tabs.js.map +7 -0
- package/dist/grapher/tabs/TabsWithDropdown.d.ts +10 -0
- package/dist/grapher/tabs/TabsWithDropdown.d.ts.map +1 -0
- package/dist/grapher/tabs/TabsWithDropdown.js +100 -0
- package/dist/grapher/tabs/TabsWithDropdown.js.map +7 -0
- package/dist/grapher/testData/TestData.d.ts +26 -0
- package/dist/grapher/testData/TestData.d.ts.map +1 -0
- package/dist/grapher/testData/TestData.js +47 -0
- package/dist/grapher/testData/TestData.js.map +7 -0
- package/dist/grapher/testData/TestData.sample.d.ts +14 -0
- package/dist/grapher/testData/TestData.sample.d.ts.map +1 -0
- package/dist/grapher/testData/TestData.sample.js +233 -0
- package/dist/grapher/testData/TestData.sample.js.map +7 -0
- package/dist/grapher/timeline/TimelineComponent.d.ts +56 -0
- package/dist/grapher/timeline/TimelineComponent.d.ts.map +1 -0
- package/dist/grapher/timeline/TimelineComponent.js +593 -0
- package/dist/grapher/timeline/TimelineComponent.js.map +7 -0
- package/dist/grapher/timeline/TimelineController.d.ts +69 -0
- package/dist/grapher/timeline/TimelineController.d.ts.map +1 -0
- package/dist/grapher/timeline/TimelineController.js +294 -0
- package/dist/grapher/timeline/TimelineController.js.map +7 -0
- package/dist/grapher/tooltip/Tooltip.d.ts +34 -0
- package/dist/grapher/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/grapher/tooltip/Tooltip.js +225 -0
- package/dist/grapher/tooltip/Tooltip.js.map +7 -0
- package/dist/grapher/tooltip/TooltipContents.d.ts +21 -0
- package/dist/grapher/tooltip/TooltipContents.d.ts.map +1 -0
- package/dist/grapher/tooltip/TooltipContents.js +232 -0
- package/dist/grapher/tooltip/TooltipContents.js.map +7 -0
- package/dist/grapher/tooltip/TooltipProps.d.ts +108 -0
- package/dist/grapher/tooltip/TooltipProps.d.ts.map +1 -0
- package/dist/grapher/tooltip/TooltipProps.js +13 -0
- package/dist/grapher/tooltip/TooltipProps.js.map +7 -0
- package/dist/grapher/tooltip/TooltipState.d.ts +22 -0
- package/dist/grapher/tooltip/TooltipState.d.ts.map +1 -0
- package/dist/grapher/tooltip/TooltipState.js +58 -0
- package/dist/grapher/tooltip/TooltipState.js.map +7 -0
- package/dist/grapher/verticalLabels/VerticalLabels.d.ts +10 -0
- package/dist/grapher/verticalLabels/VerticalLabels.d.ts.map +1 -0
- package/dist/grapher/verticalLabels/VerticalLabels.js +18 -0
- package/dist/grapher/verticalLabels/VerticalLabels.js.map +7 -0
- package/dist/grapher/verticalLabels/VerticalLabelsState.d.ts +44 -0
- package/dist/grapher/verticalLabels/VerticalLabelsState.d.ts.map +1 -0
- package/dist/grapher/verticalLabels/VerticalLabelsState.js +98 -0
- package/dist/grapher/verticalLabels/VerticalLabelsState.js.map +7 -0
- package/dist/index.d.ts +81 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +205 -0
- package/dist/index.js.map +7 -0
- package/dist/types/NominalType.d.ts +26 -0
- package/dist/types/NominalType.d.ts.map +1 -0
- package/dist/types/NominalType.js +10 -0
- package/dist/types/NominalType.js.map +7 -0
- package/dist/types/Origin.d.ts +19 -0
- package/dist/types/Origin.d.ts.map +1 -0
- package/dist/types/Origin.js +0 -0
- package/dist/types/Origin.js.map +7 -0
- package/dist/types/Source.d.ts +10 -0
- package/dist/types/Source.d.ts.map +1 -0
- package/dist/types/Source.js +0 -0
- package/dist/types/Source.js.map +7 -0
- package/dist/types/Variable.d.ts +89 -0
- package/dist/types/Variable.d.ts.map +1 -0
- package/dist/types/Variable.js +15 -0
- package/dist/types/Variable.js.map +7 -0
- package/dist/types/VariableDisplayConfigInterface.d.ts +39 -0
- package/dist/types/VariableDisplayConfigInterface.d.ts.map +1 -0
- package/dist/types/VariableDisplayConfigInterface.js +8 -0
- package/dist/types/VariableDisplayConfigInterface.js.map +7 -0
- package/dist/types/analyticsTypes.d.ts +36 -0
- package/dist/types/analyticsTypes.d.ts.map +1 -0
- package/dist/types/analyticsTypes.js +23 -0
- package/dist/types/analyticsTypes.js.map +7 -0
- package/dist/types/dbTypes/Tags.d.ts +11 -0
- package/dist/types/dbTypes/Tags.d.ts.map +1 -0
- package/dist/types/dbTypes/Tags.js +0 -0
- package/dist/types/dbTypes/Tags.js.map +7 -0
- package/dist/types/domainTypes/Archive.d.ts +126 -0
- package/dist/types/domainTypes/Archive.d.ts.map +1 -0
- package/dist/types/domainTypes/Archive.js +4 -0
- package/dist/types/domainTypes/Archive.js.map +7 -0
- package/dist/types/domainTypes/Author.d.ts +20 -0
- package/dist/types/domainTypes/Author.d.ts.map +1 -0
- package/dist/types/domainTypes/Author.js +9 -0
- package/dist/types/domainTypes/Author.js.map +7 -0
- package/dist/types/domainTypes/ContentGraph.d.ts +65 -0
- package/dist/types/domainTypes/ContentGraph.d.ts.map +1 -0
- package/dist/types/domainTypes/ContentGraph.js +18 -0
- package/dist/types/domainTypes/ContentGraph.js.map +7 -0
- package/dist/types/domainTypes/CoreTableTypes.d.ts +224 -0
- package/dist/types/domainTypes/CoreTableTypes.d.ts.map +1 -0
- package/dist/types/domainTypes/CoreTableTypes.js +122 -0
- package/dist/types/domainTypes/CoreTableTypes.js.map +7 -0
- package/dist/types/domainTypes/DeployStatus.d.ts +20 -0
- package/dist/types/domainTypes/DeployStatus.d.ts.map +1 -0
- package/dist/types/domainTypes/DeployStatus.js +8 -0
- package/dist/types/domainTypes/DeployStatus.js.map +7 -0
- package/dist/types/domainTypes/Layout.d.ts +30 -0
- package/dist/types/domainTypes/Layout.d.ts.map +1 -0
- package/dist/types/domainTypes/Layout.js +31 -0
- package/dist/types/domainTypes/Layout.js.map +7 -0
- package/dist/types/domainTypes/Posts.d.ts +35 -0
- package/dist/types/domainTypes/Posts.d.ts.map +1 -0
- package/dist/types/domainTypes/Posts.js +0 -0
- package/dist/types/domainTypes/Posts.js.map +7 -0
- package/dist/types/domainTypes/Search.d.ts +255 -0
- package/dist/types/domainTypes/Search.d.ts.map +1 -0
- package/dist/types/domainTypes/Search.js +84 -0
- package/dist/types/domainTypes/Search.js.map +7 -0
- package/dist/types/domainTypes/Site.d.ts +8 -0
- package/dist/types/domainTypes/Site.d.ts.map +1 -0
- package/dist/types/domainTypes/Site.js +0 -0
- package/dist/types/domainTypes/Site.js.map +7 -0
- package/dist/types/domainTypes/StaticViz.d.ts +55 -0
- package/dist/types/domainTypes/StaticViz.d.ts.map +1 -0
- package/dist/types/domainTypes/StaticViz.js +26 -0
- package/dist/types/domainTypes/StaticViz.js.map +7 -0
- package/dist/types/domainTypes/Toc.d.ts +11 -0
- package/dist/types/domainTypes/Toc.d.ts.map +1 -0
- package/dist/types/domainTypes/Toc.js +0 -0
- package/dist/types/domainTypes/Toc.js.map +7 -0
- package/dist/types/domainTypes/Tombstone.d.ts +19 -0
- package/dist/types/domainTypes/Tombstone.d.ts.map +1 -0
- package/dist/types/domainTypes/Tombstone.js +0 -0
- package/dist/types/domainTypes/Tombstone.js.map +7 -0
- package/dist/types/domainTypes/Various.d.ts +65 -0
- package/dist/types/domainTypes/Various.d.ts.map +1 -0
- package/dist/types/domainTypes/Various.js +36 -0
- package/dist/types/domainTypes/Various.js.map +7 -0
- package/dist/types/gdocTypes/Gdoc.d.ts +224 -0
- package/dist/types/gdocTypes/Gdoc.d.ts.map +1 -0
- package/dist/types/gdocTypes/Gdoc.js +16 -0
- package/dist/types/gdocTypes/Gdoc.js.map +7 -0
- package/dist/types/grapherTypes/BinningStrategyTypes.d.ts +13 -0
- package/dist/types/grapherTypes/BinningStrategyTypes.d.ts.map +1 -0
- package/dist/types/grapherTypes/BinningStrategyTypes.js +40 -0
- package/dist/types/grapherTypes/BinningStrategyTypes.js.map +7 -0
- package/dist/types/grapherTypes/GrapherConstants.d.ts +61 -0
- package/dist/types/grapherTypes/GrapherConstants.d.ts.map +1 -0
- package/dist/types/grapherTypes/GrapherConstants.js +45 -0
- package/dist/types/grapherTypes/GrapherConstants.js.map +7 -0
- package/dist/types/grapherTypes/GrapherTypes.d.ts +531 -0
- package/dist/types/grapherTypes/GrapherTypes.d.ts.map +1 -0
- package/dist/types/grapherTypes/GrapherTypes.js +323 -0
- package/dist/types/grapherTypes/GrapherTypes.js.map +7 -0
- package/dist/types/index.d.ts +77 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +176 -0
- package/dist/types/index.js.map +7 -0
- package/dist/types/wordpressTypes/WordpressTypes.d.ts +9 -0
- package/dist/types/wordpressTypes/WordpressTypes.d.ts.map +1 -0
- package/dist/types/wordpressTypes/WordpressTypes.js +8 -0
- package/dist/types/wordpressTypes/WordpressTypes.js.map +7 -0
- package/dist/utils/Bounds.d.ts +111 -0
- package/dist/utils/Bounds.d.ts.map +1 -0
- package/dist/utils/Bounds.js +311 -0
- package/dist/utils/Bounds.js.map +7 -0
- package/dist/utils/BrowserUtils.d.ts +3 -0
- package/dist/utils/BrowserUtils.d.ts.map +1 -0
- package/dist/utils/BrowserUtils.js +11 -0
- package/dist/utils/BrowserUtils.js.map +7 -0
- package/dist/utils/FuzzySearch.d.ts +16 -0
- package/dist/utils/FuzzySearch.d.ts.map +1 -0
- package/dist/utils/FuzzySearch.js +46 -0
- package/dist/utils/FuzzySearch.js.map +7 -0
- package/dist/utils/MultiDimDataPageConfig.d.ts +16 -0
- package/dist/utils/MultiDimDataPageConfig.d.ts.map +1 -0
- package/dist/utils/MultiDimDataPageConfig.js +18 -0
- package/dist/utils/MultiDimDataPageConfig.js.map +7 -0
- package/dist/utils/PointVector.d.ts +21 -0
- package/dist/utils/PointVector.d.ts.map +1 -0
- package/dist/utils/PointVector.js +70 -0
- package/dist/utils/PointVector.js.map +7 -0
- package/dist/utils/PromiseCache.d.ts +19 -0
- package/dist/utils/PromiseCache.d.ts.map +1 -0
- package/dist/utils/PromiseCache.js +27 -0
- package/dist/utils/PromiseCache.js.map +7 -0
- package/dist/utils/PromiseSwitcher.d.ts +32 -0
- package/dist/utils/PromiseSwitcher.d.ts.map +1 -0
- package/dist/utils/PromiseSwitcher.js +25 -0
- package/dist/utils/PromiseSwitcher.js.map +7 -0
- package/dist/utils/TimeBounds.d.ts +9 -0
- package/dist/utils/TimeBounds.d.ts.map +1 -0
- package/dist/utils/TimeBounds.js +86 -0
- package/dist/utils/TimeBounds.js.map +7 -0
- package/dist/utils/Tippy.d.ts +13 -0
- package/dist/utils/Tippy.d.ts.map +1 -0
- package/dist/utils/Tippy.js +35 -0
- package/dist/utils/Tippy.js.map +7 -0
- package/dist/utils/Util.d.ts +849 -0
- package/dist/utils/Util.d.ts.map +1 -0
- package/dist/utils/Util.js +1550 -0
- package/dist/utils/Util.js.map +7 -0
- package/dist/utils/Variable.d.ts +28 -0
- package/dist/utils/Variable.d.ts.map +1 -0
- package/dist/utils/Variable.js +62 -0
- package/dist/utils/Variable.js.map +7 -0
- package/dist/utils/archival/archivalDate.d.ts +12 -0
- package/dist/utils/archival/archivalDate.d.ts.map +1 -0
- package/dist/utils/archival/archivalDate.js +29 -0
- package/dist/utils/archival/archivalDate.js.map +7 -0
- package/dist/utils/dayjs.d.ts +9 -0
- package/dist/utils/dayjs.d.ts.map +1 -0
- package/dist/utils/dayjs.js +15 -0
- package/dist/utils/dayjs.js.map +7 -0
- package/dist/utils/formatValue.d.ts +7 -0
- package/dist/utils/formatValue.d.ts.map +1 -0
- package/dist/utils/formatValue.js +174 -0
- package/dist/utils/formatValue.js.map +7 -0
- package/dist/utils/grapherConfigUtils.d.ts +4 -0
- package/dist/utils/grapherConfigUtils.d.ts.map +1 -0
- package/dist/utils/grapherConfigUtils.js +64 -0
- package/dist/utils/grapherConfigUtils.js.map +7 -0
- package/dist/utils/image.d.ts +26 -0
- package/dist/utils/image.d.ts.map +1 -0
- package/dist/utils/image.js +164 -0
- package/dist/utils/image.js.map +7 -0
- package/dist/utils/index.d.ts +32 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +454 -0
- package/dist/utils/index.js.map +7 -0
- package/dist/utils/isPresent.d.ts +2 -0
- package/dist/utils/isPresent.d.ts.map +1 -0
- package/dist/utils/isPresent.js +4 -0
- package/dist/utils/isPresent.js.map +7 -0
- package/dist/utils/metadataHelpers.d.ts +26 -0
- package/dist/utils/metadataHelpers.d.ts.map +1 -0
- package/dist/utils/metadataHelpers.js +199 -0
- package/dist/utils/metadataHelpers.js.map +7 -0
- package/dist/utils/persistable/Persistable.d.ts +8 -0
- package/dist/utils/persistable/Persistable.d.ts.map +1 -0
- package/dist/utils/persistable/Persistable.js +56 -0
- package/dist/utils/persistable/Persistable.js.map +7 -0
- package/dist/utils/regions.d.ts +99 -0
- package/dist/utils/regions.d.ts.map +1 -0
- package/dist/utils/regions.js +315 -0
- package/dist/utils/regions.js.map +7 -0
- package/dist/utils/serializers.d.ts +3 -0
- package/dist/utils/serializers.d.ts.map +1 -0
- package/dist/utils/serializers.js +10 -0
- package/dist/utils/serializers.js.map +7 -0
- package/dist/utils/string.d.ts +9 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/string.js +27 -0
- package/dist/utils/string.js.map +7 -0
- package/dist/utils/urls/Url.d.ts +41 -0
- package/dist/utils/urls/Url.d.ts.map +1 -0
- package/dist/utils/urls/Url.js +149 -0
- package/dist/utils/urls/Url.js.map +7 -0
- package/dist/utils/urls/UrlMigration.d.ts +4 -0
- package/dist/utils/urls/UrlMigration.d.ts.map +1 -0
- package/dist/utils/urls/UrlMigration.js +6 -0
- package/dist/utils/urls/UrlMigration.js.map +7 -0
- package/dist/utils/urls/UrlUtils.d.ts +18 -0
- package/dist/utils/urls/UrlUtils.d.ts.map +1 -0
- package/dist/utils/urls/UrlUtils.js +30 -0
- package/dist/utils/urls/UrlUtils.js.map +7 -0
- package/package.json +13 -13
- package/src/components/BodyPortal/BodyPortal.tsx +0 -40
- package/src/components/Button/Button.tsx +0 -101
- package/src/components/Checkbox.tsx +0 -47
- package/src/components/ExpandableToggle/ExpandableToggle.tsx +0 -60
- package/src/components/GrapherTabIcon.tsx +0 -156
- package/src/components/GrapherTrendArrow.tsx +0 -30
- package/src/components/Halo/Halo.tsx +0 -44
- package/src/components/LabeledSwitch/LabeledSwitch.tsx +0 -62
- package/src/components/MarkdownTextWrap/MarkdownTextWrap.tsx +0 -1173
- package/src/components/OverlayHeader.tsx +0 -29
- package/src/components/RadioButton.tsx +0 -42
- package/src/components/SimpleMarkdownText.tsx +0 -89
- package/src/components/TextInput.tsx +0 -19
- package/src/components/TextWrap/TextWrap.tsx +0 -361
- package/src/components/TextWrap/TextWrapUtils.ts +0 -32
- package/src/components/closeButton/CloseButton.tsx +0 -27
- package/src/components/index.ts +0 -70
- package/src/components/loadingIndicator/LoadingIndicator.tsx +0 -28
- package/src/components/markdown/remarkPlainLinks.ts +0 -36
- package/src/components/reactUtil.ts +0 -20
- package/src/components/stubs/CodeSnippet.tsx +0 -19
- package/src/components/stubs/DataCitation.tsx +0 -16
- package/src/components/stubs/IndicatorKeyData.tsx +0 -45
- package/src/components/stubs/IndicatorProcessing.tsx +0 -15
- package/src/components/stubs/IndicatorSources.tsx +0 -15
- package/src/config/ChartsConfig.ts +0 -163
- package/src/config/ChartsProvider.tsx +0 -157
- package/src/config/index.ts +0 -20
- package/src/core-table/ChartsTable.ts +0 -1175
- package/src/core-table/CoreTable.ts +0 -1355
- package/src/core-table/CoreTableColumns.ts +0 -973
- package/src/core-table/CoreTableUtils.ts +0 -793
- package/src/core-table/ErrorValues.ts +0 -73
- package/src/core-table/TableSynthesizers.ts +0 -272
- package/src/core-table/TableUtil.ts +0 -76
- package/src/core-table/Transforms.ts +0 -484
- package/src/core-table/index.ts +0 -82
- package/src/explorer/ColumnGrammar.ts +0 -217
- package/src/explorer/Explorer.sample.ts +0 -212
- package/src/explorer/Explorer.tsx +0 -1283
- package/src/explorer/ExplorerConstants.ts +0 -85
- package/src/explorer/ExplorerControls.tsx +0 -210
- package/src/explorer/ExplorerDecisionMatrix.ts +0 -471
- package/src/explorer/ExplorerGrammar.ts +0 -161
- package/src/explorer/ExplorerProgram.ts +0 -571
- package/src/explorer/ExplorerUtils.ts +0 -59
- package/src/explorer/GrapherGrammar.ts +0 -387
- package/src/explorer/gridLang/GrammarUtils.ts +0 -121
- package/src/explorer/gridLang/GridCell.ts +0 -298
- package/src/explorer/gridLang/GridLangConstants.ts +0 -255
- package/src/explorer/gridLang/GridProgram.ts +0 -311
- package/src/explorer/gridLang/readme.md +0 -17
- package/src/explorer/index.ts +0 -69
- package/src/explorer/readme.md +0 -19
- package/src/explorer/urlMigrations/CO2UrlMigration.ts +0 -46
- package/src/explorer/urlMigrations/CovidUrlMigration.ts +0 -37
- package/src/explorer/urlMigrations/EnergyUrlMigration.ts +0 -41
- package/src/explorer/urlMigrations/ExplorerPageUrlMigrationSpec.ts +0 -12
- package/src/explorer/urlMigrations/ExplorerUrlMigrationUtils.ts +0 -45
- package/src/explorer/urlMigrations/ExplorerUrlMigrations.ts +0 -33
- package/src/explorer/urlMigrations/LegacyCovidUrlMigration.ts +0 -144
- package/src/explorer/urlMigrations/readme.md +0 -39
- package/src/grapher/axis/Axis.ts +0 -973
- package/src/grapher/axis/AxisConfig.ts +0 -179
- package/src/grapher/axis/AxisViews.tsx +0 -597
- package/src/grapher/barCharts/DiscreteBarChart.tsx +0 -728
- package/src/grapher/barCharts/DiscreteBarChartConstants.ts +0 -60
- package/src/grapher/barCharts/DiscreteBarChartHelpers.ts +0 -338
- package/src/grapher/barCharts/DiscreteBarChartState.ts +0 -354
- package/src/grapher/barCharts/DiscreteBarChartThumbnail.tsx +0 -34
- package/src/grapher/captionedChart/CaptionedChart.tsx +0 -523
- package/src/grapher/captionedChart/Logos.tsx +0 -139
- package/src/grapher/captionedChart/LogosSVG.tsx +0 -16
- package/src/grapher/captionedChart/StaticChartRasterizer.tsx +0 -178
- package/src/grapher/captionedChart/assets/buildcanada-logo-square.svg +0 -15
- package/src/grapher/captionedChart/assets/buildcanada-logo.svg +0 -15
- package/src/grapher/captionedChart/assets/canadaspends.svg +0 -7
- package/src/grapher/captionedChart/readme.md +0 -14
- package/src/grapher/chart/Chart.tsx +0 -62
- package/src/grapher/chart/ChartAreaContent.tsx +0 -172
- package/src/grapher/chart/ChartDimension.ts +0 -121
- package/src/grapher/chart/ChartInterface.ts +0 -83
- package/src/grapher/chart/ChartManager.ts +0 -113
- package/src/grapher/chart/ChartTabs.ts +0 -178
- package/src/grapher/chart/ChartTypeMap.tsx +0 -158
- package/src/grapher/chart/ChartTypeSwitcher.tsx +0 -26
- package/src/grapher/chart/ChartUtils.tsx +0 -364
- package/src/grapher/chart/DimensionSlot.ts +0 -45
- package/src/grapher/chart/StaticChartWrapper.tsx +0 -94
- package/src/grapher/chart/guidedChartUtils.ts +0 -82
- package/src/grapher/color/BinningStrategies.ts +0 -484
- package/src/grapher/color/BinningStrategyEqualSizeBins.ts +0 -132
- package/src/grapher/color/BinningStrategyLogarithmic.ts +0 -121
- package/src/grapher/color/CategoricalColorAssigner.ts +0 -97
- package/src/grapher/color/ColorBrewerSchemes.ts +0 -80
- package/src/grapher/color/ColorConstants.ts +0 -34
- package/src/grapher/color/ColorScale.ts +0 -339
- package/src/grapher/color/ColorScaleBin.ts +0 -147
- package/src/grapher/color/ColorScaleConfig.ts +0 -204
- package/src/grapher/color/ColorScheme.ts +0 -137
- package/src/grapher/color/ColorSchemes.ts +0 -149
- package/src/grapher/color/ColorUtils.ts +0 -86
- package/src/grapher/color/CustomSchemes.ts +0 -1772
- package/src/grapher/color/readme.md +0 -84
- package/src/grapher/comparisonLine/ComparisonLine.tsx +0 -31
- package/src/grapher/comparisonLine/ComparisonLineConstants.ts +0 -11
- package/src/grapher/comparisonLine/ComparisonLineGenerator.ts +0 -60
- package/src/grapher/comparisonLine/ComparisonLineHelpers.ts +0 -10
- package/src/grapher/comparisonLine/CustomComparisonLine.tsx +0 -159
- package/src/grapher/comparisonLine/VerticalComparisonLine.tsx +0 -208
- package/src/grapher/controls/ActionButtons.tsx +0 -274
- package/src/grapher/controls/CommandPalette.tsx +0 -74
- package/src/grapher/controls/ContentSwitchers.tsx +0 -238
- package/src/grapher/controls/DataTableFilterDropdown.tsx +0 -168
- package/src/grapher/controls/DataTableSearchField.tsx +0 -76
- package/src/grapher/controls/Dropdown.tsx +0 -235
- package/src/grapher/controls/EntitySelectionToggle.tsx +0 -135
- package/src/grapher/controls/MapRegionDropdown.tsx +0 -104
- package/src/grapher/controls/MapResetButton.tsx +0 -115
- package/src/grapher/controls/MapZoomDropdown.tsx +0 -270
- package/src/grapher/controls/MapZoomToSelectionButton.tsx +0 -87
- package/src/grapher/controls/SearchField.tsx +0 -63
- package/src/grapher/controls/SettingsMenu.tsx +0 -399
- package/src/grapher/controls/ShareMenu.tsx +0 -304
- package/src/grapher/controls/SortIcon.tsx +0 -39
- package/src/grapher/controls/VerticalScrollContainer.tsx +0 -263
- package/src/grapher/controls/controlsRow/ControlsRow.tsx +0 -168
- package/src/grapher/controls/entityPicker/EntityPicker.tsx +0 -816
- package/src/grapher/controls/entityPicker/EntityPickerConstants.ts +0 -23
- package/src/grapher/controls/globalEntitySelector/GlobalEntitySelector.tsx +0 -463
- package/src/grapher/controls/globalEntitySelector/GlobalEntitySelectorConstants.ts +0 -3
- package/src/grapher/controls/globalEntitySelector/readme.md +0 -17
- package/src/grapher/controls/settings/AbsRelToggle.tsx +0 -64
- package/src/grapher/controls/settings/AxisScaleToggle.tsx +0 -53
- package/src/grapher/controls/settings/FacetStrategySelector.tsx +0 -110
- package/src/grapher/controls/settings/FacetYDomainToggle.tsx +0 -51
- package/src/grapher/controls/settings/NoDataAreaToggle.tsx +0 -38
- package/src/grapher/controls/settings/ZoomToggle.tsx +0 -36
- package/src/grapher/core/EntitiesByRegionType.ts +0 -174
- package/src/grapher/core/EntityCodes.ts +0 -19
- package/src/grapher/core/EntityUrlBuilder.ts +0 -200
- package/src/grapher/core/FetchingGrapher.tsx +0 -156
- package/src/grapher/core/Grapher.tsx +0 -760
- package/src/grapher/core/GrapherAnalytics.ts +0 -229
- package/src/grapher/core/GrapherConstants.ts +0 -173
- package/src/grapher/core/GrapherState.tsx +0 -3656
- package/src/grapher/core/GrapherUrl.ts +0 -184
- package/src/grapher/core/GrapherUrlMigrations.ts +0 -29
- package/src/grapher/core/GrapherUseHelpers.tsx +0 -147
- package/src/grapher/core/LegacyToChartsTable.ts +0 -841
- package/src/grapher/core/grapher.entry.ts +0 -5
- package/src/grapher/core/loadGrapherTableHelpers.ts +0 -116
- package/src/grapher/core/loadVariable.ts +0 -104
- package/src/grapher/core/relatedQuestion.ts +0 -12
- package/src/grapher/dataTable/DataTable.sample.ts +0 -206
- package/src/grapher/dataTable/DataTable.tsx +0 -1332
- package/src/grapher/dataTable/DataTableConstants.ts +0 -186
- package/src/grapher/entitySelector/EntitySelector.tsx +0 -1838
- package/src/grapher/facet/FacetChart.tsx +0 -943
- package/src/grapher/facet/FacetChartConstants.ts +0 -24
- package/src/grapher/facet/FacetChartUtils.ts +0 -51
- package/src/grapher/facet/FacetMap.tsx +0 -604
- package/src/grapher/facet/FacetMapConstants.ts +0 -23
- package/src/grapher/facet/readme.md +0 -13
- package/src/grapher/focus/FocusArray.ts +0 -79
- package/src/grapher/footer/Footer.tsx +0 -739
- package/src/grapher/footer/FooterManager.ts +0 -44
- package/src/grapher/fullScreen/FullScreen.tsx +0 -61
- package/src/grapher/header/Header.tsx +0 -372
- package/src/grapher/header/HeaderManager.ts +0 -28
- package/src/grapher/index.ts +0 -157
- package/src/grapher/interaction/InteractionState.ts +0 -60
- package/src/grapher/legend/HorizontalColorLegends.tsx +0 -923
- package/src/grapher/legend/LegendInteractionState.ts +0 -40
- package/src/grapher/legend/VerticalColorLegend.tsx +0 -295
- package/src/grapher/lineCharts/LineChart.tsx +0 -968
- package/src/grapher/lineCharts/LineChartConstants.ts +0 -89
- package/src/grapher/lineCharts/LineChartHelpers.ts +0 -184
- package/src/grapher/lineCharts/LineChartState.ts +0 -394
- package/src/grapher/lineCharts/LineChartThumbnail.tsx +0 -437
- package/src/grapher/lineCharts/Lines.tsx +0 -258
- package/src/grapher/lineLegend/LineLegend.tsx +0 -723
- package/src/grapher/lineLegend/LineLegendConstants.ts +0 -9
- package/src/grapher/lineLegend/LineLegendFilterAlgorithms.ts +0 -143
- package/src/grapher/lineLegend/LineLegendHelpers.ts +0 -253
- package/src/grapher/lineLegend/LineLegendTypes.ts +0 -32
- package/src/grapher/mapCharts/CanadaTopology.ts +0 -17922
- package/src/grapher/mapCharts/ChoroplethGlobe.tsx +0 -949
- package/src/grapher/mapCharts/ChoroplethMap.tsx +0 -662
- package/src/grapher/mapCharts/GeoFeatures.ts +0 -184
- package/src/grapher/mapCharts/GlobeController.ts +0 -496
- package/src/grapher/mapCharts/MapAnnotationPlacements.ts +0 -31
- package/src/grapher/mapCharts/MapAnnotations.ts +0 -723
- package/src/grapher/mapCharts/MapChart.sample.ts +0 -59
- package/src/grapher/mapCharts/MapChart.tsx +0 -720
- package/src/grapher/mapCharts/MapChartConstants.ts +0 -260
- package/src/grapher/mapCharts/MapChartState.ts +0 -416
- package/src/grapher/mapCharts/MapChartThumbnail.tsx +0 -25
- package/src/grapher/mapCharts/MapComponents.tsx +0 -338
- package/src/grapher/mapCharts/MapConfig.ts +0 -156
- package/src/grapher/mapCharts/MapHelpers.ts +0 -181
- package/src/grapher/mapCharts/MapProjections.ts +0 -49
- package/src/grapher/mapCharts/MapSparkline.tsx +0 -257
- package/src/grapher/mapCharts/MapTooltip.tsx +0 -409
- package/src/grapher/mapCharts/MapTopology.ts +0 -1766
- package/src/grapher/mapCharts/d3-geo-projection.ts +0 -198
- package/src/grapher/modal/DownloadIcons.tsx +0 -39
- package/src/grapher/modal/DownloadModal.tsx +0 -1221
- package/src/grapher/modal/EmbedModal.tsx +0 -160
- package/src/grapher/modal/EntitySelectorModal.tsx +0 -59
- package/src/grapher/modal/Modal.tsx +0 -90
- package/src/grapher/modal/ModalHeader.tsx +0 -16
- package/src/grapher/modal/SourcesDescriptions.tsx +0 -89
- package/src/grapher/modal/SourcesKeyDataTable.tsx +0 -87
- package/src/grapher/modal/SourcesModal.tsx +0 -568
- package/src/grapher/noDataModal/NoDataModal.tsx +0 -119
- package/src/grapher/scatterCharts/ConnectedScatterLegend.tsx +0 -143
- package/src/grapher/scatterCharts/MultiColorPolyline.tsx +0 -129
- package/src/grapher/scatterCharts/NoDataSection.tsx +0 -56
- package/src/grapher/scatterCharts/ScatterPlotChart.tsx +0 -792
- package/src/grapher/scatterCharts/ScatterPlotChartConstants.ts +0 -157
- package/src/grapher/scatterCharts/ScatterPlotChartState.ts +0 -678
- package/src/grapher/scatterCharts/ScatterPlotChartThumbnail.tsx +0 -155
- package/src/grapher/scatterCharts/ScatterPlotTooltip.tsx +0 -560
- package/src/grapher/scatterCharts/ScatterPoints.tsx +0 -153
- package/src/grapher/scatterCharts/ScatterPointsWithLabels.tsx +0 -708
- package/src/grapher/scatterCharts/ScatterSizeLegend.tsx +0 -327
- package/src/grapher/scatterCharts/ScatterUtils.ts +0 -265
- package/src/grapher/scatterCharts/Triangle.tsx +0 -41
- package/src/grapher/schema/README.md +0 -33
- package/src/grapher/schema/defaultGrapherConfig.ts +0 -100
- package/src/grapher/schema/grapher-schema.009.yaml +0 -781
- package/src/grapher/schema/migrations/helpers.ts +0 -58
- package/src/grapher/schema/migrations/migrate.ts +0 -75
- package/src/grapher/schema/migrations/migrations.ts +0 -158
- package/src/grapher/selection/MapSelectionArray.ts +0 -99
- package/src/grapher/selection/SelectionArray.ts +0 -71
- package/src/grapher/selection/readme.md +0 -16
- package/src/grapher/sidePanel/SidePanel.tsx +0 -23
- package/src/grapher/slideInDrawer/SlideInDrawer.tsx +0 -125
- package/src/grapher/slideshowController/SlideShowController.tsx +0 -43
- package/src/grapher/slideshowController/readme.md +0 -7
- package/src/grapher/slopeCharts/MarkX.tsx +0 -45
- package/src/grapher/slopeCharts/Slope.tsx +0 -102
- package/src/grapher/slopeCharts/SlopeChart.tsx +0 -1152
- package/src/grapher/slopeCharts/SlopeChartConstants.ts +0 -33
- package/src/grapher/slopeCharts/SlopeChartHelpers.ts +0 -73
- package/src/grapher/slopeCharts/SlopeChartState.ts +0 -392
- package/src/grapher/slopeCharts/SlopeChartThumbnail.tsx +0 -368
- package/src/grapher/stackedCharts/AbstractStackedChartState.ts +0 -370
- package/src/grapher/stackedCharts/MarimekkoBars.tsx +0 -190
- package/src/grapher/stackedCharts/MarimekkoBarsForOneEntity.tsx +0 -168
- package/src/grapher/stackedCharts/MarimekkoChart.tsx +0 -1144
- package/src/grapher/stackedCharts/MarimekkoChartConstants.ts +0 -112
- package/src/grapher/stackedCharts/MarimekkoChartHelpers.ts +0 -21
- package/src/grapher/stackedCharts/MarimekkoChartState.ts +0 -465
- package/src/grapher/stackedCharts/MarimekkoChartThumbnail.tsx +0 -168
- package/src/grapher/stackedCharts/MarimekkoInternalLabels.tsx +0 -124
- package/src/grapher/stackedCharts/StackedAreaChart.tsx +0 -678
- package/src/grapher/stackedCharts/StackedAreaChartState.ts +0 -34
- package/src/grapher/stackedCharts/StackedAreaChartThumbnail.tsx +0 -215
- package/src/grapher/stackedCharts/StackedAreas.tsx +0 -223
- package/src/grapher/stackedCharts/StackedBarChart.tsx +0 -619
- package/src/grapher/stackedCharts/StackedBarChartState.ts +0 -80
- package/src/grapher/stackedCharts/StackedBarChartThumbnail.tsx +0 -220
- package/src/grapher/stackedCharts/StackedBarSegment.tsx +0 -87
- package/src/grapher/stackedCharts/StackedBars.tsx +0 -102
- package/src/grapher/stackedCharts/StackedConstants.ts +0 -109
- package/src/grapher/stackedCharts/StackedDiscreteBarChart.tsx +0 -270
- package/src/grapher/stackedCharts/StackedDiscreteBarChartState.ts +0 -296
- package/src/grapher/stackedCharts/StackedDiscreteBarChartThumbnail.tsx +0 -27
- package/src/grapher/stackedCharts/StackedDiscreteBars.tsx +0 -648
- package/src/grapher/stackedCharts/StackedUtils.ts +0 -142
- package/src/grapher/tabs/Tabs.tsx +0 -54
- package/src/grapher/tabs/TabsWithDropdown.tsx +0 -114
- package/src/grapher/testData/TestData.sample.ts +0 -273
- package/src/grapher/testData/TestData.ts +0 -64
- package/src/grapher/timeline/TimelineComponent.tsx +0 -658
- package/src/grapher/timeline/TimelineController.ts +0 -368
- package/src/grapher/timeline/readme.md +0 -7
- package/src/grapher/tooltip/Tooltip.tsx +0 -294
- package/src/grapher/tooltip/TooltipContents.tsx +0 -383
- package/src/grapher/tooltip/TooltipProps.ts +0 -123
- package/src/grapher/tooltip/TooltipState.ts +0 -81
- package/src/grapher/verticalLabels/VerticalLabels.tsx +0 -31
- package/src/grapher/verticalLabels/VerticalLabelsState.ts +0 -154
- package/src/index.ts +0 -226
- package/src/types/NominalType.ts +0 -30
- package/src/types/Origin.ts +0 -18
- package/src/types/Source.ts +0 -9
- package/src/types/Variable.ts +0 -133
- package/src/types/VariableDisplayConfigInterface.ts +0 -49
- package/src/types/analyticsTypes.ts +0 -54
- package/src/types/dbTypes/Tags.ts +0 -11
- package/src/types/domainTypes/Archive.ts +0 -139
- package/src/types/domainTypes/Author.ts +0 -28
- package/src/types/domainTypes/ContentGraph.ts +0 -76
- package/src/types/domainTypes/CoreTableTypes.ts +0 -305
- package/src/types/domainTypes/DeployStatus.ts +0 -23
- package/src/types/domainTypes/Layout.ts +0 -34
- package/src/types/domainTypes/Posts.ts +0 -34
- package/src/types/domainTypes/Search.ts +0 -299
- package/src/types/domainTypes/Site.ts +0 -8
- package/src/types/domainTypes/StaticViz.ts +0 -64
- package/src/types/domainTypes/Toc.ts +0 -11
- package/src/types/domainTypes/Tombstone.ts +0 -19
- package/src/types/domainTypes/Various.ts +0 -79
- package/src/types/gdocTypes/Gdoc.ts +0 -280
- package/src/types/grapherTypes/BinningStrategyTypes.ts +0 -46
- package/src/types/grapherTypes/GrapherConstants.ts +0 -53
- package/src/types/grapherTypes/GrapherTypes.ts +0 -743
- package/src/types/index.ts +0 -316
- package/src/types/wordpressTypes/WordpressTypes.ts +0 -9
- package/src/utils/Bounds.ts +0 -439
- package/src/utils/BrowserUtils.ts +0 -12
- package/src/utils/FuzzySearch.ts +0 -74
- package/src/utils/MultiDimDataPageConfig.ts +0 -31
- package/src/utils/PointVector.ts +0 -97
- package/src/utils/PromiseCache.ts +0 -36
- package/src/utils/PromiseSwitcher.ts +0 -52
- package/src/utils/TimeBounds.ts +0 -130
- package/src/utils/Tippy.tsx +0 -57
- package/src/utils/Util.ts +0 -2375
- package/src/utils/Variable.ts +0 -82
- package/src/utils/archival/archivalDate.ts +0 -48
- package/src/utils/dayjs.ts +0 -32
- package/src/utils/formatValue.ts +0 -242
- package/src/utils/grapherConfigUtils.ts +0 -81
- package/src/utils/image.ts +0 -225
- package/src/utils/index.ts +0 -318
- package/src/utils/isPresent.ts +0 -5
- package/src/utils/metadataHelpers.ts +0 -329
- package/src/utils/persistable/Persistable.ts +0 -82
- package/src/utils/persistable/readme.md +0 -50
- package/src/utils/regions.ts +0 -463
- package/src/utils/serializers.ts +0 -16
- package/src/utils/string.ts +0 -42
- package/src/utils/urls/Url.ts +0 -195
- package/src/utils/urls/UrlMigration.ts +0 -10
- package/src/utils/urls/UrlUtils.ts +0 -54
- package/src/utils/urls/readme.md +0 -90
- /package/{src → dist}/components/Button/Button.scss +0 -0
- /package/{src → dist}/components/Checkbox.scss +0 -0
- /package/{src → dist}/components/ExpandableToggle/ExpandableToggle.scss +0 -0
- /package/{src → dist}/components/GrapherTrendArrow.scss +0 -0
- /package/{src → dist}/components/LabeledSwitch/LabeledSwitch.scss +0 -0
- /package/{src → dist}/components/OverlayHeader.scss +0 -0
- /package/{src → dist}/components/RadioButton.scss +0 -0
- /package/{src → dist}/components/TextInput.scss +0 -0
- /package/{src → dist}/components/closeButton/CloseButton.scss +0 -0
- /package/{src → dist}/components/loadingIndicator/LoadingIndicator.scss +0 -0
- /package/{src → dist}/components/styles/colors.scss +0 -0
- /package/{src → dist}/components/styles/mixins.scss +0 -0
- /package/{src → dist}/components/styles/typography.scss +0 -0
- /package/{src → dist}/components/styles/util.scss +0 -0
- /package/{src → dist}/components/styles/variables.scss +0 -0
- /package/{src → dist}/explorer/Explorer.scss +0 -0
- /package/{src → dist}/explorer/ExplorerControls.scss +0 -0
- /package/{src → dist}/grapher/captionedChart/CaptionedChart.scss +0 -0
- /package/{src → dist}/grapher/controls/ActionButtons.scss +0 -0
- /package/{src → dist}/grapher/controls/CommandPalette.scss +0 -0
- /package/{src → dist}/grapher/controls/ContentSwitchers.scss +0 -0
- /package/{src → dist}/grapher/controls/Controls.scss +0 -0
- /package/{src → dist}/grapher/controls/DataTableFilterDropdown.scss +0 -0
- /package/{src → dist}/grapher/controls/DataTableSearchField.scss +0 -0
- /package/{src → dist}/grapher/controls/Dropdown.scss +0 -0
- /package/{src → dist}/grapher/controls/MapRegionDropdown.scss +0 -0
- /package/{src → dist}/grapher/controls/MapZoomDropdown.scss +0 -0
- /package/{src → dist}/grapher/controls/SearchField.scss +0 -0
- /package/{src → dist}/grapher/controls/SettingsMenu.scss +0 -0
- /package/{src → dist}/grapher/controls/ShareMenu.scss +0 -0
- /package/{src → dist}/grapher/controls/dropdown-icons.scss +0 -0
- /package/{src → dist}/grapher/controls/entityPicker/EntityPicker.scss +0 -0
- /package/{src → dist}/grapher/controls/globalEntitySelector/GlobalEntitySelector.scss +0 -0
- /package/{src → dist}/grapher/core/grapher.scss +0 -0
- /package/{src → dist}/grapher/core/typography.scss +0 -0
- /package/{src → dist}/grapher/dataTable/DataTable.scss +0 -0
- /package/{src → dist}/grapher/entitySelector/EntitySelector.scss +0 -0
- /package/{src → dist}/grapher/footer/Footer.scss +0 -0
- /package/{src → dist}/grapher/fullScreen/FullScreen.scss +0 -0
- /package/{src → dist}/grapher/header/Header.scss +0 -0
- /package/{src → dist}/grapher/mapCharts/MapAnnotationPlacements.json +0 -0
- /package/{src → dist}/grapher/mapCharts/MapChart.scss +0 -0
- /package/{src → dist}/grapher/mapCharts/MapTooltip.scss +0 -0
- /package/{src → dist}/grapher/mapCharts/d3-bboxCollide.js +0 -0
- /package/{src → dist}/grapher/modal/DownloadModal.scss +0 -0
- /package/{src → dist}/grapher/modal/EmbedModal.scss +0 -0
- /package/{src → dist}/grapher/modal/Modal.scss +0 -0
- /package/{src → dist}/grapher/modal/ModalHeader.scss +0 -0
- /package/{src → dist}/grapher/modal/SourcesDescriptions.scss +0 -0
- /package/{src → dist}/grapher/modal/SourcesKeyDataTable.scss +0 -0
- /package/{src → dist}/grapher/modal/SourcesModal.scss +0 -0
- /package/{src → dist}/grapher/scatterCharts/NoDataSection.scss +0 -0
- /package/{src → dist}/grapher/sidePanel/SidePanel.scss +0 -0
- /package/{src → dist}/grapher/slideInDrawer/SlideInDrawer.scss +0 -0
- /package/{src → dist}/grapher/tabs/Tabs.scss +0 -0
- /package/{src → dist}/grapher/tabs/TabsWithDropdown.scss +0 -0
- /package/{src → dist}/grapher/timeline/TimelineComponent.scss +0 -0
- /package/{src → dist}/grapher/tooltip/Tooltip.scss +0 -0
- /package/{src → dist}/styles/charts.scss +0 -0
- /package/{src → dist}/utils/regions.json +0 -0
|
@@ -0,0 +1,934 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
import * as _ from "lodash-es";
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
import { computed, observable, action, makeObservable } from "mobx";
|
|
14
|
+
import { observer } from "mobx-react";
|
|
15
|
+
import classnames from "classnames";
|
|
16
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
17
|
+
import {
|
|
18
|
+
faArrowDownLong,
|
|
19
|
+
faArrowUpLong,
|
|
20
|
+
faInfoCircle
|
|
21
|
+
} from "@fortawesome/free-solid-svg-icons";
|
|
22
|
+
import { scaleLinear } from "d3-scale";
|
|
23
|
+
import { extent } from "d3-array";
|
|
24
|
+
import { line } from "d3-shape";
|
|
25
|
+
import {
|
|
26
|
+
SortOrder,
|
|
27
|
+
ChartsTableSlugs,
|
|
28
|
+
VariableRoundingMode
|
|
29
|
+
} from "../../types/index.js";
|
|
30
|
+
import {
|
|
31
|
+
valuesByEntityAtTimes,
|
|
32
|
+
es6mapValues,
|
|
33
|
+
exposeInstanceOnWindow,
|
|
34
|
+
Bounds,
|
|
35
|
+
Tippy,
|
|
36
|
+
excludeUndefined,
|
|
37
|
+
joinTitleFragments,
|
|
38
|
+
FuzzySearch
|
|
39
|
+
} from "../../utils/index.js";
|
|
40
|
+
import {
|
|
41
|
+
DEFAULT_GRAPHER_BOUNDS,
|
|
42
|
+
DEFAULT_GRAPHER_ENTITY_TYPE,
|
|
43
|
+
SVG_STYLE_PROPS
|
|
44
|
+
} from "../core/GrapherConstants.js";
|
|
45
|
+
import * as R from "remeda";
|
|
46
|
+
import { makeSelectionArray } from "../chart/ChartUtils.js";
|
|
47
|
+
import { isEntityRegionType } from "../core/EntitiesByRegionType.js";
|
|
48
|
+
import { NoDataModal } from "../noDataModal/NoDataModal.js";
|
|
49
|
+
import {
|
|
50
|
+
RangeColumnKey,
|
|
51
|
+
PointColumnKey,
|
|
52
|
+
TargetTimeMode,
|
|
53
|
+
COMMON_DATA_TABLE_FILTERS,
|
|
54
|
+
SparklineKey
|
|
55
|
+
} from "./DataTableConstants.js";
|
|
56
|
+
import { GRAY_30 } from "../color/ColorConstants.js";
|
|
57
|
+
const ENTITY_SORT_INDEX = -1;
|
|
58
|
+
const DEFAULT_SORT_STATE = {
|
|
59
|
+
dimIndex: ENTITY_SORT_INDEX,
|
|
60
|
+
columnKey: void 0,
|
|
61
|
+
order: SortOrder.asc
|
|
62
|
+
};
|
|
63
|
+
const columnNameByType = {
|
|
64
|
+
single: "Value",
|
|
65
|
+
start: "Start",
|
|
66
|
+
end: "End",
|
|
67
|
+
delta: "Absolute Change",
|
|
68
|
+
deltaRatio: "Relative Change",
|
|
69
|
+
sparkline: "Sparkline"
|
|
70
|
+
};
|
|
71
|
+
const inverseSortOrder = (order) => order === SortOrder.asc ? SortOrder.desc : SortOrder.asc;
|
|
72
|
+
let DataTable = class extends React.Component {
|
|
73
|
+
constructor(props) {
|
|
74
|
+
super(props);
|
|
75
|
+
this.storedState = {
|
|
76
|
+
sort: DEFAULT_SORT_STATE
|
|
77
|
+
};
|
|
78
|
+
this.AUTO_SELECTION_THRESHOLD_PERCENTAGE = 0.5;
|
|
79
|
+
makeObservable(this, {
|
|
80
|
+
storedState: observable
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
get manager() {
|
|
84
|
+
return this.props.manager;
|
|
85
|
+
}
|
|
86
|
+
get selectionArray() {
|
|
87
|
+
return makeSelectionArray(this.manager.dataTableSelection);
|
|
88
|
+
}
|
|
89
|
+
get tableConfig() {
|
|
90
|
+
return this.manager.dataTableConfig;
|
|
91
|
+
}
|
|
92
|
+
get timelineMinTime() {
|
|
93
|
+
return this.manager.closestTimelineMinTime;
|
|
94
|
+
}
|
|
95
|
+
get timelineMaxTime() {
|
|
96
|
+
return this.manager.closestTimelineMaxTime;
|
|
97
|
+
}
|
|
98
|
+
get table() {
|
|
99
|
+
let table = this.manager.filteredTableForDisplay;
|
|
100
|
+
table = table.filterByTimeRange(
|
|
101
|
+
this.manager.closestTimelineMinTime ?? -Infinity,
|
|
102
|
+
this.manager.closestTimelineMaxTime ?? Infinity
|
|
103
|
+
);
|
|
104
|
+
return table;
|
|
105
|
+
}
|
|
106
|
+
get tableState() {
|
|
107
|
+
return { sort: this.sortState };
|
|
108
|
+
}
|
|
109
|
+
get sortState() {
|
|
110
|
+
let { dimIndex, columnKey, order } = {
|
|
111
|
+
...DEFAULT_SORT_STATE,
|
|
112
|
+
...this.storedState.sort
|
|
113
|
+
};
|
|
114
|
+
dimIndex = Math.min(dimIndex, this.table.numColumns - 1);
|
|
115
|
+
if (dimIndex !== ENTITY_SORT_INDEX) {
|
|
116
|
+
const availableColumns = this.dataTableDimensionsWithValues[dimIndex].columnDefinitions.map((colDef) => colDef.key);
|
|
117
|
+
if (columnKey === void 0 || !availableColumns.includes(columnKey))
|
|
118
|
+
columnKey = availableColumns[0];
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
dimIndex,
|
|
122
|
+
columnKey,
|
|
123
|
+
order
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
get entityType() {
|
|
127
|
+
return this.manager.entityType ?? DEFAULT_GRAPHER_ENTITY_TYPE;
|
|
128
|
+
}
|
|
129
|
+
get sortValueMapper() {
|
|
130
|
+
const { dimIndex: sortIndex, columnKey, order } = this.tableState.sort;
|
|
131
|
+
if (sortIndex === ENTITY_SORT_INDEX)
|
|
132
|
+
return (row) => row.entityName;
|
|
133
|
+
return (row) => {
|
|
134
|
+
const dv = row.values[sortIndex];
|
|
135
|
+
let value;
|
|
136
|
+
if (dv) {
|
|
137
|
+
if (isSingleValue(dv)) {
|
|
138
|
+
value = dv.single?.value;
|
|
139
|
+
} else if (isRangeValue(dv) && columnKey !== void 0 && isRangeColumnKey(columnKey)) {
|
|
140
|
+
value = dv[columnKey]?.value;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (value === void 0 || typeof value === "number" && (!isFinite(value) || isNaN(value)))
|
|
144
|
+
return order === SortOrder.asc ? Infinity : -Infinity;
|
|
145
|
+
return value;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
get hasSubheaders() {
|
|
149
|
+
return !this.hasDimensionHeaders || this.dataTableDimensionsWithValues.some(
|
|
150
|
+
(header) => header.columnDefinitions.length > 1
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
updateSort(dimIndex, columnKey) {
|
|
154
|
+
const { sort } = this.tableState;
|
|
155
|
+
const order = sort.dimIndex === dimIndex && sort.columnKey === columnKey ? inverseSortOrder(sort.order) : dimIndex === ENTITY_SORT_INDEX ? SortOrder.asc : SortOrder.desc;
|
|
156
|
+
this.storedState.sort.dimIndex = dimIndex;
|
|
157
|
+
this.storedState.sort.columnKey = columnKey;
|
|
158
|
+
this.storedState.sort.order = order;
|
|
159
|
+
}
|
|
160
|
+
get entityHeaderText() {
|
|
161
|
+
return _.capitalize(this.entityType);
|
|
162
|
+
}
|
|
163
|
+
get entityHeader() {
|
|
164
|
+
const { sort } = this.tableState;
|
|
165
|
+
return /* @__PURE__ */ React.createElement(
|
|
166
|
+
ColumnHeader,
|
|
167
|
+
{
|
|
168
|
+
key: "entity",
|
|
169
|
+
sortable: this.entityCount > 1,
|
|
170
|
+
sortedCol: sort.dimIndex === ENTITY_SORT_INDEX,
|
|
171
|
+
sortOrder: sort.order,
|
|
172
|
+
onClick: () => this.updateSort(ENTITY_SORT_INDEX),
|
|
173
|
+
headerText: this.entityHeaderText,
|
|
174
|
+
colType: "entity"
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
get hasDimensionHeaders() {
|
|
179
|
+
return this.dataTableDimensionsWithValues.length > 1;
|
|
180
|
+
}
|
|
181
|
+
get singleDataColumnStyle() {
|
|
182
|
+
if (this.manager.isNarrow) return;
|
|
183
|
+
const hasSingleDataColumn = this.displayDimensions.length === 1 && this.displayDimensions[0].columnDefinitions.length === 1;
|
|
184
|
+
if (!hasSingleDataColumn) return;
|
|
185
|
+
const dimension = this.displayDimensions[0];
|
|
186
|
+
const column = this.displayDimensions[0].columnDefinitions[0];
|
|
187
|
+
const headerText = this.subheaderText(column, dimension);
|
|
188
|
+
const values = excludeUndefined(
|
|
189
|
+
this.displayRows.map(
|
|
190
|
+
(row) => (row?.values[0]).single
|
|
191
|
+
)
|
|
192
|
+
);
|
|
193
|
+
const accessor = (row) => typeof row.value === "string" ? row.value.length : row.value;
|
|
194
|
+
const maxValue = _.maxBy(values, accessor);
|
|
195
|
+
const minValue = _.minBy(values, accessor);
|
|
196
|
+
const measureWidth = (text) => Bounds.forText(text, { fontSize: 14 }).width;
|
|
197
|
+
const contentMaxWidth = Math.ceil(
|
|
198
|
+
Math.max(
|
|
199
|
+
measureWidth(maxValue?.displayValue ?? "") + 20,
|
|
200
|
+
// 20px accounts for a possible info icon
|
|
201
|
+
measureWidth(minValue?.displayValue ?? "") + 20,
|
|
202
|
+
// 20px accounts for a possible info icon
|
|
203
|
+
measureWidth(headerText) + 26
|
|
204
|
+
// 26px accounts for the sort icon
|
|
205
|
+
)
|
|
206
|
+
);
|
|
207
|
+
const minWidth = 0.66 * this.bounds.width;
|
|
208
|
+
if (minWidth - contentMaxWidth < 320) return;
|
|
209
|
+
return { minWidth, contentMaxWidth };
|
|
210
|
+
}
|
|
211
|
+
get dimensionHeaders() {
|
|
212
|
+
const { sort } = this.tableState;
|
|
213
|
+
return this.displayDimensions.map((dim, dimIndex) => {
|
|
214
|
+
const { coreTableColumn, display } = dim;
|
|
215
|
+
const singleColumn = dim.columnDefinitions.find(
|
|
216
|
+
(column) => column.key === PointColumnKey.single
|
|
217
|
+
);
|
|
218
|
+
const targetTime = singleColumn?.targetTime;
|
|
219
|
+
const title = _.upperFirst(display.columnName.title);
|
|
220
|
+
const titleFragments = joinTitleFragments(
|
|
221
|
+
display.columnName.attributionShort,
|
|
222
|
+
display.columnName.titleVariant
|
|
223
|
+
);
|
|
224
|
+
const dimensionHeaderText = /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
225
|
+
"div",
|
|
226
|
+
{
|
|
227
|
+
className: "name",
|
|
228
|
+
title: titleFragments ? `${title} \u2013 ${titleFragments}` : title
|
|
229
|
+
},
|
|
230
|
+
/* @__PURE__ */ React.createElement("span", { className: "title-text" }, title, " "),
|
|
231
|
+
/* @__PURE__ */ React.createElement("span", { className: "title-fragments" }, titleFragments)
|
|
232
|
+
), /* @__PURE__ */ React.createElement("div", { className: "description" }, /* @__PURE__ */ React.createElement("span", { className: "unit" }, display.unit), /* @__PURE__ */ React.createElement("span", null, display.unit && targetTime !== void 0 && ","), " ", /* @__PURE__ */ React.createElement("span", { className: "time" }, targetTime !== void 0 && coreTableColumn.formatTime(targetTime))));
|
|
233
|
+
const onClick = dim.sortable ? () => this.updateSort(dimIndex, PointColumnKey.single) : void 0;
|
|
234
|
+
const props = {
|
|
235
|
+
sortable: dim.sortable,
|
|
236
|
+
sortedCol: dim.sortable && sort.dimIndex === dimIndex,
|
|
237
|
+
sortOrder: sort.order,
|
|
238
|
+
onClick,
|
|
239
|
+
colSpan: dim.columnDefinitions.length,
|
|
240
|
+
headerText: dimensionHeaderText,
|
|
241
|
+
colType: "dimension"
|
|
242
|
+
};
|
|
243
|
+
return /* @__PURE__ */ React.createElement(ColumnHeader, { key: coreTableColumn.slug, ...props });
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
subheaderText(column, dimension) {
|
|
247
|
+
const col = dimension.coreTableColumn;
|
|
248
|
+
if (column.key === SparklineKey.sparkline) {
|
|
249
|
+
const minTime = col.formatTime(this.timelineMinTime);
|
|
250
|
+
const maxTime = col.formatTime(this.timelineMaxTime);
|
|
251
|
+
return `${minTime}\u2013${maxTime}`;
|
|
252
|
+
}
|
|
253
|
+
return isDeltaColumn(column.key) ? columnNameByType[column.key] : col.formatTime(column.targetTime);
|
|
254
|
+
}
|
|
255
|
+
get dimensionSubheaders() {
|
|
256
|
+
const { sort } = this.tableState;
|
|
257
|
+
return this.displayDimensions.map(
|
|
258
|
+
(dim, dimIndex) => dim.columnDefinitions.map((column, colIndex) => {
|
|
259
|
+
const headerText = this.subheaderText(column, dim);
|
|
260
|
+
const onClick = column.sortable ? () => this.updateSort(dimIndex, column.key) : void 0;
|
|
261
|
+
return /* @__PURE__ */ React.createElement(
|
|
262
|
+
ColumnHeader,
|
|
263
|
+
{
|
|
264
|
+
key: column.key,
|
|
265
|
+
sortable: column.sortable,
|
|
266
|
+
sortedCol: sort.dimIndex === dimIndex && sort.columnKey === column.key,
|
|
267
|
+
sortOrder: sort.order,
|
|
268
|
+
onClick,
|
|
269
|
+
headerText,
|
|
270
|
+
colType: "subdimension",
|
|
271
|
+
classNames: classnames({
|
|
272
|
+
"subdimension-first": colIndex === 0
|
|
273
|
+
}),
|
|
274
|
+
minWidth: this.singleDataColumnStyle?.minWidth,
|
|
275
|
+
contentMaxWidth: this.singleDataColumnStyle?.contentMaxWidth
|
|
276
|
+
}
|
|
277
|
+
);
|
|
278
|
+
})
|
|
279
|
+
);
|
|
280
|
+
}
|
|
281
|
+
get headerRow() {
|
|
282
|
+
const { hasDimensionHeaders, hasSubheaders } = this;
|
|
283
|
+
return hasDimensionHeaders && hasSubheaders ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("tr", null, /* @__PURE__ */ React.createElement("th", { className: "above-entity" }), this.dimensionHeaders), /* @__PURE__ */ React.createElement("tr", null, this.entityHeader, this.dimensionSubheaders)) : /* @__PURE__ */ React.createElement("tr", null, this.entityHeader, hasSubheaders ? this.dimensionSubheaders : this.dimensionHeaders);
|
|
284
|
+
}
|
|
285
|
+
renderValueCellContent({
|
|
286
|
+
columnDefinition,
|
|
287
|
+
valuesForEntity,
|
|
288
|
+
formatTime
|
|
289
|
+
}) {
|
|
290
|
+
if (!valuesForEntity) return null;
|
|
291
|
+
if (!(columnDefinition.key in valuesForEntity)) return null;
|
|
292
|
+
const value = getValueForEntityByKey(
|
|
293
|
+
valuesForEntity,
|
|
294
|
+
columnDefinition.key
|
|
295
|
+
);
|
|
296
|
+
if (!value) return null;
|
|
297
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
298
|
+
ClosestTimeNotice,
|
|
299
|
+
{
|
|
300
|
+
value,
|
|
301
|
+
columnDefinition,
|
|
302
|
+
formatTime
|
|
303
|
+
}
|
|
304
|
+
), /* @__PURE__ */ React.createElement("span", null, value.displayValue));
|
|
305
|
+
}
|
|
306
|
+
renderSparklineCellContent({
|
|
307
|
+
columnDefinition,
|
|
308
|
+
valuesForEntity,
|
|
309
|
+
isProjection
|
|
310
|
+
}) {
|
|
311
|
+
if (columnDefinition.key !== SparklineKey.sparkline || !valuesForEntity?.sparkline)
|
|
312
|
+
return null;
|
|
313
|
+
const highlights = [];
|
|
314
|
+
const start = isRangeValue(valuesForEntity) ? valuesForEntity.start : valuesForEntity.single;
|
|
315
|
+
const startTime = start?.time ?? this.targetTimes?.[0];
|
|
316
|
+
const end = isRangeValue(valuesForEntity) ? valuesForEntity.end : valuesForEntity.single;
|
|
317
|
+
const endTime = end?.time ?? this.targetTimes?.[1];
|
|
318
|
+
if (startTime !== void 0) {
|
|
319
|
+
const value = typeof start?.value === "string" ? void 0 : start?.value;
|
|
320
|
+
const showMarker = this.manager.timelineDragTarget === "start" || this.manager.timelineDragTarget === "both";
|
|
321
|
+
highlights.push({ time: startTime, value, showMarker });
|
|
322
|
+
}
|
|
323
|
+
if (endTime !== void 0 && endTime !== startTime) {
|
|
324
|
+
const value = typeof end?.value === "string" ? void 0 : end?.value;
|
|
325
|
+
const showMarker = this.manager.timelineDragTarget === "end" || this.manager.timelineDragTarget === "both";
|
|
326
|
+
highlights.push({ time: endTime, value, showMarker });
|
|
327
|
+
}
|
|
328
|
+
return /* @__PURE__ */ React.createElement(
|
|
329
|
+
Sparkline,
|
|
330
|
+
{
|
|
331
|
+
dataRows: valuesForEntity.sparkline,
|
|
332
|
+
minTime: this.timelineMinTime,
|
|
333
|
+
maxTime: this.timelineMaxTime,
|
|
334
|
+
highlights,
|
|
335
|
+
strokeStyle: isProjection ? "dotted" : "solid"
|
|
336
|
+
}
|
|
337
|
+
);
|
|
338
|
+
}
|
|
339
|
+
renderEntityRow(row, dimensions) {
|
|
340
|
+
return /* @__PURE__ */ React.createElement("tr", { key: row.entityName }, /* @__PURE__ */ React.createElement("td", { key: "entity", className: classnames({ entity: true }) }, row.entityName), row.values.map((valuesForEntity, dimIndex) => {
|
|
341
|
+
const dimension = dimensions[dimIndex];
|
|
342
|
+
const { isProjection } = dimension.coreTableColumn;
|
|
343
|
+
return dimension.columnDefinitions.map(
|
|
344
|
+
(columnDefinition, colIndex) => {
|
|
345
|
+
const key = `${dimIndex}-${colIndex}`;
|
|
346
|
+
const formatTime = (time) => dimension.coreTableColumn.formatTime(time);
|
|
347
|
+
if (columnDefinition.key === SparklineKey.sparkline)
|
|
348
|
+
return /* @__PURE__ */ React.createElement(
|
|
349
|
+
ValueCell,
|
|
350
|
+
{
|
|
351
|
+
key,
|
|
352
|
+
columnKey: columnDefinition.key,
|
|
353
|
+
isFirstColumn: colIndex === 0
|
|
354
|
+
},
|
|
355
|
+
this.renderSparklineCellContent({
|
|
356
|
+
columnDefinition,
|
|
357
|
+
valuesForEntity,
|
|
358
|
+
isProjection
|
|
359
|
+
})
|
|
360
|
+
);
|
|
361
|
+
return /* @__PURE__ */ React.createElement(
|
|
362
|
+
ValueCell,
|
|
363
|
+
{
|
|
364
|
+
key,
|
|
365
|
+
columnKey: columnDefinition.key,
|
|
366
|
+
isFirstColumn: colIndex === 0,
|
|
367
|
+
maxWidth: this.singleDataColumnStyle?.contentMaxWidth
|
|
368
|
+
},
|
|
369
|
+
this.renderValueCellContent({
|
|
370
|
+
columnDefinition,
|
|
371
|
+
valuesForEntity,
|
|
372
|
+
formatTime
|
|
373
|
+
})
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
);
|
|
377
|
+
}));
|
|
378
|
+
}
|
|
379
|
+
get bounds() {
|
|
380
|
+
return this.props.bounds ?? DEFAULT_GRAPHER_BOUNDS;
|
|
381
|
+
}
|
|
382
|
+
get tableCaption() {
|
|
383
|
+
if (this.hasDimensionHeaders) return null;
|
|
384
|
+
if (this.displayDimensions.length === 0) return null;
|
|
385
|
+
const singleDimension = this.displayDimensions[0];
|
|
386
|
+
const titleFragments = singleDimension.display.columnName.attributionShort || singleDimension.display.columnName.titleVariant ? joinTitleFragments(
|
|
387
|
+
singleDimension.display.columnName.attributionShort,
|
|
388
|
+
singleDimension.display.columnName.titleVariant
|
|
389
|
+
) : void 0;
|
|
390
|
+
return singleDimension ? /* @__PURE__ */ React.createElement("div", { className: "caption" }, singleDimension.display.columnName.title, " ", /* @__PURE__ */ React.createElement("span", { className: "title-fragments" }, titleFragments, singleDimension.display.unit && ` (${singleDimension.display.unit})`)) : null;
|
|
391
|
+
}
|
|
392
|
+
renderNoDataModal() {
|
|
393
|
+
return /* @__PURE__ */ React.createElement(
|
|
394
|
+
"svg",
|
|
395
|
+
{
|
|
396
|
+
width: this.bounds.width,
|
|
397
|
+
height: this.bounds.height,
|
|
398
|
+
style: SVG_STYLE_PROPS
|
|
399
|
+
},
|
|
400
|
+
/* @__PURE__ */ React.createElement(
|
|
401
|
+
NoDataModal,
|
|
402
|
+
{
|
|
403
|
+
manager: this.manager,
|
|
404
|
+
bounds: this.bounds,
|
|
405
|
+
message: `No ${this.entityType} matches this query`,
|
|
406
|
+
helpText: "Try checking for typos or searching for something else",
|
|
407
|
+
hideTextOutline: true
|
|
408
|
+
}
|
|
409
|
+
)
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
render() {
|
|
413
|
+
if (this.sortedDisplayRows.length === 0) return this.renderNoDataModal();
|
|
414
|
+
return /* @__PURE__ */ React.createElement("div", { className: "DataTable" }, this.tableCaption, /* @__PURE__ */ React.createElement("div", { className: "table-wrapper" }, /* @__PURE__ */ React.createElement("table", null, /* @__PURE__ */ React.createElement("thead", null, this.headerRow), /* @__PURE__ */ React.createElement("tbody", null, this.sortedDisplayRows.map(
|
|
415
|
+
(row) => this.renderEntityRow(
|
|
416
|
+
row,
|
|
417
|
+
this.displayDimensions
|
|
418
|
+
)
|
|
419
|
+
)))));
|
|
420
|
+
}
|
|
421
|
+
get loadedWithData() {
|
|
422
|
+
return this.columnsToShow.length > 0;
|
|
423
|
+
}
|
|
424
|
+
get autoSelectedStartTime() {
|
|
425
|
+
let autoSelectedStartTime = void 0;
|
|
426
|
+
if (!this.loadedWithData) return void 0;
|
|
427
|
+
const numEntitiesInTable = this.entityNames.length;
|
|
428
|
+
this.columnsToShow.forEach((column) => {
|
|
429
|
+
const numberOfEntitiesWithDataSortedByTime = _.sortBy(
|
|
430
|
+
Object.entries(R.countBy(column.uniqTimesAsc, R.identity())),
|
|
431
|
+
([time, _count]) => parseInt(time)
|
|
432
|
+
);
|
|
433
|
+
const firstTimeWithSufficientData = numberOfEntitiesWithDataSortedByTime.find((time) => {
|
|
434
|
+
const numEntitiesWithData = time[1];
|
|
435
|
+
const percentEntitiesWithData = numEntitiesWithData / numEntitiesInTable;
|
|
436
|
+
return percentEntitiesWithData >= this.AUTO_SELECTION_THRESHOLD_PERCENTAGE;
|
|
437
|
+
})?.[0];
|
|
438
|
+
if (firstTimeWithSufficientData) {
|
|
439
|
+
autoSelectedStartTime = parseInt(firstTimeWithSufficientData);
|
|
440
|
+
return false;
|
|
441
|
+
}
|
|
442
|
+
return true;
|
|
443
|
+
});
|
|
444
|
+
return autoSelectedStartTime;
|
|
445
|
+
}
|
|
446
|
+
get columnsToShow() {
|
|
447
|
+
const slugs = this.manager.dataTableSlugs ?? [];
|
|
448
|
+
if (slugs.length)
|
|
449
|
+
return slugs.map((slug) => {
|
|
450
|
+
const col = this.table.get(slug);
|
|
451
|
+
if (!col)
|
|
452
|
+
console.warn(`Warning: column '${slug}' not found`);
|
|
453
|
+
return col;
|
|
454
|
+
}).filter((col) => col);
|
|
455
|
+
const skips = new Set(Object.keys(ChartsTableSlugs));
|
|
456
|
+
return this.table.columnsAsArray.filter(
|
|
457
|
+
(column) => !skips.has(column.slug) && // dim.property !== "color" &&
|
|
458
|
+
(column.display?.includeInTable ?? true)
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
get availableEntityNames() {
|
|
462
|
+
return _.union(
|
|
463
|
+
...this.columnsToShow.map(
|
|
464
|
+
(col) => this.table.get(col.slug).uniqEntityNames
|
|
465
|
+
)
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
get fuzzy() {
|
|
469
|
+
return FuzzySearch.withKey(
|
|
470
|
+
this.availableEntityNames,
|
|
471
|
+
(entityName) => entityName
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
get entityNames() {
|
|
475
|
+
if (!this.tableConfig.search) return this.availableEntityNames;
|
|
476
|
+
return this.fuzzy.search(this.tableConfig.search);
|
|
477
|
+
}
|
|
478
|
+
get entityCount() {
|
|
479
|
+
return this.entityNames.length;
|
|
480
|
+
}
|
|
481
|
+
get isSortable() {
|
|
482
|
+
return this.entityCount > 1;
|
|
483
|
+
}
|
|
484
|
+
componentDidMount() {
|
|
485
|
+
exposeInstanceOnWindow(this, "dataTable");
|
|
486
|
+
}
|
|
487
|
+
formatValue(column, value, formattingOverrides) {
|
|
488
|
+
if (value === void 0) return void 0;
|
|
489
|
+
return column.formatValueShort(value, {
|
|
490
|
+
roundingMode: VariableRoundingMode.decimalPlaces,
|
|
491
|
+
numberAbbreviation: false,
|
|
492
|
+
trailingZeroes: true,
|
|
493
|
+
useNoBreakSpace: true,
|
|
494
|
+
...formattingOverrides
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
get targetTimes() {
|
|
498
|
+
const { startTime, endTime } = this.manager;
|
|
499
|
+
if (startTime === void 0 || endTime === void 0) return void 0;
|
|
500
|
+
if (startTime !== endTime) return [startTime, endTime];
|
|
501
|
+
return [endTime];
|
|
502
|
+
}
|
|
503
|
+
getTargetTimesForColumn(coreTableColumn) {
|
|
504
|
+
if (coreTableColumn.def.targetTime !== void 0)
|
|
505
|
+
return [coreTableColumn.def.targetTime];
|
|
506
|
+
if (this.targetTimes !== void 0) return this.targetTimes;
|
|
507
|
+
return [coreTableColumn.maxTime];
|
|
508
|
+
}
|
|
509
|
+
get dataTableDimensionsWithValues() {
|
|
510
|
+
return this.columnsToShow.map((coreTableColumn) => {
|
|
511
|
+
const targetTimes = this.getTargetTimesForColumn(coreTableColumn);
|
|
512
|
+
const targetTimeMode = targetTimes.length < 2 ? TargetTimeMode.point : TargetTimeMode.range;
|
|
513
|
+
const targetValuesByEntity = this.interpolateTargetValues({
|
|
514
|
+
coreTableColumn,
|
|
515
|
+
targetTimes
|
|
516
|
+
});
|
|
517
|
+
const valuesByEntityName = this.calculateDataValuesForTargetTimeMode({
|
|
518
|
+
targetValuesByEntity,
|
|
519
|
+
coreTableColumn,
|
|
520
|
+
targetTimeMode
|
|
521
|
+
});
|
|
522
|
+
if (this.columnHasSparkline(coreTableColumn)) {
|
|
523
|
+
for (const [entityName, values] of valuesByEntityName) {
|
|
524
|
+
values.sparkline = coreTableColumn.dataRowsByEntityName.get(entityName);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
const columnDefinitions = this.constructColumnDefinitions({
|
|
528
|
+
coreTableColumn,
|
|
529
|
+
targetTimes,
|
|
530
|
+
targetTimeMode
|
|
531
|
+
});
|
|
532
|
+
return { columnDefinitions, valuesByEntityName, coreTableColumn };
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
columnHasSparkline(coreTableColumn) {
|
|
536
|
+
return this.timelineMinTime !== void 0 && this.timelineMaxTime !== void 0 && this.timelineMinTime !== this.timelineMaxTime && coreTableColumn.hasNumberFormatting && // For columns with a target time, the data table is fixed at that time.
|
|
537
|
+
// It thus doesn't make sense to show a sparkline
|
|
538
|
+
coreTableColumn.def.targetTime === void 0;
|
|
539
|
+
}
|
|
540
|
+
constructColumnDefinitions({
|
|
541
|
+
coreTableColumn,
|
|
542
|
+
targetTimes,
|
|
543
|
+
targetTimeMode
|
|
544
|
+
}) {
|
|
545
|
+
const deltaColumns = [];
|
|
546
|
+
if (coreTableColumn.hasNumberFormatting) {
|
|
547
|
+
if (targetTimeMode === TargetTimeMode.range) {
|
|
548
|
+
const { tableDisplay = {} } = coreTableColumn.display ?? {};
|
|
549
|
+
if (!tableDisplay.hideAbsoluteChange)
|
|
550
|
+
deltaColumns.push({
|
|
551
|
+
key: RangeColumnKey.delta,
|
|
552
|
+
sortable: this.isSortable
|
|
553
|
+
});
|
|
554
|
+
if (!tableDisplay.hideRelativeChange)
|
|
555
|
+
deltaColumns.push({
|
|
556
|
+
key: RangeColumnKey.deltaRatio,
|
|
557
|
+
sortable: this.isSortable
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
const valueColumns = targetTimes.map(
|
|
562
|
+
(targetTime, index) => ({
|
|
563
|
+
key: targetTimeMode === TargetTimeMode.range ? index === 0 ? RangeColumnKey.start : RangeColumnKey.end : PointColumnKey.single,
|
|
564
|
+
targetTime,
|
|
565
|
+
sortable: this.isSortable
|
|
566
|
+
})
|
|
567
|
+
);
|
|
568
|
+
const sparklineColumn = this.columnHasSparkline(coreTableColumn) ? { key: SparklineKey.sparkline, sortable: false } : void 0;
|
|
569
|
+
return excludeUndefined([
|
|
570
|
+
...valueColumns,
|
|
571
|
+
sparklineColumn,
|
|
572
|
+
...deltaColumns
|
|
573
|
+
]);
|
|
574
|
+
}
|
|
575
|
+
interpolateTargetValues({
|
|
576
|
+
coreTableColumn,
|
|
577
|
+
targetTimes
|
|
578
|
+
}) {
|
|
579
|
+
return valuesByEntityAtTimes(
|
|
580
|
+
coreTableColumn.valueByEntityNameAndOriginalTime,
|
|
581
|
+
targetTimes,
|
|
582
|
+
coreTableColumn.tolerance
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
calculateDataValuesForTargetTimeMode({
|
|
586
|
+
targetValuesByEntity,
|
|
587
|
+
targetTimeMode,
|
|
588
|
+
coreTableColumn
|
|
589
|
+
}) {
|
|
590
|
+
return es6mapValues(targetValuesByEntity, (dvs) => {
|
|
591
|
+
if (targetTimeMode === TargetTimeMode.range) {
|
|
592
|
+
const [start, end] = dvs;
|
|
593
|
+
const result = {
|
|
594
|
+
start: {
|
|
595
|
+
...start,
|
|
596
|
+
displayValue: this.formatValue(
|
|
597
|
+
coreTableColumn,
|
|
598
|
+
start?.value
|
|
599
|
+
)
|
|
600
|
+
},
|
|
601
|
+
end: {
|
|
602
|
+
...end,
|
|
603
|
+
displayValue: this.formatValue(
|
|
604
|
+
coreTableColumn,
|
|
605
|
+
end?.value
|
|
606
|
+
)
|
|
607
|
+
},
|
|
608
|
+
delta: void 0,
|
|
609
|
+
deltaRatio: void 0
|
|
610
|
+
};
|
|
611
|
+
if (start !== void 0 && end !== void 0 && typeof start.value === "number" && typeof end.value === "number" && // sanity check: start time should always be <= end time
|
|
612
|
+
start.time !== void 0 && end.time !== void 0 && start.time <= end.time) {
|
|
613
|
+
const deltaValue = end.value - start.value;
|
|
614
|
+
const deltaRatioValue = deltaValue / Math.abs(start.value);
|
|
615
|
+
result.delta = {
|
|
616
|
+
value: deltaValue,
|
|
617
|
+
displayValue: this.formatValue(
|
|
618
|
+
coreTableColumn,
|
|
619
|
+
deltaValue,
|
|
620
|
+
{
|
|
621
|
+
showPlus: true,
|
|
622
|
+
unit: coreTableColumn.shortUnit === "%" ? "pp" : coreTableColumn.shortUnit
|
|
623
|
+
}
|
|
624
|
+
)
|
|
625
|
+
};
|
|
626
|
+
result.deltaRatio = {
|
|
627
|
+
value: deltaRatioValue,
|
|
628
|
+
displayValue: isFinite(deltaRatioValue) && !isNaN(deltaRatioValue) ? this.formatValue(
|
|
629
|
+
coreTableColumn,
|
|
630
|
+
deltaRatioValue * 100,
|
|
631
|
+
{
|
|
632
|
+
unit: "%",
|
|
633
|
+
numDecimalPlaces: 0,
|
|
634
|
+
showPlus: true
|
|
635
|
+
}
|
|
636
|
+
) : void 0
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
return result;
|
|
640
|
+
} else {
|
|
641
|
+
const dv = dvs[0];
|
|
642
|
+
const result = {
|
|
643
|
+
single: { ...dv }
|
|
644
|
+
};
|
|
645
|
+
if (dv !== void 0)
|
|
646
|
+
result.single.displayValue = this.formatValue(
|
|
647
|
+
coreTableColumn,
|
|
648
|
+
dv.value
|
|
649
|
+
);
|
|
650
|
+
return result;
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
get displayDimensions() {
|
|
655
|
+
return this.dataTableDimensionsWithValues.map((d) => {
|
|
656
|
+
const coreTableColumn = d.coreTableColumn;
|
|
657
|
+
const columnName = coreTableColumn.titlePublicOrDisplayName;
|
|
658
|
+
const unit = coreTableColumn.unit === "%" ? "percent" : coreTableColumn.unit;
|
|
659
|
+
return {
|
|
660
|
+
coreTableColumn,
|
|
661
|
+
columnDefinitions: d.columnDefinitions,
|
|
662
|
+
display: { columnName, unit },
|
|
663
|
+
sortable: !this.hasSubheaders
|
|
664
|
+
};
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
get displayRows() {
|
|
668
|
+
return this.entityNames.map((entityName) => {
|
|
669
|
+
return {
|
|
670
|
+
entityName,
|
|
671
|
+
values: this.dataTableDimensionsWithValues.map(
|
|
672
|
+
(d) => d.valuesByEntityName.get(entityName)
|
|
673
|
+
)
|
|
674
|
+
};
|
|
675
|
+
});
|
|
676
|
+
}
|
|
677
|
+
get sortedDisplayRows() {
|
|
678
|
+
const { order } = this.tableState.sort;
|
|
679
|
+
return _.orderBy(this.displayRows, this.sortValueMapper, order);
|
|
680
|
+
}
|
|
681
|
+
};
|
|
682
|
+
__decorateClass([
|
|
683
|
+
computed
|
|
684
|
+
], DataTable.prototype, "manager", 1);
|
|
685
|
+
__decorateClass([
|
|
686
|
+
computed
|
|
687
|
+
], DataTable.prototype, "selectionArray", 1);
|
|
688
|
+
__decorateClass([
|
|
689
|
+
computed
|
|
690
|
+
], DataTable.prototype, "tableConfig", 1);
|
|
691
|
+
__decorateClass([
|
|
692
|
+
computed
|
|
693
|
+
], DataTable.prototype, "timelineMinTime", 1);
|
|
694
|
+
__decorateClass([
|
|
695
|
+
computed
|
|
696
|
+
], DataTable.prototype, "timelineMaxTime", 1);
|
|
697
|
+
__decorateClass([
|
|
698
|
+
computed
|
|
699
|
+
], DataTable.prototype, "table", 1);
|
|
700
|
+
__decorateClass([
|
|
701
|
+
computed
|
|
702
|
+
], DataTable.prototype, "tableState", 1);
|
|
703
|
+
__decorateClass([
|
|
704
|
+
computed
|
|
705
|
+
], DataTable.prototype, "sortState", 1);
|
|
706
|
+
__decorateClass([
|
|
707
|
+
computed
|
|
708
|
+
], DataTable.prototype, "entityType", 1);
|
|
709
|
+
__decorateClass([
|
|
710
|
+
computed
|
|
711
|
+
], DataTable.prototype, "sortValueMapper", 1);
|
|
712
|
+
__decorateClass([
|
|
713
|
+
computed
|
|
714
|
+
], DataTable.prototype, "hasSubheaders", 1);
|
|
715
|
+
__decorateClass([
|
|
716
|
+
action.bound
|
|
717
|
+
], DataTable.prototype, "updateSort", 1);
|
|
718
|
+
__decorateClass([
|
|
719
|
+
computed
|
|
720
|
+
], DataTable.prototype, "hasDimensionHeaders", 1);
|
|
721
|
+
__decorateClass([
|
|
722
|
+
computed
|
|
723
|
+
], DataTable.prototype, "singleDataColumnStyle", 1);
|
|
724
|
+
__decorateClass([
|
|
725
|
+
computed
|
|
726
|
+
], DataTable.prototype, "bounds", 1);
|
|
727
|
+
__decorateClass([
|
|
728
|
+
computed
|
|
729
|
+
], DataTable.prototype, "tableCaption", 1);
|
|
730
|
+
__decorateClass([
|
|
731
|
+
computed
|
|
732
|
+
], DataTable.prototype, "loadedWithData", 1);
|
|
733
|
+
__decorateClass([
|
|
734
|
+
computed
|
|
735
|
+
], DataTable.prototype, "autoSelectedStartTime", 1);
|
|
736
|
+
__decorateClass([
|
|
737
|
+
computed
|
|
738
|
+
], DataTable.prototype, "columnsToShow", 1);
|
|
739
|
+
__decorateClass([
|
|
740
|
+
computed
|
|
741
|
+
], DataTable.prototype, "availableEntityNames", 1);
|
|
742
|
+
__decorateClass([
|
|
743
|
+
computed
|
|
744
|
+
], DataTable.prototype, "fuzzy", 1);
|
|
745
|
+
__decorateClass([
|
|
746
|
+
computed
|
|
747
|
+
], DataTable.prototype, "entityNames", 1);
|
|
748
|
+
__decorateClass([
|
|
749
|
+
computed
|
|
750
|
+
], DataTable.prototype, "entityCount", 1);
|
|
751
|
+
__decorateClass([
|
|
752
|
+
computed
|
|
753
|
+
], DataTable.prototype, "isSortable", 1);
|
|
754
|
+
__decorateClass([
|
|
755
|
+
computed
|
|
756
|
+
], DataTable.prototype, "targetTimes", 1);
|
|
757
|
+
__decorateClass([
|
|
758
|
+
computed
|
|
759
|
+
], DataTable.prototype, "dataTableDimensionsWithValues", 1);
|
|
760
|
+
__decorateClass([
|
|
761
|
+
computed
|
|
762
|
+
], DataTable.prototype, "displayDimensions", 1);
|
|
763
|
+
__decorateClass([
|
|
764
|
+
computed
|
|
765
|
+
], DataTable.prototype, "displayRows", 1);
|
|
766
|
+
__decorateClass([
|
|
767
|
+
computed
|
|
768
|
+
], DataTable.prototype, "sortedDisplayRows", 1);
|
|
769
|
+
DataTable = __decorateClass([
|
|
770
|
+
observer
|
|
771
|
+
], DataTable);
|
|
772
|
+
function ColumnHeader(props) {
|
|
773
|
+
const { sortable, sortedCol, colType } = props;
|
|
774
|
+
const isEntityColumn = colType === "entity";
|
|
775
|
+
const sortIcon = sortable && /* @__PURE__ */ React.createElement(
|
|
776
|
+
SortIcon,
|
|
777
|
+
{
|
|
778
|
+
isActiveIcon: sortedCol,
|
|
779
|
+
order: sortedCol ? props.sortOrder : isEntityColumn ? SortOrder.asc : SortOrder.desc
|
|
780
|
+
}
|
|
781
|
+
);
|
|
782
|
+
return /* @__PURE__ */ React.createElement(
|
|
783
|
+
"th",
|
|
784
|
+
{
|
|
785
|
+
className: classnames(props.classNames, colType, { sortable }),
|
|
786
|
+
rowSpan: props.rowSpan ?? 1,
|
|
787
|
+
colSpan: props.colSpan ?? 1,
|
|
788
|
+
onClick: props.onClick,
|
|
789
|
+
style: { minWidth: props.minWidth }
|
|
790
|
+
},
|
|
791
|
+
/* @__PURE__ */ React.createElement(CellContent, { maxWidth: props.contentMaxWidth }, /* @__PURE__ */ React.createElement("div", { className: "content" }, !isEntityColumn && sortIcon, /* @__PURE__ */ React.createElement("span", null, props.headerText), isEntityColumn && sortIcon))
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
function CellContent(props) {
|
|
795
|
+
if (!props.maxWidth) return /* @__PURE__ */ React.createElement(React.Fragment, null, props.children);
|
|
796
|
+
return /* @__PURE__ */ React.createElement("div", { style: { maxWidth: props.maxWidth } }, props.children);
|
|
797
|
+
}
|
|
798
|
+
function ValueCell(props) {
|
|
799
|
+
const className = classnames([
|
|
800
|
+
"cell",
|
|
801
|
+
`cell-${props.columnKey}`,
|
|
802
|
+
{ "cell-first": props.isFirstColumn }
|
|
803
|
+
]);
|
|
804
|
+
return /* @__PURE__ */ React.createElement("td", { className }, /* @__PURE__ */ React.createElement(CellContent, { maxWidth: props.maxWidth }, props.children));
|
|
805
|
+
}
|
|
806
|
+
function SortIcon(props) {
|
|
807
|
+
const isActiveIcon = props.isActiveIcon ?? false;
|
|
808
|
+
const activeIcon = props.order === SortOrder.desc ? faArrowUpLong : faArrowDownLong;
|
|
809
|
+
return /* @__PURE__ */ React.createElement(
|
|
810
|
+
"span",
|
|
811
|
+
{
|
|
812
|
+
className: classnames({ "sort-icon": true, active: isActiveIcon })
|
|
813
|
+
},
|
|
814
|
+
isActiveIcon ? /* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: activeIcon }) : /* @__PURE__ */ React.createElement("span", { style: { display: "inline-block", width: "max-content" } }, /* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: faArrowUpLong }), /* @__PURE__ */ React.createElement(
|
|
815
|
+
FontAwesomeIcon,
|
|
816
|
+
{
|
|
817
|
+
icon: faArrowDownLong,
|
|
818
|
+
style: { marginLeft: "-2px" }
|
|
819
|
+
}
|
|
820
|
+
))
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
function ClosestTimeNotice({
|
|
824
|
+
value,
|
|
825
|
+
columnDefinition,
|
|
826
|
+
formatTime
|
|
827
|
+
}) {
|
|
828
|
+
const shouldShowClosestTimeNotice = !isDeltaColumn(columnDefinition.key) && columnDefinition.targetTime !== value.time;
|
|
829
|
+
if (value.time === void 0 || columnDefinition.targetTime === void 0 || !shouldShowClosestTimeNotice)
|
|
830
|
+
return null;
|
|
831
|
+
const targetTime = formatTime(columnDefinition.targetTime);
|
|
832
|
+
const closestTime = formatTime(value.time);
|
|
833
|
+
return /* @__PURE__ */ React.createElement(
|
|
834
|
+
Tippy,
|
|
835
|
+
{
|
|
836
|
+
content: /* @__PURE__ */ React.createElement("div", { className: "closest-time-notice-tippy" }, /* @__PURE__ */ React.createElement("strong", null, "Data not available for ", targetTime), /* @__PURE__ */ React.createElement("br", null), "Showing closest available data point (", closestTime, ")"),
|
|
837
|
+
arrow: false
|
|
838
|
+
},
|
|
839
|
+
/* @__PURE__ */ React.createElement("span", { className: "closest-time-notice-icon" }, /* @__PURE__ */ React.createElement("span", { className: "icon" }, /* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: faInfoCircle })))
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
function Sparkline({
|
|
843
|
+
width = 75,
|
|
844
|
+
height = 18,
|
|
845
|
+
dataRows,
|
|
846
|
+
minTime,
|
|
847
|
+
maxTime,
|
|
848
|
+
highlights = [],
|
|
849
|
+
dotSize = 3.5,
|
|
850
|
+
color = "#4C6A9C",
|
|
851
|
+
strokeStyle = "solid"
|
|
852
|
+
}) {
|
|
853
|
+
if (dataRows.length <= 1) return null;
|
|
854
|
+
const bounds = new Bounds(0, 0, width, height).padWidth(dotSize);
|
|
855
|
+
const xDomain = [minTime, maxTime];
|
|
856
|
+
const xScale = scaleLinear().domain(xDomain).range([bounds.left, bounds.right]);
|
|
857
|
+
const yDomain = extent(dataRows.map((row) => row.value));
|
|
858
|
+
const yScale = scaleLinear().domain(yDomain).range([bounds.bottom, bounds.top]);
|
|
859
|
+
const makePath = line().x((row) => xScale(row.originalTime)).y((row) => yScale(row.value));
|
|
860
|
+
const path = makePath(dataRows);
|
|
861
|
+
if (!path) return null;
|
|
862
|
+
const strokeDasharray = strokeStyle === "dotted" ? "2,3" : void 0;
|
|
863
|
+
return /* @__PURE__ */ React.createElement(
|
|
864
|
+
"svg",
|
|
865
|
+
{
|
|
866
|
+
width,
|
|
867
|
+
height,
|
|
868
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
869
|
+
style: { overflow: "visible" }
|
|
870
|
+
},
|
|
871
|
+
highlights.filter((highlight) => highlight.showMarker).map((highlight) => /* @__PURE__ */ React.createElement(
|
|
872
|
+
"line",
|
|
873
|
+
{
|
|
874
|
+
key: highlight.time,
|
|
875
|
+
x1: xScale(highlight.time),
|
|
876
|
+
x2: xScale(highlight.time),
|
|
877
|
+
y1: 0,
|
|
878
|
+
y2: height,
|
|
879
|
+
stroke: GRAY_30
|
|
880
|
+
}
|
|
881
|
+
)),
|
|
882
|
+
/* @__PURE__ */ React.createElement(
|
|
883
|
+
"path",
|
|
884
|
+
{
|
|
885
|
+
d: path,
|
|
886
|
+
stroke: color,
|
|
887
|
+
fill: "none",
|
|
888
|
+
strokeWidth: 1.5,
|
|
889
|
+
strokeDasharray
|
|
890
|
+
}
|
|
891
|
+
),
|
|
892
|
+
highlights.filter((highlight) => highlight.value !== void 0).map((highlight) => /* @__PURE__ */ React.createElement(
|
|
893
|
+
"circle",
|
|
894
|
+
{
|
|
895
|
+
key: highlight.time,
|
|
896
|
+
cx: xScale(highlight.time),
|
|
897
|
+
cy: yScale(highlight.value),
|
|
898
|
+
r: dotSize,
|
|
899
|
+
fill: color,
|
|
900
|
+
stroke: "#fff"
|
|
901
|
+
}
|
|
902
|
+
))
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
function getValueForEntityByKey(dimensionValue, columnKey) {
|
|
906
|
+
if (isSingleValue(dimensionValue)) {
|
|
907
|
+
return dimensionValue[columnKey];
|
|
908
|
+
} else if (isRangeValue(dimensionValue)) {
|
|
909
|
+
return dimensionValue[columnKey];
|
|
910
|
+
}
|
|
911
|
+
return void 0;
|
|
912
|
+
}
|
|
913
|
+
function isRangeColumnKey(key) {
|
|
914
|
+
return Object.values(RangeColumnKey).includes(key);
|
|
915
|
+
}
|
|
916
|
+
function isRangeValue(value) {
|
|
917
|
+
return "start" in value;
|
|
918
|
+
}
|
|
919
|
+
function isSingleValue(value) {
|
|
920
|
+
return "single" in value;
|
|
921
|
+
}
|
|
922
|
+
function isDeltaColumn(columnKey) {
|
|
923
|
+
return columnKey === "delta" || columnKey === "deltaRatio";
|
|
924
|
+
}
|
|
925
|
+
function isCommonDataTableFilter(candidate) {
|
|
926
|
+
return COMMON_DATA_TABLE_FILTERS.includes(candidate);
|
|
927
|
+
}
|
|
928
|
+
function isValidDataTableFilter(candidate) {
|
|
929
|
+
return isCommonDataTableFilter(candidate) || isEntityRegionType(candidate);
|
|
930
|
+
}
|
|
931
|
+
export {
|
|
932
|
+
DataTable,
|
|
933
|
+
isValidDataTableFilter
|
|
934
|
+
};
|