FitTrackee/fittrackee/dist/static/js/admin.4047df15.js.map
2021-11-06 21:27:32 +01:00

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/components/Common/Error.vue?7b7f","webpack:///./src/views/AdminView.vue?059d","webpack:///./src/views/AdminView.vue","webpack:///./src/views/AdminView.vue?405d","webpack:///./src/views/AdminView.vue?5ec6","webpack:///./src/components/Common/NotFound.vue?f478","webpack:///./src/components/Common/Error.vue?b07e","webpack:///./src/components/Common/Error.vue","webpack:///./src/components/Common/Error.vue?5756","webpack:///./src/components/Common/NotFound.vue","webpack:///./src/components/Common/NotFound.vue?8100"],"names":["n","_hoisted_1","id","class","_hoisted_2","key","_hoisted_3","render","_ctx","_cache","$props","$setup","$data","$options","_component_router_view","_component_NotFound","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","__exports__","_component_Error","title","message","$t","target","buttonText","onClick","$event","$router","push","path","props","type","String","required","default","Error"],"mappings":"gIAAA,W,2DCEM,EAAe,SAAAA,GAAC,OAAK,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CACjBC,GAAI,QACJC,MAAO,QAEHC,EAAa,CACjBC,IAAK,EACLF,MAAO,aAEHG,EAA2B,GAAa,kBAAmB,gCAAoB,MAAO,CAAEJ,GAAI,UAAY,MAAO,MAE/G,SAAUK,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAyB,8BAAkB,eAC3CC,EAAsB,8BAAkB,YAE9C,OAAQ,yBAAc,gCAAoB,MAAOd,EAAY,CACzDO,EAAKQ,YAWH,gCAAoB,IAAI,IAVvB,yBAAc,gCAAoB,MAAOZ,EAAY,CACnDI,EAAKS,gBACD,yBAAc,yBAAaH,EAAwB,CAClDT,IAAK,EACLa,UAAWV,EAAKU,UAChB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AM,6BAAiB/B,EAAKgC,SAAU,GAC9DhC,EAAKmC,YACD,yBAAc,gCAAoB,SAAU,CAC3CtC,IAAK,EACLuC,QAASnC,EAAO,KAAOA,EAAO,GAAK,SAACoC,GAAD,OAAkBrC,EAAKsC,QAAQC,KAAKvC,EAAKwC,QAC5E7C,MAAO,SACN,6BAAiBK,EAAKmC,YAAa,IACtC,gCAAoB,IAAI,OCdjB,mCAAgB,CAC7BvB,KAAM,QACN6B,MAAO,CACLV,MAAO,CACLW,KAAMC,OACNC,UAAU,GAEZZ,QAAS,CACPU,KAAMC,QAERR,WAAY,CACVO,KAAMC,QAERH,KAAM,CACJE,KAAMC,OACNE,QAAS,Q,iCCXjB,MAAMhB,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS,GAAQ,CAAC,YAAY,qBAE1E,QCJE,+BAAgB,CAC7BjB,KAAM,WACNC,WAAY,CACViC,SAEFL,MAAO,CACLP,OAAQ,CACNQ,KAAMC,OACNE,QAAS,WCRjB,MAAM,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS9C,KAErD","file":"static/js/admin.4047df15.js","sourcesContent":["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!./Error.vue?vue&type=style&index=0&id=58e20d75&scoped=true&lang=scss\"","import { 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-2fbe41f1\"),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\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_NotFound = _resolveComponent(\"NotFound\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (!_ctx.userLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_ctx.isAuthUserAmin)\n ? (_openBlock(), _createBlock(_component_router_view, {\n key: 0,\n appConfig: _ctx.appConfig,\n appStatistics: _ctx.appStatistics\n }, null, 8, [\"appConfig\", \"appStatistics\"]))\n : (_openBlock(), _createBlock(_component_NotFound, { key: 1 })),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\n import { computed, ComputedRef, defineComponent, 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 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 )\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 return {\n appConfig,\n appLoading,\n appStatistics,\n isAuthUserAmin,\n userLoading,\n }\n },\n })\n","import { render } from \"./AdminView.vue?vue&type=template&id=2fbe41f1&scoped=true&ts=true\"\nimport script from \"./AdminView.vue?vue&type=script&lang=ts\"\nexport * from \"./AdminView.vue?vue&type=script&lang=ts\"\n\nimport \"./AdminView.vue?vue&type=style&index=0&id=2fbe41f1&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, [['render',render],['__scopeId',\"data-v-2fbe41f1\"]])\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=2fbe41f1&lang=scss&scoped=true\"","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Error = _resolveComponent(\"Error\")!\n\n return (_openBlock(), _createBlock(_component_Error, {\n title: \"404\",\n message: _ctx.$t(`error.NOT_FOUND.${_ctx.target}`),\n \"button-text\": _ctx.$t('common.HOME')\n }, null, 8, [\"message\", \"button-text\"]))\n}","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-58e20d75\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"error\" }\nconst _hoisted_2 = { class: \"error-content\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.message), 1),\n (_ctx.buttonText)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.push(_ctx.path))),\n class: \"upper\"\n }, _toDisplayString(_ctx.buttonText), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}","\n import { defineComponent } from 'vue'\n\n export default defineComponent({\n name: 'Error',\n props: {\n title: {\n type: String,\n required: true,\n },\n message: {\n type: String,\n },\n buttonText: {\n type: String,\n },\n path: {\n type: String,\n default: '/',\n },\n },\n })\n","import { render } from \"./Error.vue?vue&type=template&id=58e20d75&scoped=true&ts=true\"\nimport script from \"./Error.vue?vue&type=script&lang=ts\"\nexport * from \"./Error.vue?vue&type=script&lang=ts\"\n\nimport \"./Error.vue?vue&type=style&index=0&id=58e20d75&scoped=true&lang=scss\"\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, [['render',render],['__scopeId',\"data-v-58e20d75\"]])\n\nexport default __exports__","\n import { defineComponent } from 'vue'\n\n import Error from '@/components/Common/Error.vue'\n\n export default defineComponent({\n name: 'NotFound',\n components: {\n Error,\n },\n props: {\n target: {\n type: String,\n default: 'PAGE',\n },\n },\n })\n","import { render } from \"./NotFound.vue?vue&type=template&id=2e960d8e&ts=true\"\nimport script from \"./NotFound.vue?vue&type=script&lang=ts\"\nexport * from \"./NotFound.vue?vue&type=script&lang=ts\"\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, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}