import { defineStore } from "pinia";
import { ref, computed } from "vue";

export const useStateStore = defineStore("state", () => {
    const current_state = ref({
        layout: "app",
        is_show_sidebar: true,
        is_show_search: false,
        is_dark_mode: false,
        dark_mode: "light",
        is_sucursal_mode: false,
        sucursal_mode: "0",
        sucursal_name_mode: "Sin sucursal",
        terapista_id: "0",
        terapista_name: "",
        filtro_cliente: null,
        locale: null,
        menu_style: "horizontal",
        layout_style: "full",
        countryList: [
            { code: "es", name: "Spanish" },
        ],
    });

    return { current_state };
});
