<T3DataStructure>
	<sheets>
		<general>
			<ROOT>
				<sheetTitle>General</sheetTitle>
				<type>array</type>
				<el>
					<multipleToast>
						<label>Several "Toasts" instead of other Content Elements.</label>
						<onChange>reload</onChange>
						<description>Stack toasts by wrapping them in a toast container. INFO: https://getbootstrap.com/docs/5.1/components/toasts/#stacking</description>
						<config>
							<type>check</type>
							<default>0</default>
						</config>
					</multipleToast>
					<animation>
						<label>Animation (apply a CSS fade transition to the toast)</label>
						<displayCond>FIELD:general.multipleToast:=:0</displayCond>
						<config>
							<type>check</type>
							<default>1</default>
						</config>
					</animation>
					<autohide>
						<label>Autohide (auto hide the toast)</label>
						<onChange>reload</onChange>
						<displayCond>FIELD:general.multipleToast:=:0</displayCond>
						<config>
							<type>check</type>
							<default>1</default>
						</config>
					</autohide>
					<delay>
						<label>Delay in ms (delay hiding the toast)</label>
						<displayCond>
							<and>
								<value1>FIELD:general.multipleToast:=:0</value1>
								<and>
									<value1>FIELD:general.autohide:=:1</value1>
								</and>
							</and>
						</displayCond>
						<config>
							<type>number</type>
							<size>5</size>
							<default>5000</default>
						</config>
					</delay>
					<placement>
						<label>Placement</label>
						<config>
							<type>select</type>
							<renderType>selectSingle</renderType>
							<items>
								<numIndex index="0">
									<label>default</label>
									<value>top-0 start-50 translate-middle-x</value>
								</numIndex>
								<numIndex index="1">
									<label>Top left</label>
									<value>top-0 start-0</value>
								</numIndex>
								<numIndex index="2">
									<label>Top center</label>
									<value>top-0 start-50 translate-middle-x</value>
								</numIndex>
								<numIndex index="3">
									<label>Top right</label>
									<value>top-0 end-0</value>
								</numIndex>

								<numIndex index="4">
									<label>Middle left</label>
									<value>top-50 start-0 translate-middle-y</value>
								</numIndex>
								<numIndex index="5">
									<label>Middle center</label>
									<value>top-50 start-50 translate-middle</value>
								</numIndex>
								<numIndex index="6">
									<label>Middle right</label>
									<value>top-50 end-0 translate-middle-y</value>
								</numIndex>

								<numIndex index="7">
									<label>Bottom left</label>
									<value>bottom-0 start-0</value>
								</numIndex>
								<numIndex index="8">
									<label>Bottom center</label>
									<value>bottom-0 start-50 translate-middle-x</value>
								</numIndex>
								<numIndex index="9">
									<label>Bottom right</label>
									<value>bottom-0 end-0</value>
								</numIndex>

							</items>
							<default>top-0 start-50 translate-middle-x</default>
						</config>
					</placement>
					<toastwidth>
						<label>Width of the toast in (px)</label>
						<displayCond>FIELD:general.multipleToast:=:0</displayCond>
						<config>
							<type>number</type>
							<size>5</size>
							<default>350</default>
						</config>
					</toastwidth>
					<cookie>
						<label>Set cookie</label>
						<displayCond>FIELD:general.multipleToast:=:0</displayCond>
						<description>Option to do not display the toast again until the expiration date or the "toast-body" content is changed.</description>
						<onChange>reload</onChange>
						<config>
							<type>check</type>
							<default>0</default>
						</config>
					</cookie>
					<expires>
						<label>Cookie expiration in days</label>
						<displayCond>FIELD:general.cookie:=:1</displayCond>
						<config>
							<type>number</type>
							<size>5</size>
							<default>30</default>
						</config>
					</expires>
				</el>
			</ROOT>
		</general>
	</sheets>
</T3DataStructure>
