Sha256: 399884dff7e543d5eeedc0bc0bfa16c02c150ca4aa725ec36e627493dabf2c45

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 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

2 entries across 2 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 webpack/components/ParameterSelection/index.js
foreman_acd-0.10.0 webpack/components/ParameterSelection/index.js