45 lines
1.0 KiB
Vue
45 lines
1.0 KiB
Vue
<template>
|
|
<!-- <Modal :title="modal.title" :actions="modal.action" @onClose="onClose"></Modal> -->
|
|
<Towser
|
|
:show="dartaChalaniTowserStore.show"
|
|
:title="towser.title"
|
|
:actions="towser.action"
|
|
@onClose="onClose"
|
|
>
|
|
|
|
</Towser>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from "vue";
|
|
import { createGenericStore } from "@/stores/GenericStore";
|
|
import { createOverlayStore } from "@/stores/OverlayStore";
|
|
const dartaChalaniStore = createGenericStore("user-meal-schedule")();
|
|
const dartaChalaniTowserStore = createOverlayStore("darta-chalani-towser")();
|
|
const towser = ref({
|
|
show: false,
|
|
title: [
|
|
{
|
|
name: "Darta",
|
|
link: "#",
|
|
},
|
|
{
|
|
name: "Create",
|
|
},
|
|
],
|
|
action: [
|
|
{
|
|
title: "Close",
|
|
emit: "onClose",
|
|
class: "btn-outline",
|
|
},
|
|
{
|
|
title: "Save",
|
|
emit: "onSave",
|
|
},
|
|
],
|
|
});
|
|
|
|
const onClose = () => {};
|
|
</script>
|