{"version":3,"file":"Interface-CAH7tqd8.js","sources":["../../../app/frontend/stores/Interface.js"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { h } from 'vue';\nimport { toast } from 'vue3-toastify';\nimport ToastMsg from '@/components/feedback/ToastMsg.vue';\n\nconst sharedState = {\n modal: null,\n flyout: null\n}\n\nexport default defineStore('InterfaceStore', {\n state: () => sharedState,\n actions: {\n notify(message, type='success') {\n const props = {\n title: `${type}!`,\n message: message,\n position: toast.POSITION.TOP_CENTER\n };\n\n toast[type](h(ToastMsg, props));\n }\n }\n})"],"names":["sharedState","useInterfaceStore","defineStore","message","type","props","toast","h","ToastMsg"],"mappings":"iLAKA,MAAMA,EAAc,CAChB,MAAO,KACP,OAAQ,IACZ,EAEeC,EAAAC,EAAY,iBAAkB,CACzC,MAAO,IAAMF,EACb,QAAS,CACL,OAAOG,EAASC,EAAK,UAAW,CAC5B,MAAMC,EAAQ,CACV,MAAO,GAAGD,CAAI,IACd,QAASD,EACT,SAAUG,EAAM,SAAS,UACzC,EAEYA,EAAMF,CAAI,EAAEG,EAAEC,EAAUH,CAAK,CAAC,CACjC,CACJ,CACL,CAAC"}