├── .eslintignore ├── .eslintrc.js ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── question.md ├── PULL_REQUEST_TEMPLATE.md ├── config.yml ├── dependabot.yml ├── issue_label_bot.yaml ├── semantic.yml └── workflows │ ├── chromatic.yml │ ├── ci.yml │ ├── codecov.sh │ └── release.yml ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .rat-excludes ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── codecov.yml ├── commitlint.config.js ├── docs ├── debugging.md └── storybook.md ├── jest.config.js ├── lerna.json ├── package-lock.json ├── package.json ├── packages ├── generator-superset │ ├── .gitattributes │ ├── CHANGELOG.md │ ├── README.md │ ├── generators │ │ ├── app │ │ │ └── index.js │ │ ├── package │ │ │ ├── index.js │ │ │ └── templates │ │ │ │ ├── README.md │ │ │ │ ├── _package.json │ │ │ │ ├── src │ │ │ │ └── index.txt │ │ │ │ └── test │ │ │ │ └── index.txt │ │ └── plugin-chart │ │ │ ├── index.js │ │ │ └── templates │ │ │ ├── README.erb │ │ │ ├── package.erb │ │ │ ├── src │ │ │ ├── MyChart.erb │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.erb │ │ │ ├── plugin │ │ │ │ ├── buildQuery.erb │ │ │ │ ├── controlPanel.erb │ │ │ │ ├── index.erb │ │ │ │ └── transformProps.erb │ │ │ └── types.erb │ │ │ ├── test │ │ │ ├── index.erb │ │ │ └── plugin │ │ │ │ ├── buildQuery.test.erb │ │ │ │ └── transformProps.test.erb │ │ │ ├── tsconfig.json │ │ │ └── types │ │ │ └── external.d.ts │ ├── package.json │ └── test │ │ ├── app.test.js │ │ ├── package.test.js │ │ ├── plugin-chart.test.js │ │ └── tsconfig.json ├── superset-ui-chart-controls │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── components │ │ │ ├── CertifiedIconWithTooltip.tsx │ │ │ ├── ColumnOption.tsx │ │ │ ├── ColumnTypeLabel.tsx │ │ │ ├── ControlForm │ │ │ │ ├── ControlFormItem.tsx │ │ │ │ ├── controls.tsx │ │ │ │ └── index.tsx │ │ │ ├── ControlHeader.tsx │ │ │ ├── InfoTooltipWithTrigger.tsx │ │ │ ├── MetricOption.tsx │ │ │ ├── Select.tsx │ │ │ └── Tooltip.tsx │ │ ├── constants.ts │ │ ├── index.ts │ │ ├── operators │ │ │ ├── boxplotOperator.ts │ │ │ ├── contributionOperator.ts │ │ │ ├── index.ts │ │ │ ├── pivotOperator.ts │ │ │ ├── prophetOperator.ts │ │ │ ├── resampleOperator.ts │ │ │ ├── rollingWindowOperator.ts │ │ │ ├── sortOperator.ts │ │ │ ├── timeCompareOperator.ts │ │ │ ├── timeComparePivotOperator.ts │ │ │ ├── types.ts │ │ │ └── utils │ │ │ │ ├── constants.ts │ │ │ │ ├── getMetricOffsetsMap.ts │ │ │ │ ├── index.ts │ │ │ │ └── isValidTimeCompare.ts │ │ ├── sections │ │ │ ├── advancedAnalytics.tsx │ │ │ ├── annotationsAndLayers.tsx │ │ │ ├── chartTitle.tsx │ │ │ ├── forecastInterval.tsx │ │ │ ├── index.ts │ │ │ └── sections.tsx │ │ ├── shared-controls │ │ │ ├── components │ │ │ │ ├── ColumnConfigControl │ │ │ │ │ ├── ColumnConfigControl.tsx │ │ │ │ │ ├── ColumnConfigItem.tsx │ │ │ │ │ ├── ColumnConfigPopover.tsx │ │ │ │ │ ├── constants.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── types.ts │ │ │ │ ├── RadioButtonControl.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── types.ts │ │ │ ├── dndControls.tsx │ │ │ ├── emitFilterControl.tsx │ │ │ ├── index.tsx │ │ │ └── legacySortBy.tsx │ │ ├── types.ts │ │ └── utils │ │ │ ├── D3Formatting.ts │ │ │ ├── columnChoices.ts │ │ │ ├── expandControlConfig.tsx │ │ │ ├── getColorFormatters.ts │ │ │ ├── index.ts │ │ │ ├── mainMetric.ts │ │ │ └── selectOptions.ts │ ├── test │ │ ├── components │ │ │ ├── ColumnOption.test.tsx │ │ │ ├── ColumnTypeLabel.test.tsx │ │ │ ├── InfoTooltipWithTrigger.test.tsx │ │ │ └── MetricOption.test.tsx │ │ ├── index.test.ts │ │ ├── shared-controls │ │ │ └── emitFilterControl.test.tsx │ │ ├── tsconfig.json │ │ ├── types.test.ts │ │ └── utils │ │ │ ├── columnChoices.test.tsx │ │ │ ├── expandControlConfig.test.tsx │ │ │ ├── getColorFormatters.test.ts │ │ │ ├── mainMetric.test.ts │ │ │ ├── operators │ │ │ ├── boxplotOperator.test.ts │ │ │ ├── contributionOperator.test.ts │ │ │ ├── pivotOperator.test.ts │ │ │ ├── prophetOperator.test.ts │ │ │ ├── resampleOperator.test.ts │ │ │ ├── rollingWindowOperator.test.ts │ │ │ ├── sortOperator.test.ts │ │ │ └── timeCompareOperator.test.ts │ │ │ └── selectOptions.test.ts │ └── tsconfig.json ├── superset-ui-core │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── chart-composition │ │ │ ├── ChartFrame.tsx │ │ │ ├── index.ts │ │ │ ├── legend │ │ │ │ └── WithLegend.tsx │ │ │ └── tooltip │ │ │ │ ├── TooltipFrame.tsx │ │ │ │ └── TooltipTable.tsx │ │ ├── chart │ │ │ ├── clients │ │ │ │ └── ChartClient.ts │ │ │ ├── components │ │ │ │ ├── ChartDataProvider.tsx │ │ │ │ ├── FallbackComponent.tsx │ │ │ │ ├── NoResultsComponent.tsx │ │ │ │ ├── SuperChart.tsx │ │ │ │ ├── SuperChartCore.tsx │ │ │ │ ├── createLoadableRenderer.ts │ │ │ │ └── reactify.tsx │ │ │ ├── index.ts │ │ │ ├── models │ │ │ │ ├── ChartControlPanel.ts │ │ │ │ ├── ChartMetadata.ts │ │ │ │ ├── ChartPlugin.ts │ │ │ │ └── ChartProps.ts │ │ │ ├── registries │ │ │ │ ├── ChartBuildQueryRegistrySingleton.ts │ │ │ │ ├── ChartComponentRegistrySingleton.ts │ │ │ │ ├── ChartControlPanelRegistrySingleton.ts │ │ │ │ ├── ChartMetadataRegistrySingleton.ts │ │ │ │ └── ChartTransformPropsRegistrySingleton.ts │ │ │ └── types │ │ │ │ ├── Annotation.ts │ │ │ │ ├── Base.ts │ │ │ │ ├── QueryResponse.ts │ │ │ │ └── TransformFunction.ts │ │ ├── color │ │ │ ├── CategoricalColorNamespace.ts │ │ │ ├── CategoricalColorScale.ts │ │ │ ├── CategoricalScheme.ts │ │ │ ├── CategoricalSchemeRegistrySingleton.ts │ │ │ ├── ColorScheme.ts │ │ │ ├── ColorSchemeRegistry.ts │ │ │ ├── SequentialScheme.ts │ │ │ ├── SequentialSchemeRegistrySingleton.ts │ │ │ ├── colorSchemes │ │ │ │ ├── categorical │ │ │ │ │ ├── airbnb.ts │ │ │ │ │ ├── d3.ts │ │ │ │ │ ├── echarts.ts │ │ │ │ │ ├── google.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── lyft.ts │ │ │ │ │ ├── preset.ts │ │ │ │ │ └── superset.ts │ │ │ │ ├── index.ts │ │ │ │ └── sequential │ │ │ │ │ ├── common.ts │ │ │ │ │ ├── d3.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ ├── stringifyAndTrim.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ ├── components │ │ │ ├── SafeMarkdown.tsx │ │ │ ├── constants.ts │ │ │ └── index.ts │ │ ├── connection │ │ │ ├── README.md │ │ │ ├── SupersetClient.ts │ │ │ ├── SupersetClientClass.ts │ │ │ ├── callApi │ │ │ │ ├── callApi.ts │ │ │ │ ├── callApiAndParseWithTimeout.ts │ │ │ │ ├── index.ts │ │ │ │ ├── parseResponse.ts │ │ │ │ └── rejectAfterTimeout.ts │ │ │ ├── constants.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── dimension │ │ │ ├── computeMaxFontSize.ts │ │ │ ├── getMultipleTextDimensions.ts │ │ │ ├── getTextDimension.ts │ │ │ ├── index.ts │ │ │ ├── mergeMargin.ts │ │ │ ├── parseLength.ts │ │ │ ├── svg │ │ │ │ ├── LazyFactory.ts │ │ │ │ ├── constants.ts │ │ │ │ ├── createHiddenSvgNode.ts │ │ │ │ ├── createTextNode.ts │ │ │ │ ├── factories.ts │ │ │ │ ├── getBBoxCeil.ts │ │ │ │ └── updateTextNode.ts │ │ │ └── types.ts │ │ ├── dynamic-plugins │ │ │ ├── index.ts │ │ │ └── shared-modules.ts │ │ ├── index.ts │ │ ├── math-expression │ │ │ └── index.ts │ │ ├── models │ │ │ ├── ExtensibleFunction.ts │ │ │ ├── Plugin.ts │ │ │ ├── Preset.ts │ │ │ ├── Registry.ts │ │ │ ├── RegistryWithDefaultKey.ts │ │ │ └── index.ts │ │ ├── number-format │ │ │ ├── NumberFormats.ts │ │ │ ├── NumberFormatter.ts │ │ │ ├── NumberFormatterRegistry.ts │ │ │ ├── NumberFormatterRegistrySingleton.ts │ │ │ ├── README.md │ │ │ ├── factories │ │ │ │ ├── createD3NumberFormatter.ts │ │ │ │ ├── createDurationFormatter.ts │ │ │ │ ├── createSiAtMostNDigitFormatter.ts │ │ │ │ └── createSmartNumberFormatter.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── query │ │ │ ├── DatasourceKey.ts │ │ │ ├── README.md │ │ │ ├── api │ │ │ │ ├── legacy │ │ │ │ │ ├── fetchExploreJson.ts │ │ │ │ │ ├── getDatasourceMetadata.ts │ │ │ │ │ ├── getFormData.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── types.ts │ │ │ │ └── v1 │ │ │ │ │ ├── handleError.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── makeApi.ts │ │ │ │ │ └── types.ts │ │ │ ├── buildQueryContext.ts │ │ │ ├── buildQueryObject.ts │ │ │ ├── constants.ts │ │ │ ├── convertFilter.ts │ │ │ ├── extractExtras.ts │ │ │ ├── extractQueryFields.ts │ │ │ ├── extractTimegrain.ts │ │ │ ├── getColumnLabel.ts │ │ │ ├── getMetricLabel.ts │ │ │ ├── index.ts │ │ │ ├── normalizeOrderBy.ts │ │ │ ├── processExtraFormData.ts │ │ │ ├── processFilters.ts │ │ │ └── types │ │ │ │ ├── AdvancedAnalytics.ts │ │ │ │ ├── AnnotationLayer.ts │ │ │ │ ├── Column.ts │ │ │ │ ├── Datasource.ts │ │ │ │ ├── Filter.ts │ │ │ │ ├── Metric.ts │ │ │ │ ├── Operator.ts │ │ │ │ ├── PostProcessing.ts │ │ │ │ ├── Query.ts │ │ │ │ ├── QueryFormData.ts │ │ │ │ ├── QueryResponse.ts │ │ │ │ ├── Time.ts │ │ │ │ └── index.ts │ │ ├── style │ │ │ └── index.tsx │ │ ├── time-format │ │ │ ├── README.md │ │ │ ├── TimeFormats.ts │ │ │ ├── TimeFormatsForGranularity.ts │ │ │ ├── TimeFormatter.ts │ │ │ ├── TimeFormatterRegistry.ts │ │ │ ├── TimeFormatterRegistrySingleton.ts │ │ │ ├── TimeRangeFormatter.ts │ │ │ ├── factories │ │ │ │ ├── createD3TimeFormatter.ts │ │ │ │ └── createMultiFormatter.ts │ │ │ ├── formatters │ │ │ │ ├── smartDate.ts │ │ │ │ ├── smartDateDetailed.ts │ │ │ │ └── smartDateVerbose.ts │ │ │ ├── index.ts │ │ │ ├── types.ts │ │ │ └── utils │ │ │ │ ├── createTime.ts │ │ │ │ ├── createTimeRangeFromGranularity.ts │ │ │ │ ├── d3Time.ts │ │ │ │ └── stringifyTimeInput.ts │ │ ├── translation │ │ │ ├── README.md │ │ │ ├── Translator.ts │ │ │ ├── TranslatorSingleton.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── index.ts │ │ │ │ └── jed.ts │ │ ├── types │ │ │ └── index.ts │ │ ├── utils │ │ │ ├── convertKeysToCamelCase.ts │ │ │ ├── ensureIsArray.ts │ │ │ ├── ensureIsInt.ts │ │ │ ├── featureFlags.ts │ │ │ ├── index.ts │ │ │ ├── isDefined.ts │ │ │ ├── isRequired.ts │ │ │ ├── logging.ts │ │ │ ├── makeSingleton.ts │ │ │ ├── promiseTimeout.ts │ │ │ ├── random.ts │ │ │ └── removeDuplicates.ts │ │ └── validator │ │ │ ├── index.ts │ │ │ ├── legacyValidateInteger.ts │ │ │ ├── legacyValidateNumber.ts │ │ │ ├── validateInteger.ts │ │ │ ├── validateNonEmpty.ts │ │ │ └── validateNumber.ts │ ├── test │ │ ├── __mocks__ │ │ │ └── resize-observer-polyfill.ts │ │ ├── chart-composition │ │ │ ├── ChartFrame.test.tsx │ │ │ ├── legend │ │ │ │ └── WithLegend.test.tsx │ │ │ └── tooltip │ │ │ │ ├── TooltipFrame.test.tsx │ │ │ │ └── TooltipTable.test.tsx │ │ ├── chart │ │ │ ├── clients │ │ │ │ └── ChartClient.test.ts │ │ │ ├── components │ │ │ │ ├── ChartDataProvider.test.tsx │ │ │ │ ├── FallbackComponent.test.tsx │ │ │ │ ├── MockChartPlugins.tsx │ │ │ │ ├── NoResultsComponent.test.tsx │ │ │ │ ├── SuperChart.test.tsx │ │ │ │ ├── SuperChartCore.test.tsx │ │ │ │ ├── createLoadableRenderer.test.tsx │ │ │ │ └── reactify.test.tsx │ │ │ ├── fixtures │ │ │ │ ├── constants.ts │ │ │ │ └── formData.ts │ │ │ ├── index.test.ts │ │ │ └── models │ │ │ │ ├── ChartMetadata.test.ts │ │ │ │ ├── ChartPlugin.test.tsx │ │ │ │ └── ChartProps.test.ts │ │ ├── color │ │ │ ├── CategoricalColorNameSpace.test.ts │ │ │ ├── CategoricalColorScale.test.ts │ │ │ ├── CategoricalSchemeRegistrySingleton.test.ts │ │ │ ├── ColorScheme.test.ts │ │ │ ├── ColorSchemeRegistry.test.ts │ │ │ ├── SequentialScheme.test.ts │ │ │ ├── SequentialSchemeRegistrySingleton.test.ts │ │ │ ├── colorSchemes.test.ts │ │ │ ├── index.test.ts │ │ │ └── utils.test.ts │ │ ├── connection │ │ │ ├── SupersetClient.test.ts │ │ │ ├── SupersetClientClass.test.ts │ │ │ ├── callApi │ │ │ │ ├── callApi.test.ts │ │ │ │ ├── callApiAndParseWithTimeout.test.ts │ │ │ │ ├── parseResponse.test.ts │ │ │ │ └── rejectAfterTimeout.test.ts │ │ │ └── fixtures │ │ │ │ └── constants.ts │ │ ├── dimension │ │ │ ├── computeMaxFontSize.test.ts │ │ │ ├── getBBoxDummyFill.ts │ │ │ ├── getMultipleTextDimensions.test.ts │ │ │ ├── getTextDimension.test.ts │ │ │ ├── mergeMargin.test.ts │ │ │ ├── parseLength.test.ts │ │ │ └── svg │ │ │ │ ├── LazyFactory.test.ts │ │ │ │ ├── getBBoxCeil.test.ts │ │ │ │ └── updateTextNode.test.ts │ │ ├── dynamic-plugins │ │ │ └── shared-modules.test.ts │ │ ├── fixtures.ts │ │ ├── index.test.ts │ │ ├── math-expression │ │ │ └── index.test.ts │ │ ├── models │ │ │ ├── ExtensibleFunction.test.ts │ │ │ ├── Plugin.test.ts │ │ │ ├── Preset.test.ts │ │ │ ├── Registry.test.ts │ │ │ └── RegistryWithDefaultKey.test.ts │ │ ├── number-format │ │ │ ├── NumberFormatter.test.ts │ │ │ ├── NumberFormatterRegistry.test.ts │ │ │ ├── NumberFormatterRegistrySingleton.test.ts │ │ │ ├── factories │ │ │ │ ├── createD3NumberFormatter.test.ts │ │ │ │ ├── createDurationFormatter.test.ts │ │ │ │ ├── createSiAtMostNDigitFormatter.test.ts │ │ │ │ └── createSmartNumberFormatter.test.ts │ │ │ └── index.test.ts │ │ ├── query │ │ │ ├── DatasourceKey.test.ts │ │ │ ├── api │ │ │ │ ├── legacy │ │ │ │ │ ├── fetchExploreJson.test.ts │ │ │ │ │ ├── getDatasourceMetadata.test.ts │ │ │ │ │ └── getFormData.test.ts │ │ │ │ ├── setupClientForTest.ts │ │ │ │ └── v1 │ │ │ │ │ ├── getChartData.test.ts │ │ │ │ │ ├── handleError.test.ts │ │ │ │ │ └── makeApi.test.ts │ │ │ ├── buildQueryContext.test.ts │ │ │ ├── buildQueryObject.test.ts │ │ │ ├── convertFilter.test.ts │ │ │ ├── extractExtras.test.ts │ │ │ ├── extractQueryFields.test.ts │ │ │ ├── extractTimegrain.test.ts │ │ │ ├── getColumnLabel.test.ts │ │ │ ├── getMetricLabel.test.ts │ │ │ ├── normalizeOrderBy.test.ts │ │ │ ├── processExtraFormData.test.ts │ │ │ ├── processFilters.test.ts │ │ │ └── types │ │ │ │ ├── AnnotationLayer.test.ts │ │ │ │ ├── Filter.test.ts │ │ │ │ └── PostProcessing.test.ts │ │ ├── style │ │ │ └── index.test.tsx │ │ ├── time-format │ │ │ ├── TimeFormatter.test.ts │ │ │ ├── TimeFormatterRegistry.test.ts │ │ │ ├── TimeFormatterRegistrySingleton.test.ts │ │ │ ├── factories │ │ │ │ ├── createD3TimeFormatter.test.ts │ │ │ │ └── createMultiFormatter.test.ts │ │ │ ├── formatters │ │ │ │ ├── smartDate.test.ts │ │ │ │ ├── smartDateDetailed.test.ts │ │ │ │ └── smartDateVerbose.test.ts │ │ │ ├── index.test.ts │ │ │ └── utils │ │ │ │ ├── createTime.test.ts │ │ │ │ ├── createTimeRangeFromGranularity.test.ts │ │ │ │ └── d3Time.test.ts │ │ ├── translation │ │ │ ├── Translator.test.ts │ │ │ ├── TranslatorSingleton.test.ts │ │ │ ├── index.test.ts │ │ │ └── languagePacks │ │ │ │ ├── en.ts │ │ │ │ └── zh.ts │ │ ├── tsconfig.json │ │ ├── utils │ │ │ ├── convertKeysToCamelCase.test.ts │ │ │ ├── ensureIsArray.test.ts │ │ │ ├── ensureIsInt.test.ts │ │ │ ├── featureFlag.test.ts │ │ │ ├── isDefined.test.ts │ │ │ ├── isRequired.test.ts │ │ │ ├── logging.test.ts │ │ │ ├── makeSingleton.test.ts │ │ │ ├── promiseTimeout.test.ts │ │ │ ├── random.test.ts │ │ │ └── removeDuplicates.test.ts │ │ └── validator │ │ │ ├── legacyValidateInteger.test.ts │ │ │ ├── legacyValidateNumber.test.ts │ │ │ ├── setup.ts │ │ │ ├── validateInteger.test.ts │ │ │ ├── validateNonEmpty.test.ts │ │ │ └── validateNumber.test.ts │ ├── tsconfig.json │ └── types │ │ ├── external.d.ts │ │ └── resize-observer-polyfill.d.ts └── superset-ui-demo │ ├── .storybook │ ├── main.js │ ├── preview.js │ ├── storybook.css │ └── themeDecorator.js │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── storybook │ ├── shared │ │ ├── components │ │ │ ├── ErrorMessage.tsx │ │ │ ├── Expandable.tsx │ │ │ ├── ResizableChartDemo.tsx │ │ │ ├── ResizablePanel.tsx │ │ │ ├── VerifyCORS.tsx │ │ │ └── createQueryStory.tsx │ │ └── dummyDatasource.ts │ └── stories │ │ ├── plugins │ │ ├── legacy-plugin-chart-calendar │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-chord │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-country-map │ │ │ └── CountryMapStories.tsx │ │ ├── legacy-plugin-chart-event-flow │ │ │ └── Stories.jsx │ │ ├── legacy-plugin-chart-force-directed │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-heatmap │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-histogram │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-horizon │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-map-box │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-paired-t-test │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-parallel-coordinates │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-partition │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-pivot-table │ │ │ └── Stories.tsx │ │ ├── legacy-plugin-chart-rose │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-sankey-loop │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-sankey │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-sunburst │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-time-table │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-treemap │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-plugin-chart-world-map │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ ├── legacy-preset-chart-big-number │ │ │ ├── BigNumber │ │ │ │ ├── BigNumberStories.tsx │ │ │ │ └── data.ts │ │ │ └── BigNumberTotal │ │ │ │ ├── BigNumberTotalStories.tsx │ │ │ │ └── data.ts │ │ ├── legacy-preset-chart-nvd3 │ │ │ ├── Area │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── controlsShown.tsx │ │ │ │ │ ├── expanded.tsx │ │ │ │ │ ├── stacked.tsx │ │ │ │ │ └── stackedWithBounds.tsx │ │ │ ├── Bar │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── barWithPositiveAndNegativeValues.tsx │ │ │ │ │ ├── barWithValues.tsx │ │ │ │ │ ├── basic.tsx │ │ │ │ │ └── stackedBarWithValues.tsx │ │ │ ├── BoxPlot │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ └── basic.tsx │ │ │ ├── Bubble │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ └── basic.tsx │ │ │ ├── Bullet │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ └── basic.tsx │ │ │ ├── Compare │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── basic.tsx │ │ │ │ │ └── timeFormat.tsx │ │ │ ├── DistBar │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── basic.tsx │ │ │ │ │ └── manyBars.tsx │ │ │ ├── DualLine │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── basic.tsx │ │ │ │ │ └── verifyConsistentColors.tsx │ │ │ ├── Line │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ │ ├── basic.tsx │ │ │ │ │ ├── logScale.tsx │ │ │ │ │ ├── markers.tsx │ │ │ │ │ └── yAxisBounds.tsx │ │ │ └── Pie │ │ │ │ ├── Stories.tsx │ │ │ │ ├── data.ts │ │ │ │ └── stories │ │ │ │ ├── basic.tsx │ │ │ │ └── noData.tsx │ │ ├── plugin-chart-echarts │ │ │ ├── BoxPlot │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── Funnel │ │ │ │ ├── Stories.tsx │ │ │ │ └── constants.ts │ │ │ ├── Gauge │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── Graph │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── MixedTimeseries │ │ │ │ └── Stories.tsx │ │ │ ├── Pie │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── Radar │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── Timeseries │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ ├── Tree │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ │ └── Treemap │ │ │ │ ├── Stories.tsx │ │ │ │ └── data.ts │ │ ├── plugin-chart-table │ │ │ ├── TableStories.tsx │ │ │ ├── birthNames.json │ │ │ └── testData.ts │ │ ├── plugin-chart-word-cloud │ │ │ ├── Stories.tsx │ │ │ └── data.ts │ │ └── preset-chart-xy │ │ │ ├── BoxPlot │ │ │ ├── Stories.tsx │ │ │ ├── constants.ts │ │ │ ├── data.ts │ │ │ └── stories │ │ │ │ ├── Basic.tsx │ │ │ │ └── Legacy.tsx │ │ │ ├── Line │ │ │ ├── Stories.tsx │ │ │ ├── constants.ts │ │ │ ├── data │ │ │ │ ├── data.js │ │ │ │ ├── data2.js │ │ │ │ └── legacyData.js │ │ │ └── stories │ │ │ │ ├── basic.tsx │ │ │ │ ├── flush.tsx │ │ │ │ ├── legacy.tsx │ │ │ │ ├── missing.tsx │ │ │ │ ├── query.tsx │ │ │ │ └── timeShift.tsx │ │ │ └── ScatterPlot │ │ │ ├── Stories.tsx │ │ │ ├── constants.ts │ │ │ ├── data │ │ │ ├── data.ts │ │ │ └── legacyData.ts │ │ │ └── stories │ │ │ ├── basic.tsx │ │ │ ├── bubble.tsx │ │ │ └── legacy.tsx │ │ ├── superset-ui-chart │ │ ├── ChartDataProviderStories.tsx │ │ └── SuperChartStories.tsx │ │ ├── superset-ui-color │ │ ├── ColorPallettesStories.jsx │ │ ├── RenderPalettes.jsx │ │ └── color-styles.css │ │ ├── superset-ui-connection │ │ └── ConnectionStories.tsx │ │ ├── superset-ui-number-format │ │ └── BigNumberStories.jsx │ │ ├── superset-ui-style │ │ └── ThemeStories.jsx │ │ └── superset-ui-time-format │ │ └── TimeFormatStories.jsx │ └── tsconfig.json ├── plugins ├── legacy-plugin-chart-calendar │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── Calendar.js │ │ ├── ReactCalendar.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── transformProps.js │ │ └── vendor │ │ │ ├── cal-heatmap.css │ │ │ ├── cal-heatmap.js │ │ │ └── d3tip.css │ └── tsconfig.json ├── legacy-plugin-chart-chord │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── Chord.js │ │ ├── ReactChord.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── chord.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-country-map │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── scripts │ │ └── Country Map GeoJSON Generator.ipynb │ ├── src │ │ ├── CountryMap.css │ │ ├── CountryMap.js │ │ ├── ReactCountryMap.js │ │ ├── controlPanel.ts │ │ ├── countries.ts │ │ ├── countries │ │ │ ├── australia.geojson │ │ │ ├── austria.geojson │ │ │ ├── belgium.geojson │ │ │ ├── brazil.geojson │ │ │ ├── bulgaria.geojson │ │ │ ├── canada.geojson │ │ │ ├── china.geojson │ │ │ ├── denmark.geojson │ │ │ ├── egypt.geojson │ │ │ ├── estonia.geojson │ │ │ ├── finland.geojson │ │ │ ├── france.geojson │ │ │ ├── germany.geojson │ │ │ ├── iceland.geojson │ │ │ ├── india.geojson │ │ │ ├── indonesia.geojson │ │ │ ├── iran.geojson │ │ │ ├── italy.geojson │ │ │ ├── italy_regions.geojson │ │ │ ├── japan.geojson │ │ │ ├── korea.geojson │ │ │ ├── liechtenstein.geojson │ │ │ ├── malaysia.geojson │ │ │ ├── morocco.geojson │ │ │ ├── myanmar.geojson │ │ │ ├── netherlands.geojson │ │ │ ├── norway.geojson │ │ │ ├── peru.geojson │ │ │ ├── poland.geojson │ │ │ ├── portugal.geojson │ │ │ ├── russia.geojson │ │ │ ├── saudi_arabia.geojson │ │ │ ├── singapore.geojson │ │ │ ├── slovenia.geojson │ │ │ ├── spain.geojson │ │ │ ├── sweden.geojson │ │ │ ├── switzerland.geojson │ │ │ ├── syria.geojson │ │ │ ├── thailand.geojson │ │ │ ├── timorleste.geojson │ │ │ ├── uk.geojson │ │ │ ├── ukraine.geojson │ │ │ ├── uruguay.geojson │ │ │ ├── usa.geojson │ │ │ ├── vietnam.geojson │ │ │ └── zambia.geojson │ │ ├── geojson.d.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-event-flow │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── EventFlow.tsx │ │ ├── controlPanel.tsx │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.ts │ │ ├── transformProps.ts │ │ └── types │ │ │ └── external.d.ts │ └── tsconfig.json ├── legacy-plugin-chart-force-directed │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ForceDirected.js │ │ ├── ReactForceDirected.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-heatmap │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── Heatmap.css │ │ ├── Heatmap.js │ │ ├── ReactHeatmap.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── channels.jpg │ │ │ ├── employment.jpg │ │ │ ├── thumbnail.png │ │ │ ├── thumbnailLarge.png │ │ │ └── transportation.jpg │ │ ├── index.js │ │ ├── transformProps.js │ │ └── vendor │ │ │ └── d3tip.css │ └── tsconfig.json ├── legacy-plugin-chart-histogram │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── Histogram.jsx │ │ ├── WithLegend.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── example1.jpg │ │ │ ├── example2.jpg │ │ │ ├── example3.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-horizon │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── HorizonChart.css │ │ ├── HorizonChart.jsx │ │ ├── HorizonRow.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── Horizon_Chart.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-map-box │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── MapBox.css │ │ ├── MapBox.jsx │ │ ├── ScatterPlotGlowOverlay.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── MapBox.jpg │ │ │ ├── MapBox2.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── transformProps.js │ │ └── utils │ │ │ ├── geo.js │ │ │ ├── luminanceFromRGB.js │ │ │ └── roundDecimal.js │ ├── test │ │ ├── tsconfig.json │ │ └── utils │ │ │ └── roundDecimal.test.js │ └── tsconfig.json ├── legacy-plugin-chart-paired-t-test │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── PairedTTest.css │ │ ├── PairedTTest.jsx │ │ ├── TTestTable.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-parallel-coordinates │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ParallelCoordinates.js │ │ ├── ReactParallelCoordinates.jsx │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── transformProps.js │ │ └── vendor │ │ │ └── parcoords │ │ │ ├── d3.parcoords.css │ │ │ ├── d3.parcoords.js │ │ │ └── divgrid.js │ └── tsconfig.json ├── legacy-plugin-chart-partition │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── OptionDescription.tsx │ │ ├── Partition.css │ │ ├── Partition.js │ │ ├── ReactPartition.js │ │ ├── controlPanel.tsx │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ ├── test │ │ ├── OptionDescription.test.jsx │ │ └── tsconfig.json │ └── tsconfig.json ├── legacy-plugin-chart-pivot-table │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── PivotTable.js │ │ ├── ReactPivotTable.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── transformProps.js │ │ └── utils │ │ │ ├── fixTableHeight.js │ │ │ └── formatCells.ts │ ├── test │ │ └── PivotTable.test.ts │ └── tsconfig.json ├── legacy-plugin-chart-rose │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactRose.js │ │ ├── Rose.css │ │ ├── Rose.js │ │ ├── controlPanel.tsx │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-sankey-loop │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactSankeyLoop.js │ │ ├── SankeyLoop.css │ │ ├── SankeyLoop.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-sankey │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactSankey.jsx │ │ ├── Sankey.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── Sankey.jpg │ │ │ ├── Sankey2.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── tests │ │ │ └── utils.test.js │ │ ├── transformProps.js │ │ └── utils.ts │ └── tsconfig.json ├── legacy-plugin-chart-sunburst │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactSunburst.js │ │ ├── Sunburst.css │ │ ├── Sunburst.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── example.png │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ ├── transformProps.js │ │ └── utils │ │ │ └── wrapSvgText.js │ └── tsconfig.json ├── legacy-plugin-chart-time-table │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── FormattedNumber.tsx │ │ ├── SparklineCell.tsx │ │ ├── TimeTable.tsx │ │ ├── TimeTableChartPlugin.ts │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.ts │ │ └── transformProps.ts │ ├── tsconfig.json │ └── types │ │ └── external.d.ts ├── legacy-plugin-chart-treemap │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactTreemap.js │ │ ├── Treemap.css │ │ ├── Treemap.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── Treemap.jpg │ │ │ ├── Treemap2.jpg │ │ │ ├── Treemap3.jpg │ │ │ ├── Treemap4.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-plugin-chart-world-map │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── ReactWorldMap.jsx │ │ ├── WorldMap.js │ │ ├── controlPanel.ts │ │ ├── images │ │ │ ├── WorldMap1.jpg │ │ │ ├── WorldMap2.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.js │ │ └── transformProps.js │ └── tsconfig.json ├── legacy-preset-chart-big-number │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── BigNumber │ │ │ ├── BigNumber.tsx │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ ├── Big_Number_Trendline.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ ├── BigNumberTotal │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── BigNumber.jpg │ │ │ │ ├── BigNumber2.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── preset.ts │ │ ├── sharedControls.ts │ │ └── types │ │ │ └── external.d.ts │ ├── test │ │ ├── transformProps.test.ts │ │ └── tsconfig.json │ └── tsconfig.json ├── legacy-preset-chart-nvd3 │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── Area │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── example1.jpg │ │ │ │ ├── example2.jpg │ │ │ │ ├── example3.jpg │ │ │ │ ├── example4.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── Bar │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── Time_Series_Bar_Chart.jpg │ │ │ │ ├── Time_Series_Bar_Chart2.jpg │ │ │ │ ├── Time_Series_Bar_Chart3.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── BoxPlot │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── Bubble │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── Bullet │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── Compare │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── DistBar │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── BarChart3.jpg │ │ │ │ ├── Bar_Chart.jpg │ │ │ │ ├── Bar_Chart_2.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── DualLine │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── Line │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── LineChart.jpg │ │ │ │ ├── LineChart2.jpg │ │ │ │ ├── battery.jpg │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── LineMulti │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── NVD3Controls.tsx │ │ ├── NVD3Vis.js │ │ ├── Pie │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── PropTypes.js │ │ ├── ReactNVD3.jsx │ │ ├── TimePivot │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── thumbnailLarge.png │ │ │ └── index.js │ │ ├── index.js │ │ ├── preset.js │ │ ├── transformProps.js │ │ ├── utils.js │ │ ├── utils │ │ │ ├── isTruthy.js │ │ │ └── tokenize.ts │ │ └── vendor │ │ │ └── superset │ │ │ ├── AnnotationTypes.js │ │ │ └── exploreUtils.js │ ├── test │ │ ├── tsconfig.json │ │ ├── utils.test.js │ │ └── utils │ │ │ ├── isTruthy.test.js │ │ │ └── tokenize.test.js │ └── tsconfig.json ├── plugin-chart-echarts │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── BoxPlot │ │ │ ├── EchartsBoxPlot.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.ts │ │ │ ├── images │ │ │ │ ├── BoxPlot.jpg │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Funnel │ │ │ ├── EchartsFunnel.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Gauge │ │ │ ├── EchartsGauge.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── constants.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Graph │ │ │ ├── EchartsGraph.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── constants.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── MixedTimeseries │ │ │ ├── EchartsMixedTimeseries.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Pie │ │ │ ├── EchartsPie.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ ├── Pie1.jpg │ │ │ │ ├── Pie2.jpg │ │ │ │ ├── Pie3.jpg │ │ │ │ ├── Pie4.jpg │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Radar │ │ │ ├── EchartsRadar.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Timeseries │ │ │ ├── Area │ │ │ │ ├── controlPanel.tsx │ │ │ │ ├── images │ │ │ │ │ ├── Area1.png │ │ │ │ │ └── thumbnail.png │ │ │ │ └── index.ts │ │ │ ├── EchartsTimeseries.tsx │ │ │ ├── Regular │ │ │ │ ├── Bar │ │ │ │ │ ├── controlPanel.tsx │ │ │ │ │ ├── images │ │ │ │ │ │ ├── Bar1.png │ │ │ │ │ │ ├── Bar2.png │ │ │ │ │ │ ├── Bar3.png │ │ │ │ │ │ └── thumbnail.png │ │ │ │ │ └── index.ts │ │ │ │ ├── Line │ │ │ │ │ ├── images │ │ │ │ │ │ ├── Line1.png │ │ │ │ │ │ ├── Line2.png │ │ │ │ │ │ └── thumbnail.png │ │ │ │ │ └── index.ts │ │ │ │ ├── Scatter │ │ │ │ │ ├── controlPanel.tsx │ │ │ │ │ ├── images │ │ │ │ │ │ ├── Scatter1.png │ │ │ │ │ │ └── thumbnail.png │ │ │ │ │ └── index.ts │ │ │ │ ├── SmoothLine │ │ │ │ │ ├── images │ │ │ │ │ │ ├── SmoothLine1.png │ │ │ │ │ │ └── thumbnail.png │ │ │ │ │ └── index.ts │ │ │ │ └── controlPanel.tsx │ │ │ ├── Step │ │ │ │ ├── controlPanel.tsx │ │ │ │ ├── images │ │ │ │ │ ├── Step1.png │ │ │ │ │ ├── Step2.png │ │ │ │ │ └── thumbnail.png │ │ │ │ └── index.ts │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ ├── Time-series_Chart.jpg │ │ │ │ └── thumbnail.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ ├── transformers.ts │ │ │ └── types.ts │ │ ├── Tree │ │ │ ├── EchartsTree.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── constants.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ └── tree.png │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── Treemap │ │ │ ├── EchartsTreemap.tsx │ │ │ ├── buildQuery.ts │ │ │ ├── constants.ts │ │ │ ├── controlPanel.tsx │ │ │ ├── images │ │ │ │ ├── thumbnail.png │ │ │ │ ├── treemap_v2_1.png │ │ │ │ └── treemap_v2_2.jpg │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── components │ │ │ └── Echart.tsx │ │ ├── constants.ts │ │ ├── controls.tsx │ │ ├── defaults.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── annotation.ts │ │ │ ├── controls.ts │ │ │ ├── prophet.ts │ │ │ └── series.ts │ ├── test │ │ ├── BoxPlot │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Funnel │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Gauge │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Graph │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Pie │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Timeseries │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Tree │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── Treemap │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ │ ├── index.test.ts │ │ ├── tsconfig.json │ │ └── utils │ │ │ ├── annotation.test.ts │ │ │ ├── controls.test.ts │ │ │ ├── prophet.test.ts │ │ │ └── series.test.ts │ ├── tsconfig.json │ └── types │ │ └── external.d.ts ├── plugin-chart-pivot-table │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── PivotTableChart.tsx │ │ ├── images │ │ │ └── thumbnail.png │ │ ├── index.ts │ │ ├── plugin │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.ts │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── types.ts │ ├── test │ │ ├── index.test.ts │ │ └── plugin │ │ │ ├── buildQuery.test.ts │ │ │ └── transformProps.test.ts │ ├── tsconfig.json │ └── types │ │ └── external.d.ts ├── plugin-chart-table │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── DataTable │ │ │ ├── DataTable.tsx │ │ │ ├── README.md │ │ │ ├── components │ │ │ │ ├── GlobalFilter.tsx │ │ │ │ ├── Pagination.tsx │ │ │ │ └── SelectPageSize.tsx │ │ │ ├── hooks │ │ │ │ └── useSticky.tsx │ │ │ ├── index.tsx │ │ │ ├── types │ │ │ │ └── react-table.d.ts │ │ │ └── utils │ │ │ │ ├── externalAPIs.ts │ │ │ │ ├── getScrollBarSize.ts │ │ │ │ ├── needScrollBar.ts │ │ │ │ ├── useAsyncState.ts │ │ │ │ └── useMountedMemo.ts │ │ ├── Styles.tsx │ │ ├── TableChart.tsx │ │ ├── buildQuery.ts │ │ ├── consts.ts │ │ ├── controlPanel.tsx │ │ ├── i18n.ts │ │ ├── images │ │ │ ├── Table.jpg │ │ │ ├── Table2.jpg │ │ │ ├── Table3.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.ts │ │ ├── transformProps.ts │ │ ├── types.ts │ │ └── utils │ │ │ ├── DateWithFormatter.ts │ │ │ ├── extent.ts │ │ │ ├── formatValue.ts │ │ │ ├── isEqualArray.ts │ │ │ └── isEqualColumns.ts │ ├── test │ │ ├── TableChart.test.tsx │ │ ├── buildQuery.test.ts │ │ ├── enzyme.tsx │ │ ├── testData.ts │ │ └── tsconfig.json │ ├── tsconfig.json │ └── types │ │ └── external.d.ts ├── plugin-chart-word-cloud │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── chart │ │ │ ├── Encoder.ts │ │ │ └── WordCloud.tsx │ │ ├── configureEncodable.ts │ │ ├── images │ │ │ ├── Word_Cloud.jpg │ │ │ ├── Word_Cloud_2.jpg │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.ts │ │ ├── legacyPlugin │ │ │ ├── index.ts │ │ │ ├── transformProps.ts │ │ │ └── types.ts │ │ ├── plugin │ │ │ ├── buildQuery.ts │ │ │ ├── controlPanel.ts │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── types.ts │ ├── test │ │ ├── index.test.ts │ │ ├── legacyPlugin │ │ │ └── transformProps.test.ts │ │ ├── plugin │ │ │ └── buildQuery.test.ts │ │ └── tsconfig.json │ ├── tsconfig.json │ └── types │ │ └── external.d.ts └── preset-chart-xy │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ ├── BoxPlot │ │ ├── controlPanel.ts │ │ ├── createMetadata.ts │ │ ├── images │ │ │ └── thumbnail.png │ │ ├── index.ts │ │ ├── legacy │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── transformProps.ts │ ├── Line │ │ ├── ChartFormData.ts │ │ ├── buildQuery.ts │ │ ├── createMetadata.ts │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ ├── index.ts │ │ ├── legacy │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── transformProps.ts │ ├── ScatterPlot │ │ ├── createMetadata.ts │ │ ├── images │ │ │ └── thumbnail.png │ │ ├── index.ts │ │ ├── legacy │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── transformProps.ts │ ├── components │ │ ├── BoxPlot │ │ │ ├── BoxPlot.tsx │ │ │ ├── DefaultTooltipRenderer.tsx │ │ │ ├── Encoder.ts │ │ │ └── types.ts │ │ ├── Line │ │ │ ├── DefaultLegendItemMarkRenderer.tsx │ │ │ ├── DefaultTooltipRenderer.tsx │ │ │ ├── Encoder.ts │ │ │ └── Line.tsx │ │ ├── ScatterPlot │ │ │ ├── DefaultTooltipRenderer.tsx │ │ │ ├── Encoder.ts │ │ │ └── ScatterPlot.tsx │ │ └── legend │ │ │ ├── DefaultLegend.tsx │ │ │ ├── DefaultLegendGroup.tsx │ │ │ ├── DefaultLegendItem.tsx │ │ │ ├── createRenderLegend.tsx │ │ │ └── types.ts │ ├── configureEncodable.ts │ ├── index.ts │ └── utils │ │ ├── XYChartLayout.tsx │ │ ├── computeAxisLayout.ts │ │ ├── convertScaleToDataUIScaleShape.ts │ │ ├── createMarginSelector.tsx │ │ ├── createTickComponent.tsx │ │ ├── createTickLabelProps.ts │ │ └── createXYChartLayoutWithTheme.ts │ ├── test │ ├── index.test.ts │ └── tsconfig.json │ ├── tsconfig.json │ └── types │ ├── @data-ui │ ├── theme │ │ └── index.d.ts │ └── xy-chart │ │ └── index.d.ts │ └── external.d.ts ├── prettier.config.js ├── scripts ├── build.js ├── check_license.sh ├── commitlint.js ├── copyAssets.js ├── lernaVersion.sh └── tsc.sh ├── temporary-plugins ├── README.md ├── hold-potentially-deprecate │ ├── superset-ui-legacy-plugin-chart-word-cloud │ │ ├── README.md │ │ ├── package.json │ │ └── src │ │ │ ├── ReactWordCloud.js │ │ │ ├── WordCloud.js │ │ │ ├── images │ │ │ ├── thumbnail.png │ │ │ └── thumbnailLarge.png │ │ │ ├── index.js │ │ │ └── transformProps.js │ └── superset-ui-plugin-chart-table │ │ ├── README.md │ │ ├── package.json │ │ ├── src │ │ ├── Table.tsx │ │ ├── TableFormData.ts │ │ ├── buildQuery.ts │ │ ├── components │ │ │ └── HTMLRenderer.tsx │ │ ├── createMetadata.ts │ │ ├── getRenderer.tsx │ │ ├── images │ │ │ └── thumbnail.png │ │ ├── index.ts │ │ ├── legacy │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ ├── processColumns.ts │ │ ├── processData.ts │ │ ├── processMetrics.ts │ │ ├── transformProps.ts │ │ └── types.ts │ │ ├── test │ │ ├── buildQuery.test.ts │ │ ├── processData.test.ts │ │ └── processMetrics.test.ts │ │ └── types │ │ └── external.d.ts ├── plugin-chart-choropleth-map │ ├── README.md │ ├── package.json │ ├── src │ │ ├── chart │ │ │ ├── ChoroplethMap.tsx │ │ │ ├── Encoder.ts │ │ │ ├── MapMetadata.ts │ │ │ ├── MapTooltip.tsx │ │ │ ├── Projection.ts │ │ │ ├── components.ts │ │ │ └── loadMap.ts │ │ ├── configureEncodable.ts │ │ ├── images │ │ │ └── thumbnail.png │ │ ├── index.ts │ │ ├── maps │ │ │ ├── belgium-topo.json │ │ │ ├── brazil-topo.json │ │ │ ├── bulgaria-topo.json │ │ │ ├── canada-topo.json │ │ │ ├── china-topo.json │ │ │ ├── france-topo.json │ │ │ ├── germany-topo.json │ │ │ ├── index.ts │ │ │ ├── india-topo.json │ │ │ ├── iran-topo.json │ │ │ ├── italy-topo.json │ │ │ ├── japan-topo.json │ │ │ ├── korea-topo.json │ │ │ ├── liechtenstein-topo.json │ │ │ ├── morocco-topo.json │ │ │ ├── myanmar-topo.json │ │ │ ├── netherlands-topo.json │ │ │ ├── portugal-topo.json │ │ │ ├── russia-topo.json │ │ │ ├── singapore-topo.json │ │ │ ├── spain-topo.json │ │ │ ├── switzerland-topo.json │ │ │ ├── thailand-topo.json │ │ │ ├── timorleste-topo.json │ │ │ ├── uk-topo.json │ │ │ ├── ukraine-topo.json │ │ │ ├── usa-topo.json │ │ │ ├── world-topo.json │ │ │ └── zambia-topo.json │ │ ├── plugin │ │ │ ├── index.ts │ │ │ └── transformProps.ts │ │ └── types.ts │ ├── stories │ │ ├── ChoroplethMap.stories.tsx │ │ ├── generateFakeMapData.ts │ │ └── useFakeMapData.ts │ ├── test │ │ ├── index.test.ts │ │ └── tsconfig.json │ ├── tsconfig.json │ └── types │ │ └── external.d.ts ├── setupJest.js └── superset-ui-plugins-demo │ ├── .storybook │ ├── addons.js │ ├── config.js │ └── storybook.css │ ├── README.md │ ├── package.json │ └── storybook │ └── stories │ └── legacy-plugin-chart-word-cloud │ ├── Stories.tsx │ ├── data.js │ └── index.js ├── test ├── __mocks__ │ ├── mockExportObject.js │ ├── mockExportString.js │ └── svgrMock.tsx ├── setup.ts └── shims │ ├── Cache.ts │ └── CacheStorage.ts ├── tsconfig.eslint.json └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | public/ 4 | esm/ 5 | lib/ 6 | tmp/ 7 | dist/ 8 | temporary-plugins/ 9 | storybook-static/ 10 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/about-codeowners/ 2 | # for more info about CODEOWNERS file 3 | 4 | # It uses the same pattern rule for gitignore file 5 | # https://git-scm.com/docs/gitignore#_pattern_format 6 | 7 | # These owners will be the default owners for everything in 8 | # the repo. Unless a later match takes precedence, 9 | # these users/team will be requested for review 10 | # when someone opens a pull request. 11 | 12 | * @apache-superset/embeddable-charts-team 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | --- 5 | 6 | ### Describe the bug 7 | 8 | A clear and concise description of what the bug is. 9 | 10 | ### To Reproduce 11 | 12 | Steps to reproduce the behavior: 13 | 14 | 1. Go to '...' 15 | 2. Click on '....' 16 | 3. Scroll down to '....' 17 | 4. See error 18 | 19 | ### Expected behavior 20 | 21 | A clear and concise description of what you expected to happen. 22 | 23 | ### Screenshots 24 | 25 | If applicable, add screenshots to help explain your problem. 26 | 27 | ### Environment (please complete the following information): 28 | 29 | - superset-ui version: [e.g. v0.5.0] 30 | - Node version: `node -v` 31 | - npm version: `npm -v` 32 | 33 | ### Additional context 34 | 35 | Add any other context about the problem here. 36 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | --- 5 | 6 | ### Is your feature request related to a problem? Please describe. 7 | 8 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 9 | 10 | ### Describe the solution you'd like 11 | 12 | A clear and concise description of what you want to happen. 13 | 14 | ### Describe alternatives you've considered 15 | 16 | A clear and concise description of any alternative solutions or features you've considered. 17 | 18 | ### Additional context\*\* Add any other context or screenshots about the feature request here. 19 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: Ask for help with something. 4 | --- 5 | 6 | Your question. 7 | 8 | - How do I xxx? 9 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 💔 Breaking Changes 2 | 3 | 🏆 Enhancements 4 | 5 | 📜 Documentation 6 | 7 | 🐛 Bug Fix 8 | 9 | 🏠 Internal 10 | -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- 1 | # Configuration for request-info - https://github.com/behaviorbot/request-info 2 | 3 | # *Required* Comment to reply with 4 | requestInfoReplyComment: > 5 | We would appreciate it if you could provide us with more info about this issue/pr! 6 | 7 | # *OPTIONAL* default titles to check against for lack of descriptiveness 8 | # MUST BE ALL LOWERCASE 9 | requestInfoDefaultTitles: 10 | - update readme.md 11 | - updates 12 | 13 | # *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given 14 | requestInfoLabelToAdd: needs-more-info 15 | -------------------------------------------------------------------------------- /.github/issue_label_bot.yaml: -------------------------------------------------------------------------------- 1 | label-alias: 2 | bug: '#bug' 3 | feature_request: '#enhancement' 4 | question: '#question' 5 | -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- 1 | # Always validate the PR title, and ignore the commits 2 | titleOnly: true 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.DS_Store 3 | 4 | # Logs 5 | logs/ 6 | *.log 7 | 8 | # Cache 9 | .bundle/ 10 | .happo/ 11 | .idea/ 12 | .next/ 13 | .cache 14 | .eslintcache 15 | .idea 16 | *.iml 17 | .npm 18 | .npmrc 19 | .vscode 20 | .yarnclean 21 | 22 | # Directories 23 | build/ 24 | coverage/ 25 | dist/ 26 | esm/ 27 | lib/ 28 | public/ 29 | node_modules/ 30 | tmp/ 31 | _gh-pages/ 32 | 33 | # Custom 34 | *.map 35 | *.min.js 36 | test-changelog.md 37 | 38 | *.tsbuildinfo 39 | 40 | # Ignore package-lock in packages 41 | plugins/*/package-lock.json 42 | packages/*/package-lock.json 43 | 44 | # For country map geojson conversion script 45 | .ipynb_checkpoints/ 46 | scripts/*.zip 47 | 48 | **/storybook-static 49 | rat-results.txt 50 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v14.15.5 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | _gh-pages/ 2 | coverage/ 3 | node_modules/ 4 | public/ 5 | esm/ 6 | lib/ 7 | tmp/ 8 | dist/ 9 | lerna.json 10 | npm-shrinkwrap.json 11 | package-lock.json 12 | tsconfig.json 13 | tsconfig.options.json 14 | tsconfig.eslint.json 15 | CHANGELOG.md 16 | *.geojson 17 | *-topo.json 18 | -------------------------------------------------------------------------------- /.rat-excludes: -------------------------------------------------------------------------------- 1 | # Note: these patterns are applied to single files or directories, not full paths 2 | .gitignore 3 | docs/README.md 4 | .gitattributes 5 | .gitkeep 6 | .coverage 7 | .coveragerc 8 | .codecov.yml 9 | .eslintrc 10 | .eslintignore 11 | .flake8 12 | .nvmrc 13 | .prettierrc 14 | .rat-excludes 15 | .*log 16 | .*pyc 17 | .*lock 18 | .*geojson 19 | DISCLAIMER 20 | licenses/* 21 | node_modules/* 22 | rat-results.txt 23 | babel-node 24 | dist 25 | superset/static/* 26 | build 27 | superset.egg-info 28 | apache_superset.egg-info 29 | .idea 30 | .*sql 31 | .*zip 32 | .*lock 33 | # json and csv in general cannot have comments 34 | .*json 35 | .*csv 36 | # Generated doc files 37 | env/* 38 | docs/README.md 39 | docs/.htaccess* 40 | _build/* 41 | _static/* 42 | .buildinfo 43 | searchindex.js 44 | # auto generated 45 | requirements/* 46 | # vendorized 47 | vendor/* 48 | # github configuration 49 | .github/* 50 | .*mdx 51 | coverage/* 52 | .*.md 53 | .*.txt 54 | 55 | # skip license check in superset-ui 56 | tmp/* 57 | lib/* 58 | esm/* 59 | tsconfig.tsbuildinfo 60 | .*ipynb 61 | .*yml 62 | .*iml 63 | .esprintrc 64 | .prettierignore 65 | README.erb 66 | package.erb 67 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | patch: off 4 | project: 5 | default: 6 | target: 0% 7 | threshold: 10% 8 | core-packages-ts: 9 | target: 100% 10 | paths: 11 | - 'packages' 12 | - '!packages/**/*.jsx' 13 | - '!packages/**/*.tsx' 14 | core-packages-tsx: 15 | target: 50% 16 | paths: 17 | - 'packages/**/*.jsx' 18 | - 'packages/**/*.tsx' 19 | plugins: 20 | target: 0 21 | paths: 22 | - plugins 23 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | module.exports = { 21 | extends: [ 22 | '@commitlint/config-conventional', 23 | '@commitlint/config-lerna-scopes', 24 | ], 25 | }; 26 | -------------------------------------------------------------------------------- /docs/debugging.md: -------------------------------------------------------------------------------- 1 | # Debug Superset plugins in Superset app 2 | 3 | ## Activate plugins for local development 4 | 5 | 1. First, make sure you have run `npm ci` and `npm run build` in `superset-ui` or your own plugin 6 | repo. 7 | 2. Go to [superset-frontend](https://github.com/apache/superset/tree/master/superset-frontend), use 8 | `npm link` to create a symlink of the plugin source code in `node_modules`: 9 | 10 | ```sh 11 | cd superset/superset-frontend 12 | # npm link ~/path/to/your/plugin 13 | npm link ../../superset-ui/plugins/plugin-chart-word-cloud 14 | ``` 15 | 16 | 3. Start developing with webpack dev server: 17 | 18 | ```sh 19 | npm run dev-server 20 | ``` 21 | 22 | The dev server will automatically build from the source code under `path/to/your-plugin/src` and 23 | watch the changes. 24 | 25 | ## Deactivate plugins 26 | 27 | To deactivate a plugin, simply run `npm ci` in `superset/superset-frontend` again. 28 | -------------------------------------------------------------------------------- /docs/storybook.md: -------------------------------------------------------------------------------- 1 | ## Using Storybook 2 | 3 | You can demo your changes by running the storybook demo locally with the following commands: 4 | 5 | ```sh 6 | npm ci 7 | npm run build 8 | npm run storybook 9 | ``` 10 | 11 | The Storybook will 12 | [automatically build from the source code](https://github.com/apache-superset/superset-ui/blob/master/packages/superset-ui-demo/.storybook/main.js#L49-L58) 13 | when package names start with `@superset-ui/`. 14 | -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "lerna": "3.2.1", 3 | "npmClient": "npm", 4 | "packages": [ 5 | "packages/*", 6 | "plugins/*" 7 | ], 8 | "useWorkspaces": true, 9 | "version": "0.18.25", 10 | "ignoreChanges": [ 11 | "**/*.md", 12 | "**/*.spec.tsx?", 13 | "**/*.spec.jsx?", 14 | "**/__mocks__/**" 15 | ], 16 | "command": { 17 | "publish": { 18 | "message": "chore: publish %s", 19 | "graphType": "all" 20 | }, 21 | "version": { 22 | "message": "chore: publish %s", 23 | "exact": true 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /packages/generator-superset/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/package/templates/_package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/<%= name %>", 3 | "version": "0.0.0", 4 | "description": "Superset UI <%= name %>", 5 | "sideEffects": false, 6 | "main": "lib/index.js", 7 | "module": "esm/index.js", 8 | "files": ["esm", "lib"], 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/apache-superset/superset-ui.git" 12 | }, 13 | "keywords": ["superset"], 14 | "author": "Superset", 15 | "license": "Apache-2.0", 16 | "bugs": { 17 | "url": "https://github.com/apache-superset/superset-ui/issues" 18 | }, 19 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 20 | "publishConfig": { 21 | "access": "public" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/package/templates/src/index.txt: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export default x; 3 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/package/templates/test/index.txt: -------------------------------------------------------------------------------- 1 | describe('My Test', () => { 2 | it('tests something', () => { 3 | expect(1).toEqual(1); 4 | }); 5 | }); 6 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/plugin-chart/templates/package.erb: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/plugin-chart-<%= packageName %>", 3 | "version": "0.0.0", 4 | "description": "Superset Chart - <%= description %>", 5 | "sideEffects": false, 6 | "main": "lib/index.js", 7 | "module": "esm/index.js", 8 | "files": [ 9 | "esm", 10 | "lib" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/apache-superset/superset-ui.git" 15 | }, 16 | "keywords": [ 17 | "superset" 18 | ], 19 | "author": "Superset", 20 | "license": "Apache-2.0", 21 | "bugs": { 22 | "url": "https://github.com/apache-superset/superset-ui/issues" 23 | }, 24 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 25 | "publishConfig": { 26 | "access": "public" 27 | }, 28 | "dependencies": { 29 | "@superset-ui/core": "^0.17.40", 30 | "@superset-ui/chart-controls": "^0.17.41" 31 | }, 32 | "peerDependencies": { 33 | "react": "^16.13.1" 34 | }, 35 | "devDependencies": { 36 | "@types/jest": "^26.0.0", 37 | "jest": "^26.0.1" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/plugin-chart/templates/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/packages/generator-superset/generators/plugin-chart/templates/src/images/thumbnail.png -------------------------------------------------------------------------------- /packages/generator-superset/generators/plugin-chart/templates/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /packages/generator-superset/generators/plugin-chart/templates/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png' { 21 | const value: any; 22 | export default value; 23 | } 24 | -------------------------------------------------------------------------------- /packages/generator-superset/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/generator-superset", 3 | "version": "0.18.25", 4 | "description": "Scaffolder for Superset", 5 | "bugs": { 6 | "url": "https://github.com/apache-superset/superset-ui/issues" 7 | }, 8 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/apache-superset/superset-ui.git" 12 | }, 13 | "author": "Superset", 14 | "files": [ 15 | "generators" 16 | ], 17 | "main": "generators/index.js", 18 | "keywords": [ 19 | "yeoman", 20 | "generator", 21 | "superset", 22 | "yeoman-generator" 23 | ], 24 | "devDependencies": { 25 | "yeoman-assert": "^3.1.0", 26 | "yeoman-test": "^2.0.0" 27 | }, 28 | "engines": { 29 | "npm": ">= 4.0.0" 30 | }, 31 | "dependencies": { 32 | "chalk": "^4.0.0", 33 | "lodash": "^4.17.11", 34 | "yeoman-generator": "^4.0.0", 35 | "yosay": "^2.0.2" 36 | }, 37 | "license": "Apache-2.0", 38 | "publishConfig": { 39 | "access": "public" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /packages/generator-superset/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/chart-controls", 3 | "version": "0.18.25", 4 | "description": "Superset UI control-utils", 5 | "sideEffects": false, 6 | "main": "lib/index.js", 7 | "module": "esm/index.js", 8 | "files": [ 9 | "esm", 10 | "lib" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/apache-superset/superset-ui.git" 15 | }, 16 | "keywords": [ 17 | "superset" 18 | ], 19 | "author": "Superset", 20 | "license": "Apache-2.0", 21 | "bugs": { 22 | "url": "https://github.com/apache-superset/superset-ui/issues" 23 | }, 24 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 25 | "publishConfig": { 26 | "access": "public" 27 | }, 28 | "dependencies": { 29 | "@react-icons/all-files": "^4.1.0", 30 | "@superset-ui/core": "0.18.25", 31 | "lodash": "^4.17.15", 32 | "prop-types": "^15.7.2" 33 | }, 34 | "peerDependencies": { 35 | "@emotion/react": "^11.4.1", 36 | "@types/react": "*", 37 | "antd": "^4.9.4", 38 | "react": "^16.13.1", 39 | "react-dom": "^16.13.1" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/operators/types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitationsxw 17 | * under the License. 18 | */ 19 | import { QueryFormData, QueryObject } from '@superset-ui/core'; 20 | 21 | export interface PostProcessingFactory { 22 | (formData: QueryFormData, queryObject: QueryObject): T; 23 | } 24 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/operators/utils/constants.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable camelcase */ 2 | /** 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitationsxw 18 | * under the License. 19 | */ 20 | export const TIME_COMPARISON_SEPARATOR = '__'; 21 | export const TIME_COLUMN = '__timestamp'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/operators/utils/index.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable camelcase */ 2 | /** 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitationsxw 18 | * under the License. 19 | */ 20 | export { getMetricOffsetsMap } from './getMetricOffsetsMap'; 21 | export { isValidTimeCompare } from './isValidTimeCompare'; 22 | export { TIME_COMPARISON_SEPARATOR, TIME_COLUMN } from './constants'; 23 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/sections/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './sections'; 21 | export * from './advancedAnalytics'; 22 | export * from './annotationsAndLayers'; 23 | export * from './forecastInterval'; 24 | export * from './chartTitle'; 25 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/shared-controls/components/ColumnConfigControl/index.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import ColumnConfigControl from './ColumnConfigControl'; 20 | 21 | export * from './types'; 22 | export { default as __hack__reexport__ } from './types'; 23 | 24 | export default ColumnConfigControl; 25 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export * from './selectOptions'; 20 | export * from './D3Formatting'; 21 | export * from './expandControlConfig'; 22 | export * from './getColorFormatters'; 23 | export { default as mainMetric } from './mainMetric'; 24 | export { default as columnChoices } from './columnChoices'; 25 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/test/index.test.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { sections } from '../src'; 20 | 21 | describe('@superset-ui/chart-controls', () => { 22 | it('exports sections', () => { 23 | expect(sections).toBeDefined(); 24 | expect(sections.datasourceAndVizType).toBeDefined(); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /packages/superset-ui-chart-controls/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../superset-ui-core" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/chart-composition/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export { default as ChartFrame } from './ChartFrame'; 21 | export { default as WithLegend } from './legend/WithLegend'; 22 | export { default as TooltipFrame } from './tooltip/TooltipFrame'; 23 | export { default as TooltipTable } from './tooltip/TooltipTable'; 24 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/chart/models/ChartControlPanel.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | // eslint-disable-next-line @typescript-eslint/no-explicit-any 21 | export type ChartControlPanel = { [key: string]: any }; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/chart/types/Annotation.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export type AnnotationLayerMetadata = { 21 | name: string; 22 | sourceType?: string; 23 | }; 24 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/color/CategoricalScheme.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import ColorScheme from './ColorScheme'; 21 | 22 | export default class CategoricalScheme extends ColorScheme {} 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/color/colorSchemes/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './categorical'; 21 | export * from './sequential'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/color/colorSchemes/sequential/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export { default as SequentialCommon } from './common'; 21 | export { default as SequentialD3 } from './d3'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/color/stringifyAndTrim.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Ensure value is a string 22 | * @param {any} value 23 | */ 24 | export default function stringifyAndTrim(value?: number | string) { 25 | return String(value).trim(); 26 | } 27 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/color/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export interface ColorsLookup { 21 | [key: string]: string; 22 | } 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/components/constants.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /** 21 | * Faster debounce delay for inputs without expensive operation. 22 | */ 23 | export const FAST_DEBOUNCE = 250; 24 | 25 | /** 26 | * Slower debounce delay for inputs with expensive API calls. 27 | */ 28 | export const SLOW_DEBOUNCE = 500; 29 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/components/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './constants'; 21 | export { default as SafeMarkdown } from './SafeMarkdown'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/connection/callApi/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export { default } from './callApiAndParseWithTimeout'; 21 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/dimension/svg/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | // eslint-disable-next-line import/prefer-default-export 21 | export const SVG_NS = 'http://www.w3.org/2000/svg'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/dimension/svg/createTextNode.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { SVG_NS } from './constants'; 21 | 22 | export default function createTextNode() { 23 | return document.createElementNS(SVG_NS, 'text'); 24 | } 25 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/dynamic-plugins/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './shared-modules'; 21 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/number-format/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export type NumberFormatFunction = (value: number) => string; 21 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/query/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | ## @superset-ui/core/query 21 | 22 | Utility to make API requests to Superset backend. 23 | 24 | #### Example usage 25 | 26 | TODO 27 | 28 | #### API 29 | 30 | TODO 31 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/query/api/legacy/types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { ChartDataResponseResult } from '../../types'; 20 | 21 | export interface LegacyChartDataResponse 22 | extends Omit { 23 | data: Record[] | Record; 24 | } 25 | 26 | export default {}; 27 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/query/api/types.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { 20 | RequestConfig, 21 | SupersetClientInterface, 22 | SupersetClientClass, 23 | } from '../../connection'; 24 | 25 | export interface BaseParams { 26 | client?: SupersetClientInterface | SupersetClientClass; 27 | requestConfig?: RequestConfig; 28 | } 29 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/translation/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export * from './TranslatorSingleton'; 21 | export * from './types'; 22 | 23 | export default {}; 24 | 25 | export { default as __hack_reexport_trasnslation } from './types'; 26 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/types/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export * from '../query/types'; 20 | 21 | export type Maybe = T | null; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/utils/isDefined.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default function isDefined(x: unknown) { 21 | return x !== null && x !== undefined; 22 | } 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/utils/isRequired.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default function isRequired(field: string): never { 21 | throw new Error(`${field} is required.`); 22 | } 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/src/utils/random.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import seedrandom from 'seedrandom'; 20 | 21 | let random = seedrandom('superset-ui'); 22 | 23 | export function seed(seed: string) { 24 | random = seedrandom(seed); 25 | return random; 26 | } 27 | 28 | export function seedRandom() { 29 | return random(); 30 | } 31 | -------------------------------------------------------------------------------- /packages/superset-ui-core/test/chart/fixtures/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const LOGIN_GLOB = 'glob:*api/v1/security/csrf_token/*'; // eslint-disable-line import/prefer-default-export 21 | -------------------------------------------------------------------------------- /packages/superset-ui-core/test/connection/fixtures/constants.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export const LOGIN_GLOB = 'glob:*api/v1/security/csrf_token/*'; // eslint-disable-line import/prefer-default-export 20 | -------------------------------------------------------------------------------- /packages/superset-ui-core/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /packages/superset-ui-core/test/utils/isRequired.test.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { isRequired } from '@superset-ui/core/src'; 21 | 22 | describe('isRequired(field)', () => { 23 | it('should throw error with the given field in the message', () => { 24 | expect(() => isRequired('myField')).toThrow(Error); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /packages/superset-ui-core/test/validator/setup.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { configure as configureTranslation } from '@superset-ui/core/src'; 21 | 22 | configureTranslation(); 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [] 18 | } 19 | -------------------------------------------------------------------------------- /packages/superset-ui-core/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | /** 20 | * Stub for the untypped jed module. 21 | */ 22 | declare module 'jed'; 23 | -------------------------------------------------------------------------------- /packages/superset-ui-core/types/resize-observer-polyfill.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module 'resize-observer-polyfill' { 21 | // eslint-disable-next-line import/prefer-default-export 22 | export function triggerResizeObserver(entries?: ResizeObserverEntry[]): void; 23 | } 24 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/.storybook/storybook.css: -------------------------------------------------------------------------------- 1 | html, 2 | body, 3 | #root { 4 | height: 100%; 5 | font-family: BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif; 6 | font-weight: 200; 7 | color: #484848; 8 | } 9 | #root > div { 10 | padding: 8px; 11 | } 12 | 13 | code { 14 | background: none; 15 | } 16 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/.storybook/themeDecorator.js: -------------------------------------------------------------------------------- 1 | // themeDecorator.js 2 | import React from 'react'; 3 | import { supersetTheme, ThemeProvider } from '@superset-ui/core'; 4 | 5 | const ThemeDecorator = storyFn => ( 6 | {storyFn()} 7 | ); 8 | 9 | export default ThemeDecorator; 10 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/shared/dummyDatasource.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default { verboseMap: {} }; 21 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/legacy-preset-chart-big-number/BigNumberTotal/data.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export default [ 21 | { 22 | sum__num: 32546308, 23 | }, 24 | ]; 25 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/legacy-preset-chart-nvd3/Pie/data.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | /* eslint-disable sort-keys, no-magic-numbers */ 21 | export default [ 22 | { 23 | x: 'boy', 24 | y: 48133355, 25 | }, 26 | { 27 | x: 'girl', 28 | y: 32546308, 29 | }, 30 | ]; 31 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-echarts/Funnel/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const dataSource = [ 21 | { value: 89439, name: 'pv' }, 22 | { value: 5526, name: 'cart' }, 23 | { value: 2824, name: 'fav' }, 24 | { value: 2211, name: 'buy' }, 25 | ]; 26 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/plugin-chart-echarts/Gauge/data.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const speed = [ 21 | { 22 | name: 'km/h', 23 | value: 70, 24 | }, 25 | ]; 26 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/preset-chart-xy/BoxPlot/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const BOX_PLOT_PLUGIN_TYPE = 'v2-box-plot'; 21 | export const BOX_PLOT_PLUGIN_LEGACY_TYPE = 'v2-box-plot/legacy'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/preset-chart-xy/Line/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const LINE_PLUGIN_TYPE = 'v2-line'; 21 | export const LINE_PLUGIN_LEGACY_TYPE = 'v2-line/legacy'; 22 | -------------------------------------------------------------------------------- /packages/superset-ui-demo/storybook/stories/plugins/preset-chart-xy/ScatterPlot/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export const SCATTER_PLOT_PLUGIN_TYPE = 'v2-scatter-plot'; 21 | export const SCATTER_PLOT_PLUGIN_LEGACY_TYPE = 'v2-scatter-plot/legacy'; 22 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-calendar/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-calendar", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Calendar Heatmap", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3-array": "^2.0.3", 34 | "d3-selection": "^1.4.0", 35 | "d3-tip": "^0.9.1", 36 | "prop-types": "^15.6.2" 37 | }, 38 | "peerDependencies": { 39 | "react": "^16.13.1" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-calendar/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-calendar/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-calendar/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-calendar/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-calendar/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-chord/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-chord", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Chord Diagram", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "prop-types": "^15.6.2", 35 | "react": "^16.13.1" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-chord/src/images/chord.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-chord/src/images/chord.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-chord/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-chord/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-chord/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-chord/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-chord/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-country-map", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Country Map", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "d3-array": "^2.0.3", 35 | "prop-types": "^15.6.2" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/src/ReactCountryMap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './CountryMap'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/src/geojson.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | declare module 'file-loader!*.geojson' { 20 | const geojsonPath: string; 21 | 22 | export default geojsonPath; 23 | } 24 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-country-map/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-country-map/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-country-map/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-event-flow/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-event-flow", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Event Flow", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@data-ui/event-flow": "^0.0.84", 32 | "@superset-ui/chart-controls": "0.18.25", 33 | "@superset-ui/core": "0.18.25", 34 | "prop-types": "^15.6.2" 35 | }, 36 | "peerDependencies": { 37 | "react": "^15 || ^16" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-event-flow/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-event-flow/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-event-flow/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-event-flow/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-event-flow/src/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | declare module '@data-ui/event-flow'; 22 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-event-flow/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-force-directed/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-force-directed", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Force-directed Graph", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "prop-types": "^15.7.2" 35 | }, 36 | "peerDependencies": { 37 | "react": "^16.13.1" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-force-directed/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-force-directed/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-force-directed/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-force-directed/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-force-directed/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-heatmap", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Heatmap", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "d3-svg-legend": "^1.x", 35 | "d3-tip": "^0.9.1", 36 | "prop-types": "^15.6.2" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/ReactHeatmap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './Heatmap'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/images/channels.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-heatmap/src/images/channels.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/images/employment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-heatmap/src/images/employment.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-heatmap/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-heatmap/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/src/images/transportation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-heatmap/src/images/transportation.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-heatmap/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/src/images/example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-histogram/src/images/example1.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/src/images/example2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-histogram/src/images/example2.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/src/images/example3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-histogram/src/images/example3.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-histogram/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-histogram/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-histogram/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-horizon/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-horizon", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Horizon", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3-array": "^2.0.3", 34 | "d3-scale": "^3.0.1", 35 | "prop-types": "^15.6.2" 36 | }, 37 | "peerDependencies": { 38 | "react": "^15 || ^16" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-horizon/src/images/Horizon_Chart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-horizon/src/images/Horizon_Chart.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-horizon/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-horizon/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-horizon/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-horizon/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-horizon/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-map-box", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - MapBox", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "mapbox-gl": "^0.53.0", 34 | "prop-types": "^15.6.2", 35 | "react-map-gl": "^4.0.10", 36 | "supercluster": "^4.1.1", 37 | "viewport-mercator-project": "^6.1.1" 38 | }, 39 | "peerDependencies": { 40 | "react": "^15 || ^16" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/src/MapBox.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | .mapbox .slice_container div { 20 | padding-top: 0px; 21 | } 22 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/src/images/MapBox.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-map-box/src/images/MapBox.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/src/images/MapBox2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-map-box/src/images/MapBox2.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-map-box/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-map-box/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-map-box/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-paired-t-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-paired-t-test", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Paired T Test", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "distributions": "^1.0.0", 34 | "prop-types": "^15.6.2", 35 | "reactable": "^1.1.0" 36 | }, 37 | "peerDependencies": { 38 | "react": "^15 || ^16" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-paired-t-test/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-paired-t-test/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-paired-t-test/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-paired-t-test/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-paired-t-test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-parallel-coordinates/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-parallel-coordinates", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Parallel Coordinates", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "prop-types": "^15.7.2" 35 | }, 36 | "peerDependencies": { 37 | "react": "^16.13.1" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-parallel-coordinates/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-parallel-coordinates/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-parallel-coordinates/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-parallel-coordinates/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-parallel-coordinates/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src", 6 | "allowJs": false 7 | }, 8 | "exclude": [ 9 | "lib", 10 | "test" 11 | ], 12 | "extends": "../../tsconfig.json", 13 | "include": [ 14 | "src/**/*", 15 | "types/**/*", 16 | "../../types/**/*" 17 | ], 18 | "references": [ 19 | { 20 | "path": "../../packages/superset-ui-chart-controls" 21 | }, 22 | { 23 | "path": "../../packages/superset-ui-core" 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-partition", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Partition", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "d3-hierarchy": "^1.1.8", 35 | "prop-types": "^15.6.2" 36 | }, 37 | "peerDependencies": { 38 | "react": "^16.13.1" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/src/ReactPartition.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './Partition'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-partition/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-partition/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-partition/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-pivot-table/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-pivot-table", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Pivot Table", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "datatables.net-bs": "^1.11.3", 35 | "prop-types": "^15.6.2" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-pivot-table/src/ReactPivotTable.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './PivotTable'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-pivot-table/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-pivot-table/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-pivot-table/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-pivot-table/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-pivot-table/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-rose/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-rose", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Nightingale Rose Diagram", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "nvd3": "1.8.6", 35 | "prop-types": "^15.6.2" 36 | }, 37 | "peerDependencies": { 38 | "react": "^16.13.1" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-rose/src/ReactRose.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './Rose'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-rose/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-rose/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-rose/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-rose/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-rose/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey-loop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-sankey-loop", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Sankey Diagram with Loops", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3-sankey-diagram": "^0.7.3", 34 | "d3-selection": "^1.4.0", 35 | "prop-types": "^15.6.2" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey-loop/src/ReactSankeyLoop.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './SankeyLoop'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey-loop/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey-loop/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey-loop/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey-loop/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey-loop/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-sankey", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Sankey Diagram", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "d3-sankey": "^0.4.2", 35 | "prop-types": "^15.6.2" 36 | }, 37 | "peerDependencies": { 38 | "react": "^16.13.1" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/src/images/Sankey.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey/src/images/Sankey.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/src/images/Sankey2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey/src/images/Sankey2.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sankey/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sankey/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-sunburst", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Sunburst", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "prop-types": "^15.6.2" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/src/ReactSunburst.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './Sunburst'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/src/images/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sunburst/src/images/example.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sunburst/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-sunburst/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-sunburst/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-time-table/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-time-table/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-time-table/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-time-table/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-time-table/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-time-table/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | declare module '@data-ui/sparkline'; 22 | declare module 'reactable-arc'; 23 | declare module 'mustache'; 24 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-treemap", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Treemap", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3-hierarchy": "^1.1.8", 34 | "d3-selection": "^1.4.0", 35 | "prop-types": "^15.6.2" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/ReactTreemap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './Treemap'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/Treemap.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/Treemap.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/Treemap2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/Treemap2.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/Treemap3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/Treemap3.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/Treemap4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/Treemap4.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-treemap/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-treemap/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-world-map", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - World Map", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/chart-controls": "0.18.25", 32 | "@superset-ui/core": "0.18.25", 33 | "d3": "^3.5.17", 34 | "d3-array": "^2.4.0", 35 | "d3-color": "^1.4.1", 36 | "datamaps": "^0.5.8", 37 | "prop-types": "^15.6.2" 38 | }, 39 | "peerDependencies": { 40 | "react": "^16.13.1" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/src/images/WorldMap1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-world-map/src/images/WorldMap1.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/src/images/WorldMap2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-world-map/src/images/WorldMap2.jpg -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-world-map/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-plugin-chart-world-map/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-plugin-chart-world-map/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-preset-chart-big-number", 3 | "version": "0.18.25", 4 | "description": "Superset Legacy Chart - Big Number", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@data-ui/xy-chart": "^0.0.84", 32 | "@superset-ui/chart-controls": "0.18.25", 33 | "@superset-ui/core": "0.18.25", 34 | "@types/d3-color": "^1.2.2", 35 | "@types/shortid": "^0.0.29", 36 | "d3-color": "^1.2.3", 37 | "shortid": "^2.2.14" 38 | }, 39 | "peerDependencies": { 40 | "react": "^15 || ^16" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumber/images/Big_Number_Trendline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumber/images/Big_Number_Trendline.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumber/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumber/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumber/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumber/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/BigNumber.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/BigNumber.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/BigNumber2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/BigNumber2.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-big-number/src/BigNumberTotal/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export { default as BigNumberChartPlugin } from './BigNumber/index'; 21 | export { default as BigNumberTotalChartPlugin } from './BigNumberTotal/index'; 22 | export { default as BigNumberChartPreset } from './preset'; 23 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/src/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | declare module '@data-ui/xy-chart'; 20 | declare module '*.png'; 21 | declare module '*.jpg'; 22 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-big-number/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/example1.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/example2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/example2.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/example3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/example3.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/example4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/example4.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Area/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Area/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart2.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bar/images/Time_Series_Bar_Chart3.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bar/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bar/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bar/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bar/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/BoxPlot/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/BoxPlot/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/BoxPlot/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/BoxPlot/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bubble/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bubble/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bubble/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bubble/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bullet/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bullet/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Bullet/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Bullet/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Compare/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Compare/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Compare/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Compare/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DistBar/images/BarChart3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DistBar/images/BarChart3.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DistBar/images/Bar_Chart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DistBar/images/Bar_Chart.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DistBar/images/Bar_Chart_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DistBar/images/Bar_Chart_2.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DistBar/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DistBar/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DistBar/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DistBar/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DualLine/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DualLine/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/DualLine/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/DualLine/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Line/images/LineChart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Line/images/LineChart.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Line/images/LineChart2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Line/images/LineChart2.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Line/images/battery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Line/images/battery.jpg -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Line/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Line/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Line/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Line/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/LineMulti/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/LineMulti/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/LineMulti/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/LineMulti/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Pie/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Pie/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/Pie/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/Pie/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/TimePivot/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/TimePivot/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/TimePivot/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/legacy-preset-chart-nvd3/src/TimePivot/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/src/utils/isTruthy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export default function isTruthy(obj) { 20 | if (typeof obj === 'boolean') { 21 | return obj; 22 | } 23 | if (typeof obj === 'string') { 24 | return ['yes', 'y', 'true', 't', '1'].includes(obj.toLowerCase()); 25 | } 26 | 27 | return !!obj; 28 | } 29 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/legacy-preset-chart-nvd3/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/plugin-chart-echarts", 3 | "version": "0.18.25", 4 | "description": "Superset Chart - Echarts", 5 | "sideEffects": false, 6 | "main": "lib/index.js", 7 | "module": "esm/index.js", 8 | "files": [ 9 | "esm", 10 | "lib" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/apache-superset/superset-ui.git" 15 | }, 16 | "keywords": [ 17 | "superset" 18 | ], 19 | "author": "Superset", 20 | "license": "Apache-2.0", 21 | "bugs": { 22 | "url": "https://github.com/apache-superset/superset-ui/issues" 23 | }, 24 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 25 | "publishConfig": { 26 | "access": "public" 27 | }, 28 | "dependencies": { 29 | "@superset-ui/chart-controls": "0.18.25", 30 | "@superset-ui/core": "0.18.25", 31 | "d3-array": "^1.2.0", 32 | "echarts": "^5.2.2", 33 | "lodash": "^4.17.15" 34 | }, 35 | "peerDependencies": { 36 | "react": "^16.13.1" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/BoxPlot/images/BoxPlot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/BoxPlot/images/BoxPlot.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/BoxPlot/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/BoxPlot/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Funnel/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Funnel/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Gauge/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Gauge/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Graph/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Graph/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/MixedTimeseries/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/MixedTimeseries/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Pie/images/Pie1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Pie/images/Pie1.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Pie/images/Pie2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Pie/images/Pie2.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Pie/images/Pie3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Pie/images/Pie3.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Pie/images/Pie4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Pie/images/Pie4.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Pie/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Pie/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Radar/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Radar/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Area/images/Area1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Area/images/Area1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Area/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Area/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar2.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/Bar3.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/Line1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/Line1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/Line2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/Line2.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Line/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Scatter/images/Scatter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Scatter/images/Scatter1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/Scatter/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/Scatter/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/SmoothLine/images/SmoothLine1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/SmoothLine/images/SmoothLine1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Regular/SmoothLine/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Regular/SmoothLine/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Step/images/Step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Step/images/Step1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Step/images/Step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Step/images/Step2.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/Step/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/Step/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/images/Time-series_Chart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/images/Time-series_Chart.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Timeseries/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Timeseries/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Tree/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Tree/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Tree/images/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Tree/images/tree.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Treemap/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Treemap/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Treemap/images/treemap_v2_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Treemap/images/treemap_v2_1.png -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/src/Treemap/images/treemap_v2_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-echarts/src/Treemap/images/treemap_v2_2.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": "../../../packages/superset-ui-chart-controls" 17 | }, 18 | { 19 | "path": "../../../packages/superset-ui-core" 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-echarts/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png' { 21 | const value: any; 22 | export default value; 23 | } 24 | 25 | declare module '*.jpg'; 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-pivot-table/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-pivot-table/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-pivot-table/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-pivot-table/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png' { 21 | const value: any; 22 | export default value; 23 | } 24 | -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/DataTable/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Superset UI Data Table 21 | 22 | Reusable data table based on [react-table](https://github.com/tannerlinsley/react-table), with 23 | built-in support for sorting, filtering, and pagination. 24 | 25 | Intended to be used as a standalone UI component in the future. 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/DataTable/index.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | export * from './hooks/useSticky'; 20 | export * from './components/GlobalFilter'; 21 | export * from './components/Pagination'; 22 | export * from './components/SelectPageSize'; 23 | export * from './DataTable'; 24 | 25 | export { default } from './DataTable'; 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/images/Table.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/images/Table.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/images/Table2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/images/Table2.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/images/Table3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/images/Table3.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-table/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/plugin-chart-table/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "../../../" 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/plugin-chart-table/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*", 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-table/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | declare module '*.jpg'; 22 | declare module 'regenerator-runtime/runtime'; 23 | -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/src/chart/Encoder.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/src/images/Word_Cloud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-word-cloud/src/images/Word_Cloud.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/src/images/Word_Cloud_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-word-cloud/src/images/Word_Cloud_2.jpg -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-word-cloud/src/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-word-cloud/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/plugin-chart-word-cloud/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | declare module '*.jpg'; 22 | -------------------------------------------------------------------------------- /plugins/preset-chart-xy/src/BoxPlot/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/preset-chart-xy/src/BoxPlot/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/preset-chart-xy/src/Line/ChartFormData.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { QueryFormData } from '@superset-ui/core'; 21 | import { FormDataProps } from '../components/Line/Line'; 22 | 23 | type CombinedFormData = QueryFormData & FormDataProps; 24 | 25 | // eslint-disable-next-line no-undef 26 | export default CombinedFormData; 27 | -------------------------------------------------------------------------------- /plugins/preset-chart-xy/src/Line/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/preset-chart-xy/src/Line/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/preset-chart-xy/src/Line/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/preset-chart-xy/src/Line/images/thumbnailLarge.png -------------------------------------------------------------------------------- /plugins/preset-chart-xy/src/ScatterPlot/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/preset-chart-xy/src/ScatterPlot/images/thumbnail.png -------------------------------------------------------------------------------- /plugins/preset-chart-xy/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /plugins/preset-chart-xy/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /plugins/preset-chart-xy/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png' { 21 | const value: any; 22 | export default value; 23 | } 24 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | module.exports = { 20 | singleQuote: true, 21 | trailingComma: 'all', 22 | arrowParens: 'avoid', 23 | }; 24 | -------------------------------------------------------------------------------- /scripts/tsc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | startTime=$(node -e 'console.log(Date.now())') 19 | tscExitCode=$(tsc "$@") 20 | duration=$(node -e "console.log('%ss', (Date.now() - $startTime) / 1000)") 21 | 22 | if [ ! "$tscExitCode" ]; then 23 | echo "compiled in ${duration}" 24 | else 25 | exit "$tscExitCode" 26 | fi 27 | -------------------------------------------------------------------------------- /temporary-plugins/README.md: -------------------------------------------------------------------------------- 1 | # @superset-ui/plugins 🔌💡 2 | 3 | This directory hold code of the plugins that are migrated from `@superset-ui-plugins` repo. We copy 4 | them all over in one pass to preserve git history. The code in this directory will not be built, 5 | tested, or published yet. They will have to be moved to the `plugins` directory first. 6 | -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/legacy-plugin-chart-word-cloud", 3 | "version": "0.11.15", 4 | "description": "Superset Legacy Chart - Word Cloud", 5 | "sideEffects": [ 6 | "*.css" 7 | ], 8 | "main": "lib/index.js", 9 | "module": "esm/index.js", 10 | "files": [ 11 | "esm", 12 | "lib" 13 | ], 14 | "repository": { 15 | "type": "git", 16 | "url": "git+https://github.com/apache-superset/superset-ui.git" 17 | }, 18 | "keywords": [ 19 | "superset" 20 | ], 21 | "author": "Superset", 22 | "license": "Apache-2.0", 23 | "bugs": { 24 | "url": "https://github.com/apache-superset/superset-ui/issues" 25 | }, 26 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 27 | "publishConfig": { 28 | "access": "public" 29 | }, 30 | "dependencies": { 31 | "@superset-ui/core": "^0.14.22", 32 | "@superset-ui/chart-controls": "^0.14.22", 33 | "d3": "^3.5.17", 34 | "d3-cloud": "^1.2.1", 35 | "prop-types": "^15.6.2" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/src/ReactWordCloud.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { reactify } from '@superset-ui/core'; 20 | import Component from './WordCloud'; 21 | 22 | export default reactify(Component); 23 | -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/src/images/thumbnail.png -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/src/images/thumbnailLarge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/temporary-plugins/hold-potentially-deprecate/superset-ui-legacy-plugin-chart-word-cloud/src/images/thumbnailLarge.png -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-plugin-chart-table/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@superset-ui/plugin-chart-table", 3 | "version": "0.11.15", 4 | "description": "Superset Chart - Table", 5 | "sideEffects": false, 6 | "main": "lib/index.js", 7 | "module": "esm/index.js", 8 | "files": [ 9 | "esm", 10 | "lib" 11 | ], 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/apache-superset/superset-ui.git" 15 | }, 16 | "keywords": [ 17 | "superset" 18 | ], 19 | "author": "Superset", 20 | "license": "Apache-2.0", 21 | "bugs": { 22 | "url": "https://github.com/apache-superset/superset-ui/issues" 23 | }, 24 | "homepage": "https://github.com/apache-superset/superset-ui#readme", 25 | "publishConfig": { 26 | "access": "public" 27 | }, 28 | "dependencies": { 29 | "@airbnb/lunar": "^2.35.0", 30 | "@airbnb/lunar-icons": "^2.1.4", 31 | "@superset-ui/core": "^0.14.22", 32 | "@superset-ui/chart-controls": "^0.14.22", 33 | "@types/dompurify": "^2.0.0", 34 | "dompurify": "^2.0.6", 35 | "reselect": "^4.0.0" 36 | }, 37 | "peerDependencies": { 38 | "react": "^16.8.6" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-plugin-chart-table/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/temporary-plugins/hold-potentially-deprecate/superset-ui-plugin-chart-table/src/images/thumbnail.png -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-plugin-chart-table/src/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export type PlainObject = { 21 | [key: string]: any; 22 | }; 23 | -------------------------------------------------------------------------------- /temporary-plugins/hold-potentially-deprecate/superset-ui-plugin-chart-table/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/src/images/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache-superset/superset-ui/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/temporary-plugins/plugin-chart-choropleth-map/src/images/thumbnail.png -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/src/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | export { default as ChoroplethMapChartPlugin } from './plugin'; 21 | export { maps, mapsLookup } from './maps'; 22 | export { default as configureEncodable } from './configureEncodable'; 23 | -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/test/index.test.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { ChoroplethMapChartPlugin } from '../src'; 21 | 22 | describe('@superset-ui/plugin-chart-choropleth-map', () => { 23 | it('exists', () => { 24 | expect(ChoroplethMapChartPlugin).toBeDefined(); 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/test/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": false, 4 | "emitDeclarationOnly": false, 5 | "noEmit": true, 6 | "rootDir": "." 7 | }, 8 | "extends": "../../../tsconfig.json", 9 | "include": [ 10 | "**/*", 11 | "../types/**/*", 12 | "../../../types/**/*" 13 | ], 14 | "references": [ 15 | { 16 | "path": ".." 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "declarationDir": "lib", 4 | "outDir": "lib", 5 | "rootDir": "src" 6 | }, 7 | "exclude": [ 8 | "lib", 9 | "test" 10 | ], 11 | "extends": "../../tsconfig.json", 12 | "include": [ 13 | "src/**/*", 14 | "types/**/*", 15 | "../../types/**/*" 16 | ], 17 | "references": [ 18 | { 19 | "path": "../../packages/superset-ui-chart-controls" 20 | }, 21 | { 22 | "path": "../../packages/superset-ui-core" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /temporary-plugins/plugin-chart-choropleth-map/types/external.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | declare module '*.png'; 21 | -------------------------------------------------------------------------------- /temporary-plugins/setupJest.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | import { configure as configureTranslation } from '@superset-ui/core'; 21 | import { configure as configureEnzyme } from 'enzyme'; 22 | import EnzymeReactAdapter from 'enzyme-adapter-react-16'; 23 | 24 | configureTranslation(); 25 | configureEnzyme({ adapter: new EnzymeReactAdapter() }); 26 | -------------------------------------------------------------------------------- /temporary-plugins/superset-ui-plugins-demo/.storybook/addons.js: -------------------------------------------------------------------------------- 1 | // note that the import order here determines the order in the UI! 2 | import '@storybook/addon-knobs/register'; 3 | import '@storybook/addon-actions/register'; 4 | import '@storybook/addon-links/register'; 5 | import 'storybook-addon-jsx/register'; 6 | -------------------------------------------------------------------------------- /temporary-plugins/superset-ui-plugins-demo/.storybook/config.js: -------------------------------------------------------------------------------- 1 | import { addParameters, configure } from '@storybook/react'; 2 | 3 | addParameters({ 4 | options: { 5 | name: '@superset-ui/plugins 🔌💡', 6 | addonPanelInRight: false, 7 | enableShortcuts: false, 8 | goFullScreen: false, 9 | hierarchyRootSeparator: null, 10 | hierarchySeparator: /\|/, 11 | selectedAddonPanel: undefined, // The order of addons in the "Addon panel" is the same as you import them in 'addons.js'. The first panel will be opened by default as you run Storybook 12 | showAddonPanel: true, 13 | showSearchBox: false, 14 | showStoriesPanel: true, 15 | sidebarAnimations: true, 16 | sortStoriesByKind: false, 17 | url: '#', 18 | }, 19 | }); 20 | 21 | function loadStorybook() { 22 | require('./storybook.css'); 23 | require('../storybook/stories'); // all of the stories 24 | } 25 | 26 | configure(loadStorybook, module); 27 | -------------------------------------------------------------------------------- /temporary-plugins/superset-ui-plugins-demo/.storybook/storybook.css: -------------------------------------------------------------------------------- 1 | html, 2 | body, 3 | #root { 4 | height: 100%; 5 | font-family: BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif; 6 | font-weight: 200; 7 | color: #484848; 8 | } 9 | #root > div { 10 | padding: 8px; 11 | } 12 | 13 | #root > div.superset-body { 14 | background: #f5f5f5; 15 | padding: 16px; 16 | min-height: 100%; 17 | } 18 | #root > div.superset-body .panel { 19 | margin-bottom: 0; 20 | } 21 | -------------------------------------------------------------------------------- /test/__mocks__/mockExportObject.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | module.exports = {}; 20 | -------------------------------------------------------------------------------- /test/__mocks__/mockExportString.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | module.exports = 'test-file-stub'; 20 | -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | import { configure } from 'enzyme'; 20 | import Adapter from 'enzyme-adapter-react-16'; 21 | import CacheStorage from './shims/CacheStorage'; 22 | 23 | // @ts-ignore 24 | global.caches = new CacheStorage(); 25 | 26 | configure({ adapter: new Adapter() }); 27 | -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": [ 4 | "types/**/*", 5 | "packages/*/src/**/*", 6 | "packages/*/test/**/*", 7 | "packages/*/types/**/*", 8 | "plugins/*/src/**/*", 9 | "plugins/*/test/**/*", 10 | "plugins/*/types/**/*" 11 | ] 12 | } 13 | --------------------------------------------------------------------------------