<commit_before># WellCommerce Open-Source E-Commerce Platform
#
# This file is part of the WellCommerce package.
# (c) <NAME> <<EMAIL>>
#
# For the full copyright and license information,
# please view the LICENSE file that was distributed with this source code.

services:
    form.data_transformer.collection:
        class: WellCommerce\Component\Form\DataTransformer\DataTransformerCollection

    form.data_transformer.factory:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\DataTransformerFactory
        arguments: ['@form.data_transformer.collection']
        calls:
            - [setContainer, ['@service_container']]

    form.collection.data_transformer:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\CollectionToArrayTransformer
        tags:
            - { name: form.data_transformer, alias: collection }
        arguments: ['@doctrine.helper']
        shared: false

    form.entity.data_transformer:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\EntityToIdentifierTransformer
        tags:
            - { name: form.data_transformer, alias: entity }
        arguments: ['@doctrine.helper']
        shared: false

    form.formatter.javascript:
        class: WellCommerce\Component\Form\Formatter\JavascriptFormatter

    form.property_accessor:
        class: Symfony\Component\PropertyAccess\PropertyAccess
        factory: [Symfony\Component\PropertyAccess\PropertyAccess, createPropertyAccessor]

    form.data_mapper:
        class: WellCommerce\Component\Form\DataMapper\FormDataMapper
        arguments: ['@form.property_accessor']

    form.request_handler:
        class: WellCommerce\Component\Form\Request\FormRequestHandler
        arguments: ['@request_stack']

    form.constraints_mapper:
        class: WellCommerce\Component\Form\Validator\ConstraintViolationMapper

    form.validator:
        class: WellCommerce\Component\Form\Validator\FormValidator
        arguments: ['@validator', '@form.constraints_mapper']

    form.handler:
        class: WellCommerce\Component\Form\Handler\FormHandler
        arguments: ['@event_dispatcher', '@form.data_mapper', '@form.validator', '@form.request_handler']
        shared: false

    form.resolver.factory:
        class: WellCommerce\Component\Form\Resolver\FormResolverFactory

    form.resolver.element:
        class: WellCommerce\Component\Form\Resolver\ElementResolver
        tags:
            - { name: form.resolver, type: element }

    form.resolver.filter:
        class: WellCommerce\Component\Form\Resolver\FilterResolver
        tags:
            - { name: form.resolver, type: filter }

    form.resolver.dependency:
        class: WellCommerce\Component\Form\Resolver\DependencyResolver
        tags:
            - { name: form.resolver, type: dependency }

    form.resolver.rule:
        class: WellCommerce\Component\Form\Resolver\RuleResolver
        tags:
            - { name: form.resolver, type: rule }

    form.element.form:
        class: WellCommerce\Component\Form\Elements\Form
        tags:
            - { name: form.element, alias: form }
        shared: false

    form.element.attribute_editor:
        class: WellCommerce\Component\Form\Elements\Editor\AttributeEditor
        tags:
            - { name: form.element, alias: attribute_editor }
        shared: false

    form.element.distinction_editor:
        class: WellCommerce\Component\Form\Elements\Editor\DistinctionEditor
        tags:
            - { name: form.element, alias: distinction_editor }
        shared: false

    form.element.text_field:
        class: WellCommerce\Component\Form\Elements\Input\TextField
        tags:
            - { name: form.element, alias: text_field }
        shared: false

    form.element.slug_field:
        class: WellCommerce\Component\Form\Elements\Input\SlugField
        tags:
            - { name: form.element, alias: slug_field }
        shared: false

    form.element.date:
        class: WellCommerce\Component\Form\Elements\Input\Date
        tags:
            - { name: form.element, alias: date }
        shared: false

    form.element.date_time:
        class: WellCommerce\Component\Form\Elements\Input\DateTime
        tags:
            - { name: form.element, alias: date_time }
        shared: false<commit_msg>Added ColourPicker form component<commit_after># WellCommerce Open-Source E-Commerce Platform
#
# This file is part of the WellCommerce package.
# (c) <NAME> <<EMAIL>>
#
# For the full copyright and license information,
# please view the LICENSE file that was distributed with this source code.

