{"version":3,"sources":["webpack:///./src/views/auth/SignUp.vue?0d4e","webpack:///./src/views/auth/ResendConfirmation.vue?5549","webpack:///./src/views/auth/ResendConfirmation.vue","webpack:///./src/views/auth/ResendConfirmation.vue?b25e","webpack:///./src/views/auth/ResendConfirmation.vue?3bf4","webpack:///./src/views/auth/SignUp.vue","webpack:///./src/views/auth/SignUp.vue?4eaf","webpack:///./src/views/auth/SignUp.vue?8d45","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts","webpack:///../../../src/components/VCheckbox/VCheckbox.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","registered","_e","_v","model","value","callback","$$v","email","expression","confirmEmail","firstName","surname","password","confirmPassword","termsAgreed","on","$event","register","$router","push","staticRenderFns","resend","auth","namespace","ResendConfirmation","Vue","constructor","length","resendSignUp","then","Toast","success","error","__decorate","Action","RESEND_SIGN_UP","Component","components","component","VBtn","SignUp","trim","signUp","username","attributes","given_name","family_name","Date","toString","catch","err","SIGN_UP","Logo","VCard","VCardText","VCardTitle","VCheckbox","VCol","VContainer","VRow","VSheet","VTextField","VGrid","name","extend","functional","props","id","String","tag","type","default","h","data","children","classes","Object","keys","filter","key","startsWith","join","domProps","Grid","fluid","Boolean","mergeData","class","Array","concat","Selectable","indeterminate","indeterminateIcon","offIcon","onIcon","inputIndeterminate","computed","VInput","options","call","computedIcon","isActive","validationState","isDisabled","hasError","shouldValidate","hasSuccess","hasColor","computedColor","watch","val","$nextTick","$emit","methods","genCheckbox","VIcon","setTextColor","dense","dark","light","genInput","attrs$","genRipple","rippleState","genDefaultSlot","genLabel"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MA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sCACZ,CACDL,KAAKE,eAAewH,OAAO1H,KAAK2H,aAAa3H,KAAK6G,gBAAiB,CACjEpC,MAAO,CACLmD,MAAO5H,KAAK4H,MACZC,KAAM7H,KAAK6H,KACXC,MAAO9H,KAAK8H,SAEZ9H,KAAK2G,cACT3G,KAAK+H,SAAS,WAAY,IACrB/H,KAAKgI,OACR,eAAgBhI,KAAKsG,mBACjB,QACAtG,KAAK4G,SAASrD,aAEpBvD,KAAKiI,UAAUjI,KAAK2H,aAAa3H,KAAKkI,iBAG1CC,iBACE,MAAO,CACLnI,KAAKyH,cACLzH,KAAKoI","file":"js/sign-up.dba2ecf0.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"columns\"},[_c('div',{staticClass:\"column is-6\"},[_c('div',{staticClass:\"panel\"},[_c('v-container',[_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('Logo',{attrs:{\"size\":\"lg\"}})],1)],1),_c('v-row',{staticClass:\"justify-center\"},[_c('v-col',{attrs:{\"xs\":\"12\",\"sm\":\"8\",\"lg\":\"4\"}},[_c('v-card',{attrs:{\"outlined\":\"\"}},[(!_vm.registered)?[_c('v-card-title',[_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[_c('div',{staticClass:\"display-1\"},[_vm._v(\"Sign Up\")])])],1)],1),_c('v-card-text',[_c('v-text-field',{attrs:{\"id\":\"email\",\"type\":\"email\",\"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\":\"confirm-email\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"email\",\"placeholder\":\"Enter your email address again...\",\"label\":\"Confrim Email Address\"},model:{value:(_vm.confirmEmail),callback:function ($$v) {_vm.confirmEmail=$$v},expression:\"confirmEmail\"}}),_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\"}}),_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\"}}),_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\"}}),_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),_c('v-row',[_c('v-col',[_c('v-btn',{attrs:{\"large\":\"\",\"rounded\":\"\",\"depressed\":\"\",\"color\":\"primary\",\"block\":\"\"},on:{\"click\":function($event){return _vm.register()}}},[_vm._v(\"Sign up\")])],1)],1)],1)]:_vm._e(),(_vm.registered)?_c('v-card-text',[_c('v-sheet',{staticClass:\"pa-5\",attrs:{\"color\":\"primary\"}},[_vm._v(\"Thank you for signing up with Procure Tool. Please click the verification link we sent to your email address.\")])],1):_vm._e()],2),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{staticClass:\"text-center\"},[_vm._v(\"Already have an account?\")])],1),_c('v-row',[_c('v-col',[_c('v-btn',{attrs:{\"large\":\"\",\"outlined\":\"\",\"rounded\":\"\",\"color\":\"primary\",\"block\":\"\"},on:{\"click\":function($event){return _vm.$router.push('/signin')}}},[_vm._v(\"Log in here!\")])],1)],1)],1)],1)],1)],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"title\"},[_vm._v(\"Resend verification email\")]),_c('Input',{attrs:{\"id\":\"email\",\"type\":\"email\",\"placeholder\":\"Enter your email address...\",\"label\":\"Email Address\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}}),_c('v-btn',{staticClass:\"button primary\",on:{\"click\":function($event){return _vm.resend()}}},[_vm._v(\"Send\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport Toast from '@/services/toast.service';\r\nimport { namespace } from 'vuex-class';\r\nimport { RESEND_SIGN_UP } from '@/store/auth/actions';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: {}\r\n})\r\nexport default class ResendConfirmation extends Vue {\r\n\t@auth.Action(RESEND_SIGN_UP) public resendSignUp: any;\r\n\tpublic email = '';\r\n\r\n\tpublic resend(): void {\r\n\t\tif (!this.email.length) {\r\n\t\t\tToast.error('Email address cannot be empty');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.resendSignUp(this.email).then(() => {\r\n\t\t\tToast.success('Confirmation email sent.');\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!./ResendConfirmation.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!./ResendConfirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ResendConfirmation.vue?vue&type=template&id=2445e0cc&\"\nimport script from \"./ResendConfirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./ResendConfirmation.vue?vue&type=script&lang=ts&\"\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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport Logo from '@/components/Logo.vue';\r\nimport ResendConfirmation from './ResendConfirmation.vue';\r\nimport Toast from '@/services/toast.service';\r\nimport { SIGN_UP } from '@/store/auth/actions';\r\nimport { namespace } from 'vuex-class';\r\n\r\nconst auth = namespace('auth');\r\n\r\n@Component({\r\n\tcomponents: { Logo, ResendConfirmation }\r\n})\r\nexport default class SignUp extends Vue {\r\n\t@auth.Action(SIGN_UP) signUp!: any;\r\n\tpublic email = '';\r\n\tpublic confirmEmail = '';\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\r\n\tpublic register(): void {\r\n\t\tif (this.email.trim() !== this.confirmEmail.trim()) {\r\n\t\t\tToast.error('Email addresses do not match');\r\n\t\t\treturn;\r\n\t\t}\r\n\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;\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;\r\n\t\t}\r\n\r\n\t\tif (this.password.trim() !== this.confirmPassword.trim()) {\r\n\t\t\tToast.error('Passwords do not match');\r\n\t\t\treturn;\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;\r\n\t\t}\r\n\r\n\t\tthis.signUp({\r\n\t\t\tusername: this.email.trim(),\r\n\t\t\tpassword: this.password.trim(),\r\n\t\t\tattributes: {\r\n\t\t\t\temail: this.email.trim(),\r\n\t\t\t\t/* eslint-disable @typescript-eslint/camelcase  */\r\n\t\t\t\tgiven_name: this.firstName.trim(),\r\n\t\t\t\t/* eslint-disable @typescript-eslint/camelcase  */\r\n\t\t\t\tfamily_name: this.surname.trim(),\r\n\t\t\t\t'custom:termsAgreedDate': new Date().toString(),\r\n\t\t\t\t'custom:termsAgreed': this.termsAgreed.toString()\r\n\t\t\t}\r\n\t\t})\r\n\t\t\t.then(() => {\r\n\t\t\t\tToast.success('A verification link has been sent to your email address');\r\n\t\t\t\tthis.registered = true;\r\n\t\t\t})\r\n\t\t\t.catch((err: string) => {\r\n\t\t\t\tToast.error(err);\r\n\t\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!./SignUp.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!./SignUp.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SignUp.vue?vue&type=template&id=98ffe900&\"\nimport script from \"./SignUp.vue?vue&type=script&lang=ts&\"\nexport * from \"./SignUp.vue?vue&type=script&lang=ts&\"\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\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 { VCardTitle } 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 { 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,VCardTitle,VCheckbox,VCol,VContainer,VRow,VSheet,VTextField})\n","// 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"],"sourceRoot":""}