{"version":3,"sources":["webpack:///./src/pages/Homeowner/registration/HomeownerRegistration.vue?a842","webpack:///src/pages/Homeowner/registration/HomeownerRegistration.vue","webpack:///./src/pages/Homeowner/registration/HomeownerRegistration.vue?5148","webpack:///./src/pages/Homeowner/registration/HomeownerRegistration.vue","webpack:///./src/services/registration.js","webpack:///./src/pages/Homeowner/registration/HomeownerRegistration.vue?c789"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","attrs","activeStep","ref","scopedSlots","_u","key","fn","handleSubmit","status","STATUS_INIT","STATUS_LOADING","STATUS_SUBMITTED","_e","STATUS_CODE_VALID","_s","validUnit","ownerName","address","addressOne","city","state","postalCode","on","verify","STATUS_VERIFIED","STATUS_ERROR","$event","preventDefault","onFormSubmit","model","value","formData","callback","$$v","$set","expression","errors","errorMsg","STATUS_COMPLETE","staticRenderFns","email","firstName","lastName","password","agreeToTerms","components","ValidInput","ValidSelect","ValidationObserver","ValidationProvider","JsonBox","data","isDebug","formComplete","methods","error","console","log","msg","resetForm","$refs","form","reset","getFormPayload","payload","signupCode","code","nextWizardStepAfterTwoFactor","component","registration","RegisterHOABoardMember","url","KMS_BACKEND","axios","post","catch","handleServiceErrors","resp","ConfirmEmail","userID","confirmEmailToken","scope","appId","token","refreshToken","expiration","auth","saveToken","initUser","GetBoardMemberQuestions","get","headers","authHeaders","SubmitBoardMemberAnswers","boardMemberAnswers","ValidateOwnerSignupCode","params","ValidateOwnerSignupCodeWithSuccess","ValidateVendorSignupCodeWithSuccess","ValidateVendorSignupCode","CheckUserExists","emailAddress","RegisterOwner","RegisterVendor"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACE,YAAY,oCAAoC,CAACF,EAAG,MAAM,C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Q,CAAE/B,gBAAgBU,MAAMC,QAF5C,cAElBC,EAFkB,yBAGjBA,EAAK1B,MAHY,2CAAF,sDAAE,GAQ1BiD,gBAAiB,WAAF,8CAAE,WAAOC,EAAcpC,GAArB,gGACTM,EADS,UACAC,OADA,kCAEIC,IAChBiB,IAAInB,EAAK,CAAEyB,OAAQ,CAAEK,eAAcpC,gBACnCU,MAAMC,QAJM,cAETC,EAFS,yBAKRA,EAAK1B,MALG,2CAAF,wDAAE,GASjBmD,cAAe,WAAF,8CAAE,WAAMtC,GAAN,gGACPO,EADO,UACEC,OADF,gCAEMC,IAAMC,KAAKH,EAAKP,GAASW,MAAMC,QAFrC,cAEPC,EAFO,yBAGNA,EAAK1B,MAHC,2CAAF,sDAAE,GAOfoD,eAAgB,WAAF,8CAAE,WAAMvC,GAAN,gGACRO,EADQ,UACCC,OADD,iCAEKC,IAAMC,KAAKH,EAAKP,GAASW,MAAMC,QAFpC,cAERC,EAFQ,yBAGPA,EAAK1B,MAHE,2CAAF,sDAAE,IAOHkB,U,2DCjGf,yBAA4lB,EAAG","file":"js/chunk-293b96f0.a1882826.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"section registration\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"columns is-centered is-vcentered\"},[_c('div',{staticClass:\"column is-three-fifths\"},[_c('div',{staticClass:\"form-box\"},[_c('h3',{staticClass:\"has-text-centered\"},[_vm._v(\"Homeowner Registration\")]),_c('b-steps',{attrs:{\"has-navigation\":false,\"mobile-mode\":null,\"value\":_vm.activeStep}},[_c('b-step-item',{attrs:{\"label\":\"Validation\",\"icon\":\"account-key\",\"clickable\":false}}),_c('b-step-item',{attrs:{\"label\":\"Profile\",\"icon\":\"account\",\"clickable\":false}}),_c('b-step-item',{attrs:{\"label\":\"Confirmation\",\"icon\":\"account-plus\",\"clickable\":false}})],1),_c('ValidationObserver',{ref:\"form\",scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar handleSubmit = ref.handleSubmit;\nreturn [_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\",\"appear\":\"\"}},[(_vm.status === _vm.STATUS_INIT)?_c('div',{staticClass:\"has-responsive-type has-text-centered\"},[_c('h4',[_vm._v(\"Initializing...\")])]):(_vm.status === _vm.STATUS_LOADING)?_c('div',{staticClass:\"has-responsive-type has-text-centered\"},[_c('h4',[_vm._v(\"Loading...\")])]):(_vm.status === _vm.STATUS_SUBMITTED)?_c('div',{staticClass:\"has-responsive-type has-text-centered\"},[_c('h4',[_vm._v(\"Processing...\")])]):_vm._e(),(_vm.status === _vm.STATUS_CODE_VALID)?_c('div',{staticClass:\"has-responsive-type\"},[_c('h4',[_vm._v(\"Please start by verifying your name and address.\")]),_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-content has-text-centered\"},[_c('h5',[_vm._v(_vm._s(_vm.validUnit.ownerName || ''))]),_c('h6',[_vm._v(\" \"+_vm._s(_vm.validUnit.address.addressOne || '')+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.validUnit.address.city || '')+\", \"+_vm._s(_vm.validUnit.address.state || '')+\" \"+_vm._s(_vm.validUnit.address.postalCode || '')+\" \")]),_c('button',{staticClass:\"button is-primary is-fullwidth is-medium\",on:{\"click\":_vm.verify}},[_vm._v(\" Yes. This is me. \")])])])]):(_vm.status === _vm.STATUS_VERIFIED || _vm.status === _vm.STATUS_ERROR)?_c('form',{staticClass:\"form\",on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.onFormSubmit)}}},[_c('h4',[_vm._v(\"Now, let's setup your account.\")]),_c('fieldset',[_c('div',{staticClass:\"form-grid\"},[_c('div',{staticClass:\"column is-12\"},[_c('h5',[_vm._v(\" Please confirm your name, email, and password. \")])]),_c('div',{staticClass:\"column is-6\"},[_c('valid-input',{attrs:{\"type\":\"text\",\"vid\":\"firstName\",\"placeholder\":\"First Name\",\"rules\":\"required\",\"autocomplete\":\"off\"},model:{value:(_vm.formData.firstName),callback:function ($$v) {_vm.$set(_vm.formData, \"firstName\", $$v)},expression:\"formData.firstName\"}})],1),_c('div',{staticClass:\"column is-6\"},[_c('valid-input',{attrs:{\"type\":\"text\",\"vid\":\"lastName\",\"placeholder\":\"Last name\",\"rules\":\"required\"},model:{value:(_vm.formData.lastName),callback:function ($$v) {_vm.$set(_vm.formData, \"lastName\", $$v)},expression:\"formData.lastName\"}})],1),_c('div',{staticClass:\"column is-12\"},[_c('valid-input',{attrs:{\"type\":\"email\",\"vid\":\"email\",\"placeholder\":\"Email\",\"icon\":\"email\",\"rules\":\"required|email\"},model:{value:(_vm.formData.email),callback:function ($$v) {_vm.$set(_vm.formData, \"email\", $$v)},expression:\"formData.email\"}})],1)])]),_c('fieldset',[_c('div',{staticClass:\"form-grid\"},[_c('div',{staticClass:\"column\"},[_c('valid-input',{attrs:{\"name\":\"password\",\"vid\":\"password\",\"type\":\"password\",\"placeholder\":\"Password\",\"icon\":\"lock\",\"rules\":\"required|min:6\"},model:{value:(_vm.formData.password),callback:function ($$v) {_vm.$set(_vm.formData, \"password\", $$v)},expression:\"formData.password\"}})],1)])]),_c('div',[_c('a',{attrs:{\"href\":\"https://hoamyway.com/portal-terms-and-conditions\",\"alt\":\"View Terms and Conditions\",\"target\":\"_blank\"}},[_vm._v(\"View Terms and Conditions\")])]),_c('fieldset',[_c('ValidationProvider',{attrs:{\"vid\":\"terms\",\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('div',{staticClass:\"field\"},[_c('b-checkbox',{attrs:{\"required\":\"\"},model:{value:(_vm.formData.agreeToTerms),callback:function ($$v) {_vm.$set(_vm.formData, \"agreeToTerms\", $$v)},expression:\"formData.agreeToTerms\"}},[_vm._v(\" I agree to the Terms & Conditions \")]),_c('span',[_vm._v(_vm._s(errors[0]))])],1)]}}],null,true)})],1),(_vm.status === _vm.STATUS_ERROR)?_c('div',{staticClass:\"has-responsive-type has-text-centered error-box\"},[_c('h4',[_vm._v(\"An error has occured.\")]),_c('p',[_vm._v(_vm._s(_vm.errorMsg))])]):_vm._e(),_c('button',{staticClass:\"button is-primary is-fullwidth\",attrs:{\"type\":\"submit\",\"disabled\":_vm.status === _vm.STATUS_SUBMITTED}},[_vm._v(\" Submit Registration \")])]):(_vm.status === _vm.STATUS_COMPLETE)?_c('div',{staticClass:\"has-responsive-type has-text-centered\"},[_c('h4',[_vm._v(\" Thank you for registering. \")]),_c('div',{staticClass:\"content\"},[_c('p',[_vm._v(\"Your information has been received.\")]),_c('p',[_vm._v(\" Please check your email for a confirmation link. \")])])]):_vm._e()])]}}])})],1)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n Homeowner Registration\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Initializing...\r\n \r\n \r\n Loading...\r\n \r\n \r\n Processing...\r\n \r\n \r\n Please start by verifying your name and address.\r\n \r\n \r\n \r\n {{ validUnit.ownerName || '' }}\r\n \r\n {{ validUnit.address.addressOne || '' }}\r\n \r\n {{ validUnit.address.city || '' }}, {{ validUnit.address.state || '' }}\r\n {{ validUnit.address.postalCode || '' }}\r\n \r\n\r\n \r\n Yes. This is me.\r\n \r\n \r\n \r\n \r\n\r\n \r\n Now, let's setup your account.\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n Please confirm your name, email, and password.\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n View Terms and Conditions\r\n \r\n\r\n \r\n \r\n \r\n \r\n I agree to the Terms & Conditions\r\n \r\n {{ errors[0] }}\r\n \r\n \r\n \r\n\r\n \r\n An error has occured.\r\n {{ errorMsg }}\r\n \r\n\r\n \r\n Submit Registration\r\n \r\n \r\n\r\n \r\n \r\n Thank you for registering.\r\n \r\n \r\n Your information has been received.\r\n \r\n Please check your email for a confirmation link.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeownerRegistration.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HomeownerRegistration.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./HomeownerRegistration.vue?vue&type=template&id=633bed22&scoped=true&\"\nimport script from \"./HomeownerRegistration.vue?vue&type=script&lang=js&\"\nexport * from \"./HomeownerRegistration.vue?vue&type=script&lang=js&\"\nimport style0 from \"./HomeownerRegistration.vue?vue&type=style&index=0&id=633bed22&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 \"633bed22\",\n null\n \n)\n\nexport default component.exports","import axios from 'axios'\r\nimport auth from '@/services/_auth'\r\nimport { KMS_BACKEND, appId } from '@/config'\r\nimport { handleServiceErrors } from '@/services/errors'\r\n\r\n// KMS Backend Registration Service\r\nconst registration = {\r\n // Register management user\r\n RegisterHOABoardMember: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterHOABoardMember`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n ConfirmEmail: async (userID, confirmEmailToken) => {\r\n const url = `${KMS_BACKEND}/User/ConfirmEmail`\r\n const data = { userID, confirmEmailToken, scope: appId() }\r\n const resp = await axios.post(url, data).catch(handleServiceErrors)\r\n\r\n // Email confirmation gives back valid token\r\n // Use it to init authenticated user\r\n const { token, refreshToken, expiration } = resp.data\r\n auth.saveToken(token, refreshToken, expiration)\r\n return await auth.initUser()\r\n },\r\n\r\n GetBoardMemberQuestions: async () => {\r\n const url = `${KMS_BACKEND}/BoardMemberQuestion/List`\r\n const resp = await axios.get(url, { headers: auth.authHeaders() }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n SubmitBoardMemberAnswers: async payload => {\r\n const url = `${KMS_BACKEND}/BoardMemberAnswer/SubmitAnswers`\r\n const resp = await axios\r\n .post(url, { boardMemberAnswers: payload }, { headers: auth.authHeaders() })\r\n .catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the unit/owner info to display to the user for verification.\r\n ValidateOwnerSignupCode: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateOwnerSignupCode`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the unit/owner info to display to the user for verification.\r\n ValidateOwnerSignupCodeWithSuccess: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateOwnerSignupCodeWithSuccess`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns true for verification.\r\n ValidateVendorSignupCodeWithSuccess: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateVendorSignupCodeWithSuccess`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Validates that a signup code exists, and if it does,\r\n // returns the vendor info to display to the user for verification.\r\n ValidateVendorSignupCode: async signupCode => {\r\n const url = `${KMS_BACKEND}/User/ValidateVendorSignupCode`\r\n const resp = await axios.get(url, { params: { signupCode } }).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Checks whether an identity exists for a given email address in the database.\r\n // Valid signup code required to prevent possible brute force email address checks\r\n CheckUserExists: async (emailAddress, signupCode) => {\r\n const url = `${KMS_BACKEND}/User/CheckUserExists`\r\n const resp = await axios\r\n .get(url, { params: { emailAddress, signupCode } })\r\n .catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Register homeowner\r\n RegisterOwner: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterOwner`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n },\r\n\r\n // Register vendor\r\n RegisterVendor: async payload => {\r\n const url = `${KMS_BACKEND}/User/RegisterVendor`\r\n const resp = await axios.post(url, payload).catch(handleServiceErrors)\r\n return resp.data\r\n }\r\n}\r\n\r\nexport default registration\r\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!./HomeownerRegistration.vue?vue&type=style&index=0&id=633bed22&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!./HomeownerRegistration.vue?vue&type=style&index=0&id=633bed22&lang=scss&scoped=true&\""],"sourceRoot":""}
{{ errorMsg }}
Your information has been received.
\r\n Please check your email for a confirmation link.\r\n