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

if (!defined('ABSPATH'))
{
    exit;
}
?>
<div class="modal fade show" role="dialog" style="display: block;" v-if="tempModal.modal.show">
    <div class="modal-dialog" :class="tempModal.modal.size == '' ? 'modal-md' : 'modal-'+ tempModal.modal.size">
        <div class="modal-content" :class="'modal-type-'+ tempModal.modal.type">
            <div class="modal-header py-1" v-if="tempModal.modal.header">
                <h4 class="modal-title" v-if="tempModal.modal.title != ''">{{ tempModal.modal.title }}</h4>
                <button type="button" class="btn p-0 m-0 pdapp-w30 pdapp-h30 text-danger ps-1" @click="tempModal.modal.show = false">
                    <i class="material-icons material-symbols-outlined fs-3">close</i>
                </button>
            </div>
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-confirm-close.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-confirm-reset.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-temp-message.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-crop.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-preview.php'); ?>
            
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-save-temp.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/templates/components/modal/html-replace-photo.php'); ?>
        </div>
    </div>
    <div class="modal-backdrop fade show" @click="tempModal.modal.show = false"></div>
</div>