Sha256: d81837e577058881d44d9058590aa7adfd5472489ff2b9d67a94b34567d9b62c

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';

import './ParameterSelection.scss';
import ParameterSelection from './ParameterSelection';
import * as ParameterSelectionActions from './ParameterSelectionActions';

import {
  selectLoading,
  selectEditMode,
  selectParamData,
  selectAllowedParameterTypes,
  selectParameterTypes,
  selectParameters,
  selectSortingColumns,
  selectColumns,
  selectParamDefinition,
  selectEditParamsRowIndex,
} from './ParameterSelectionSelectors';

const mapStateToProps = state => ({
  loading: selectLoading(state),
  editMode: selectEditMode(state),
  paramData: selectParamData(state),
  allowedParameterTypes: selectAllowedParameterTypes(state),
  parameterTypes: selectParameterTypes(state),
  parameters: selectParameters(state),
  sortingColumns: selectSortingColumns(state),
  columns: selectColumns(state),
  paramDefinition: selectParamDefinition(state),
  editParamsRowIndex: selectEditParamsRowIndex(state),
});

const mapDispatchToProps = dispatch =>
  bindActionCreators(ParameterSelectionActions, dispatch);

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(ParameterSelection);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_acd-0.9.7 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.5 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.4 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.3 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.2.3 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.2.2 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.2.1 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.2 webpack/components/ParameterSelection/index.js
foreman_acd-0.9.1 webpack/components/ParameterSelection/index.js