{"version":3,"sources":["webpack:///./src/components/AddressForm.vue?1cc0","webpack:///./src/components/AddressForm.vue?7895","webpack:///./src/components/AddressForm.vue?d110","webpack:///./src/components/AddressForm.vue","webpack:///./src/views/Interview/AgentToClaimantView.vue?1f22","webpack:///./src/views/Interview/AgentToClaimantView.vue?b0b9","webpack:///./src/views/Interview/AgentToClaimantView.vue?ce6d","webpack:///./src/views/Interview/AgentToClaimantView.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","key","forceRerenderKey","_v","_s","label","staticClass","attrs","formData","getFormDataKey","isRequiredAddress","getErrorForField","on","childFocused","$event","isFocused","getDropdownOptions","id","isStateDisabled","zipLength","isCountryDisabled","onValidateAddressClick","_e","directives","name","rawName","value","expression","getToolTip","staticRenderFns","focusedChildId","$store","getters","$root","$on","event","$nextTick","target","includes","dispatch","commit","stateCode","countryCode","keyParts","split","rerender","$bvModal","show","obj","JSON","parse","toolTip","$off","components","DropdownInput","TextInput","HiddenInput","TooltipDisplay","component","isLoading","getEmailRegex","_m","AddressToolTip2Str","AddressToolTip","$router","push","$route","params","refreshFormData","stringify","AddressForm"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,IAAIN,EAAIO,kBAAkB,CAACH,EAAG,KAAK,CAACJ,EAAIQ,GAAGR,EAAIS,GAAGT,EAAIU,UAAUN,EAAG,MAAM,CAACO,YAAY,OAAO,CAACP,EAAG,MAAM,CAACO,YAAY,sBAAsB,CAACP,EAAG,YAAY,CAACQ,MAAM,CAAC,GAAOX,KAAO,GAAI,gBAAiB,KAASA,KAAO,GAAI,gBAAiB,MAAQ,iBAAiB,SAAWD,EAAIa,SAAS,UAAYb,EAAIc,eAAiBb,KAAO,GAAI,iBAAkB,WAAaD,EAAIe,kBAAkB,SAAU,EAAK,aAAef,EAAIgB,iBAAmBf,KAAO,GAAI,k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QC,KAAK,uBAFb,6BAMNrE,KAAKmC,OAAOS,OAAO,iCAAkC,oBACjD5C,KAAKsE,OAAOC,OAAOC,gBAPjB,gCAQCxE,KAAKmC,OAAOQ,SAAS,8BAA+B,mBARrD,OAWN3C,KAAK+D,WAAY,EAXX,gDAHR,uFA0BC,WACC,OAAOV,KAAKoB,UAAUzE,KAAKmE,oBA3B7B,GAAiD,cAA5B,EAAmB,gBANvC,eAAU,CACVV,WAAY,CACXiB,cAAA,KACAf,UAAA,WAGmB,WCvF2Y,I,YCO5ZG,EAAY,eACd,EACAhE,EACAmC,GACA,EACA,KACA,KACA,MAIa,aAAA6B,E","file":"js/chunk-183cdb44.3fe64ec8.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{key:_vm.forceRerenderKey},[_c('h3',[_vm._v(_vm._s(_vm.label))]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12 col-sm-6\"},[_c('TextInput',{attrs:{\"id\":((this.id) + \".AddressLine1\"),\"name\":((this.id) + \".AddressLine1\"),\"label\":'Address Line 1',\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".AddressLine1\")),\"isRequired\":_vm.isRequiredAddress,\"isChild\":true,\"errorMessage\":_vm.getErrorForField(((this.id) + \".AddressLine1\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1),_c('div',{staticClass:\"col-xs-12 col-sm-6\"},[_c('TextInput',{attrs:{\"id\":((this.id) + \".AddressLine2\"),\"name\":((this.id) + \".AddressLine2\"),\"label\":'Address Line 2',\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".AddressLine2\"))}})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('TextInput',{attrs:{\"id\":((this.id) + \".City\"),\"name\":((this.id) + \".City\"),\"label\":'City',\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".City\")),\"isRequired\":_vm.isRequiredAddress,\"isChild\":true,\"errorMessage\":_vm.getErrorForField(((this.id) + \".City\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1),_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('DropdownInput',{attrs:{\"id\":((this.id) + \".StateCode\"),\"name\":((this.id) + \".StateCode\"),\"label\":'State',\"formData\":_vm.formData,\"options\":_vm.getDropdownOptions('State', this.id),\"initValue\":_vm.getFormDataKey(((this.id) + \".StateCode\"), 'NY'),\"hideIfNamespace\":this.id,\"isRequired\":_vm.isRequiredAddress,\"isChild\":true,\"isDisabled\":_vm.isStateDisabled,\"errorMessage\":_vm.getErrorForField(((this.id) + \".StateCode\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1),_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('DropdownInput',{attrs:{\"id\":((this.id) + \".CountyCode\"),\"name\":((this.id) + \".CountyCode\"),\"label\":'County',\"formData\":_vm.formData,\"options\":_vm.getDropdownOptions('County', this.id),\"initValue\":_vm.getFormDataKey(((this.id) + \".CountyCode\")),\"hideIfNamespace\":this.id,\"isRequired\":_vm.isRequiredAddress && _vm.getFormDataKey(((this.id) + \".StateCode\")) === 'NY',\"isChild\":true,\"errorMessage\":_vm.getErrorForField(((this.id) + \".CountyCode\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('TextInput',{attrs:{\"id\":((this.id) + \".Zip\"),\"name\":((this.id) + \".Zip\"),\"label\":'Zip',\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".Zip\")),\"isRequired\":_vm.isRequiredAddress,\"length\":_vm.zipLength,\"isChild\":true,\"errorMessage\":_vm.getErrorForField(((this.id) + \".Zip\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1),_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('TextInput',{attrs:{\"id\":((this.id) + \".Zip4\"),\"name\":((this.id) + \".Zip4\"),\"label\":'Zip +4',\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".Zip4\")),\"length\":4}})],1),_c('div',{staticClass:\"col-xs-12 col-sm-4\"},[_c('DropdownInput',{attrs:{\"id\":((this.id) + \".CountryCode\"),\"name\":((this.id) + \".CountryCode\"),\"label\":'Country',\"formData\":_vm.formData,\"options\":_vm.getDropdownOptions('Country'),\"initValue\":_vm.getFormDataKey(((this.id) + \".CountryCode\"), 'US'),\"isRequired\":_vm.isRequiredAddress,\"isChild\":true,\"isDisabled\":_vm.isCountryDisabled,\"errorMessage\":_vm.getErrorForField(((this.id) + \".CountryCode\"))},on:{\"childFocused\":_vm.childFocused,\"childBlur\":function($event){_vm.isFocused=false;}}})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-group text-right\"},[_c('HiddenInput',{attrs:{\"id\":((this.id) + \".IsValidated\"),\"name\":((this.id) + \".IsValidated\"),\"formData\":_vm.formData,\"initValue\":_vm.getFormDataKey(((this.id) + \".IsValidated\")),\"isRequired\":_vm.isRequiredAddress,\"errorMessage\":!!_vm.getErrorForField(((this.id) + \".IsValidated\")) && 'Please validate address.'}})],1)])]),(_vm.validateAddress)?[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-group text-right\"},[_c('button',{staticClass:\"btn btn-info\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onValidateAddressClick}},[_vm._v(\"Validate Address\")])])])])]:_vm._e(),(_vm.showTip)?_c('TooltipDisplay',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isFocused),expression:\"isFocused\"}],attrs:{\"toolTip\":_vm.getToolTip,\"isBottom\":false}}):_vm._e()],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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Prop } from 'vue-property-decorator';\r\nimport { DropdownInput, TextInput, HiddenInput } from '@/components/FormInputs/FormInputs';\r\nimport TooltipDisplay from '@/components/FormInputs/TooltipDisplay.vue';\r\nimport IOption from '@/store/models/IOption';\r\n\r\n@Component({\r\n\tname: 'AddressForm',\r\n\tcomponents: {\r\n\t\tDropdownInput,\r\n\t\tTextInput,\r\n\t\tHiddenInput,\r\n\t\tTooltipDisplay,\r\n\t}\r\n})\r\nexport default class AddressForm extends Vue {\r\n\tprivate forceRerenderKey: number = 0;\r\n\r\n\t@Prop() public id!: string;\r\n\t@Prop() public copyFromAddressId!: string;\r\n\t@Prop() public name!: string;\r\n\t@Prop() public label!: string;\r\n\t@Prop() public validateAddress!: boolean;\r\n\t@Prop() public errorMessage!: string;\r\n\t@Prop() public showTip: boolean;\r\n\t@Prop()\tpublic toolTip: string;\r\n\t@Prop() public isRequiredAddress!: boolean;\r\n\t@Prop() public isStateDisabled!: boolean;\r\n\t@Prop() public isCountryDisabled!: boolean;\r\n\r\n\tpublic zipLength: number = 5;\r\n\tpublic isFocused: boolean = false;\r\n\tpublic focusedChildId: string='';\r\n\r\n\tpublic get formData(): any { return this.$store.getters['InterviewModule/formData'] }\r\n\r\n\tpublic created(): void {\r\n\t\tthis.$root.$on('nestedDdChanged', (event: any) => {\r\n\t\t\tthis.$nextTick(async () => {\r\n\t\t\t\tif (event.target.id.includes('Country')) { // Update Zip Length\r\n\t\t\t\t\tthis.zipLength = event.target.value === 'US' ? 5 : 20;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (event.target.id.includes('Country')) { // On change of country, update state list and set state/county to null\r\n\t\t\t\t\tawait this.$store.dispatch('InterviewModule/getStatesForCountry', event.target.value);\r\n\t\t\t\t\tthis.$store.commit('InterviewModule/updateFormDataKey', { key: `${this.id}.StateCode`, value: '' });\r\n\t\t\t\t\tthis.$store.commit('InterviewModule/updateFormDataKey', { key: `${this.id}.CountyCode`, value: '' });\r\n\t\t\t\t}\r\n\t\t\t\tif (event.target.id.includes('State')) { // On change of state, update county list and set county to null\r\n\t\t\t\t\tawait this.$store.dispatch('InterviewModule/getCountiesForState', {stateCode: event.target.value, countryCode: this.getFormDataKey(`${this.id}.CountryCode`) });\r\n\t\t\t\t\tthis.$store.commit('InterviewModule/updateFormDataKey', { key: `${this.id}.CountyCode`, value: '' });\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t\tthis.$root.$on('fieldChanged', (event: any) => {\r\n\t\t\tif (event.target.id !== 'DeleteInstance' && event.target.id.includes('Address')) {\r\n\t\t\t\tconst keyParts = event.target.id.split('.');\r\n\t\t\t\tthis.$store.commit('InterviewModule/updateFormDataKey', { key: keyParts[0] + \".IsValidated\", value: false});\r\n\t\t\t}\r\n\t\t});\r\n\t\tthis.$root.$on('formDataChanged', () => {\r\n\t\t\tthis.rerender();\r\n\t\t});\r\n\t}\r\n\r\n\tprivate rerender(): void {\r\n\t\tthis.forceRerenderKey++;\r\n\t}\r\n\r\n\tpublic onValidateAddressClick() {\r\n\t\tthis.$store.commit('AddressModule/updateAddressToValidateId', this.id);\r\n\t\tthis.$bvModal.show('AddressValidationModal');\r\n\t}\r\n\r\n\tpublic childFocused(id: string) {\r\n\t\tthis.isFocused = true;\r\n\t\tthis.focusedChildId = id;\r\n\t}\r\n\r\n\tpublic get getToolTip(): string {\r\n\t\tif (!!this.focusedChildId){\r\n\t\t\tlet obj = JSON.parse(this.toolTip);\r\n\t\t\treturn obj[this.focusedChildId];\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n\r\n\tpublic beforeDestroy() {\r\n\t\tthis.$root.$off('nestedDdChanged');\r\n\t}\r\n}\r\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressForm.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AddressForm.vue?vue&type=template&id=0cefa8c3&\"\nimport script from \"./AddressForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./AddressForm.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isLoading),expression:\"isLoading\"}],staticClass:\"text-center m-5\"},[_c('b-spinner')],1),(!_vm.isLoading)?_c('div',[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('h1',[_vm._v(\"Agent to Claimant\")]),_c('div',{staticClass:\"card card-body\"},[_c('TextInput',{attrs:{\"id\":'AgentToClaimant.FirstName',\"name\":'AgentToClaimant.FirstName',\"label\":'First Name',\"initValue\":_vm.getFormDataKey('AgentToClaimant.FirstName'),\"isRequired\":true,\"showTip\":true,\"toolTip\":\"Provide the first name of the agent of the claimant.\",\"errorMessage\":_vm.getErrorForField('AgentToClaimant.FirstName')}}),_c('TextInput',{attrs:{\"id\":'AgentToClaimant.MiddleName',\"name\":'AgentToClaimant.MiddleName',\"label\":'Middle Initial',\"initValue\":_vm.getFormDataKey('AgentToClaimant.MiddleName'),\"showTip\":true,\"toolTip\":\"Provide the middle name of the agent of the claimant.\",\"length\":1}}),_c('TextInput',{attrs:{\"id\":'AgentToClaimant.LastName',\"name\":'AgentToClaimant.LastName',\"label\":'Last Name',\"initValue\":_vm.getFormDataKey('AgentToClaimant.LastName'),\"isRequired\":true,\"showTip\":true,\"toolTip\":\"Provide the last name of the agent of the claimant.\",\"errorMessage\":_vm.getErrorForField('AgentToClaimant.LastName')}}),_c('TextInput',{attrs:{\"id\":'AgentToClaimant.EmailAddress',\"name\":'AgentToClaimant.EmailAddress',\"label\":'Email Address',\"initValue\":_vm.getFormDataKey('AgentToClaimant.EmailAddress'),\"type\":'email',\"length\":100,\"isRequired\":true,\"regex\":_vm.getEmailRegex(),\"showTip\":true,\"toolTip\":\"Provide the email address of the agent of the claimant. All correspondence regarding this claim will be sent to this address.\",\"errorMessage\":_vm.getErrorForField('AgentToClaimant.EmailAddress')}})],1),_vm._m(0),_c('div',{staticClass:\"card card-body\"},[_c('AddressForm',{attrs:{\"id\":'AgentToClaimant.Address',\"name\":'AgentToClaimant.Address',\"label\":'Agent to Claimant Address',\"validateAddress\":true,\"showTip\":true,\"toolTip\":_vm.AddressToolTip2Str,\"isRequiredAddress\":true}})],1)])])])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card card-body\"},[_c('p',[_vm._v(\" Please provide the address for the agent of claimant. \")])])}]\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\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport AddressForm from '@/components/AddressForm.vue';\r\nimport { TextInput } from '@/components/FormInputs/FormInputs';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tAddressForm,\r\n\t\tTextInput,\r\n\t}\r\n})\r\nexport default class AgentToClaimantView extends Vue {\r\n\tprivate isLoading: boolean = true;\r\n\r\n\tpublic async created() {\r\n\t\tif (this.$store.getters['InterviewModule/filingType'] === 'C') {\r\n\t\t\tthis.$router.push('/Interview/Deceased');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.$store.commit('InterviewModule/updatePageName', 'AgentToClaimant');\r\n\t\tif (this.$route.params.refreshFormData) {\r\n\t\t\tawait this.$store.dispatch('InterviewModule/getFormData', 'AgentToClaimant');\r\n\t\t}\r\n\r\n\t\tthis.isLoading = false;\r\n\t}\r\n\r\n\tpublic AddressToolTip: any = {\r\n\t\t\"AgentToClaimant.Address.AddressLine1\": \"Provide the street address of the agent to the claimant\",\r\n\t\t\"AgentToClaimant.Address.City\": \"Provide the City of the agent to the claimant\",\r\n\t\t\"AgentToClaimant.Address.StateCode\": \"Provide the State of the agent to the claimant\",\r\n\t\t\"AgentToClaimant.Address.CountyCode\": \"Provide the County of the agent to the claimant if located in New York\",\r\n\t\t\"AgentToClaimant.Address.Zip\": \"Provide the zip code of the agent to the claimant\",\r\n\t\t\"AgentToClaimant.Address.CountryCode\": \"Provide the Country of the agent to the claimant\"\r\n\t}\r\n\r\n\tpublic get AddressToolTip2Str(): string {\r\n\t\treturn JSON.stringify(this.AddressToolTip);\r\n\t}\r\n}\r\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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgentToClaimantView.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AgentToClaimantView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AgentToClaimantView.vue?vue&type=template&id=6716c15e&\"\nimport script from \"./AgentToClaimantView.vue?vue&type=script&lang=ts&\"\nexport * from \"./AgentToClaimantView.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"],"sourceRoot":""}