/* eslint-disable camelcase */
import React from 'react';
import PropTypes from 'prop-types';
import { useSelector } from 'react-redux';
import { Form } from '@patternfly/react-core';
import {
selectEffectiveUser,
selectAdvancedTemplateInputs,
selectJobTemplate,
} from '../../JobWizardSelectors';
import { generateDefaultDescription } from '../../JobWizardHelpers';
import {
EffectiveUserField,
TimeoutToKillField,
TimeToPickupField,
PasswordField,
KeyPassphraseField,
EffectiveUserPasswordField,
ConcurrencyLevelField,
TimeSpanLevelField,
TemplateInputsFields,
ExecutionOrderingField,
SSHUserField,
} from './Fields';
import { DescriptionField } from './DescriptionField';
import { WIZARD_TITLES } from '../../JobWizardConstants';
import { WizardTitle } from '../form/WizardTitle';
export const AdvancedFields = ({
templateValues,
advancedValues,
setAdvancedValues,
}) => {
const effectiveUser = useSelector(selectEffectiveUser);
const advancedTemplateInputs = useSelector(selectAdvancedTemplateInputs);
const jobTemplate = useSelector(selectJobTemplate);
return (
<>