{"version":3,"file":"index.mjs","sources":["../../lib/store/index.ts"],"sourcesContent":["// @ts-nocheck\nimport { createStore } from 'vuex'\n\n// Import store modules\nimport catalogs from './modules/cataloguesStore';\nimport catalogDetails from './modules/catalogueDetailsStore';\nimport datasets from './modules/datasetsStore';\nimport datasetDetails from './modules/datasetDetailsStore';\nimport mapsData from './modules/mapsDataStore';\nimport gazetteer from './modules/gazetteerStore';\nimport geo from './modules/geoStore';\nimport auth from './modules/authStore';\nimport snackbar from './modules/snackbarStore';\nimport dpiStore from '../data-provider-interface/store/dpiStore';\n\nconst state = {};\n\nconst actions = {};\n\nconst mutations = {};\n\nconst getters = {\n  /**\n   * @description Returns the current route (name).\n   * @param state\n   */\n  getCurrentRoute: state => state.route,\n};\n\nconst store = createStore({\n  state,\n  actions,\n  mutations,\n  getters,\n  modules: {\n    catalogs,\n    catalogDetails,\n    datasets,\n    datasetDetails,\n    dpiStore,\n    mapsData,\n    gazetteer,\n    geo,\n    auth,\n    snackbar,\n  },\n});\n\nexport default store;\n"],"names":["state","actions","mutations","getters","store","createStore","catalogs","catalogDetails","datasets","datasetDetails","dpiStore","mapsData","gazetteer","geo","auth","snackbar"],"mappings":";;;;;;;;;;;AAeA,MAAMA,IAAQ,CAAA,GAERC,IAAU,CAAA,GAEVC,IAAY,CAAA,GAEZC,IAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKd,iBAAiB,CAAAH,MAASA,EAAM;AAClC,GAEMI,IAAQC,EAAY;AAAA,EACxB,OAAAL;AAAA,EACA,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,SAAS;AAAA,IAAA,UACPG;AAAAA,IAAA,gBACAC;AAAAA,IAAA,UACAC;AAAAA,IAAA,gBACAC;AAAAA,IAAA,UACAC;AAAAA,IAAA,UACAC;AAAAA,IAAA,WACAC;AAAAA,IAAA,KACAC;AAAAA,IAAA,MACAC;AAAAA,IACA,UAAAC;AAAA,EACF;AACF,CAAC;"}