{"version":3,"sources":["webpack:///./src/views/team/InviteDetails.vue?5c9c","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts","webpack:///../../../src/components/VCheckbox/VCheckbox.ts","webpack:///./src/components/StartEndDate.vue?b43d","webpack:///./src/views/team/InviteDetails.vue?77d0","webpack:///./src/views/team/InviteDetails.vue","webpack:///./src/views/team/InviteDetails.vue?4873","webpack:///./src/views/team/InviteDetails.vue?c3a4","webpack:///./src/components/StartEndDate.vue?07d7","webpack:///./src/components/StartEndDate.vue","webpack:///./src/components/StartEndDate.vue?59f1","webpack:///./src/components/StartEndDate.vue?8542"],"names":["VGrid","name","Vue","extend","functional","props","id","String","tag","type","default","render","h","data","children","staticClass","trim","attrs","classes","Object","keys","filter","key","value","startsWith","length","join","domProps","Grid","fluid","Boolean","mergeData","class","Array","concat","Selectable","indeterminate","indeterminateIcon","offIcon","onIcon","inputIndeterminate","this","computed","VInput","options","call","computedIcon","isActive","validationState","isDisabled","hasError","shouldValidate","hasSuccess","hasColor","computedColor","watch","val","$nextTick","$emit","methods","genCheckbox","$createElement","VIcon","setTextColor","dense","dark","light","genInput","attrs$","toString","genRipple","rippleState","genDefaultSlot","genLabel","_vm","_h","_c","_self","_v","_e","registered","buyerDetailsLoading","_s","buyerName","model","callback","$$v","email","expression","firstName","surname","authed","showPasswordField","password","confirmPassword","termsAgreed","on","$event","acceptInvitationDialog","$router","replace","acceptInvitation","staticRenderFns","auth","namespace","InviteDetails","constructor","submitting","accepting","token","itemHeaders","created","localStorage","getItem","back","decodedToken","jwt_decode","inviteeEmail","getInviteDetails","isMobile","$vuetify","breakpoint","TeamApiService","then","res","Toast","success","removeItem","location","reload","catch","err","error","finally","Promise","reject","shouldShowPasswordField","__decorate","Getter","AUTHED","Component","components","ConfirmDialog","LoadingSpinner","StartEndDate","PolicyDisplay","component","VBtn","VCard","VCardText","VCheckbox","VCol","VContainer","VDialog","VRow","VSheet","VTextField","$t","formattedStartDate","formattedEndDate","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AAII,GAAGJ,EAAIQ,GAAGR,EAAImF,GAAG,4BAA4BjF,EAAG,MAAM,GAAG,CAACF,EAAII,GAAGJ,EAAIQ,GAAGR,EAAIqF,0BACxfzD,EAAkB,G,gDCmBtB,IAAqB0C,EAArB,cAA0C9I,OAA1CwG,c,oBAIQ,KAAAoD,mBAAqB,GACrB,KAAAC,iBAAmB,GAECC,kBAAkBC,GAC5CxH,KAAKqH,mBAAqBI,OAAYC,iBAAiB1H,KAAK2H,WAGpCC,gBAAgBJ,GACxCxH,KAAKsH,iBAAmBG,OAAYC,iBAAiB1H,KAAK6H,SAG3DvD,UACCtE,KAAKqH,mBAAqBI,OAAYC,iBAAiB1H,KAAK2H,WAC5D3H,KAAKsH,iBAAmBG,OAAYC,iBAAiB1H,KAAK6H,WAhBnD7B,gBAAP8B,kBAAM,gCACC9B,gBAAP8B,kBAAM,8BAKa9B,gBAAnB+B,eAAM,cAAY,sCAID/B,gBAAjB+B,eAAM,YAAU,oCAXGxB,EAAY,gBAHhCJ,eAAU,CACVC,WAAY,MAEQG,WCpBkX,I,wBCQnYE,EAAY,eACd,EACAvI,EACA2F,GACA,EACA,KACA,KACA,MAIa,OAAA4C,E","file":"js/team-invite.8237f9fa.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteDetails.vue?vue&type=style&index=0&id=2458e4d1&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteDetails.vue?vue&type=style&index=0&id=2458e4d1&lang=scss&scoped=true&\"","// Types\nimport Vue, { VNode } from 'vue'\n\nexport default function VGrid (name: string) {\n  /* @vue/component */\n  return Vue.extend({\n    name: `v-${name}`,\n\n    functional: true,\n\n    props: {\n      id: String,\n      tag: {\n        type: String,\n        default: 'div',\n      },\n    },\n\n    render (h, { props, data, children }): VNode {\n      data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n      const { attrs } = data\n      if (attrs) {\n        // reset attrs to extract utility clases like pa-3\n        data.attrs = {}\n        const classes = Object.keys(attrs).filter(key => {\n          // TODO: Remove once resolved\n          // https://github.com/vuejs/vue/issues/7841\n          if (key === 'slot') return false\n\n          const value = attrs[key]\n\n          // add back data attributes like data-test=\"foo\" but do not\n          // add them as classes\n          if (key.startsWith('data-')) {\n            data.attrs![key] = value\n            return false\n          }\n\n          return value || typeof value === 'string'\n        })\n\n        if (classes.length) data.staticClass += ` ${classes.join(' ')}`\n      }\n\n      if (props.id) {\n        data.domProps = data.domProps || {}\n        data.domProps.id = props.id\n      }\n\n      return h(props.tag, data, children)\n    },\n  })\n}\n","import './_grid.sass'\nimport './VGrid.sass'\n\nimport Grid from './grid'\n\nimport mergeData from '../../util/mergeData'\n\n/* @vue/component */\nexport default Grid('container').extend({\n  name: 'v-container',\n  functional: true,\n  props: {\n    id: String,\n    tag: {\n      type: String,\n      default: 'div',\n    },\n    fluid: {\n      type: Boolean,\n      default: false,\n    },\n  },\n  render (h, { props, data, children }) {\n    let classes\n    const { attrs } = data\n    if (attrs) {\n      // reset attrs to extract utility clases like pa-3\n      data.attrs = {}\n      classes = Object.keys(attrs).filter(key => {\n        // TODO: Remove once resolved\n        // https://github.com/vuejs/vue/issues/7841\n        if (key === 'slot') return false\n\n        const value = attrs[key]\n\n        // add back data attributes like data-test=\"foo\" but do not\n        // add them as classes\n        if (key.startsWith('data-')) {\n          data.attrs![key] = value\n          return false\n        }\n\n        return value || typeof value === 'string'\n      })\n    }\n\n    if (props.id) {\n      data.domProps = data.domProps || {}\n      data.domProps.id = props.id\n    }\n\n    return h(\n      props.tag,\n      mergeData(data, {\n        staticClass: 'container',\n        class: Array<any>({\n          'container--fluid': props.fluid,\n        }).concat(classes || []),\n      }),\n      children\n    )\n  },\n})\n","// Styles\nimport './VCheckbox.sass'\nimport '../../styles/components/_selection-controls.sass'\n\n// Components\nimport VIcon from '../VIcon'\nimport VInput from '../VInput'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\n\n/* @vue/component */\nexport default Selectable.extend({\n  name: 'v-checkbox',\n\n  props: {\n    indeterminate: Boolean,\n    indeterminateIcon: {\n      type: String,\n      default: '$checkboxIndeterminate',\n    },\n    offIcon: {\n      type: String,\n      default: '$checkboxOff',\n    },\n    onIcon: {\n      type: String,\n      default: '$checkboxOn',\n    },\n  },\n\n  data () {\n    return {\n      inputIndeterminate: this.indeterminate,\n    }\n  },\n\n  computed: {\n    classes (): object {\n      return {\n        ...VInput.options.computed.classes.call(this),\n        'v-input--selection-controls': true,\n        'v-input--checkbox': true,\n        'v-input--indeterminate': this.inputIndeterminate,\n      }\n    },\n    computedIcon (): string {\n      if (this.inputIndeterminate) {\n        return this.indeterminateIcon\n      } else if (this.isActive) {\n        return this.onIcon\n      } else {\n        return this.offIcon\n      }\n    },\n    // Do not return undefined if disabled,\n    // according to spec, should still show\n    // a color when disabled and active\n    validationState (): string | undefined {\n      if (this.isDisabled && !this.inputIndeterminate) return undefined\n      if (this.hasError && this.shouldValidate) return 'error'\n      if (this.hasSuccess) return 'success'\n      if (this.hasColor !== null) return this.computedColor\n      return undefined\n    },\n  },\n\n  watch: {\n    indeterminate (val) {\n      // https://github.com/vuetifyjs/vuetify/issues/8270\n      this.$nextTick(() => (this.inputIndeterminate = val))\n    },\n    inputIndeterminate (val) {\n      this.$emit('update:indeterminate', val)\n    },\n    isActive () {\n      if (!this.indeterminate) return\n      this.inputIndeterminate = false\n    },\n  },\n\n  methods: {\n    genCheckbox () {\n      return this.$createElement('div', {\n        staticClass: 'v-input--selection-controls__input',\n      }, [\n        this.$createElement(VIcon, this.setTextColor(this.validationState, {\n          props: {\n            dense: this.dense,\n            dark: this.dark,\n            light: this.light,\n          },\n        }), this.computedIcon),\n        this.genInput('checkbox', {\n          ...this.attrs$,\n          'aria-checked': this.inputIndeterminate\n            ? 'mixed'\n            : this.isActive.toString(),\n        }),\n        this.genRipple(this.setTextColor(this.rippleState)),\n      ])\n    },\n    genDefaultSlot () {\n      return [\n        this.genCheckbox(),\n        this.genLabel(),\n      ]\n    },\n  },\n})\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\"}},[_c('div',[_c('v-row',{staticClass:\"text-center\"},[_c('v-col',[_c('h1',[_vm._v(\"Team Invitation\")])])],1)],1),_c('div',{staticClass:\"header-divider\"}),(_vm.buyerDetailsLoading)?_c('LoadingSpinner'):_vm._e(),(!_vm.registered)?[_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{attrs:{\"xs\":\"12\",\"sm\":\"8\",\"lg\":\"4\"}},[_c('v-card',{attrs:{\"outlined\":\"\"}},[_c('v-card-text',[(!_vm.buyerDetailsLoading)?_c('div',{staticClass:\"pb-4\"},[_vm._v(\" You have been invited to join \"+_vm._s(_vm.buyerName)+\" as a team member. To join this team, please fill in your information below. \")]):_vm._e(),_c('v-text-field',{attrs:{\"id\":\"email\",\"type\":\"email\",\"disabled\":\"\",\"outlined\":\"\",\"rounded\":\"\",\"placeholder\":\"Enter your email address...\",\"label\":\"Email Address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('v-text-field',{attrs:{\"id\":\"first-name\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":\"Enter your first name...\",\"label\":\"First name\"},model:{value:(_vm.firstName),callback:function ($$v) {_vm.firstName=$$v},expression:\"firstName\"}}),_c('v-text-field',{attrs:{\"id\":\"surname\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"text\",\"placeholder\":\"Enter your surname...\",\"label\":\"Surname\"},model:{value:(_vm.surname),callback:function ($$v) {_vm.surname=$$v},expression:\"surname\"}}),(!_vm.authed && _vm.showPasswordField)?_c('v-text-field',{attrs:{\"id\":\"password\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"password\",\"placeholder\":\"Enter your password...\",\"label\":\"Password\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}):_vm._e(),(!_vm.authed && _vm.showPasswordField)?_c('v-text-field',{attrs:{\"id\":\"confirm-password\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"password\",\"placeholder\":\"Enter your password again...\",\"label\":\"Confirm Password\",\"hide-details\":\"\"},model:{value:(_vm.confirmPassword),callback:function ($$v) {_vm.confirmPassword=$$v},expression:\"confirmPassword\"}}):_vm._e(),_c('div',{staticClass:\"d-flex align-center\"},[_c('v-checkbox',{model:{value:(_vm.termsAgreed),callback:function ($$v) {_vm.termsAgreed=$$v},expression:\"termsAgreed\"}}),_c('span',[_vm._v(\" I agree to the \"),_c('a',{attrs:{\"href\":\"/terms\",\"target\":\"_blank\"}},[_vm._v(\"Terms & Conditions\")]),_vm._v(\" and \"),_c('a',{attrs:{\"href\":\"/privacy\",\"target\":\"_blank\"}},[_vm._v(\"Privacy Policy\")])])],1)],1)],1)],1)],1),_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"large\":\"\",\"rounded\":\"\",\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.acceptInvitationDialog = true}}},[_vm._v(\"Join Team\")])],1)],1)]:_vm._e(),(_vm.registered)?_c('v-card-text',[(!_vm.authed)?_c('v-sheet',{staticClass:\"pa-5\",attrs:{\"color\":\"primary\"}},[_vm._v(\"Invite Accepted. Thank you for signing up with Procure Tool. Please click the verification link we sent to your email address.\")]):_vm._e()],1):_vm._e(),(_vm.registered)?_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"large\":\"\",\"rounded\":\"\",\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function () { return _vm.$router.replace('/'); }}},[_vm._v(\"Go to Sign In\")])],1)],1):_vm._e(),_c('v-dialog',{attrs:{\"width\":\"800\"},model:{value:(_vm.acceptInvitationDialog),callback:function ($$v) {_vm.acceptInvitationDialog=$$v},expression:\"acceptInvitationDialog\"}},[_c('ConfirmDialog',{attrs:{\"actionText\":'Accept',\"color\":'primary',\"header\":'Accept Invitation',\"onActionComplete\":function () {\n\t\t\t\t\t/* */\n\t\t\t\t},\"cancelText\":'Cancel',\"action\":function () { return _vm.acceptInvitation(); },\"message\":'Are you sure you want to accept this invitation',\"cancelAction\":function () { return (_vm.acceptInvitationDialog = false); }}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { namespace } from 'vuex-class';\r\nimport { Route } from 'vue-router';\r\nimport Toast from '@/services/toast.service';\r\nimport ConfirmDialog from '@/components/ConfirmDialog.vue';\r\nimport StartEndDate from '@/components/StartEndDate.vue';\r\nimport PolicyDisplay from '@/components/PolicyDisplay.vue';\r\nimport LoadingSpinner from '@/components/LoadingSpinner.vue';\r\nimport DateService from '@/services/date.service';\r\n// eslint-disable-next-line\r\nimport jwt_decode from 'jwt-decode';\r\nimport { AUTHED } from '@/store/auth/getters';\r\nimport TeamApiService from '@/api/team.api';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { ConfirmDialog, LoadingSpinner, StartEndDate, PolicyDisplay }\r\n})\r\nexport default class InviteDetails extends Vue {\r\n\t@auth.Getter(AUTHED) public authed!: boolean;\r\n\tpublic email = '';\r\n\tpublic buyerName = '';\r\n\tpublic buyerDetailsLoading = false;\r\n\tpublic acceptInvitationDialog = false;\r\n\tpublic password = '';\r\n\tpublic confirmPassword = '';\r\n\tpublic firstName = '';\r\n\tpublic surname = '';\r\n\tpublic termsAgreed = false;\r\n\tpublic registered = false;\r\n\tpublic showPasswordField = true;\r\n\r\n\tpublic submitting = false;\r\n\tpublic accepting = false;\r\n\tpublic token = '';\r\n\r\n\tpublic itemHeaders: any[] = [];\r\n\r\n\tcreated() {\r\n\t\tthis.token = localStorage.getItem('invite-token') as string;\r\n\t\tif (!this.token) this.$router.back();\r\n\r\n\t\tconst decodedToken = jwt_decode(this.token) as any;\r\n\t\tthis.email = decodedToken.inviteeEmail;\r\n\r\n\t\tthis.getInviteDetails();\r\n\t}\r\n\r\n\tpublic isMobile() {\r\n\t\treturn this.$vuetify.breakpoint.name === 'xs';\r\n\t}\r\n\r\n\tpublic acceptInvitation() {\r\n\t\tif (!this.firstName.trim().length) {\r\n\t\t\tToast.error('You must provide your first name');\r\n\t\t\treturn Promise.reject();\r\n\t\t}\r\n\r\n\t\tif (!this.surname.trim().length) {\r\n\t\t\tToast.error('You must provide your surname');\r\n\t\t\treturn Promise.reject();\r\n\t\t}\r\n\r\n\t\tif (!this.authed) {\r\n\t\t\tif (this.password.trim() !== this.confirmPassword.trim()) {\r\n\t\t\t\tToast.error('Passwords do not match');\r\n\t\t\t\treturn Promise.reject();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!this.termsAgreed) {\r\n\t\t\tToast.error('You must agree to the terms & conditions and privacy policy');\r\n\t\t\treturn Promise.reject();\r\n\t\t}\r\n\r\n\t\tthis.accepting = true;\r\n\t\treturn TeamApiService.acceptInvitation({\r\n\t\t\ttoken: this.token,\r\n\t\t\ttermsAgreed: this.termsAgreed,\r\n\t\t\tfirstName: this.firstName,\r\n\t\t\tsurname: this.surname,\r\n\t\t\tpassword: this.password\r\n\t\t})\r\n\t\t\t.then(res => {\r\n\t\t\t\tToast.success('Invite Accepted');\r\n\t\t\t\tlocalStorage.removeItem('invite-token');\r\n\t\t\t\tif (this.authed) {\r\n\t\t\t\t\tlocation.reload();\r\n\t\t\t\t}\r\n\t\t\t\tthis.registered = true;\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tToast.error(err);\r\n\t\t\t})\r\n\t\t\t.finally(() => (this.accepting = false));\r\n\t}\r\n\r\n\tpublic getInviteDetails() {\r\n\t\tif (this.token) {\r\n\t\t\tthis.buyerDetailsLoading = true;\r\n\t\t\tTeamApiService.getInviteDetails(this.token)\r\n\t\t\t\t.then(res => {\r\n\t\t\t\t\tthis.buyerName = res.buyerName;\r\n\t\t\t\t\tthis.showPasswordField = res.shouldShowPasswordField;\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tToast.error(err);\r\n\t\t\t\t\tlocalStorage.removeItem('invite-token');\r\n\t\t\t\t\tthis.$router.back();\r\n\t\t\t\t})\r\n\t\t\t\t.finally(() => (this.buyerDetailsLoading = false));\r\n\t\t}\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteDetails.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InviteDetails.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InviteDetails.vue?vue&type=template&id=2458e4d1&scoped=true&\"\nimport script from \"./InviteDetails.vue?vue&type=script&lang=ts&\"\nexport * from \"./InviteDetails.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InviteDetails.vue?vue&type=style&index=0&id=2458e4d1&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  \"2458e4d1\",\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCheckbox,VCol,VContainer,VDialog,VRow,VSheet,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center \"},[_c('div',{staticClass:\"header-details pl-8\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('StartEndDate.StartDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedStartDate))])]),_c('div',{staticClass:\"header-details pl-8\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('StartEndDate.EndDate')))]),_c('div',{},[_vm._v(_vm._s(_vm.formattedEndDate))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport DateService from '@/services/date.service';\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class StartEndDate extends Vue {\r\n\t@Prop() public startDate!: string;\r\n\t@Prop() public endDate!: string;\r\n\r\n\tpublic formattedStartDate = '';\r\n\tpublic formattedEndDate = '';\r\n\r\n\t@Watch('startDate') public onStartDateChange(newVal: number) {\r\n\t\tthis.formattedStartDate = DateService.formatDateString(this.startDate);\r\n\t}\r\n\r\n\t@Watch('endDate') public onEndDateChange(newVal: number) {\r\n\t\tthis.formattedEndDate = DateService.formatDateString(this.endDate);\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tthis.formattedStartDate = DateService.formatDateString(this.startDate);\r\n\t\tthis.formattedEndDate = DateService.formatDateString(this.endDate);\r\n\t}\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StartEndDate.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StartEndDate.vue?vue&type=template&id=76fcbea8&\"\nimport script from \"./StartEndDate.vue?vue&type=script&lang=ts&\"\nexport * from \"./StartEndDate.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StartEndDate.vue?vue&type=style&index=0&lang=scss&\"\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":""}