/** * External dependencies */ import GeneralSettings from './Sidebar/GeneralSettings.js'; import HorizontalAxisSettings from './Sidebar/HorizontalAxisSettings.js'; import VerticalAxisSettings from './Sidebar/VerticalAxisSettings.js'; import PieSettings from './Sidebar/PieSettings.js'; import ResidueSettings from './Sidebar/ResidueSettings.js'; import LinesSettings from './Sidebar/LinesSettings.js'; import BarsSettings from './Sidebar/BarsSettings.js'; import CandlesSettings from './Sidebar/CandlesSettings.js'; import MapSettings from './Sidebar/MapSettings.js'; import ColorAxis from './Sidebar/ColorAxis.js'; import SizeAxis from './Sidebar/SizeAxis.js'; import MagnifyingGlass from './Sidebar/MagnifyingGlass.js'; import GaugeSettings from './Sidebar/GaugeSettings.js'; import TimelineSettings from './Sidebar/TimelineSettings.js'; import TableSettings from './Sidebar/TableSettings.js'; import RowCellSettings from './Sidebar/RowCellSettings.js'; import ComboSettings from './Sidebar/ComboSettings.js'; import SeriesSettings from './Sidebar/SeriesSettings.js'; import SlicesSettings from './Sidebar/SlicesSettings.js'; import ColumnSettings from './Sidebar/ColumnSettings.js'; import LayoutAndChartArea from './Sidebar/LayoutAndChartArea.js'; import FrontendActions from './Sidebar/FrontendActions.js'; import ManualConfiguration from './Sidebar/ManualConfiguration.js'; /** * WordPress dependencies */ const { Component, Fragment } = wp.element; class Sidebar extends Component { constructor() { super( ...arguments ); } render() { const type = this.props.chart['visualizer-chart-type']; return ( { ( -1 >= [ 'table', 'gauge', 'geo', 'pie', 'timeline', 'dataTable' ].indexOf( type ) ) && ( ) } { ( -1 >= [ 'table', 'gauge', 'geo', 'pie', 'timeline', 'dataTable' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'pie' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'area', 'scatter', 'line' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'bar', 'column' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'candlestick' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'geo' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'gauge' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'timeline' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'table', 'dataTable' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'combo' ].indexOf( type ) ) && ( ) } { ( -1 >= [ 'timeline', 'gauge', 'geo', 'pie', 'dataTable' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'pie' ].indexOf( type ) ) && ( ) } { ( 0 <= [ 'dataTable' ].indexOf( type ) ) && ( ) } { ( -1 >= [ 'dataTable' ].indexOf( type ) ) && ( ) } { ( -1 >= [ 'dataTable' ].indexOf( type ) ) && ( ) } ); } } export default Sidebar;