<?php
return [
    'check-email-to-reading' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckEmailToReading',
    ],
    'check-email-to-opening' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckEmailToDelivered',
    ],
    'check-email-to-unsubscribed' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckEmailToUnsubscribed',
    ],
    'check-user-to-registration' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckUserToRegistration',
    ],
    'user-successfully-completed-the-test' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\UserSuccessfullyCompletedTheTest',
    ],
    'user-unsuccessfully-completed-the-test' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\UserUnsuccessfullyCompletedTheTest',
    ],
    'user-check-scrolling' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckScrolling',
        'params' => [
            'percent' => [
                'placeholder' => 'Процент скролла',
                'type' => 'text'
            ],
            'url' => [
                'placeholder' => 'Ссылка',
                'type' => 'text'
            ]
        ]
    ],
    'check-clicking-on-the-link' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckClickingOnTheLink',
        'params' => [
            'link' => [
                'placeholder' => 'Ссылка',
                'type' => 'text'
            ]
        ]
    ],
    'user-presence-time' => [
        'class' => 'common\modules\triggers\components\conditions\conditions\CheckPresenceTime',
        'params' => [
            'url' => [
                'placeholder' => 'URL страницы',
                'type' => 'text'
            ],
            'time' => [
                'placeholder' => 'Время (секунд)',
                'type' => 'text'
            ]
        ]
    ]
];