{"version":3,"sources":["webpack:///./src/views/contracts/helpers/HorizontalBarChart.vue?c4ce","webpack:///./src/views/contracts/helpers/BarChart.vue?81ef","webpack:///./src/views/contracts/helpers/BarChart.vue","webpack:///./src/views/contracts/helpers/BarChart.vue?c5d4","webpack:///./src/views/contracts/helpers/BarChart.vue?e481","webpack:///./src/views/contracts/helpers/BarChart.vue?e0b4","webpack:///./src/components/ContractsByCategory.vue?0d0b","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue?f9c6","webpack:///./src/views/contracts/helpers/DoughnutChart.vue?6a05","webpack:///./src/views/contracts/helpers/DoughnutChart.vue","webpack:///./src/views/contracts/helpers/DoughnutChart.vue?7caf","webpack:///./src/views/contracts/helpers/DoughnutChart.vue?fa96","webpack:///./src/components/ContractsByOwner.vue?a29c","webpack:///./src/views/contracts/helpers/PercentageDoughnutChart.vue?067f","webpack:///./src/views/contracts/helpers/DoughnutChart.vue?f43f","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue?84fc","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue?67b9","webpack:///./src/views/contracts/helpers/HorizontalBarChart.vue?c47a","webpack:///./src/views/contracts/helpers/HorizontalBarChart.vue","webpack:///./src/views/contracts/helpers/HorizontalBarChart.vue?aca8","webpack:///./src/views/contracts/helpers/HorizontalBarChart.vue?2d15","webpack:///./src/views/contracts/helpers/PercentageDoughnutChart.vue?46d3","webpack:///./src/views/contracts/helpers/PercentageDoughnutChart.vue","webpack:///./src/views/contracts/helpers/PercentageDoughnutChart.vue?7d83","webpack:///./src/views/contracts/helpers/PercentageDoughnutChart.vue?67d8","webpack:///./src/components/ContractsByOwner.vue?0c4f","webpack:///./src/components/ContractsByOwner.vue","webpack:///./src/components/ContractsByOwner.vue?ad1f","webpack:///./src/components/ContractsByOwner.vue?7fac","webpack:///./src/components/ContractsBySupplier.vue?d55a","webpack:///./src/components/ContractsBySupplier.vue","webpack:///./src/components/ContractsBySupplier.vue?d5c2","webpack:///./src/components/ContractsBySupplier.vue?3ac2","webpack:///./src/components/ContractsByCategory.vue?bbd4","webpack:///./src/components/ContractsByCategory.vue","webpack:///./src/components/ContractsByCategory.vue?64cf","webpack:///./src/components/ContractsByCategory.vue?3543","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue?9227","webpack:///./src/views/contracts/analytics/AnalyticsContractPage.vue?d243","webpack:///./src/components/ContractsBySupplier.vue?1b3e"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","options","series","on","GetLabelName","staticRenderFns","BarChart","Vue","constructor","chart","type","toolbar","show","zoom","enabled","selection","colors","plotOptions","bar","horizontal","borderRadius","columnWidth","dataLabels","position","fill","opacity","textAnchor","offsetX","background","foreColor","padding","dropShadow","style","fontSize","stroke","xaxis","categories","labels","onLabelChange","newVal","event","chartContext","config","clickedIndex","dataPointIndex","clickedLabel","filterContracts","__decorate","Prop","default","data","Watch","Component","components","apexchart","VueApexCharts","component","DoughnutChart","height","left","right","top","bottom","margin","grid","responsive","breakpoint","formatter","val","opts","tag","w","seriesIndex","click","console","log","pie","offsetY","donut","size","legend","legendOptions","length","floating","staticStyle","_v","_s","$t","directives","name","rawName","value","expression","$event","$$selectedVal","Array","prototype","filter","call","target","o","selected","map","_value","selectedLang","multiple","changeLang","_l","lang","key","code","domProps","staticClass","_e","contractsCountByOwnerLoading","totalContractsCountByOwnerSeries","contractsCountByOwnerDoughnutLabels","filterContractsCountByOwner","totalContractsCountByOwnerBarChartSeries","contractsValueByOwnerLoading","totalContractsCostByOwnerSeries","contractsCostByOwnerDoughnutLabels","filterContractsCostByOwner","selectedCurrencySymbol","totalContractsCostPercentageByOwnerSeries","totalContractsValueByOwnerBarChartSeries","contractsCountBySupplierLoading","totalContractsCountBySupplierSeries","contractsCountBySupplierDoughnutLabels","filterContractsCountBySupplier","totalContractsCountBySupplierBarChartSeries","contractsValueBySupplierLoading","totalContractsCostBySupplierSeries","contractsCostBySupplierDoughnutLabels","filterContractsCostBySupplier","totalContractsCostPercentageBySupplierSeries","totalContractsValueBySupplierBarChartSeries","contractsCountByCategoryLoading","totalContractsCountByCategorySeries","contractsCountByCategoryDoughnutLabels","filterContractsCountByCategory","totalContractsCountByCategoryBarChartSeries","contractsValueByCategoryLoading","totalContractsCostByCategorySeries","contractsCostByCategoryDoughnutLabels","filterContractsCostByCategory","totalContractsCostPercentageByCategorySeries","totalContractsValueByCategoryBarChartSeries","closeFilteredOwnerContractsDialog","model","callback","$$v","filteredContractsByOwnerDialog","ownerId","closeFilteredSupplierContractsDialog","filteredContractsBySupplierDialog","supplierId","closeFilteredCategoryContractsDialog","filteredContractsByCategoryDialog","categoryId","HorizontalBarChart","rotate","rotateAlways","hideOverlappingLabels","PercentageDoughnutChart","contracts","ownerName","contractsHeaders","contractsByOwnerLoading","scopedSlots","_u","fn","ref","item","status","goToRequest","id","cancel","namespace","ContractsByOwner","saving","text","align","sortable","onOwnerIdChange","newOwnerId","oldOwnerId","FetchContractsByOwner","created","ContractApiService","getContractsByOwnerId","then","res","x","obj","expirationDate","undefined","Date","toDateString","catch","err","Toast","error","finally","itemId","$router","push","ConfirmDialog","ContractBaseStatusChip","VBtn","VCard","VCardActions","VCardText","VCardTitle","VDataTable","supplierName","contractsBySupplierLoading","ContractsBySupplier","onSupplierIdChange","newSupplierId","oldSupplierId","FetchContractsBySupplier","getContractsBySupplierId","categoryName","contractsByCategoryLoading","ContractsByCategory","onCategoryIdChange","newCategoryId","oldCategoryId","FetchContractsByCategory","getContractsByCategoryId","AnalyticsContractPage","responseFunnelSeries","responseFunnelLabels","contractsLoading","ownersContractsCount","contractsCountByOwnerLabelsObjects","contractsCostByOwnerLabelsObjects","contractsCountBySupplierLabelsObjects","contractsCostBySupplierLabelsObjects","contractsCountByCategoryLabelsObjects","contractsCostByCategoryLabelsObjects","locales","ContractsApiService","getCurrency","currency","symbol","loadNumberOfContractsByOwnerDoughnutChart","loadCostOfContractsByOwnerDoughnutChart","loadNumberOfContractsBySupplierCharts","loadCostOfContractsBySupplier","loadNumberOfContractsByCategoryCharts","loadCostOfContractsByCategory","localStorage","getItem","setItem","location","reload","getContractsCountByOwner","fillContractsCountByOwnerLabelsAndSeries","contractsCountByOwner","ownersContractsSeries","i","owner","contractCountPercentage","contractCount","getContractsValueByOwner","fillContractsCostByOwnerLabelsAndSeries","contractsValueByOwner","ownersContractsCost","ownerContractsValue","ownerContractsValuePercentage","openFilteredContractsDialog","labelName","index","getContractsCountBySupplier","fillContractsCountBySupplierLabelsAndSeries","contractsCountBySupplier","suppliersContractsCount","suppliersContractsSeries","supplier","getContractsValueBySupplier","fillContractsCostBySupplierLabelsAndSeries","contractsValueBySupplier","suppliersContractsCost","contractsValue","contractsValuePercentage","openFilteredSupplierContractsDialog","getContractsCountByCategory","fillContractsCountByCategoryLabelsAndSeries","contractsCountByCategory","CategoriesContractsCount","CategoriesContractsSeries","category","getContractsValueByCategory","fillContractsCostByCategoryLabelsAndSeries","contractsValueByCategory","CategoriesContractsCost","openFilteredCategoryContractsDialog","LoadingSpinner","VCol","VDialog","VRow"],"mappings":"mKAAA,yBAAylB,EAAG,G,kCCA5lB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,UAAU,CAACF,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,MAAM,OAAS,MAAM,MAAQ,MAAM,QAAUN,EAAIO,QAAQ,OAASP,EAAIQ,QAAQC,GAAG,CAAC,mBAAqBT,EAAIU,iBAAiB,IACvRC,EAAkB,G,yDCctB,IAAqBC,EAArB,cAAsCC,OAAtCC,c,oBAmBQ,KAAAP,QAAe,CACrBQ,MAAO,CACNC,KAAM,MACNC,QAAS,CACRC,MAAM,GAEPC,KAAM,CACLC,SAAS,GAEVC,UAAW,CACVD,SAAS,IAGXE,OAAQ,CAAC,WACTC,YAAa,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KA,EAAE4F,kBAMvCa,sCACN/S,KAAKmK,mCAAoC,EAEnCD,uCACNlK,KAAKmK,mCAAoC,EAKnClB,+BAA+BqI,EAAWC,GAChDvR,KAAKoK,WAAapK,KAAKqP,sCACtBkC,GACCnH,WACFpK,KAAK+S,sCAICzJ,8BAA8BgI,EAAWC,GAC/CvR,KAAKoK,WAAapK,KAAKsP,qCAAqCiC,GAAOnH,WACnEpK,KAAK+S,wCAtXcnE,GAAqB,gBAZzCnL,eAAU,CACVC,WAAY,CACXsP,sBACAlP,qBACAnD,gBACA0J,qBACAI,0BACAe,mBACAsC,sBACAQ,2BAGmBM,cCvV+Z,M,6DCShb,GAAY,eACd,GACA9O,EACAY,GACA,EACA,KACA,WACA,MAIa,gBAAiB,QAOhC,IAAkB,GAAW,CAACuS,QAAA,KAAKC,WAAA,KAAQC,QAAA,Q,kCC3B3C,yBAAgjB,EAAG,G","file":"js/chunk-81819b82.55ea4de0.js","sourcesContent":["import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=style&index=0&id=b652f654&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=style&index=0&id=b652f654&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"chart\"}},[_c('apexchart',{attrs:{\"type\":\"bar\",\"height\":\"350\",\"width\":\"600\",\"options\":_vm.options,\"series\":_vm.series},on:{\"dataPointSelection\":_vm.GetLabelName}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class BarChart extends Vue {\r\n\t@Prop({\r\n\t\tdefault: [\r\n\t\t\t{\r\n\t\t\t\tdata: []\r\n\t\t\t}\r\n\t\t]\r\n\t})\r\n\tpublic series!: any[];\r\n\t@Prop({\r\n\t\tdefault: []\r\n\t})\r\n\tpublic labels!: string[];\r\n\t@Prop() public filterContracts!: any;\r\n\r\n\t@Watch('labels') onLabelChange(newVal) {\r\n\t\tthis.options.xaxis.categories = newVal;\r\n\t}\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'bar',\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t},\r\n\t\t\tzoom: {\r\n\t\t\t\tenabled: false\r\n\t\t\t},\r\n\t\t\tselection: {\r\n\t\t\t\tenabled: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#00c853'],\r\n\t\tplotOptions: {\r\n\t\t\tbar: {\r\n\t\t\t\thorizontal: false,\r\n\t\t\t\tborderRadius: 10,\r\n\t\t\t\tcolumnWidth: '55%',\r\n\t\t\t\tdataLabels: {\r\n\t\t\t\t\tposition: 'top'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tfill: {\r\n\t\t\topacity: 1\r\n\t\t},\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\toffsetX: -6,\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tstroke: {\r\n\t\t\tshow: false\r\n\t\t},\r\n\t\txaxis: {\r\n\t\t\tcategories: this.labels\r\n\t\t}\r\n\t};\r\n\tpublic GetLabelName(event, chartContext, config) {\r\n\t\tconst clickedIndex = config.dataPointIndex;\r\n\t\tconst clickedLabel = this.labels[clickedIndex];\r\n\t\tthis.filterContracts(clickedLabel, clickedIndex)\r\n\t}\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BarChart.vue?vue&type=template&id=9ee9b364&scoped=true&\"\nimport script from \"./BarChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./BarChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./BarChart.vue?vue&type=style&index=0&id=9ee9b364&lang=scss&scoped=true&\"\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  \"9ee9b364\",\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=style&index=0&id=9ee9b364&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=style&index=0&id=9ee9b364&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByCategory.vue?vue&type=style&index=0&id=1fe368ec&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByCategory.vue?vue&type=style&index=0&id=1fe368ec&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.vue?vue&type=style&index=0&id=7bd735da&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.vue?vue&type=style&index=0&id=7bd735da&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('apexchart',{attrs:{\"type\":\"donut\",\"height\":\"350\",\"width\":\"350\",\"padding\":\"0\",\"options\":_vm.options,\"series\":_vm.series},on:{\"dataPointSelection\":_vm.GetLabelName}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class DoughnutChart extends Vue {\r\n\t@Prop() public series!: any[];\r\n\t@Prop() public labels!: any[];\r\n\t@Prop() public filterContracts!: any;\r\n\t@Prop({ default: null }) public tag!: string | null;\r\n\r\n\tget legendOptions() {\r\n\t\tif (this.series.length > 6) {\r\n\t\t\treturn {\r\n\t\t\t\tshow: false,\r\n\t\t\t\tfloating: true,\r\n\t\t\t\tposition: 'top'\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\treturn {\r\n\t\t\t\tfloating: true,\r\n\t\t\t\tposition: 'top'\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'donut',\r\n\t\t\theight: 350,\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tpadding: {\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t},\r\n\t\tmargin: {\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t},\r\n\t\tgrid: {\r\n\t\t\tpadding: {\r\n\t\t\t\tleft: 0,\r\n\t\t\t\tright: 0,\r\n\t\t\t\ttop: 0,\r\n\t\t\t\tbottom: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tresponsive: [\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1600,\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tchart: {\r\n\t\t\t\t\t\theight: 300\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t],\r\n\t\tlabels: this.labels,\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\tformatter: (val, opts) => {\r\n\t\t    if (this.tag !== null) {\r\n\t\t        return this.tag + opts.w.config.series[opts.seriesIndex];\r\n\t\t    } else {\r\n\t\t        return opts.w.config.series[opts.seriesIndex];\r\n\t\t    }\r\n\t\t},\r\n\t\t\tclick: function (val, opts) {\r\n\t\t\t\tconsole.log(opts.w.config.series[opts.seriesIndex]);\r\n\t\t\t},\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#14CC60', '#e6a308', '#b70c0c'],\r\n\t\tplotOptions: {\r\n\t\t\tpie: {\r\n\t\t\t\toffsetY: 40,\r\n\t\t\t\tdonut: {\r\n\t\t\t\t\tsize: '50%'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tlegend: this.legendOptions\r\n\t};\r\n\tpublic GetLabelName(event, chartContext, config) {\r\n\t\tconst clickedIndex = config.dataPointIndex;\r\n\t\tconst clickedLabel = this.labels[clickedIndex];\r\n\t\tthis.filterContracts(clickedLabel, clickedIndex)\r\n\t}\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DoughnutChart.vue?vue&type=template&id=45aefa70&scoped=true&\"\nimport script from \"./DoughnutChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./DoughnutChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DoughnutChart.vue?vue&type=style&index=0&id=45aefa70&lang=scss&scoped=true&\"\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  \"45aefa70\",\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByOwner.vue?vue&type=style&index=0&id=3c1ff20b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByOwner.vue?vue&type=style&index=0&id=3c1ff20b&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageDoughnutChart.vue?vue&type=style&index=0&id=7252a8ee&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageDoughnutChart.vue?vue&type=style&index=0&id=7252a8ee&lang=scss&scoped=true&\"","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=style&index=0&id=45aefa70&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoughnutChart.vue?vue&type=style&index=0&id=45aefa70&lang=scss&scoped=true&\"","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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.vue?vue&type=style&index=1&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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.vue?vue&type=style&index=1&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"padding\":\"1rem\",\"margin\":\"1rem\"}},[_c('div',[_c('div',{staticStyle:{\"float\":\"right\"}},[_c('label',{staticStyle:{\"padding-right\":\"0.5rem\"},attrs:{\"for\":\"language-select\"}},[_vm._v(_vm._s(_vm.$t('Languages')))]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLang),expression:\"selectedLang\"}],staticStyle:{\"border-radius\":\"25px 25px\",\"text-align\":\"center\"},attrs:{\"id\":\"language-select\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLang=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.changeLang]}},_vm._l((_vm.locales),function(lang){return _c('option',{key:lang.code,domProps:{\"value\":lang.code}},[_vm._v(\" \"+_vm._s(lang.name)+\" \")])}),0)]),_c('div',[_c('v-row',[_c('v-col',{staticStyle:{\"margin-left\":\"1.5rem\"}},[_c('h1',[_vm._v(_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractAnalytics')))])])],1)],1)]),_c('div',{staticClass:\"header-divider\"}),[_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"ContractCountsCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t('Contract.AnalyticsContractPage.NumberOfContractsPerTeamMember')))])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-5\"},[(_vm.contractsCountByOwnerLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountByOwnerLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountByOwnerSeries,\"labels\":_vm.contractsCountByOwnerDoughnutLabels,\"filterContracts\":_vm.filterContractsCountByOwner}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerTeamMember'))+\" \")])],1),_c('v-col',{staticClass:\"col-sm-7\"},[(_vm.contractsCountByOwnerLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountByOwnerLoading)?_c('BarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountByOwnerBarChartSeries,\"labels\":_vm.contractsCountByOwnerDoughnutLabels,\"filterContracts\":_vm.filterContractsCountByOwner}}):_vm._e()],1)],1)],1),_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"ContractValueCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.CostOfContractsPerTeamMember'))+\" \")])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueByOwnerLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByOwnerLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostByOwnerSeries,\"labels\":_vm.contractsCostByOwnerDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByOwner,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1),_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueByOwnerLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByOwnerLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostPercentageByOwnerSeries,\"labels\":_vm.contractsCostByOwnerDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByOwner}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerTeamMember'))+\" \")])],1)],1),_c('v-row',[_c('v-col',{staticClass:\"col-sm-10\"},[(_vm.contractsValueByOwnerLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByOwnerLoading)?_c('HorizontalBarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsValueByOwnerBarChartSeries,\"labels\":_vm.contractsCostByOwnerDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByOwner,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1)],1)],1),_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"SupplierContractCountsCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.NumberOfContractsPerSupplier'))+\" \")])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-5\"},[(_vm.contractsCountBySupplierLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountBySupplierLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountBySupplierSeries,\"labels\":_vm.contractsCountBySupplierDoughnutLabels,\"filterContracts\":_vm.filterContractsCountBySupplier}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerSupplier'))+\" \")])],1),_c('v-col',{staticClass:\"col-sm-7\"},[(_vm.contractsCountBySupplierLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountBySupplierLoading)?_c('BarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountBySupplierBarChartSeries,\"labels\":_vm.contractsCountBySupplierDoughnutLabels,\"filterContracts\":_vm.filterContractsCountBySupplier}}):_vm._e()],1)],1)],1),_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"SupplierContractValueCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.CostOfContractsPerSupplier'))+\" \")])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueBySupplierLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueBySupplierLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostBySupplierSeries,\"labels\":_vm.contractsCostBySupplierDoughnutLabels,\"filterContracts\":_vm.filterContractsCostBySupplier,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1),_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueBySupplierLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueBySupplierLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostPercentageBySupplierSeries,\"labels\":_vm.contractsCostBySupplierDoughnutLabels,\"filterContracts\":_vm.filterContractsCostBySupplier}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerSupplier'))+\" \")])],1)],1),_c('v-row',[_c('v-col',{staticClass:\"col-sm-10\"},[(_vm.contractsValueBySupplierLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueBySupplierLoading)?_c('HorizontalBarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsValueBySupplierBarChartSeries,\"labels\":_vm.contractsCostBySupplierDoughnutLabels,\"filterContracts\":_vm.filterContractsCostBySupplier,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1)],1)],1),_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"CategoryContractCountsCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.NumberOfContractsPerCategory'))+\" \")])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-5\"},[(_vm.contractsCountByCategoryLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountByCategoryLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountByCategorySeries,\"labels\":_vm.contractsCountByCategoryDoughnutLabels,\"filterContracts\":_vm.filterContractsCountByCategory}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerCategory'))+\" \")])],1),_c('v-col',{staticClass:\"col-sm-7\"},[(_vm.contractsCountByCategoryLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsCountByCategoryLoading)?_c('BarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsCountByCategoryBarChartSeries,\"labels\":_vm.contractsCountByCategoryDoughnutLabels,\"filterContracts\":_vm.filterContractsCountByCategory}}):_vm._e()],1)],1)],1),_c('div',{staticClass:\"ChartMainDiv\",attrs:{\"id\":\"CategoryContractValueCharts\"}},[_c('v-row',{staticClass:\"Center\"},[_c('div',[_c('h3',[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.CostOfContractsPerCategory'))+\" \")])])]),_c('v-row',[_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueByCategoryLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByCategoryLoading)?_c('DoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostByCategorySeries,\"labels\":_vm.contractsCostByCategoryDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByCategory,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1),_c('v-col',{staticClass:\"col-sm-6\"},[(_vm.contractsValueByCategoryLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByCategoryLoading)?_c('PercentageDoughnutChart',{staticClass:\"max-pie-chart-height Center\",attrs:{\"series\":_vm.totalContractsCostPercentageByCategorySeries,\"labels\":_vm.contractsCostByCategoryDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByCategory}}):_vm._e(),_c('h5',{staticClass:\"Center\"},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsPercentagePerCategory'))+\" \")])],1)],1),_c('v-row',[_c('v-col',{staticClass:\"col-sm-10\"},[(_vm.contractsValueByCategoryLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.contractsValueByCategoryLoading)?_c('HorizontalBarChart',{staticClass:\"max-bar-chart-height Center\",attrs:{\"series\":_vm.totalContractsValueByCategoryBarChartSeries,\"labels\":_vm.contractsCostByCategoryDoughnutLabels,\"filterContracts\":_vm.filterContractsCostByCategory,\"tag\":_vm.selectedCurrencySymbol}}):_vm._e()],1)],1)],1),_c('v-dialog',{attrs:{\"width\":\"1100\"},on:{\"click:outside\":function($event){return _vm.closeFilteredOwnerContractsDialog()}},model:{value:(_vm.filteredContractsByOwnerDialog),callback:function ($$v) {_vm.filteredContractsByOwnerDialog=$$v},expression:\"filteredContractsByOwnerDialog\"}},[_c('ContractsByOwner',{attrs:{\"cancel\":_vm.closeFilteredOwnerContractsDialog,\"ownerId\":_vm.ownerId}})],1),_c('v-dialog',{attrs:{\"width\":\"1100\"},on:{\"click:outside\":function($event){return _vm.closeFilteredSupplierContractsDialog()}},model:{value:(_vm.filteredContractsBySupplierDialog),callback:function ($$v) {_vm.filteredContractsBySupplierDialog=$$v},expression:\"filteredContractsBySupplierDialog\"}},[_c('ContractsBySupplier',{attrs:{\"cancel\":_vm.closeFilteredSupplierContractsDialog,\"supplierId\":_vm.supplierId}})],1),_c('v-dialog',{attrs:{\"width\":\"1100\"},on:{\"click:outside\":function($event){return _vm.closeFilteredCategoryContractsDialog()}},model:{value:(_vm.filteredContractsByCategoryDialog),callback:function ($$v) {_vm.filteredContractsByCategoryDialog=$$v},expression:\"filteredContractsByCategoryDialog\"}},[_c('ContractsByCategory',{attrs:{\"cancel\":_vm.closeFilteredCategoryContractsDialog,\"categoryId\":_vm.categoryId}})],1)]],2)}\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',{attrs:{\"id\":\"chart\"}},[_c('apexchart',{attrs:{\"type\":\"bar\",\"height\":\"350\",\"width\":\"800\",\"options\":_vm.options,\"series\":_vm.series},on:{\"dataPointSelection\":_vm.GetLabelName}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class HorizontalBarChart extends Vue {\r\n\t@Prop({\r\n\t\tdefault: [\r\n\t\t\t{\r\n\t\t\t\tdata: []\r\n\t\t\t}\r\n\t\t]\r\n\t})\r\n\tpublic series!: any[];\r\n\t@Prop({\r\n\t\tdefault: []\r\n\t})\r\n\tpublic labels!: string[];\r\n\t@Prop() public filterContracts!: any;\r\n\t@Prop({ default: null }) public tag!: string | null;\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'bar',\r\n\t\t\theight: 200,\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#00c853'],\r\n\t\tplotOptions: {\r\n\t\t\tbar: {\r\n\t\t\t\thorizontal: true,\r\n\t\t\t\tborderRadius: 10,\r\n\t\t\t\tcolumnWidth: '55%',\r\n\t\t\t\tdataLabels: {\r\n\t\t\t\t\tposition: 'top'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\tformatter: (val: any, opts: any) => {\r\n                if (this.tag !== null) {\r\n                    return this.tag + val;\r\n                } else {\r\n                    return val;\r\n                }\r\n            },\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\toffsetX: -15,\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tstroke: {\r\n\t\t\tshow: false\r\n\t\t},\r\n\t\txaxis: {\r\n\t\t\tlabels: {\r\n\t\t\t\trotate: -45,\r\n\t\t\t\trotateAlways: false,\r\n\t\t\t\thideOverlappingLabels: true\r\n\t\t\t},\r\n\t\t\tcategories: this.labels\r\n\t\t}\r\n\t};\r\n\tpublic GetLabelName(event, chartContext, config) {\r\n\t\tconst clickedIndex = config.dataPointIndex;\r\n\t\tconst clickedLabel = this.labels[clickedIndex];\r\n\t\tthis.filterContracts(clickedLabel, clickedIndex)\r\n\t}\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalBarChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HorizontalBarChart.vue?vue&type=template&id=b652f654&scoped=true&\"\nimport script from \"./HorizontalBarChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./HorizontalBarChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HorizontalBarChart.vue?vue&type=style&index=0&id=b652f654&lang=scss&scoped=true&\"\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  \"b652f654\",\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 _c('apexchart',{attrs:{\"type\":\"donut\",\"height\":\"350\",\"width\":\"350\",\"padding\":\"0\",\"options\":_vm.options,\"series\":_vm.series},on:{\"dataPointSelection\":_vm.GetLabelName}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport VueApexCharts from 'vue-apexcharts';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tapexchart: VueApexCharts\r\n\t}\r\n})\r\nexport default class PercentageDoughnutChart extends Vue {\r\n\t@Prop() public series!: any[];\r\n\t@Prop() public labels!: any[];\r\n\t@Prop() public filterContracts!: any;\r\n\r\n\tget legendOptions() {\r\n\t\tif (this.series.length > 6) {\r\n\t\t\treturn {\r\n\t\t\t\tshow: false,\r\n\t\t\t\tfloating: true,\r\n\t\t\t\tposition: 'top'\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\treturn {\r\n\t\t\t\tfloating: true,\r\n\t\t\t\tposition: 'top'\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\tpublic options: any = {\r\n\t\tchart: {\r\n\t\t\ttype: 'donut',\r\n\t\t\theight: 350,\r\n\t\t\ttoolbar: {\r\n\t\t\t\tshow: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tpadding: {\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t},\r\n\t\tmargin: {\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t},\r\n\t\tgrid: {\r\n\t\t\tpadding: {\r\n\t\t\t\tleft: 0,\r\n\t\t\t\tright: 0,\r\n\t\t\t\ttop: 0,\r\n\t\t\t\tbottom: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tresponsive: [\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1600,\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tchart: {\r\n\t\t\t\t\t\theight: 300\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t],\r\n\t\tlabels: this.labels,\r\n\t\tdataLabels: {\r\n\t\t\tenabled: true,\r\n\t\t\tformatter: function (val, opts) {\r\n\t\t\t\treturn opts.w.config.series[opts.seriesIndex] + ' %';\r\n\t\t\t},\r\n\t\t\tclick: function (val, opts) {\r\n\t\t\t\tconsole.log(opts.w.config.series[opts.seriesIndex]) + ' %';\r\n\t\t\t},\r\n\t\t\ttextAnchor: 'middle',\r\n\t\t\tbackground: {\r\n\t\t\t\tenabled: true,\r\n\t\t\t\tforeColor: '#2b2b2b',\r\n\t\t\t\tpadding: 2,\r\n\t\t\t\tborderRadius: 2,\r\n\t\t\t\topacity: 1,\r\n\t\t\t\tdropShadow: {\r\n\t\t\t\t\tenabled: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tstyle: {\r\n\t\t\t\tfontSize: '12px',\r\n\t\t\t\tcolors: ['#fff']\r\n\t\t\t}\r\n\t\t},\r\n\t\tcolors: ['#14CC60', '#e6a308', '#b70c0c'],\r\n\t\tplotOptions: {\r\n\t\t\tpie: {\r\n\t\t\t\toffsetY: 40,\r\n\t\t\t\tdonut: {\r\n\t\t\t\t\tsize: '50%'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tlegend: this.legendOptions\r\n\t};\r\n\tpublic GetLabelName(event, chartContext, config) {\r\n\t\tconst clickedIndex = config.dataPointIndex;\r\n\t\tconst clickedLabel = this.labels[clickedIndex];\r\n\t\tthis.filterContracts(clickedLabel, clickedIndex)\r\n\t}\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageDoughnutChart.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PercentageDoughnutChart.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PercentageDoughnutChart.vue?vue&type=template&id=7252a8ee&scoped=true&\"\nimport script from \"./PercentageDoughnutChart.vue?vue&type=script&lang=ts&\"\nexport * from \"./PercentageDoughnutChart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PercentageDoughnutChart.vue?vue&type=style&index=0&id=7252a8ee&lang=scss&scoped=true&\"\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  \"7252a8ee\",\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 _c('v-card',[_c('v-card-title',[_c('h2',[_c('span',{staticStyle:{\"font-weight\":\"lighter\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsOf')))]),_vm._v(\" \"+_vm._s(_vm.contracts[0].ownerName))])]),_c('v-card-text',[_c('v-data-table',{attrs:{\"headers\":_vm.contractsHeaders,\"items\":_vm.contracts,\"loading\":_vm.contractsByOwnerLoading,\"no-data-text\":_vm.$t('Contract.RequestsManagePage.noDataText')},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ContractBaseStatusChip',{attrs:{\"state\":item.status}})]}},{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"rounded\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.goToRequest(item.id)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.View'))+\" \"),_c('span',{staticClass:\"mdi mdi-magnify mdi-18px\"})])]}}])})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('Contract.RenewContractForm.Cancel')))])],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\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ContractApiService from '@/api/contracts.api';\r\nimport { ContractVM } from '@/models/contract';\r\n\r\nimport ContractBaseStatusChip from '@/components/ContractBaseStatusChip.vue';;\r\n\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, ContractBaseStatusChip }\r\n})\r\nexport default class ContractsByOwner extends Vue {\r\n\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public ownerId!: any;\r\n\t@Watch('ownerId')\r\n\tonOwnerIdChange(newOwnerId: any, oldOwnerId: any) {\r\n\t\tthis.FetchContractsByOwner();\r\n\t}\r\n\r\n\tpublic contractsByOwnerLoading = false;\r\n\tpublic saving = false;\r\n\r\n\tpublic contracts: ContractVM[] = [];\r\n\tpublic contractsHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Status'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'status',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Supplier'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'supplierName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Category'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'categoryName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Owner'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'ownerName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.ExpirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'expirationDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.ContractActions'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'id'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.FetchContractsByOwner();\r\n\t}\r\n\r\n\tprivate FetchContractsByOwner() {\r\n\t\tthis.contractsByOwnerLoading = true;\r\n\t\tContractApiService.getContractsByOwnerId(this.ownerId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.contracts = res.contracts.map(x => {\r\n\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\texpirationDate: x.expirationDate == null || x.expirationDate == undefined ? '--' : new Date(x.expirationDate).toDateString()\r\n\t\t\t\t\t\t// endDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsByOwnerLoading = false));\r\n\t}\r\n\tpublic goToRequest(itemId) {\r\n\t\tthis.$router.push(`/contracts/${itemId}/responses`);\r\n\t}\r\n\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByOwner.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByOwner.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractsByOwner.vue?vue&type=template&id=3c1ff20b&scoped=true&\"\nimport script from \"./ContractsByOwner.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractsByOwner.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContractsByOwner.vue?vue&type=style&index=0&id=3c1ff20b&lang=scss&scoped=true&\"\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  \"3c1ff20b\",\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 { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VDataTable})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_c('span',{staticStyle:{\"font-weight\":\"lighter\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsOf')))]),_vm._v(\" \"+_vm._s(_vm.contracts[0].supplierName))])]),_c('v-card-text',[_c('v-data-table',{attrs:{\"headers\":_vm.contractsHeaders,\"items\":_vm.contracts,\"loading\":_vm.contractsBySupplierLoading,\"no-data-text\":_vm.$t('Contract.RequestsManagePage.noDataText')},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ContractBaseStatusChip',{attrs:{\"state\":item.status}})]}},{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"rounded\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.goToRequest(item.id)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.View'))+\" \"),_c('span',{staticClass:\"mdi mdi-magnify mdi-18px\"})])]}}])})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('Contract.RenewContractForm.Cancel')))])],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\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ContractApiService from '@/api/contracts.api';\r\nimport { ContractVM } from '@/models/contract';\r\n\r\nimport ContractBaseStatusChip from '@/components/ContractBaseStatusChip.vue';;\r\n\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, ContractBaseStatusChip }\r\n})\r\nexport default class ContractsBySupplier extends Vue {\r\n\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public supplierId!: any;\r\n\t@Watch('supplierId')\r\n\tonSupplierIdChange(newSupplierId: any, oldSupplierId: any) {\r\n\t\tthis.FetchContractsBySupplier();\r\n\t}\r\n\r\n\tpublic contractsBySupplierLoading = false;\r\n\tpublic saving = false;\r\n\r\n\tpublic contracts: ContractVM[] = [];\r\n\tpublic contractsHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Status'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'status',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Supplier'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'supplierName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Category'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'categoryName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Owner'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'ownerName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.ExpirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'expirationDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.ContractActions'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'id'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.FetchContractsBySupplier();\r\n\t}\r\n\r\n\tprivate FetchContractsBySupplier() {\r\n\t\tthis.contractsBySupplierLoading = true;\r\n\t\tContractApiService.getContractsBySupplierId(this.supplierId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.contracts = res.contracts.map(x => {\r\n\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\texpirationDate: x.expirationDate == null || x.expirationDate == undefined ? '--' : new Date(x.expirationDate).toDateString()\r\n\t\t\t\t\t\t// endDate: DateService.formatTableDateString(x.endDate)\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsBySupplierLoading = false));\r\n\t}\r\n\tpublic goToRequest(itemId) {\r\n\t\tthis.$router.push(`/contracts/${itemId}/responses`);\r\n\t}\r\n\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsBySupplier.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsBySupplier.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractsBySupplier.vue?vue&type=template&id=8c68a530&scoped=true&\"\nimport script from \"./ContractsBySupplier.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractsBySupplier.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContractsBySupplier.vue?vue&type=style&index=0&id=8c68a530&lang=scss&scoped=true&\"\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  \"8c68a530\",\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 { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VDataTable})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('v-card-title',[_c('h2',[_c('span',{staticStyle:{\"font-weight\":\"lighter\"}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.ContractsOf')))]),_vm._v(\" \"+_vm._s(_vm.contracts[0].categoryName))])]),_c('v-card-text',[_c('v-data-table',{attrs:{\"headers\":_vm.contractsHeaders,\"items\":_vm.contracts,\"loading\":_vm.contractsByCategoryLoading,\"no-data-text\":_vm.$t('Contract.RequestsManagePage.noDataText')},scopedSlots:_vm._u([{key:\"item.status\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('ContractBaseStatusChip',{attrs:{\"state\":item.status}})]}},{key:\"item.id\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{attrs:{\"type\":\"button\",\"color\":\"primary\",\"rounded\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.goToRequest(item.id)}}},[_vm._v(\" \"+_vm._s(_vm.$t('Contract.AnalyticsContractPage.View'))+\" \"),_c('span',{staticClass:\"mdi mdi-magnify mdi-18px\"})])]}}])})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"rounded\":\"\",\"text\":\"\"},on:{\"click\":function($event){return _vm.cancel()}}},[_vm._v(_vm._s(_vm.$t('Contract.RenewContractForm.Cancel')))])],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\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport ContractApiService from '@/api/contracts.api';\r\nimport { ContractVM } from '@/models/contract';\r\n\r\nimport ContractBaseStatusChip from '@/components/ContractBaseStatusChip.vue';;\r\n\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, ContractBaseStatusChip }\r\n})\r\nexport default class ContractsByCategory extends Vue {\r\n\r\n\t@Prop() public cancel!: any;\r\n\t@Prop() public categoryId!: any;\r\n\t@Watch('categoryId')\r\n\tonCategoryIdChange(newCategoryId: any, oldCategoryId: any) {\r\n\t\tthis.FetchContractsByCategory();\r\n\t}\r\n\t\r\n\tpublic contractsByCategoryLoading = false;\r\n\tpublic saving = false;\r\n\r\n\tpublic contracts: ContractVM[] = [];\r\n\tpublic contractsHeaders = [\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Status'),\r\n\t\t\talign: 'start',\r\n\t\t\tvalue: 'status',\r\n\t\t\tsortable: false\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Title'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'title'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Supplier'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'supplierName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Category'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'categoryName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.Owner'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'ownerName'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsManagePage.ExpirationDate'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: true,\r\n\t\t\tvalue: 'expirationDate'\r\n\t\t},\r\n\t\t{\r\n\t\t\ttext: this.$t('Contract.RequestsResponsesPage.ContractActions'),\r\n\t\t\talign: 'start',\r\n\t\t\tsortable: false,\r\n\t\t\tvalue: 'id'\r\n\t\t}\r\n\t];\r\n\r\n\tcreated() {\r\n\t\tthis.FetchContractsByCategory();\r\n\t}\r\n\r\n\tprivate FetchContractsByCategory() {\r\n\t\tthis.contractsByCategoryLoading = true;\r\n\t\tContractApiService.getContractsByCategoryId(this.categoryId)\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.contracts = res.contracts.map(x => {\r\n\r\n\t\t\t\t\tconst obj = {\r\n\t\t\t\t\t\t...x,\r\n\t\t\t\t\t\texpirationDate: x.expirationDate == null || x.expirationDate == undefined ? '--' : new Date(x.expirationDate).toDateString()\r\n\t\t\t\t\t};\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t});\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsByCategoryLoading = false));\r\n\t}\r\n\tpublic goToRequest(itemId) {\r\n\t\tthis.$router.push(`/contracts/${itemId}/responses`);\r\n\t}\r\n\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByCategory.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsByCategory.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContractsByCategory.vue?vue&type=template&id=1fe368ec&scoped=true&\"\nimport script from \"./ContractsByCategory.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContractsByCategory.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ContractsByCategory.vue?vue&type=style&index=0&id=1fe368ec&lang=scss&scoped=true&\"\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  \"1fe368ec\",\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 { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VDataTable})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport ContractsApiService from '@/api/contracts.api';\r\nimport Toast from '@/services/toast.service';\r\nimport { ContractVM } from '@/models/contract';\r\nimport DoughnutChart from '@/views/contracts/helpers/DoughnutChart.vue';\r\nimport BarChart from '@/views/contracts/helpers/BarChart.vue';\r\nimport HorizontalBarChart from '@/views/contracts/helpers/HorizontalBarChart.vue';\r\nimport PercentageDoughnutChart from '@/views/contracts/helpers/PercentageDoughnutChart.vue';\r\nimport ContractsByOwner from '@/components/ContractsByOwner.vue';\r\nimport ContractsBySupplier from '@/components/ContractsBySupplier.vue';\r\nimport ContractsByCategory from '@/components/ContractsByCategory.vue';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tLoadingSpinner,\r\n\t\tDoughnutChart,\r\n\t\tBarChart,\r\n\t\tHorizontalBarChart,\r\n\t\tPercentageDoughnutChart,\r\n\t\tContractsByOwner,\r\n\t\tContractsBySupplier,\r\n\t\tContractsByCategory\r\n\t}\r\n})\r\nexport default class AnalyticsContractPage extends Vue {\r\n\tpublic selectedLang = '';\r\n\tpublic contractsCountByOwnerLoading = false;\r\n\tpublic contractsValueByOwnerLoading = false;\r\n\tpublic responseFunnelSeries: any[] = [];\r\n\tpublic responseFunnelLabels: any[] = [];\r\n\tpublic contractsLoading = false;\r\n\tpublic contracts: ContractVM[] = [];\r\n\tpublic ownersContractsCount: any[] = [];\r\n\tpublic totalContractsCountByOwnerSeries: any[] = [];\r\n\tpublic totalContractsCountByOwnerBarChartSeries: any[] = [];\r\n\tpublic contractsCountByOwnerDoughnutLabels: any[] = [];\r\n\tpublic contractsCostByOwnerDoughnutLabels: any[] = [];\r\n\tpublic totalContractsCostByOwnerSeries: any[] = [];\r\n\tpublic totalContractsValueByOwnerBarChartSeries: any[] = [];\r\n\tpublic totalContractsCostPercentageByOwnerSeries: any[] = [];\r\n\r\n\tpublic contractsCountBySupplierLoading = false;\r\n\tpublic contractsCountBySupplierDoughnutLabels: any[] = [];\r\n\tpublic totalContractsCountBySupplierSeries: any[] = [];\r\n\tpublic totalContractsCountBySupplierBarChartSeries: any[] = [];\r\n\r\n\tpublic contractsValueBySupplierLoading = false;\r\n\tpublic contractsCostBySupplierDoughnutLabels: any[] = [];\r\n\tpublic totalContractsCostBySupplierSeries: any[] = [];\r\n\tpublic totalContractsCostPercentageBySupplierSeries: any[] = [];\r\n\tpublic totalContractsValueBySupplierBarChartSeries: any[] = [];\r\n\r\n\tpublic contractsCountByCategoryLoading = false;\r\n\tpublic contractsCountByCategoryDoughnutLabels: any[] = [];\r\n\tpublic totalContractsCountByCategorySeries: any[] = [];\r\n\tpublic totalContractsCountByCategoryBarChartSeries: any[] = [];\r\n\r\n\tpublic contractsValueByCategoryLoading = false;\r\n\tpublic contractsCostByCategoryDoughnutLabels: any[] = [];\r\n\tpublic totalContractsCostByCategorySeries: any[] = [];\r\n\tpublic totalContractsCostPercentageByCategorySeries: any[] = [];\r\n\tpublic totalContractsValueByCategoryBarChartSeries: any[] = [];\r\n\r\n\tpublic filteredContractsByOwnerDialog = false;\r\n\tpublic contractsCountByOwnerLabelsObjects: any[] = [];\r\n\tpublic contractsCostByOwnerLabelsObjects: any[] = [];\r\n\r\n\tpublic ownerId = '';\r\n\tpublic supplierId = '';\r\n\tpublic categoryId = '';\r\n\tpublic selectedCurrencySymbol = '';\r\n\r\n\tpublic filteredContractsBySupplierDialog = false;\r\n\tpublic contractsCountBySupplierLabelsObjects: any[] = [];\r\n\tpublic contractsCostBySupplierLabelsObjects: any[] = [];\r\n\r\n\tpublic filteredContractsByCategoryDialog = false;\r\n\tpublic contractsCountByCategoryLabelsObjects: any[] = [];\r\n\tpublic contractsCostByCategoryLabelsObjects: any[] = [];\r\n\r\n\tpublic locales = [\r\n\t\t{ code: 'en', name: 'English' },\r\n\t\t{ code: 'fr', name: 'Français' },\r\n\t\t{ code: 'ar', name: 'العربية' }\r\n\t];\r\n\r\n\tpublic async created() {\r\n        const res = await ContractsApiService.getCurrency();\r\n        if (res.currency) {\r\n            this.selectedCurrencySymbol = res.currency.symbol;\r\n        }\r\n        this.loadNumberOfContractsByOwnerDoughnutChart();\r\n        this.loadCostOfContractsByOwnerDoughnutChart();\r\n        this.loadNumberOfContractsBySupplierCharts();\r\n        this.loadCostOfContractsBySupplier();\r\n        this.loadNumberOfContractsByCategoryCharts();\r\n        this.loadCostOfContractsByCategory();\r\n        this.selectedLang = localStorage.getItem('locale') || 'en';\r\n    }\r\n\r\n\tpublic changeLang() {\r\n\t\tlocalStorage.setItem('locale', this.selectedLang);\r\n\t\tlocation.reload();\r\n\t}\r\n\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t//#region Contracts By Owner\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\tprivate loadNumberOfContractsByOwnerDoughnutChart() {\r\n\t\tthis.contractsCountByOwnerLoading = true;\r\n\t\tContractsApiService.getContractsCountByOwner()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCountByOwnerLabelsAndSeries(res.contractsCountByOwner);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsCountByOwnerLoading = false));\r\n\t}\r\n\tpublic fillContractsCountByOwnerLabelsAndSeries(ownersContractsCount) {\r\n\t\tconst ownersContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < ownersContractsCount.length; i++) {\r\n\t\t\tif (ownersContractsCount[i] != null) {\r\n\t\t\t\tthis.contractsCountByOwnerDoughnutLabels.push(\r\n\t\t\t\t\townersContractsCount[i].owner\r\n\t\t\t\t);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCountByOwnerLabelsObjects.push(ownersContractsCount[i]);\r\n\r\n\t\t\t\tthis.totalContractsCountByOwnerSeries.push(\r\n\t\t\t\t\townersContractsCount[i].contractCountPercentage\r\n\t\t\t\t);\r\n\t\t\t\townersContractsSeries.push(ownersContractsCount[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsCountByOwnerBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Number of Contracts',\r\n\t\t\t\tdata: ownersContractsSeries.map(x => x.contractCount)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tprivate loadCostOfContractsByOwnerDoughnutChart() {\r\n\t\tthis.contractsValueByOwnerLoading = true;\r\n\t\tContractsApiService.getContractsValueByOwner()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCostByOwnerLabelsAndSeries(res.contractsValueByOwner);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsValueByOwnerLoading = false));\r\n\t}\r\n\tpublic fillContractsCostByOwnerLabelsAndSeries(ownersContractsCost) {\r\n\t\tconst ownersContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < ownersContractsCost.length; i++) {\r\n\t\t\tif (ownersContractsCost[i] != null) {\r\n\t\t\t\tthis.contractsCostByOwnerDoughnutLabels.push(ownersContractsCost[i].owner);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCostByOwnerLabelsObjects.push(ownersContractsCost[i]);\r\n\r\n\t\t\t\tthis.totalContractsCostByOwnerSeries.push(\r\n\t\t\t\t\townersContractsCost[i].ownerContractsValue\r\n\t\t\t\t);\r\n\t\t\t\tthis.totalContractsCostPercentageByOwnerSeries.push(\r\n\t\t\t\t\townersContractsCost[i].ownerContractsValuePercentage\r\n\t\t\t\t);\r\n\t\t\t\townersContractsSeries.push(ownersContractsCost[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsValueByOwnerBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Cost of contracts',\r\n\t\t\t\tdata: ownersContractsSeries.map(x => x.ownerContractsValue)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\t//#region Open and Close Contracts by Owner dialog\r\n\tpublic openFilteredContractsDialog() {\r\n\t\tthis.filteredContractsByOwnerDialog = true;\r\n\t}\r\n\tpublic closeFilteredOwnerContractsDialog() {\r\n\t\tthis.filteredContractsByOwnerDialog = false;\r\n\t}\r\n\t//#endregion\r\n\r\n\t//Owner Count Filter Method on chart click\r\n\tpublic filterContractsCountByOwner(labelName, index) {\r\n\t\tthis.ownerId = this.contractsCountByOwnerLabelsObjects[index].ownerId;\r\n\t\tthis.openFilteredContractsDialog();\r\n\t}\r\n\t//Owner Cost Filter Method on chart click\r\n\tpublic filterContractsCostByOwner(labelName, index) {\r\n\t\tthis.ownerId = this.contractsCostByOwnerLabelsObjects[index].ownerId;\r\n\t\tthis.openFilteredContractsDialog();\r\n\t}\r\n\r\n\t//#endregion\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t//#region Contracts by Supplier\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n\tprivate loadNumberOfContractsBySupplierCharts() {\r\n\t\tthis.contractsCountBySupplierLoading = true;\r\n\t\tContractsApiService.getContractsCountBySupplier()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCountBySupplierLabelsAndSeries(\r\n\t\t\t\t\tres.contractsCountBySupplier\r\n\t\t\t\t);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsCountBySupplierLoading = false));\r\n\t}\r\n\tpublic fillContractsCountBySupplierLabelsAndSeries(suppliersContractsCount) {\r\n\t\tconst suppliersContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < suppliersContractsCount.length; i++) {\r\n\t\t\tif (suppliersContractsCount[i] != null) {\r\n\t\t\t\tthis.contractsCountBySupplierDoughnutLabels.push(\r\n\t\t\t\t\tsuppliersContractsCount[i].supplier\r\n\t\t\t\t);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCountBySupplierLabelsObjects.push(suppliersContractsCount[i]);\r\n\r\n\t\t\t\tthis.totalContractsCountBySupplierSeries.push(\r\n\t\t\t\t\tsuppliersContractsCount[i].contractCountPercentage\r\n\t\t\t\t);\r\n\t\t\t\tsuppliersContractsSeries.push(suppliersContractsCount[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsCountBySupplierBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Number of Contracts',\r\n\t\t\t\tdata: suppliersContractsSeries.map(x => x.contractCount)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tprivate loadCostOfContractsBySupplier() {\r\n\t\tthis.contractsValueBySupplierLoading = true;\r\n\t\tContractsApiService.getContractsValueBySupplier()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCostBySupplierLabelsAndSeries(\r\n\t\t\t\t\tres.contractsValueBySupplier\r\n\t\t\t\t);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsValueBySupplierLoading = false));\r\n\t}\r\n\tpublic fillContractsCostBySupplierLabelsAndSeries(suppliersContractsCost) {\r\n\t\tconst suppliersContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < suppliersContractsCost.length; i++) {\r\n\t\t\tif (suppliersContractsCost[i] != null) {\r\n\t\t\t\tthis.contractsCostBySupplierDoughnutLabels.push(\r\n\t\t\t\t\tsuppliersContractsCost[i].supplier\r\n\t\t\t\t);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCostBySupplierLabelsObjects.push(suppliersContractsCost[i]);\r\n\r\n\t\t\t\tthis.totalContractsCostBySupplierSeries.push(\r\n\t\t\t\t\tsuppliersContractsCost[i].contractsValue\r\n\t\t\t\t);\r\n\t\t\t\tthis.totalContractsCostPercentageBySupplierSeries.push(\r\n\t\t\t\t\tsuppliersContractsCost[i].contractsValuePercentage\r\n\t\t\t\t);\r\n\t\t\t\tsuppliersContractsSeries.push(suppliersContractsCost[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsValueBySupplierBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Cost of contracts',\r\n\t\t\t\tdata: suppliersContractsSeries.map(x => x.contractsValue)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\t//#region Open and Close Contracts by Supplier dialog\r\n\tpublic openFilteredSupplierContractsDialog() {\r\n\t\tthis.filteredContractsBySupplierDialog = true;\r\n\t}\r\n\tpublic closeFilteredSupplierContractsDialog() {\r\n\t\tthis.filteredContractsBySupplierDialog = false;\r\n\t}\r\n\t//#endregion\r\n\r\n\t//Supplier Count Filter Method on chart click\r\n\tpublic filterContractsCountBySupplier(labelName, index) {\r\n\t\tthis.supplierId = this.contractsCountBySupplierLabelsObjects[\r\n\t\t\tindex\r\n\t\t].supplierId;\r\n\t\tthis.openFilteredSupplierContractsDialog();\r\n\t}\r\n\r\n\t//Supplier Cost Filter Method on chart click\r\n\tpublic filterContractsCostBySupplier(labelName, index) {\r\n\t\tthis.supplierId = this.contractsCostBySupplierLabelsObjects[index].supplierId;\r\n\t\tthis.openFilteredSupplierContractsDialog();\r\n\t}\r\n\t//#endregion\r\n\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\t//#region Contracts by Category\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n\tprivate loadNumberOfContractsByCategoryCharts() {\r\n\t\tthis.contractsCountByCategoryLoading = true;\r\n\t\tContractsApiService.getContractsCountByCategory()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCountByCategoryLabelsAndSeries(\r\n\t\t\t\t\tres.contractsCountByCategory\r\n\t\t\t\t);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsCountByCategoryLoading = false));\r\n\t}\r\n\tpublic fillContractsCountByCategoryLabelsAndSeries(CategoriesContractsCount) {\r\n\t\tconst CategoriesContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < CategoriesContractsCount.length; i++) {\r\n\t\t\tif (CategoriesContractsCount[i] != null) {\r\n\t\t\t\tthis.contractsCountByCategoryDoughnutLabels.push(\r\n\t\t\t\t\tCategoriesContractsCount[i].category\r\n\t\t\t\t);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCountByCategoryLabelsObjects.push(\r\n\t\t\t\t\tCategoriesContractsCount[i]\r\n\t\t\t\t);\r\n\r\n\t\t\t\tthis.totalContractsCountByCategorySeries.push(\r\n\t\t\t\t\tCategoriesContractsCount[i].contractCountPercentage\r\n\t\t\t\t);\r\n\t\t\t\tCategoriesContractsSeries.push(CategoriesContractsCount[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsCountByCategoryBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Number of Contracts',\r\n\t\t\t\tdata: CategoriesContractsSeries.map(x => x.contractCount)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\tprivate loadCostOfContractsByCategory() {\r\n\t\tthis.contractsValueByCategoryLoading = true;\r\n\t\tContractsApiService.getContractsValueByCategory()\r\n\t\t\t.then(res => {\r\n\t\t\t\tthis.fillContractsCostByCategoryLabelsAndSeries(\r\n\t\t\t\t\tres.contractsValueByCategory\r\n\t\t\t\t);\r\n\t\t\t})\r\n\t\t\t.catch(err => Toast.error(err))\r\n\t\t\t.finally(() => (this.contractsValueByCategoryLoading = false));\r\n\t}\r\n\tpublic fillContractsCostByCategoryLabelsAndSeries(CategoriesContractsCost) {\r\n\t\tconst CategoriesContractsSeries: any[] = [];\r\n\t\tfor (let i = 0; i < CategoriesContractsCost.length; i++) {\r\n\t\t\tif (CategoriesContractsCost[i] != null) {\r\n\t\t\t\tthis.contractsCostByCategoryDoughnutLabels.push(\r\n\t\t\t\t\tCategoriesContractsCost[i].category\r\n\t\t\t\t);\r\n\t\t\t\t//Using this array to track the index and fetch data on chart click\r\n\t\t\t\tthis.contractsCostByCategoryLabelsObjects.push(CategoriesContractsCost[i]);\r\n\r\n\t\t\t\tthis.totalContractsCostByCategorySeries.push(\r\n\t\t\t\t\tCategoriesContractsCost[i].contractsValue\r\n\t\t\t\t);\r\n\t\t\t\tthis.totalContractsCostPercentageByCategorySeries.push(\r\n\t\t\t\t\tCategoriesContractsCost[i].contractsValuePercentage\r\n\t\t\t\t);\r\n\t\t\t\tCategoriesContractsSeries.push(CategoriesContractsCost[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.totalContractsValueByCategoryBarChartSeries = [\r\n\t\t\t{\r\n\t\t\t\tname: 'Cost of contracts',\r\n\t\t\t\tdata: CategoriesContractsSeries.map(x => x.contractsValue)\r\n\t\t\t}\r\n\t\t];\r\n\t}\r\n\r\n\t//#region Open and Close Contracts by Category dialog\r\n\tpublic openFilteredCategoryContractsDialog() {\r\n\t\tthis.filteredContractsByCategoryDialog = true;\r\n\t}\r\n\tpublic closeFilteredCategoryContractsDialog() {\r\n\t\tthis.filteredContractsByCategoryDialog = false;\r\n\t}\r\n\t//#endregion\r\n\r\n\t//Category Count Filter Method on chart click\r\n\tpublic filterContractsCountByCategory(labelName, index) {\r\n\t\tthis.categoryId = this.contractsCountByCategoryLabelsObjects[\r\n\t\t\tindex\r\n\t\t].categoryId;\r\n\t\tthis.openFilteredCategoryContractsDialog();\r\n\t}\r\n\r\n\t//Category Cost Filter Method on chart click\r\n\tpublic filterContractsCostByCategory(labelName, index) {\r\n\t\tthis.categoryId = this.contractsCostByCategoryLabelsObjects[index].categoryId;\r\n\t\tthis.openFilteredCategoryContractsDialog();\r\n\t}\r\n\t//#endregion\r\n\t////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n}\r\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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.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/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnalyticsContractPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AnalyticsContractPage.vue?vue&type=template&id=7bd735da&scoped=true&\"\nimport script from \"./AnalyticsContractPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./AnalyticsContractPage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AnalyticsContractPage.vue?vue&type=style&index=0&id=7bd735da&lang=scss&scoped=true&\"\nimport style1 from \"./AnalyticsContractPage.vue?vue&type=style&index=1&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  \"7bd735da\",\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 { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VDialog,VRow})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsBySupplier.vue?vue&type=style&index=0&id=8c68a530&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContractsBySupplier.vue?vue&type=style&index=0&id=8c68a530&lang=scss&scoped=true&\""],"sourceRoot":""}