{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?e0dd","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/assets/avatar0.png","webpack:///./src/pages/CustomerForm.vue?2e1e","webpack:///./src/App.vue?9a09","webpack:///./src/store/index.ts","webpack:///./src/utils/demo-data.ts","webpack:///./src/utils/app-util.ts","webpack:///./src/utils/demo-api.ts","webpack:///./src/store/modules/user.ts","webpack:///./src/App.vue","webpack:///./src/App.vue?31c5","webpack:///./src/App.vue?68bd","webpack:///./src/registerServiceWorker.ts","webpack:///./src/components/404.vue?b236","webpack:///src/components/404.vue","webpack:///./src/components/404.vue?95f0","webpack:///./src/components/404.vue","webpack:///./src/pages/Dashboard.vue?1c60","webpack:///./src/components/dashboard/InfoBox.vue?cdf3","webpack:///./src/components/dashboard/InfoBox.vue","webpack:///./src/components/dashboard/InfoBox.vue?1868","webpack:///./src/components/dashboard/InfoBox.vue?a353","webpack:///./src/components/dashboard/MonthlySales.ts","webpack:///./src/components/dashboard/OrderForecast.ts","webpack:///./src/components/dashboard/Bar.ts","webpack:///./src/components/dashboard/BrowserUsage.ts","webpack:///./src/components/dashboard/ProductAnalysis.ts","webpack:///./src/pages/Dashboard.vue","webpack:///./src/pages/Dashboard.vue?b2bd","webpack:///./src/pages/Dashboard.vue?3401","webpack:///./src/pages/OrderList.vue?7de9","webpack:///./src/components/Table.vue?c322","webpack:///./src/components/Table.vue","webpack:///./src/components/Table.vue?9fe9","webpack:///./src/components/Table.vue?1a0b","webpack:///./src/components/TableHeaderButtons.vue?4722","webpack:///./src/components/TableHeaderButtons.vue","webpack:///./src/components/TableHeaderButtons.vue?a6dd","webpack:///./src/components/TableHeaderButtons.vue?f616","webpack:///./src/components/SearchPanel.vue?f2ec","webpack:///./src/components/SearchPanel.vue","webpack:///./src/components/SearchPanel.vue?4995","webpack:///./src/components/SearchPanel.vue?6ab4","webpack:///./src/components/ConfirmDialog.vue?61b9","webpack:///./src/components/ConfirmDialog.vue","webpack:///./src/components/ConfirmDialog.vue?eea3","webpack:///./src/components/ConfirmDialog.vue?8458","webpack:///./src/store/modules/app.ts","webpack:///./src/utils/store-util.ts","webpack:///./src/store/modules/customers.ts","webpack:///./src/store/modules/orders.ts","webpack:///./src/pages/OrderList.vue","webpack:///./src/pages/OrderList.vue?dc19","webpack:///./src/pages/OrderList.vue?a8ba","webpack:///./src/pages/OrderForm.vue?7da1","webpack:///./src/store/modules/products.ts","webpack:///./src/pages/OrderForm.vue","webpack:///./src/pages/OrderForm.vue?d5e7","webpack:///./src/pages/OrderForm.vue?98e1","webpack:///./src/pages/About.vue?3121","webpack:///./src/pages/About.vue","webpack:///./src/pages/CustomerList.vue?85bf","webpack:///./src/pages/CustomerList.vue","webpack:///./src/pages/CustomerList.vue?8989","webpack:///./src/pages/CustomerList.vue?7490","webpack:///./src/pages/CustomerForm.vue?d5cd","webpack:///./src/pages/CustomerForm.vue","webpack:///./src/pages/CustomerForm.vue?7407","webpack:///./src/pages/CustomerForm.vue?0d90","webpack:///./src/pages/ProductList.vue?a399","webpack:///./src/pages/ProductList.vue","webpack:///./src/pages/ProductList.vue?0f73","webpack:///./src/pages/ProductList.vue?4c7f","webpack:///./src/pages/ProductForm.vue?9c28","webpack:///./src/pages/ProductForm.vue","webpack:///./src/pages/ProductForm.vue?575b","webpack:///./src/pages/ProductForm.vue?64da","webpack:///./src/pages/Login.vue?9484","webpack:///./src/pages/Login.vue","webpack:///./src/pages/Login.vue?9538","webpack:///./src/pages/Login.vue?2d1a","webpack:///./src/components/ChangePassword.vue?46ec","webpack:///src/components/ChangePassword.vue","webpack:///./src/components/ChangePassword.vue?7f82","webpack:///./src/components/ChangePassword.vue","webpack:///./src/router/index.ts","webpack:///./src/plugins/vuetify.ts","webpack:///./src/main.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","_vm","this","_h","$createElement","_c","_self","attrs","_e","signedIn","staticClass","mini","on","$event","model","callback","$$v","drawer","expression","_v","_s","user","firstname","lastname","staticStyle","scopedSlots","_u","fn","ref","_g","slot","_l","item","title","handleUserActions","domProps","nativeOn","stopPropagation","handleNavigtiion","class","activeMenuItem","includes","icon","staticRenderFns","use","Store","DB","token","accessToken","email","password","customers","membership","mobile","rewards","avatar","orders","reference","customerId","products","productName","categoryId","unitInStock","unitPrice","amount","orderDate","shippedDate","shipAddress","address","city","zipcode","country","category","categoryName","description","picture","text","quantity","price","categories","SearchFilterOps","equal","greaterThan","lessThan","greaterThanOrEqual","lessThanOrEqual","contain","startsWith","endsWith","SESSION_TOKEN_KEY","SESSION_USER_KEY","setToken","sessionStorage","setItem","setUser","userData","getToken","_token","getItem","getUser","JSON","parse","cleanSession","removeItem","searchFilter","filters","forEach","filter","prop","buildSearchFilters","propName","console","log","op","val","buildJsonServerQuery","searchVm","filterQuery","reduce","prev","f","undefined","qString","filterFn","indexOf","toLowerCase","parseFloat","getSeachFilters","parsedQs","k","compVal","isValidRewards","isValidEmail","re","test","ds","EXPAND","getModel","action","substring","getId","parseInt","getExpand","qs","parseRequest","parsedUrl","query","pathname","exp","getData","Promise","_reject","expand","expandId","expandModel","findIndex","substr","row","every","setTimeout","postData","putData","idx","assign","deleteData","status","_action","username","callingAPI","searching","userInfo","_user","_userInfo","stringify","rawError","store","dynamic","userModule","dialog","dialogText","dialogTitle","isRootComponent","innerWidth","fixed","items","vertical","link","userMenus","miniVariant","right","rightDrawer","menuItem","$Progress","start","$router","beforeEach","to","_from","next","meta","progress","parseMeta","afterEach","from","finish","logout","isSignedIn","component","VApp","VAppBar","VAppBarNavIcon","VBadge","VBtn","VContainer","VContent","VFooter","VIcon","VImg","VList","VListItem","VListItemAction","VListItemContent","VListItemTitle","VMenu","VNavigationDrawer","VSpacer","ready","registered","cached","updatefound","updated","offline","error","msg","VCard","VCardActions","VCardText","VCardTitle","VListItemAvatar","VRow","stat","index","bgColor","iconClass","monthlyStats","label","VFlex","VLayout","VListItemSubtitle","renderChart","labels","datasets","backgroundColor","showLine","hideInLegendAndTooltip","borderWidth","display","legend","scales","xAxes","offset","yAxes","responsive","maintainAspectRatio","default","borderColor","pointBackgroundColor","pointBorderColor","gradient","gradient2","Bar","position","fullWidth","fontSize","fontStyle","categoryPercentage","barPercentage","components","InfoBox","MonthlySales","OrderForecast","BarChart","BrowserUsage","ProductAnalysis","pagination","totalItems","add","reloadData","updateSearchPanel","loading","headers","edit","remove","cancelSearch","searchOrders","$set","onConfirm","onCancel","snackbar","notice","closeSnackbar","search","page","rowsPerPage","$emit","pages","header","VDataTable","VPagination","VTextField","print","rightDrawerVal","_t","$nextTick","required","VDialog","SUCCESS","ERROR","setNotice","setMode","setSnackbar","timeout","closeNoticeWithDelay","appModule","DEFAULT_ROW_PER_PAGE","getDefaultPagination","getPagination","Math","ceil","customer","orderList","then","res","setOrderList","setLoading","setCustomer","err","orderAmount","setDataTable","searchQuery","qsFilter","some","toString","_res","getAllCustomers","sendSuccessNotice","sendErrorNotice","setPagination","setItems","customerModule","order","setCustomers","setOrder","setProducts","customerName","getAllOrders","productId","product","find","setOrderProducts","orderModule","showSearchPanel","left","sortable","color","quickSearchFilter","itemId","quickSearchCustomers","quickSearch","deleteOrder","closeNotice","_showSearchPanel","Table","TableHeaderButtons","SearchPanel","ConfirmDialog","VSnackbar","cancel","save","addProduct","orderDateMenu","shippedDateMenu","active","addProductModal","modalTitle","modalText","getProductsByCategory","saveProduct","cancelAddProduct","setCategories","setProduct","getAllProducts","productModule","errors","newId","oldId","saveOrder","getOrderById","$route","params","selectedProduct","deleteProduct","addProductToOrder","getCustomers","getCategories","VDatePicker","VSelect","script","searchCustomers","deleteCustomer","rules","saveCustomer","getCustomerById","getOrders","VSwitch","searchProducts","snackbarStatus","isValid","getProductById","getProduct","preventDefault","login","pass","signIn","VSubheader","requireAuth","path","redirect","fullPath","routes","beforeEnter","About","ChangePassword","router","base","preset","theme","dark","options","failedColor","thickness","transition","speed","opacity","termination","autoRevert","location","inverse","config","productionTip","vuetify","render","h","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B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KAAM,UACNgd,YAAaL,IAEf,CACEC,KAAM,YACN3N,UAAW,GACXjP,KAAM,WACNgd,YAAaL,IAEf,CACEC,KAAM,cACN3N,UAAW,GACXjP,KAAM,aACNgd,YAAaL,IAEf,CAAEC,KAAM,SAAU3N,UAAW,GAAOjP,KAAM,SAC1C,CACE4c,KAAM,kBACN3N,UAAWiO,GACXld,KAAM,kBAER,CAAE4c,KAAM,IAAKC,SAAU,cACvB,CAAED,KAAM,IAAKC,SAAU,SAGnBM,GAAS,IAAI,QAAU,CAC3Bxc,KAAM,UACNyc,KAAM,IACNL,YAGa,M,gDCnGf,OAAIjY,IAAI,SAGO,WAAI,QAAQ,CACvBuY,UAAA,UACAC,MAAO,CACHC,MAAM,EACN7K,QAAS,W,wBCPX8K,GAAU,CACd1E,MAAO,OACP2E,YAAa,UACbC,UAAW,MACXC,WAAY,CACVC,MAAO,OACPC,QAAS,OACTC,YAAa,KAEfC,YAAY,EACZC,SAAU,MACVC,SAAS,GAGX,OAAIC,OAAOC,eAAgB,EAE3B,OAAIrZ,IAAI,KAAgB0Y,IAExB,IAAI,OAAI,CACNL,OAAA,GACAlQ,QACAmR,WACAC,OAAQ,SAAAC,GAAC,OAAIA,EAAE,OACdC,OAAO","file":"js/app.cbcc03df.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=ca8c1e92&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=ca8c1e92&scoped=true&lang=css&\"","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-SG\": \"cdab\",\n\t\"./en-SG.js\": \"cdab\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","module.exports = __webpack_public_path__ + \"img/avatar0.edfa71c3.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerForm.vue?vue&type=style&index=0&id=2a6c9c2b&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerForm.vue?vue&type=style&index=0&id=2a6c9c2b&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"vcrm\"}},[(_vm.signedIn)?_c('vue-progress-bar'):_vm._e(),(!_vm.signedIn)?[_c('router-view')]:_vm._e(),(_vm.signedIn)?[_c('v-navigation-drawer',{staticClass:\"blue lighten-5\",attrs:{\"mini-variant-width\":\"70\",\"width\":\"250\",\"light\":\"\",\"mini-variant\":_vm.mini,\"app\":\"\"},on:{\"update:miniVariant\":function($event){_vm.mini=$event},\"update:mini-variant\":function($event){_vm.mini=$event}},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('v-list',{staticClass:\"pa-0\"},[_c('v-list-item',{attrs:{\"tag\":\"div\"}},[_c('v-list-item-action',[_c('v-img',{staticClass:\"avatar\",attrs:{\"max-width\":\"2.5em\",\"src\":require(\"@/assets/avatar0.png\")}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm.user.firstname)+_vm._s(_vm.user.lastname))])],1),_c('v-list-item-action',{staticStyle:{\"max-width\":\"1em\"}},[_c('v-menu',{attrs:{\"bottom\":\"\",\"right\":\"\",\"offset-y\":\"\",\"origin\":\"bottom right\",\"transition\":\"v-slide-y-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"slot\":\"activator\",\"icon\":\"\",\"small\":\"\",\"light\":\"\"},slot:\"activator\"},on),[_c('v-icon',[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,false,2811722613)},[_c('v-list',_vm._l((_vm.userMenus),function(item){return _c('v-list-item',{key:item.title,attrs:{\"value\":\"true\",\"router\":\"\"},on:{\"click\":function($event){return _vm.handleUserActions(item)}}},[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(item.title)}})],1)],1)}),1)],1)],1),_c('v-list-item-action',{staticStyle:{\"max-width\":\"1em\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"small\":\"\"},nativeOn:{\"click\":function($event){$event.stopPropagation();_vm.mini = !_vm.mini}}},[_c('v-icon',[_vm._v(\"mdi-chevron-left\")])],1)],1)],1)],1),_c('v-list',_vm._l((_vm.items),function(item){return _c('v-list-item',{key:item.title,attrs:{\"router\":\"\"},on:{\"click\":function($event){return _vm.handleNavigtiion(item)}}},[_c('v-list-item-action',{staticClass:\"pr-1 pl-2 mr-1\"},[_c('v-icon',{class:_vm.activeMenuItem.includes(item.title) ? 'blue--text' : '',attrs:{\"title\":item.title}},[_vm._v(\" \"+_vm._s(item.icon)+\" \")])],1),_c('v-list-item-content',{class:_vm.activeMenuItem.includes(item.title) ? 'blue--text' : ''},[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(item.title)}})],1)],1)}),1)],1),_c('v-app-bar',{attrs:{\"app\":\"\",\"elevation\":\"1\"}},[_c('v-app-bar-nav-icon',{attrs:{\"light\":\"\"},nativeOn:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}}),_c('v-spacer'),_c('div',{staticClass:\"text-xs-center pr-3 mt-2\"},[_c('v-badge',{attrs:{\"left\":\"\"}},[_c('span',{attrs:{\"slot\":\"badge\"},slot:\"badge\"},[_vm._v(\"6\")]),_c('v-icon',{attrs:{\"large\":\"\",\"color\":\"grey lighten-1\"}},[_vm._v(\"mdi-bell-outline\")])],1),_c('v-badge',{attrs:{\"color\":\"red\"}},[_c('span',{attrs:{\"slot\":\"badge\"},slot:\"badge\"},[_vm._v(\"!\")]),_c('v-icon',{attrs:{\"large\":\"\",\"color\":\"grey\"}},[_vm._v(\"mdi-email-outline\")])],1)],1),_c('v-btn',{attrs:{\"light\":\"\",\"text\":\"\",\"href\":\"https://github.com/harryho/vue2crm\",\"target\":\"_blank\"}},[_c('svg',{staticClass:\"octicon octicon-mark-github\",attrs:{\"height\":\"30\",\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"width\":\"32\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z\"}})]),_c('span',{staticStyle:{\"margin-left\":\"0.4rem\"}},[_vm._v(\"GitHub\")])])],1),_c('v-content',[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('router-view')],1)],1),_c('v-footer',{staticStyle:{\"justify-content\":\"center\",\"text-align\":\"center\"},attrs:{\"inset\":true,\"app\":\"\"}},[_c('span',[_vm._v(\"© Vue-CRM 2020\")])])]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from \"vue\";\nimport Vuex from \"vuex\";\n// import createPersistedState from \"vuex-persistedstate\";\n\nimport { UserState } from \"./modules/user\";\nimport { OrderState } from \"./modules/orders\";\nimport { CustomerState } from \"./modules/customers\";\nimport { ProductState } from \"./modules/products\";\nimport { AppState } from \"./modules/app\";\n\nVue.use(Vuex);\n\ninterface RootState {\n  appState: AppState;\n  userState: UserState;\n  orderState: OrderState;\n  customerState: CustomerState;\n  productState: ProductState;\n}\n\nexport default new Vuex.Store<RootState>({\n  // plugins: [createPersistedState({ storage: window.sessionStorage })] // !debug ? [createPersistedState({ storage: window.sessionStorage })] : [],\n});\n","/* eslint-disable */ export const DB = { token: { accessToken: \"fake-token-12345789-abcdefgh\", user: { firstname: \"Admin\", lastname: \"\", email: \"admin@test.com\", password: \"password\" }, }, customers: [ { membership: false, mobile: \"555-555-555\", rewards: 21, id: 2, firstname: \"Larsen\", lastname: \"Shaw\", email: \"abc@test.com\", avatar: \"/assets/img/avatar3.png\", }, { membership: false, mobile: \"555-555-555\", rewards: 89, id: 4, firstname: \"Rosseta\", lastname: \"Wilson\", email: \"test@test.com\", avatar: \"/assets/img/avatar4.png\", }, { membership: false, mobile: \"555-555-555\", rewards: 38, id: 5, firstname: \"William\", lastname: \"Carney\", email: \"test@test.com\", avatar: \"/assets/img/avatar2.png\", }, { membership: false, mobile: \"555-555-555\", rewards: 23, id: 6, firstname: \"Sarah\", lastname: \"Dunne\", email: \"test@test.com\", avatar: \"/assets/img/avatar1.png\", }, { membership: true, mobile: \"555-555-555\", rewards: 23, id: 8, firstname: \"Merriana\", lastname: \"Sean\", email: \"test@test.com\", avatar: \"/assets/img/avatar5.png\", }, { membership: true, mobile: \"555-555-555\", rewards: 26, id: 9, firstname: \"Jubino\", lastname: \"Gerret\", email: \"test@test.com\", avatar: \"/assets/img/avatar1.png\", }, { membership: false, mobile: \"555-555-555\", rewards: 22, id: 10, firstname: \"Geneva\", lastname: \"Wilson\", email: \"test@test.com\", avatar: \"/assets/img/avatar2.png\", }, { membership: true, mobile: \"555-555-555\", rewards: 38, id: 11, firstname: \"Mark\", lastname: \"Carney\", email: \"test@test.com\", avatar: \"/assets/img/avatar5.png\", }, { membership: false, mobile: \"555-555-555\", rewards: 27, id: 12, firstname: \"Yann\", lastname: \"Larrel\", email: \"test@test.com\", avatar: \"/assets/img/avatar1.png\", }, { membership: true, firstname: \"John\", lastname: \"Doe\", mobile: \"555-555-555\", rewards: 88, email: \"john.doe@test.com\", id: 13, }, { avatar: null, firstname: \"sdfsdf\", lastname: \"sdfsdf\", mobile: \"555-555-555\", rewards: 22, email: \"sdfsdfsdfs\", membership: false, id: 14, }, ], orders: [ { id: 2, reference: \"order-2-2-1-2\", customerId: 2, products: [ { id: 1, productName: \"Product HHYDP\", categoryId: 1, unitInStock: null, unitPrice: 18, }, { id: 2, productName: \"Product RECZE\", categoryId: 1, unitInStock: null, unitPrice: 19, }, ], amount: 9.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 3, reference: \"order-4-3-1-2\", customerId: 4, products: [ { id: 1, productName: \"Product HHYDP\", categoryId: 1, unitInStock: null, unitPrice: 18, }, { id: 2, productName: \"Product RECZE\", categoryId: 1, unitInStock: null, unitPrice: 19, }, ], amount: 5.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 4, reference: \"order-4-4-1-2\", customerId: 4, products: [ { id: 3, productName: \"Product IMEHJ\", categoryId: 2, unitInStock: null, unitPrice: 10, }, { id: 4, productName: \"Product KSBRM\", categoryId: 2, unitInStock: null, unitPrice: 22, }, ], amount: 499.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 5, reference: \"order-5-5-1-2\", customerId: 5, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 399.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 6, reference: \"order-6-6-1-2\", customerId: 6, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 329.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 8, reference: \"order-8-8-1-2\", customerId: 8, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 89.99, orderDate: \"2017-01-12\", shippedDate: \"2017-01-10\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 9, reference: \"order-9-9-1-2\", customerId: 9, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 59.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 10, reference: \"order-10-10-1-2\", customerId: 10, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 49.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 12, reference: \"order-2-12-1-2\", customerId: 2, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 49.99, orderDate: \"2017-01-01\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 14, reference: \"order-2-14-1-2\", customerId: 4, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, ], amount: 19.99, orderDate: \"2017-01-09\", shippedDate: \"2017-01-01\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, }, { id: 15, reference: \"order-11-15-1-2\", customerId: 11, products: [ { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: null, unitPrice: 21.5, }, { id: 19, productName: \"Product XKXDO\", categoryId: 3, unitInStock: null, unitPrice: 9.2, category: { id: 3, categoryName: \"Confections\", description: \"Desserts, candies, and sweet breads\", picture: null, }, text: \"Product XKXDO\", value: 19, }, ], amount: 222, orderDate: \"2017-01-19\", shippedDate: \"2017-01-16\", shipAddress: { address: \"Gran Vía, 0123\", city: \"Madrid\", zipcode: \"10298\", country: \"Spain\", }, quantity: 12, price: 33, }, { products: [ { id: 4, productName: \"Product KSBRM\", categoryId: 2, unitInStock: 2, unitPrice: 22, category: { id: 2, categoryName: \"Condiments\", description: \"Sweet and savory sauces, relishes, spreads, and seasonings\", picture: null, }, text: \"Product KSBRM\", value: 4, }, { id: 6, productName: \"Product VAIIV\", categoryId: 2, unitInStock: null, unitPrice: 25, category: { id: 2, categoryName: \"Condiments\", description: \"Sweet and savory sauces, relishes, spreads, and seasonings\", picture: null, }, text: \"Product VAIIV\", value: 6, }, ], customerId: 4, orderDate: \"2017-08-08\", shippedDate: null, shipAddress: { address: \"sss\", city: \"sss\", zipcode: \"sss\", country: \"sss\", }, reference: \"ss-2-22-22\", amount: 2323, id: 16, }, ], products: [ { id: 1, productName: \"Product HHYDP\", categoryId: 1, unitInStock: 23, unitPrice: 18, }, { id: 2, productName: \"Product RECZE\", categoryId: 1, unitInStock: 10, unitPrice: 19, }, { id: 3, productName: \"Product IMEHJ\", categoryId: 2, unitInStock: null, unitPrice: 10, }, { id: 4, productName: \"Product KSBRM\", categoryId: 2, unitInStock: 2, unitPrice: 22, }, { id: 5, productName: \"Product EPEIM\", categoryId: 2, unitInStock: 333, unitPrice: 21.5, }, { id: 6, productName: \"Product VAIIV\", categoryId: 2, unitInStock: null, unitPrice: 25, }, { id: 7, productName: \"Product HMLNI\", categoryId: 7, unitInStock: null, unitPrice: 30, }, { id: 8, productName: \"Product WVJFP\", categoryId: 2, unitInStock: null, unitPrice: 40, }, { id: 9, productName: \"Product AOZBW\", categoryId: 6, unitInStock: null, unitPrice: 97, }, { id: 10, productName: \"Product YHXGE\", categoryId: 8, unitInStock: null, unitPrice: 31, }, { id: 11, productName: \"Product QMVUN\", categoryId: 4, unitInStock: null, unitPrice: 21, }, { id: 12, productName: \"Product OSFNS\", categoryId: 4, unitInStock: null, unitPrice: 38, }, { id: 13, productName: \"Product POXFU\", categoryId: 8, unitInStock: null, unitPrice: 6, }, { id: 14, productName: \"Product PWCJB\", categoryId: 7, unitInStock: null, unitPrice: 23.5, }, { id: 15, productName: \"Product KSZOI\", categoryId: 2, unitInStock: 33, unitPrice: 15.5, }, { id: 16, productName: \"Product PAFRH\", categoryId: 3, unitInStock: null, unitPrice: 17.5, }, { id: 17, productName: \"Product BLCAX\", categoryId: 6, unitInStock: null, unitPrice: 39, }, { id: 18, productName: \"Product CKEDC\", categoryId: 8, unitInStock: null, unitPrice: 62.5, }, { id: 19, productName: \"Product XKXDO\", categoryId: 3, unitInStock: null, unitPrice: 9.2, }, { id: 20, productName: \"Product QHFFP\", categoryId: 3, unitInStock: 23, unitPrice: 81, }, { id: 21, productName: \"Product VJZZH\", categoryId: 3, unitInStock: null, unitPrice: 18, }, { id: 22, productName: \"Product CPHFY\", categoryId: 5, unitInStock: null, unitPrice: 21, }, { id: 23, productName: \"Product JLUDZ\", categoryId: 5, unitInStock: null, unitPrice: 9.5, }, { id: 24, productName: \"Product QOGNU\", categoryId: 2, unitInStock: null, unitPrice: 4.5, }, { categoryId: 3, productName: \"Product ABCD\", unitPrice: 222, unitInStock: 23, id: 26, }, { id: 27, productName: \"asdasd\", categoryId: 3, unitInStock: \"22\", unitPrice: \"234\", }, ], categories: [ { id: 1, categoryName: \"Beverages\", description: \"Soft drinks, coffees, teas, beers, and ales\", picture: null, }, { id: 2, categoryName: \"Condiments\", description: \"Sweet and savory sauces, relishes, spreads, and seasonings\", picture: null, }, { id: 3, categoryName: \"Confections\", description: \"Desserts, candies, and sweet breads\", picture: null, }, { id: 4, categoryName: \"Dairy Products\", description: \"Cheeses\", picture: null, }, { id: 5, categoryName: \"Grains/Cereals\", description: \"Breads, crackers, pasta, and cereal\", picture: null, }, { id: 6, categoryName: \"Meat/Poultry\", description: \"Prepared meats\", picture: null, }, { id: 7, categoryName: \"Produce\", description: \"Dried fruit and bean curd\", picture: null, }, { id: 8, categoryName: \"Seafood\", description: \"Seaweed and fish\", picture: null, }, ], };","import { User, SearchFilter } from \"@/types\";\n\nconst SearchFilterOps = {\n  equal: \"_eq\",\n  greaterThan: \"_gt\",\n  lessThan: \"_lt\",\n  greaterThanOrEqual: \"_gte\",\n  lessThanOrEqual: \"_lte\",\n  contain: \"_like\",\n  startsWith: \"_startsWith\",\n  endsWith: \"_endsWith\",\n  // between: \"_between\",\n};\n\n\nconst SESSION_TOKEN_KEY = \"vue-crm-token\";\nconst SESSION_USER_KEY = \"vue-crm-user\";\n\nexport function setToken(token: string): void {\n  if (sessionStorage) {\n    sessionStorage.setItem(SESSION_TOKEN_KEY, token);\n  }\n}\n\nexport function setUser(userData: string): void {\n  if (sessionStorage) {\n    sessionStorage.setItem(SESSION_USER_KEY, userData);\n  }\n}\n\nexport function getToken(): string {\n  let token = \"\";\n  if (sessionStorage) {\n    const _token = sessionStorage.getItem(SESSION_TOKEN_KEY);\n    token = _token ? _token : token;\n  }\n  return token;\n}\n\nexport function getUser(): User {\n  let user = {} as User;\n  if (sessionStorage) {\n    const userData = sessionStorage.getItem(SESSION_USER_KEY);\n    user = userData ? (JSON.parse(userData) as User) : ({} as User);\n  }\n  return user;\n}\n\nexport function cleanSession() {\n  if (sessionStorage) {\n    sessionStorage.removeItem(SESSION_TOKEN_KEY);\n    sessionStorage.removeItem(SESSION_USER_KEY);\n  }\n}\n\nexport function capFirstLetter(s: string) {\n  return s && s[0].toUpperCase() + s.slice(1);\n}\n\nexport function clearSearchFilters(searchFilter: SearchFilter) {\n  if (searchFilter) {\n    if (searchFilter.filters) delete searchFilter.filters;\n\n    Object.keys(searchFilter).forEach(filter => {\n      if (searchFilter[filter]) {\n        // if (filter !== \"between\") {\n        Object.keys(searchFilter[filter]).forEach(prop => {\n          searchFilter[filter][prop] = null;\n        });\n      }\n    });\n  }\n}\n\n\nexport function buildSearchFilters(searchFilter: SearchFilter) {\n  if (searchFilter) {\n    searchFilter.filters = [];\n\n    Object.keys(searchFilter).forEach(filter => {\n      if (filter !== \"filters\") {\n        Object.keys(searchFilter[filter]).forEach(propName => {\n          console.log(`propName ${propName} `)\n          if (propName && searchFilter[filter]\n            && searchFilter[filter][propName]) {\n            searchFilter.filters.push({\n              property: propName,\n              op: SearchFilterOps[filter],\n              val: searchFilter[filter][propName],\n            });\n          }\n        });\n      }\n    });\n  }\n}\n\nexport function buildJsonServerQuery(searchVm: TODO) {\n  let filterQuery = \"\";\n  if (searchVm && searchVm.filters) {\n    filterQuery = searchVm.filters.reduce((prev: '', f: TODO) => {\n      if (f.val && f.val !== \"\", f.val !== null && f.val !== undefined) {\n        let qString = ''\n        qString += f.property;\n        qString += f.op;\n        qString += \"=\";\n        qString += f.val;\n        prev += prev !== '' ? `&${qString}` : `${qString}`\n      }\n      return prev\n    }, '');\n  }\n  debugger\n  return filterQuery;\n}\n\n\nconst filterFn = (op: string, value: TODO) => (prop: string,  data:TODO) => {\n  let propName =  \"\"\n  switch (op) {\n    case SearchFilterOps.equal:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.equal))\n      return data[propName] === value\n    case SearchFilterOps.contain:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.contain))\n      return data[propName].toLowerCase().includes(value.toLowerCase())\n    case SearchFilterOps.startsWith:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.startsWith))\n      return data[propName].toLowerCase().startsWith(value.toLowerCase())\n    case SearchFilterOps.endsWith:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.endsWith))\n      return data[propName].toLowerCase().endsWith(value.toLowerCase())\n    case SearchFilterOps.greaterThan:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.greaterThan))\n      return  parseFloat(data[propName]) > parseFloat( value)\n    case SearchFilterOps.lessThan:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.lessThan))\n      return parseFloat(data[propName] ) < parseFloat(value)\n    case SearchFilterOps.greaterThanOrEqual:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.greaterThanOrEqual))\n      return  parseFloat(data[propName]) >=parseFloat( value)\n    case SearchFilterOps.lessThanOrEqual:\n      propName = prop.slice(0, prop.indexOf(SearchFilterOps.lessThanOrEqual))\n      return parseFloat(data[propName] )<= parseFloat(value)\n  }\n}\n\n\nexport function getSeachFilters(parsedQs: { [key: string]: TODO }) {\n  // Search Query will look like follows\n  // firstname_like=abc&email_like=abc&price_ge=10\n  const filters = Object.keys(parsedQs).reduce(\n    (prev: TODO, k: string) => {\n      const prop = k.slice(0, k.indexOf('_'))\n      const op = k.slice(k.indexOf('_'))\n      const compVal = parsedQs[k]\n      if (prop !== '') {\n        prev[k] = filterFn(op, compVal)\n      }\n      return prev\n    }, {})\n  return filters;\n}\n\nexport function isValidRewards(rewards: number) {\n  if (rewards < 0 || rewards > 9999) {\n    return \"Reward is required. It must be bewteen 0 and 9999\";\n  }\n  return true;\n}\n\nexport function isValidEmail(email: string) {\n  /* eslint-disable no-useless-escape */\n  const re = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n  if (email && !re.test(email)) return \"Email is invalid.\";\n  return true;\n}\n","import { DB } from './demo-data';\nimport { Entity } from '@/types';\nimport url from 'url';\nimport querystring from 'querystring';\nimport { getSeachFilters } from './app-util';\n\nconst ds: TODO = DB;\n\nconst EXPAND = \"_expand\"\nconst EMBED = \"_exbed\"\n\nfunction getModel(action: string) {\n  if (action.includes(\"/\")) {\n    return action.substring(0, action.indexOf(\"/\"))\n  }\n  else {\n    return action;\n  }\n}\n\nfunction getId(action: string): number {\n  if (action.includes(\"/\")) {\n    return parseInt(action.substring(action.indexOf(\"/\") + 1))\n  }\n  else {\n    return 0\n  }\n}\n\nfunction getExpand(qs: TODO) {\n  if (EXPAND in qs) {\n    return qs[EXPAND];\n  }\n  else return ''\n}\n\nfunction parseRequest(req: string) {\n  const parsedUrl = url.parse(req);\n  const parsedQs = querystring.parse(parsedUrl.query);\n  const model = getModel(parsedUrl.pathname);\n  const id = getId(parsedUrl.pathname);\n  const exp = getExpand(parsedQs)\n  const filters = getSeachFilters(parsedQs)\n  return { model, id, exp, filters }\n}\n\n\nexport function getData(action: string): Promise<TODO> {\n  const { model, id, exp, filters } = parseRequest(action)\n  return new Promise(function (resolve, _reject) {\n    const expandModel = exp\n      ? exp === \"category\"\n        ? \"categories\"\n        : exp + \"s\"\n      : exp;\n\n    console.log(model);\n    let result: TODO;\n    let expand: string, expandId: number;\n    console.log(expandModel);\n    if (model in ds) {\n      if (id && id > 0) {\n        result =\n          ds[model][ds[model].findIndex((d: { id: number }) => d.id === id)];\n        if (expandModel) {\n          expand =\n            expandModel === \"categories\"\n              ? \"category\"\n              : expandModel.substr(0, expandModel.length - 1);\n          expandId = result[expand + \"Id\"] as number;\n          result[expand] =\n            ds[expandModel][\n            ds[expandModel].findIndex((d: { id: number }) => d.id === expandId)\n            ];\n        }\n      } else {\n        result = ds[model].map((m: { [x: string]: TODO }) => {\n          if (expandModel) {\n            expand =\n              expandModel === \"categories\"\n                ? \"category\"\n                : expandModel.substr(0, expandModel.length - 1);\n            expandId = m[expand + \"Id\"] as number;\n            m[expand] =\n              ds[expandModel][\n              ds[expandModel].findIndex((d: { id: number }) => d.id === expandId)\n              ];\n          }\n          return m;\n        });\n      }\n\n      if (filters !== null && filters !== undefined\n        && Object.keys(filters).length > 0) {\n        result = result.filter(\n          row => Object.keys(filters).every(\n            prop => filters[prop](prop,row)\n          )\n        )\n      }\n    }\n    setTimeout(resolve, 500, { data: result });\n  });\n}\n\nexport function postData(action: string, data: Entity): Promise<TODO> {\n  const { model } = parseRequest(action)\n  return new Promise(function (resolve, _reject) {\n    ds[model].push(data);\n    setTimeout(resolve, 200, { data: data });\n  });\n}\n\nexport function putData(action: string, data: Entity): Promise<TODO> {\n  const { model, id } = parseRequest(action)\n  return new Promise(function (resolve, _reject) {\n    const idx = ds[model].findIndex((d: { id: number }) => d.id === id);\n    ds[model][idx] = Object.assign({}, data);\n    setTimeout(resolve, 200, { data: data });\n  });\n}\n\nexport function deleteData(action: string): Promise<TODO> {\n  const { model, id } = parseRequest(action)\n  return new Promise(function (resolve, _reject) {\n    if (id > 0) {\n      ds[model].splice(ds[model].findIndex((d: Entity) => d.id === id), 1);\n    }\n    setTimeout(resolve, 200, { status: 200 });\n  });\n}\n\nexport function login(_action: string, data: TODO): Promise<TODO> {\n  return new Promise(function (resolve, _reject) {\n    if (data.username === \"admin@test.com\" && data.password === \"password\") {\n      const { accessToken: accessToken, user } = ds.token;\n      setTimeout(resolve, 200, {\n        data: {\n          accessToken: accessToken,\n          user,\n        },\n      });\n    } else {\n      _reject({\n        code: 403,\n        text: \"Your name or password is wrong\",\n      });\n    }\n  });\n}\n","import { User, UserInfo } from \"@/types\";\nimport {\n  VuexModule,\n  Module,\n  Mutation,\n  Action,\n  getModule\n} from \"vuex-module-decorators\";\nimport store from \"@/store\";\nimport { login } from \"@/utils/demo-api\";\nimport {\n  getUser,\n  getToken,\n  setToken,\n  setUser,\n  cleanSession\n} from \"@/utils/app-util\";\n\nexport interface UserState {\n  callingAPI: boolean;\n  searching: string;\n  user: User;\n  token: string;\n  // mode: string;\n  userInfo: UserInfo;\n  signedIn: boolean;\n}\n\n@Module({ store, dynamic: true, name: \"userModule\" })\nclass UserModule extends VuexModule implements UserState {\n  public callingAPI = false;\n  public searching = \"\";\n  user = getUser();\n  token = getToken();\n\n  public userInfo = {} as UserInfo;\n  public signedIn = false;\n\n\n  get isSignedIn(): boolean {\n    return this.user.email && this.token ? true : false;\n  }\n\n  @Mutation\n  private loginLoading() {\n    this.callingAPI = !this.callingAPI;\n  }\n  @Mutation\n  private globalSearching() {\n    this.searching = this.searching === \"\" ? \"loading\" : \"\";\n  }\n\n  @Mutation\n  private setUser(_user: User): void {\n    this.user = _user;\n  }\n\n  @Mutation\n  private setToken(_token: string) {\n    this.token = _token;\n  }\n\n  @Mutation\n  private setUserInfo(_userInfo: UserInfo) {\n    this.userInfo = _userInfo;\n  }\n\n  @Action({ rawError: true })\n  public async signIn(userInfo: { username: string; password: string }) {\n    const { username, password } = userInfo;\n    const { data } = await login(\"login\", { username, password });\n    setToken(data.accessToken);\n    setUser(JSON.stringify(data.user));\n\n    this.setToken(data.accessToken);\n    this.setUser(data.user);\n  }\n\n  @Action({ rawError: true })\n  logout() {\n    this.setToken(\"\");\n    this.setUser({} as User);\n    cleanSession();\n  }\n}\n\nexport const userModule = getModule(UserModule);\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component } from 'vue-property-decorator';\nimport Vue from 'vue';\nimport { userModule } from '@/store/modules/user';\n\n\n@Component\nexport default class App extends Vue {\n  get signedIn() {\n    return userModule.isSignedIn;\n  }\n\n  get user() {\n    return userModule.user;\n  }\n\n  private dialog = false;\n  private mini = false;\n  private dialogText = '';\n  private dialogTitle = '';\n  private isRootComponent = true;\n  public drawer = window.innerWidth > 960;\n  private fixed = false;\n  private items: AppMenu[] = [\n    {\n      icon: 'mdi-view-dashboard',\n      title: 'Dashboard',\n      vertical: 'Dashboard',\n      link: 'dashboard'\n    },\n    {\n      icon: 'mdi-point-of-sale',\n      title: 'Order',\n      vertical: 'Order',\n      link: 'orders'\n    },\n    {\n      icon: 'mdi-account-group',\n      title: 'Customer',\n      vertical: 'Customer',\n      link: 'customers'\n    },\n    {\n      icon: 'mdi-book-multiple',\n      title: 'Product',\n      vertical: 'Product',\n      link: 'products'\n    },\n    {\n      icon: 'mdi-information-outline',\n      title: 'About',\n      vertical: 'About',\n      link: 'about'\n    }\n  ];\n\n  private userMenus: AppMenu[]  = [\n    {\n      icon: 'bubble_chart',\n      title: 'Logout',\n      link: 'login'\n    },\n    {\n      icon: 'bubble_chart',\n      title: 'Change Password',\n      link: 'changepassword'\n    }\n  ];\n\n  private miniVariant = false;\n  private right = true;\n  private rightDrawer = false;\n  private menuItem = '';\n\n  created() {\n    //  [App.vue specific] When App.vue is first loaded start the progress bar\n    this.$Progress.start();\n    //  hook the progress bar to start before we move router-view\n    this.$router.beforeEach((to, _from, next) => {\n      //  does the page we want to go to have a meta.progress object\n      if (to.meta.progress !== undefined) {\n        const meta = to.meta.progress;\n        // parse meta tags\n        this.$Progress.parseMeta(meta);\n      }\n      \n      //  start the progress bar\n      this.$Progress.start();\n\n      //  continue to next page\n      next();\n    });\n    //  hook the progress bar to finish after we've finished moving router-view\n    this.$router.afterEach((to, from) => {\n      if (to.name !== 'ErrorPage') {\n        this.menuItem = to.name;\n      }\n      //  finish the progress bar\n      this.$Progress.finish();\n    });\n  \n  }\n\n  get activeMenuItem() {\n    return this.menuItem;\n  }\n\n  handleNavigtiion(item: TODO) {\n    this.menuItem = item.title;\n    this.$router.push({\n      name: item.link\n    });\n  }\n\n  async handleUserActions(item: TODO) {\n    this.menuItem = item.title;\n    if (item.title === 'Logout') {\n      await userModule.logout();\n    }\n    this.$router.push(item.link);\n  }\n\n  mounted() {\n  }\n}\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--14-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--14-3!../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=ca8c1e92&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=ca8c1e92&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"ca8c1e92\",\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\nimport { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAppBarNavIcon } from 'vuetify/lib/components/VAppBar';\nimport { VBadge } from 'vuetify/lib/components/VBadge';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VContent } from 'vuetify/lib/components/VContent';\nimport { VFooter } from 'vuetify/lib/components/VFooter';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VApp,VAppBar,VAppBarNavIcon,VBadge,VBtn,VContainer,VContent,VFooter,VIcon,VImg,VList,VListItem,VListItemAction,VListItemContent,VListItemTitle,VMenu,VNavigationDrawer,VSpacer})\n","/* eslint-disable no-console */\n\nimport { register } from \"register-service-worker\";\n\nif (process.env.NODE_ENV === \"production\") {\n  register(`${process.env.BASE_URL}service-worker.js`, {\n    ready() {\n      console.log(\n        \"App is being served from cache by a service worker.\\n\" +\n          \"For more details, visit https://goo.gl/AFskqB\"\n      );\n    },\n    registered() {\n      console.log(\"Service worker has been registered.\");\n    },\n    cached() {\n      console.log(\"Content has been cached for offline use.\");\n    },\n    updatefound() {\n      console.log(\"New content is downloading.\");\n    },\n    updated() {\n      console.log(\"New content is available; please refresh.\");\n    },\n    offline() {\n      console.log(\n        \"No internet connection found. App is running in offline mode.\"\n      );\n    },\n    error(error) {\n      console.error(\"Error during service worker registration:\", error);\n    }\n  });\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home center\"},[_c('v-card',{staticClass:\"mx-auto\",attrs:{\"color\":\" \",\"dark\":\"\",\"max-width\":\"400\"}},[_c('v-card-title',[_c('v-icon',{attrs:{\"large\":\"\",\"left\":\"\"}},[_vm._v(\" mdi-information \")]),_c('span',{staticClass:\"title font-weight-light\"},[_vm._v(\"ERROR\")])],1),_c('v-card-text',{staticClass:\"headline  font-weight-bold\"},[_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.msg))])]),_c('v-card-actions',[_c('v-list-item',{staticClass:\"grow\"},[_c('v-list-item-avatar',{attrs:{\"color\":\"grey darken-3\"}},[_c('v-img',{staticClass:\"elevation-6\",attrs:{\"src\":require(\"@/assets/avatar0.png\")}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\"Admin\")])],1),_c('v-row',{attrs:{\"align\":\"center\",\"justify\":\"end\"}},[_c('router-link',{attrs:{\"to\":\"/dashboard\"}},[_c('v-icon',{staticClass:\"mr-1\",attrs:{\"link\":\"dashboard\",\"router\":\"\"}},[_vm._v(\"mdi-home\")])],1),_c('span',{staticClass:\"mr-1\"},[_vm._v(\"·\")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"home center\">\n    <v-card class=\"mx-auto\" color=\" \" dark max-width=\"400\">\n      <v-card-title>\n        <v-icon large left>\n          mdi-information\n        </v-icon>\n        <span class=\"title font-weight-light\">ERROR</span>\n      </v-card-title>\n\n      <v-card-text class=\"headline  font-weight-bold\">\n        <p style=\"color:red\">{{ msg }}</p>\n      </v-card-text>\n\n      <v-card-actions>\n        <v-list-item class=\"grow\">\n          <v-list-item-avatar color=\"grey darken-3\">\n            <v-img class=\"elevation-6\" src=\"@/assets/avatar0.png\"></v-img>\n          </v-list-item-avatar>\n\n          <v-list-item-content>\n            <v-list-item-title>Admin</v-list-item-title>\n          </v-list-item-content>\n\n          <v-row align=\"center\" justify=\"end\">\n            <router-link to=\"/dashboard\">\n              <v-icon class=\"mr-1\" link=\"dashboard\" router>mdi-home</v-icon>\n            </router-link>\n            <span class=\"mr-1\">·</span>\n          </v-row>\n        </v-list-item>\n      </v-card-actions>\n    </v-card>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'ErrorPage',\n  data() {\n    return {\n      msg: \"Sorry, the page you're looking for doesn't exist.\"\n    };\n  }\n};\n</script>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./404.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./404.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./404.vue?vue&type=template&id=beb78ca8&\"\nimport script from \"./404.vue?vue&type=script&lang=js&\"\nexport * from \"./404.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCardActions,VCardText,VCardTitle,VIcon,VImg,VListItem,VListItemAvatar,VListItemContent,VListItemTitle,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"mx-0 pa-0\",attrs:{\"id\":\"dashboard\",\"fluid\":\"\",\"grid-list-lg\":\"\"}},[_c('info-box'),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-card',{attrs:{\"light\":\"\",\"elevation\":\"4\"}},[_c('monthly-sales')],1)],1),_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-card',{attrs:{\"light\":\"\",\"elevation\":\"4\"}},[_c('order-forecast')],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-card',{attrs:{\"light\":\"\",\"elevation\":\"4\"}},[_c('product-analysis')],1)],1),_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-card',{attrs:{\"light\":\"\",\"elevation\":\"4\"}},[_c('browser-usage')],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},_vm._l((_vm.monthlyStats),function(stat,index){return _c('v-flex',{key:index,attrs:{\"md3\":\"\",\"sm6\":\"\",\"xs12\":\"\"}},[_c('v-card',{class:stat.bgColor,attrs:{\"dark\":\"\",\"elevation\":\"4\"}},[_c('v-list-item',[_c('v-list-item-avatar',[_c('v-icon',{class:[stat.iconClass],domProps:{\"textContent\":_vm._s(stat.icon)}})],1),_c('v-list-item-content',[_c('v-list-item-subtitle',{domProps:{\"textContent\":_vm._s(stat.title)}}),_c('br'),_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(stat.data)}})],1),_c('v-list-item-action',[_c('v-btn',{attrs:{\"icon\":\"\"}},[_c('v-icon',{attrs:{\"color\":\"grey lighten-3\"}},[_vm._v(\"mdi-information\")])],1)],1)],1)],1)],1)}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from \"vue-property-decorator\";\nimport Vue from \"vue\";\n\n@Component({\n  name: \"InfoBox\"\n})\nexport default class InfoBox extends Vue {\n  monthlyStats = [\n    {\n      bgColor: \"cyan darken-3\",\n      iconClass: \"amber white--text\",\n      icon: \"mdi-wallet-membership\",\n      title: \"New Order\",\n      data: \"120\",\n      action: {\n        label: \"more\",\n        link: \"\"\n      }\n    },\n    {\n      bgColor: \"deep-orange  lighten-3\",\n      iconClass: \"cyan white--text\",\n      icon: \"mdi-wallet-giftcard\",\n      title: \"User Registrationsr\",\n      data: \"780\",\n      action: {\n        label: \"more\",\n        link: \"\"\n      }\n    },\n    {\n      bgColor: \"blue-grey lighten-4\",\n      iconClass: \"orange darken-5 white--text\",\n      icon: \"mdi-wallet-travel\",\n      title: \"Unique Visitors\",\n      data: \"78\",\n      action: {\n        label: \"more\",\n        link: \"\"\n      }\n    },\n    {\n      bgColor: \"pink  darken-1\",\n      iconClass: \"blue lighten-3 white--text\",\n      icon: \"mdi-wall\",\n      title: \"Bounce Rate\",\n      data: \"53%\",\n      action: {\n        label: \"more\",\n        link: \"\"\n      }\n    }\n  ];\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoBox.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InfoBox.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InfoBox.vue?vue&type=template&id=1f1e384b&\"\nimport script from \"./InfoBox.vue?vue&type=script&lang=ts&\"\nexport * from \"./InfoBox.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\ninstallComponents(component, {VBtn,VCard,VFlex,VIcon,VLayout,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle})\n","import { Component, Prop } from \"vue-property-decorator\";\nimport { mixins } from \"vue-class-component\";\nimport { Bar } from \"vue-chartjs\";\n\n@Component({\n  name: \"MonthlySales\"\n})\nexport default class MonthlySales extends mixins(Bar) {\n\n\n  @Prop({ default: 150 }) height: number;\n\n\n  // @ts-ignore\n  @Prop({\n    default: () => {\n      return { \"margin-left\": '0px', \"background\": '#e8757857' }\n    }\n  }) styles;\n\n\n  mounted() {\n\n    this.renderChart(\n      {\n        labels: [\n          \"Jan\",\n          \"Feb\",\n          \"Mar\",\n          \"Apr\",\n          \"May\",\n          \"Jun\",\n          \"Jul\",\n          \"Aug\",\n          \"Sep\",\n          \"Oct\",\n          \"Nov\",\n          \"Dec\"\n        ],\n        datasets: [\n          {\n            backgroundColor: \"#f87979\",\n            data: [30, 23, 32, 39, 28, 30, 39, 30, 32, 29, 32, 31],\n            showLine: false,\n            hideInLegendAndTooltip: true,\n            borderWidth: 0\n          }\n        ],\n      },\n      {\n        title: {\n          display: true,\n          text: 'Monthly Sales',\n          // position: 'left'\n        },\n        legend: {\n          display: false\n        },\n        scales: {\n          xAxes: [{\n            display: false,\n            offset: true,\n          }],\n          yAxes: [{\n            display: false,\n          }],\n        },\n        responsive: true, maintainAspectRatio: false,\n      } \n    );\n  }\n}\n","import { Component, Prop } from \"vue-property-decorator\";\nimport { mixins } from \"vue-class-component\";\n\nimport { Line } from \"vue-chartjs\";\n\n@Component({\n  name: \"OrderForecast\"\n})\nexport default class OrderForecast extends mixins(Line) {\n\n  @Prop({ default: 150 }) height: number;\n\n  // @ts-ignore\n  @Prop({\n    default: () => {\n      return { \"margin-left\": '0px', \"background\": '#a5b8a7' }\n    }\n  })\n  styles;\n\n\n  public gradient: TODO;\n  public gradient2: TODO;\n\n  mounted() {\n\n    this.renderChart(\n      {\n        labels: [\n          \"January\",\n          \"February\",\n          \"March\",\n          \"April\",\n          \"May\",\n          \"June\",\n          \"July\"\n        ],\n        datasets: [\n          {\n            label: \"Data One\",\n            borderColor: \"#FC2525\",\n            pointBackgroundColor: \"white\",\n            borderWidth: 1,\n            pointBorderColor: \"white\",\n            backgroundColor: this.gradient,\n            data: [40, 39, 10, 40, 39, 80, 40]\n          },\n          {\n            label: \"Data Two\",\n            borderColor: \"#05CBE1\",\n            pointBackgroundColor: \"white\",\n            pointBorderColor: \"white\",\n            borderWidth: 1,\n            backgroundColor: this.gradient2,\n            data: [60, 55, 32, 10, 2, 12, 53]\n          }\n        ]\n      },\n      { title: {\n        display: true,\n        text: 'Order Forecast',\n        // position: 'left'\n      },\n      legend: {\n        display: false\n      },\n      scales: {\n        xAxes: [{\n          display: false,\n          // offset: true,\n        }],\n        yAxes: [{\n          display: false,\n        }],\n      },responsive: true, maintainAspectRatio: false }\n    );\n  }\n}\n","import { Component } from \"vue-property-decorator\";\nimport { mixins } from \"vue-class-component\";\nimport { Bar } from \"vue-chartjs\";\n\n@Component({\n  name: \"BarChart\"\n})\nexport default class BarChart extends mixins(Bar) {\n  mounted() {\n    this.renderChart(\n      {\n        labels: [\n          \"January\",\n          \"February\",\n          \"March\",\n          \"April\",\n          \"May\",\n          \"June\",\n          \"July\",\n          \"August\",\n          \"September\",\n          \"October\",\n          \"November\",\n          \"December\"\n        ],\n        datasets: [\n          {\n            label: \"Data One\",\n            backgroundColor: \"#f87979\",\n            data: [40, 20, 12, 39, 10, 40, 39, 80, 40, 20, 12, 11]\n          }\n        ]\n      },\n      { responsive: true, maintainAspectRatio: false }\n    );\n  }\n}\n","import { Component } from \"vue-property-decorator\";\nimport { mixins } from \"vue-class-component\";\nimport { Doughnut } from \"vue-chartjs\";\n\n@Component({\n  name: \"BrowserUsage\"\n})\nexport default class BrowserUsage extends mixins(Doughnut) {\n  mounted() {\n    this.renderChart(\n      {\n        labels: [\"Firefox\", \"Safari\", \"Chrome\", \"IE\"],\n        datasets: [\n          {\n            backgroundColor: [\"#41B883\", \"amber\", \"#00D8FF\", \"#DD1B16\"],\n            data: [40, 20, 80, 10]\n          }\n        ]\n      },\n      {\n        legend: {\n          position: 'top',\n          fullWidth: true,\n          labels: {\n            fontSize: 16,\n            fontStyle: 'bold'\n          }\n        },\n\n        title: {\n          display: true,\n          text: 'Browser Usage',\n          position: 'bottom',\n          fontSize: 20,\n          fontStyle: 'bold'\n        },\n        responsive: true, maintainAspectRatio: false\n      }\n    );\n  }\n}\n","import { Component } from \"vue-property-decorator\";\nimport { mixins } from \"vue-class-component\";\nimport { HorizontalBar} from \"vue-chartjs\";\n\n@Component({\n  name: \"ProductAnalysis\"\n})\nexport default class ProductAnalysis extends mixins(HorizontalBar){\n\n  mounted() {\n    this.renderChart(\n      {\n        labels: [\n          \"Jan\",\n          \"Feb\",\n          \"Mar\",\n          \"Apr\",\n          \"May\",\n          \"Jun\",\n        ],\n        datasets: [\n          {\n            label: \"Product HX\",\n            backgroundColor: \"#eb9fc1\",\n            data: [10, -2, 22, 9, -28, 15, ], \n            showLine: false,\n            hideInLegendAndTooltip:true,\n            borderColor: '#e55b83',\n            borderWidth: 1,\n            categoryPercentage: 0.95,\n            barPercentage: 0.95\n          },\n          {\n            label: \"Product BM\",\n            backgroundColor: \"#fde4a9\",\n            data: [20, -2, 30, 19, -21, -5],\n            showLine: false,\n            hideInLegendAndTooltip:true,\n            borderColor: '#facd55',\n            borderWidth: 1,\n            categoryPercentage: 0.95,\n            barPercentage: 0.95\n          },\n          {\n            label: \"Product WR\",\n            backgroundColor: \"#9bdddf\",\n            data: [-6, -21, 21, -9, 2, 10],\n            showLine: false,\n            hideInLegendAndTooltip:true,\n            borderColor: '#62c1c0',\n            borderWidth: 1,\n            categoryPercentage: 0.95,\n            barPercentage: 0.95\n          },\n          {\n            label: \"Product PK\",\n            backgroundColor: \"#90cdf4\",\n            borderColor: '#3ba2eb',\n            borderWidth: 1,\n            data: [16, 10, 12, -20, 18, 2], \n            showLine: false,\n            hideInLegendAndTooltip:true,\n            categoryPercentage: 0.95,\n            barPercentage: 0.95\n          }\n        ],\n      },\n      { \n        title: {\n          display: true,\n          text: 'Product Analysis',\n          position: 'bottom',\n          fontSize: 20,\n          fontStyle: 'bold'\n        },\n        legend:{\n          position: 'top',\n          fullWidth: true,\n          labels: {\n            fontSize: 16,\n            fontStyle: 'bold'\n          }\n        },\n        scales: {\n          xAxes:[{\n            display: true,\n            offset: true,\n          }],\n          yAxes:[{\n            display: true,\n          }],\n        },\n        responsive: true, maintainAspectRatio: false,\n\n      }\n    );\n  }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport InfoBox from \"@/components/dashboard/InfoBox.vue\";\nimport MonthlySales from \"@/components/dashboard/MonthlySales\";\nimport OrderForecast from \"@/components/dashboard/OrderForecast\";\nimport BarChart from \"@/components/dashboard/Bar\";\nimport BrowserUsage from \"@/components/dashboard/BrowserUsage\";\nimport ProductAnalysis from \"@/components/dashboard/ProductAnalysis\";\nimport { Component, Prop } from \"vue-property-decorator\";\nimport Vue from \"vue\";\n\n@Component({\n  name: \"Dashboard\",\n  components: {\n    InfoBox,\n    MonthlySales,\n    OrderForecast,\n    BarChart,\n    BrowserUsage,\n    ProductAnalysis\n  }\n})\nexport default class Dashboard extends Vue {}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=12e37a22&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VContainer,VFlex,VLayout})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',[_c('v-card-title',[_c('span',{staticClass:\"title\"},[_vm._v(\"Orders \"+_vm._s(_vm.pagination ? '(' + _vm.pagination.totalItems + ')' : '')+\" \")]),_c('v-spacer'),_c('table-header-buttons',{attrs:{\"add\":_vm.add,\"reloadData\":_vm.reloadData,\"updateSearchPanel\":_vm.updateSearchPanel}})],1),(_vm.loading === false)?_c('Table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"pagination\":_vm.pagination},on:{\"edit\":_vm.edit,\"remove\":_vm.remove}}):_vm._e()],1)],1),_c('search-panel',{attrs:{\"rightDrawer\":_vm.rightDrawer},on:{\"cancelSearch\":_vm.cancelSearch,\"searchData\":_vm.searchOrders}},[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"reference\",\"label\":\"Reference\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.reference),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"reference\", $$v)},expression:\"searchFilter.contain.reference\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"customer\",\"label\":\"Customer\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.customer),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"customer\", $$v)},expression:\"searchFilter.contain.customer\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"minAmount\",\"type\":\"number\",\"label\":\"Min Amount\",\"light\":\"\"},model:{value:(_vm.searchFilter.greaterThanOrEqual.amount),callback:function ($$v) {_vm.$set(_vm.searchFilter.greaterThanOrEqual, \"amount\", $$v)},expression:\"searchFilter.greaterThanOrEqual.amount\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"maxAmount\",\"type\":\"number\",\"label\":\"Max Amount\",\"light\":\"\"},model:{value:(_vm.searchFilter.lessThanOrEqual.amount),callback:function ($$v) {_vm.$set(_vm.searchFilter.lessThanOrEqual, \"amount\", $$v)},expression:\"searchFilter.lessThanOrEqual.amount\"}})],1)],1)],1),_c('confirm-dialog',{attrs:{\"dialog\":_vm.dialog,\"dialogTitle\":_vm.dialogTitle,\"dialogText\":_vm.dialogText},on:{\"onConfirm\":_vm.onConfirm,\"onCancel\":_vm.onCancel}}),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":2000,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-text',[_c('v-text-field',{attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"search\":_vm.search,\"headers\":_vm.headers,\"items\":_vm.items,\"page\":_vm.pagination.page,\"items-per-page\":_vm.pagination.rowsPerPage,\"hide-default-footer\":\"\"},on:{\"update:page\":function($event){return _vm.$set(_vm.pagination, \"page\", $event)}},scopedSlots:_vm._u([{key:\"item.avatar\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.avatar !== null)?_c('v-img',{staticClass:\"avatar \",attrs:{\"small\":\"\",\"max-width\":\"2em\",\"src\":item.avatar,\"srcset\":item.avatar}}):_vm._e()]}},{key:\"item.membership\",fn:function(ref){\nvar item = ref.item;\nreturn [(item.membership === true)?_c('v-icon',[_vm._v(\" mdi-checkbox-marked-circle-outline \")]):_vm._e(),(item.membership === false)?_c('v-icon',[_vm._v(\" mdi-close-circle-outline \")]):_vm._e()]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{staticClass:\"teal mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.$emit('edit', item)}}},[_c('v-icon',[_vm._v(\" mdi-pencil \")])],1),_c('v-btn',{staticClass:\"cyan\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\"},nativeOn:{\"click\":function($event){return _vm.$emit('remove', item)}}},[_c('v-icon',[_vm._v(\" mdi-trash-can-outline \")])],1)]}}])},[_c('template',{slot:\"no-data\"},[_c('span',[_c('p',{staticClass:\"pt-2 blue--text subheading\"},[_c('v-icon',{staticClass:\"blue--text\",attrs:{\"medium\":\"\"}},[_vm._v(\"mdi-info\")]),_vm._v(\"Sorry, nothing to display here :( \")],1)])])],2),(_vm.isNotEmpty)?_c('div',{staticClass:\"text-xs-center pt-2\"},[_c('v-pagination',{attrs:{\"length\":_vm.pagination.pages,\"total-visible\":5,\"circle\":\"\"},model:{value:(_vm.pagination.page),callback:function ($$v) {_vm.$set(_vm.pagination, \"page\", $$v)},expression:\"pagination.page\"}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Entity } from \"@/types\";\nimport { Component, Prop } from \"vue-property-decorator\";\n\n@Component\nexport default class Table extends Vue {\n  @Prop() readonly headers: TableHeader[];\n  @Prop() readonly items: Entity[];\n  @Prop() readonly pagination: Pagination;\n\n  search = \"\";\n\n  isNotEmpty() {\n    return this.items && this.items.length > 0;\n  }\n\n  hasHeader(header: TODO) {\n    return header?.value ? true : false;\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Table.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Table.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Table.vue?vue&type=template&id=fe0261d4&\"\nimport script from \"./Table.vue?vue&type=script&lang=ts&\"\nexport * from \"./Table.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VPagination } from 'vuetify/lib/components/VPagination';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardText,VDataTable,VIcon,VImg,VPagination,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-btn',{staticClass:\"blue-grey mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.updateSearchPanel($event)}}},[_c('v-icon',[_vm._v(\"mdi-magnify\")])],1),_c('v-btn',{staticClass:\"brown lighten-1  mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.reloadData()}}},[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1),_c('v-btn',{staticClass:\"teal darken-2  mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.print()}}},[_c('v-icon',[_vm._v(\"mdi-printer\")])],1),_c('v-btn',{staticClass:\"deep-orange darken-3\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.add($event)}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n@Component\nexport default class TableHeaderButtons extends Vue {\n  @Prop() reloadData: () => void;\n  @Prop() updateSearchPanel: () => void;\n  @Prop() add: () => void;\n\n  print() {\n    window.print();\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableHeaderButtons.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableHeaderButtons.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TableHeaderButtons.vue?vue&type=template&id=56d89056&\"\nimport script from \"./TableHeaderButtons.vue?vue&type=script&lang=ts&\"\nexport * from \"./TableHeaderButtons.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VIcon})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-navigation-drawer',{attrs:{\"right\":\"\",\"disable-resize-watcher\":true,\"fixed\":\"\"},model:{value:(_vm.rightDrawerVal),callback:function ($$v) {_vm.rightDrawerVal=$$v},expression:\"rightDrawerVal\"}},[_c('v-list',[_c('v-list-item',{staticClass:\"my-2\"},[_c('v-list-item-title',{staticClass:\"title\"},[_vm._v(\"Advanced Search\")])],1),_vm._t(\"default\"),_c('v-layout',{staticClass:\"pl-1 pt-3 ml-1\",attrs:{\"row\":\"\"}},[_c('v-btn',{staticClass:\"purple mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.$emit('searchData')}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-magnify\")])],1),_c('v-btn',{staticClass:\"grey\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.$emit('cancelSearch')}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-close-circle-outline\")])],1)],1)],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from 'vue-property-decorator';\nimport Vue from 'vue';\n\n@Component\nexport default class SearchPanel extends Vue {\n  @Prop({ required: true }) rightDrawer: boolean;\n\n  get rightDrawerVal() {\n    return this.rightDrawer;\n  }\n  set rightDrawerVal(r: boolean) {\n    this.rightDrawer = r;\n  }\n\n  public right = true;\n\n  created() {}\n\n  mounted() {\n    this.$nextTick(() => {});\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchPanel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchPanel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SearchPanel.vue?vue&type=template&id=459160df&\"\nimport script from \"./SearchPanel.vue?vue&type=script&lang=ts&\"\nexport * from \"./SearchPanel.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VNavigationDrawer } from 'vuetify/lib/components/VNavigationDrawer';\ninstallComponents(component, {VBtn,VIcon,VLayout,VList,VListItem,VListItemTitle,VNavigationDrawer})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"320\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.dialogTitle))]),_c('v-card-text',[_vm._v(_vm._s(_vm.dialogText))]),_c('v-card-actions',[_c('v-btn',{staticClass:\"green--text darken-1\",attrs:{\"text\":\"text\"},nativeOn:{\"click\":function($event){return _vm.$emit('onConfirm')}}},[_vm._v(\"Confirm\")]),_c('v-btn',{staticClass:\"orange--text darken-1\",attrs:{\"text\":\"text\"},nativeOn:{\"click\":function($event){return _vm.$emit('onCancel')}}},[_vm._v(\"Cancel\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop } from \"vue-property-decorator\";\nimport Vue from \"vue\";\n\n@Component\nexport default class ConfirmDialog extends Vue {\n  @Prop() dialogText!: string;\n  @Prop() dialogTitle!: string;\n  @Prop() dialog!: string;\n  mini = false;\n  isRootComponent = true;\n\n  drawer = true;\n  fixed = false;\n  created() {}\n  mounted() {}\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConfirmDialog.vue?vue&type=template&id=75b6d882&\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VDialog})\n","import {\n  VuexModule,\n  Module,\n  Mutation,\n  Action,\n  getModule\n} from \"vuex-module-decorators\";\nimport store from \"@/store\";\n\nexport interface AppState {\n  loading: boolean;\n  mode: string;\n  snackbar: boolean;\n  notice: string;\n}\n\nconst SUCCESS = \"success\";\nconst ERROR = \"error\";\n\n@Module({ store, dynamic: true, name: \"appModule\" })\nclass AppModule extends VuexModule implements AppState {\n  public loading = true;\n  public mode = \"\";\n  public snackbar = false;\n  public notice = \"\";\n\n  @Action closeNotice(): void {\n    this.setNotice(\"\");\n    this.setMode(\"\");\n    this.setSnackbar(false);\n  }\n\n  @Action closeNoticeWithDelay(timeout = 2000): void {\n    setTimeout(() => {\n      this.setNotice(\"\");\n      this.setMode(\"\");\n      this.setSnackbar(false);\n    }, timeout);\n  }\n\n  @Action sendSuccessNotice(notice: string): void {\n    this.setNotice(notice);\n    this.setMode(SUCCESS);\n    this.setSnackbar(true);\n    this.closeNoticeWithDelay();\n  }\n\n  @Action sendErrorNotice(notice: string): void {\n    this.setNotice(notice);\n    this.setMode(ERROR);\n    this.setSnackbar(true);\n    this.closeNoticeWithDelay();\n  }\n\n  @Mutation setLoading(loading: boolean): void {\n    this.loading = loading;\n  }\n\n  @Mutation setNotice(notice: string): void {\n    console.log(\" notice .... \", notice);\n    this.notice = notice;\n  }\n\n  @Mutation setSnackbar(snackbar: boolean): void {\n    this.snackbar = snackbar;\n  }\n\n  @Mutation setMode(mode: string): void {\n    this.mode = mode;\n  }\n}\n\nexport const appModule = getModule(AppModule); // Apps;\n","import { Entity } from \"@/types\";\nexport const DEFAULT_ROW_PER_PAGE = 10;\n\nexport function getDefaultPagination(): Pagination {\n  return {\n    page: 1,\n    totalItems: 0,\n    rowsPerPage: DEFAULT_ROW_PER_PAGE,\n    pages: 0\n  };\n}\n\n\nexport function getPagination(items: Entity[]) {\n  const totalItems = items ? items.length : 0;\n  const pages = Math.ceil(totalItems / DEFAULT_ROW_PER_PAGE);\n  return { totalItems, pages, page: 1, rowsPerPage: DEFAULT_ROW_PER_PAGE };\n}\n","import { getData, putData, postData, deleteData } from '@/utils/demo-api';\nimport { Customer, Order, Entity } from '@/types';\nimport { appModule } from './app';\nimport { getDefaultPagination, getPagination } from '@/utils/store-util';\nimport { get } from 'lodash';\nimport { VuexModule, Module, Mutation, Action, getModule } from 'vuex-module-decorators';\nimport store from '@/store';\n\nexport interface CustomerState {\n  items: Entity[];\n  pagination: Pagination;\n  loading: boolean;\n  customer: Customer; //= new Customer() ;\n  customers: Customer[];\n  orders: Order[];\n  orderList: Order[];\n}\n\n@Module({ store, dynamic: true, name: 'customerModule' })\nclass CustomerModule extends VuexModule implements CustomerState {\n  public items: Entity[] = [];\n  public pagination = getDefaultPagination();\n  public loading = true;\n  public customer = {} as Customer;\n  public customers: Customer[] = [];\n  public orders: Order[] = [];\n  public orderList: Order[] = [];\n\n  get getCustomers() {\n    return this.customers;\n  }\n\n  @Action getOrders(): void {\n    getData('orders/').then(res => {\n      if (res.data && res.data.length > 0) {\n        const orderList = res.data.map((c: TODO) => {\n          c.text = c.firstname + ' ' + c.lastname;\n          c.value = c.id;\n          return c;\n        });\n        this.setOrderList(orderList);\n      }\n    });\n  }\n  @Action getCustomerById(id: string): void {\n    //this.context.commit('setLoading', { loading: true });\n    this.setLoading(true);\n    if (id) {\n      getData('customers/' + id).then(\n        res => {\n          const customer = Object.assign({}, res.data);\n          customer.avatar = `..${customer.avatar}`;\n          this.setCustomer(customer);\n          this.setLoading(false);\n        },\n        (err: TODO) => {\n          console.log(err);\n        }\n      );\n    } else {\n      this.setCustomer({} as Customer);\n      this.setLoading(false);\n    }\n  }\n\n  @Action getAllCustomers(): void {\n    // this.context.commit('setLoading', { loading: true });\n    this.setLoading(true);\n    getData('customers?_embed=orders').then(res => {\n      const customers = res.data;\n      customers.forEach((item: Customer) => {\n        item.orderAmount = item.orders && item.orders?.length; // : 0;\n      });\n      this.setDataTable(customers);\n      this.setLoading(false);\n    });\n  }\n\n  @Action searchCustomers(searchQuery: string): void {\n    this.setLoading(true);\n    getData('customers?_embed=orders&' + searchQuery).then(res => {\n      const customers = res.data;\n      customers.forEach((p: TODO) => {\n        p.orderAmount = p.orders?.length;\n      });\n      this.setDataTable(customers);\n      this.setLoading(false);\n    });\n  }\n\n  @Action quickSearch(headers: TableHeader[], qsFilter: SeachQuery): void {\n    this.setLoading(true);\n    // TODO: Following solution should be replaced by DB full-text search for production\n    getData('customers?_embed=orders').then(res => {\n      const customers = res.data.filter((r: TODO) =>\n        headers.some((header: TODO) => {\n          const val = get(r, [header.value]);\n          return (\n            (val &&\n              val\n                .toString()\n                .toLowerCase()\n                .includes(qsFilter)) ||\n            false\n          );\n        })\n      );\n      customers.forEach((item: Customer) => {\n        item.orderAmount = item.orders.length;\n      });\n      this.setDataTable(customers);\n      this.setLoading(false);\n    });\n  }\n\n  @Action deleteCustomer(id: number): void {\n    deleteData(`customers/${id.toString()}`)\n      .then(_res => {\n        this.getAllCustomers();\n        appModule.sendSuccessNotice('Operation is done.');\n      })\n      .catch((err: TODO) => {\n        console.log(err);\n        appModule.sendErrorNotice('Operation failed! Please try again later. ');\n        appModule.closeNoticeWithDelay(1500);\n      });\n  }\n\n  @Action saveCustomer(customer: Customer): void {\n    if (!customer.id) {\n      postData('customers/', customer)\n        .then(res => {\n          const customer = res.data;\n          this.setCustomer(customer);\n          appModule.sendSuccessNotice('New customer has been added.');\n          appModule.closeNoticeWithDelay(1500);\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice('Operation failed! Please try again later. ');\n          appModule.closeNoticeWithDelay(1500);\n        });\n    } else {\n      putData('customers/' + customer.id.toString(), customer)\n        .then(res => {\n          const customer = res.data;\n          this.setCustomer(customer);\n          appModule.sendSuccessNotice('Customer has been updated.');\n          appModule.closeNoticeWithDelay(1500);\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice('Operation failed! Please try again later. ');\n          appModule.closeNoticeWithDelay(1500);\n        });\n    }\n  }\n\n  @Action setDataTable(items: Customer[]) {\n    const pagination = getPagination(items);\n    this.setPagination(pagination);\n    this.setItems(items);\n  }\n\n  @Mutation setOrderList(orders: Order[]): void {\n    this.orders = orders;\n  }\n  @Mutation setItems(customers: Customer[]): void {\n    this.items = customers;\n  }\n  @Mutation setPagination(pagination: TODO): void {\n    this.pagination = pagination;\n  }\n  @Mutation setLoading(loading: boolean): void {\n    this.loading = loading;\n  }\n  @Mutation setCustomer(customer: Customer): void {\n    this.customer = customer;\n  }\n}\n\nexport const customerModule = getModule(CustomerModule); // Customers;\n","import { getData, putData, postData, deleteData } from \"@/utils/demo-api\";\nimport { Customer, Order, Entity, Product, Category, Address } from \"@/types\";\nimport { getDefaultPagination, getPagination } from \"@/utils/store-util\";\nimport { appModule } from \"./app\";\nimport { get } from \"lodash\";\nimport {\n  VuexModule,\n  Module,\n  Mutation,\n  Action,\n  getModule,\n} from \"vuex-module-decorators\";\nimport store from \"@/store\";\n\nexport interface OrderState {\n  items: Entity[];\n  pagination: Pagination;\n  loading: boolean;\n  order: Order;\n  customer: string;\n  products: Product[];\n  customers: Customer[];\n  categories: Category[];\n}\n\n@Module({ store, dynamic: true, name: \"orders\" })\nclass OrderModule extends VuexModule implements OrderState {\n  public items: Entity[] = [];\n  public pagination = getDefaultPagination();\n  public loading = false;\n  public order = {} as Order;\n  public customer = \"\";\n  public products: Product[] = [];\n  public customers: Customer[] = [];\n  public categories: Category[] = [];\n\n  @Action\n  getCustomers() {\n    getData(\"customers/\").then(res  => {\n      if (res.data) {\n        const customers = res.data.map((c: Customer) => {\n          c.text = c.firstname + \" \" + c.lastname;\n          c.value = c.id;\n          return c;\n        });\n        console.log(customers.length);\n        this.setCustomers(customers);\n      }\n    });\n  }\n\n  @Action\n  getOrderById(id: string) {\n    if (id) {\n      getData(\"orders/\" + id + \"?_expand=customer\").then(\n        res  => {\n          const order = res.data;\n          order.products.filter((p: Product) => p !== null && p !== undefined);\n          order.customerId = order.customer.id;\n          this.setOrder(order);\n        },\n        (err: TODO) => {\n          console.log(err);\n        }\n      );\n    } else {\n      const order = {} as Order\n      order.products=[];\n      order.customer = {} as Customer\n      order.shipAddress = {} as Address\n      this.setOrder(order);\n    }\n  }\n\n  @Action\n  getProductsByCategory(categoryId: number) {\n    if (categoryId) {\n      getData(\"products?_expand=category&categoryId=\" + categoryId).then(\n        res  => {\n          const products = res.data.map((p: Product) => {\n            p.text = p.productName;\n            p.value = p.id;\n            return p;\n          });\n          console.log(products);\n          this.setProducts(products);\n        },\n        (err: TODO) => {\n          console.log(err);\n        }\n      );\n    }\n  }\n\n  @Action\n  getAllOrders() {\n    this.setLoading(true);\n    getData(\"orders?_expand=customer\").then(res => {\n      const orders = res.data;\n\n      orders.forEach((item: Order) => {\n        item.amount = item.products.reduce(\n          (p: number, c: Product) => p + ((c && c.unitPrice) || 0),\n          0\n        );\n        item.quantity = item.products?.length;\n        item.customerName = item.customer? item.customer.firstname + \" \" + item.customer.lastname : \"\";\n      });\n      this.setDataTable(orders);\n      this.setLoading(false);\n    });\n  }\n\n  @Action\n  searchOrders(searchQuery: string) {\n    getData(\"orders?_expand=customer&\" + searchQuery).then(res => {\n      const orders = res.data;\n      orders.forEach((item: Order) => {\n        item.amount = item.products.reduce(\n          (p: TODO, c: TODO) => p + c.unitPrice,\n          0\n        );\n        item.quantity = item.products?.length;\n        item.customerName = item.customer ? item.customer.firstname + \" \" + item.customer.lastname\n          : \"\";\n      });\n      this.setDataTable(orders);\n      this.setLoading(false);\n    });\n  }\n\n  @Action quickSearch(headers: TableHeader[], qsFilter: SeachQuery): void {\n    // TODO: Following solution should be replaced by DB full-text search for production\n    getData(\"orders?_expand=customer\").then(res  => {\n      const orders = res.data.filter((r: TODO) =>\n        headers.some((header: TableHeader) => {\n          const val = get(r, [header.value]);\n          return (\n            (val &&\n              val\n                .toString()\n                .toLowerCase()\n                .includes(qsFilter)) ||\n            false\n          );\n        })\n      );\n      orders.forEach((item: Order) => {\n        item.amount = item.products.reduce(\n          (p: number, c: Product) => p + ((c && c.unitPrice) || 0),\n          0\n        );\n        item.quantity = item.products?.length;\n        item.customerName = item.customer ? item.customer.firstname + \" \" + item.customer.lastname : \"\";\n      });\n      this.setDataTable(orders);\n      this.setLoading(false);\n    });\n  }\n  @Action\n  deleteOrder(id: number) {\n    deleteData(`orders/${id.toString()}`)\n      .then(res => {\n        this.getAllOrders();\n        appModule.sendSuccessNotice(\"Operation is done.\");\n      })\n      .catch((err: TODO) => {\n        console.log(err);\n        appModule.sendErrorNotice(\"Operation failed! Please try again later. \");\n        appModule.closeNoticeWithDelay(1500);\n      });\n  }\n  @Action\n  addProductToOrder(productId: number) {\n    if (productId) {\n      const products = Object.assign([], this.order.products);\n      const product = this.products.find((p: Product) => p.id === productId);\n      product && products.push(product);\n      this.setOrderProducts(products);\n    }\n  }\n  @Action\n  deleteProduct(product: Product) {\n    if (product) {\n      const { products } = this.order;\n      products.splice(\n        products.findIndex((p: Product) => p.id === product.id),\n        1\n      );\n      this.setOrderProducts(products);\n    }\n  }\n  @Action saveOrder(order: Order) {\n\n    if (!order.id) {\n      postData(\"orders/\", order)\n        .then(res  => {\n          const order = res.data;\n          this.setOrder(order);\n          appModule.sendSuccessNotice(\"New order has been added.\");\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice(\n            \"Operation failed! Please try again later. \"\n          );\n          appModule.closeNoticeWithDelay(1500);\n        });\n    } else {\n      putData(\"orders/\" + order.id.toString(), order)\n        .then(res  => {\n          const order = res.data;\n          this.setOrder(order);\n          appModule.sendSuccessNotice(\"Order has been updated.\");\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice(\n            \"Operation failed! Please try again later. \"\n          );\n          appModule.closeNoticeWithDelay(1500);\n        });\n    }\n  }\n\n  @Action setDataTable(items: Order[]) {\n    const pagination = getPagination(items);\n    this.setPagination(pagination);\n    this.setItems(items);\n  }\n\n  @Mutation\n  setCustomers(customers: Customer[]) {\n    this.customers = customers;\n  }\n  @Mutation\n  setCategories(categories: Category[]) {\n    this.categories = categories;\n  }\n  @Mutation\n  setProducts(products: Product[]) {\n    console.log(products);\n    this.products = products;\n  }\n  @Mutation\n  setOrderProducts(products: Product[]) {\n    this.order.products = products;\n  }\n  @Mutation\n  setItems(orders: Order[]) {\n    this.items = orders;\n  }\n  @Mutation\n  setPagination(pagination: Pagination) {\n    this.pagination = pagination;\n  }\n  @Mutation\n  setLoading(loading: boolean) {\n    this.loading = loading;\n  }\n  @Mutation\n  setOrder(order: Order) {\n    this.order = order;\n  }\n}\n\nexport const orderModule = getModule(OrderModule); // Orders;\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Table from '@/components/Table.vue';\nimport TableHeaderButtons from '@/components/TableHeaderButtons.vue'\nimport SearchPanel from '@/components/SearchPanel.vue';\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\nimport { debounce } from 'lodash';\nimport { buildSearchFilters, buildJsonServerQuery, clearSearchFilters } from '@/utils/app-util';\nimport { Component } from 'vue-property-decorator';\nimport Vue from 'vue';\nimport { customerModule } from '@/store/modules/customers';\nimport { orderModule } from '@/store/modules/orders';\nimport { appModule } from '@/store/modules/app';\n\n@Component({\n  components: {\n    Table,\n    TableHeaderButtons,\n    SearchPanel,\n    ConfirmDialog\n  }\n})\nexport default class OrderList extends Vue {\n  public dialog = false;\n  public dialogTitle = 'Customer Delete Dialog';\n  public dialogText = 'Do you want to delete this customer?';\n  public showSearchPanel = false;\n  public right = true;\n  public search = '';\n  public headers = [\n    {\n      text: 'Reference',\n      left: true,\n      value: 'reference'\n    },\n    { text: 'Order Items', value: 'quantity' },\n    { text: 'Amount', value: 'amount' },\n    { text: 'Customer', value: 'customerName' },\n    { text: 'Order Date', value: 'orderDate' },\n    { text: 'Shipping Date', value: 'shippedDate' },\n    { text: '', value: 'actions', sortable: false }\n  ];\n  private searchFilter = {\n    contain: {\n      reference: '',\n      customer: ''\n    },\n    greaterThanOrEqual:{\n      amount: 0\n    },\n    lessThanOrEqual:{\n      amount: 0\n    },\n  };\n  // private orderId = '';\n  private query = '';\n  private color = '';\n  private quickSearchFilter = '';\n  private itemId = -1;\n\n  edit(item) {\n    this.$router.push(`order/${item.id}`);\n  }\n  add() {\n    this.$router.push('NewOrder');\n  }\n  remove(item) {\n    this.itemId = item.id;\n    this.dialog = true;\n  }\n  onConfirm() {\n    orderModule.deleteOrder(this.itemId);\n    this.dialog = false;\n  }\n  onCancel() {\n    this.itemId = -1;\n    this.dialog = false;\n  }\n  searchOrders() {\n    this.showSearchPanel = !this.showSearchPanel;\n    buildSearchFilters(this.searchFilter);\n    this.query = buildJsonServerQuery(this.searchFilter);\n    this.quickSearch = '';\n    orderModule.searchOrders(this.query);\n  }\n\n\n  clearSearchFilters() {\n    this.showSearchPanel = !this.showSearchPanel;\n    clearSearchFilters(this.searchFilter);\n    orderModule.getAllOrders();\n  }\n\n  reloadData() {\n    this.query = '';\n    orderModule.getAllOrders();\n  }\n\n   updateSearchPanel(){\n    this.rightDrawer=!this.rightDrawer;\n  }\n\n  cancelSearch() {\n    this.showSearchPanel = false;\n  }\n\n  closeSnackbar() {\n    appModule.closeNotice();\n  }\n\n  quickSearchCustomers = debounce(function() {\n    orderModule.quickSearch(this.headers, this.quickSearchFilter);\n  }, 500);\n\n  get items() {\n    return customerModule.items;\n  }\n  get pagination() {\n    return customerModule.pagination;\n  }\n  get loading() {\n    return appModule.loading;\n  }\n  get mode() {\n    return appModule.mode;\n  }\n  get snackbar() {\n    return appModule.snackbar;\n  }\n  get notice() {\n    return appModule.notice;\n  }\n\n  get rightDrawer() {\n    return this.showSearchPanel;\n  }\n\n  set rightDrawer(_showSearchPanel: boolean) {\n    this.showSearchPanel = _showSearchPanel;\n  }\n\n  get quickSearch() {\n    return this.quickSearchFilter;\n  }\n  set quickSearch(val) {\n    this.quickSearchFilter = val;\n    this.quickSearchFilter && this.quickSearchCustomers();\n  }\n\n  created() {\n    orderModule.getAllOrders();\n  }\n  mounted() {\n    // this.$nextTick(() => {\n    //   console.log(this.headers);\n    // });\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrderList.vue?vue&type=template&id=3cb16c60&\"\nimport script from \"./OrderList.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrderList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VFlex,VLayout,VSnackbar,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',{staticClass:\"grey lighten-4 elevation-0\"},[_c('v-card-title',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \"),_c('v-spacer'),_c('v-btn',{staticClass:\"grey mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.cancel()}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-close-circle-outline\")])],1),_c('v-btn',{staticClass:\"purple mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.save()}}},[_c('v-icon',[_vm._v(\"mdi-content-save-all\")])],1),_c('v-btn',{staticClass:\"blue\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.addProduct()}}},[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)],1),_c('v-card-text',[_c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-md\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"reference\",\"label\":\"Reference\",\"hint\":\"Reference is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.reference),callback:function ($$v) {_vm.$set(_vm.order, \"reference\", $$v)},expression:\"order.reference\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"Amount\",\"prefix\":\"AUD $\",\"label\":\"Price\",\"hint\":\"Price is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.amount),callback:function ($$v) {_vm.$set(_vm.order, \"amount\", $$v)},expression:\"order.amount\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"lazy\":\"\",\"name\":\"quantity\",\"label\":\"Product Items\",\"hint\":\"number between 1 to 100\",\"required\":\"\"},model:{value:(_vm.order.products.length),callback:function ($$v) {_vm.$set(_vm.order.products, \"length\", $$v)},expression:\"order.products.length\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-select',{attrs:{\"required\":\"\",\"items\":_vm.customers,\"label\":\"Customer\"},model:{value:(_vm.order.customerId),callback:function ($$v) {_vm.$set(_vm.order, \"customerId\", $$v)},expression:\"order.customerId\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-menu',{attrs:{\"lazy\":\"\",\"close-on-content-click\":false,\"transition\":\"v-scale-transition\",\"offset-y\":\"\",\"full-width\":\"\",\"nudge-left\":40,\"max-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"lazy\":\"\",\"label\":\"Order Date\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\"},model:{value:(_vm.order.orderDate),callback:function ($$v) {_vm.$set(_vm.order, \"orderDate\", $$v)},expression:\"order.orderDate\"}},on))]}}]),model:{value:(_vm.orderDateMenu),callback:function ($$v) {_vm.orderDateMenu=$$v},expression:\"orderDateMenu\"}},[_c('v-date-picker',{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},model:{value:(_vm.order.orderDate),callback:function ($$v) {_vm.$set(_vm.order, \"orderDate\", $$v)},expression:\"order.orderDate\"}})],1)],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-menu',{attrs:{\"lazy\":\"\",\"close-on-content-click\":false,\"transition\":\"v-scale-transition\",\"offset-y\":\"\",\"full-width\":\"\",\"nudge-left\":40,\"max-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-text-field',_vm._g({attrs:{\"lazy\":\"\",\"label\":\"Shipped Date\",\"prepend-icon\":\"mdi-calendar\",\"readonly\":\"\"},model:{value:(_vm.order.shippedDate),callback:function ($$v) {_vm.$set(_vm.order, \"shippedDate\", $$v)},expression:\"order.shippedDate\"}},on))]}}]),model:{value:(_vm.shippedDateMenu),callback:function ($$v) {_vm.shippedDateMenu=$$v},expression:\"shippedDateMenu\"}},[_c('v-date-picker',{attrs:{\"no-title\":\"\",\"scrollable\":\"\"},model:{value:(_vm.order.shippedDate),callback:function ($$v) {_vm.$set(_vm.order, \"shippedDate\", $$v)},expression:\"order.shippedDate\"}})],1)],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"lazy\":\"\",\"name\":\"address\",\"label\":\"Address\",\"hint\":\"Address is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.shipAddress.address),callback:function ($$v) {_vm.$set(_vm.order.shipAddress, \"address\", $$v)},expression:\"order.shipAddress.address\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"lazy\":\"\",\"name\":\"city\",\"label\":\"City\",\"hint\":\"City is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.shipAddress.city),callback:function ($$v) {_vm.$set(_vm.order.shipAddress, \"city\", $$v)},expression:\"order.shipAddress.city\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"lazy\":\"\",\"name\":\"zipcode\",\"label\":\"Zip Code\",\"hint\":\"Zip Code is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.shipAddress.zipcode),callback:function ($$v) {_vm.$set(_vm.order.shipAddress, \"zipcode\", $$v)},expression:\"order.shipAddress.zipcode\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"lazy\":\"\",\"name\":\"country\",\"label\":\"Country\",\"hint\":\"Country is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.order.shipAddress.country),callback:function ($$v) {_vm.$set(_vm.order.shipAddress, \"country\", $$v)},expression:\"order.shipAddress.country\"}})],1),(_vm.order.products && _vm.order.products.length > 0)?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-list',{staticClass:\"transparent elevation-0\",attrs:{\"two-line\":\"\"}},_vm._l((_vm.order.products),function(item,index){return _c('v-list-item',{key:index,staticClass:\"grey lighten-2 mt-2 mb-2 \",attrs:{\"ripple\":\"\"}},[_c('v-list-item-content',{attrs:{\"dark\":\"\"}},[_c('v-list-item-title',{staticClass:\"heading blue--text\"},[_vm._v(_vm._s(item.productName)+\" \")]),_c('v-list-item-subtitle',{staticClass:\"grey--text text--darken-4\"},[_vm._v(\"AUD $\"+_vm._s(item.unitPrice))])],1),_c('v-list-item-action',[_c('v-btn',{staticClass:\"navy\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\"},nativeOn:{\"click\":function($event){return _vm.remove(item)}}},[_c('v-icon',{class:[item.active ? 'teal--text' : 'grey--text']},[_vm._v(\"mdi-delete\")])],1)],1)],1)}),1)],1):_vm._e()],1)],1)],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"justify-center\":\"\"}},[_c('v-dialog',{attrs:{\"width\":\"700\",\"persistent\":\"\"},model:{value:(_vm.addProductModal),callback:function ($$v) {_vm.addProductModal=$$v},expression:\"addProductModal\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.modalTitle))]),_c('v-card-text',[_vm._v(_vm._s(_vm.modalText))]),_c('v-card-text',[_c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-md\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-select',{attrs:{\"required\":\"\",\"items\":_vm.categories,\"label\":\"Category\"},on:{\"change\":_vm.getProductsByCategory},model:{value:(_vm.categoryId),callback:function ($$v) {_vm.categoryId=$$v},expression:\"categoryId\"}})],1),_c('v-flex',{attrs:{\"md6\":\"\",\"xs12\":\"\"}},[_c('v-select',{attrs:{\"required\":\"\",\"items\":_vm.products,\"label\":\"Product\"},model:{value:(_vm.productId),callback:function ($$v) {_vm.productId=$$v},expression:\"productId\"}})],1)],1)],1)],1),_c('v-card-actions',[_c('v-btn',{staticClass:\"green--text darken-1\",attrs:{\"text\":\"text\"},nativeOn:{\"click\":function($event){return _vm.saveProduct($event)}}},[_vm._v(\"Confirm\")]),_c('v-btn',{staticClass:\"orange--text darken-1\",attrs:{\"text\":\"text\"},nativeOn:{\"click\":function($event){return _vm.cancelAddProduct($event)}}},[_vm._v(\"Cancel\")])],1)],1)],1)],1),_c('confirm-dialog',{attrs:{\"dialog\":_vm.dialog,\"dialogTitle\":_vm.dialogTitle,\"dialogText\":_vm.dialogText},on:{\"onConfirm\":_vm.onConfirm,\"onCancel\":_vm.onCancel}}),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":2000,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { getData, putData, postData, deleteData } from \"@/utils/demo-api\";\nimport { Entity, Product, Category } from \"@/types\";\nimport { getDefaultPagination, getPagination } from \"@/utils/store-util\";\nimport { appModule } from \"./app\";\nimport { get } from \"lodash\";\nimport {\n  VuexModule,\n  Module,\n  Mutation,\n  Action,\n  getModule\n} from \"vuex-module-decorators\";\nimport store from \"@/store\";\n\nexport interface ProductState {\n  items: Entity[];\n  pagination: Pagination;\n  loading: boolean;\n  product: Product;\n  categories: Category[];\n}\n\n@Module({ store, dynamic: true, name: \"products\" })\nclass ProductModule extends VuexModule implements ProductState {\n\n  public items: Entity[] = [];\n  public pagination = getDefaultPagination();\n  public loading = false;\n  public product = {} as Product;\n  public categories: Category[] = [];\n\n  @Action\n  getCategories() {\n    getData(\"categories/\").then(res => {\n      const categories = res.data.map((c: Category) => {\n        c.text = c.categoryName;\n        c.value = c.id;\n        return c;\n      });\n      this.setCategories(categories);\n    });\n  }\n  \n  @Action getProductById(id: string) {\n    this.setLoading(true);\n    if (id) {\n      getData(\"products/\" + id + \"?_expand=category\").then(\n        res  => {\n          const product = res.data;\n          this.setProduct(product);\n          this.setLoading(false);\n        },\n        (err: TODO) => {\n          console.log(err);\n          this.setLoading(false);\n        }\n      );\n    } else {\n      this.setProduct({} as Product);\n      this.setLoading(false);\n    }\n  }\n  @Action getAllProducts() {\n    this.setLoading(true);\n    getData(\"products?_expand=category\").then(res  => {\n      const products = res.data;\n      products.forEach((p: Product) => {\n        p.categoryName = p.category.categoryName;\n      });\n      this.setDataTable(products);\n      this.setLoading(false);\n    });\n  }\n\n  @Action searchProducts(searchQuery: string) {\n    getData(\"products?_expand=category&\" + searchQuery).then(res  => {\n      const products = res.data;\n      products.forEach((p: Product) => {\n        p.categoryName = p.category.categoryName;\n      });\n      this.setDataTable(products);\n      this.setLoading(false);\n    });\n  }\n\n  @Action quickSearch(headers: TableHeader[], qsFilter: SeachQuery): void {\n    // TODO: Following solution should be replaced by DB full-text search for production\n    getData(\"products?_expand=category\").then(res  => {\n      const products = res.data.filter((r: TODO) =>\n        headers.some((header: TODO) => {\n          const val = get(r, [header.value]);\n          return (\n            (val &&\n              val\n                .toString()\n                .toLowerCase()\n                .includes(qsFilter)) ||\n            false\n          );\n        })\n      );\n      products.forEach((p: Product) => {\n        p.categoryName = p.category.categoryName;\n      });\n      this.setDataTable(products);\n      this.setLoading(false);\n    });\n  }\n\n  @Action deleteProduct(id: number) {\n    deleteData(`products/${id.toString()}`)\n      .then(res  => {\n        this.getAllProducts();\n        appModule.sendSuccessNotice(\"Operation is done.\");\n      })\n      .catch((err: TODO) => {\n        console.log(err);\n        appModule.sendErrorNotice(\"Operation failed! Please try again later. \");\n        appModule.closeNoticeWithDelay(1500);\n      });\n  }\n\n  @Action saveProduct(product: Product) {\n    delete product.category;\n    if (!product.id) {\n      postData(\"products/\", product)\n        .then(res  => {\n          const product = res.data;\n          this.setProduct(product);\n          appModule.sendSuccessNotice(\"New product has been added.\");\n          appModule.closeNoticeWithDelay(1500);\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice(\n            \"Operation failed! Please try again later. \"\n          );\n          appModule.closeNoticeWithDelay(1500);\n        });\n    } else {\n      putData(\"products/\" + product.id.toString(), product)\n        .then(res  => {\n          const product = res.data;\n          this.setProduct(product);\n          appModule.sendSuccessNotice(\"Product has been updated.\");\n          appModule.closeNoticeWithDelay(1500);\n        })\n        .catch((err: TODO) => {\n          console.log(err);\n          appModule.sendErrorNotice(\n            \"Operation failed! Please try again later. \"\n          );\n          appModule.closeNoticeWithDelay(1500);\n        });\n    }\n  }\n\n  @Action setDataTable(items: Product[]) {\n    const pagination = getPagination(items);\n    this.setPagination(pagination);\n    this.setItems(items);\n  }\n\n  @Mutation setCategories(categories: Category[]) {\n    this.categories = categories;\n  }\n\n  @Mutation setItems(products: Product[]) {\n    this.items = products;\n  }\n\n  @Mutation setPagination(pagination: Pagination) {\n    this.pagination = pagination;\n  }\n\n  @Mutation setLoading(loading: boolean) {\n    this.loading = loading;\n  }\n\n  @Mutation setProduct(product: Product) {\n    this.product = product;\n  }\n}\n\nexport const productModule = getModule(ProductModule); \n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\nimport { Component, Watch } from 'vue-property-decorator';\nimport { customerModule } from '@/store/modules/customers';\nimport { productModule } from '@/store/modules/products';\nimport { orderModule } from '@/store/modules/orders';\nimport { appModule } from '@/store/modules/app';\n\n@Component({\n  components: {\n    ConfirmDialog\n  }\n})\nexport default class OrderForm extends Vue {\n \n  private modalTitle = 'Add Product';\n  private modalText = 'Select the category and product from the list';\n  private addProductModal = false;\n  private dialog = false;\n  private dialogTitle = 'Product Delete Dialog';\n  private dialogText = 'Do you want to delete this product?';\n  private orderDateMenu = false;\n  private shippedDateMenu = false;\n  private errors = [];\n  private title = '';\n  private productId = null;\n  private categoryId = 0;\n  private color = '';\n  private selectedProduct: null;\n\n@Watch('categoryId')\ncategoryChanged(newId: number, oldId: number){\n  if(newId !== oldId){\n    orderModule.getProductsByCategory(newId)\n  }\n}\n\n  get customers() {\n    console.log(customerModule.customer);\n    return orderModule.customers;\n  }\n\n  get order() {\n    return orderModule.order;\n  }\n\n  get categories() {\n    console.log(productModule.categories)\n    return productModule.categories;\n  }\n\n  get products() {\n    return orderModule.products;\n  }\n\n  get loading() {\n    return appModule.loading;\n  }\n\n  get mode() {\n    return appModule.mode;\n  }\n\n  get snackbar() {\n    return appModule.snackbar;\n  }\n\n  get notice() {\n    return appModule.notice;\n  }\n\n  save() {\n    const order = { ...this.order };\n    delete order.customer;\n    console.log(order);\n    orderModule.saveOrder(this.order);\n  }\n\n  selectCustomer(item) {\n    this.order.customerId = item.value;\n  }\n\n  getOrderById() {\n    orderModule.getOrderById(this.$route.params.id);\n  }\n\n  cancel() {\n    this.$router.push({ name: 'orders' });\n  }\n\n  remove(item) {\n    this.selectedProduct = item;\n    this.dialog = true;\n  }\n\n  onConfirm() {\n    orderModule.deleteProduct(this.selectedProduct);\n    this.selectedProduct = null;\n    this.dialog = false;\n  }\n\n  onCancel() {\n    this.selectedProduct = null;\n    this.dialog = false;\n  }\n\n  addProduct() {\n    this.addProductModal = true;\n  }\n\n  saveProduct() {\n    orderModule.addProductToOrder(this.productId);\n    this.productId = null;\n    this.addProductModal = false;\n  }\n\n  cancelAddProduct() {\n    this.addProductModal = false;\n  }\n\n  getProductsByCategory() {\n    orderModule.getProductsByCategory(this.categoryId);\n  }\n\n  closeSnackbar() {\n    appModule.closeNotice();\n  }\n\n  created() {\n    // this.getCustomers();\n    this.getOrderById();\n    orderModule.getCustomers();\n    productModule.getCategories();\n  }\n\n  mounted() {\n    if (this.$route.params.id) {\n      this.title = 'Edit Order';\n      this.$nextTick(() => {\n        // this.shippedDate = this.order.shippedDate;\n        // this.orderDate = this.order.orderDate;\n      });\n    } else this.title = 'New Order';\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OrderForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./OrderForm.vue?vue&type=template&id=10a73e9a&\"\nimport script from \"./OrderForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./OrderForm.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VContainer,VDatePicker,VDialog,VFlex,VIcon,VLayout,VList,VListItem,VListItemAction,VListItemContent,VListItemSubtitle,VListItemTitle,VMenu,VSelect,VSnackbar,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('p',{staticClass:\"text-lg-center display-1\"},[_vm._v(\"About\")]),_c('p',{staticClass:\"text-xs-center title\"},[_c('span',{staticClass:\"cyan--text darken-3\"},[_vm._v(\"Vue CRM App Demo\")])]),_c('p',{staticClass:\"text-xs-left subheader\"},[_vm._v(\" This demo app is not a real application. There is no fake API as back-end service behind the scene. Its advanced search doesn't work properly. Any data update (create or update record) will not be stored after hard refresh or logout. The main purpose of this demo is just a proof of concept. \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./About.vue?vue&type=template&id=30d1714b&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VFlex } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VFlex})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',[_c('v-card-title',[_c('span',{staticClass:\"title\"},[_vm._v(\"Customers \"+_vm._s(_vm.pagination ? \"(\" + _vm.pagination.totalItems + \")\" : \"\")+\" \")]),_c('v-spacer'),_c('table-header-buttons',{attrs:{\"add\":_vm.add,\"reloadData\":_vm.reloadData,\"updateSearchPanel\":_vm.updateSearchPanel}})],1),(_vm.loading === false)?_c('Table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"pagination\":_vm.pagination},on:{\"edit\":_vm.edit,\"remove\":_vm.remove}}):_vm._e()],1)],1),_c('search-panel',{attrs:{\"rightDrawer\":_vm.rightDrawer},on:{\"cancelSearch\":_vm.cancelSearch,\"searchData\":_vm.searchCustomers}},[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"input-1-3\",\"label\":\"Frist Name\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.firstname),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"firstname\", $$v)},expression:\"searchFilter.contain.firstname\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"input-1-3\",\"label\":\"Last Name\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.lastname),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"lastname\", $$v)},expression:\"searchFilter.contain.lastname\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"input-1-3\",\"label\":\"Mobile\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.mobile),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"mobile\", $$v)},expression:\"searchFilter.contain.mobile\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"input-1-3\",\"label\":\"Email\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.email),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"email\", $$v)},expression:\"searchFilter.contain.email\"}})],1)],1)],1),_c('confirm-dialog',{attrs:{\"dialog\":_vm.dialog,\"dialogTitle\":_vm.dialogTitle,\"dialogText\":_vm.dialogText},on:{\"onConfirm\":_vm.onConfirm,\"onCancel\":_vm.onCancel}}),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":2000,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Table from \"@/components/Table.vue\";\nimport TableHeaderButtons from \"@/components/TableHeaderButtons.vue\";\nimport SearchPanel from \"@/components/SearchPanel.vue\";\nimport ConfirmDialog from \"@/components/ConfirmDialog.vue\";\nimport { debounce } from \"lodash\";\nimport {\n  buildSearchFilters,\n  buildJsonServerQuery,\n  clearSearchFilters\n} from \"@/utils/app-util\";\nimport { Component } from \"vue-property-decorator\";\nimport Vue from \"vue\";\nimport { Entity } from \"../types\";\nimport { customerModule } from \"@/store/modules/customers\";\nimport { appModule } from \"@/store/modules/app\";\n\n@Component({\n  components: {\n    Table,\n    TableHeaderButtons,\n    SearchPanel,\n    ConfirmDialog\n  }\n})\nexport default class CustomerList extends Vue {\n  public dialog = false;\n  public dialogTitle = \"Customer Delete Dialog\";\n  public dialogText = \"Do you want to delete this customer?\";\n  private showSearchPanel = false;\n  public right = true;\n  public search = \"\";\n  public headers = [\n    {\n      text: \"\",\n      value: \"avatar\",\n      sortable: false\n    },\n    {\n      text: \"First Name\",\n      left: true,\n      value: \"firstname\"\n    },\n    { text: \"Last Name\", value: \"lastname\" },\n    { text: \"Email\", value: \"email\" },\n    { text: \"Mobile\", value: \"mobile\" },\n    { text: \"Reward\", value: \"rewards\" },\n    { text: \"Membership\", value: \"membership\" },\n    { text: \"\", value: \"actions\", sortable: false }\n  ];\n  private searchFilter = {\n    contain: {\n      firstname: \"\",\n      lastname: \"\",\n      email: \"\",\n      mobile: \"\"\n    }\n  };\n  // private customerId = \"\";\n  private query = \"\";\n  private color = \"\";\n  private quickSearchFilter = \"\";\n  private itemId = -1;\n\n  edit(item: Entity) {\n    this.$router.push(`customer/${item.id}`);\n  }\n\n  remove(item: Entity) {\n    this.itemId = item.id;\n    this.dialog = true;\n  }\n\n  add() {\n    this.$router.push(\"NewCustomer\");\n  }\n\n  onConfirm() {\n    customerModule.deleteCustomer(this.itemId);\n    this.dialog = false;\n  }\n  onCancel() {\n    this.itemId = -1;\n    this.dialog = false;\n  }\n\n  searchCustomers() {\n    buildSearchFilters(this.searchFilter);\n    this.query = buildJsonServerQuery(this.searchFilter);\n    console.log(this.query)\n    this.quickSearch = \"\";\n    customerModule.searchCustomers(this.query);\n    this.showSearchPanel = false;\n  }\n\n  clearSearchFilters() {\n    this.showSearchPanel = !this.showSearchPanel;\n    clearSearchFilters(this.searchFilter);\n    customerModule.getAllCustomers();\n  }\n\n  reloadData() {\n    this.query = \"\";\n    customerModule.getAllCustomers();\n  }\n\n  updateSearchPanel() {\n    this.rightDrawer = !this.rightDrawer;\n  }\n\n  cancelSearch() {\n    this.showSearchPanel = false;\n  }\n\n  closeSnackbar() {\n    appModule.closeNotice();\n  }\n\n  quickSearchCustomers = debounce(function() {\n    customerModule.quickSearch(this.headers, this.quickSearchFilter);\n  }, 500);\n\n  get items() {\n    return customerModule.items;\n  }\n  get pagination() {\n    return customerModule.pagination;\n  }\n  get loading() {\n    return appModule.loading;\n  }\n  get mode() {\n    return appModule.mode;\n  }\n  get snackbar() {\n    return appModule.snackbar;\n  }\n\n  get notice() {\n    return appModule.notice;\n  }\n\n  get rightDrawer() {\n    return this.showSearchPanel;\n  }\n\n  set rightDrawer(_showSearchPanel: boolean) {\n    this.showSearchPanel = _showSearchPanel;\n  }\n\n  get quickSearch() {\n    return this.quickSearchFilter;\n  }\n  set quickSearch(val) {\n    this.quickSearchFilter = val;\n    this.quickSearchFilter && this.quickSearchCustomers();\n  }\n\n  created() {\n    customerModule.getAllCustomers();\n  }\n\n  mounted() {}\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomerList.vue?vue&type=template&id=55a2243a&\"\nimport script from \"./CustomerList.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomerList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VFlex,VLayout,VSnackbar,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',{staticClass:\"grey lighten-4 elevation-0\"},[_c('v-card-title',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \"),_c('v-spacer'),_c('v-btn',{staticClass:\"grey mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.cancel()}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-close-circle-outline\")])],1),_vm._v(\" \"),_c('v-btn',{staticClass:\"blue\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.save()}}},[_c('v-icon',[_vm._v(\"mdi-content-save-all\")])],1)],1),(_vm.loading !== true)?_c('v-card-text',[_c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-sm\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md3\":\"\",\"sm12\":\"\"}},[(_vm.customer!==null)?_c('v-img',{staticClass:\"avatar \",attrs:{\"small\":\"\",\"max-width\":\"10em\",\"src\":_vm.customer.avatar,\"srcset\":_vm.customer.avatar}}):_vm._e()],1),_c('v-flex',{attrs:{\"md9\":\"\",\"sm12\":\"\"}},[_c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-sm\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"firstname\",\"label\":\"First Name\",\"hint\":\"Last name is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.customer.firstname),callback:function ($$v) {_vm.$set(_vm.customer, \"firstname\", $$v)},expression:\"customer.firstname\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"lastname\",\"label\":\"Last Name\",\"maxlength\":\"10\",\"hint\":\"Last name is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.customer.lastname),callback:function ($$v) {_vm.$set(_vm.customer, \"lastname\", $$v)},expression:\"customer.lastname\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"email\",\"type\":\"email\",\"label\":\"Email\",\"value\":\"Input text\",\"rules\":_vm.rules.email,\"required\":\"\"},model:{value:(_vm.customer.email),callback:function ($$v) {_vm.$set(_vm.customer, \"email\", $$v)},expression:\"customer.email\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"mobile\",\"type\":\"text\",\"label\":\"Mobile\",\"required\":\"\"},model:{value:(_vm.customer.mobile),callback:function ($$v) {_vm.$set(_vm.customer, \"mobile\", $$v)},expression:\"customer.mobile\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"workphone\",\"type\":\"text\",\"label\":\"Work Phone\",\"required\":\"\"},model:{value:(_vm.customer.workphone),callback:function ($$v) {_vm.$set(_vm.customer, \"workphone\", $$v)},expression:\"customer.workphone\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"rewards\",\"type\":\"number\",\"label\":\"Rewards\",\"hint\":\"number between 0 and 9999\",\"rules\":_vm.rules.rewards,\"required\":\"\"},model:{value:(_vm.customer.rewards),callback:function ($$v) {_vm.$set(_vm.customer, \"rewards\", $$v)},expression:\"customer.rewards\"}})],1),_c('v-flex',{staticClass:\"mx-1 px-0\",attrs:{\"md6\":\"\",\"sm12\":\"\"}},[_c('v-switch',{attrs:{\"label\":\"Membership\",\"light\":\"\"},model:{value:(_vm.customer.membership),callback:function ($$v) {_vm.$set(_vm.customer, \"membership\", $$v)},expression:\"customer.membership\"}})],1)],1)],1)],1)],1),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":2000,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)],1):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport { Customer, Entity } from \"@/types\";\nimport { customerModule } from \"@/store/modules/customers\";\nimport { appModule } from \"@/store/modules/app\";\nimport { isValidEmail, isValidRewards } from \"@/utils/app-util\";\n\n@Component\nexport default class CustomerForm extends Vue {\n  title = \"\";\n  rules = {\n    rewards: [() => isValidRewards(this.customer.rewards)],\n    email: [() => isValidEmail(this.customer.email)]\n  };\n\n  get customer() {\n    return customerModule.customer;\n  }\n\n  get orders() {\n    return customerModule.getOrders();\n  }\n\n  get loading() {\n    return appModule.loading;\n  }\n\n  get mode() {\n    return appModule.mode;\n  }\n\n  get snackbar() {\n    return appModule.snackbar;\n  }\n\n  get notice() {\n    return appModule.notice;\n  }\n\n  save() {\n    customerModule.saveCustomer(this.customer);\n  }\n\n  cancel() {\n    this.$router.push({ name: \"customers\" });\n  }\n\n  closeSnackbar() {\n    appModule.closeNotice();\n  }\n\n  created() {\n    customerModule.getCustomerById(this.$route.params.id);\n  }\n  \n  mounted() {\n    if (this.$route.params.id) {\n      this.title = \"Edit Customer\";\n      // this.customerAvatar();\n    } else this.title = \"New Customer\";\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomerForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CustomerForm.vue?vue&type=template&id=2a6c9c2b&scoped=true&\"\nimport script from \"./CustomerForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./CustomerForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CustomerForm.vue?vue&type=style&index=0&id=2a6c9c2b&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"2a6c9c2b\",\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VContainer,VFlex,VIcon,VImg,VLayout,VSnackbar,VSpacer,VSwitch,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',[_c('v-card-title',[_c('span',{staticClass:\"title\"},[_vm._v(\"Products \"+_vm._s(_vm.pagination ? '(' + _vm.pagination.totalItems + ')' : '')+\" \")]),_c('v-spacer'),_c('table-header-buttons',{attrs:{\"add\":_vm.add,\"reloadData\":_vm.reloadData,\"updateSearchPanel\":_vm.updateSearchPanel}})],1),(_vm.loading === false)?_c('Table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"pagination\":_vm.pagination},on:{\"edit\":_vm.edit,\"remove\":_vm.remove}}):_vm._e()],1)],1),_c('search-panel',{attrs:{\"rightDrawer\":_vm.rightDrawer},on:{\"cancelSearch\":_vm.cancelSearch,\"searchData\":_vm.searchProducts}},[_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"productName\",\"label\":\"Product\",\"light\":\"\"},model:{value:(_vm.searchFilter.contain.productName),callback:function ($$v) {_vm.$set(_vm.searchFilter.contain, \"productName\", $$v)},expression:\"searchFilter.contain.productName\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"minUnitPrice\",\"type\":\"number\",\"label\":\"Min Price\",\"light\":\"\"},model:{value:(_vm.searchFilter.greaterThanOrEqual.unitPrice),callback:function ($$v) {_vm.$set(_vm.searchFilter.greaterThanOrEqual, \"unitPrice\", $$v)},expression:\"searchFilter.greaterThanOrEqual.unitPrice\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs11\":\"\",\"offset-xs1\":\"\"}},[_c('v-text-field',{attrs:{\"name\":\"maxUnitPrice\",\"type\":\"number\",\"label\":\"Max Price\",\"light\":\"\"},model:{value:(_vm.searchFilter.lessThanOrEqual.unitPrice),callback:function ($$v) {_vm.$set(_vm.searchFilter.lessThanOrEqual, \"unitPrice\", $$v)},expression:\"searchFilter.lessThanOrEqual.unitPrice\"}})],1)],1)],1),_c('confirm-dialog',{attrs:{\"dialog\":_vm.dialog,\"dialogTitle\":_vm.dialogTitle,\"dialogText\":_vm.dialogText},on:{\"onConfirm\":_vm.onConfirm,\"onCancel\":_vm.onCancel}}),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":_vm.timeout,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Table from '@/components/Table.vue';\nimport TableHeaderButtons from '@/components/TableHeaderButtons.vue';\nimport SearchPanel from '@/components/SearchPanel.vue';\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\nimport { debounce } from 'lodash';\nimport { buildSearchFilters, buildJsonServerQuery, clearSearchFilters } from '@/utils/app-util';\nimport { Component } from 'vue-property-decorator';\nimport Vue from 'vue';\nimport { productModule } from '@/store/modules/products';\nimport { appModule } from '@/store/modules/app';\n\n@Component({\n  components: {\n    Table,\n    TableHeaderButtons,\n    SearchPanel,\n    ConfirmDialog\n  }\n})\nexport default class ProductList extends Vue {\n  dialog = false;\n  dialogTitle = 'Customer Delete Dialog';\n  dialogText = 'Do you want to delete this customer?';\n  showSearchPanel = false;\n  right = true;\n  search = '';\n  headers = [\n    { text: 'Product', left: true, value: 'productName' },\n    { text: 'Category', value: 'category.categoryName' },\n    { text: 'Price', value: 'unitPrice' },\n    { text: 'In Stock', value: 'unitInStock' },\n    { text: '', value: 'actions', sortable: false }\n  ];\n  searchFilter = {\n    contain: {\n      productName: '',\n      category: ''\n    },\n    greaterThanOrEqual:{\n      unitPrice: 0\n    },\n    lessThanOrEqual:{\n      unitPrice: 0\n    },\n  };\n  private productId = '';\n  private query = '';\n  private snackbarStatus = false;\n  private timeout = 2000;\n  private color = '';\n  private quickSearchFilter = '';\n  private itemId = -1;\n\n  print() {\n    window.print();\n  }\n  edit(item) {\n    this.$router.push({\n      name: 'Product',\n      params: { id: item.id }\n    });\n  }\n  add() {\n    this.$router.push('NewProduct');\n  }\n  remove(item) {\n    this.itemId = item.id;\n    this.dialog = true;\n  }\n\n  onConfirm() {\n    productModule.deleteProduct(this.itemId);\n    this.dialog = false;\n  }\n  onCancel() {\n    this.itemId = -1;\n    this.dialog = false;\n  }\n  searchProducts() {\n    this.showSearchPanel = !this.showSearchPanel;\n    buildSearchFilters(this.searchFilter);\n    this.query = buildJsonServerQuery(this.searchFilter);\n    this.quickSearch = '';\n    productModule.searchProducts(this.query);\n  }\n\n  clearSearchFilters() {\n    this.showSearchPanel = !this.showSearchPanel;\n    clearSearchFilters(this.searchFilter);\n    productModule.getAllProducts();\n  }\n\n  reloadData() {\n    this.query = '';\n    productModule.getAllProducts();\n  }\n\n  updateSearchPanel() {\n    this.rightDrawer = !this.rightDrawer;\n  }\n\n  cancelSearch() {\n    this.showSearchPanel = false;\n  }\n\n  closeSnackbar() {\n    appModule.closeNotice();\n  }\n\n  quickSearchCustomers = debounce(function() {\n    productModule.quickSearch(this.headers, this.quickSearchFilter);\n  }, 500);\n\n  get items() {\n    return productModule.items;\n  }\n  get pagination() {\n    return productModule.pagination;\n  }\n  get loading() {\n    return appModule.loading;\n  }\n  get mode() {\n    return appModule.mode;\n  }\n  get snackbar() {\n    return appModule.snackbar;\n  }\n  get notice() {\n    return appModule.notice;\n  }\n\n  get rightDrawer() {\n    return this.showSearchPanel;\n  }\n\n  set rightDrawer(rightDrawer: boolean) {\n    this.showSearchPanel = rightDrawer;\n  }\n\n  get quickSearch() {\n    return this.quickSearchFilter;\n  }\n  set quickSearch(val) {\n    this.quickSearchFilter = val;\n    this.quickSearchFilter && this.quickSearchCustomers();\n  }\n\n  created() {\n    productModule.getAllProducts();\n  }\n  mounted() {\n    this.$nextTick(() => {\n      console.log(this.headers);\n    });\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductList.vue?vue&type=template&id=c03cc0a4&\"\nimport script from \"./ProductList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VFlex,VLayout,VSnackbar,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[(!_vm.loading)?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-card',{staticClass:\"grey lighten-4 elevation-0\"},[_c('v-card-title',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.title)+\" \"),_c('v-spacer'),_c('v-btn',{staticClass:\"grey mr-2\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\"},nativeOn:{\"click\":function($event){return _vm.cancel()}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-close-circle-outline\")])],1),_vm._v(\" \"),_c('v-btn',{staticClass:\"purple\",attrs:{\"elevation\":\"4\",\"fab\":\"\",\"small\":\"\",\"dark\":\"\",\"disabled\":!_vm.isValid},nativeOn:{\"click\":function($event){return _vm.save()}}},[_c('v-icon',[_vm._v(\"mdi-content-save-all\")])],1)],1),_c('v-card-text',[_c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-md\":\"\"}},[_c('v-layout',{staticClass:\"px-10\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"productName\",\"label\":\"Product\",\"hint\":\"Product name is required\",\"value\":\"Input text\",\"required\":\"\",\"rules\":_vm.rules.name},model:{value:(_vm.product.productName),callback:function ($$v) {_vm.$set(_vm.product, \"productName\", $$v)},expression:\"product.productName\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"unitPrice\",\"prefix\":\"AUD $\",\"label\":\"Price\",\"hint\":\"Price is required\",\"value\":\"Input text\",\"required\":\"\"},model:{value:(_vm.product.unitPrice),callback:function ($$v) {_vm.$set(_vm.product, \"unitPrice\", $$v)},expression:\"product.unitPrice\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused\",attrs:{\"name\":\"unitInStock\",\"label\":\"Quantity\",\"hint\":\"number between 1 to 100\",\"required\":\"\"},model:{value:(_vm.product.unitInStock),callback:function ($$v) {_vm.$set(_vm.product, \"unitInStock\", $$v)},expression:\"product.unitInStock\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\"}},[_c('v-select',{attrs:{\"required\":\"\",\"items\":_vm.categories,\"label\":\"Category\",\"rules\":_vm.rules.category},model:{value:(_vm.product.categoryId),callback:function ($$v) {_vm.$set(_vm.product, \"categoryId\", $$v)},expression:\"product.categoryId\"}})],1)],1)],1)],1)],1)],1):_vm._e(),(_vm.loading === false)?_c('v-snackbar',{attrs:{\"right\":true,\"timeout\":_vm.timeout,\"color\":_vm.mode},model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.notice)+\" \"),_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.closeSnackbar($event)}}},[_vm._v(\"Close\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component } from 'vue-property-decorator';\nimport { productModule } from '@/store/modules/products';\nimport { appModule } from '@/store/modules/app';\n\n@Component\nexport default class ProductForm extends Vue {\n  errors = [];\n  title = '';\n  color = '';\n  rules = {\n    name: [val => (val || '').length > 0 || 'This field is required'],\n    category: [val => typeof val === 'number' || 'This field is required']\n  };\n\n  save() {\n    const product = Object.assign({}, this.product);\n    delete product.category;\n    productModule.saveProduct(this.product);\n  }\n\n  selectCategory(item) {\n    this.product.categoryId = item.value;\n  }\n\n  getProduct() {\n    productModule.getProductById(this.$route.params.id);\n  }\n\n  cancel() {\n    this.$router.push({ name: 'products' });\n  }\n\n  get product() {\n    return productModule.product;\n  }\n\n  get loading() {\n    return productModule.loading;\n  }\n\n  get mode() {\n    return appModule.mode;\n  }\n\n  get snackbar() {\n    return appModule.snackbar;\n  }\n\n  get notice() {\n    return appModule.notice;\n  }\n  \n  get categories() {\n    return productModule.categories;\n  }\n\n  isValid() {\n    return this.product && this.product.categoryId && this.product.productName;\n  }\n\n  created() {\n    productModule.getCategories();\n    this.getProduct();\n  }\n  \n  mounted() {\n    if (this.$route.params.id) {\n      this.title = 'Edit Product';\n    } else this.title = 'New Product';\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProductForm.vue?vue&type=template&id=21a81643&\"\nimport script from \"./ProductForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProductForm.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VContainer,VFlex,VIcon,VLayout,VSelect,VSnackbar,VSpacer,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fill-height\":\"\",\"justify-center\":\"\",\"align-center\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"sm6\":\"\",\"md4\":\"\",\"lg3\":\"\"}},[_c('v-card',{staticClass:\"mt-0 pt-0\",attrs:{\"elevation\":\"2\"}},[_c('v-card-title',{staticClass:\"blue darken-1\"},[_c('h4',{staticStyle:{\"color\":\"white\"}},[_vm._v(\"Vue-CRM 2.0\")])]),_c('v-card-text',{staticClass:\"mt-10\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.login($event)}}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md4\":\"\"}},[_c('v-subheader',[_vm._v(\"User ID\")])],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"md8\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused mr-2\",attrs:{\"name\":\"email\",\"label\":\"email\",\"value\":\"Input text\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md4\":\"\"}},[_c('v-subheader',[_vm._v(\"Password\")])],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"md8\":\"\"}},[_c('v-text-field',{staticClass:\"input-group--focused mr-2\",attrs:{\"name\":\"password\",\"type\":\"password\",\"label\":\"password\",\"value\":\"Input text\"},model:{value:(_vm.pass),callback:function ($$v) {_vm.pass=$$v},expression:\"pass\"}})],1)],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"elevation\":\"4\",\"type\":\"submit\"}},[_vm._v(\"login\")])],1),(_vm.error)?_c('v-snackbar',{attrs:{\"timeout\":_vm.timeout,\"top\":true,\"multi-line\":_vm.mode === 'multi-line',\"vertical\":_vm.mode === 'vertical'},model:{value:(_vm.error),callback:function ($$v) {_vm.error=$$v},expression:\"error\"}},[_vm._v(\" \"+_vm._s(_vm.text)+\" \"),_c('v-btn',{staticClass:\"pink--text\",attrs:{\"text\":\"\"},nativeOn:{\"click\":function($event){_vm.error = false}}},[_vm._v(\"Close\")])],1):_vm._e()],1)])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Component } from \"vue-property-decorator\";\nimport { userModule } from \"@/store/modules/user\";\n\n@Component\nexport default class Login extends Vue {\n  private email = \"admin@test.com\";\n  private pass = \"password\";\n  private error = false;\n  private text = \"\";\n\n  public gotoDashboard() {\n    this.$router.push(\"/\");\n  }\n\n  public async login() {\n    await userModule.signIn({ username: this.email, password: this.pass });\n    this.$router.push(\"/\");\n  }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=53647e74&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSubheader } from 'vuetify/lib/components/VSubheader';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VContainer,VFlex,VLayout,VSnackbar,VSubheader,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\" Change Password \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    Change Password\n  </div>\n</template>\n\n<script>\nexport default {};\n</script>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChangePassword.vue?vue&type=template&id=183c8d66&\"\nimport script from \"./ChangePassword.vue?vue&type=script&lang=js&\"\nexport * from \"./ChangePassword.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import Vue from \"vue\";\nimport VueRouter, { RouteConfig } from \"vue-router\";\nimport { userModule } from \"@/store/modules/user\";\nimport ErrorPage from \"@/components/404.vue\";\nimport Dashboard from \"@/pages/Dashboard.vue\";\nimport OrderList from \"@/pages/OrderList.vue\";\nimport OrderForm from \"@/pages/OrderForm.vue\";\nimport About from \"@/pages/About.vue\";\nimport CustomerList from \"@/pages/CustomerList.vue\";\nimport CustomerForm from \"@/pages/CustomerForm.vue\";\nimport Products from \"@/pages/ProductList.vue\";\nimport ProductForm from \"@/pages/ProductForm.vue\";\nimport Login from \"@/pages/Login.vue\";\nimport ChangePassword from \"@/components/ChangePassword.vue\";\n\nfunction requireAuth(to: TODO, from: TODO, next: TODO) {\n  console.log(`userModule.isSignedI ${userModule.isSignedIn}`);\n  if (!userModule.isSignedIn) {\n    next({\n      path: \"/login\",\n      query: { redirect: to.fullPath }\n    });\n  } else {\n    next();\n  }\n}\n\nVue.use(VueRouter);\n\nconst routes: Array<RouteConfig> = [\n  { path: \"/404\", component: ErrorPage, name: \"ErrorPage\" },\n  {\n    path: \"/dashboard\",\n    component: Dashboard,\n    name: \"dashboard\",\n    beforeEnter: requireAuth\n  },\n  { path: \"/about\", component: About, name: \"about\", beforeEnter: requireAuth },\n  {\n    path: \"/orders\",\n    component: OrderList,\n    name: \"orders\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/neworder\",\n    component: OrderForm,\n    name: \"NewOrder\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/order/:id\",\n    component: OrderForm,\n    name: \"Order\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/customer\",\n    component: CustomerList,\n    name: \"customers\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/newcustomer\",\n    component: CustomerForm,\n    name: \"NewCustomer\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/customer/:id\",\n    component: CustomerForm,\n    name: \"Customer\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/product/:id\",\n    component: ProductForm,\n    name: \"Product\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/products\",\n    component: Products,\n    name: \"products\",\n    beforeEnter: requireAuth\n  },\n  {\n    path: \"/newproduct\",\n    component: ProductForm,\n    name: \"NewProduct\",\n    beforeEnter: requireAuth\n  },\n  { path: \"/login\", component: Login, name: \"Login\" },\n  {\n    path: \"/changePassword\",\n    component: ChangePassword,\n    name: \"ChangePassword\"\n  },\n  { path: \"/\", redirect: \"/dashboard\" },\n  { path: \"*\", redirect: \"/404\" }\n];\n\nconst router = new VueRouter({\n  mode: \"history\",\n  base: process.env.BASE_URL,\n  routes\n});\n\nexport default router;\n","/* eslint-disable */\n// @ts-ignore\nimport Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\nimport '@mdi/font/css/materialdesignicons.css'\nimport 'vuetify/dist/vuetify.min.css'\n// import '@mdi/font/css/materialdesignicons.css'\nimport { preset } from 'vue-cli-plugin-vuetify-preset-fortnightly/preset';\n\nVue.use(Vuetify);\n\n\nexport default new Vuetify({\n    preset,\n    theme: {\n        dark: false,\n        default: 'light'\n    }\n});\n","import Vue from 'vue';\nimport App from './App.vue';\nimport './registerServiceWorker';\nimport router from './router';\nimport store from './store';\nimport vuetify from './plugins/vuetify';\n\nimport VueProgressBar from 'vue-progressbar';\n\nconst options = {\n  color: 'blue', // '#bffaf3',\n  failedColor: '#874b4b',\n  thickness: '3px',\n  transition: {\n    speed: '0.1s',\n    opacity: '0.3s',\n    termination: 300\n  },\n  autoRevert: true,\n  location: 'top',\n  inverse: false\n};\n\nVue.config.productionTip = false;\n\nVue.use(VueProgressBar, options);\n\nnew Vue({\n  router,\n  store,\n  vuetify,\n  render: h => h(App)\n}).$mount('#app');\n"],"sourceRoot":""}