{"version":3,"sources":["webpack:///./src/components/LoadQuoteSteps/LoadQuote.js","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?8bbd","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCustomerStep.vue?0b5c","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteSteps.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteCreateStep.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteService.js","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteAssign.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/columns.js","webpack:///src/views/booking/components/LoadQuoteSteps/LoadQuoteAssign.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteAssign.vue?e879","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteAssign.vue?997e","webpack:///src/views/booking/components/LoadQuoteSteps/LoadQuoteCreateStep.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?2dde","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?49fa","webpack:///src/views/booking/components/LoadQuoteSteps/LoadQuoteSteps.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteSteps.vue?d889","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteSteps.vue?9658","webpack:///./src/components/LoadQuoteSteps/LoadQuoteInsurerStep.vue?fc9b","webpack:///./src/components/LoadQuoteSteps/LoadQuoteModal.vue","webpack:///src/components/LoadQuoteSteps/LoadQuoteModal.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteModal.vue?37fe","webpack:///./src/components/LoadQuoteSteps/LoadQuoteModal.vue?7b6b","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteModal.vue","webpack:///src/views/booking/components/LoadQuoteSteps/LoadQuoteModal.vue","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteModal.vue?c0ee","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteModal.vue?6f6f","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?db10","webpack:///./src/components/LoadQuoteSteps/LoadQuoteModal.vue?252b","webpack:///./src/views/booking/components/LoadQuoteSteps/LoadQuoteModal.vue?78f3","webpack:///./src/components/LoadQuoteSteps/LoadQuoteSteps.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCreateStep.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteAssign.vue","webpack:///./src/components/LoadQuoteSteps/columns.js","webpack:///src/components/LoadQuoteSteps/LoadQuoteAssign.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteAssign.vue?6fbb","webpack:///./src/components/LoadQuoteSteps/LoadQuoteAssign.vue?9ab5","webpack:///src/components/LoadQuoteSteps/LoadQuoteCreateStep.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?e4d8","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCreateStep.vue?d7e9","webpack:///./src/components/LoadQuoteSteps/LoadQuoteInsurerStep.vue","webpack:///src/components/LoadQuoteSteps/LoadQuoteInsurerStep.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteInsurerStep.vue?8903","webpack:///./src/components/LoadQuoteSteps/LoadQuoteInsurerStep.vue?a2bd","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCustomerStep.vue","webpack:///src/components/LoadQuoteSteps/LoadQuoteCustomerStep.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCustomerStep.vue?d930","webpack:///./src/components/LoadQuoteSteps/LoadQuoteCustomerStep.vue?63e0","webpack:///./src/components/LoadQuoteSteps/LoadQuoteVehicleStep.vue","webpack:///src/components/LoadQuoteSteps/LoadQuoteVehicleStep.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteVehicleStep.vue?12c8","webpack:///./src/components/LoadQuoteSteps/LoadQuoteVehicleStep.vue?3156","webpack:///src/components/LoadQuoteSteps/LoadQuoteSteps.vue","webpack:///./src/components/LoadQuoteSteps/LoadQuoteSteps.vue?d692","webpack:///./src/components/LoadQuoteSteps/LoadQuoteSteps.vue?8568"],"names":["module","exports","CustomerOptionTypes","Create","Overwrite","Reuse","KeepExisting","Steps","CreateAssign","id","enabled","SelectInsurer","UpdateCustomer","OverwriteVehicle","GotoQuote","render","_vm","this","_c","_self","directives","name","rawName","value","currentStep","steps","expression","staticClass","attrs","ecomType","model","callback","$$v","staticRenderFns","innerValue","isCreateQuote","domProps","_q","on","$event","$set","_v","toLowerCase","_e","regoNo","quoteNo","class","validQuoteNo","target","composing","searchQuote","$v","loadOptions","quoteId","$dirty","quoteIsAuthorised","checkingQuoteIsAuthorised","_m","getQuoteIdByNo","FqApi","get","result","data","getQuoteSummaries","rego","claimno","isrepx","undefined","url","searchTextField","type","indexOf","_k","keyCode","key","filterQuotes","columns","filter","pageIndex","pageSize","totalRows","isTableLoading","sortColumn","sortOrder","onPageChange","sort","_l","entitySummaries","entity","index","selectedRow","highlightSelected","_s","quoteNoRef","make","claimNo","jobStageText","slot","invalidQuoteId","QuoteColumns","TableColumn","inject","components","BulmaTable","props","default","computed","watch","created","mounted","methods","event","getEntitySummaries","LoadQuoteService","console","search","component","LoadQuoteAssign","FocusInserted","handler","deep","checkQuoteAuthority","PnetMessageService","pnetQuote","LoadQuoteCreateStep","enableEcomTypeSelection","isActive","animationIn","animationOut","animationDuration","showIcon","iconType","staticStyle","iconName","_t","style","buttonLocation","previousDisabled","previous","nextDisabled","next","continueDisabled","load","close","BaseModalEx","active","mapGetters","buttonCSS","insurerName","InsurerColumns","title","sortable","defaultOrder","align","CustomerColumns","length","innerEcomType","$$selectedVal","Array","prototype","call","options","o","selected","map","val","_value","multiple","ecomTypeEnum","ORM","PNET","innerInsurerName","handleSearch","messageId","repairerId","quotingMethod","insurerId","$error","toUpperCase","customerOption","optionTypes","isPerson","firstname","assetExists","lastname","customerName","customerExists","setCustomerId","fullName","streetName","suburb","invalidCustomerId","existingCustomerId","full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,YCtIsW,ICOlW,EAAY,eACd,EACA/F,EACAkB,GACA,EACA,KACA,KACA,MAIa,e","file":"static/js/loadquotesteps.31bafe36.js","sourcesContent":["module.exports.CustomerOptionTypes = {\n  Create: 'create',\n  Overwrite: 'overwrite',\n  Reuse: 'reuse',\n  KeepExisting: 'keepexisting'\n}\n\n// module.exports.Steps = {\n//   CreateAssign: 1,\n//   SelectInsurer: 2,\n//   UpdateCustomer: 3,\n//   OverwriteVehicle: 4,\n//   GotoQuote: 5\n// }\n\nmodule.exports.Steps = {\n  CreateAssign: { id: 1, enabled: true },\n  SelectInsurer: { id: 2, enabled: true },\n  UpdateCustomer: { id: 3, enabled: true },\n  OverwriteVehicle: { id: 4, enabled: true },\n  GotoQuote: { id: 5, enabled: true }\n}\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteCreateStep.vue?vue&type=style&index=0&id=f772063e&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteCustomerStep.vue?vue&type=style&index=0&id=5ad9d95d&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentStep === _vm.steps.CreateAssign.id),expression:\"currentStep === steps.CreateAssign.id\"}],staticClass:\"box\"},[_c('load-quote-create-step',{attrs:{\"ecom-type\":_vm.ecomType},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isCreateQuote),expression:\"innerValue.isCreateQuote\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"create\",\"type\":\"radio\",\"name\":\"create\"},domProps:{\"value\":true,\"checked\":_vm._q(_vm.innerValue.isCreateQuote,true)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isCreateQuote\", true)}}}),_c('label',{attrs:{\"for\":\"create\"}},[_vm._v(\"Create New Quote\")])])]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isCreateQuote),expression:\"innerValue.isCreateQuote\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"assign\",\"type\":\"radio\",\"name\":\"assign\"},domProps:{\"value\":false,\"checked\":_vm._q(_vm.innerValue.isCreateQuote,false)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isCreateQuote\", false)}}}),_c('label',{attrs:{\"for\":\"assign\"}},[_vm._v(\"Assign Quote\")])])]),((_vm.ecomType.toLowerCase() === 'orm' || _vm.ecomType.toLowerCase() === 'audanet') && !_vm.innerValue.isCreateQuote)?_c('div',[_c('load-quote-assign',{attrs:{\"rego-no\":_vm.value.regoNo,\"ecom-type\":_vm.ecomType},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1):_vm._e(),(_vm.ecomType === 'pnet' && !_vm.innerValue.isCreateQuote)?_c('div',[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.quoteNo),expression:\"quoteNo\"},{name:\"focus-inserted\",rawName:\"v-focus-inserted\"}],staticClass:\"input is-uppercase\",class:{ 'is-danger' : !_vm.validQuoteNo },attrs:{\"placeholder\":\"Quote No.\"},domProps:{\"value\":(_vm.quoteNo)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.quoteNo=$event.target.value},_vm.searchQuote]}})]),(_vm.validQuoteNo && _vm.$v.loadOptions.quoteId.$dirty && !_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"help is-success\"},[_vm._v(\"Valid Quote No.\")]):_vm._e(),(!_vm.validQuoteNo && !_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-danger is-flex align-items-center\"},[_vm._m(0),_vm._v(\" Please enter an existing Quote No. \")]):_vm._e(),(_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-danger is-flex align-items-center\"},[_vm._m(1),_vm._v(\" This quote has been authorised already. \")]):_vm._e(),(_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-warning is-flex align-items-center\"},[_vm._m(2),_vm._v(\" Checking Quote... \")]):_vm._e()]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-20px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-20px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-warning\"},[_c('i',{staticClass:\"mdi mdi-spin mdi-loading mdi-20px\"})])\n}]\n\nexport { render, staticRenderFns }","import FqApi from '@/services/fq-api'\n\nexport default {\n  async getQuoteIdByNo(quoteNo) {\n    const result = await FqApi.get(`quotes/quoteidbyno?quoteNo=${quoteNo}`)\n    return result.data\n  },\n  async getQuoteSummaries(rego, claimno, isrepx) {\n    //const url = `/quotes/loadquote/quotelist?rego=${rego}&claimmo=${claimno}`\n    if (isrepx == undefined || isrepx == null) isrepx = false\n    const url = `/quotes/assignquote/${rego}/${claimno}/${isrepx}`\n    const result = await FqApi.get(url)\n    return result.data\n  }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',[_c('div',{staticClass:\"columns\"},[_c('label',{staticClass:\"column label\"},[_vm._v(\"Select from Below\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchTextField),expression:\"searchTextField\"}],staticClass:\"column input is-pulled-right is-hidden\",attrs:{\"type\":\"text\",\"placeholder\":\"Search\"},domProps:{\"value\":(_vm.searchTextField)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.filterQuotes()},\"input\":function($event){if($event.target.composing)return;_vm.searchTextField=$event.target.value}}})]),_c('bulma-table',{staticClass:\"table is-bordered is-striped is-narrow is-fullwidth\",attrs:{\"columns\":_vm.columns,\"page-index\":_vm.filter.pageIndex,\"page-size\":_vm.filter.pageSize,\"total-rows\":_vm.totalRows,\"is-loading\":_vm.isTableLoading,\"sort-column\":_vm.filter.sortColumn,\"sort-order\":_vm.filter.sortOrder,\"show-pagination\":false},on:{\"pageChanged\":_vm.onPageChange,\"sort\":_vm.sort}},[_vm._l((_vm.entitySummaries),function(entity,index){return _c('tr',{key:entity.quoteNo,class:{ 'is-selected' : _vm.selectedRow === index },on:{\"click\":function($event){return _vm.highlightSelected(index, $event)}}},[_c('td',[_vm._v(\" \"+_vm._s(entity.quoteNoRef)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.regoNo)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.make)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.model)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.claimNo)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.jobStageText)+\" \")])])}),_c('template',{slot:\"empty\"},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-grey has-text-centered\"},[_c('span',{attrs:{\"icon\":\"icon is-large\"}},[_c('i',{staticClass:\"mdi mdi-48px mdi-emoticon-sad\"})]),_c('p',[_vm._v(\"Nothing\")])])])])],2)],1),(_vm.invalidQuoteId)?_c('span',{staticClass:\"has-text-danger\"},[_vm._m(0),_vm._v(\" Please select a quote before continuing. \")]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-24px\"})])\n}]\n\nexport { render, staticRenderFns }","import { TableColumn } from '@/classes'\n\nconst QuoteColumns = [\n  new TableColumn('Quote No.', 'quoteNoRef', true, 'asc', 'left'),\n  new TableColumn('Rego', 'regoNo', true, 'asc', 'left'),\n  new TableColumn('Make', 'make', true, 'asc', 'left'),\n  new TableColumn('Model', 'model', true, 'asc', 'left'),\n  new TableColumn('Claim No.', 'claimNo', true, 'asc', 'left'),\n  new TableColumn('Job Stage', 'jobStageText', true, 'asc', 'left')\n]\n\nexport { QuoteColumns }\n","<template>\n  <div>\n    <div>\n      <div class=\"columns\">\n        <label class=\"column label\">Select from Below</label>\n        <input\n          class=\"column input is-pulled-right is-hidden\"\n          type=\"text\"\n          placeholder=\"Search\"\n          v-model=\"searchTextField\"\n          @keyup.enter=\"filterQuotes()\">\n      </div>\n      <bulma-table class=\"table is-bordered is-striped is-narrow is-fullwidth\"\n        :columns=\"columns\"\n        :page-index=\"filter.pageIndex\"\n        :page-size=\"filter.pageSize\"\n        :total-rows=\"totalRows\"\n        :is-loading=\"isTableLoading\"\n        :sort-column=\"filter.sortColumn\"\n        :sort-order=\"filter.sortOrder\"\n        @pageChanged=\"onPageChange\"\n        :show-pagination=\"false\"\n        @sort=\"sort\">\n        <tr v-for=\"(entity, index) in entitySummaries\"\n          :key=\"entity.quoteNo\"\n          :class=\"{ 'is-selected' : selectedRow === index }\"\n          @click=\"highlightSelected(index, $event)\">\n          <td>\n            {{ entity.quoteNoRef }}\n          </td>\n          <td>\n            {{ entity.regoNo }}\n          </td>\n          <td>\n            {{ entity.make }}\n          </td>\n          <td>\n            {{ entity.model }}\n          </td>\n          <td>\n            {{ entity.claimNo }}\n          </td>\n          <td>\n            {{ entity.jobStageText }}\n          </td>\n        </tr>\n        <template slot=\"empty\">\n          <section class=\"section\">\n            <div class=\"content has-text-grey has-text-centered\">\n              <span icon=\"icon is-large\">\n                <i class=\"mdi mdi-48px mdi-emoticon-sad\" />\n              </span>\n              <p>Nothing</p>\n            </div>\n          </section>\n        </template>\n      </bulma-table>\n    </div>\n    <span class=\"has-text-danger\"\n      v-if=\"invalidQuoteId\">\n      <span class=\"icon has-text-danger\">\n        <i class=\"mdi mdi-alert-octagram mdi-24px\" />\n      </span>\n      Please select a quote before continuing.\n    </span>\n  </div>\n</template>\n\n<script>\nimport BulmaTable from '@/components/BulmaTable'\nimport LoadQuoteService from './LoadQuoteService'\nimport { QuoteColumns } from './columns'\n\nexport default {\n  name: 'LoadQuoteAssign',\n  inject: ['$vv'],\n  components: {\n    BulmaTable\n  },\n  props: {\n    value: null,\n    ecomType: {\n      type: String\n    },\n    regoNo: {\n      type: String,\n      default: ''\n    }\n  },\n  data() {\n    return {\n      entitySummaries: null,\n      totalRows: 0,\n      selectedRow: null,\n      isTableLoading: false,\n      filter: {\n        sortColumn: '',\n        sortOrder: '',\n        pageIndex: 1,\n        pageSize: 10\n      },\n      innerValue: this.value,\n      searchTextField: null\n    }\n  },\n  computed: {\n    columns() {\n      return QuoteColumns\n    },\n    $v() {\n      return this.$vv || this.$v\n    },\n    invalidQuoteId() {\n      return this.$v.loadOptions.quoteId.$error && !this.value.isCreateQuote\n    }\n  },\n  watch: {\n    innerValue: function (newVal, oldVal) {\n      this.$emit('input', newVal)\n    }\n  },\n  created() {\n    this.getEntitySummaries()\n  },\n  mounted() {},\n  methods: {\n    highlightSelected(index, event) {\n      this.selectedRow = index\n      this.innerValue.quoteId = this.entitySummaries[index].quoteId\n      this.innerValue.customerId = this.entitySummaries[index].customerId\n      this.innerValue.originalCustomerId = this.entitySummaries[index].customerId\n      this.innerValue.vehicleId = this.entitySummaries[index].vehicleId\n      if(this.ecomType == 'audanet') {\n        this.innerValue.isAssignQuote = true\n        this.innerValue.isOverwriteQuote = true\n      }\n    },\n    onPageChange(pageIndex) {},\n    sort() {},\n    async getEntitySummaries() {\n      this.isTableLoading = true\n      this.entitySummaries = await LoadQuoteService.getQuoteSummaries(this.value.regoNo, this.value.claimNo, this.value.isRepx)\n      this.totalRows = this.entitySummaries.length > 0 ? this.entitySummaries.length : 0\n      this.isTableLoading = false\n    },\n    async filterQuotes() {\n      if (this.searchTextField != '') {\n        console.log(this.searchTextField)\n        var result = null\n        const search = this.searchTextField.toUpperCase()\n        result = this.entitySummaries.filter((x)=>{\n          const regoNo = x.regoNo && x.regoNo.toUpperCase().includes(search)\n          const claimNo = x.claimNo && x.claimNo.toUpperCase().includes(search)\n          return regoNo || claimNo\n        })\n        this.entitySummaries = result\n      }\n      else\n        this.entitySummaries = await LoadQuoteService.getQuoteSummaries(this.value.regoNo, this.value.claimNo, this.value.isRepx)\n    }\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!./LoadQuoteAssign.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!./LoadQuoteAssign.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteAssign.vue?vue&type=template&id=42b2ce36\"\nimport script from \"./LoadQuoteAssign.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteAssign.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","<template>\n  <div>\n    <div class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"create\"\n          type=\"radio\"\n          name=\"create\"\n          :value=\"true\"\n          v-model=\"innerValue.isCreateQuote\">\n        <label for=\"create\">Create New Quote</label>\n      </div>\n    </div>\n    <div\n      class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"assign\"\n          type=\"radio\"\n          name=\"assign\"\n          :value=\"false\"\n          v-model=\"innerValue.isCreateQuote\">\n        <label for=\"assign\">Assign Quote</label>\n      </div>\n    </div>\n    <div v-if=\"(ecomType.toLowerCase() === 'orm' || ecomType.toLowerCase() === 'audanet') && !innerValue.isCreateQuote\">\n      <load-quote-assign\n        v-model=\"value\"\n        :rego-no=\"value.regoNo\"\n        :ecom-type=\"ecomType\" />\n    </div>\n    <div v-if=\"ecomType === 'pnet' && !innerValue.isCreateQuote\">\n      <div class=\"control\">\n        <input class=\"input is-uppercase\"\n          :class=\"{ 'is-danger' : !validQuoteNo }\"\n          v-model=\"quoteNo\"\n          @input=\"searchQuote\"\n          placeholder=\"Quote No.\"\n          v-focus-inserted>\n      </div>\n      <span v-if=\"validQuoteNo && $v.loadOptions.quoteId.$dirty && !quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"help is-success\">Valid Quote No.</span>\n      <span v-if=\"!validQuoteNo && !quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"has-text-danger is-flex align-items-center\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-20px\" />\n        </span>\n        Please enter an existing Quote No.\n      </span>\n      <span v-if=\"quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"has-text-danger is-flex align-items-center\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-20px\" />\n        </span>\n        This quote has been authorised already.\n      </span>\n      <span v-if=\"checkingQuoteIsAuthorised\"\n        class=\"has-text-warning is-flex align-items-center\">\n        <span class=\"icon has-text-warning\">\n          <i class=\"mdi mdi-spin mdi-loading mdi-20px\" />\n        </span>\n        Checking Quote...\n      </span>\n    </div>\n  </div>\n</template>\n\n<script>\nimport Guid from '@/components/Guid'\nimport _debounce from 'lodash.debounce'\nimport LoadQuoteService from './LoadQuoteService'\nimport LoadQuoteAssign from './LoadQuoteAssign'\nimport { FocusInserted } from '@/components/directives'\nimport PnetMessageService from '@/views/pnetmessage/PnetMessageService.js'\nimport { EventHubTypes, PnetQuoteStatusTypes } from '@/enums'\n\nexport default {\n  name: 'LoadQuoteCreateStep',\n  inject: ['$vv'],\n  components: {\n    LoadQuoteAssign\n  },\n  directives: {\n    FocusInserted\n  },\n  props: {\n    value: null,\n    ecomType: {\n      type: String\n    }\n  },\n  data() {\n    return {\n      quoteNo: '',\n      innerValue: this.value,\n      quoteIsAuthorised: false,\n      checkingQuoteIsAuthorised: false\n    }\n  },\n  computed: {\n    validQuoteNo() {\n      return !this.$v.loadOptions.quoteId.$error || this.value.isCreateQuote\n    },\n    $v() {\n      return this.$vv || this.$v\n    }\n  },\n  watch: {\n    innerValue: {\n      handler: function (newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    },\n    checkingQuoteIsAuthorised: {\n      handler: function (newVal, oldVal) {\n        if (this.quoteIsAuthorised) {\n          this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, false)\n          return\n        }\n        this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, !newVal)\n      }\n    }\n  },\n  methods: {\n    searchQuote: _debounce(async function () {\n      this.$v.loadOptions.quoteId.$touch()\n      this.quoteIsAuthorised = false\n      if (!this.quoteNo) {\n        this.innerValue.quoteId = Guid.empty()\n        return\n      }\n      this.innerValue.quoteId = await LoadQuoteService.getQuoteIdByNo(this.quoteNo)\n      if (this.innerValue.quoteId !== Guid.empty()){\n        await this.checkQuoteAuthority()\n      } else {\n        this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, false)\n      }\n    }, 500),\n    async checkQuoteAuthority() {\n      try {\n        this.checkingQuoteIsAuthorised = true\n        const pnetQuote = await PnetMessageService.getQuotePnet(this.innerValue.quoteId)\n        this.quoteIsAuthorised = pnetQuote.quoteId !== Guid.empty() &&\n          pnetQuote.quoteStatusId == PnetQuoteStatusTypes.QuoteAuthorised\n      } catch (e) {\n        this.quoteIsAuthorised = false\n      } finally {\n        this.checkingQuoteIsAuthorised = false\n      }\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '../../../../assets/style/mixins/inputs/placeholder';\n\ninput.is-uppercase {\n  text-transform: uppercase;\n  @include reset-placeholder-text-transform;\n}\n</style>\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!./LoadQuoteCreateStep.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!./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteCreateStep.vue?vue&type=template&id=f772063e&scoped=true\"\nimport script from \"./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteCreateStep.vue?vue&type=style&index=0&id=f772063e&prod&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  \"f772063e\",\n  null\n  \n)\n\nexport default component.exports","<template>\n  <div>\n    <div\n      v-show=\"currentStep === steps.CreateAssign.id\"\n      class=\"box\">\n      <load-quote-create-step\n        v-model=\"value\"\n        :ecom-type=\"ecomType\" />\n    </div>\n  </div>\n</template>\n\n<script>\nimport LoadQuoteCreateStep from './LoadQuoteCreateStep'\n\nexport default {\n  name: 'LoadQuoteSteps',\n  components: {\n    LoadQuoteCreateStep\n  },\n  props: {\n    value: null,\n    currentStep: {\n      type: Number\n    },\n    steps: null,\n    ecomType: {\n      type: String\n    },\n    enableEcomTypeSelection:{\n      type: Boolean,\n      default: false\n    }\n  },\n  data() {\n    return {}\n  },\n  computed: {\n    // steps() {\n    //   return Steps\n    // }\n  },\n  watch: {\n    value: {\n      handler: function(newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    }\n  },\n  methods: {}\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!./LoadQuoteSteps.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!./LoadQuoteSteps.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteSteps.vue?vue&type=template&id=053e42d3\"\nimport script from \"./LoadQuoteSteps.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteSteps.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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteInsurerStep.vue?vue&type=style&index=0&id=31302bd4&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('base-modal-ex',{attrs:{\"active\":_vm.isActive,\"animation-in\":_vm.animationIn,\"animation-out\":_vm.animationOut,\"animation-duration\":_vm.animationDuration,\"can-cancel\":false,\"min-width\":40,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){_vm.isActive=$event}}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\",class:{ 'is-flex-items-center' : _vm.showIcon}},[(_vm.showIcon)?_c('span',{staticClass:\"icon is-medium\",class:`has-text-${_vm.iconType}`,staticStyle:{\"margin-right\":\"0.5rem\"}},[_c('i',{staticClass:\"mdi mdi-36px\",class:`${_vm.iconName}`})]):_vm._e(),_vm._t(\"text-title\")],2)]),_c('section',{staticClass:\"modal-card-body\"},[_vm._t(\"text-content\")],2),_c('footer',{staticClass:\"modal-card-foot\",style:(`justify-content: flex-${_vm.buttonLocation}`)},[_c('button',{staticClass:\"button is-success tooltip\",attrs:{\"data-tooltip\":\"Previous step\",\"disabled\":_vm.previousDisabled},on:{\"click\":function($event){return _vm.previous()}}},[_vm._v(\"Previous\")]),(!_vm.nextDisabled)?_c('button',{staticClass:\"button is-warning tooltip\",attrs:{\"data-tooltip\":\"Next step\",\"disabled\":_vm.nextDisabled},on:{\"click\":function($event){return _vm.next()}}},[_vm._v(\"Next\")]):_vm._e(),(!_vm.continueDisabled)?_c('button',{staticClass:\"button is-primary tooltip\",attrs:{\"data-tooltip\":\"Continue\"},on:{\"click\":function($event){return _vm.load()}}},[_vm._v(\"Continue\")]):_vm._e(),_c('button',{staticClass:\"button tooltip\",attrs:{\"data-tooltip\":\"Don't continue\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Close\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <base-modal-ex\n    :active.sync=\"isActive\"\n    :animation-in=\"animationIn\"\n    :animation-out=\"animationOut\"\n    :animation-duration=\"animationDuration\"\n    :can-cancel=\"false\"\n    :min-width=\"40\"\n    has-modal-card>\n    <header class=\"modal-card-head\">\n      <p\n        class=\"modal-card-title\"\n        :class=\"{ 'is-flex-items-center' : showIcon}\">\n        <span\n          v-if=\"showIcon\"\n          class=\"icon is-medium\"\n          :class=\"`has-text-${iconType}`\"\n          style=\"margin-right: 0.5rem\">\n          <i\n            class=\"mdi mdi-36px\"\n            :class=\"`${iconName}`\" />\n        </span>\n        <slot name=\"text-title\" />\n      </p>\n    </header>\n    <section class=\"modal-card-body\">\n      <slot name=\"text-content\" />\n    </section>\n    <footer\n      class=\"modal-card-foot\"\n      :style=\"`justify-content: flex-${buttonLocation}`\">\n      <button\n        class=\"button is-success tooltip\"\n        @click=\"previous()\"\n        data-tooltip=\"Previous step\"\n        :disabled=\"previousDisabled\">Previous</button>\n      <button\n        v-if=\"!nextDisabled\"\n        class=\"button is-warning tooltip\"\n        @click=\"next()\"\n        data-tooltip=\"Next step\"\n        :disabled=\"nextDisabled\">Next</button>\n      <button\n        v-if=\"!continueDisabled\"\n        class=\"button is-primary tooltip\"\n        @click=\"load()\"\n        data-tooltip=\"Continue\">Continue</button>\n      <button\n        class=\"button tooltip\"\n        @click=\"close()\"\n        data-tooltip=\"Don't continue\">Close</button>\n    </footer>\n  </base-modal-ex>\n</template>\n\n<script>\nimport { BaseModalEx } from '@/components/BulmaModal'\nimport { mapGetters } from 'vuex'\n\nexport default {\n  name: 'LoadQuoteModal',\n  components: {\n    BaseModalEx\n  },\n  props: {\n    active: {\n      type: Boolean,\n      default: false\n    },\n    animationIn: {\n      type: String,\n      default: 'zoomIn'\n    },\n    animationOut: {\n      type: String,\n      default: 'zoomOut'\n    },\n    animationDuration: {\n      type: [String, Number],\n      default: 0.3\n    },\n    buttonLocation: {\n      type: String,\n      default: 'end' // valid values 'start' & 'end'\n    },\n    showIcon: {\n      type: Boolean,\n      default: true\n    },\n    iconType: {\n      type: String,\n      default: 'warning'\n    },\n    iconName: {\n      type: String,\n      default: 'mdi-alert-decagram'\n    },\n    previousDisabled: {\n      type: Boolean,\n      default: false\n    },\n    nextDisabled: {\n      type: Boolean,\n      default: false\n    },\n    continueDisabled: {\n      type: Boolean,\n      default: true\n    }\n  },\n  data() {\n    return {\n      isActive: this.active || false\n    }\n  },\n  computed: {\n    ...mapGetters(['licenceExpired'])\n  },\n  watch: {\n    active(value) {\n      this.isActive = value\n    }\n  },\n  methods: {\n    next() {\n      this.$emit('next')\n    },\n    previous() {\n      this.$emit('previous')\n    },\n    close() {\n      this.$emit('close')\n    },\n    load() {\n      this.$emit('load')\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.is-flex-items-center {\n  display: flex;\n  align-items: center;\n}\n</style>\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!./LoadQuoteModal.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!./LoadQuoteModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteModal.vue?vue&type=template&id=c7ce1074&scoped=true\"\nimport script from \"./LoadQuoteModal.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteModal.vue?vue&type=style&index=0&id=c7ce1074&prod&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  \"c7ce1074\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('base-modal-ex',{attrs:{\"active\":_vm.isActive,\"animation-in\":_vm.animationIn,\"animation-out\":_vm.animationOut,\"animation-duration\":_vm.animationDuration,\"can-cancel\":false,\"min-width\":40,\"has-modal-card\":\"\"},on:{\"update:active\":function($event){_vm.isActive=$event}}},[_c('header',{staticClass:\"modal-card-head\"},[_c('p',{staticClass:\"modal-card-title\",class:{ 'is-flex-items-center' : _vm.showIcon}},[(_vm.showIcon)?_c('span',{staticClass:\"icon is-medium\",class:`has-text-${_vm.iconType}`,staticStyle:{\"margin-right\":\"0.5rem\"}},[_c('i',{staticClass:\"mdi mdi-36px\",class:`${_vm.iconName}`})]):_vm._e(),_vm._t(\"text-title\")],2)]),_c('section',{staticClass:\"modal-card-body\"},[_vm._t(\"text-content\")],2),_c('footer',{staticClass:\"modal-card-foot\",style:(`justify-content: flex-${_vm.buttonLocation}`)},[_c('button',{staticClass:\"button is-success tooltip is-hidden\",attrs:{\"data-tooltip\":\"Previous step\",\"disabled\":_vm.previousDisabled},on:{\"click\":function($event){return _vm.previous()}}},[_vm._v(\"Previous\")]),(!_vm.nextDisabled)?_c('button',{staticClass:\"button is-warning tooltip is-hidden\",attrs:{\"data-tooltip\":\"Next step\",\"disabled\":_vm.nextDisabled},on:{\"click\":function($event){return _vm.next()}}},[_vm._v(\"Next\")]):_vm._e(),(!_vm.continueDisabled)?_c('a',{staticClass:\"button is-primary tooltip\",attrs:{\"id\":\"convert\",\"data-tooltip\":\"Convert to quote\"},on:{\"click\":function($event){return _vm.load()}}},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-swap-horizontal mdi-18px\"})]),_c('span',[_vm._v(\"Convert\")])]):_vm._e(),(!_vm.continueDisabled)?_c('button',{staticClass:\"button is-primary tooltip is-hidden\",attrs:{\"data-tooltip\":\"Continue\"},on:{\"click\":function($event){return _vm.load()}}},[_vm._v(\"Continue\")]):_vm._e(),_c('button',{staticClass:\"button tooltip\",attrs:{\"data-tooltip\":\"Cancel\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Cancel\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <base-modal-ex\n    :active.sync=\"isActive\"\n    :animation-in=\"animationIn\"\n    :animation-out=\"animationOut\"\n    :animation-duration=\"animationDuration\"\n    :can-cancel=\"false\"\n    :min-width=\"40\"\n    has-modal-card>\n    <header class=\"modal-card-head\">\n      <p\n        class=\"modal-card-title\"\n        :class=\"{ 'is-flex-items-center' : showIcon}\">\n        <span\n          v-if=\"showIcon\"\n          class=\"icon is-medium\"\n          :class=\"`has-text-${iconType}`\"\n          style=\"margin-right: 0.5rem\">\n          <i\n            class=\"mdi mdi-36px\"\n            :class=\"`${iconName}`\" />\n        </span>\n        <slot name=\"text-title\" />\n      </p>\n    </header>\n    <section class=\"modal-card-body\">\n      <slot name=\"text-content\" />\n    </section>\n    <footer\n      class=\"modal-card-foot\"\n      :style=\"`justify-content: flex-${buttonLocation}`\">\n      <button\n        class=\"button is-success tooltip is-hidden\"\n        @click=\"previous()\"\n        data-tooltip=\"Previous step\"\n        :disabled=\"previousDisabled\">Previous</button>\n      <button\n        v-if=\"!nextDisabled\"\n        class=\"button is-warning tooltip is-hidden\"\n        @click=\"next()\"\n        data-tooltip=\"Next step\"\n        :disabled=\"nextDisabled\">Next</button>\n      <a v-if=\"!continueDisabled\"\n        id=\"convert\"\n        class=\"button is-primary tooltip\"\n        @click=\"load()\"\n        data-tooltip=\"Convert to quote\">\n        <span class=\"icon\">\n          <i class=\"mdi mdi-swap-horizontal mdi-18px\" />\n        </span>\n        <span>Convert</span>\n      </a>\n      <button\n        v-if=\"!continueDisabled\"\n        class=\"button is-primary tooltip is-hidden\"\n        @click=\"load()\"\n        data-tooltip=\"Continue\">Continue</button>\n      <button\n        class=\"button tooltip\"\n        @click=\"close()\"\n        data-tooltip=\"Cancel\">Cancel</button>\n    </footer>\n  </base-modal-ex>\n</template>\n\n<script>\nimport { BaseModalEx } from '@/components/BulmaModal'\nimport { mapGetters } from 'vuex'\n\nexport default {\n  name: 'LoadQuoteModal',\n  components: {\n    BaseModalEx\n  },\n  props: {\n    active: {\n      type: Boolean,\n      default: false\n    },\n    animationIn: {\n      type: String,\n      default: 'zoomIn'\n    },\n    animationOut: {\n      type: String,\n      default: 'zoomOut'\n    },\n    animationDuration: {\n      type: [String, Number],\n      default: 0.3\n    },\n    buttonLocation: {\n      type: String,\n      default: 'end' // valid values 'start' & 'end'\n    },\n    showIcon: {\n      type: Boolean,\n      default: true\n    },\n    iconType: {\n      type: String,\n      default: 'warning'\n    },\n    iconName: {\n      type: String,\n      default: 'mdi-alert-decagram'\n    },\n    previousDisabled: {\n      type: Boolean,\n      default: false\n    },\n    nextDisabled: {\n      type: Boolean,\n      default: false\n    },\n    continueDisabled: {\n      type: Boolean,\n      default: true\n    }\n  },\n  data() {\n    return {\n      isActive: this.active || false\n    }\n  },\n  computed: {\n    buttonCSS: function () {\n      return 'is-inverted'\n    },\n    ...mapGetters(['licenceExpired'])\n  },\n  watch: {\n    active(value) {\n      this.isActive = value\n    }\n  },\n  methods: {\n    next() {\n      this.$emit('next')\n    },\n    previous() {\n      this.$emit('previous')\n    },\n    close() {\n      this.$emit('close')\n    },\n    load() {\n      this.$emit('load')\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.is-flex-items-center {\n  display: flex;\n  align-items: center;\n}\n\n  //#convert.button {\n  //  background-color: #3291EF;\n  //  color: #FFF;\n  //  opacity: 50%;\n  //}\n</style>\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!./LoadQuoteModal.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!./LoadQuoteModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteModal.vue?vue&type=template&id=72ffb87a&scoped=true\"\nimport script from \"./LoadQuoteModal.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteModal.vue?vue&type=style&index=0&id=72ffb87a&prod&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  \"72ffb87a\",\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteCreateStep.vue?vue&type=style&index=0&id=75bfd96a&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteModal.vue?vue&type=style&index=0&id=c7ce1074&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoadQuoteModal.vue?vue&type=style&index=0&id=72ffb87a&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('ul',{staticClass:\"steps is-narrow is-centered has-content-centered\"},[_c('li',{staticClass:\"steps-segment\",class:{ 'is-active': _vm.currentStep === _vm.steps.CreateAssign.id}},[_c('a',{staticClass:\"has-text-dark\",attrs:{\"href\":\"#\"}},[_vm._m(0),_c('div',{staticClass:\"steps-content\"},[_c('p',{staticClass:\"heading\"},[_vm._v(\"Create\"+_vm._s(_vm.ecomType !== 'audanet' ? `/Assign` : '')+\" Quote\")])])])]),_c('li',{staticClass:\"steps-segment\",class:{ 'is-active': _vm.currentStep === _vm.steps.SelectInsurer.id}},[_vm._m(1)]),_c('li',{staticClass:\"steps-segment has-gaps\",class:{ 'is-active': _vm.currentStep === _vm.steps.UpdateCustomer.id}},[_vm._m(2),_vm._m(3)]),(_vm.steps.OverwriteVehicle.enabled)?_c('li',{staticClass:\"steps-segment has-gaps\",class:{ 'is-active': _vm.currentStep === _vm.steps.OverwriteVehicle.id}},[_vm._m(4),_vm._m(5)]):_vm._e()]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentStep === _vm.steps.CreateAssign.id),expression:\"currentStep === steps.CreateAssign.id\"}],staticClass:\"box\"},[_c('load-quote-create-step',{attrs:{\"ecom-type\":_vm.ecomType},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentStep === _vm.steps.SelectInsurer.id),expression:\"currentStep === steps.SelectInsurer.id\"}],staticClass:\"box\"},[_c('load-quote-insurer-step',{attrs:{\"insurer-name\":_vm.value.insurerName,\"ecom-type\":_vm.ecomType,\"enable-ecom-type-selection\":_vm.enableEcomTypeSelection},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentStep === _vm.steps.UpdateCustomer.id),expression:\"currentStep === steps.UpdateCustomer.id\"}],staticClass:\"box\"},[_c('load-quote-customer-step',{model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.currentStep === _vm.steps.OverwriteVehicle.id && _vm.steps.OverwriteVehicle.enabled),expression:\"currentStep === steps.OverwriteVehicle.id && steps.OverwriteVehicle.enabled\"}],staticClass:\"box\"},[_c('load-quote-vehicle-step',{model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"steps-marker\"},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-lead-pencil\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"has-text-dark\",attrs:{\"hef\":\"#\"}},[_c('span',{staticClass:\"steps-marker\"},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-shield-outline\"})])]),_c('div',{staticClass:\"steps-content\"},[_c('p',{staticClass:\"heading\"},[_vm._v(\"Select Insurer\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"steps-marker\"},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-account\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"steps-content\"},[_c('p',{staticClass:\"heading\"},[_vm._v(\"Update Customer\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"steps-marker\"},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-car-back\"})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"steps-content\"},[_c('p',{staticClass:\"heading\"},[_vm._v(\"Overwrite Vehicle\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isCreateQuote),expression:\"innerValue.isCreateQuote\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"create\",\"type\":\"radio\",\"name\":\"create\"},domProps:{\"value\":true,\"checked\":_vm._q(_vm.innerValue.isCreateQuote,true)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isCreateQuote\", true)}}}),_c('label',{attrs:{\"for\":\"create\"}},[_vm._v(\"Create new quote\")])])]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isCreateQuote),expression:\"innerValue.isCreateQuote\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"assign\",\"type\":\"radio\",\"name\":\"assign\"},domProps:{\"value\":false,\"checked\":_vm._q(_vm.innerValue.isCreateQuote,false)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isCreateQuote\", false)}}}),_c('label',{attrs:{\"for\":\"assign\"}},[_vm._v(\"Assign quote\")])])]),((_vm.ecomType.toLowerCase() === 'orm' || _vm.ecomType.toLowerCase() === 'audanet') && !_vm.innerValue.isCreateQuote)?_c('div',[_c('load-quote-assign',{attrs:{\"rego-no\":_vm.value.regoNo,\"ecom-type\":_vm.ecomType},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1):_vm._e(),(_vm.ecomType === 'pnet' && !_vm.innerValue.isCreateQuote)?_c('div',[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.quoteNo),expression:\"quoteNo\"},{name:\"focus-inserted\",rawName:\"v-focus-inserted\"}],staticClass:\"input is-uppercase\",class:{ 'is-danger' : !_vm.validQuoteNo },attrs:{\"placeholder\":\"Quote No.\"},domProps:{\"value\":(_vm.quoteNo)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.quoteNo=$event.target.value},_vm.searchQuote]}})]),(_vm.validQuoteNo && _vm.$v.loadOptions.quoteId.$dirty && !_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"help is-success\"},[_vm._v(\"Valid Quote No.\")]):_vm._e(),(!_vm.validQuoteNo && !_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-danger is-flex align-items-center\"},[_vm._m(0),_vm._v(\" Please enter an existing Quote No. \")]):_vm._e(),(_vm.quoteIsAuthorised && !_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-danger is-flex align-items-center\"},[_vm._m(1),_vm._v(\" This quote has been authorised already. \")]):_vm._e(),(_vm.checkingQuoteIsAuthorised)?_c('span',{staticClass:\"has-text-warning is-flex align-items-center\"},[_vm._m(2),_vm._v(\" Checking Quote... \")]):_vm._e()]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-20px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-20px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-warning\"},[_c('i',{staticClass:\"mdi mdi-spin mdi-loading mdi-20px\"})])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',[_c('label',{staticClass:\"label\"},[_vm._v(\"Please select a quote\")]),_c('bulma-table',{staticClass:\"table is-bordered is-striped is-narrow is-fullwidth\",attrs:{\"columns\":_vm.columns,\"page-index\":_vm.filter.pageIndex,\"page-size\":_vm.filter.pageSize,\"total-rows\":_vm.totalRows,\"is-loading\":_vm.isTableLoading,\"sort-column\":_vm.filter.sortColumn,\"sort-order\":_vm.filter.sortOrder,\"show-pagination\":false},on:{\"pageChanged\":_vm.onPageChange,\"sort\":_vm.sort}},[_vm._l((_vm.entitySummaries),function(entity,index){return _c('tr',{key:entity.quoteNo,class:{ 'is-selected' : _vm.selectedRow === index },on:{\"click\":function($event){return _vm.highlightSelected(index, $event)}}},[_c('td',[_vm._v(\" \"+_vm._s(entity.quoteNoRef)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.regoNo)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.make)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.model)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.claimNo)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(entity.jobStageText)+\" \")])])}),_c('template',{slot:\"empty\"},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-grey has-text-centered\"},[_c('span',{attrs:{\"icon\":\"icon is-large\"}},[_c('i',{staticClass:\"mdi mdi-48px mdi-emoticon-sad\"})]),_c('p',[_vm._v(\"Nothing\")])])])])],2)],1),(_vm.invalidQuoteId)?_c('span',{staticClass:\"has-text-danger\"},[_vm._m(0),_vm._v(\" Please select a quote before continuing. \")]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-24px\"})])\n}]\n\nexport { render, staticRenderFns }","import { TableColumn } from '@/classes'\n\nconst InsurerColumns = [\n  {\n    title: 'Name',\n    name: 'name',\n    sortable: false,\n    defaultOrder: 'asc',\n    align: 'left'\n  },\n  {\n    title: 'Repairer ID',\n    name: 'repairerId',\n    sortable: false,\n    defaultOrder: 'asc',\n    align: 'centered'\n  },\n  {\n    title: 'Method',\n    name: 'quotingMethod',\n    sortable: false,\n    defaultOrder: 'asc',\n    align: 'centered'\n  }\n]\n\nconst CustomerColumns = [\n  {\n    title: 'Name',\n    name: 'fullName',\n    sortable: true,\n    defaultOrder: 'asc',\n    align: 'left'\n  },\n  {\n    title: 'Address',\n    name: 'streetName, suburb',\n    sortable: true,\n    defaultOrder: 'asc',\n    align: 'left'\n  }\n]\n\nconst QuoteColumns = [\n  new TableColumn('Quote No.', 'quoteNoRef', true, 'asc', 'left'),\n  new TableColumn('Rego', 'regoNo', true, 'asc', 'left'),\n  new TableColumn('Make', 'make', true, 'asc', 'left'),\n  new TableColumn('Model', 'model', true, 'asc', 'left'),\n  new TableColumn('Claim No.', 'claimNo', true, 'asc', 'left'),\n  new TableColumn('Job Stage', 'jobStageText', true, 'asc', 'left')\n]\n\nexport { InsurerColumns, CustomerColumns, QuoteColumns }\n","<template>\n  <div>\n    <div>\n      <label class=\"label\">Please select a quote</label>\n      <bulma-table class=\"table is-bordered is-striped is-narrow is-fullwidth\"\n        :columns=\"columns\"\n        :page-index=\"filter.pageIndex\"\n        :page-size=\"filter.pageSize\"\n        :total-rows=\"totalRows\"\n        :is-loading=\"isTableLoading\"\n        :sort-column=\"filter.sortColumn\"\n        :sort-order=\"filter.sortOrder\"\n        @pageChanged=\"onPageChange\"\n        :show-pagination=\"false\"\n        @sort=\"sort\">\n        <tr v-for=\"(entity, index) in entitySummaries\"\n          :key=\"entity.quoteNo\"\n          :class=\"{ 'is-selected' : selectedRow === index }\"\n          @click=\"highlightSelected(index, $event)\">\n          <td>\n            {{ entity.quoteNoRef }}\n          </td>\n          <td>\n            {{ entity.regoNo }}\n          </td>\n          <td>\n            {{ entity.make }}\n          </td>\n          <td>\n            {{ entity.model }}\n          </td>\n          <td>\n            {{ entity.claimNo }}\n          </td>\n          <td>\n            {{ entity.jobStageText }}\n          </td>\n        </tr>\n        <template slot=\"empty\">\n          <section class=\"section\">\n            <div class=\"content has-text-grey has-text-centered\">\n              <span icon=\"icon is-large\">\n                <i class=\"mdi mdi-48px mdi-emoticon-sad\" />\n              </span>\n              <p>Nothing</p>\n            </div>\n          </section>\n        </template>\n      </bulma-table>\n    </div>\n    <span class=\"has-text-danger\"\n      v-if=\"invalidQuoteId\">\n      <span class=\"icon has-text-danger\">\n        <i class=\"mdi mdi-alert-octagram mdi-24px\" />\n      </span>\n      Please select a quote before continuing.\n    </span>\n  </div>\n</template>\n\n<script>\nimport BulmaTable from '@/components/BulmaTable'\nimport LoadQuoteService from './LoadQuoteService'\nimport { QuoteColumns } from './columns'\n\nexport default {\n  name: 'LoadQuoteAssign',\n  inject: ['$vv'],\n  components: {\n    BulmaTable\n  },\n  props: {\n    value: null,\n    ecomType: {\n      type: String\n    },\n    regoNo: {\n      type: String,\n      default: ''\n    }\n  },\n  data() {\n    return {\n      entitySummaries: null,\n      totalRows: 0,\n      selectedRow: null,\n      isTableLoading: false,\n      filter: {\n        sortColumn: '',\n        sortOrder: '',\n        pageIndex: 1,\n        pageSize: 10\n      },\n      innerValue: this.value\n    }\n  },\n  computed: {\n    columns() {\n      return QuoteColumns\n    },\n    $v() {\n      return this.$vv || this.$v\n    },\n    invalidQuoteId() {\n      return this.$v.loadOptions.quoteId.$error && !this.value.isCreateQuote\n    }\n  },\n  watch: {\n    innerValue: function (newVal, oldVal) {\n      this.$emit('input', newVal)\n    }\n  },\n  created() {\n    this.getEntitySummaries()\n  },\n  mounted() {},\n  methods: {\n    highlightSelected(index, event) {\n      this.selectedRow = index\n      this.innerValue.quoteId = this.entitySummaries[index].quoteId\n      this.innerValue.customerId = this.entitySummaries[index].customerId\n      this.innerValue.originalCustomerId = this.entitySummaries[index].customerId\n      this.innerValue.vehicleId = this.entitySummaries[index].vehicleId\n      if(this.ecomType == 'audanet') {\n        this.innerValue.isAssignQuote = true\n        this.innerValue.isOverwriteQuote = true\n      }\n    },\n    onPageChange(pageIndex) {},\n    sort() {},\n    async getEntitySummaries() {\n      this.isTableLoading = true\n      this.entitySummaries = await LoadQuoteService.getQuoteSummaries(this.value.regoNo, this.value.claimNo, this.value.isRepx)\n      this.totalRows = this.entitySummaries.length > 0 ? this.entitySummaries.length : 0\n      this.isTableLoading = false\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!./LoadQuoteAssign.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!./LoadQuoteAssign.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteAssign.vue?vue&type=template&id=73ef3938\"\nimport script from \"./LoadQuoteAssign.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteAssign.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","<template>\n  <div>\n    <div class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"create\"\n          type=\"radio\"\n          name=\"create\"\n          :value=\"true\"\n          v-model=\"innerValue.isCreateQuote\">\n        <label for=\"create\">Create new quote</label>\n      </div>\n    </div>\n    <div\n      class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"assign\"\n          type=\"radio\"\n          name=\"assign\"\n          :value=\"false\"\n          v-model=\"innerValue.isCreateQuote\">\n        <label for=\"assign\">Assign quote</label>\n      </div>\n    </div>\n    <div v-if=\"(ecomType.toLowerCase() === 'orm' || ecomType.toLowerCase() === 'audanet') && !innerValue.isCreateQuote\">\n      <load-quote-assign\n        v-model=\"value\"\n        :rego-no=\"value.regoNo\"\n        :ecom-type=\"ecomType\" />\n    </div>\n    <div v-if=\"ecomType === 'pnet' && !innerValue.isCreateQuote\">\n      <div class=\"control\">\n        <input class=\"input is-uppercase\"\n          :class=\"{ 'is-danger' : !validQuoteNo }\"\n          v-model=\"quoteNo\"\n          @input=\"searchQuote\"\n          placeholder=\"Quote No.\"\n          v-focus-inserted>\n      </div>\n      <span v-if=\"validQuoteNo && $v.loadOptions.quoteId.$dirty && !quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"help is-success\">Valid Quote No.</span>\n      <span v-if=\"!validQuoteNo && !quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"has-text-danger is-flex align-items-center\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-20px\" />\n        </span>\n        Please enter an existing Quote No.\n      </span>\n      <span v-if=\"quoteIsAuthorised && !checkingQuoteIsAuthorised\"\n        class=\"has-text-danger is-flex align-items-center\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-20px\" />\n        </span>\n        This quote has been authorised already.\n      </span>\n      <span v-if=\"checkingQuoteIsAuthorised\"\n        class=\"has-text-warning is-flex align-items-center\">\n        <span class=\"icon has-text-warning\">\n          <i class=\"mdi mdi-spin mdi-loading mdi-20px\" />\n        </span>\n        Checking Quote...\n      </span>\n    </div>\n  </div>\n</template>\n\n<script>\nimport Guid from '@/components/Guid'\nimport _debounce from 'lodash.debounce'\nimport LoadQuoteService from './LoadQuoteService'\nimport LoadQuoteAssign from './LoadQuoteAssign'\nimport { FocusInserted } from '@/components/directives'\nimport PnetMessageService from '@/views/pnetmessage/PnetMessageService.js'\nimport { EventHubTypes, PnetQuoteStatusTypes } from '@/enums'\n\nexport default {\n  name: 'LoadQuoteCreateStep',\n  inject: ['$vv'],\n  components: {\n    LoadQuoteAssign\n  },\n  directives: {\n    FocusInserted\n  },\n  props: {\n    value: null,\n    ecomType: {\n      type: String\n    }\n  },\n  data() {\n    return {\n      quoteNo: '',\n      innerValue: this.value,\n      quoteIsAuthorised: false,\n      checkingQuoteIsAuthorised: false\n    }\n  },\n  computed: {\n    validQuoteNo() {\n      return !this.$v.loadOptions.quoteId.$error || this.value.isCreateQuote\n    },\n    $v() {\n      return this.$vv || this.$v\n    }\n  },\n  watch: {\n    innerValue: {\n      handler: function (newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    },\n    checkingQuoteIsAuthorised: {\n      handler: function (newVal, oldVal) {\n        if (this.quoteIsAuthorised) {\n          this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, false)\n          return\n        }\n        this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, !newVal)\n      }\n    }\n  },\n  methods: {\n    searchQuote: _debounce(async function () {\n      this.$v.loadOptions.quoteId.$touch()\n      this.quoteIsAuthorised = false\n      if (!this.quoteNo) {\n        this.innerValue.quoteId = Guid.empty()\n        return\n      }\n      this.innerValue.quoteId = await LoadQuoteService.getQuoteIdByNo(this.quoteNo)\n      if (this.innerValue.quoteId !== Guid.empty()){\n        await this.checkQuoteAuthority()\n      } else {\n        this.$eventHub.$emit(EventHubTypes.LoadQuoteNextStatus, false)\n      }\n    }, 500),\n    async checkQuoteAuthority() {\n      try {\n        this.checkingQuoteIsAuthorised = true\n        const pnetQuote = await PnetMessageService.getQuotePnet(this.innerValue.quoteId)\n        this.quoteIsAuthorised = pnetQuote.quoteId !== Guid.empty() &&\n          pnetQuote.quoteStatusId == PnetQuoteStatusTypes.QuoteAuthorised\n      } catch (e) {\n        this.quoteIsAuthorised = false\n      } finally {\n        this.checkingQuoteIsAuthorised = false\n      }\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '../../assets/style/mixins/inputs/placeholder';\n\ninput.is-uppercase {\n  text-transform: uppercase;\n  @include reset-placeholder-text-transform;\n}\n</style>\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!./LoadQuoteCreateStep.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!./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteCreateStep.vue?vue&type=template&id=75bfd96a&scoped=true\"\nimport script from \"./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteCreateStep.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteCreateStep.vue?vue&type=style&index=0&id=75bfd96a&prod&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  \"75bfd96a\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.entitySummaries && _vm.entitySummaries.length === 0 && _vm.ecomType === 'audanet')?_c('div',[_vm._v(\" Insurer \"),_c('span',{staticClass:\"has-text-primary has-text-weight-bold\"},[_vm._v(_vm._s(_vm.insurerName))]),_vm._v(\" cannot be not found. Continuing will create this insurer. \")]):_c('div',[(_vm.enableEcomTypeSelection)?_c('div',{staticClass:\"is-narrow\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"E-Com Type\")]),_c('div',{staticClass:\"control\"},[_c('div',{staticClass:\"field is-horizontal is-flex\"},[_c('div',{staticClass:\"control select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerEcomType),expression:\"innerEcomType\"}],staticClass:\"select-width\",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.innerEcomType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"all\"},domProps:{\"selected\":_vm.innerEcomType == 'all'}},[_vm._v(\"ALL\")]),_c('option',{domProps:{\"value\":_vm.ecomTypeEnum.ORM}},[_vm._v(\"ORM\")]),_c('option',{domProps:{\"value\":_vm.ecomTypeEnum.PNET}},[_vm._v(\"PNET\")])])]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerInsurerName),expression:\"innerInsurerName\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Insurer Name\"},domProps:{\"value\":(_vm.innerInsurerName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.innerInsurerName=$event.target.value}}})]),_c('div',{staticClass:\"control\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.handleSearch}},[_vm._m(0),_c('span',[_vm._v(\"Search\")])])])])])]):_vm._e(),_c('label',{staticClass:\"label\"},[_vm._v(\"Please select an insurer\")]),_c('bulma-table',{staticClass:\"table is-bordered is-striped is-narrow is-fullwidth\",attrs:{\"columns\":_vm.columns,\"page-index\":_vm.filter.pageIndex,\"page-size\":_vm.filter.pageSize,\"total-rows\":_vm.totalRows,\"is-loading\":_vm.isTableLoading,\"sort-column\":_vm.filter.sortColumn,\"sort-order\":_vm.filter.sortOrder,\"show-pagination\":false},on:{\"pageChanged\":_vm.onPageChange,\"sort\":_vm.sort}},[_vm._l((_vm.entitySummaries),function(entity,index){return _c('tr',{key:entity.messageId,class:{ 'is-selected' : _vm.selectedRow === index },on:{\"click\":function($event){return _vm.highlightSelected(index, $event)}}},[_c('td',[_vm._v(\" \"+_vm._s(entity.name)+\" \")]),_c('td',{staticClass:\"has-text-centered\"},[_vm._v(\" \"+_vm._s(entity.repairerId)+\" \")]),_c('td',{staticClass:\"has-text-centered\"},[_c('span',{staticClass:\"tag\",class:[ entity.quotingMethod === 'D' ? 'is-success' : 'is-info' ]},[_vm._v(_vm._s(entity.quotingMethod))])])])}),_c('template',{slot:\"empty\"},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-grey has-text-centered\"},[_c('span',{attrs:{\"icon\":\"icon is-large\"}},[_c('i',{staticClass:\"mdi mdi-48px mdi-emoticon-sad\"})]),_c('p',[_vm._v(\"Nothing\")])])])])],2),(_vm.$v.loadOptions.insurerId.$error)?_c('span',{staticClass:\"has-text-danger\"},[_vm._m(1),_vm._v(\" Please select an insurer before continuing. \"+_vm._s(_vm.$v.loadOptions.insurerId.$error)+\" \")]):_vm._e(),(_vm.entitySummaries && _vm.entitySummaries.length === 0)?_c('span',{staticClass:\"has-text-danger\"},[_vm._m(2),(_vm.ecomType === 'audanet')?_c('span',[_vm._v(\"Cannot find insurer \"),_c('span',{staticClass:\"has-text-weight-bold\"},[_vm._v(_vm._s(_vm.insurerName))])]):_c('span',[_vm._v(\"Cannot find insurers that has been setup for \"+_vm._s(_vm.ecomType.toUpperCase()))])]):_vm._e()],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon is-small\"},[_c('i',{staticClass:\"mdi mdi-magnify\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-24px\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-24px\"})])\n}]\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div v-if=\"entitySummaries && entitySummaries.length === 0 && ecomType === 'audanet'\">\n      Insurer <span class=\"has-text-primary has-text-weight-bold\">{{ insurerName }}</span> cannot be not found. Continuing will create this insurer.\n    </div>\n    <div v-else>\n      <div class=\"is-narrow\"\n        v-if=\"enableEcomTypeSelection\">\n        <label class=\"label\">E-Com Type</label>\n        <div class=\"control\">\n          <div class=\"field is-horizontal is-flex\">\n            <div class=\"control select\">\n              <select v-model=\"innerEcomType\"\n                class=\"select-width\">\n                <option value=\"all\"\n                  :selected=\"innerEcomType == 'all'\">ALL</option>\n                <option :value=\"ecomTypeEnum.ORM\">ORM</option>\n                <option :value=\"ecomTypeEnum.PNET\">PNET</option>\n              </select>\n            </div>\n            <div class=\"control\">\n              <input class=\"input\"\n                type=\"text\"\n                v-model=\"innerInsurerName\"\n                placeholder=\"Insurer Name\">\n            </div>\n            <div class=\"control\">\n              <button class=\"button is-primary\"\n                @click=\"handleSearch\">\n                <span class=\"icon is-small\">\n                  <i class=\"mdi mdi-magnify\" />\n                </span>\n                <span>Search</span>\n              </button>\n            </div>\n          </div>\n        </div>\n      </div>\n      <label class=\"label\">Please select an insurer</label>\n      <bulma-table class=\"table is-bordered is-striped is-narrow is-fullwidth\"\n        :columns=\"columns\"\n        :page-index=\"filter.pageIndex\"\n        :page-size=\"filter.pageSize\"\n        :total-rows=\"totalRows\"\n        :is-loading=\"isTableLoading\"\n        :sort-column=\"filter.sortColumn\"\n        :sort-order=\"filter.sortOrder\"\n        @pageChanged=\"onPageChange\"\n        :show-pagination=\"false\"\n        @sort=\"sort\">\n        <tr v-for=\"(entity, index) in entitySummaries\"\n          :key=\"entity.messageId\"\n          :class=\"{ 'is-selected' : selectedRow === index }\"\n          @click=\"highlightSelected(index, $event)\">\n          <td>\n            {{ entity.name }}\n          </td>\n          <td class=\"has-text-centered\">\n            {{ entity.repairerId }}\n          </td>\n          <td class=\"has-text-centered\">\n            <span class=\"tag\"\n              :class=\"[ entity.quotingMethod === 'D' ? 'is-success' : 'is-info' ]\">{{ entity.quotingMethod }}</span>\n          </td>\n        </tr>\n        <template slot=\"empty\">\n          <section class=\"section\">\n            <div class=\"content has-text-grey has-text-centered\">\n              <span icon=\"icon is-large\">\n                <i class=\"mdi mdi-48px mdi-emoticon-sad\" />\n              </span>\n              <p>Nothing</p>\n            </div>\n          </section>\n        </template>\n      </bulma-table>\n      <span class=\"has-text-danger\"\n        v-if=\"$v.loadOptions.insurerId.$error\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-24px\" />\n        </span>\n        Please select an insurer before continuing.\n        {{ $v.loadOptions.insurerId.$error }}\n      </span>\n      <span class=\"has-text-danger\"\n        v-if=\"entitySummaries && entitySummaries.length === 0\">\n        <span class=\"icon has-text-danger\">\n          <i class=\"mdi mdi-alert-octagram mdi-24px\" />\n        </span>\n        <span v-if=\"ecomType === 'audanet'\">Cannot find insurer\n          <span class=\"has-text-weight-bold\">{{ insurerName }}</span>\n        </span>\n        <span v-else>Cannot find insurers that has been setup for {{ ecomType.toUpperCase() }}</span>\n      </span>\n    </div>\n  </div>\n</template>\n\n<script>\nimport BulmaTable from '@/components/BulmaTable'\nimport { InsurerColumns } from './columns'\nimport LoadQuoteService from './LoadQuoteService'\nimport { EcomTypes } from '@/enums'\n// import Guid from '@/components/Guid'\n\nexport default {\n  name: 'LoadQuoteInsurerStep',\n  inject: ['$vv'],\n  components: {\n    BulmaTable\n  },\n  props: {\n    value: null,\n    ecomType: {\n      type: String\n    },\n    insurerName: {\n      type: String,\n      default: ''\n    },\n    enableEcomTypeSelection: {\n      type: Boolean,\n      default: false\n    }\n  },\n  data() {\n    return {\n      entitySummaries: null,\n      totalRows: 0,\n      selectedRow: null,\n      isTableLoading: false,\n      innerEcomType: this.ecomType,\n      innerInsurerName: this.insurerName,\n      filter: {\n        sortColumn: '',\n        sortOrder: '',\n        pageIndex: 1,\n        pageSize: 10\n      },\n      innerValue: this.value\n    }\n  },\n  computed: {\n    columns() {\n      return InsurerColumns\n    },\n    $v() {\n      return this.$vv || this.$v\n    },\n    ecomTypeEnum: function () {\n      return EcomTypes\n    }\n  },\n  watch: {\n    innerValue: function (newVal, oldVal) {\n      this.$emit('input', newVal)\n    },\n    innerEcomType: function (newVal, oldVal) {\n      // this.$emit('input', newVal)\n      this.getEntitySummaries()\n    }\n  },\n  created() {\n    this.innerEcomType = this.ecomType\n    this.innerInsurerName = this.insurerName == '' ? '' : this.insurerName\n    this.getEntitySummaries()\n  },\n  mounted() {},\n  methods: {\n    highlightSelected(index, event) {\n      this.selectedRow = index\n      this.innerValue.insurerId = this.entitySummaries[index].insurerId\n    },\n    onPageChange(pageIndex) {},\n    sort() {},\n    async getEntitySummaries() {\n      this.isTableLoading = true\n      this.entitySummaries = await LoadQuoteService.getInsurerSummaries(this.innerEcomType, this.innerInsurerName)\n      this.totalRows = this.entitySummaries.length > 0 ? this.entitySummaries[0].totalRows : 0\n      this.innerValue.isCreateInsurer = this.entitySummaries && this.entitySummaries.length === 0 && this.ecomType === 'audanet'\n      this.isTableLoading = false\n    },\n    handleSearch() {\n      this.getEntitySummaries()\n    }\n  }\n}\n</script>\n\n<style scoped>\n.field.is-flex {\n  display: flex;\n  align-items: center;\n}\n.field.is-flex .control {\n  flex: 1;\n}\n.field.is-flex .control.select {\n  flex: 0 0 auto;\n  margin-right: 1rem;\n}\n/* .field.is-flex .control .button {\n  flex: 0 0 auto;\n  margin-left: 1rem;\n} */\n</style>","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!./LoadQuoteInsurerStep.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!./LoadQuoteInsurerStep.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteInsurerStep.vue?vue&type=template&id=31302bd4&scoped=true\"\nimport script from \"./LoadQuoteInsurerStep.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteInsurerStep.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteInsurerStep.vue?vue&type=style&index=0&id=31302bd4&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"31302bd4\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.value.customerOption === _vm.optionTypes.Create)?_c('div',{staticClass:\"field\"},[(!_vm.value.isPerson)?_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Company Name\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.customerName),expression:\"value.customerName\"}],staticClass:\"input\",attrs:{\"placeholder\":\"Company Name\"},domProps:{\"value\":(_vm.value.customerName)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.$set(_vm.value, \"customerName\", $event.target.value)},_vm.assetExists]}})])]):_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Firstname\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.firstname),expression:\"value.firstname\"}],staticClass:\"input\",attrs:{\"placeholder\":\"Firstname\"},domProps:{\"value\":(_vm.value.firstname)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.$set(_vm.value, \"firstname\", $event.target.value)},_vm.assetExists]}})])]),_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label\"},[_vm._v(\"Lastname\")]),_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.lastname),expression:\"value.lastname\"}],staticClass:\"input\",attrs:{\"placeholder\":\"Lastname\"},domProps:{\"value\":(_vm.value.lastname)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.$set(_vm.value, \"lastname\", $event.target.value)},_vm.assetExists]}})])])]),_c('div',{staticClass:\"is-divider\"})]):_vm._e(),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.customerOption),expression:\"value.customerOption\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"createnew\",\"type\":\"radio\",\"name\":\"createnew\"},domProps:{\"value\":_vm.optionTypes.Create,\"checked\":_vm._q(_vm.value.customerOption,_vm.optionTypes.Create)},on:{\"change\":function($event){return _vm.$set(_vm.value, \"customerOption\", _vm.optionTypes.Create)}}}),_c('label',{attrs:{\"for\":\"createnew\"}},[_vm._v(\"Create new customer\")])])]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.customerOption),expression:\"value.customerOption\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"reuse\",\"type\":\"radio\",\"name\":\"reuse\",\"disabled\":!_vm.customerExists},domProps:{\"value\":_vm.optionTypes.Reuse,\"checked\":_vm._q(_vm.value.customerOption,_vm.optionTypes.Reuse)},on:{\"change\":function($event){return _vm.$set(_vm.value, \"customerOption\", _vm.optionTypes.Reuse)}}}),_c('label',{attrs:{\"for\":\"reuse\"}},[_vm._v(\"Use existing\")])])]),(!_vm.innerValue.isCreateQuote)?_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.value.customerOption),expression:\"value.customerOption\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"keepexisting\",\"type\":\"radio\",\"name\":\"keepexisting\",\"disabled\":!_vm.customerExists},domProps:{\"value\":_vm.optionTypes.KeepExisting,\"checked\":_vm._q(_vm.value.customerOption,_vm.optionTypes.KeepExisting)},on:{\"change\":[function($event){return _vm.$set(_vm.value, \"customerOption\", _vm.optionTypes.KeepExisting)},function($event){return _vm.setCustomerId(_vm.optionTypes.KeepExisting)}]}}),_c('label',{attrs:{\"for\":\"keepexisting\"}},[_vm._v(\"Keep existing\")])])]):_vm._e(),(_vm.value.customerOption === _vm.optionTypes.Reuse)?_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"is-divider\"}),_c('label',{staticClass:\"label\"},[_vm._v(\"Please select a customer\")]),_c('bulma-table',{staticClass:\"table is-bordered is-striped is-narrow is-fullwidth\",attrs:{\"columns\":_vm.columns,\"page-index\":_vm.filter.pageIndex,\"page-size\":_vm.filter.pageSize,\"total-rows\":_vm.totalRows,\"is-loading\":_vm.isTableLoading,\"sort-column\":_vm.filter.sortColumn,\"sort-order\":_vm.filter.sortOrder,\"show-pagination\":false},on:{\"pageChanged\":_vm.onPageChange,\"sort\":_vm.sort}},[_vm._l((_vm.entitySummaries),function(entity,index){return _c('tr',{key:entity.messageId,class:{ 'is-selected' : _vm.selectedRow === index },on:{\"click\":function($event){return _vm.highlightSelected(index, $event)}}},[_c('td',[_vm._v(\" \"+_vm._s(entity.fullName)+\" \")]),_c('td',{staticClass:\"has-text-centered\"},[_vm._v(\" \"+_vm._s(entity.streetName)+\", \"+_vm._s(entity.suburb)+\" \")])])}),_c('template',{slot:\"empty\"},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-grey has-text-centered\"},[_c('span',{attrs:{\"icon\":\"icon is-large\"}},[_c('i',{staticClass:\"mdi mdi-48px mdi-emoticon-sad\"})]),_c('p',[_vm._v(\"Nothing\")])])])])],2)],1):_vm._e(),(_vm.invalidCustomerId)?_c('span',{staticClass:\"has-text-danger\"},[_vm._m(0),_vm._v(\" Please select a customer before continuing. \")]):_vm._e()])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon has-text-danger\"},[_c('i',{staticClass:\"mdi mdi-alert-octagram mdi-24px\"})])\n}]\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div v-if=\"value.customerOption === optionTypes.Create\"\n      class=\"field\">\n      <div v-if=\"!value.isPerson\"\n        class=\"field\">\n        <label class=\"label\">Company Name</label>\n        <div class=\"control\">\n          <input class=\"input\"\n            v-model=\"value.customerName\"\n            placeholder=\"Company Name\"\n            @input=\"assetExists\">\n        </div>\n      </div>\n      <div v-else\n        class=\"field\">\n        <div class=\"field\">\n          <label class=\"label\">Firstname</label>\n          <div class=\"control\">\n            <input class=\"input\"\n              v-model=\"value.firstname\"\n              placeholder=\"Firstname\"\n              @input=\"assetExists\">\n          </div>\n        </div>\n        <div class=\"field\">\n          <label class=\"label\">Lastname</label>\n          <div class=\"control\">\n            <input class=\"input\"\n              v-model=\"value.lastname\"\n              placeholder=\"Lastname\"\n              @input=\"assetExists\">\n          </div>\n        </div>\n      </div>\n      <div class=\"is-divider\" />\n    </div>\n    <div class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"createnew\"\n          type=\"radio\"\n          name=\"createnew\"\n          :value=\"optionTypes.Create\"\n          v-model=\"value.customerOption\">\n        <label for=\"createnew\">Create new customer</label>\n      </div>\n    </div>\n    <!-- <div class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"overwrite\"\n          type=\"radio\"\n          name=\"overwrite\"\n          :value=\"optionTypes.Overwrite\"\n          v-model=\"value.customerOption\"\n          :disabled=\"!customerExists\">\n        <label for=\"overwrite\">Overwrite customer</label>\n      </div>\n    </div> -->\n    <div class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"reuse\"\n          type=\"radio\"\n          name=\"reuse\"\n          :value=\"optionTypes.Reuse\"\n          v-model=\"value.customerOption\"\n          :disabled=\"!customerExists\">\n        <label for=\"reuse\">Use existing</label>\n      </div>\n    </div>\n    <div v-if=\"!innerValue.isCreateQuote\"\n      class=\"field\">\n      <div class=\"control\">\n        <input class=\"is-checkradio\"\n          id=\"keepexisting\"\n          type=\"radio\"\n          name=\"keepexisting\"\n          :value=\"optionTypes.KeepExisting\"\n          v-model=\"value.customerOption\"\n          :disabled=\"!customerExists\"\n          @change=\"setCustomerId(optionTypes.KeepExisting)\">\n        <label for=\"keepexisting\">Keep existing</label>\n      </div>\n    </div>\n    <div v-if=\"value.customerOption === optionTypes.Reuse\"\n      class=\"field\">\n      <div class=\"is-divider\" />\n      <label class=\"label\">Please select a customer</label>\n      <bulma-table class=\"table is-bordered is-striped is-narrow is-fullwidth\"\n        :columns=\"columns\"\n        :page-index=\"filter.pageIndex\"\n        :page-size=\"filter.pageSize\"\n        :total-rows=\"totalRows\"\n        :is-loading=\"isTableLoading\"\n        :sort-column=\"filter.sortColumn\"\n        :sort-order=\"filter.sortOrder\"\n        @pageChanged=\"onPageChange\"\n        :show-pagination=\"false\"\n        @sort=\"sort\">\n        <tr v-for=\"(entity, index) in entitySummaries\"\n          :key=\"entity.messageId\"\n          :class=\"{ 'is-selected' : selectedRow === index }\"\n          @click=\"highlightSelected(index, $event)\">\n          <td>\n            {{ entity.fullName }}\n          </td>\n          <td class=\"has-text-centered\">\n            {{ entity.streetName }}, {{ entity.suburb }}\n          </td>\n        </tr>\n        <template slot=\"empty\">\n          <section class=\"section\">\n            <div class=\"content has-text-grey has-text-centered\">\n              <span icon=\"icon is-large\">\n                <i class=\"mdi mdi-48px mdi-emoticon-sad\" />\n              </span>\n              <p>Nothing</p>\n            </div>\n          </section>\n        </template>\n      </bulma-table>\n    </div>\n    <span class=\"has-text-danger\"\n      v-if=\"invalidCustomerId\">\n      <span class=\"icon has-text-danger\">\n        <i class=\"mdi mdi-alert-octagram mdi-24px\" />\n      </span>\n      Please select a customer before continuing.\n    </span>\n    <!-- <pre>{{$v}}</pre> -->\n  </div>\n</template>\n\n<script>\nimport { CustomerOptionTypes } from './LoadQuote'\nimport LoadQuoteService from './LoadQuoteService'\nimport _debounce from 'lodash.debounce'\nimport BulmaTable from '@/components/BulmaTable'\nimport { CustomerColumns } from './columns'\n\nexport default {\n  name: 'LoadQuoteCustomerStep',\n  inject: ['$vv'],\n  components: {\n    BulmaTable\n  },\n  props: {\n    value: null\n  },\n  data() {\n    return {\n      entitySummaries: null,\n      totalRows: 0,\n      selectedRow: null,\n      isTableLoading: false,\n      customerExists: false,\n      filter: {\n        sortColumn: '',\n        sortOrder: '',\n        pageIndex: 1,\n        pageSize: 10\n      },\n      innerValue: this.value,\n      existingCustomerId: this.value.customerId\n    }\n  },\n  computed: {\n    optionTypes() {\n      return CustomerOptionTypes\n    },\n    columns() {\n      return CustomerColumns\n    },\n    $v() {\n      return this.$vv || this.$v\n    },\n    invalidCustomerId() {\n      return this.$v.loadOptions.customerId.$error && this.innerValue.customerOption === CustomerOptionTypes.Reuse\n    },\n    fullname() {\n      return `${this.innerValue.lastname}, ${this.innerValue.firstname}`\n    }\n  },\n  watch: {\n    innerValue: {\n      handler: function (newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    },\n    fullname: function (newVal, oldVal) {\n      this.innerValue.customerName = newVal\n    }\n  },\n  created() {\n    this.assertCustomerExists(this.value.customerName)\n    this.getEntitySummaries()\n  },\n  mounted() {},\n  methods: {\n    sort() {},\n    onPageChange() {},\n    highlightSelected(index, event) {\n      this.selectedRow = index\n      this.innerValue.customerId = this.entitySummaries[index].customerId\n    },\n    async assertCustomerExists(name) {\n      this.customerExists = await LoadQuoteService.assertCustomerExists(name)\n    },\n    assetExists: _debounce(async function () {\n      this.assertCustomerExists(this.value.customerName)\n    }, 500),\n    async getEntitySummaries() {\n      this.isTableLoading = true\n      this.entitySummaries = await LoadQuoteService.getCustomerSummaries(this.value.customerName)\n      this.totalRows = this.entitySummaries.length > 0 ? this.entitySummaries[0].totalRows : 0\n      this.isTableLoading = false\n    },\n    setCustomerId(option) {\n      if (option === CustomerOptionTypes.KeepExisting) {\n        this.innerValue.customerId = this.innerValue.originalCustomerId\n      }\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.is-divider {\n  margin: 1.2em 0;\n}\n</style>\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!./LoadQuoteCustomerStep.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!./LoadQuoteCustomerStep.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteCustomerStep.vue?vue&type=template&id=5ad9d95d&scoped=true\"\nimport script from \"./LoadQuoteCustomerStep.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteCustomerStep.vue?vue&type=script&lang=js\"\nimport style0 from \"./LoadQuoteCustomerStep.vue?vue&type=style&index=0&id=5ad9d95d&prod&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  \"5ad9d95d\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._m(0),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isOverwriteVehicle),expression:\"innerValue.isOverwriteVehicle\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"yes\",\"type\":\"radio\",\"name\":\"yes\"},domProps:{\"value\":true,\"checked\":_vm._q(_vm.innerValue.isOverwriteVehicle,true)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isOverwriteVehicle\", true)}}}),_c('label',{attrs:{\"for\":\"yes\"}},[_vm._v(\"Yes\")])])]),_c('div',{staticClass:\"field\"},[_c('div',{staticClass:\"control\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.innerValue.isOverwriteVehicle),expression:\"innerValue.isOverwriteVehicle\"}],staticClass:\"is-checkradio\",attrs:{\"id\":\"no\",\"type\":\"radio\",\"name\":\"no\"},domProps:{\"value\":false,\"checked\":_vm._q(_vm.innerValue.isOverwriteVehicle,false)},on:{\"change\":function($event){return _vm.$set(_vm.innerValue, \"isOverwriteVehicle\", false)}}}),_c('label',{attrs:{\"for\":\"no\"}},[_vm._v(\"No\")])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"field\"},[_c('span',[_vm._v(\" Vehicle already exists. Overwrite vehicle's information? \")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div class=\"field\">\n      <span>\n        Vehicle already exists. Overwrite vehicle's information?\n      </span>\n    </div>\n    <div class=\"field\">\n      <div class=\"control\">\n        <input \n          class=\"is-checkradio\"\n          id=\"yes\"\n          type=\"radio\"\n          name=\"yes\"\n          :value=\"true\"\n          v-model=\"innerValue.isOverwriteVehicle\">\n        <label for=\"yes\">Yes</label>\n      </div>\n    </div>\n    <div class=\"field\">\n      <div class=\"control\">\n        <input \n          class=\"is-checkradio\"\n          id=\"no\"\n          type=\"radio\"\n          name=\"no\"\n          :value=\"false\"\n          v-model=\"innerValue.isOverwriteVehicle\">\n        <label for=\"no\">No</label>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'LoadQuoteVehicleStep',\n  props: {\n    value: null\n  },\n  data() {\n    return {\n      innerValue: this.value\n    }\n  },\n  computed: {},\n  watch: {\n    innerValue: {\n      handler: function(newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    }\n  },\n  methods: {}\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!./LoadQuoteVehicleStep.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!./LoadQuoteVehicleStep.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteVehicleStep.vue?vue&type=template&id=b0a6c324\"\nimport script from \"./LoadQuoteVehicleStep.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteVehicleStep.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","<template>\n  <div>\n    <ul class=\"steps is-narrow is-centered has-content-centered\">\n      <li\n        class=\"steps-segment\"\n        :class=\"{ 'is-active': currentStep === steps.CreateAssign.id}\">\n        <a\n          href=\"#\"\n          class=\"has-text-dark\">\n          <span class=\"steps-marker\">\n            <span class=\"icon\">\n              <i class=\"mdi mdi-lead-pencil\" />\n            </span>\n          </span>\n          <div class=\"steps-content\">\n            <p class=\"heading\">Create{{ ecomType !== 'audanet' ? `/Assign` : '' }} Quote</p>\n          </div>\n        </a>\n      </li>\n      <li\n        class=\"steps-segment\"\n        :class=\"{ 'is-active': currentStep === steps.SelectInsurer.id}\">\n        <a\n          hef=\"#\"\n          class=\"has-text-dark\">\n          <span class=\"steps-marker\">\n            <span class=\"icon\">\n              <i class=\"mdi mdi-shield-outline\" />\n            </span>\n          </span>\n          <div class=\"steps-content\">\n            <p class=\"heading\">Select Insurer</p>\n          </div>\n        </a>\n      </li>\n      <li\n        class=\"steps-segment has-gaps\"\n        :class=\"{ 'is-active': currentStep === steps.UpdateCustomer.id}\">\n        <span class=\"steps-marker\">\n          <span class=\"icon\">\n            <i class=\"mdi mdi-account\" />\n          </span>\n        </span>\n        <div class=\"steps-content\">\n          <p class=\"heading\">Update Customer</p>\n        </div>\n      </li>\n      <li\n        v-if=\"steps.OverwriteVehicle.enabled\"\n        class=\"steps-segment has-gaps\"\n        :class=\"{ 'is-active': currentStep === steps.OverwriteVehicle.id}\">\n        <span class=\"steps-marker\">\n          <span class=\"icon\">\n            <i class=\"mdi mdi-car-back\" />\n          </span>\n        </span>\n        <div class=\"steps-content\">\n          <p class=\"heading\">Overwrite Vehicle</p>\n        </div>\n      </li>\n    </ul>\n    <div\n      v-show=\"currentStep === steps.CreateAssign.id\"\n      class=\"box\">\n      <load-quote-create-step\n        v-model=\"value\"\n        :ecom-type=\"ecomType\" />\n    </div>\n    <div\n      v-show=\"currentStep === steps.SelectInsurer.id\"\n      class=\"box\">\n      <load-quote-insurer-step\n        v-model=\"value\"\n        :insurer-name=\"value.insurerName\"\n        :ecom-type=\"ecomType\"\n        :enable-ecom-type-selection=\"enableEcomTypeSelection\" />\n    </div>\n    <div\n      v-show=\"currentStep === steps.UpdateCustomer.id\"\n      class=\"box\">\n      <load-quote-customer-step v-model=\"value\" />\n    </div>\n    <div\n      v-show=\"currentStep === steps.OverwriteVehicle.id && steps.OverwriteVehicle.enabled\"\n      class=\"box\">\n      <load-quote-vehicle-step v-model=\"value\" />\n    </div>\n  </div>\n</template>\n\n<script>\nimport LoadQuoteCreateStep from './LoadQuoteCreateStep'\nimport LoadQuoteInsurerStep from './LoadQuoteInsurerStep'\nimport LoadQuoteCustomerStep from './LoadQuoteCustomerStep'\nimport LoadQuoteVehicleStep from './LoadQuoteVehicleStep'\n\nexport default {\n  name: 'LoadQuoteSteps',\n  components: {\n    LoadQuoteCreateStep,\n    LoadQuoteInsurerStep,\n    LoadQuoteCustomerStep,\n    LoadQuoteVehicleStep\n  },\n  props: {\n    value: null,\n    currentStep: {\n      type: Number\n    },\n    steps: null,\n    ecomType: {\n      type: String\n    },\n    enableEcomTypeSelection:{\n      type: Boolean,\n      default: false\n    }\n  },\n  data() {\n    return {}\n  },\n  computed: {\n    // steps() {\n    //   return Steps\n    // }\n  },\n  watch: {\n    value: {\n      handler: function(newVal, oldVal) {\n        this.$emit('input', newVal)\n      },\n      deep: true\n    }\n  },\n  methods: {}\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!./LoadQuoteSteps.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!./LoadQuoteSteps.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LoadQuoteSteps.vue?vue&type=template&id=01bbbcf1\"\nimport script from \"./LoadQuoteSteps.vue?vue&type=script&lang=js\"\nexport * from \"./LoadQuoteSteps.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":""}