@buildcanada/charts 0.3.6 → 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,283 @@
|
|
|
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 R from "remeda";
|
|
13
|
+
import {
|
|
14
|
+
stripHTML,
|
|
15
|
+
Bounds,
|
|
16
|
+
VerticalAlign
|
|
17
|
+
} from "../../utils/index.js";
|
|
18
|
+
import { computed, makeObservable } from "mobx";
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
import { joinFragments, splitIntoFragments } from "./TextWrapUtils.js";
|
|
21
|
+
import { match } from "ts-pattern";
|
|
22
|
+
const HTML_OPENING_CLOSING_TAG_REGEX = /<(\/?)([A-Za-z]+)( [^<>]*)?>/g;
|
|
23
|
+
function startsWithNewline(text) {
|
|
24
|
+
return /^\n/.test(text);
|
|
25
|
+
}
|
|
26
|
+
const shortenForTargetWidth = (text, targetWidth, fontSettings = {}) => {
|
|
27
|
+
let low = 0;
|
|
28
|
+
let high = text.length;
|
|
29
|
+
while (low <= high) {
|
|
30
|
+
const mid = high + low >> 1;
|
|
31
|
+
const bounds = Bounds.forText(text.slice(0, mid), fontSettings);
|
|
32
|
+
if (bounds.width < targetWidth) {
|
|
33
|
+
low = mid + 1;
|
|
34
|
+
} else {
|
|
35
|
+
high = mid - 1;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return text.slice(0, low - 1);
|
|
39
|
+
};
|
|
40
|
+
const shortenWithEllipsis = (text, targetWidth, fontSettings = {}) => {
|
|
41
|
+
const ellipsis = "\u2026";
|
|
42
|
+
const ellipsisWidth = Bounds.forText(ellipsis, fontSettings).width;
|
|
43
|
+
const truncatedText = shortenForTargetWidth(
|
|
44
|
+
text,
|
|
45
|
+
targetWidth - ellipsisWidth,
|
|
46
|
+
fontSettings
|
|
47
|
+
);
|
|
48
|
+
return `${truncatedText}${ellipsis}`;
|
|
49
|
+
};
|
|
50
|
+
class TextWrap {
|
|
51
|
+
constructor(props) {
|
|
52
|
+
makeObservable(this);
|
|
53
|
+
this.props = props;
|
|
54
|
+
}
|
|
55
|
+
get maxWidth() {
|
|
56
|
+
return this.props.maxWidth ?? Infinity;
|
|
57
|
+
}
|
|
58
|
+
get lineHeight() {
|
|
59
|
+
return this.props.lineHeight ?? 1.1;
|
|
60
|
+
}
|
|
61
|
+
get fontSize() {
|
|
62
|
+
return this.props.fontSize ?? 1;
|
|
63
|
+
}
|
|
64
|
+
get fontWeight() {
|
|
65
|
+
return this.props.fontWeight;
|
|
66
|
+
}
|
|
67
|
+
get verticalAlign() {
|
|
68
|
+
return this.props.verticalAlign ?? VerticalAlign.bottom;
|
|
69
|
+
}
|
|
70
|
+
get text() {
|
|
71
|
+
return this.props.text;
|
|
72
|
+
}
|
|
73
|
+
get separators() {
|
|
74
|
+
return this.props.separators ?? [" "];
|
|
75
|
+
}
|
|
76
|
+
// We need to take care that HTML tags are not split across lines.
|
|
77
|
+
// Instead, we want every line to have opening and closing tags for all tags that appear.
|
|
78
|
+
// This is so we don't produce invalid HTML.
|
|
79
|
+
processHtmlTags(lines) {
|
|
80
|
+
const currentlyOpenTags = [];
|
|
81
|
+
for (const line of lines) {
|
|
82
|
+
const prependOpenTags = currentlyOpenTags.map((t) => t.fullTag).join("");
|
|
83
|
+
const tagMatches = line.text.matchAll(
|
|
84
|
+
HTML_OPENING_CLOSING_TAG_REGEX
|
|
85
|
+
);
|
|
86
|
+
for (const tag of tagMatches) {
|
|
87
|
+
const isOpeningTag = tag[1] !== "/";
|
|
88
|
+
if (isOpeningTag) {
|
|
89
|
+
currentlyOpenTags.push({
|
|
90
|
+
tag: tag[2],
|
|
91
|
+
fullTag: tag[0]
|
|
92
|
+
});
|
|
93
|
+
} else {
|
|
94
|
+
if (!currentlyOpenTags.length || currentlyOpenTags.at(-1)?.tag !== tag[2]) {
|
|
95
|
+
throw new Error(
|
|
96
|
+
"TextWrap: Opening and closing HTML tags do not match"
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
currentlyOpenTags.pop();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
const appendCloseTags = currentlyOpenTags.toReversed().map((t) => `</${t.tag}>`).join("");
|
|
103
|
+
line.text = prependOpenTags + line.text + appendCloseTags;
|
|
104
|
+
}
|
|
105
|
+
return lines;
|
|
106
|
+
}
|
|
107
|
+
get lines() {
|
|
108
|
+
const { text, separators, maxWidth, fontSize, fontWeight } = this;
|
|
109
|
+
const fragments = splitIntoFragments(
|
|
110
|
+
text.replace(/\n/g, " \n"),
|
|
111
|
+
separators
|
|
112
|
+
);
|
|
113
|
+
const lines = [];
|
|
114
|
+
let line = [];
|
|
115
|
+
let lineBounds = Bounds.empty();
|
|
116
|
+
fragments.forEach((fragment) => {
|
|
117
|
+
const nextLine = line.concat([fragment]);
|
|
118
|
+
const text2 = this.props.rawHtml ? stripHTML(joinFragments(nextLine)) : joinFragments(nextLine);
|
|
119
|
+
const nextBounds = Bounds.forText(text2, {
|
|
120
|
+
fontSize,
|
|
121
|
+
fontWeight
|
|
122
|
+
});
|
|
123
|
+
if (startsWithNewline(fragment.text) || nextBounds.width + 10 > maxWidth && line.length >= 1) {
|
|
124
|
+
lines.push({
|
|
125
|
+
text: joinFragments(line),
|
|
126
|
+
width: lineBounds.width,
|
|
127
|
+
height: lineBounds.height
|
|
128
|
+
});
|
|
129
|
+
const wordWithoutNewline = fragment.text.replace(/^\n/, "");
|
|
130
|
+
line = [
|
|
131
|
+
{
|
|
132
|
+
text: wordWithoutNewline,
|
|
133
|
+
separator: fragment.separator
|
|
134
|
+
}
|
|
135
|
+
];
|
|
136
|
+
lineBounds = Bounds.forText(wordWithoutNewline, {
|
|
137
|
+
fontSize,
|
|
138
|
+
fontWeight
|
|
139
|
+
});
|
|
140
|
+
} else {
|
|
141
|
+
line = nextLine;
|
|
142
|
+
lineBounds = nextBounds;
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
if (line.length > 0)
|
|
146
|
+
lines.push({
|
|
147
|
+
text: joinFragments(line),
|
|
148
|
+
width: lineBounds.width,
|
|
149
|
+
height: lineBounds.height
|
|
150
|
+
});
|
|
151
|
+
if (this.props.rawHtml) return this.processHtmlTags(lines);
|
|
152
|
+
else return lines;
|
|
153
|
+
}
|
|
154
|
+
get lineCount() {
|
|
155
|
+
return this.lines.length;
|
|
156
|
+
}
|
|
157
|
+
get singleLineHeight() {
|
|
158
|
+
return this.fontSize * this.lineHeight;
|
|
159
|
+
}
|
|
160
|
+
get height() {
|
|
161
|
+
if (this.lineCount === 0) return 0;
|
|
162
|
+
return this.lineCount * this.singleLineHeight;
|
|
163
|
+
}
|
|
164
|
+
get width() {
|
|
165
|
+
return _.max(this.lines.map((l) => l.width)) ?? 0;
|
|
166
|
+
}
|
|
167
|
+
get lastLineWidth() {
|
|
168
|
+
return R.last(this.lines)?.width ?? 0;
|
|
169
|
+
}
|
|
170
|
+
get htmlStyle() {
|
|
171
|
+
const { fontSize, fontWeight, lineHeight } = this;
|
|
172
|
+
return {
|
|
173
|
+
fontSize: fontSize.toFixed(2) + "px",
|
|
174
|
+
fontWeight,
|
|
175
|
+
lineHeight,
|
|
176
|
+
overflowY: "visible"
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
getPositionForSvgRendering(x, y) {
|
|
180
|
+
const { lines, fontSize, lineHeight, height, verticalAlign } = this;
|
|
181
|
+
const HEIGHT_CORRECTION_FACTOR = 0.74;
|
|
182
|
+
const textHeight = _.max(lines.map((line) => line.height)) ?? 0;
|
|
183
|
+
const correctedTextHeight = textHeight * HEIGHT_CORRECTION_FACTOR;
|
|
184
|
+
const containerHeight = lineHeight * fontSize;
|
|
185
|
+
const correctedY = y + (containerHeight - (containerHeight - correctedTextHeight) / 2);
|
|
186
|
+
const renderY = match(verticalAlign).with(VerticalAlign.top, () => correctedY - height).with(VerticalAlign.middle, () => correctedY - height / 2).with(VerticalAlign.bottom, () => correctedY).exhaustive();
|
|
187
|
+
return [x, renderY];
|
|
188
|
+
}
|
|
189
|
+
renderHTML() {
|
|
190
|
+
const { props, lines } = this;
|
|
191
|
+
if (lines.length === 0) return null;
|
|
192
|
+
return /* @__PURE__ */ React.createElement("span", null, lines.map((line, index) => {
|
|
193
|
+
const content = props.rawHtml ? /* @__PURE__ */ React.createElement(
|
|
194
|
+
"span",
|
|
195
|
+
{
|
|
196
|
+
dangerouslySetInnerHTML: {
|
|
197
|
+
__html: line.text
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
) : /* @__PURE__ */ React.createElement("span", null, line.text);
|
|
201
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, { key: index }, content, /* @__PURE__ */ React.createElement("br", null));
|
|
202
|
+
}));
|
|
203
|
+
}
|
|
204
|
+
renderSVG(x, y, options = {}) {
|
|
205
|
+
const { props, lines, fontSize, fontWeight } = this;
|
|
206
|
+
if (lines.length === 0) return /* @__PURE__ */ React.createElement(React.Fragment, null);
|
|
207
|
+
const [renderX, renderY] = this.getPositionForSvgRendering(x, y);
|
|
208
|
+
return /* @__PURE__ */ React.createElement(
|
|
209
|
+
"text",
|
|
210
|
+
{
|
|
211
|
+
id: options.id,
|
|
212
|
+
fontSize: fontSize.toFixed(2),
|
|
213
|
+
fontWeight,
|
|
214
|
+
x: renderX.toFixed(1),
|
|
215
|
+
y: renderY.toFixed(1),
|
|
216
|
+
...options.textProps
|
|
217
|
+
},
|
|
218
|
+
lines.map((line, i) => {
|
|
219
|
+
const x2 = renderX;
|
|
220
|
+
const y2 = renderY + this.singleLineHeight * i;
|
|
221
|
+
if (props.rawHtml)
|
|
222
|
+
return /* @__PURE__ */ React.createElement(
|
|
223
|
+
"tspan",
|
|
224
|
+
{
|
|
225
|
+
key: i,
|
|
226
|
+
x: x2,
|
|
227
|
+
y: y2,
|
|
228
|
+
dangerouslySetInnerHTML: { __html: line.text }
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
else
|
|
232
|
+
return /* @__PURE__ */ React.createElement("tspan", { key: i, x: x2, y: y2 }, line.text);
|
|
233
|
+
})
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
__decorateClass([
|
|
238
|
+
computed
|
|
239
|
+
], TextWrap.prototype, "maxWidth", 1);
|
|
240
|
+
__decorateClass([
|
|
241
|
+
computed
|
|
242
|
+
], TextWrap.prototype, "lineHeight", 1);
|
|
243
|
+
__decorateClass([
|
|
244
|
+
computed
|
|
245
|
+
], TextWrap.prototype, "fontSize", 1);
|
|
246
|
+
__decorateClass([
|
|
247
|
+
computed
|
|
248
|
+
], TextWrap.prototype, "fontWeight", 1);
|
|
249
|
+
__decorateClass([
|
|
250
|
+
computed
|
|
251
|
+
], TextWrap.prototype, "verticalAlign", 1);
|
|
252
|
+
__decorateClass([
|
|
253
|
+
computed
|
|
254
|
+
], TextWrap.prototype, "text", 1);
|
|
255
|
+
__decorateClass([
|
|
256
|
+
computed
|
|
257
|
+
], TextWrap.prototype, "separators", 1);
|
|
258
|
+
__decorateClass([
|
|
259
|
+
computed
|
|
260
|
+
], TextWrap.prototype, "lines", 1);
|
|
261
|
+
__decorateClass([
|
|
262
|
+
computed
|
|
263
|
+
], TextWrap.prototype, "lineCount", 1);
|
|
264
|
+
__decorateClass([
|
|
265
|
+
computed
|
|
266
|
+
], TextWrap.prototype, "singleLineHeight", 1);
|
|
267
|
+
__decorateClass([
|
|
268
|
+
computed
|
|
269
|
+
], TextWrap.prototype, "height", 1);
|
|
270
|
+
__decorateClass([
|
|
271
|
+
computed
|
|
272
|
+
], TextWrap.prototype, "width", 1);
|
|
273
|
+
__decorateClass([
|
|
274
|
+
computed
|
|
275
|
+
], TextWrap.prototype, "lastLineWidth", 1);
|
|
276
|
+
__decorateClass([
|
|
277
|
+
computed
|
|
278
|
+
], TextWrap.prototype, "htmlStyle", 1);
|
|
279
|
+
export {
|
|
280
|
+
TextWrap,
|
|
281
|
+
shortenForTargetWidth,
|
|
282
|
+
shortenWithEllipsis
|
|
283
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/TextWrap/TextWrap.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as _ from \"lodash-es\"\nimport * as R from \"remeda\"\nimport {\n stripHTML,\n Bounds,\n FontFamily,\n VerticalAlign,\n} from \"../../utils/index.js\"\nimport { computed, makeObservable } from \"mobx\"\nimport * as React from \"react\"\nimport { Fragment, joinFragments, splitIntoFragments } from \"./TextWrapUtils.js\"\nimport { match } from \"ts-pattern\"\n\ndeclare type FontSize = number\n\ninterface TextWrapProps {\n text: string\n maxWidth: number\n lineHeight?: number\n fontSize: FontSize\n fontWeight?: number\n separators?: string[]\n rawHtml?: boolean\n verticalAlign?: VerticalAlign\n}\n\ninterface WrapLine {\n text: string\n width: number\n height: number\n}\n\ninterface OpenHtmlTag {\n tag: string // e.g. \"a\" for an <a> tag, or \"span\" for a <span> tag\n fullTag: string // e.g. \"<a href='https://ourworldindata.org'>\"\n}\n\ninterface SVGRenderProps {\n textProps?: React.SVGProps<SVGTextElement>\n id?: string\n}\n\nconst HTML_OPENING_CLOSING_TAG_REGEX = /<(\\/?)([A-Za-z]+)( [^<>]*)?>/g\n\nfunction startsWithNewline(text: string): boolean {\n return /^\\n/.test(text)\n}\n\n/**\n * Shortens text to fit within a target width using binary search.\n * Returns the longest substring that fits within the target width.\n */\nexport const shortenForTargetWidth = (\n text: string,\n targetWidth: number,\n fontSettings: {\n fontSize?: number\n fontWeight?: number\n fontFamily?: FontFamily\n } = {}\n): string => {\n // Use binary search to find the largest substring that fits within the target width\n let low = 0\n let high = text.length\n while (low <= high) {\n const mid = (high + low) >> 1\n const bounds = Bounds.forText(text.slice(0, mid), fontSettings)\n if (bounds.width < targetWidth) {\n low = mid + 1\n } else {\n high = mid - 1\n }\n }\n return text.slice(0, low - 1)\n}\n\n/** Shortens text to fit within the target width and appends an ellipsis (\u2026) */\nexport const shortenWithEllipsis = (\n text: string,\n targetWidth: number,\n fontSettings: {\n fontSize?: number\n fontWeight?: number\n fontFamily?: FontFamily\n } = {}\n): string => {\n const ellipsis = \"\u2026\"\n const ellipsisWidth = Bounds.forText(ellipsis, fontSettings).width\n const truncatedText = shortenForTargetWidth(\n text,\n targetWidth - ellipsisWidth,\n fontSettings\n )\n return `${truncatedText}${ellipsis}`\n}\n\nexport class TextWrap {\n props: TextWrapProps\n constructor(props: TextWrapProps) {\n makeObservable(this)\n this.props = props\n }\n\n @computed get maxWidth(): number {\n return this.props.maxWidth ?? Infinity\n }\n @computed get lineHeight(): number {\n return this.props.lineHeight ?? 1.1\n }\n @computed get fontSize(): FontSize {\n return this.props.fontSize ?? 1\n }\n @computed get fontWeight(): number | undefined {\n return this.props.fontWeight\n }\n @computed get verticalAlign(): VerticalAlign {\n return this.props.verticalAlign ?? VerticalAlign.bottom\n }\n @computed get text(): string {\n return this.props.text\n }\n @computed get separators(): string[] {\n return this.props.separators ?? [\" \"]\n }\n\n // We need to take care that HTML tags are not split across lines.\n // Instead, we want every line to have opening and closing tags for all tags that appear.\n // This is so we don't produce invalid HTML.\n processHtmlTags(lines: WrapLine[]): WrapLine[] {\n const currentlyOpenTags: OpenHtmlTag[] = []\n for (const line of lines) {\n // Prepend any still-open tags to the start of the line\n const prependOpenTags = currentlyOpenTags\n .map((t) => t.fullTag)\n .join(\"\")\n\n const tagMatches = line.text.matchAll(\n HTML_OPENING_CLOSING_TAG_REGEX\n )\n for (const tag of tagMatches) {\n const isOpeningTag = tag[1] !== \"/\"\n if (isOpeningTag) {\n currentlyOpenTags.push({\n tag: tag[2],\n fullTag: tag[0],\n })\n } else {\n if (\n !currentlyOpenTags.length ||\n currentlyOpenTags.at(-1)?.tag !== tag[2]\n ) {\n throw new Error(\n \"TextWrap: Opening and closing HTML tags do not match\"\n )\n }\n currentlyOpenTags.pop()\n }\n }\n\n // Append any unclosed tags to the end of the line\n const appendCloseTags = currentlyOpenTags\n .toReversed()\n .map((t) => `</${t.tag}>`)\n .join(\"\")\n line.text = prependOpenTags + line.text + appendCloseTags\n }\n return lines\n }\n\n @computed get lines(): WrapLine[] {\n const { text, separators, maxWidth, fontSize, fontWeight } = this\n\n // Prepend spaces so that the string is also split before newline characters\n // See startsWithNewline\n const fragments = splitIntoFragments(\n text.replace(/\\n/g, \" \\n\"),\n separators\n )\n\n const lines: WrapLine[] = []\n\n let line: Fragment[] = []\n let lineBounds = Bounds.empty()\n\n fragments.forEach((fragment) => {\n const nextLine = line.concat([fragment])\n\n // Strip HTML if a raw string is passed\n const text = this.props.rawHtml\n ? stripHTML(joinFragments(nextLine))\n : joinFragments(nextLine)\n\n const nextBounds = Bounds.forText(text, {\n fontSize,\n fontWeight,\n })\n\n if (\n startsWithNewline(fragment.text) ||\n (nextBounds.width + 10 > maxWidth && line.length >= 1)\n ) {\n // Introduce a newline _before_ this word\n lines.push({\n text: joinFragments(line),\n width: lineBounds.width,\n height: lineBounds.height,\n })\n // ... and start a new line with this word (with a potential leading newline stripped)\n const wordWithoutNewline = fragment.text.replace(/^\\n/, \"\")\n line = [\n {\n text: wordWithoutNewline,\n separator: fragment.separator,\n },\n ]\n lineBounds = Bounds.forText(wordWithoutNewline, {\n fontSize,\n fontWeight,\n })\n } else {\n line = nextLine\n lineBounds = nextBounds\n }\n })\n\n // Push the last line\n if (line.length > 0)\n lines.push({\n text: joinFragments(line),\n width: lineBounds.width,\n height: lineBounds.height,\n })\n\n // Process HTML to ensure that each opening tag has a matching closing tag _in each line_\n if (this.props.rawHtml) return this.processHtmlTags(lines)\n else return lines\n }\n\n @computed get lineCount(): number {\n return this.lines.length\n }\n\n @computed get singleLineHeight(): number {\n return this.fontSize * this.lineHeight\n }\n\n @computed get height(): number {\n if (this.lineCount === 0) return 0\n return this.lineCount * this.singleLineHeight\n }\n\n @computed get width(): number {\n return _.max(this.lines.map((l) => l.width)) ?? 0\n }\n\n @computed get lastLineWidth(): number {\n return R.last(this.lines)?.width ?? 0\n }\n\n @computed get htmlStyle(): any {\n const { fontSize, fontWeight, lineHeight } = this\n return {\n fontSize: fontSize.toFixed(2) + \"px\",\n fontWeight: fontWeight,\n lineHeight: lineHeight,\n overflowY: \"visible\",\n }\n }\n\n getPositionForSvgRendering(x: number, y: number): [number, number] {\n const { lines, fontSize, lineHeight, height, verticalAlign } = this\n\n // Magic number set through experimentation.\n // The HTML and SVG renderers need to position lines identically.\n // This number was tweaked until the overlaid HTML and SVG outputs\n // overlap.\n const HEIGHT_CORRECTION_FACTOR = 0.74\n\n const textHeight = _.max(lines.map((line) => line.height)) ?? 0\n const correctedTextHeight = textHeight * HEIGHT_CORRECTION_FACTOR\n const containerHeight = lineHeight * fontSize\n const correctedY =\n y + (containerHeight - (containerHeight - correctedTextHeight) / 2)\n\n const renderY = match(verticalAlign)\n .with(VerticalAlign.top, () => correctedY - height)\n .with(VerticalAlign.middle, () => correctedY - height / 2)\n .with(VerticalAlign.bottom, () => correctedY)\n .exhaustive()\n\n return [x, renderY]\n }\n\n renderHTML(): React.ReactElement | null {\n const { props, lines } = this\n\n if (lines.length === 0) return null\n\n return (\n <span>\n {lines.map((line, index) => {\n const content = props.rawHtml ? (\n <span\n dangerouslySetInnerHTML={{\n __html: line.text,\n }}\n />\n ) : (\n <span>{line.text}</span>\n )\n return (\n <React.Fragment key={index}>\n {content}\n <br />\n </React.Fragment>\n )\n })}\n </span>\n )\n }\n\n renderSVG(x: number, y: number, options: SVGRenderProps = {}) {\n const { props, lines, fontSize, fontWeight } = this\n\n if (lines.length === 0) return <></>\n\n const [renderX, renderY] = this.getPositionForSvgRendering(x, y)\n\n return (\n <text\n id={options.id}\n fontSize={fontSize.toFixed(2)}\n fontWeight={fontWeight}\n x={renderX.toFixed(1)}\n y={renderY.toFixed(1)}\n {...options.textProps}\n >\n {lines.map((line, i) => {\n const x = renderX\n const y = renderY + this.singleLineHeight * i\n\n if (props.rawHtml)\n return (\n <tspan\n key={i}\n x={x}\n y={y}\n dangerouslySetInnerHTML={{ __html: line.text }}\n />\n )\n else\n return (\n <tspan key={i} x={x} y={y}>\n {line.text}\n </tspan>\n )\n })}\n </text>\n )\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAAA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AAAA,EACI;AAAA,EACA;AAAA,EAEA;AAAA,OACG;AACP,SAAS,UAAU,sBAAsB;AACzC,YAAY,WAAW;AACvB,SAAmB,eAAe,0BAA0B;AAC5D,SAAS,aAAa;AA+BtB,MAAM,iCAAiC;AAEvC,SAAS,kBAAkB,MAAuB;AAC9C,SAAO,MAAM,KAAK,IAAI;AAC1B;AAMO,MAAM,wBAAwB,CACjC,MACA,aACA,eAII,CAAC,MACI;AAET,MAAI,MAAM;AACV,MAAI,OAAO,KAAK;AAChB,SAAO,OAAO,MAAM;AAChB,UAAM,MAAO,OAAO,OAAQ;AAC5B,UAAM,SAAS,OAAO,QAAQ,KAAK,MAAM,GAAG,GAAG,GAAG,YAAY;AAC9D,QAAI,OAAO,QAAQ,aAAa;AAC5B,YAAM,MAAM;AAAA,IAChB,OAAO;AACH,aAAO,MAAM;AAAA,IACjB;AAAA,EACJ;AACA,SAAO,KAAK,MAAM,GAAG,MAAM,CAAC;AAChC;AAGO,MAAM,sBAAsB,CAC/B,MACA,aACA,eAII,CAAC,MACI;AACT,QAAM,WAAW;AACjB,QAAM,gBAAgB,OAAO,QAAQ,UAAU,YAAY,EAAE;AAC7D,QAAM,gBAAgB;AAAA,IAClB;AAAA,IACA,cAAc;AAAA,IACd;AAAA,EACJ;AACA,SAAO,GAAG,aAAa,GAAG,QAAQ;AACtC;AAEO,MAAM,SAAS;AAAA,EAElB,YAAY,OAAsB;AAC9B,mBAAe,IAAI;AACnB,SAAK,QAAQ;AAAA,EACjB;AAAA,EAEU,IAAI,WAAmB;AAC7B,WAAO,KAAK,MAAM,YAAY;AAAA,EAClC;AAAA,EACU,IAAI,aAAqB;AAC/B,WAAO,KAAK,MAAM,cAAc;AAAA,EACpC;AAAA,EACU,IAAI,WAAqB;AAC/B,WAAO,KAAK,MAAM,YAAY;AAAA,EAClC;AAAA,EACU,IAAI,aAAiC;AAC3C,WAAO,KAAK,MAAM;AAAA,EACtB;AAAA,EACU,IAAI,gBAA+B;AACzC,WAAO,KAAK,MAAM,iBAAiB,cAAc;AAAA,EACrD;AAAA,EACU,IAAI,OAAe;AACzB,WAAO,KAAK,MAAM;AAAA,EACtB;AAAA,EACU,IAAI,aAAuB;AACjC,WAAO,KAAK,MAAM,cAAc,CAAC,GAAG;AAAA,EACxC;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAgB,OAA+B;AAC3C,UAAM,oBAAmC,CAAC;AAC1C,eAAW,QAAQ,OAAO;AAEtB,YAAM,kBAAkB,kBACnB,IAAI,CAAC,MAAM,EAAE,OAAO,EACpB,KAAK,EAAE;AAEZ,YAAM,aAAa,KAAK,KAAK;AAAA,QACzB;AAAA,MACJ;AACA,iBAAW,OAAO,YAAY;AAC1B,cAAM,eAAe,IAAI,CAAC,MAAM;AAChC,YAAI,cAAc;AACd,4BAAkB,KAAK;AAAA,YACnB,KAAK,IAAI,CAAC;AAAA,YACV,SAAS,IAAI,CAAC;AAAA,UAClB,CAAC;AAAA,QACL,OAAO;AACH,cACI,CAAC,kBAAkB,UACnB,kBAAkB,GAAG,EAAE,GAAG,QAAQ,IAAI,CAAC,GACzC;AACE,kBAAM,IAAI;AAAA,cACN;AAAA,YACJ;AAAA,UACJ;AACA,4BAAkB,IAAI;AAAA,QAC1B;AAAA,MACJ;AAGA,YAAM,kBAAkB,kBACnB,WAAW,EACX,IAAI,CAAC,MAAM,KAAK,EAAE,GAAG,GAAG,EACxB,KAAK,EAAE;AACZ,WAAK,OAAO,kBAAkB,KAAK,OAAO;AAAA,IAC9C;AACA,WAAO;AAAA,EACX;AAAA,EAEU,IAAI,QAAoB;AAC9B,UAAM,EAAE,MAAM,YAAY,UAAU,UAAU,WAAW,IAAI;AAI7D,UAAM,YAAY;AAAA,MACd,KAAK,QAAQ,OAAO,KAAK;AAAA,MACzB;AAAA,IACJ;AAEA,UAAM,QAAoB,CAAC;AAE3B,QAAI,OAAmB,CAAC;AACxB,QAAI,aAAa,OAAO,MAAM;AAE9B,cAAU,QAAQ,CAAC,aAAa;AAC5B,YAAM,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC;AAGvC,YAAMA,QAAO,KAAK,MAAM,UAClB,UAAU,cAAc,QAAQ,CAAC,IACjC,cAAc,QAAQ;AAE5B,YAAM,aAAa,OAAO,QAAQA,OAAM;AAAA,QACpC;AAAA,QACA;AAAA,MACJ,CAAC;AAED,UACI,kBAAkB,SAAS,IAAI,KAC9B,WAAW,QAAQ,KAAK,YAAY,KAAK,UAAU,GACtD;AAEE,cAAM,KAAK;AAAA,UACP,MAAM,cAAc,IAAI;AAAA,UACxB,OAAO,WAAW;AAAA,UAClB,QAAQ,WAAW;AAAA,QACvB,CAAC;AAED,cAAM,qBAAqB,SAAS,KAAK,QAAQ,OAAO,EAAE;AAC1D,eAAO;AAAA,UACH;AAAA,YACI,MAAM;AAAA,YACN,WAAW,SAAS;AAAA,UACxB;AAAA,QACJ;AACA,qBAAa,OAAO,QAAQ,oBAAoB;AAAA,UAC5C;AAAA,UACA;AAAA,QACJ,CAAC;AAAA,MACL,OAAO;AACH,eAAO;AACP,qBAAa;AAAA,MACjB;AAAA,IACJ,CAAC;AAGD,QAAI,KAAK,SAAS;AACd,YAAM,KAAK;AAAA,QACP,MAAM,cAAc,IAAI;AAAA,QACxB,OAAO,WAAW;AAAA,QAClB,QAAQ,WAAW;AAAA,MACvB,CAAC;AAGL,QAAI,KAAK,MAAM,QAAS,QAAO,KAAK,gBAAgB,KAAK;AAAA,QACpD,QAAO;AAAA,EAChB;AAAA,EAEU,IAAI,YAAoB;AAC9B,WAAO,KAAK,MAAM;AAAA,EACtB;AAAA,EAEU,IAAI,mBAA2B;AACrC,WAAO,KAAK,WAAW,KAAK;AAAA,EAChC;AAAA,EAEU,IAAI,SAAiB;AAC3B,QAAI,KAAK,cAAc,EAAG,QAAO;AACjC,WAAO,KAAK,YAAY,KAAK;AAAA,EACjC;AAAA,EAEU,IAAI,QAAgB;AAC1B,WAAO,EAAE,IAAI,KAAK,MAAM,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK;AAAA,EACpD;AAAA,EAEU,IAAI,gBAAwB;AAClC,WAAO,EAAE,KAAK,KAAK,KAAK,GAAG,SAAS;AAAA,EACxC;AAAA,EAEU,IAAI,YAAiB;AAC3B,UAAM,EAAE,UAAU,YAAY,WAAW,IAAI;AAC7C,WAAO;AAAA,MACH,UAAU,SAAS,QAAQ,CAAC,IAAI;AAAA,MAChC;AAAA,MACA;AAAA,MACA,WAAW;AAAA,IACf;AAAA,EACJ;AAAA,EAEA,2BAA2B,GAAW,GAA6B;AAC/D,UAAM,EAAE,OAAO,UAAU,YAAY,QAAQ,cAAc,IAAI;AAM/D,UAAM,2BAA2B;AAEjC,UAAM,aAAa,EAAE,IAAI,MAAM,IAAI,CAAC,SAAS,KAAK,MAAM,CAAC,KAAK;AAC9D,UAAM,sBAAsB,aAAa;AACzC,UAAM,kBAAkB,aAAa;AACrC,UAAM,aACF,KAAK,mBAAmB,kBAAkB,uBAAuB;AAErE,UAAM,UAAU,MAAM,aAAa,EAC9B,KAAK,cAAc,KAAK,MAAM,aAAa,MAAM,EACjD,KAAK,cAAc,QAAQ,MAAM,aAAa,SAAS,CAAC,EACxD,KAAK,cAAc,QAAQ,MAAM,UAAU,EAC3C,WAAW;AAEhB,WAAO,CAAC,GAAG,OAAO;AAAA,EACtB;AAAA,EAEA,aAAwC;AACpC,UAAM,EAAE,OAAO,MAAM,IAAI;AAEzB,QAAI,MAAM,WAAW,EAAG,QAAO;AAE/B,WACI,oCAAC,cACI,MAAM,IAAI,CAAC,MAAM,UAAU;AACxB,YAAM,UAAU,MAAM,UAClB;AAAA,QAAC;AAAA;AAAA,UACG,yBAAyB;AAAA,YACrB,QAAQ,KAAK;AAAA,UACjB;AAAA;AAAA,MACJ,IAEA,oCAAC,cAAM,KAAK,IAAK;AAErB,aACI,oCAAC,MAAM,UAAN,EAAe,KAAK,SAChB,SACD,oCAAC,UAAG,CACR;AAAA,IAER,CAAC,CACL;AAAA,EAER;AAAA,EAEA,UAAU,GAAW,GAAW,UAA0B,CAAC,GAAG;AAC1D,UAAM,EAAE,OAAO,OAAO,UAAU,WAAW,IAAI;AAE/C,QAAI,MAAM,WAAW,EAAG,QAAO,wDAAE;AAEjC,UAAM,CAAC,SAAS,OAAO,IAAI,KAAK,2BAA2B,GAAG,CAAC;AAE/D,WACI;AAAA,MAAC;AAAA;AAAA,QACG,IAAI,QAAQ;AAAA,QACZ,UAAU,SAAS,QAAQ,CAAC;AAAA,QAC5B;AAAA,QACA,GAAG,QAAQ,QAAQ,CAAC;AAAA,QACpB,GAAG,QAAQ,QAAQ,CAAC;AAAA,QACnB,GAAG,QAAQ;AAAA;AAAA,MAEX,MAAM,IAAI,CAAC,MAAM,MAAM;AACpB,cAAMC,KAAI;AACV,cAAMC,KAAI,UAAU,KAAK,mBAAmB;AAE5C,YAAI,MAAM;AACN,iBACI;AAAA,YAAC;AAAA;AAAA,cACG,KAAK;AAAA,cACL,GAAGD;AAAA,cACH,GAAGC;AAAA,cACH,yBAAyB,EAAE,QAAQ,KAAK,KAAK;AAAA;AAAA,UACjD;AAAA;AAGJ,iBACI,oCAAC,WAAM,KAAK,GAAG,GAAGD,IAAG,GAAGC,MACnB,KAAK,IACV;AAAA,MAEZ,CAAC;AAAA,IACL;AAAA,EAER;AACJ;AAjQkB;AAAA,EAAb;AAAA,GAPQ,SAOK;AAGA;AAAA,EAAb;AAAA,GAVQ,SAUK;AAGA;AAAA,EAAb;AAAA,GAbQ,SAaK;AAGA;AAAA,EAAb;AAAA,GAhBQ,SAgBK;AAGA;AAAA,EAAb;AAAA,GAnBQ,SAmBK;AAGA;AAAA,EAAb;AAAA,GAtBQ,SAsBK;AAGA;AAAA,EAAb;AAAA,GAzBQ,SAyBK;AAgDA;AAAA,EAAb;AAAA,GAzEQ,SAyEK;AAqEA;AAAA,EAAb;AAAA,GA9IQ,SA8IK;AAIA;AAAA,EAAb;AAAA,GAlJQ,SAkJK;AAIA;AAAA,EAAb;AAAA,GAtJQ,SAsJK;AAKA;AAAA,EAAb;AAAA,GA3JQ,SA2JK;AAIA;AAAA,EAAb;AAAA,GA/JQ,SA+JK;AAIA;AAAA,EAAb;AAAA,GAnKQ,SAmKK;",
|
|
6
|
+
"names": ["text", "x", "y"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type Fragment = {
|
|
2
|
+
text: string;
|
|
3
|
+
separator: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function splitIntoFragments(text: string, separators?: string[]): Fragment[];
|
|
6
|
+
export declare function joinFragments(fragments: Fragment[]): string;
|
|
7
|
+
//# sourceMappingURL=TextWrapUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextWrapUtils.d.ts","sourceRoot":"","sources":["../../../src/components/TextWrap/TextWrapUtils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,MAAM,EACZ,UAAU,WAAQ,GACnB,QAAQ,EAAE,CAcZ;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,MAAM,CAK3D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as _ from "lodash-es";
|
|
2
|
+
function splitIntoFragments(text, separators = [" "]) {
|
|
3
|
+
if (_.isEmpty(text)) return [];
|
|
4
|
+
const fragments = [];
|
|
5
|
+
let currText = "";
|
|
6
|
+
for (const char of text) {
|
|
7
|
+
if (separators.includes(char)) {
|
|
8
|
+
fragments.push({ text: currText, separator: char });
|
|
9
|
+
currText = "";
|
|
10
|
+
} else {
|
|
11
|
+
currText += char;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
fragments.push({ text: currText, separator: "" });
|
|
15
|
+
return fragments;
|
|
16
|
+
}
|
|
17
|
+
function joinFragments(fragments) {
|
|
18
|
+
return fragments.map(({ text, separator }) => text + separator).join("").trim();
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
joinFragments,
|
|
22
|
+
splitIntoFragments
|
|
23
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/TextWrap/TextWrapUtils.ts"],
|
|
4
|
+
"sourcesContent": ["import * as _ from \"lodash-es\"\n\nexport type Fragment = {\n text: string\n separator: string\n}\n\nexport function splitIntoFragments(\n text: string,\n separators = [\" \"]\n): Fragment[] {\n if (_.isEmpty(text)) return []\n const fragments: Fragment[] = []\n let currText = \"\"\n for (const char of text) {\n if (separators.includes(char)) {\n fragments.push({ text: currText, separator: char })\n currText = \"\"\n } else {\n currText += char\n }\n }\n fragments.push({ text: currText, separator: \"\" })\n return fragments\n}\n\nexport function joinFragments(fragments: Fragment[]): string {\n return fragments\n .map(({ text, separator }) => text + separator)\n .join(\"\")\n .trim()\n}\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,OAAO;AAOZ,SAAS,mBACZ,MACA,aAAa,CAAC,GAAG,GACP;AACV,MAAI,EAAE,QAAQ,IAAI,EAAG,QAAO,CAAC;AAC7B,QAAM,YAAwB,CAAC;AAC/B,MAAI,WAAW;AACf,aAAW,QAAQ,MAAM;AACrB,QAAI,WAAW,SAAS,IAAI,GAAG;AAC3B,gBAAU,KAAK,EAAE,MAAM,UAAU,WAAW,KAAK,CAAC;AAClD,iBAAW;AAAA,IACf,OAAO;AACH,kBAAY;AAAA,IAChB;AAAA,EACJ;AACA,YAAU,KAAK,EAAE,MAAM,UAAU,WAAW,GAAG,CAAC;AAChD,SAAO;AACX;AAEO,SAAS,cAAc,WAA+B;AACzD,SAAO,UACF,IAAI,CAAC,EAAE,MAAM,UAAU,MAAM,OAAO,SAAS,EAC7C,KAAK,EAAE,EACP,KAAK;AACd;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const CLOSE_BUTTON_WIDTH = 32;
|
|
3
|
+
export declare const CLOSE_BUTTON_HEIGHT = 32;
|
|
4
|
+
export declare function CloseButton({ onClick, className, }: {
|
|
5
|
+
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
6
|
+
className?: string;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=CloseButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseButton.d.ts","sourceRoot":"","sources":["../../../src/components/closeButton/CloseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,eAAO,MAAM,kBAAkB,KAAK,CAAA;AACpC,eAAO,MAAM,mBAAmB,KAAK,CAAA;AAErC,wBAAgB,WAAW,CAAC,EACxB,OAAO,EACP,SAAS,GACZ,EAAE;IACC,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,2CAWA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import cx from "classnames";
|
|
3
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
+
import { faXmark } from "@fortawesome/free-solid-svg-icons";
|
|
5
|
+
const CLOSE_BUTTON_WIDTH = 32;
|
|
6
|
+
const CLOSE_BUTTON_HEIGHT = 32;
|
|
7
|
+
function CloseButton({
|
|
8
|
+
onClick,
|
|
9
|
+
className
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ React.createElement(
|
|
12
|
+
"button",
|
|
13
|
+
{
|
|
14
|
+
type: "button",
|
|
15
|
+
className: cx("close-button", className),
|
|
16
|
+
onClick,
|
|
17
|
+
"aria-label": "Close"
|
|
18
|
+
},
|
|
19
|
+
/* @__PURE__ */ React.createElement(FontAwesomeIcon, { icon: faXmark })
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
CLOSE_BUTTON_HEIGHT,
|
|
24
|
+
CLOSE_BUTTON_WIDTH,
|
|
25
|
+
CloseButton
|
|
26
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/closeButton/CloseButton.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from \"react\"\nimport cx from \"classnames\"\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\"\nimport { faXmark } from \"@fortawesome/free-solid-svg-icons\"\n\n// keep in sync with $size in CloseButton.scss\nexport const CLOSE_BUTTON_WIDTH = 32\nexport const CLOSE_BUTTON_HEIGHT = 32\n\nexport function CloseButton({\n onClick,\n className,\n}: {\n onClick: React.MouseEventHandler<HTMLButtonElement>\n className?: string\n}) {\n return (\n <button\n type=\"button\"\n className={cx(\"close-button\", className)}\n onClick={onClick}\n aria-label=\"Close\"\n >\n <FontAwesomeIcon icon={faXmark} />\n </button>\n )\n}\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AACvB,OAAO,QAAQ;AACf,SAAS,uBAAuB;AAChC,SAAS,eAAe;AAGjB,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAE5B,SAAS,YAAY;AAAA,EACxB;AAAA,EACA;AACJ,GAGG;AACC,SACI;AAAA,IAAC;AAAA;AAAA,MACG,MAAK;AAAA,MACL,WAAW,GAAG,gBAAgB,SAAS;AAAA,MACvC;AAAA,MACA,cAAW;AAAA;AAAA,IAEX,oCAAC,mBAAgB,MAAM,SAAS;AAAA,EACpC;AAER;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component exports for @buildcanada/charts
|
|
3
|
+
*/
|
|
4
|
+
export { TextWrap, shortenWithEllipsis } from "./TextWrap/TextWrap.js";
|
|
5
|
+
export { MarkdownTextWrap, sumTextWrapHeights, toPlaintext, } from "./MarkdownTextWrap/MarkdownTextWrap.js";
|
|
6
|
+
export { SimpleMarkdownText, HtmlOrSimpleMarkdownText, } from "./SimpleMarkdownText.js";
|
|
7
|
+
export { ExpandableToggle } from "./ExpandableToggle/ExpandableToggle.js";
|
|
8
|
+
export { LabeledSwitch } from "./LabeledSwitch/LabeledSwitch.js";
|
|
9
|
+
export { Checkbox } from "./Checkbox.js";
|
|
10
|
+
export { RadioButton } from "./RadioButton.js";
|
|
11
|
+
export { TextInput } from "./TextInput.js";
|
|
12
|
+
export { Button } from "./Button/Button.js";
|
|
13
|
+
export { CloseButton, CLOSE_BUTTON_HEIGHT, CLOSE_BUTTON_WIDTH, } from "./closeButton/CloseButton.js";
|
|
14
|
+
export { OverlayHeader } from "./OverlayHeader.js";
|
|
15
|
+
export { Halo } from "./Halo/Halo.js";
|
|
16
|
+
export { BodyPortal } from "./BodyPortal/BodyPortal.js";
|
|
17
|
+
export { LoadingIndicator } from "./loadingIndicator/LoadingIndicator.js";
|
|
18
|
+
export { reactRenderToStringClientOnly } from "./reactUtil.js";
|
|
19
|
+
export { GrapherTabIcon } from "./GrapherTabIcon.js";
|
|
20
|
+
export { GrapherTrendArrow } from "./GrapherTrendArrow.js";
|
|
21
|
+
export { CodeSnippet } from "./stubs/CodeSnippet.js";
|
|
22
|
+
export { makeSource, makeLastUpdated, makeNextUpdate, makeDateRange, makeUnit, makeUnitConversionFactor, makeLinks, } from "./stubs/IndicatorKeyData.js";
|
|
23
|
+
export { IndicatorSources } from "./stubs/IndicatorSources.js";
|
|
24
|
+
export { IndicatorProcessing } from "./stubs/IndicatorProcessing.js";
|
|
25
|
+
export { DataCitation } from "./stubs/DataCitation.js";
|
|
26
|
+
export { DATAPAGE_ABOUT_THIS_DATA_SECTION_ID, DATAPAGE_SOURCES_AND_PROCESSING_SECTION_ID, REUSE_THIS_WORK_SECTION_ID, } from "../types/index.js";
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAEtE,OAAO,EACH,gBAAgB,EAChB,kBAAkB,EAClB,WAAW,GACd,MAAM,wCAAwC,CAAA;AAG/C,OAAO,EACH,kBAAkB,EAClB,wBAAwB,GAC3B,MAAM,yBAAyB,CAAA;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAGzE,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAG3C,OAAO,EACH,WAAW,EACX,mBAAmB,EACnB,kBAAkB,GACrB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAGlD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAGzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAA;AAG9D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAG1D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EACH,UAAU,EACV,eAAe,EACf,cAAc,EACd,aAAa,EACb,QAAQ,EACR,wBAAwB,EACxB,SAAS,GACZ,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAGtD,OAAO,EACH,mCAAmC,EACnC,0CAA0C,EAC1C,0BAA0B,GAC7B,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { TextWrap, shortenWithEllipsis } from "./TextWrap/TextWrap.js";
|
|
2
|
+
import {
|
|
3
|
+
MarkdownTextWrap,
|
|
4
|
+
sumTextWrapHeights,
|
|
5
|
+
toPlaintext
|
|
6
|
+
} from "./MarkdownTextWrap/MarkdownTextWrap.js";
|
|
7
|
+
import {
|
|
8
|
+
SimpleMarkdownText,
|
|
9
|
+
HtmlOrSimpleMarkdownText
|
|
10
|
+
} from "./SimpleMarkdownText.js";
|
|
11
|
+
import { ExpandableToggle } from "./ExpandableToggle/ExpandableToggle.js";
|
|
12
|
+
import { LabeledSwitch } from "./LabeledSwitch/LabeledSwitch.js";
|
|
13
|
+
import { Checkbox } from "./Checkbox.js";
|
|
14
|
+
import { RadioButton } from "./RadioButton.js";
|
|
15
|
+
import { TextInput } from "./TextInput.js";
|
|
16
|
+
import { Button } from "./Button/Button.js";
|
|
17
|
+
import {
|
|
18
|
+
CloseButton,
|
|
19
|
+
CLOSE_BUTTON_HEIGHT,
|
|
20
|
+
CLOSE_BUTTON_WIDTH
|
|
21
|
+
} from "./closeButton/CloseButton.js";
|
|
22
|
+
import { OverlayHeader } from "./OverlayHeader.js";
|
|
23
|
+
import { Halo } from "./Halo/Halo.js";
|
|
24
|
+
import { BodyPortal } from "./BodyPortal/BodyPortal.js";
|
|
25
|
+
import { LoadingIndicator } from "./loadingIndicator/LoadingIndicator.js";
|
|
26
|
+
import { reactRenderToStringClientOnly } from "./reactUtil.js";
|
|
27
|
+
import { GrapherTabIcon } from "./GrapherTabIcon.js";
|
|
28
|
+
import { GrapherTrendArrow } from "./GrapherTrendArrow.js";
|
|
29
|
+
import { CodeSnippet } from "./stubs/CodeSnippet.js";
|
|
30
|
+
import {
|
|
31
|
+
makeSource,
|
|
32
|
+
makeLastUpdated,
|
|
33
|
+
makeNextUpdate,
|
|
34
|
+
makeDateRange,
|
|
35
|
+
makeUnit,
|
|
36
|
+
makeUnitConversionFactor,
|
|
37
|
+
makeLinks
|
|
38
|
+
} from "./stubs/IndicatorKeyData.js";
|
|
39
|
+
import { IndicatorSources } from "./stubs/IndicatorSources.js";
|
|
40
|
+
import { IndicatorProcessing } from "./stubs/IndicatorProcessing.js";
|
|
41
|
+
import { DataCitation } from "./stubs/DataCitation.js";
|
|
42
|
+
import {
|
|
43
|
+
DATAPAGE_ABOUT_THIS_DATA_SECTION_ID,
|
|
44
|
+
DATAPAGE_SOURCES_AND_PROCESSING_SECTION_ID,
|
|
45
|
+
REUSE_THIS_WORK_SECTION_ID
|
|
46
|
+
} from "../types/index.js";
|
|
47
|
+
export {
|
|
48
|
+
BodyPortal,
|
|
49
|
+
Button,
|
|
50
|
+
CLOSE_BUTTON_HEIGHT,
|
|
51
|
+
CLOSE_BUTTON_WIDTH,
|
|
52
|
+
Checkbox,
|
|
53
|
+
CloseButton,
|
|
54
|
+
CodeSnippet,
|
|
55
|
+
DATAPAGE_ABOUT_THIS_DATA_SECTION_ID,
|
|
56
|
+
DATAPAGE_SOURCES_AND_PROCESSING_SECTION_ID,
|
|
57
|
+
DataCitation,
|
|
58
|
+
ExpandableToggle,
|
|
59
|
+
GrapherTabIcon,
|
|
60
|
+
GrapherTrendArrow,
|
|
61
|
+
Halo,
|
|
62
|
+
HtmlOrSimpleMarkdownText,
|
|
63
|
+
IndicatorProcessing,
|
|
64
|
+
IndicatorSources,
|
|
65
|
+
LabeledSwitch,
|
|
66
|
+
LoadingIndicator,
|
|
67
|
+
MarkdownTextWrap,
|
|
68
|
+
OverlayHeader,
|
|
69
|
+
REUSE_THIS_WORK_SECTION_ID,
|
|
70
|
+
RadioButton,
|
|
71
|
+
SimpleMarkdownText,
|
|
72
|
+
TextInput,
|
|
73
|
+
TextWrap,
|
|
74
|
+
makeDateRange,
|
|
75
|
+
makeLastUpdated,
|
|
76
|
+
makeLinks,
|
|
77
|
+
makeNextUpdate,
|
|
78
|
+
makeSource,
|
|
79
|
+
makeUnit,
|
|
80
|
+
makeUnitConversionFactor,
|
|
81
|
+
reactRenderToStringClientOnly,
|
|
82
|
+
shortenWithEllipsis,
|
|
83
|
+
sumTextWrapHeights,
|
|
84
|
+
toPlaintext
|
|
85
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/index.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Component exports for @buildcanada/charts\n */\n\n// Text wrapping components\nexport { TextWrap, shortenWithEllipsis } from \"./TextWrap/TextWrap.js\"\n\nexport {\n MarkdownTextWrap,\n sumTextWrapHeights,\n toPlaintext,\n} from \"./MarkdownTextWrap/MarkdownTextWrap.js\"\n\n// Simple markdown text\nexport {\n SimpleMarkdownText,\n HtmlOrSimpleMarkdownText,\n} from \"./SimpleMarkdownText.js\"\n\n// Expandable toggle\nexport { ExpandableToggle } from \"./ExpandableToggle/ExpandableToggle.js\"\n\n// Form components\nexport { LabeledSwitch } from \"./LabeledSwitch/LabeledSwitch.js\"\nexport { Checkbox } from \"./Checkbox.js\"\nexport { RadioButton } from \"./RadioButton.js\"\nexport { TextInput } from \"./TextInput.js\"\nexport { Button } from \"./Button/Button.js\"\n\n// Overlay components\nexport {\n CloseButton,\n CLOSE_BUTTON_HEIGHT,\n CLOSE_BUTTON_WIDTH,\n} from \"./closeButton/CloseButton.js\"\nexport { OverlayHeader } from \"./OverlayHeader.js\"\n\n// Visual components\nexport { Halo } from \"./Halo/Halo.js\"\nexport { BodyPortal } from \"./BodyPortal/BodyPortal.js\"\nexport { LoadingIndicator } from \"./loadingIndicator/LoadingIndicator.js\"\n\n// React utilities\nexport { reactRenderToStringClientOnly } from \"./reactUtil.js\"\n\n// Grapher-specific components\nexport { GrapherTabIcon } from \"./GrapherTabIcon.js\"\nexport { GrapherTrendArrow } from \"./GrapherTrendArrow.js\"\n\n// Stub components for data page features\nexport { CodeSnippet } from \"./stubs/CodeSnippet.js\"\nexport {\n makeSource,\n makeLastUpdated,\n makeNextUpdate,\n makeDateRange,\n makeUnit,\n makeUnitConversionFactor,\n makeLinks,\n} from \"./stubs/IndicatorKeyData.js\"\nexport { IndicatorSources } from \"./stubs/IndicatorSources.js\"\nexport { IndicatorProcessing } from \"./stubs/IndicatorProcessing.js\"\nexport { DataCitation } from \"./stubs/DataCitation.js\"\n\n// Site constants re-exported for convenience\nexport {\n DATAPAGE_ABOUT_THIS_DATA_SECTION_ID,\n DATAPAGE_SOURCES_AND_PROCESSING_SECTION_ID,\n REUSE_THIS_WORK_SECTION_ID,\n} from \"../types/index.js\"\n"],
|
|
5
|
+
"mappings": "AAKA,SAAS,UAAU,2BAA2B;AAE9C;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,OACG;AAGP;AAAA,EACI;AAAA,EACA;AAAA,OACG;AAGP,SAAS,wBAAwB;AAGjC,SAAS,qBAAqB;AAC9B,SAAS,gBAAgB;AACzB,SAAS,mBAAmB;AAC5B,SAAS,iBAAiB;AAC1B,SAAS,cAAc;AAGvB;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,qBAAqB;AAG9B,SAAS,YAAY;AACrB,SAAS,kBAAkB;AAC3B,SAAS,wBAAwB;AAGjC,SAAS,qCAAqC;AAG9C,SAAS,sBAAsB;AAC/B,SAAS,yBAAyB;AAGlC,SAAS,mBAAmB;AAC5B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,wBAAwB;AACjC,SAAS,2BAA2B;AACpC,SAAS,oBAAoB;AAG7B;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,OACG;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Bounds } from "../../utils/index.js";
|
|
3
|
+
export declare const LoadingIndicator: (props: {
|
|
4
|
+
backgroundColor?: string;
|
|
5
|
+
bounds?: Bounds;
|
|
6
|
+
color?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
}) => React.ReactElement;
|
|
9
|
+
//# sourceMappingURL=LoadingIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/loadingIndicator/LoadingIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAI7C,eAAO,MAAM,gBAAgB,GAAI,OAAO;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,KAAG,KAAK,CAAC,YAiBT,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const DEFAULT_COLOR = "#333";
|
|
3
|
+
const LoadingIndicator = (props) => {
|
|
4
|
+
return /* @__PURE__ */ React.createElement(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: "loading-indicator",
|
|
8
|
+
title: props.title,
|
|
9
|
+
style: {
|
|
10
|
+
backgroundColor: props.backgroundColor,
|
|
11
|
+
...props.bounds?.toCSS()
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
/* @__PURE__ */ React.createElement(
|
|
15
|
+
"span",
|
|
16
|
+
{
|
|
17
|
+
style: {
|
|
18
|
+
borderColor: props.color || DEFAULT_COLOR
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
LoadingIndicator
|
|
26
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/loadingIndicator/LoadingIndicator.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from \"react\"\nimport { Bounds } from \"../../utils/index.js\"\n\nconst DEFAULT_COLOR = \"#333\"\n\nexport const LoadingIndicator = (props: {\n backgroundColor?: string\n bounds?: Bounds\n color?: string\n title?: string\n}): React.ReactElement => {\n return (\n <div\n className=\"loading-indicator\"\n title={props.title}\n style={{\n backgroundColor: props.backgroundColor,\n ...props.bounds?.toCSS(),\n }}\n >\n <span\n style={{\n borderColor: props.color || DEFAULT_COLOR,\n }}\n />\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AAGvB,MAAM,gBAAgB;AAEf,MAAM,mBAAmB,CAAC,UAKP;AACtB,SACI;AAAA,IAAC;AAAA;AAAA,MACG,WAAU;AAAA,MACV,OAAO,MAAM;AAAA,MACb,OAAO;AAAA,QACH,iBAAiB,MAAM;AAAA,QACvB,GAAG,MAAM,QAAQ,MAAM;AAAA,MAC3B;AAAA;AAAA,IAEA;AAAA,MAAC;AAAA;AAAA,QACG,OAAO;AAAA,UACH,aAAa,MAAM,SAAS;AAAA,QAChC;AAAA;AAAA,IACJ;AAAA,EACJ;AAER;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remarkPlainLinks.d.ts","sourceRoot":"","sources":["../../../src/components/markdown/remarkPlainLinks.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,QAAQ,QACgF,CAAA;AAErG,wBAAgB,gBAAgB,KAapB,MAAM,GAAG,UAGpB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { findAndReplace } from "mdast-util-find-and-replace";
|
|
2
|
+
const urlRegex = /https?:\/\/([\w-]+\.)*[\w-]+(:\d+)?((\/[\p{L}\p{N}_\-.+/?:%&=~#]*[\p{L}\p{N}_\-+/%&=~#])|\/)?/gu;
|
|
3
|
+
function remarkPlainLinks() {
|
|
4
|
+
const turnIntoLink = (value) => {
|
|
5
|
+
return {
|
|
6
|
+
type: "link",
|
|
7
|
+
url: value,
|
|
8
|
+
children: [
|
|
9
|
+
{
|
|
10
|
+
type: "text",
|
|
11
|
+
value
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
return (tree) => {
|
|
17
|
+
findAndReplace(tree, [[urlRegex, turnIntoLink]]);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
remarkPlainLinks,
|
|
22
|
+
urlRegex
|
|
23
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/components/markdown/remarkPlainLinks.ts"],
|
|
4
|
+
"sourcesContent": ["import { findAndReplace } from \"mdast-util-find-and-replace\"\n\n// This regex matches:\n// \"http\"\n// an optional \"s\"\n// two / characters\n// The subdomains and hostname: Any word or numeric character or \"-\" one or more times followed by a period\n// The TLD: Any word or numeric character or \"-\" one or more times (the TLD is optional, and URLs like localhost are also valid)\n// The port: A colon followed by one or more digits (optional)\n// The path, query string and fragment: A forward slash followed by any word or numeric character (unicode classes so umlauts like \u00F6 match\n// as well as any of the following: .+?:%&=~#) zero or more times. Note that we exclude space even though that is valid in a URL but it tends\n// to make the match too greedy.\n// We match the same subgroup [\\p{L}\\p{N}_\\-.\\+/?:%&=~#] twice, once with a * and then excactly once but without interpuncation characters .?:\n// This is to make sure that we don't match trailing punctuation as part of the URL (\"This is an http://example.com.\" - note that the leading\n// period should not be part of the URL)\n// Finally, the very last part is a lone forward slash which would not be matched by the previous subgroup.\nexport const urlRegex =\n /https?:\\/\\/([\\w-]+\\.)*[\\w-]+(:\\d+)?((\\/[\\p{L}\\p{N}_\\-.+/?:%&=~#]*[\\p{L}\\p{N}_\\-+/%&=~#])|\\/)?/gu\n\nexport function remarkPlainLinks() {\n const turnIntoLink = (value: string) => {\n return {\n type: \"link\" as const,\n url: value,\n children: [\n {\n type: \"text\" as const,\n value: value,\n },\n ],\n }\n }\n return (tree: any) => {\n findAndReplace(tree, [[urlRegex, turnIntoLink]])\n }\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,sBAAsB;AAgBxB,MAAM,WACT;AAEG,SAAS,mBAAmB;AAC/B,QAAM,eAAe,CAAC,UAAkB;AACpC,WAAO;AAAA,MACH,MAAM;AAAA,MACN,KAAK;AAAA,MACL,UAAU;AAAA,QACN;AAAA,UACI,MAAM;AAAA,UACN;AAAA,QACJ;AAAA,MACJ;AAAA,IACJ;AAAA,EACJ;AACA,SAAO,CAAC,SAAc;AAClB,mBAAe,MAAM,CAAC,CAAC,UAAU,YAAY,CAAC,CAAC;AAAA,EACnD;AACJ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|