import './component';
import './config';

const Criteria = Shopware.Data.Criteria;
const criteria = new Criteria();

Shopware.Service('cmsService').registerCmsElement({
    name: 'bc-image-slider',
    label: 'sw-cms.config.bc-image-slider.label',
    component: 'sw-cms-el-bc-image-slider',
    configComponent: 'sw-cms-el-config-bc-image-slider',
    defaultConfig: {

        alignContent1: {
            value: null,
            source: 'static',
            required: true,
        },
        alignContent2: {
            value: null,
            source: 'static'
        },
        alignContent3: {
            value: null,
            source: 'static'
        },
        slideImage1: {
            value: null,
            source: 'static',
            required: true,

        },
        mainTitle1: {
            value: null,
            source: 'static',
            required: true,
        },
        subTitle1: {
            value: null,
            source: 'static',
            required: true,
        },
        buttonText1: {
            value: null,
            source: 'static',
            required: true,
        },
        link1: {
            value: null,
            source: 'static'
        },
        slideImage2: {
            value: null,
            source: 'static'
        },
        mainTitle2: {
            value: null,
            source: 'static'
        },
        subTitle2: {
            value: null,
            source: 'static'
        },
        buttonText2: {
            value: null,
            source: 'static'
        },
        link2: {
            value: null,
            source: 'static'
        },
        slideImage3: {
            value: null,
            source: 'static'
        },
        mainTitle3: {
            value: null,
            source: 'static'
        },
        subTitle3: {
            value: null,
            source: 'static'
        },
        buttonText3: {
            value: null,
            source: 'static'
        },
        link3: {
            value: null,
            source: 'static'
        },
        titleColorSlide1: {
            required: true,
            value: '#000',
            source: 'static'
        },
        subTitleColorSlide1: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonBgColorSlide1: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonTxtColorSlide1: {
            required: true,
            value: '#fff',
            source: 'static'
        },
        titleColorSlide2: {
            required: true,
            value: '#000',
            source: 'static'
        },
        subTitleColorSlide2: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonBgColorSlide2: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonTxtColorSlide2: {
            required: true,
            value: '#fff',
            source: 'static'
        },
        titleColorSlide3: {
            required: true,
            value: '#000',
            source: 'static'
        },
        subTitleColorSlide3: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonBgColorSlide3: {
            required: true,
            value: '#000',
            source: 'static'
        },
        buttonTxtColorSlide3: {
            required: true,
            value: '#fff',
            source: 'static'
        },
        slideImageResponsive1: {
            value: null,
            source: 'static'
        },
        slideImageResponsive2: {
            value: null,
            source: 'static'
        },
        slideImageResponsive3: {
            value: null,
            source: 'static'
        }

    }
});