GesagtGetan:
  Inquiry:
    viewHelpers:
      partialRootPath: 'resource://GesagtGetan.Inquiry/Private/Partials/'
      templates:
        GesagtGetan\Inquiry\ViewHelpers\Form\InputWithPlaceholderViewHelper: 'resource://GesagtGetan.Inquiry/Private/Templates/ViewHelpers/InputWithPlaceholder.html'
    gdprForget:
      retentionTimeframe: '2 months ago' #see http://php.net/manual/en/datetime.formats.relative.php
      excludedTypes: []

Neos:
  Form:
    presets:
      baseinquiryForm:
        parentPreset: default
        stylesheets:
          css1:
            source: 'resource://GesagtGetan.Inquiry/Public/Styles/styles.css'
        javaScripts:
          frontend:
            source: 'resource://GesagtGetan.Inquiry/Public/JavaScript/frontend_require.js'
        formElementTypes:
          'Neos.Form:Base':
            renderingOptions:
              btnWrapperClass: ''
              btnClass: 'btn--submit btn--primary'
              templatePathPattern: 'resource://GesagtGetan.Inquiry/Private/Form/{@type}.html'
              partialPathPattern: 'resource://GesagtGetan.Inquiry/Private/Form/Partials/{@type}.html'
              layoutPathPattern: 'resource://GesagtGetan.Inquiry/Private/Form/Layouts/{@type}.html'
              translationPackage: GesagtGetan.Inquiry
          'GesagtGetan.Inquiry:TextMixin':
            properties:
              elementClassAttribute: input__field
              labelClassAttribute: input__label
          'GesagtGetan.Inquiry:SingleLineText':
            superTypes:
              - 'Neos.Form:SingleLineText'
              - 'GesagtGetan.Inquiry:TextMixin'
            properties:
              containerClassAttribute: 'input input--singleline input--with-placeholder'
              labelPosition: after
          'GesagtGetan.Inquiry:MultiLineText':
            superTypes:
              - 'Neos.Form:MultiLineText'
              - 'GesagtGetan.Inquiry:TextMixin'
            properties:
              containerClassAttribute: 'input input--multiline input--with-placeholder'
              labelPosition: after
          'GesagtGetan.Inquiry:Spam':
            superTypes:
              - 'Neos.Form:SingleLineText'
            properties:
              containerClassAttribute: 'input input--hidden'
          'GesagtGetan.Inquiry:Checkbox':
            superTypes:
              - 'Neos.Form:Checkbox'
            properties:
              labelPosition: after
              containerClassAttribute: 'input input--checkbox'
              elementClassAttribute: input--checkbox__label-wrapper
          'GesagtGetan.Inquiry:SingleSelectDropdown':
            superTypes:
              - 'Neos.Form:SingleSelectDropdown'
            properties:
              containerClassAttribute: 'input input--select input--singleselect'
          'GesagtGetan.Inquiry:SingleSelectRadiobuttons':
            superTypes:
              - 'Neos.Form:SingleSelectRadiobuttons'
            properties:
              containerClassAttribute: 'input input--select input--singleselect-radio'
          'GesagtGetan.Inquiry:MultipleSelectDropdown':
            superTypes:
              - 'Neos.Form:MultipleSelectDropdown'
            properties:
              containerClassAttribute: 'input input--multiselect'
          'GesagtGetan.Inquiry:MultipleSelectCheckboxes':
            superTypes:
              - 'Neos.Form:MultipleSelectCheckboxes'
            properties:
              containerClassAttribute: 'input input--multicheckbox'
          'GesagtGetan.Inquiry:Wrapper':
            superTypes:
              - 'Neos.Form:Section'
            properties:
              containerClassAttribute: form-wrapper
          'GesagtGetan.Inquiry:Date':
            superTypes:
              - 'Neos.Form:SingleLineText'
            properties:
              containerClassAttribute: 'input input--datepicker input--with-placeholder'
              elementClassAttribute: input__field
              labelClassAttribute: input__label
              labelPosition: after
          'GesagtGetan.Inquiry:Email':
            superTypes:
              - 'Neos.Form:SingleLineText'
            properties:
              containerClassAttribute: 'input input--email input--with-placeholder'
              elementClassAttribute: input__field
              labelClassAttribute: input__label
              labelPosition: after
          'GesagtGetan.Inquiry:Number':
            superTypes:
              - 'Neos.Form:SingleLineText'
            properties:
              containerClassAttribute: 'input input--number input--with-placeholder'
              elementClassAttribute: input__field
              labelClassAttribute: input__label
              labelPosition: after
              step: 1
          'GesagtGetan.Inquiry:FileUpload':
            superTypes:
              - 'Neos.Form:FileUpload'
            implementationClassName: \GesagtGetan\Inquiry\Form\Elements\FileUpload
            properties:
              allowedExtensions:
                - pdf
                - doc
              maximumFileSize: 4096
          'GesagtGetan.Form:SpamProtection':
            superTypes: ['Neos.Form:HiddenField']
            implementationClassName: 'GesagtGetan\Inquiry\Form\Elements\SpamProtection'
            renderingOptions:
              templatePathPattern: 'resource://GesagtGetan.Inquiry/Private/Form/SpamProtection.html'
        checksumfields: 'fistName, lastName'
        duplicates:
          allowed: true
          interval: 600
        searchableFields: 'firstName,lastName,email,fields'
        fields:
          errareHumanumEst:
            label: i18n
            elementType: 'GesagtGetan.Inquiry:Spam'
            default: nolensVolens
            enabled: true
            persist: false
            required: true
            inEmail: false
            position: 99
            validators:
              nolensVolens:
                class: \GesagtGetan\Inquiry\Validation\Validator\SameValueValidator
                options:
                  checkString: nolensVolens
          corpusDelicti:
            label: i18n
            elementType: 'GesagtGetan.Inquiry:Spam'
            enabled: true
            required: false
            persist: false
            inEmail: false
            position: 99
            validators:
              empty:
                class: \GesagtGetan\Inquiry\Validation\Validator\EmptyValidator
        selectTypes:
          typo3SingleSelect: 'Neos.Form:SingleSelectDropdown'
          typo3MultiSelect: 'Neos.Form:MultipleSelectDropdown'
          typo3MultiSelectCheck: 'Neos.Form:MultipleSelectCheckboxes'
          ggSingleSelect: 'GesagtGetan.Inquiry:SingleSelectDropdown'
          ggMultiSelect: 'GesagtGetan.Inquiry:MultipleSelectCheckboxes'
          ggMultiSelectCheck: 'GesagtGetan.Inquiry:MultipleSelectCheckboxes'
          ggSingleSelectRadio: 'GesagtGetan.Inquiry:SingleSelectRadiobuttons'
        datepickerTypes:
          ggPickadate: 'GesagtGetan.Inquiry:Date'
        numberTypes:
          ggPickadate: 'GesagtGetan.Inquiry:Number'
        multiLineTypes:
          - 'GesagtGetan.Inquiry:MultiLineText'
          - 'Neos.Form:MultiLineText'
        sectionTypes:
          typo3Section: 'Neos.Form:Section'
          ggWrapper: 'GesagtGetan.Inquiry:Wrapper'
        finisher:
          repository:
            class: \GesagtGetan\Inquiry\Form\RepositoryFinisher
            position: 0
            options:
              reverseNewsletterBox: false
          email:
            class: \GesagtGetan\Inquiry\Form\EmailFinisher
            position: 10
            options:
              emailBackground: '#FFFFFF'
              bodyBackground: '#FFFFFF'
              templatePathAndFilename: 'resource://GesagtGetan.Inquiry/Private/Templates/Email/EmailLayout.html'
              from: '{email}'
              subject: 'Neue Kontaktanfrage'
              partialRootPath: 'resource://GesagtGetan.Inquiry/Private/Templates/Email/Partials'
              translationPackage: GesagtGetan.Inquiry
              headerText: headerText.text
              greetingsTop: greetingsTop.text
              greetingsBottom: greetingsBottom.text
              footerText: footerText.text
              reverseNewsletterBox: false
          confirmation:
            class: \GesagtGetan\Inquiry\Form\ConfirmationFinisher
            position: 99
            options: null
  Neos:
    userInterface:
      translation:
        autoInclude:
          GesagtGetan.Inquiry:
            - 'NodeTypes/*'
            - Module
            - Main
    modules:
      management:
        submodules:
          inquiry:
            label: 'GesagtGetan.Inquiry:Module:label'
            icon: icon-envelope
            description: 'GesagtGetan.Inquiry:Module:description'
            controller: GesagtGetan\Inquiry\Controller\Module\BackendInquiryController
            hideInMenu: false
            privilegeTarget: 'GesagtGetan.Inquiry:BackendInquiryControllerActions'
            formPreset: baseinquiryForm
  Flow:
    mvc:
      routes:
        'GesagtGetan.Inquiry': true
    security:
      authentication:
        providers:
          'Neos.Neos:Backend':
            requestPatterns:
              'InquiryApiControllerActions':
                pattern: 'ControllerObjectName'
                patternOptions:
                  controllerObjectNamePattern: 'GesagtGetan\Inquiry\Controller\Api\.*'
          'GesagtGetan.SingleSignOn:Backend':
            requestPatterns:
              'InquiryApiControllerActions':
                pattern: 'ControllerObjectName'
                patternOptions:
                  controllerObjectNamePattern: 'GesagtGetan\Inquiry\Controller\Api\.*'
