{"version":3,"sources":["webpack:///./src/components/TrendsComp.vue?b467","webpack:///./src/views/Trends.vue?fc4f","webpack:///./src/components/TrendsComp.vue?ff6b","webpack:///src/components/TrendsComp.vue","webpack:///./src/components/TrendsComp.vue?96f3","webpack:///./src/components/TrendsComp.vue?e2d6","webpack:///src/views/Trends.vue","webpack:///./src/views/Trends.vue?2020","webpack:///./src/views/Trends.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","staticRenderFns","_v","on","$event","copyToClipboard","staticClass","headers","deals","options","selectedRow","scopedSlots","_u","key","fn","ref","items","isOpen","toggle","length","_s","stage","_l","filter","header","hasOwnProperty","value","formatter","amt","data","vUser","$root","activeUser","uid","vDate","itemsPerPage","dates","methods","closeAll","Object","keys","$refs","forEach","console","log","openAll","row","select","queryTrends","result","col","includes","text","toUpperCase","width","divider","align","groupable","formatNumber","val","toLocaleString","beforeMount","computed","getReworkCount","countRework","errorTasks","pendingReworkCount","isAllowed","appLevel","beforeDestroy","tasks","component","VBtn","VCard","VCardTitle","VContainer","VDataTable","VIcon","VSpacer","VToolbar","components","StatsComp","$router","push","VCol","VRow"],"mappings":"yIAAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,CAAC,aAAa,OAAO,cAAc,OAAO,MAAQ,QAAQC,MAAM,CAAC,MAAQ,KAAK,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,MAAQ,GAAG,aAAa,KAAK,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,OAAO,CAACH,EAAG,cAAc,IAAI,IAAI,IACrTI,EAAkB,GCDlB,EAAS,WAAa,IAAIR,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACG,MAAM,CAAC,MAAQ,KAAK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,QAAA,KAAMC,UAAA,KAAQC,WAAA,OCVxF,OACEC,WAAY,CACVC,UAAJ,GAEEpB,YAJF,WAKSnE,KAAKqC,MAAMC,YACdtC,KAAKwF,QAAQC,KAAK,OC3BwT,I,wBCO5U,EAAY,eACd,EACA3F,EACAS,GACA,EACA,KACA,KACA,MAIa,eAAiB,QAOhC,IAAkB,EAAW,CAACmF,OAAA,KAAKT,aAAA,KAAWU,OAAA","file":"js/chunk-0de85e68.226f8a2b.js","sourcesContent":["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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrendsComp.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticStyle:{\"margin-top\":\"10px\",\"padding-top\":\"10px\",\"width\":\"100%\"},attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"dense\":\"\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"10\"}},[_c('StatsComp')],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-container',{attrs:{\"fluid\":\"\"}},[_c('v-toolbar',{staticStyle:{\"margin-bottom\":\"2px\"},attrs:{\"height\":\"30px\"}},[_c('v-card-title',[_vm._v(\"DEALS TREND ( \"),_c('p',{staticStyle:{\"color\":\"red\",\"font-size\":\"14px !important\"}},[_vm._v(\"VOLUME\")]),_vm._v(\" ) \")]),_c('v-spacer'),_c('v-btn',{staticStyle:{\"font-size\":\"10px !important\"},attrs:{\"color\":\"success\",\"elevation\":\"5\",\"x-small\":\"\"},on:{\"click\":function($event){return _vm.copyToClipboard('results')}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-content-copy\")]),_vm._v(\" Copy\")],1)],1),_c('v-card',{attrs:{\"color\":\"cardColor\"}},[_c('v-data-table',{staticClass:\"elevation-1\",staticStyle:{\"margin-bottom\":\"10px\"},attrs:{\"id\":\"results\",\"height\":\"270px\",\"fixed-header\":\"\",\"dense\":\"\",\"single-select\":\"\",\"headers\":_vm.headers,\"items\":_vm.deals,\"item-key\":\"id\",\"footer-props.items-per-page\":\"-1\",\"footer-props\":{\n 'items-per-page-options': [-1, 5, 10, 15]\n },\"options\":_vm.options,\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"group-by\":\"stage\",\"show-group-by\":\"\"},on:{\"click:row\":_vm.selectedRow},scopedSlots:_vm._u([{key:\"group.header\",fn:function(ref){\n var items = ref.items;\n var isOpen = ref.isOpen;\n var toggle = ref.toggle;\nreturn [_c('th',{staticStyle:{\"padding-left\":\"2px\"},attrs:{\"background-color\":\"grey-lighten-3\",\"colspan\":_vm.headers.length}},[_c('v-icon',{attrs:{\"small\":\"\"},on:{\"click\":toggle}},[_vm._v(_vm._s(isOpen ? 'mdi-minus-box' : 'mdi-plus-box')+\" \")]),_c('span',{staticClass:\"text-uppercase\",staticStyle:{\"font-family\":\"verdana\",\"font-size\":\"10px\",\"color\":\"brown\"}},[_vm._v(\" \"+_vm._s(items[0].stage)+\" \")])],1)]}},_vm._l((_vm.headers.filter(function (header) { return header.hasOwnProperty('formatter'); })),function(header){return {key:(\"item.\" + (header.value)),fn:function(ref){\n var header = ref.header;\n var value = ref.value;\nreturn [_vm._v(\" \"+_vm._s(header.formatter(value))+\" \")]}}})],null,true)})],1),_c('v-card',{attrs:{\"color\":\"cardColor\"}},[_c('v-toolbar',{staticStyle:{\"margin-bottom\":\"2px\"},attrs:{\"height\":\"30px\"}},[_c('v-card-title',[_vm._v(\"DEALS TREND - \"),_c('p',{staticStyle:{\"color\":\"red\",\"font-size\":\"14px !important\"}},[_vm._v(\"VALUE (AED)\")])]),_c('v-spacer'),_c('v-btn',{staticStyle:{\"font-size\":\"10px !important\"},attrs:{\"color\":\"success\",\"elevation\":\"5\",\"x-small\":\"\"},on:{\"click\":function($event){return _vm.copyToClipboard('results2')}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-content-copy\")]),_vm._v(\" Copy\")],1)],1),_c('v-data-table',{staticClass:\"elevation-1\",staticStyle:{\"margin-bottom\":\"10px\"},attrs:{\"id\":\"results\",\"height\":\"270px\",\"fixed-header\":\"\",\"dense\":\"\",\"single-select\":\"\",\"headers\":_vm.headers,\"items\":_vm.amt,\"item-key\":\"id\",\"footer-props.items-per-page\":\"-1\",\"footer-props\":{\n 'items-per-page-options': [-1, 5, 10, 15]\n },\"options\":_vm.options,\"disable-pagination\":\"\",\"group-by\":\"stage\",\"show-group-by\":\"\",\"hide-default-footer\":\"\"},on:{\"click:row\":_vm.selectedRow},scopedSlots:_vm._u([{key:\"group.header\",fn:function(ref){\n var items = ref.items;\n var isOpen = ref.isOpen;\n var toggle = ref.toggle;\nreturn [_c('th',{staticStyle:{\"padding-left\":\"2px\"},attrs:{\"background-color\":\"grey-lighten-3\",\"colspan\":_vm.headers.length}},[_c('v-icon',{attrs:{\"small\":\"\"},on:{\"click\":toggle}},[_vm._v(_vm._s(isOpen ? 'mdi-minus-box' : 'mdi-plus-box')+\" \")]),_c('span',{staticClass:\"text-uppercase\",staticStyle:{\"font-family\":\"verdana\",\"font-size\":\"10px\",\"color\":\"brown\"}},[_vm._v(\" \"+_vm._s(items[0].stage)+\" \")])],1)]}},_vm._l((_vm.headers.filter(function (header) { return header.hasOwnProperty('formatter'); })),function(header){return {key:(\"item.\" + (header.value)),fn:function(ref){\n var header = ref.header;\n var value = ref.value;\nreturn [_vm._v(\" \"+_vm._s(header.formatter(value))+\" \")]}}})],null,true)})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n DEALS TREND -\r\n

VALUE (AED)

\r\n \r\n \r\n \r\n \r\n mdi-content-copy\r\n Copy\r\n
\r\n \r\n \r\n header.hasOwnProperty('formatter'))\"\r\n v-slot:[`item.${header.value}`]=\"{ header, value }\"\r\n >\r\n {{ header.formatter(value) }}\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrendsComp.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrendsComp.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TrendsComp.vue?vue&type=template&id=6cffbcb4&\"\nimport script from \"./TrendsComp.vue?vue&type=script&lang=js&\"\nexport * from \"./TrendsComp.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TrendsComp.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\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 { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VDataTable,VIcon,VSpacer,VToolbar})\n","\r\n\r\n\r\n\r\n\r\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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Trends.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Trends.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Trends.vue?vue&type=template&id=5d113af0&\"\nimport script from \"./Trends.vue?vue&type=script&lang=js&\"\nexport * from \"./Trends.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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VContainer,VRow})\n"],"sourceRoot":""}