{"version":3,"sources":["webpack:///./src/pages/Homeowner/registration/HomeownerRegistration.vue?a842","webpack:///./src/components/JsonBox.vue?7d0b","webpack:///src/components/JsonBox.vue","webpack:///./src/components/JsonBox.vue?c38c","webpack:///./src/components/JsonBox.vue","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/components/inputs/ValidSelect.vue?142b","webpack:///src/components/inputs/ValidSelect.vue","webpack:///./src/components/inputs/ValidSelect.vue?4c9f","webpack:///./src/components/inputs/ValidSelect.vue","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","dump","props","computed","JSON","stringify","component","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","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","vid","$attrs","rules","valid","_b","innerValue","_t","type","String","Object","default","watch","$emit","newVal","created"],"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,CAACE,YAAY,0BAA0B,CAACF,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,KAAK,CAACE,YAAY,qBAAqB,CAACN,EAAIO,GAAG,4BAA4BH,EAAG,UAAU,CAACI,MAAM,CAAC,kBAAiB,EAAM,cAAc,KAAK,MAAQR,EAAIS,aAAa,CAACL,EAAG,cAAc,CAACI,MAAM,CAAC,MAAQ,aAAa,KAAO,cAAc,WAAY,KAASJ,EAAG,cAAc,CAACI,MAAM,CAAC,MAAQ,UAAU,KAAO,UAAU,WAAY,KAASJ,EAAG,cAAc,CAACI,MAAM,CAAC,MAAQ,eAAe,KAAO,eAAe,WAAY,MAAU,GAAGJ,EAAG,qBAAqB,CAACM,IAAI,OAAOC,YAAYX,EAAIY,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASJ,GACp0B,IAAIK,EAAeL,EAAIK,aACvB,MAAO,CAACX,EAAG,aAAa,CAACI,MAAM,CAAC,KAAO,OAAO,KAAO,SAAS,OAAS,KAAK,CAAER,EAAIgB,SAAWhB,EAAIiB,YAAab,EAAG,MAAM,CAACE,YAAY,yCAAyC,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAG,uBAAwBP,EAAIgB,SAAWhB,EAAIkB,eAAgBd,EAAG,MAAM,CAACE,YAAY,yCAAyC,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAG,kBAAmBP,EAAIgB,SAAWhB,EAAImB,iBAAkBf,EAAG,MAAM,CAACE,YAAY,yCAAyC,CAACF,EA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EAAG","file":"js/chunk-f1ff24f4.28ccebba.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 }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(\" \"+_vm._s(_vm.dump)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./JsonBox.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!./JsonBox.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonBox.vue?vue&type=template&id=397eb64a&\"\nimport script from \"./JsonBox.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonBox.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","\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ValidationProvider',{attrs:{\"vid\":_vm.vid,\"name\":_vm.$attrs.vid,\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nvar valid = ref.valid;\nreturn [_c('b-field',_vm._b({attrs:{\"type\":{ 'is-danger': errors[0], 'is-success': valid },\"message\":errors}},'b-field',_vm.$attrs,false),[_c('b-select',_vm._b({model:{value:(_vm.innerValue),callback:function ($$v) {_vm.innerValue=$$v},expression:\"innerValue\"}},'b-select',_vm.$attrs,false),[_vm._t(\"default\")],2)],1)]}}],null,true)})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./ValidSelect.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!./ValidSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ValidSelect.vue?vue&type=template&id=8c07aaea&\"\nimport script from \"./ValidSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./ValidSelect.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","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":""}