services:
    form.data_transformer.collection:
        class: WellCommerce\Component\Form\DataTransformer\DataTransformerCollection

    form.data_transformer.factory:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\DataTransformerFactory
        arguments: ['@form.data_transformer.collection']
        calls:
            - [setContainer, ['@service_container']]

    form.collection.data_transformer:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\CollectionToArrayTransformer
        tags:
            - { name: form.data_transformer, alias: collection }
        arguments: ['@doctrine.helper']
        shared: false

    form.entity.data_transformer:
        class: WellCommerce\Bundle\CoreBundle\Form\DataTransformer\EntityToIdentifierTransformer
        tags:
            - { name: form.data_transformer, alias: entity }
        arguments: ['@doctrine.helper']
        shared: false

    form.formatter.javascript:
        class: WellCommerce\Component\Form\Formatter\JavascriptFormatter

    form.property_accessor:
        class: Symfony\Component\PropertyAccess\PropertyAccess
        factory: [Symfony\Component\PropertyAccess\PropertyAccess, createPropertyAccessor]

    form.data_mapper:
        class: WellCommerce\Component\Form\DataMapper\FormDataMapper
        arguments: ['@form.property_accessor']

    form.request_handler:
        class: WellCommerce\Component\Form\Request\FormRequestHandler
        arguments: ['@request_stack']

    form.constraints_mapper:
        class: WellCommerce\Component\Form\Validator\ConstraintViolationMapper

    form.validator:
        class: WellCommerce\Component\Form\Validator\FormValidator
        arguments: ['@validator', '@form.constraints_mapper']

    form.handler:
        class: WellCommerce\Component\Form\Handler\FormHandler
        arguments: ['@event_dispatcher', '@form.data_mapper', '@form.validator', '@form.request_handler']
        shared: false

    form.resolver.factory:
        class: WellCommerce\Component\Form\Resolver\FormResolverFactory

    form.resolver.element:
        class: WellCommerce\Component\Form\Resolver\ElementResolver
        tags:
            - { name: form.resolver, type: element }

    form.resolver.filter:
        class: WellCommerce\Component\Form\Resolver\FilterResolver
        tags:
            - { name: form.resolver, type: filter }

    form.resolver.dependency:
        class: WellCommerce\Component\Form\Resolver\DependencyResolver
        tags:
            - { name: form.resolver, type: dependency }

    form.resolver.rule:
        class: WellCommerce\Component\Form\Resolver\RuleResolver
        tags:
            - { name: form.resolver, type: rule }

    form.element.form:
        class: WellCommerce\Component\Form\Elements\Form
        tags:
            - { name: form.element, alias: form }
        shared: false

    form.element.attribute_editor:
        class: WellCommerce\Component\Form\Elements\Editor\AttributeEditor
        tags:
            - { name: form.element, alias: attribute_editor }
        shared: false

    form.element.distinction_editor:
        class: WellCommerce\Component\Form\Elements\Editor\DistinctionEditor
        tags:
            - { name: form.element, alias: distinction_editor }
        shared: false

    form.element.text_field:
        class: WellCommerce\Component\Form\Elements\Input\TextField
        tags:
            - { name: form.element, alias: text_field }
        shared: false

    form.element.colour_picker:
        class: WellCommerce\Component\Form\Elements\Input\ColourPicker
        tags:
            - { name: form.element, alias: colour_picker }
        shared: false

    form.element.slug_field:
        class: WellCommerce\Component\Form\Elements\Input\SlugField
        tags:
            - { name: form.element, alias: slug_field }
        shared: false

    form.element.date:
        class: WellCommerce\Component\Form\Elements\Input\Date
        tags:
            - { name: form.element, alias: date }
        shared: false

    form.element.date_time:
        class: WellCommerce\Component\Form\Elements\Input\DateTime
        tags:
            - { name: form.element, alias: date_time }
        shared: false
{'fraction_non_alphanumeric': 0.09424793762007007, 'fraction_numerical': 0.0, 'mean_word_length': 2.6921151439299122, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2627844', 'n_tokens_mistral': 2414, 'n_tokens_neox': 2371, 'n_words': 440}