# ===============================================================================
# tt_content configuration
# ===============================================================================
tt_content {

	# **********************************************************
	# Assets Inline
	# **********************************************************
	t3sbs_assets =< lib.contentElement
	t3sbs_assets.templateName = AssetsInline
	t3sbs_assets.dataProcessing {
		10 = files
		10 {
			references.fieldName = tx_t3sbootstrap_jsfile
			as = jsfiles
		}
		20 = files
		20 {
			references.fieldName = tx_t3sbootstrap_cssfile
			as = cssfiles
		}
	}

	# **********************************************************
	# BOOTSTAP: Button
	# **********************************************************
	t3sbs_button =< lib.contentElement
	t3sbs_button.templateName = Button
	t3sbs_button.stdWrap.editIcons = tt_content

	# **********************************************************
	# BOOTSTAP: Card
	# **********************************************************
	t3sbs_card =< lib.contentElement
	t3sbs_card {
		templateName = Card
		dataProcessing {
			10 = files
			10 {
				references.fieldName = assets
			}
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}
	t3sbs_card.stdWrap.editIcons = tt_content

	# **********************************************************
	# BOOTSTAP: Carousel
	# **********************************************************
	t3sbs_carousel =< lib.contentElement
	t3sbs_carousel {
		templateName = Carousel
		settings.defaultHeaderType = 3
	}
	t3sbs_carousel.stdWrap.editIcons = tt_content

	# **********************************************************
	# BOOTSTAP: Media object
	# **********************************************************
	t3sbs_mediaobject =< lib.contentElement
	t3sbs_mediaobject {
		templateName = Mediaobject
		dataProcessing {
			10 = files
			10 {
				references.fieldName = assets
			}
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				disableAutoRow =  {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}
	t3sbs_mediaobject.stdWrap.editIcons = tt_content

	# **********************************************************
	# Bootstrap Image Gallery
	# **********************************************************
	t3sbs_gallery =< lib.contentElement
	t3sbs_gallery {
		templateName = ImageGallery
		settings.defaultHeaderType = 2
		dataProcessing {
			10 = T3SBS\T3sbootstrap\DataProcessing\BsImageGalleryProcessor
			10 {
				references.fieldName = assets
				as = files
				collections.field = file_collections
				sorting.field = filelink_sorting
			}

			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	{$bootstrap.image.maxWidthToast}
				disableAutoRow = {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}

		}
	}
	t3sbs_gallery.stdWrap.editIcons = tt_content

	# **********************************************************
	# BOOTSTAP: Toast
	# **********************************************************
	t3sbs_toast =< lib.contentElement
	t3sbs_toast {
		templateName = Toast

		dataProcessing {
			10 = files
			10 {
				references.fieldName = assets
			}
			20 = T3SBS\T3sbootstrap\DataProcessing\GalleryProcessor
			20 {
				maxGalleryWidth = {$styles.content.textmedia.maxW}
				minimumWidth = {$bootstrap.image.minimumWidth}
				ratioWithHeight = {$bootstrap.image.ratioWithHeight}
				maxWidthMediaObject = {$bootstrap.image.maxWidthMediaObject}
				maxWidthToast =	 {$bootstrap.image.maxWidthToast}
				disableAutoRow =  {$bootstrap.image.disableAutoRow}
				overrideSmallColumns = {$bootstrap.pages.override.smallColumns}
				overrideContainer = {$bootstrap.pages.override.container}
				configuid = {$bootstrap.config.uid}
			}
		}
	}
	t3sbs_toast.stdWrap.editIcons = tt_content

}
