<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
    <meta>
        <langDisable>1</langDisable>
    </meta>
    <sheets>

        <options>
            <ROOT>
                <sheetTitle>Général</sheetTitle>
                <type>array</type>
                <el>

                    <method>
                        <label>Méthode d'affichage</label>
                        <onChange>reload</onChange>
                        <config>
                            <type>select</type>
                            <renderType>selectSingle</renderType>
                            <items>
                                <numIndex index="0">
                                    <label>Choisissez une méthode</label>
                                    <value>0</value>
                                </numIndex>
                                <numIndex index="1">
                                    <label>ZOOM SUR avec des éléments (Méthode 1)</label>
                                    <value>1</value>
                                </numIndex>
                                <numIndex index="2">
                                    <label>ZOOM SUR sans articles (Méthode 2)</label>
                                    <value>2</value>
                                </numIndex>
                            </items>
                        </config>
                    </method>

                    <titleblock>
                        <label>Titre du widget</label>
                        <config>
                            <type>input</type>
                            <default>ZOOM SUR</default>
                            <size>50</size>
                        </config>
                    </titleblock>

                    <image>
                        <label>Image Principale (Largeur : 945px)</label>
                        <config>
                            <type>group</type>
                            <maxitems>1</maxitems>
                            <allowed>sys_file</allowed>
                        </config>
                    </image>

                    <title>
                        <label>Titre (M1)</label>
                        <displayCond>FIELD:method:=:1</displayCond>
                        <config>
                            <type>input</type>
                            <size>50</size>
                        </config>
                    </title>

                    <teaser>
                        <label>Chapô (M1)</label>
                        <displayCond>FIELD:method:=:1</displayCond>
                        <config>
                            <type>text</type>
                            <cols>40</cols>
                            <rows>5</rows>
                        </config>
                    </teaser>

                    <link>
                        <label>Lien (M1)</label>
                        <displayCond>FIELD:method:=:1</displayCond>
                        <config>
                            <type>link</type>
                            <allowedTypes>page,url,file,email</allowedTypes>
                        </config>
                    </link>

                    <titleImage>
                        <label>Titre image (M2)</label>
                        <displayCond>FIELD:method:=:2</displayCond>
                        <config>
                            <type>input</type>
                            <size>50</size>
                        </config>
                    </titleImage>

                    <linkFocus2>
                        <label>Lien (M2)</label>
                        <displayCond>FIELD:method:=:2</displayCond>
                        <config>
                            <type>link</type>
                            <allowedTypes>page,url,file,email</allowedTypes>
                        </config>
                    </linkFocus2>

                </el>
            </ROOT>
        </options>

        <tab1>
            <ROOT>
                <sheetTitle>Items</sheetTitle>
                <type>array</type>
                <el>

                    <sectionsLimit>
                        <label>Limit</label>
                        <config>
                            <type>passthrough</type>
                        </config>
                    </sectionsLimit>

                    <panels>
                        <section>1</section>
                        <type>array</type>
                        <label>Tous les items</label>
                        <config>
                            <type>array</type>
                        </config>
                        <el>
                            <panel>
                                <type>array</type>
                                <title>Item</title>
                                <el>

                                    <picto>
                                        <label>Taille conseillée : 384x257 (px) (M1)</label>
                                        <config>
                                            <type>link</type>
                                            <allowedTypes>file</allowedTypes>
                                            <appearance>
                                                <allowedFileExtensions>jpg,jpeg,png,gif,svg</allowedFileExtensions>
                                            </appearance>
                                        </config>
                                    </picto>

                                    <subtitle>
                                        <label>Titre (M1)</label>
                                        <config>
                                            <type>input</type>
                                            <size>50</size>
                                        </config>
                                    </subtitle>

                                    <subteaser>
                                        <label>Chapô (M1)</label>
                                        <config>
                                            <type>text</type>
                                            <cols>30</cols>
                                            <rows>3</rows>
                                        </config>
                                    </subteaser>

                                    <sublink>
                                        <label>Lien (M1)</label>
                                        <config>
                                            <type>link</type>
                                            <allowedTypes>page,url</allowedTypes>
                                        </config>
                                    </sublink>


                                    <title>
                                        <label>Titre (M2)</label>
                                        <config>
                                            <type>input</type>
                                            <size>50</size>
                                        </config>
                                    </title>

                                    <teaser>
                                        <label>Chapô (M2)</label>
                                        <config>
                                            <type>text</type>
                                            <cols>30</cols>
                                            <rows>3</rows>
                                        </config>
                                    </teaser>

                                    <link>
                                        <label>Lien (M2)</label>
                                        <config>
                                            <type>link</type>
                                            <allowedTypes>page,url</allowedTypes>
                                        </config>
                                    </link>

                                </el>
                            </panel>
                        </el>
                    </panels>

                </el>
            </ROOT>
        </tab1>
    </sheets>
</T3DataStructure>
