<?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-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'
            ]
        ]
    ]
];