mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 14:59:34 +00:00
Initial commit
This commit is contained in:
commit
d76f4258f7
231 files changed
+27803
No files matched your search
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
(function(){var e={1993:function(e){function t(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=function(){return[]},t.resolve=t,t.id=1993,e.exports=t},783:function(e,t,n){"use strict";var o=n(3862),a=(n(9773),n(8685)),r=(0,a.Rd)();async function s(){const e=await n.e(461).then(n.t.bind(n,3657,23));e.load({google:{families:["Roboto:100,300,400,500,700,900&display=swap"]}})}var i=n(3752),c=n.n(i),u=n(3396),l=n(7718),d=n(9271);function h(e,t,n,o,a,r){const s=(0,u.up)("router-view");return(0,u.wg)(),(0,u.j4)(l.q,null,{default:(0,u.w5)((()=>[(0,u.Wm)(d.O,null,{default:(0,u.w5)((()=>[(0,u.Wm)(s)])),_:1})])),_:1})}var p={name:"App"},f=n(89);const m=(0,f.Z)(p,[["render",h]]);var g=m,v=n(4973),_=n(2483);const b=[{path:"",redirect:"/auth"},{path:"/auth/",component:()=>Promise.all([n.e(975),n.e(764)]).then(n.bind(n,5764)),children:[{path:"",redirect:"/auth/login"},{path:"/auth/login",name:"Login",component:()=>Promise.all([n.e(716),n.e(975),n.e(147),n.e(180)]).then(n.bind(n,5180))},{path:"/auth/forgot-password",name:"Forgot password",component:()=>Promise.all([n.e(716),n.e(975),n.e(147),n.e(985)]).then(n.bind(n,8985))},{path:"/auth/reset-password",name:"Reset password",component:()=>Promise.all([n.e(716),n.e(975),n.e(147),n.e(743)]).then(n.bind(n,3743))}]},{path:"/app",component:()=>Promise.all([n.e(716),n.e(71),n.e(720)]).then(n.bind(n,1720)),children:[{path:"",redirect:"/app/dashboard"},{path:"/app/dashboard",redirect:"/app/dashboard/tasks",children:[{path:"/app/dashboard/tasks",name:"Tasks",component:()=>Promise.all([n.e(716),n.e(975),n.e(71),n.e(467)]).then(n.bind(n,5467))},{path:"/app/dashboard/unscheduled-tasks",name:"Unscheduled tasks",component:()=>n.e(995).then(n.bind(n,1995))},{path:"/app/dashboard/ongoing-tasks",name:"Ongoing tasks",component:()=>n.e(847).then(n.bind(n,4847))}]}]}],P=(0,_.p7)({history:(0,_.PO)("/"),routes:b});var y=P,k=n(65),w=(0,k.MT)({state:{},getters:{},mutations:{},actions:{},modules:{}}),O=n(70),L=n(5941);O.ZP.defaults.baseURL="https://fill-later.sk/api/";var E={async get(e,t){return O.ZP.get(e,t).then((e=>e.data)).catch((e=>Promise.reject(e)))},async get_auth(e,t){return t=this._config(t),O.ZP.get(e,t).then((e=>e.data)).catch((e=>Promise.reject(e)))},async get_data(e,t){return O.ZP.get(e,t).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async get_auth_data(e,t){return t=this._config(t),O.ZP.get(e,t).then((e=>Promise.resolve(e.data.data))).catch((e=>Promise.reject(e.response)))},async post(e,t=null,n){return O.ZP.post(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async post_auth(e,t=null,n){return n=this._config(n),O.ZP.post(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async post_data(e,t=null,n){return O.ZP.post(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async post_auth_data(e,t=null,n){return n=this._config(n),O.ZP.post(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async delete(e,t){return O.ZP["delete"](e,t).then((e=>e.data)).catch((e=>Promise.reject(e)))},async delete_auth(e,t){return t=this._config(t),O.ZP["delete"](e,t).then((e=>e.data)).catch((e=>Promise.reject(e)))},async delete_data(e,t){return O.ZP["delete"](e,t).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async delete_auth_data(e,t){return t=this._config(t),O.ZP["delete"](e,t).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async patch(e,t=null,n){return O.ZP.patch(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async patch_auth(e,t=null,n){return n=this._config(n),O.ZP.patch(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async patch_data(e,t=null,n){return O.ZP.patch(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async patch_auth_data(e,t=null,n){return n=this._config(n),O.ZP.patch(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async put(e,t=null,n){return O.ZP.put(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async put_auth(e,t=null,n){return n=this._config(n),O.ZP.put(e,t,n).then((e=>e.data)).catch((e=>Promise.reject(e)))},async put_data(e,t=null,n){return O.ZP.put(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},async put_auth_data(e,t=null,n){return n=this._config(n),O.ZP.put(e,t,n).then((e=>e.data.data)).catch((e=>Promise.reject(e.response)))},_config(e){return e&&L.error("NOT IMPLEMENTED"),{headers:{Authorization:`Bearer ${w.getters["auth/token"]}`}}}},j={install:(e,t)=>{t&&!0===t.disabled||(e.config.globalProperties.$axios=E)}};const T=e=>Object.entries(e).map((e=>e.map(encodeURIComponent).join("="))).join("&");function S(e){let t=e;return t=t.replace(/\//g,"\\/"),t=t.replace(/\./g,"\\."),t=t.replace(/\([^)]+\)/g,"[^/]+"),t}var Z=n(5941);class A{constructor(){O.ZP.interceptors.request.use(this._redirectRequestToMock.bind(this)),this._mocks={}}mock(e){for(const t in e){let n=e[t];!1!==n&&(n={},n.name=t,n.url=t.split(" "Line truncated
|
||||
//# sourceMappingURL=index.c23237d6.js.map
|
||||
Reference in new issue
Block a user