%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/radar.ongrace.com.br/
Upload File :
Create Path :
Current File : /var/www/projetos/radar.ongrace.com.br/3.js.map

{"version":3,"sources":["webpack:///./resources/js/components/common/chart.vue?c0de","webpack:///./resources/js/components/common/chart.vue?c831","webpack:///./resources/js/components/Dashboard.vue?7190","webpack:///./resources/js/components/Dashboard.vue?9db6","webpack:///./resources/js/components/common/chart.vue?63b6","webpack:///./resources/js/components/Dashboard.vue?1dd6","webpack:///./resources/js/components/Dashboard.vue?1f8c","webpack:///./resources/js/components/common/chart.vue?31d1","webpack:///resources/js/components/common/chart.vue","webpack:///./resources/js/components/common/chart.vue","webpack:///./resources/js/components/common/chart.vue?acbc","webpack:///./resources/js/components/Dashboard.vue?31e9","webpack:///resources/js/components/Dashboard.vue","webpack:///./resources/js/components/Dashboard.vue"],"names":["module","exports","push","i","content","options","transform","undefined","locals","_h","this","$createElement","_self","_c","_m","attrs","_vm","staticClass","_v","chartdata","_l","insights","item","key","_s","data","key2","_f","CREDITO","DEBITO","_e","Total"],"mappings":"0FAAA,O,qBCAUA,EAAOC,QAAU,EAAQ,EAAR,EAA+D,IAKlFC,KAAK,CAACF,EAAOG,EAAI,2BAA4B,M,iCCLrD,O,qBCAUH,EAAOC,QAAU,EAAQ,EAAR,EAA4D,IAK/EC,KAAK,CAACF,EAAOG,EAAI,4HAA6H,M,mBCJtJ,IAAIC,EAAU,EAAQ,KAEA,iBAAZA,IAAsBA,EAAU,CAAC,CAACJ,EAAOG,EAAIC,EAAS,MAOhE,IAAIC,EAAU,CAAC,KAAM,EAErB,eAPIC,EAQJ,gBAAqBC,GAER,EAAQ,EAAR,CAAmEH,EAASC,GAEtFD,EAAQI,SAAQR,EAAOC,QAAUG,EAAQI,S,mBChB5C,IAAIJ,EAAU,EAAQ,KAEA,iBAAZA,IAAsBA,EAAU,CAAC,CAACJ,EAAOG,EAAIC,EAAS,MAOhE,IAAIC,EAAU,CAAC,KAAM,EAErB,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W,GAAG,QAAPX,CAAqC,IAArBM,EAAKS,MAAMH,SAAiBN,EAAKS,MAAMH,QAAUN,EAAKS,MAAMF,UAAU,OAAOb,EAAIE,GAAG,KAAKL,EAAG,KAAK,CAACG,EAAIE,GAAGF,EAAIQ,GAAGR,EAAIW,GAAG,QAAPX,CAAoC,IAApBM,EAAKS,MAAMF,QAAgBP,EAAKS,MAAMH,QAAUN,EAAKS,MAAMF,UAAU,OAAOb,EAAIE,GAAG,KAAKL,EAAG,SAAS,UAAS,OACthD,CAAC,WAAa,IAAiBJ,EAATC,KAAgBC,eAAmBE,EAAnCH,KAA0CE,MAAMC,IAAIJ,EAAG,OAAOI,EAAG,QAAQ,CAACA,EAAG,KAAK,CAACA,EAAG,KAAK,CAA3FH,KAAgGQ,GAAG,aAAnGR,KAAoHQ,GAAG,KAAKL,EAAG,KAAK,CAApIH,KAAyIQ,GAAG,aAA5IR,KAA6JQ,GAAG,KAAKL,EAAG,KAAK,CAA7KH,KAAkLQ,GAAG,YAArLR,KAAqMQ,GAAG,KAAKL,EAAG,KAAK,CAArNH,KAA0NQ,GAAG,kBOWvQ,EACA,KACA,WACA,OAIa,Y","file":"3.js","sourcesContent":["export * from \"-!../../../../node_modules/style-loader/index.js!../../../../node_modules/css-loader/index.js??ref--6-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=style&index=0&lang=css&\"","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"canvas{max-height:300px}\", \"\"]);\n\n// exports\n","export * from \"-!../../../node_modules/style-loader/index.js!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=c895ba2e&scoped=true&lang=css&\"","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".table[data-v-c895ba2e]{font-size:11px;width:100%}.table td[data-v-c895ba2e],.table th[data-v-c895ba2e]{text-align:right}\", \"\"]);\n\n// exports\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--6-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=style&index=0&lang=css&\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--6-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=style&index=0&lang=css&\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--6-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=style&index=0&lang=css&\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=c895ba2e&scoped=true&lang=css&\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=c895ba2e&scoped=true&lang=css&\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--6-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-2!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=c895ba2e&scoped=true&lang=css&\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container is-fluid\"},[_c('div',[_c('h1',[_vm._v(\"Total em transações\")]),_vm._v(\" \"),_c('chart',{attrs:{\"options\":_vm.options,\"chartdata\":_vm.chartdata}})],1),_vm._v(\" \"),_c('hr'),_vm._v(\" \"),_c('div',{staticClass:\"columns\"},_vm._l((_vm.insights.table),function(item,key){return _c('div',{key:key,staticClass:\"column\"},[_c('h3',{staticClass:\"title is-3\",attrs:{\"align\":\"center\"}},[_vm._v(_vm._s(key))]),_vm._v(\" \"),_c('table',{staticClass:\"table\"},[_vm._m(0,true),_vm._v(\" \"),_c('tbody',[_vm._l((item),function(data,key2){return (key2!=='Total')?_c('tr',{key:key2},[_c('td',[_vm._v(_vm._s(key2))]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(_vm._f(\"toBrl\")(data.CREDITO)))]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(_vm._f(\"toBrl\")(data.DEBITO)))]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(_vm._f(\"toBrl\")(data.CREDITO + data.DEBITO)))])]):_vm._e()}),_vm._v(\" \"),_c('tr',[_c('th',[_vm._v(\"Total\")]),_vm._v(\" \"),_c('th',[_vm._v(_vm._s(_vm._f(\"toBrl\")(item.Total.CREDITO)))]),_vm._v(\" \"),_c('th',[_vm._v(_vm._s(_vm._f(\"toBrl\")(item.Total.DEBITO)))]),_vm._v(\" \"),_c('th',[_vm._v(_vm._s(_vm._f(\"toBrl\")(item.Total.CREDITO + item.Total.DEBITO)))])]),_vm._v(\" \"),_c('tr',[_c('td',[_vm._v(\"Share\")]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(_vm._f(\"toBrl\")(item.Total.CREDITO * 100 / (item.Total.CREDITO + item.Total.DEBITO)))+\"%\")]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(_vm._f(\"toBrl\")(item.Total.DEBITO * 100 / (item.Total.CREDITO + item.Total.DEBITO)))+\"%\")]),_vm._v(\" \"),_c('td')])],2)])])}),0)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"Período\")]),_vm._v(\" \"),_c('th',[_vm._v(\"Crédito\")]),_vm._v(\" \"),_c('th',[_vm._v(\"Débito\")]),_vm._v(\" \"),_c('th',[_vm._v(\"Total\")])])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chart.vue?vue&type=script&lang=js&\"","<template>\n    \n    <div>\n      <canvas id=\"myChart\"></canvas>\n    </div>\n\n</template>\n<script>\nimport { chartjs } from 'chart.js'\n\nexport default {\n\n    props: ['options', 'chartdata'],\n\n    watch: { \n        chartdata: function(newVal, oldVal) { // watch it\n            console.log('Prop changed: ', newVal, ' | was: ', oldVal)\n            this.chart();\n        }\n    },\n\n    data() {\n        return {\n\n        }\n    },\n\n    mounted () {\n\n        //this.chart();\n\n    },\n\n    methods: {\n        chart() {\n            var ctx = document.getElementById('myChart').getContext('2d');\n            //myChart.destroy();\n            var myChart = new Chart(ctx, {\n                type: 'line',\n                data: this.chartdata,\n                options: {\n                    responsive: true,\n                    aspectRatio: 2,\n                    scales: {\n                        x: {\n                            stacked: true\n                        },\n                        y: {\n                            beginAtZero: true,\n                            stacked: false\n                        }\n                    }\n                }\n            });\n        },\n    }\n\n}\n</script>\n\n<style>\n    \n    canvas {\n        max-height: 300px;\n    }\n\n</style>","import { render, staticRenderFns } from \"./chart.vue?vue&type=template&id=4fe1a02a&\"\nimport script from \"./chart.vue?vue&type=script&lang=js&\"\nexport * from \"./chart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./chart.vue?vue&type=style&index=0&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  null,\n  null\n  \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('canvas',{attrs:{\"id\":\"myChart\"}})])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--4-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","<template>\n    <div class=\"container is-fluid\">\n        <!-- Main container -->\n        <div>\n            <h1>Total em transações</h1>\n            <chart :options=\"options\" :chartdata=\"chartdata\"></chart>\n        </div>\n\n        <hr>\n\n        <div class=\"columns\">\n\n            <div class=\"column\" v-for=\"(item, key) in insights.table\" :key=\"key\">\n                <h3 class=\"title is-3\" align=\"center\">{{ key }}</h3>\n                <table class=\"table\">\n                    <thead>\n                        <tr>\n                            <th>Período</th>\n                            <th>Crédito</th>\n                            <th>Débito</th>\n                            <th>Total</th>\n                        </tr>\n                    </thead>\n                    <tbody>\n                        <tr v-for=\"(data, key2) in item\" :key=\"key2\" v-if=\"key2!=='Total'\">\n                            <td>{{ key2 }}</td>\n                            <td>{{ data.CREDITO | toBrl }}</td>\n                            <td>{{ data.DEBITO | toBrl }}</td>\n                            <td>{{ data.CREDITO + data.DEBITO | toBrl }}</td>\n                        </tr>\n                        <tr>\n                            <th>Total</th>\n                            <th>{{ item.Total.CREDITO | toBrl }}</th>\n                            <th>{{ item.Total.DEBITO | toBrl }}</th>\n                            <th>{{ item.Total.CREDITO + item.Total.DEBITO | toBrl }}</th>\n                        </tr>\n                        <tr>\n                            <td>Share</td>\n                            <td>{{ item.Total.CREDITO * 100 / (item.Total.CREDITO + item.Total.DEBITO) | toBrl }}%</td>\n                            <td>{{ item.Total.DEBITO * 100 / (item.Total.CREDITO + item.Total.DEBITO) | toBrl }}%</td>\n                            <td></td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n\n        </div>\n\n\n    </div>\n</template>\n<script>\n\nimport mixin_general from \"./../mixins/general\";\nimport JsonViewer from 'vue-json-viewer'\n//Vue.use(JsonViewer)\nimport chart from './common/chart.vue';\n\nexport default {\n\n\tmixins: [mixin_general],\n\n\tcomponents: {\n\t\tJsonViewer,\n        chart\n\t},\n\n    i18n: {\n        messages: {\n            en: {\n            \t'operation_success': 'Success',\n            \t'gateway': 'Payment Gateway',\n            \t'date_from': 'From',\n            \t'date_to': 'To',\n            \t'donations_successful': 'in successful donations',\n                'date_sell': 'Sell date',\n                'date_credit': 'Credit date',\n                'net_value': 'Net value',\n                'brand': 'Brand',\n                'fee': 'Fee',\n                'pos': 'POS',\n            },\n            pt: {\n            \t'operation_success': 'Sucesso',\n            \t'gateway': 'Gateway de Pagamento',\n            \t'date_from': 'De',\n            \t'date_to': 'Até',\n            \t'donations_successful': 'em doações efetuadas com sucesso',\n                'date_sell': 'Data da Venda',\n                'date_credit': 'Data do Crédito',\n                'net_value': 'Valor Líquido',\n                'brand': 'Bandeira',\n                'fee': 'Tarifa',\n                'pos': 'POS',\n            },\n        },\n    },\n    mounted() {\n        this.load();\n    },\n    data() {\n        return {\n            filter: {\n                brand_id: '',\n                company_id: '',\n                q: '',\n                date_from: new Date( new Date().getFullYear() - 1, new Date().getMonth(), new Date().getDate()),\n                date_to: new Date(),\n            },\n\n            insights: [],    \n\n            options: {\n                plugins: {\n                    title: {\n                        display: false,\n                        text: 'Chart.js Bar Chart - Stacked'\n                    },\n                },\n                responsive: false,\n                scales: {\n                    x: {\n                        stacked: true,\n                    },\n                    y: {\n                        stacked: true\n                    }\n                },\n            }\n        }\n    },\n\n    methods: {\n        load() {\n            queue.push(this, [\"getInsights\"]);\n        },\n\n        getInsights() {\n            var self = this;\n\n            store.state.isLoading = true;\n\n            return new Promise(function(resolve, reject) {\n                axios\n                    .get(\"/api/dashboard/insights\", {\n                        headers: {\n                            Authorization:\n                                \"Bearer \" + store.state.auth.access_token,\n                        },\n                        params: {\n                            q: self.q,\n                            date_from: self.date_from,\n                            date_to: self.date_to,\n                            status: self.status,\n                            brand_id: self.brand,\n                            company_id: self.company,\n                        },\n                    })\n                    .then((response) => {\n                        self.insights = response.data;\n                        store.state.isLoading = false;\n                        resolve();\n                    });\n            });\n        },\n\n        onPageChange(page) {\n            this.page = page;\n            this.load();\n        },\n\n        onSort(field, transaction) {\n            this.sortField = field;\n            this.sortTransaction = transaction;\n            this.load();\n        },\n\n        editTransaction(item) {\n            this.transactionView = item;\n            this.modalNewActive = true;\n        },\n\n        feeCheck(row) {\n            if(row && row.product) {\n                if(row.fee > row.product.fee) {\n                    return true;\n                } else {\n                    return false;\n                }\n            }\n        }\n    },\n\n    computed: {\n\n        chartdata() {\n\n            if(this.insights.graph_line_1_datasets) {\n                return {\n                  labels: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],\n                  datasets: this.insights.graph_line_1_datasets\n                }\n            } else {\n                return {}\n            }\n\n        }\n\n    }\n};\n</script>\n\n<style type=\"text/css\" scoped>\n    \n    .table {\n        font-size: 11px;\n        width: 100%;\n    }\n\n    .table td, .table th {\n        text-align: right;\n    }\n\n</style>\n","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=c895ba2e&scoped=true&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Dashboard.vue?vue&type=style&index=0&id=c895ba2e&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  \"c895ba2e\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}

Zerion Mini Shell 1.0