FitTrackee/fittrackee/dist/static/js/admin.5f46d0fe.js.map
2022-02-05 11:48:09 +01:00

1 line
5.1 KiB
Plaintext

{"version":3,"sources":["webpack:///./node_modules/cache-loader/dist/cjs.js","webpack:///./src/views/AdminView.vue","webpack:///./src/views/AdminView.vue?5848"],"names":["_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","id","class","_hoisted_2","key","_hoisted_3","_createElementVNode","_defineComponent","setup","__props","store","useStore","appConfig","computed","getters","ROOT_STORE","GETTERS","APP_CONFIG","appStatistics","APP_STATS","isAuthUserAmin","AUTH_USER_STORE","IS_ADMIN","userLoading","USER_LOADING","onBeforeMount","dispatch","ACTIONS","GET_APPLICATION_STATS","_ctx","_cache","_component_router_view","_resolveComponent","_openBlock","_createElementBlock","_unref","_createCommentVNode","_createBlock","NotFound","__exports__"],"mappings":"6LAGMA,EAAe,SAAAC,GAAC,OAAKC,yBAAa,mBAAmBD,EAAEA,IAAIE,0BAAcF,GACzEG,EAAa,CACjBC,GAAI,QACJC,MAAO,QAEHC,EAAa,CACjBC,IAAK,EACLF,MAAO,aAEHG,EAA2BT,GAAa,kBAAmBU,gCAAoB,MAAO,CAAEL,GAAI,UAAY,MAAO,MAUzFM,+BAAiB,CAC3CC,MAD2C,SACrCC,GAEN,IAAMC,EAAQC,iBAERC,EAAqCC,uBACzC,kBAAMH,EAAMI,QAAQC,OAAWC,QAAQC,eAEnCC,EAA6CL,uBACjD,kBAAMH,EAAMI,QAAQC,OAAWC,QAAQG,cAEnCC,EAAuCP,uBAC3C,kBAAMH,EAAMI,QAAQO,OAAgBL,QAAQM,aAExCC,EAAoCV,uBACxC,kBAAMH,EAAMI,QAAQO,OAAgBL,QAAQQ,iBAKhD,OAFEC,4BAAc,kBAAMf,EAAMgB,SAASX,OAAWY,QAAQC,0BAEjD,SAACC,EAAUC,GAChB,IAAMC,EAAyBC,8BAAkB,eAEjD,OAAQC,yBAAcC,gCAAoB,MAAOlC,EAAY,CACzDmC,mBAAOZ,GAWLa,gCAAoB,IAAI,IAVvBH,yBAAcC,gCAAoB,MAAO/B,EAAY,CACnDgC,mBAAOf,IACHa,yBAAcI,yBAAaN,EAAwB,CAClD3B,IAAK,EACLQ,UAAWuB,mBAAOvB,GAClBM,cAAeiB,mBAAOjB,IACrB,KAAM,EAAG,CAAC,YAAa,oBACzBe,yBAAcI,yBAAaC,OAAU,CAAElC,IAAK,KACjDC,W,iCCjDV,MAAMkC,EAA2B,IAAgB,EAAQ,CAAC,CAAC,YAAY,qBAExD,gB,kCCRf","file":"static/js/admin.5f46d0fe.js","sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-64629971\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"admin\",\n class: \"view\"\n}\nconst _hoisted_2 = {\n key: 0,\n class: \"container\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { id: \"bottom\" }, null, -1))\n\nimport { computed, ComputedRef, onBeforeMount } from 'vue'\n\n import NotFound from '@/components/Common/NotFound.vue'\n import { AUTH_USER_STORE, ROOT_STORE } from '@/store/constants'\n import { TAppConfig, IAppStatistics } from '@/types/application'\n import { useStore } from '@/use/useStore'\n\n \nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\n const store = useStore()\n\n const appConfig: ComputedRef<TAppConfig> = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_CONFIG]\n )\n const appStatistics: ComputedRef<IAppStatistics> = computed(\n () => store.getters[ROOT_STORE.GETTERS.APP_STATS]\n )\n const isAuthUserAmin: ComputedRef<boolean> = computed(\n () => store.getters[AUTH_USER_STORE.GETTERS.IS_ADMIN]\n )\n const userLoading: ComputedRef<boolean> = computed(\n () => store.getters[AUTH_USER_STORE.GETTERS.USER_LOADING]\n )\n\n onBeforeMount(() => store.dispatch(ROOT_STORE.ACTIONS.GET_APPLICATION_STATS))\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_unref(userLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_unref(isAuthUserAmin))\n ? (_openBlock(), _createBlock(_component_router_view, {\n key: 0,\n appConfig: _unref(appConfig),\n appStatistics: _unref(appStatistics)\n }, null, 8, [\"appConfig\", \"appStatistics\"]))\n : (_openBlock(), _createBlock(NotFound, { key: 1 })),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./AdminView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AdminView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./AdminView.vue?vue&type=style&index=0&id=64629971&lang=scss&scoped=true\"\n\nimport exportComponent from \"/mnt/data-lnx/Devs/00_Perso/FitTrackee/fittrackee_client/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-64629971\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./AdminView.vue?vue&type=style&index=0&id=64629971&lang=scss&scoped=true\""],"sourceRoot":""}