split front end to separate repo
2
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
./dist
|
dist
|
||||||
|
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
|
|
1
dist/css/165.83e5555a.css
vendored
1
dist/css/17.ae3c234a.css
vendored
|
@ -1 +0,0 @@
|
||||||
.scroller[data-v-3c9948e5]{height:500px}.customer[data-v-3c9948e5]{height:32%;padding:0 12px;display:flex;align-items:center}
|
|
1
dist/css/287.b8b74994.css
vendored
1
dist/css/337.1da97b3f.css
vendored
1
dist/css/553.c3657471.css
vendored
|
@ -1 +0,0 @@
|
||||||
.v-switch .v-label{-webkit-padding-start:10px;padding-inline-start:10px}.v-switch__loader{display:flex}.v-switch__thumb,.v-switch__track{background-color:currentColor;transition:none}.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__thumb,.v-selection-control--error:not(.v-selection-control--disabled) .v-switch__track{background-color:rgb(var(--v-theme-error))}.v-switch__track{border-radius:8px;height:14px;opacity:.6;width:36px;cursor:pointer}.v-switch--inset .v-switch__track{border-radius:14px;height:28px;width:48px}.v-switch__thumb{align-items:center;border-radius:50%;color:rgb(var(--v-theme-surface));display:flex;height:20px;justify-content:center;width:20px;pointer-events:none;transition:transform .15s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px -1px var(--v-shadow-key-umbra-opacity,rgba(0,0,0,.2)),0 4px 5px 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.14)),0 1px 10px 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.12))}.v-switch--inset .v-switch__thumb{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity,rgba(0,0,0,.2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.12))}.v-switch--loading .v-selection-control__input>.v-icon,.v-switch:not(.v-switch--loading) .v-icon~.v-switch__thumb{display:none}.v-switch .v-selection-control{min-height:var(--v-input-control-height)}.v-switch .v-selection-control__wrapper{width:auto}.v-switch .v-selection-control__input{border-radius:50%;transition:transform .15s cubic-bezier(.4,0,.2,1);transform:translateX(-10px);position:absolute}.v-switch .v-selection-control--dirty .v-selection-control__input{transform:translateX(10px)}.v-switch.v-switch--indeterminate .v-selection-control__input{transform:scale(.8)}.v-switch.v-switch--indeterminate .v-switch__thumb{transform:scale(.75);box-shadow:none}.v-selection-control{align-items:center;contain:layout;display:flex;flex:1 0;grid-area:control;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.v-selection-control .v-label{white-space:normal;word-break:break-word;height:100%;width:100%}.v-selection-control--disabled{opacity:var(--v-disabled-opacity);pointer-events:none}.v-selection-control--disabled .v-label,.v-selection-control--error .v-label{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-label{color:rgb(var(--v-theme-error))}.v-selection-control--inline{display:inline-flex;flex:0 0 auto;min-width:0;max-width:100%}.v-selection-control--inline .v-label{width:auto}.v-selection-control--density-default{--v-selection-control-size:40px}.v-selection-control--density-comfortable{--v-selection-control-size:36px}.v-selection-control--density-compact{--v-selection-control-size:28px}.v-selection-control__wrapper{display:inline-flex}.v-selection-control__input,.v-selection-control__wrapper{width:var(--v-selection-control-size);height:var(--v-selection-control-size);align-items:center;position:relative;justify-content:center;flex:none}.v-selection-control__input{display:flex;border-radius:50%}.v-selection-control__input input{cursor:pointer;position:absolute;left:0;top:0;width:100%;height:100%;opacity:0}.v-selection-control__input:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;background-color:currentColor;opacity:0;pointer-events:none}.v-selection-control__input:hover:before{opacity:calc(var(--v-theme-overlay-multiplier)*.04)}.v-selection-control__input>.v-icon{opacity:var(--v-medium-emphasis-opacity)}.v-selection-control--dirty .v-selection-control__input>.v-icon,.v-selection-control--disabled .v-selection-control__input>.v-icon,.v-selection-control--error .v-selection-control__input>.v-icon{opacity:1}.v-selection-control--error:not(.v-selection-control--disabled) .v-selection-control__input>.v-icon{color:rgb(var(--v-theme-error))}.v-selection-control--focus-visible .v-selection-control__input:before{opacity:calc(var(--v-theme-overlay-multiplier)*.12)}.v-selection-control-group{grid-area:control;display:flex;flex-direction:column}.v-selection-control-group--inline{flex-direction:row;flex-wrap:wrap}.v-sheet{display:block;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity,rgba(0,0,0,.2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity,rgba(0,0,0,.12));border-radius:0;background:rgb(var(--v-theme-surface));color:rgba(var(--v-theme-on-background),var(--v-high-emphasis-opacity))}.v-sheet--border{border-width:thin;box-shadow:none}.v-sheet--absolute{position:absolute}.v-sheet--fixed{position:fixed}.v-sheet--rounded{border-radius:4px}.item{height:100px}
|
|
1
dist/css/803.be0ee137.css
vendored
1
dist/css/83.46f88035.css
vendored
1
dist/css/975.9ad07ca2.css
vendored
1
dist/css/app.f3159a54.css
vendored
|
@ -1 +0,0 @@
|
||||||
[v-cloak]{display:none}.lastrefresh{font-size:10px;float:right;text-align:right;margin-bottom:0}.loading{margin:auto;display:block}.title-bar{background:#ffae00;color:#000}.menu-icon:after{background:#000;box-shadow:0 7px 0 #000,0 14px 0 #000}main{margin-top:2rem;padding-top:2rem}.icon,.icon-2{max-height:2rem}.icon-1{max-height:1rem}table td{padding-right:.4em;padding-left:.4em;padding-top:0;padding-bottom:0}table .button{margin-top:.2rem;margin-bottom:.2rem}.off-canvas{background:#ffe}#editModal{height:750px}img.img-small{max-height:16px}table tr.at_risk{background:#ffb6c1}table tr.at_risk:hover{background:pink!important}.scrollable{max-height:90vh;overflow-y:scroll}.scrollable-50{max-height:50vh}.inactive{background:#d3d3d3;color:gray}.scroller{border:1px dotted #333;height:600px}.item{height:138px;overflow-y:hidden;padding:0 12px;margin-bottom:2px;display:flex;align-items:center;border-bottom:1px solid #000}
|
|
7
dist/css/chunk-vendors.fab48178.css
vendored
BIN
dist/favicon.ico
vendored
Before Width: | Height: | Size: 4.2 KiB |
BIN
dist/fonts/materialdesignicons-webfont.21f691f0.ttf
vendored
BIN
dist/fonts/materialdesignicons-webfont.5d875350.eot
vendored
BIN
dist/fonts/materialdesignicons-webfont.d671cbf6.woff
vendored
BIN
dist/images/cmc-logo.png
vendored
Before Width: | Height: | Size: 33 KiB |
BIN
dist/images/icons/Completed.png
vendored
Before Width: | Height: | Size: 1.1 KiB |
BIN
dist/images/icons/Live.png
vendored
Before Width: | Height: | Size: 276 B |
BIN
dist/images/icons/finish.png
vendored
Before Width: | Height: | Size: 1.2 KiB |
BIN
dist/images/icons/loading.gif
vendored
Before Width: | Height: | Size: 11 KiB |
BIN
dist/images/icons/loading.png
vendored
Before Width: | Height: | Size: 791 B |
BIN
dist/images/icons/printed.png
vendored
Before Width: | Height: | Size: 500 B |
BIN
dist/images/icons/printedconfirm.png
vendored
Before Width: | Height: | Size: 2.1 KiB |
BIN
dist/images/icons/repeat.png
vendored
Before Width: | Height: | Size: 941 B |
BIN
dist/images/icons/warning.png
vendored
Before Width: | Height: | Size: 359 B |
1
dist/index.html
vendored
|
@ -1 +0,0 @@
|
||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>cmc_fe</title><script defer="defer" src="/js/chunk-vendors.391950dc.js"></script><script defer="defer" src="/js/app.a93abe60.js"></script><link href="/css/chunk-vendors.fab48178.css" rel="stylesheet"><link href="/css/app.f3159a54.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but cmc_fe doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
|
114
dist/js/121.5997df3e.js
vendored
1
dist/js/121.5997df3e.js.map
vendored
2
dist/js/165.211e8e0a.js
vendored
1
dist/js/165.211e8e0a.js.map
vendored
2
dist/js/17.e124ae12.js
vendored
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkcmc_fe"]=self["webpackChunkcmc_fe"]||[]).push([[17],{8099:function(){},9017:function(e,t,l){l.r(t),l.d(t,{default:function(){return y}});var n=l(3396),s=l(7139),r=l(6824),o=l(8521),a=l(4162),i=l(165);const u=e=>((0,n.dD)("data-v-3c9948e5"),e=e(),(0,n.Cn)(),e),c=u((()=>(0,n._)("h3",null,"Customer List",-1))),d=u((()=>(0,n._)("hr",null,null,-1)));function f(e,t,l,u,f,g){const m=(0,n.up)("RecycleScroller");return(0,n.wg)(),(0,n.iD)(n.HY,null,[c,(0,n.Wm)(a.t,{"max-width":"500"},{default:(0,n.w5)((()=>[(0,n.Wm)(i.hw,{clearable:"",label:"Search",variant:"outlined",modelValue:f.searchQuery,"onUpdate:modelValue":t[0]||(t[0]=e=>f.searchQuery=e),density:"compact","append-inner-icon":"mdi-magnify"},null,8,["modelValue"])])),_:1}),(0,n.Wm)(m,{class:"scroller",items:g.filteredCustomers,"item-size":50,"key-field":"acc_no"},{default:(0,n.w5)((({item:e})=>[(0,n.Wm)(r.o,{class:"customer"},{default:(0,n.w5)((()=>[(0,n.Wm)(o.D,{cols:"6"},{default:(0,n.w5)((()=>[(0,n.Uk)((0,s.zw)(e.acc_no)+" - "+(0,s.zw)(e.name),1)])),_:2},1024)])),_:2},1024),d])),_:1},8,["items"])],64)}var g=l(6943),m={props:{site_info:{},user_info:{}},data(){return{searchQuery:"",showSearch:!0,open:!1,list:[],limit:5e3,loading:!0,listreceived:!1}},components:{},computed:{filteredCustomers(){let e=this.searchQuery.toLowerCase();this.listreceived||this.getCustomerList();let t=this.list.filter((t=>t.name.toLowerCase().includes(e)||t.acc_no.includes(e)));return t}},methods:{async getCustomerList(){this.loading=!0;let e=this.$api_url+"/customers/list";g.Z.get(e,{params:{limit:this.limit,query:this.searchQuery}}).then((e=>{this.list=e.data,this.listreceived=!0,this.loading=!1})).catch((e=>console.log(e)))}}},p=l(89);const h=(0,p.Z)(m,[["render",f],["__scopeId","data-v-3c9948e5"]]);var y=h},8521:function(e,t,l){l.d(t,{D:function(){return m}});l(7658),l(8099);var n=l(1138),s=l(7139),r=l(3396),o=l(320);const a=["sm","md","lg","xl","xxl"],i=(()=>a.reduce(((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e)),{}))(),u=(()=>a.reduce(((e,t)=>(e["offset"+(0,s.kC)(t)]={type:[String,Number],default:null},e)),{}))(),c=(()=>a.reduce(((e,t)=>(e["order"+(0,s.kC)(t)]={type:[String,Number],default:null},e)),{}))(),d={col:Object.keys(i),offset:Object.keys(u),order:Object.keys(c)};function f(e,t,l){let n=e;if(null!=l&&!1!==l){if(t){const l=t.replace(e,"");n+=`-${l}`}return"col"===e&&(n="v-"+n),"col"!==e||""!==l&&!0!==l?(n+=`-${l}`,n.toLowerCase()):n.toLowerCase()}}const g=["auto","start","end","center","baseline","stretch"],m=(0,o.a)({name:"VCol",props:{cols:{type:[Boolean,String,Number],default:!1},...i,offset:{type:[String,Number],default:null},...u,order:{type:[String,Number],default:null},...c,alignSelf:{type:String,default:null,validator:e=>g.includes(e)},...(0,n.Q)()},setup(e,t){let{slots:l}=t;const n=(0,r.Fl)((()=>{const t=[];let l;for(l in d)d[l].forEach((n=>{const s=e[n],r=f(l,n,s);r&&t.push(r)}));const n=t.some((e=>e.startsWith("v-col-")));return t.push({"v-col":!n||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),t}));return()=>{var t;return(0,r.h)(e.tag,{class:n.value},null==(t=l.default)?void 0:t.call(l))}}})},6824:function(e,t,l){l.d(t,{o:function(){return _}});l(7658),l(8099);var n=l(1138),s=l(7139),r=l(3396),o=l(320);const a=["sm","md","lg","xl","xxl"],i=["start","end","center"],u=["space-between","space-around","space-evenly"];function c(e,t){return a.reduce(((l,n)=>(l[e+(0,s.kC)(n)]=t(),l)),{})}const d=[...i,"baseline","stretch"],f=e=>d.includes(e),g=c("align",(()=>({type:String,default:null,validator:f}))),m=[...i,...u],p=e=>m.includes(e),h=c("justify",(()=>({type:String,default:null,validator:p}))),y=[...i,...u,"stretch"],v=e=>y.includes(e),C=c("alignContent",(()=>({type:String,default:null,validator:v}))),w={align:Object.keys(g),justify:Object.keys(h),alignContent:Object.keys(C)},b={align:"align",justify:"justify",alignContent:"align-content"};function S(e,t,l){let n=b[e];if(null!=l){if(t){const l=t.replace(e,"");n+=`-${l}`}return n+=`-${l}`,n.toLowerCase()}}const _=(0,o.a)({name:"VRow",props:{dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:f},...g,justify:{type:String,default:null,validator:p},...h,alignContent:{type:String,default:null,validator:v},...C,...(0,n.Q)()},setup(e,t){let{slots:l}=t;const n=(0,r.Fl)((()=>{const t=[];let l;for(l in w)w[l].forEach((n=>{const s=e[n],r=S(l,n,s);r&&t.push(r)}));return t.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),t}));return()=>{var t;return(0,r.h)(e.tag,{class:["v-row",n.value]},null==(t=l.default)?void 0:t.call(l))}}})}}]);
|
|
||||||
//# sourceMappingURL=17.e124ae12.js.map
|
|
1
dist/js/17.e124ae12.js.map
vendored
2
dist/js/189.d48eb76c.js
vendored
1
dist/js/189.d48eb76c.js.map
vendored
2
dist/js/287.3d3496d6.js
vendored
1
dist/js/287.3d3496d6.js.map
vendored
2
dist/js/337.7acf902b.js
vendored
1
dist/js/337.7acf902b.js.map
vendored
2
dist/js/463.dd239b65.js
vendored
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkcmc_fe"]=self["webpackChunkcmc_fe"]||[]).push([[463],{4463:function(n,u,c){c.r(u),c.d(u,{default:function(){return b}});var e=c(3396);const t={class:"about"},r=(0,e._)("h1",null,"About",-1),l=(0,e._)("p",null,null,-1),s=[r,l];function a(n,u){return(0,e.wg)(),(0,e.iD)("div",t,s)}var f=c(89);const o={},i=(0,f.Z)(o,[["render",a]]);var b=i}}]);
|
|
||||||
//# sourceMappingURL=463.dd239b65.js.map
|
|
1
dist/js/463.dd239b65.js.map
vendored
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"js/463.dd239b65.js","mappings":"+KACOA,MAAM,S,GACTC,EAAAA,EAAAA,GAAc,UAAV,SAAK,G,GACTA,EAAAA,EAAAA,GAAO,kB,GADPC,EACAC,G,kCAFFC,EAAAA,EAAAA,IAGM,MAHNC,EAGM,E,aCHR,MAAMC,EAAS,CAAC,EAGVC,GAA2B,OAAgBD,EAAQ,CAAC,CAAC,SAASE,KAEpE,O","sources":["webpack://cmc_fe/./src/views/AboutView.vue","webpack://cmc_fe/./src/views/AboutView.vue?d56f"],"sourcesContent":["<template>\n <div class=\"about\">\n <h1>About</h1>\n <p></p>\n </div>\n</template>\n","import { render } from \"./AboutView.vue?vue&type=template&id=7c1ef17b\"\nconst script = {}\n\nimport exportComponent from \"/srv/http/Development/Clients/cmc_app/public/cmc_fe/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","_createElementVNode","_hoisted_2","_hoisted_3","_createElementBlock","_hoisted_1","script","__exports__","render"],"sourceRoot":""}
|
|
2
dist/js/553.fb74f1fb.js
vendored
1
dist/js/553.fb74f1fb.js.map
vendored
274
dist/js/577.f88c2014.js
vendored
1
dist/js/577.f88c2014.js.map
vendored
2
dist/js/803.d5052a11.js
vendored
1
dist/js/803.d5052a11.js.map
vendored
2
dist/js/823.8ba5256b.js
vendored
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkcmc_fe"]=self["webpackChunkcmc_fe"]||[]).push([[823],{1823:function(e,o,n){n.r(o),n.d(o,{default:function(){return t}});var c={mounted(){this.endSession(),localStorage.removeItem("access_token"),window.location.href="/"},methods:{endSession(){console.log("Logging out...")}}};const s=c;var t=s}}]);
|
|
||||||
//# sourceMappingURL=823.8ba5256b.js.map
|
|
1
dist/js/823.8ba5256b.js.map
vendored
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"js/823.8ba5256b.js","mappings":"wJACA,OACIA,UACIC,KAAKC,aACLC,aAAaC,WAAW,gBACxBC,OAAOC,SAASC,KAAQ,GAC5B,EACAC,QAAS,CACLN,aACIO,QAAQC,IAAI,iBAEhB,ICRR,MAAMC,EAAc,EAEpB,O","sources":["webpack://cmc_fe/./src/components/LogOut.vue","webpack://cmc_fe/./src/components/LogOut.vue?62d9"],"sourcesContent":["<script>\nexport default {\n mounted() {\n this.endSession()\n localStorage.removeItem('access_token')\n window.location.href = \"/\"\n },\n methods: {\n endSession(){\n console.log(\"Logging out...\")\n // Do something here to remove the token from the database\n }\n\n }\n}\n</script>\n","import script from \"./LogOut.vue?vue&type=script&lang=js\"\nexport * from \"./LogOut.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["mounted","this","endSession","localStorage","removeItem","window","location","href","methods","console","log","__exports__"],"sourceRoot":""}
|
|