<?xml version="1.0" encoding="UTF-8"?>
<quiqqer>
    <project>

        <settings>
            <config>
                <section name="menu.settings">
                    <conf name="showMenuDelay">
                        <type><![CDATA[number]]></type>
                        <defaultvalue>250</defaultvalue>
                    </conf>
                    <conf name="type">
                        <type><![CDATA[string]]></type>
                    </conf>
                </section>
                <section name="mobileMenu.settings">
                    <conf name="type">
                        <type><![CDATA[string]]></type>
                        <defaultvalue>slideout</defaultvalue>
                    </conf>
                    <conf name="breakPoint">
                        <type><![CDATA[number]]></type>
                        <defaultvalue>767</defaultvalue>
                    </conf>
                </section>
                <section name="mobileMenu.standard.settings">
                    <conf name="collapseSubmenu">
                        <type><![CDATA[bool]]></type>
                    </conf>
                    <conf name="showLevel">
                        <type><![CDATA[number]]></type>
                        <defaultvalue>1</defaultvalue>
                    </conf>
                </section>
                <section name="mobileMenu.slideoutAdvanced.settings">
                    <conf name="homeLink">
                        <type><![CDATA[number]]></type>
                        <defaultvalue>1</defaultvalue>
                    </conf>
                    <conf name="shortDesc">
                        <type><![CDATA[number]]></type>
                    </conf>
                </section>
                <section name="floatingMenu.settings">
                    <conf name="menuId">
                        <type><![CDATA[number]]></type>
                    </conf>
                    <conf name="showLangSwitch">
                        <type><![CDATA[bool]]></type>
                        <defaultvalue>false</defaultvalue>
                    </conf>
                    <conf name="toggleButton">
                        <type><![CDATA[text]]></type>
                        <defaultvalue>mobile</defaultvalue>
                    </conf>
                </section>
            </config>

            <window>
                <categories>
                    <category name="menu">
                        <text>
                            <locale group="quiqqer/menu" var="menu.settings.category"/>
                        </text>
                        <icon>fa fa-bars</icon>

                        <settings title="menu.settings" name="menu.settings">
                            <title>
                                <locale group="quiqqer/menu" var="menu.settings.title"/>
                            </title>

                            <input conf="menu.settings.showMenuDelay" type="number" min="0" max="5000">
                                <text>
                                    <locale group="quiqqer/menu" var="menu.settings.showMenuDelay"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="menu.settings.showMenuDelay.desc"/>
                                </description>
                            </input>

                            <select conf="menu.settings.type">
                                <text>
                                    <locale group="quiqqer/menu" var="menu.settings.type"/>
                                </text>
                                <option value="Standard">
                                    <locale group="quiqqer/menu" var="menu.settings.Standard"/>
                                </option>
                                <option value="Icons">
                                    <locale group="quiqqer/menu" var="menu.settings.Icons"/>
                                </option>
                                <option value="IconsDescription">
                                    <locale group="quiqqer/menu" var="menu.settings.IconsDescription"/>
                                </option>
                                <option value="Image">
                                    <locale group="quiqqer/menu" var="menu.settings.Image"/>
                                </option>
                                <option value="Simple">
                                    <locale group="quiqqer/menu" var="menu.settings.Simple"/>
                                </option>
                                <option value="noMenu">
                                    <locale group="quiqqer/menu" var="menu.settings.noMenu"/>
                                </option>
                            </select>
                        </settings>

                        <settings title="mobileMenu.settings" name="mobileMenu.settings">
                            <title>
                                <locale group="quiqqer/menu" var="mobileMenu.settings.title"/>
                            </title>

                            <select conf="mobileMenu.settings.type">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.type"/>
                                </text>
                                <option value="slideout" selected="selected">
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.template.slideout"/>
                                </option>
                                <option value="slideoutAdvanced">
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.template.slideoutAdvanced"/>
                                </option>
                            </select>
                            <input conf="mobileMenu.settings.breakPoint" type="number" min="0" max="5000">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.breakPoint"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="mobileMenu.settings.breakPoint.desc"/>
                                </description>
                            </input>
                        </settings>

                        <!-- mobile menu standard -->
                        <settings title="mobileMenu.standard.settings" name="mobileMenu.standard.settings">
                            <title>
                                <locale group="quiqqer/menu" var="mobileMenu.standard.settings.title"/>
                            </title>

                            <text>
                                <locale group="quiqqer/menu" var="mobileMenu.standard.settings.desc"/>
                            </text>

                            <input conf="mobileMenu.standard.settings.collapseSubmenu" type="checkbox">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.collapseSubmenu"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.collapseSubmenu.desc"/>
                                </description>
                            </input>

                            <select conf="mobileMenu.standard.settings.showLevel">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.showLevel"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="mobileMenu.standard.settings.showLevel.desc"/>
                                </description>
                                <option value="1" selected="selected">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                            </select>
                        </settings>

                        <!-- mobile menu advanced -->
                        <settings title="mobileMenu.slideoutAdvanced.settings" name="mobileMenu.slideoutAdvanced.settings">
                            <title>
                                <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.title"/>
                            </title>

                            <text>
                                <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.desc"/>
                            </text>

                            <input conf="mobileMenu.slideoutAdvanced.settings.homeLink" type="checkbox">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.homeLink"/>
                                </text>
                            </input>

                            <input conf="mobileMenu.slideoutAdvanced.settings.shortDesc" type="checkbox">
                                <text>
                                    <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.shortDesc"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="mobileMenu.slideoutAdvanced.settings.shortDesc.desc"/>
                                </description>
                            </input>
                        </settings>

                        <!-- floated menu -->
                        <settings title="floatingMenu.settings" name="floatingMenu.settings">
                            <title>
                                <locale group="quiqqer/menu" var="floatingMenu.settings.title"/>
                            </title>

                            <text>
                                <locale group="quiqqer/menu" var="floatingMenu.settings.desc"/>
                            </text>

                            <input conf="floatingMenu.settings.menuId" type="text"
                                   data-qui="package/quiqqer/menu/bin/Controls/Independent/Input"
                            >
                                <text>
                                    <locale group="quiqqer/menu" var="floatingMenu.settings.menuId"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="floatingMenu.settings.menuId.desc"/>
                                </description>
                            </input>

                            <input conf="floatingMenu.settings.showLangSwitch" type="checkbox">
                                <text>
                                    <locale group="quiqqer/menu" var="floatingMenu.settings.showLangSwitch"/>
                                </text>
                                <description>
                                    <locale group="quiqqer/menu" var="floatingMenu.settings.showLangSwitch.desc"/>
                                </description>
                            </input>

