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


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

Shopware.Service('cmsService').registerCmsElement({
    name: 'bc-brand-slider',
    label: 'sw-cms.blocks.text-image.bc-brand-slider.title',
    component: 'sw-cms-el-bc-brand-slider',
    configComponent: 'sw-cms-el-config-bc-brand-slider',
    defaultConfig: {
        brands: {
            source: 'static',
            value: [],
            required: true,
            entity: {
                name: 'product_manufacturer',
                criteria: criteria
            }
        },
        title: {
            source: 'static',
            value: "OUR PARTNERS"
        },
        description: {
            source: 'static',
            value: null
        },
        headingColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        descriptionColor: {
            required: true,
            source: 'static',
            value: '#000'
        },
        enableArrowControls: {
            source: 'static',
            value: true
        }
    }
});
