"use strict";

exports.__esModule = true;
exports.BannerType = exports.BannerFields = void 0;

var _base = require("@sentecacommerce-theme/base");

var BannerFields = {
  images: _base.FieldTypeFactory.list({
    of: {
      imageDesktop: _base.FieldTypeFactory.image({
        required: true
      }),
      imageDesktopWidth: _base.FieldTypeFactory.number({
        required: false
      }),
      imageDesktopHeight: _base.FieldTypeFactory.number({
        required: false
      }),
      image: _base.FieldTypeFactory.image({
        required: false,
        label: 'Mobile Image'
      }),
      imageWidth: _base.FieldTypeFactory.number({
        required: false,
        label: 'Mobile Image Width'
      }),
      imageHeight: _base.FieldTypeFactory.number({
        required: false,
        label: 'Mobile Image Height'
      }),
      title: _base.FieldTypeFactory.text({
        required: false
      }),
      description: _base.FieldTypeFactory.text({
        required: false
      }),
      pushFromTopDesktop: _base.FieldTypeFactory.text({
        required: false
      }),
      pushFromLeftDesktop: _base.FieldTypeFactory.text({
        required: false
      }),
      imageUrl: _base.FieldTypeFactory.text({
        required: false
      }),
      button: {
        label: _base.FieldTypeFactory.text({
          required: false
        }),
        link: _base.FieldTypeFactory.text({
          required: false
        })
      }
    }
  })
};
exports.BannerFields = BannerFields;

var BannerType = _base.ComponentTypeFactory.create('Banner', BannerFields);

exports.BannerType = BannerType;
//# sourceMappingURL=banner.type.js.map