mirror of
https://github.com/apache/superset.git
synced 2026-04-10 20:06:13 +00:00
* Change in files * Renamin files and folders * cleaning up a single piece of lint * Removing boat picture from docs * add superset word mark * Update rename note in docs * Fixing images * Pinning datatables * Fixing issues with mapbox-gl * Forgot to rename one file * Linting * v0.13.0 * adding pyyaml to dev-reqs
49 lines
936 B
JavaScript
49 lines
936 B
JavaScript
import React from 'react';
|
|
import TimeFilter from './components/TimeFilter';
|
|
import ChartControl from './components/ChartControl';
|
|
import GroupBy from './components/GroupBy';
|
|
import SqlClause from './components/SqlClause';
|
|
import Filters from './components/Filters';
|
|
import NotGroupBy from './components/NotGroupBy';
|
|
import Options from './components/Options';
|
|
|
|
export const sinceOptions = [
|
|
'1 hour ago',
|
|
'12 hours ago',
|
|
'1 day ago',
|
|
'7 days ago',
|
|
'28 days ago',
|
|
'90 days ago',
|
|
'1 year ago',
|
|
];
|
|
|
|
export const untilOptions = [
|
|
'now',
|
|
'1 day ago',
|
|
'7 days ago',
|
|
'28 days ago',
|
|
'90 days ago',
|
|
'1 year ago',
|
|
];
|
|
|
|
export const DefaultControls = (
|
|
<div>
|
|
<ChartControl />
|
|
<TimeFilter />
|
|
<GroupBy />
|
|
<SqlClause />
|
|
<Filters />
|
|
</div>
|
|
);
|
|
|
|
export const TableVizControls = (
|
|
<div>
|
|
<NotGroupBy />
|
|
<Options />
|
|
</div>
|
|
);
|
|
|
|
export const VIZ_CONTROL_MAPPING = {
|
|
table: TableVizControls,
|
|
};
|