<!--                            <select conf="floatingMenu.settings.toggleButton">-->
<!--                                <text>-->
<!--                                    <locale group="quiqqer/menu" var="floatingMenu.settings.toggleButton"/>-->
<!--                                </text>-->
<!--                                <description>-->
<!--                                    <locale group="quiqqer/menu" var="floatingMenu.settings.toggleButton.desc"/>-->
<!--                                </description>-->

<!--                                <option value="mobile">-->
<!--                                    <locale group="quiqqer/menu" var="floatingMenu.settings.toggleButton.mobile"/>-->
<!--                                </option>-->
<!--                                <option value="always">-->
<!--                                    <locale group="quiqqer/menu" var="floatingMenu.settings.toggleButton.always"/>-->
<!--                                </option>-->
<!--                                <option value="hide">-->
<!--                                    <locale group="quiqqer/menu" var="floatingMenu.settings.toggleButton.hide"/>-->
<!--                                </option>-->
<!--                            </select>-->
                        </settings>
                    </category>
                </categories>

            </window>
        </settings>

    </project>

    <settings>
        <window name="quiqqer-cache" menu-parent="/settings/quiqqer/">
            <title>
                <locale group="quiqqer/core" var="quiqqer.settings.cache"/>
            </title>

            <params>
                <icon>fa fa-sort-amount-desc</icon>
            </params>


            <category name="management" require="controls/cache/Settings">

                <settings title="clearMenuCache" name="clearMenuCache">
                    <title>
                        <locale group="quiqqer/core" var="quiqqer.menu.clearMenuCache.title"/>
                    </title>

                    <button>boom</button>
                </settings>

            </category>

        </window>
    </settings>

</quiqqer>