<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Template
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<template v-if="responsiveLayout.showMenu">
    <div class="pdapp-menu-options d-flex flex-column align-items-center gap-2 border-start" v-if="activeMenu != null">
        <div class="pdapp-menu-options-head d-flex justify-content-between align-items-center gap-2 w-100 px-1" v-if="listMenus[activeMenu] != undefined && listMenus[activeMenu].title != undefined">
            <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-head.php'); ?>
        </div>

        <template v-if="groupItem.show">
            <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-groups.php'); ?>
        </template>
        <template v-else>
            <template v-if="activeMenu == 'template'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-template.php'); ?>
            </template>

            <template v-if="activeMenu == 'text'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-text.php'); ?>
            </template>

            <template v-if="activeMenu == 'artwork'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-artwork.php'); ?>
            </template>

            <template v-if="activeMenu == 'photo'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-photo.php'); ?>
            </template>

            <template v-if="activeMenu == 'team'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-team.php'); ?>
            </template>

            <template v-if="activeMenu == 'qrcode'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-qrcode.php'); ?>
            </template>

            <template v-if="activeMenu == 'barcode'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-barcode.php'); ?>
            </template>

            <template v-if="activeMenu == 'layer'">
                <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/options/html-layer.php'); ?>
            </template>
        </template>
    </div>
</template>
<template v-else>
    <?php require_once(PDAPP_PLUGIN_DIR .'templates/'. PDAPP_THEME_FOLDER .'/layouts/leftbar/mobile/html-mobile-layout.php'); ?>
</template>