first commit

This commit is contained in:
Dede Fuji Abdul
2023-10-16 09:00:27 +07:00
commit 275153649c
75 changed files with 20360 additions and 0 deletions

24
src/stores/message.ts Normal file
View File

@@ -0,0 +1,24 @@
import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import { dispatchNotification } from '@/components/Notification'
import router from '@/router'
export const useMessageStore = defineStore('message_box', () => {
const message = ref('')
const isSending = ref(false)
const open = ref(false)
function handleOnDismissMessageBox() {
open.value = false;
}
function showDialogMessageBox() {
open.value = true;
}
function send() {
}
return { message, send, isSending, open, handleOnDismissMessageBox, showDialogMessageBox }
})