{"version":3,"sources":["webpack:///src/views/Crm/Companies/Companies.vue","webpack:///src/views/Crm/Dashboard.vue","webpack:///./src/views/Crm/Companies/Companies.vue","webpack:///./src/views/Crm/Dashboard.vue","webpack:///./src/views/Crm/Companies/Companies.vue?5e15","webpack:///./src/views/Crm/Companies/Companies.vue?0c54","webpack:///./src/views/Crm/Companies/Companies.vue?7ef5","webpack:///./src/views/Crm/Dashboard.vue?83fc","webpack:///./src/views/Crm/Dashboard.vue?cebd","webpack:///./src/views/Crm/Dashboard.vue?815d"],"names":["CompanyList","components","data","IndustrySplit","isLoadingLeft","isLoadingRight","isSearching","locationId","Number","$route","params","timestamp","Date","getTime","startDate","endDate","created","currentDate","getFullYear","methods","datesChanged","searchQuery","self","render","_vm","_c","_self","staticClass","attrs","title","$t","staticRenderFns","_withStripped","key"],"mappings":";;;;;;;;;;;;;;;;;;;;AAWA,IAAAA,WAAA,YAAAA,YAAA;EAAA;AAAA;AAEe;EACfC,UAAA;IACA,gBAAAD;EACA;EAEAE,IAAA,WAAAA,KAAA;IACA;EACA;AACA,CAAC,E;;;;;;;;;;;;;;;;;;;;;;;;;ACND,IAAAC,aAAA,YAAAA,cAAA;EAAA;AAAA;AAEe;EACfF,UAAA;IACA,kBAAAE;EACA;EAEAD,IAAA,WAAAA,KAAA;IACA;MACAE,aAAA;MACAC,cAAA;MACAC,WAAA;MACAC,UAAA,EAAAC,MAAA,MAAAC,MAAA,CAAAC,MAAA,CAAAH,UAAA;MACA;MACAI,SAAA,MAAAC,IAAA,GAAAC,OAAA;MAEAC,SAAA,MAAAF,IAAA;MACAG,OAAA,MAAAH,IAAA;IACA;EACA;EAEAI,OAAA,WAAAA,QAAA;IACA,IAAAC,WAAA,OAAAL,IAAA;IACA,KAAAE,SAAA,OAAAF,IAAA,CAAAK,WAAA,CAAAC,WAAA;IACA,KAAAH,OAAA,OAAAH,IAAA,CAAAK,WAAA,CAAAC,WAAA;EACA;EAEAC,OAAA;IACAC,YAAA,WAAAA,aAAAC,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ES,GAAG,CAACT,OAAO;MACpBR,UAAU,EAAEiB,GAAG,CAACjB,UAAU;MAC1BO,SAAS,EAAEU,GAAG,CAACV;IACjB;EACF,CAAC,CAAC,CACH,EACD,CACF,CAAC,CACF,CAAC;AACJ,CAAC;AACD,IAAIiB,eAAe,GAAG,EAAE;AACxBR,MAAM,CAACS,aAAa,GAAG,IAAI;;;;;;;;;;;;;;ACvB3B;AAAA;AAAA;AAAA;AAAuF;AAC3B;AACL;;;AAGvD;AACgG;AAChG,gBAAgB,mHAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;;ACtCf;AAA6S,CAAgB,2UAAG,EAAC,C;;;;;;;;;;;;;ACAjU;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAuF;AAC3B;AACL;;;AAGvD;AAC6F;AAC7F,gBAAgB,mHAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,2FAAM;AACR,EAAE,oGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;;ACtCf;AAAiS,CAAgB,2UAAG,EAAC,C;;;;;;;;;;;;;ACArT;AAAA;AAAA;AAAA;AAAA","file":"js/crm-companies.js?id=cbaa85523ff2d0d30300","sourcesContent":["<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","<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","var render = function render() {\n  var _vm = this,\n    _c = _vm._self._c\n  return _c(\"div\", { staticClass: \"section\" }, [\n    _c(\n      \"div\",\n      { staticClass: \"container\" },\n      [\n        _c(\"ui-page-hero\", {\n          attrs: { title: _vm.$t(\"Views.Crm.Companies.Companies.Main_Title\") },\n        }),\n        _c(\"company-list\"),\n      ],\n      1\n    ),\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","var render = function render() {\n  var _vm = this,\n    _c = _vm._self._c\n  return _c(\"div\", { staticClass: \"section\" }, [\n    _c(\n      \"div\",\n      { staticClass: \"container\" },\n      [\n        _c(\"ui-page-hero\", { attrs: { title: \"CRM Dashboard\" } }),\n        _c(\"industry-split\", {\n          key: \"is\" + _vm.timestamp,\n          attrs: {\n            endDate: _vm.endDate,\n            locationId: _vm.locationId,\n            startDate: _vm.startDate,\n          },\n        }),\n      ],\n      1\n    ),\n  ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Companies.vue?vue&type=template&id=3c856c6c\"\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\n/* hot reload */\nif (module.hot) {\n  var api = require(\"/github/workspace/node_modules/vue-hot-reload-api/dist/index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!api.isRecorded('3c856c6c')) {\n      api.createRecord('3c856c6c', component.options)\n    } else {\n      api.reload('3c856c6c', component.options)\n    }\n    module.hot.accept(\"./Companies.vue?vue&type=template&id=3c856c6c\", function () {\n      api.rerender('3c856c6c', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"src/views/Crm/Companies/Companies.vue\"\nexport default component.exports","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../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/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 * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"381a4baa-vue-loader-template\\\"}!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Companies.vue?vue&type=template&id=3c856c6c\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=50a83b8e\"\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\n/* hot reload */\nif (module.hot) {\n  var api = require(\"/github/workspace/node_modules/vue-hot-reload-api/dist/index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!api.isRecorded('50a83b8e')) {\n      api.createRecord('50a83b8e', component.options)\n    } else {\n      api.reload('50a83b8e', component.options)\n    }\n    module.hot.accept(\"./Dashboard.vue?vue&type=template&id=50a83b8e\", function () {\n      api.rerender('50a83b8e', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"src/views/Crm/Dashboard.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../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/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 * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"381a4baa-vue-loader-template\\\"}!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=template&id=50a83b8e\""],"sourceRoot":""}