1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
|
{"version":3,"sources":["webpack:///./src/components/Common/Error.vue?46b2","webpack:///./src/views/AdminView.vue","webpack:///./src/views/AdminView.vue?ec89","webpack:///./src/views/AdminView.vue?aeb1","webpack:///./src/views/AdminView.vue?0c07","webpack:///./src/components/Common/NotFound.vue","webpack:///./src/components/Common/Error.vue","webpack:///./src/components/Common/Error.vue?0362","webpack:///./src/components/Common/Error.vue?f1fd","webpack:///./src/components/Common/NotFound.vue?7feb","webpack:///./src/components/Common/NotFound.vue?fca3"],"names":["id","class","userLoading","isAuthUserAmin","appConfig","appStatistics","name","components","NotFound","setup","store","useStore","dispatch","ACTIONS","GET_APPLICATION_STATS","appLoading","getters","GETTERS","APP_LOADING","APP_CONFIG","APP_STATS","IS_ADMIN","USER_LOADING","render","__scopeId","title","message","$t","target","button-text","buttonText","$router","push","path","props","type","String","required","default","Error"],"mappings":"uGAAA,W,4JCCOA,GAAG,S,SACDC,MAAM,a,EAOT,yBAAmB,OAAdD,GAAG,UAAQ,S,wLARpB,yBAUM,MAVN,EAUM,CAT0B,EAAAE,Y,iEAA9B,yBAQM,MARN,EAQM,CANI,EAAAC,gB,yBADR,yBAIE,G,MAFCC,UAAW,EAAAA,UACXC,cAAe,EAAAA,e,iEAElB,yBAAmB,YACnB,U,oCCDW,+BAAgB,CAC7BC,KAAM,QACNC,WAAY,CACVC,WAAA,MAEFC,MAL6B,WAM3B,IAAMC,EAAQ,OAAAC,EAAA,QAEd,4BAAc,kBACZD,EAAME,SAAS,OAAWC,QAAQC,0BAGpC,IAAMC,EAAmC,uBACvC,kBAAML,EAAMM,QAAQ,OAAWC,QAAQC,gBAEnCd,EAAqC,uBACzC,kBAAMM,EAAMM,QAAQ,OAAWC,QAAQE,eAEnCd,EAA6C,uBACjD,kBAAMK,EAAMM,QAAQ,OAAWC,QAAQG,cAEnCjB,EAAuC,uBAC3C,kBAAMO,EAAMM,QAAQ,OAAWC,QAAQI,aAEnCnB,EAAoC,uBACxC,kBAAMQ,EAAMM,QAAQ,OAAWC,QAAQK,iBAGzC,MAAO,CACLlB,YACAW,aACAV,gBACAF,iBACAD,kB,UCpCR,EAAOqB,OAASA,EAChB,EAAOC,UAAY,kBAEJ,gB,oCCRf,W,qMCCA,yBAII,GAHAC,MAAM,MACLC,QAAS,EAAAC,GAAA,0BAAsB,EAAAC,SAC/BC,cAAa,EAAAF,GAAE,gB,uICHb3B,GAAG,S,GACDC,MAAM,iB,yFADb,yBAQM,MARN,EAQM,CAPJ,yBAMM,MANN,EAMM,CALJ,yBAAoB,uCAAb,EAAAwB,OAAK,GACZ,yBAAoB,sCAAd,EAAAC,SAAO,GACC,EAAAI,Y,yBAAd,yBAES,U,MAFkB,QAAK,+BAAE,EAAAC,QAAQC,KAAK,EAAAC,QAAOhC,MAAM,S,6BACvD,EAAA6B,YAAU,I,8CCHJ,+BAAgB,CAC7BxB,KAAM,QACN4B,MAAO,CACLT,MAAO,CACLU,KAAMC,OACNC,UAAU,GAEZX,QAAS,CACPS,KAAMC,QAERN,WAAY,CACVK,KAAMC,QAERH,KAAM,CACJE,KAAMC,OACNE,QAAS,Q,UCbjB,EAAOf,OAAS,EAChB,EAAOC,UAAY,kBAEJ,QCHE,+BAAgB,CAC7BlB,KAAM,WACNC,WAAY,CACVgC,SAEFL,MAAO,CACLN,OAAQ,CACNO,KAAMC,OACNE,QAAS,WCVjB,EAAOf,OAASA,EAED","file":"static/js/admin.b2c267a7.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Error.vue?vue&type=style&index=0&id=58e20d75&scoped=true&lang=scss\"","<template>\n <div id=\"admin\">\n <div class=\"container\" v-if=\"!userLoading\">\n <router-view\n v-if=\"isAuthUserAmin\"\n :appConfig=\"appConfig\"\n :appStatistics=\"appStatistics\"\n />\n <NotFound v-else />\n <div id=\"bottom\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, ComputedRef, defineComponent, onBeforeMount } from 'vue'\n\n import NotFound from '@/components/Common/NotFound.vue'\n import { ROOT_STORE, USER_STORE } from '@/store/constants'\n import { TAppConfig, IAppStatistics } from '@/types/application'\n import { useStore } from '@/use/useStore'\n\n export default defineComponent({\n name: 'Admin',\n components: {\n NotFound,\n },\n setup() {\n const store = useStore()\n\n onBeforeMount(() =>\n store.dispatch(ROOT_STORE.ACTIONS.GET_APPLICATION_STATS)\n )\n\n const appLoading: ComputedRef<boolean> = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_LOADING]\n )\n const appConfig: ComputedRef<TAppConfig> = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n
|