{"version":3,"sources":["webpack:///./src/views/Crm/Dashboard.vue","webpack:///src/views/Crm/Dashboard.vue","webpack:///./src/views/Crm/Dashboard.vue?1eba","webpack:///./src/views/Crm/Dashboard.vue?83fc","webpack:///./src/views/Crm/Companies/Companies.vue","webpack:///src/views/Crm/Companies/Companies.vue","webpack:///./src/views/Crm/Companies/Companies.vue?908b","webpack:///./src/views/Crm/Companies/Companies.vue?5e15"],"names":["render","_vm","this","_c","_self","staticClass","attrs","key","timestamp","endDate","locationId","startDate","staticRenderFns","IndustrySplit","components","data","isLoadingLeft","isLoadingRight","isSearching","Number","$route","params","Date","getTime","created","currentDate","getFullYear","methods","datesChanged","searchQuery","self","component","$t","CompanyList"],"mappings":"sHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQ,mBAAmBH,EAAG,iBAAiB,CAACI,IAAI,KAAON,EAAIO,UAAUF,MAAM,CAAC,QAAUL,EAAIQ,QAAQ,WAAaR,EAAIS,WAAW,UAAYT,EAAIU,cAAc,MAE/TC,EAAkB,GCatBC,G,wCAAA,yGAEe,GACfC,WAAA,CACA,iBAAAD,GAGAE,KAAA,WACA,OACAC,eAAA,EACAC,gBAAA,EACAC,aAAA,EACAR,WAAAS,OAAA,KAAAC,OAAAC,OAAAX,YAEAF,WAAA,IAAAc,MAAAC,UAEAZ,UAAA,IAAAW,KACAb,QAAA,IAAAa,OAIAE,QAAA,WACA,IAAAC,EAAA,IAAAH,KACA,KAAAX,UAAA,IAAAW,KAAAG,EAAAC,cAAA,KACA,KAAAjB,QAAA,IAAAa,KAAAG,EAAAC,cAAA,QAGAC,QAAA,CACAC,aAAA,SAAAC,GACA,IAAAC,EAAA,KAWAA,EAAAtB,WAAA,IAAAc,MAAAC,aCvDiW,I,YCO7VQ,EAAY,eACd,EACA/B,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E,kDClBf,IAAI/B,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,eAAe,CAACG,MAAM,CAAC,MAAQL,EAAI+B,GAAG,+CAA+C7B,EAAG,iBAAiB,MAEjPS,EAAkB,GCStBqB,G,8BAAA,oEAEe,GACfnB,WAAA,CACA,eAAAmB,GAGAlB,KAAA,WACA,WCnBgX,I,YCO5WgB,EAAY,eACd,EACA/B,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAmB,E","file":"js/crm-companies.js?id=4e96178d6a9819ce50ad","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section\"},[_c('div',{staticClass:\"container\"},[_c('ui-page-hero',{attrs:{\"title\":\"CRM Dashboard\"}}),_c('industry-split',{key:'is' + _vm.timestamp,attrs:{\"endDate\":_vm.endDate,\"locationId\":_vm.locationId,\"startDate\":_vm.startDate}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"section\">\n    <div class=\"container\">\n      <ui-page-hero title=\"CRM Dashboard\" />\n      <industry-split\n        :endDate=\"endDate\"\n        :locationId=\"locationId\"\n        :startDate=\"startDate\"\n        :key=\"'is' + timestamp\"\n      />\n    </div>\n  </div>\n</template>\n\n<script>\nconst IndustrySplit = () => import('@/components/Dashboards/IndustrySplit')\n\nexport default {\n  components: {\n    'industry-split': IndustrySplit,\n  },\n\n  data() {\n    return {\n      isLoadingLeft: false,\n      isLoadingRight: false,\n      isSearching: false,\n      locationId: Number(this.$route.params.locationId),\n      //pageState: this.$store.getters.getInvoicesPageState,\n      timestamp: new Date().getTime(),\n\n      startDate: new Date(),\n      endDate: new Date(),\n    }\n  },\n\n  created() {\n    let currentDate = new Date()\n    this.startDate = new Date(currentDate.getFullYear(), 0, 1)\n    this.endDate = new Date(currentDate.getFullYear(), 11, 31)\n  },\n\n  methods: {\n    datesChanged(searchQuery) {\n      let self = this\n      // self.pageState.invoices = [];\n      // self.pageState.reservations = [];\n      // self.pageState.page = 1;\n      // self.pageState.reachedEnd = false;\n\n      // self.pageState.startDate = searchQuery.startDate;\n      // self.pageState.endDate = searchQuery.endDate;\n\n      // self.$store.commit(\"setInvoicesPageState\", self.pageState);\n\n      self.timestamp = new Date().getTime()\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=1c55bb0b\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js\"\nexport * from \"./Dashboard.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"section\"},[_c('div',{staticClass:\"container\"},[_c('ui-page-hero',{attrs:{\"title\":_vm.$t('Views.Crm.Companies.Companies.Main_Title')}}),_c('company-list')],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"section\">\n    <div class=\"container\">\n      <ui-page-hero :title=\"$t('Views.Crm.Companies.Companies.Main_Title')\" />\n\n      <company-list></company-list>\n    </div>\n  </div>\n</template>\n\n<script>\nconst CompanyList = () => import(\"@/components/Companies/CompanyList\");\n\nexport default {\n  components: {\n    \"company-list\": CompanyList\n  },\n\n  data() {\n    return {};\n  }\n};\n</script>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Companies.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Companies.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Companies.vue?vue&type=template&id=eaf31316\"\nimport script from \"./Companies.vue?vue&type=script&lang=js\"\nexport * from \"./Companies.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"],"sourceRoot":""}