{"version":3,"sources":["webpack:///./src/js/mixins/validation-mixin.js","webpack:///./src/js/forms/transfer-request/Compensation.vue?893f","webpack:///src/js/forms/transfer-request/Compensation.vue","webpack:///./src/js/forms/transfer-request/Compensation.vue?6a83","webpack:///./src/js/forms/transfer-request/Compensation.vue","webpack:///./src/js/forms/store/transfer-modules.js","webpack:///./src/js/utilities/object-key-generator.js","webpack:///./src/js/mixins/money-mixin.js"],"names":["methods","mapActions","validateForm","this","$refs","form","validate","is_valid","setSectionStatus","render","_vm","_h","$createElement","_c","_self","ref","staticClass","attrs","validation_model","validation_rules","_v","input_config","textarea_autosize","model","value","callback","$$v","describe_compensation","expression","is_offering_land","tax_map_number","total_acreage_offered","current_owner","current_uses","describe_replacement_land_characteristics","directives","name","rawName","replacement_land_market_value_from_appraisal","_l","attachment","key","category","on","showModal","validateField","_e","is_offering_cash","total_offered","how_amount_determined","transfer_draft_terms","centerDialogVisible","$event","domProps","_s","iObj","instructionalTxt","staticRenderFns","fields","component","property_information","namespaced","state","project_name","fund_recipient","acreage_requested","greenbelt_land_market_value_from_appraisal","transfer_type","temporary_duration","transfer_reason","describe_uses_change","describe_how_property_changed","getters","getField","mutations","updateField","requester_information","agency","address","street_1","street_2","city","zip","contact","title","phone","email","compensation","land","cash","attachments","greenbelt_property_plats","greenbelt_property_appraisals","replacement_property_plats","replacement_property_appraisals","other","getFileList","addFileToStore","file","push","removeFileFromStore","file_index","map","item","indexOf","splice","actions","commit","dispatch","payload","path","root","agreement","grantor","signature","signature_points","date","grantee","setGrantor","Date","setGrantee","flattenObject","myObject","parent","object_array","property","built_path","currency","CurrencyDirective","data","money","locale","autoDecimalMode","distractionFree"],"mappings":"mIAAA,gBAEe,QACdA,QAAS,IACLC,eAAW,cAAe,CAAC,qBAC9BC,eACCC,KAAKC,MAAMC,KAAKC,SAAUC,IACzBJ,KAAKK,iBAAiBD,GACfA,Q,yCCRX,IAAIE,EAAS,WAAa,IAAIC,EAAIP,KAASQ,EAAGD,EAAIE,eA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YA,EAC1BpD,EAAMuD,QAAQD,KAAO,IAAIG,S,kCCrJb,SAASE,EAAcC,EAAUC,EAAS,MACxD,MAAMC,EAAe,GACrB,IAAI,MAAMC,KAAYH,EAAS,CAC9B,MAAMI,EAAeH,EAAsB,GAAEA,KAAUE,IAAxBA,EACE,kBAAvBH,EAASG,IAAiD,OAAvBH,EAASG,GACrDD,EAAazB,KAAK2B,GAElBF,EAAazB,QAAQsB,EAAcC,EAASG,GAAWC,IAGzD,OAAOF,EAVR,mC,kCCAA,gBAEe,QACdzF,WAAY,CAAE4F,SAAUC,QACxBC,KAAM,KAAM,CACXC,MAAO,CACNH,SAAU,MACVI,OAAQ,KACRC,iBAAiB,EACjBC,iBAAiB","file":"js/chunk-54eef6f2.6d78338e.js","sourcesContent":["import { mapActions } from 'vuex';\n\nexport default {\n\tmethods: {\n\t\t...mapActions('application', ['setSectionStatus']),\n\t\tvalidateForm(){\n\t\t\tthis.$refs.form.validate( is_valid => {\n\t\t\t\tthis.setSectionStatus(is_valid);\n\t\t\t\treturn is_valid;\n\t\t\t});\n\t\t}\n\t}\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-form',{ref:\"form\",staticClass:\"note-card\",attrs:{\"model\":_vm.validation_model,\"rules\":_vm.validation_rules,\"label-position\":\"top\"}},[_c('h1',[_vm._v(\"Compensation\")]),_c('el-form-item',{attrs:{\"label\":\"Describe the compensation offered (suitable replacement land interests, cash or in-kind compensation)\",\"prop\":\"describe_compensation\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"autosize\":_vm.input_config.textarea_autosize},model:{value:(_vm.describe_compensation),callback:function ($$v) {_vm.describe_compensation=$$v},expression:\"describe_compensation\"}})],1),_c('h2',[_vm._v(\"Land\")]),_c('el-form-item',{attrs:{\"prop\":\"is_offering_land\",\"label\":\"Is land being offered?\"}},[_c('el-radio-group',{model:{value:(_vm.is_offering_land),callback:function ($$v) {_vm.is_offering_land=$$v},expression:\"is_offering_land\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"Yes\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"No\")])],1)],1),(_vm.is_offering_land)?[_c('el-form-item',{attrs:{\"label\":\"Property Tax Map #\",\"prop\":\"land.tax_map_number\"}},[_c('el-input',{model:{value:(_vm.tax_map_number),callback:function ($$v) {_vm.tax_map_number=$$v},expression:\"tax_map_number\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Total amount of acreage offered\",\"prop\":\"land.total_acreage_offered\"}},[_c('el-input',{model:{value:(_vm.total_acreage_offered),callback:function ($$v) {_vm.total_acreage_offered=$$v},expression:\"total_acreage_offered\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Current landowner\",\"prop\":\"land.current_owner\"}},[_c('el-input',{model:{value:(_vm.current_owner),callback:function ($$v) {_vm.current_owner=$$v},expression:\"current_owner\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Current uses on the land\",\"prop\":\"land.current_uses\"}},[_c('el-input',{model:{value:(_vm.current_uses),callback:function ($$v) {_vm.current_uses=$$v},expression:\"current_uses\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Describe how the characteristics of the replacement land meet the criteria of the Greenbelt Program\",\"prop\":\"land.describe_replacement_land_characteristics\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"autosize\":_vm.input_config.textarea_autosize},model:{value:(_vm.describe_replacement_land_characteristics),callback:function ($$v) {_vm.describe_replacement_land_characteristics=$$v},expression:\"describe_replacement_land_characteristics\"}})],1),_c('el-form-item',{attrs:{\"label\":\"What is the current appraised fair market value of the replacement land?\",\"prop\":\"land.replacement_land_market_value_from_appraisal\"}},[_c('el-input',{directives:[{name:\"currency\",rawName:\"v-currency\",value:(_vm.money),expression:\"money\"}],model:{value:(_vm.replacement_land_market_value_from_appraisal),callback:function ($$v) {_vm.replacement_land_market_value_from_appraisal=$$v},expression:\"replacement_land_market_value_from_appraisal\"}})],1),_vm._l((_vm.attachment_items),function(attachment){return _c('upload-non-image-alt',{key:attachment.category,attrs:{\"item\":attachment},on:{\"show-modal\":_vm.showModal,\"validation-needed\":_vm.validateField}})})]:_vm._e(),_c('h2',[_vm._v(\"Cash\")]),_c('el-form-item',{attrs:{\"prop\":\"is_offering_cash\",\"label\":\"Is cash being offered?\"}},[_c('el-radio-group',{model:{value:(_vm.is_offering_cash),callback:function ($$v) {_vm.is_offering_cash=$$v},expression:\"is_offering_cash\"}},[_c('el-radio',{attrs:{\"label\":true}},[_vm._v(\"Yes\")]),_c('el-radio',{attrs:{\"label\":false}},[_vm._v(\"No\")])],1)],1),(_vm.is_offering_cash)?[_c('el-form-item',{attrs:{\"label\":\"Total amount of being offered\",\"prop\":\"cash.total_offered\"}},[_c('el-input',{directives:[{name:\"currency\",rawName:\"v-currency\",value:(_vm.money),expression:\"money\"}],model:{value:(_vm.total_offered),callback:function ($$v) {_vm.total_offered=$$v},expression:\"total_offered\"}})],1),_c('el-form-item',{attrs:{\"label\":\"Describe how the amount was determined\",\"prop\":\"cash.how_amount_determined\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"autosize\":_vm.input_config.textarea_autosize},model:{value:(_vm.how_amount_determined),callback:function ($$v) {_vm.how_amount_determined=$$v},expression:\"how_amount_determined\"}})],1)]:_vm._e(),_c('el-form-item',{attrs:{\"label\":\"Provide draft terms of the transfer such as removal/construction of structures, removal/replacement of trees, change or move utility lines, shared access or rights of way, etc.\",\"prop\":\"transfer_draft_terms\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"autosize\":_vm.input_config.textarea_autosize},model:{value:(_vm.transfer_draft_terms),callback:function ($$v) {_vm.transfer_draft_terms=$$v},expression:\"transfer_draft_terms\"}})],1),_c('el-dialog',{attrs:{\"title\":\"\",\"visible\":_vm.centerDialogVisible,\"width\":\"30%\",\"center\":\"\"},on:{\"update:visible\":function($event){_vm.centerDialogVisible=$event}}},[_c('p',{domProps:{\"innerHTML\":_vm._s(this.iObj.instructionalTxt)}})])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\t\n\t\tCompensation
\n\t\t\n\t\t\t\n\t\t\n\t\tLand
\n\t\t\n\t\t\t\n\t\t\t\tYes\n\t\t\t\tNo\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\tCash
\n\t\t\n\t\t\t\n\t\t\t\tYes\n\t\t\t\tNo\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n\n\n\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!./Compensation.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!./Compensation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Compensation.vue?vue&type=template&id=61a8aaba&\"\nimport script from \"./Compensation.vue?vue&type=script&lang=js&\"\nexport * from \"./Compensation.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 { getField, updateField } from 'vuex-map-fields';\n\nexport const property_information = {\n\tnamespaced: true,\n\tstate: {\n\t\tproject_name: null,\n\t\ttax_map_number: null,\n\t\tfund_recipient: null,\n\t\tcurrent_uses: null,\n\n\t\tacreage_requested: null,\n\t\tgreenbelt_land_market_value_from_appraisal: null,\n\t\ttransfer_type: null,\n\t\ttemporary_duration: null,\n\t\ttransfer_reason: null,\n\t\tdescribe_uses_change: null,\n\t\tdescribe_how_property_changed: null\n\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t},\n}\n\nexport const requester_information = {\n\tnamespaced: true,\n\tstate: {\n\t\tagency: {\n\t\t\tname: null,\n\t\t\taddress: {\n\t\t\t\tstreet_1: null,\n\t\t\t\tstreet_2: null,\n\t\t\t\tcity: null,\n\t\t\t\tstate: null,\n\t\t\t\tzip: null\n\t\t\t}\n\t\t},\n\t\tcontact: {\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tphone: null,\n\t\t\temail: null\n\t\t}\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t},\n}\n\nexport const compensation = {\n\tnamespaced: true,\n\tstate: {\n\t\tdescribe_compensation: null,\n\t\tis_offering_land: null,\n\t\tland: {\n\t\t\ttax_map_number: null,\n\t\t\ttotal_acreage_offered: null,\n\t\t\tcurrent_owner: null,\n\t\t\tcurrent_uses: null,\n\t\t\tdescribe_replacement_land_characteristics: null,\n\t\t\treplacement_land_market_value_from_appraisal: null\n\t\t},\n\t\tis_offering_cash: null,\n\t\tcash: {\n\t\t\ttotal_offered: null,\n\t\t\thow_amount_determined: null,\n\t\t},\n\t\ttransfer_draft_terms: null\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField\n\t},\n}\n\nexport const attachments = {\n\tnamespaced: true,\n\tstate: {\n\t\tgreenbelt_property_plats: [],\n\t\tgreenbelt_property_appraisals: [],\n\t\treplacement_property_plats: [],\n\t\treplacement_property_appraisals: [],\n\t\tother: []\n\t},\n\tgetters: {\n\t\tgetField,\n\t\tgetFileList: (state) => (category) => {\n\t\t\treturn state[category];\n\t\t}\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\taddFileToStore(state, { category, file }){\n\t\t\tstate[category].push(file);\n\t\t},\n\t\tremoveFileFromStore(state, { category, file }){\n\t\t\tconst file_index = state[category].map(item => item.name).indexOf(file.name);\n\t\t\tstate[category].splice(file_index, 1);\n\t\t}\n\t},\n\tactions: {\n\t\taddFileToStore({ state, commit, dispatch }, payload){\n\t\t\tcommit('addFileToStore', payload);\n\t\t\tdispatch('application/patchApplication', { path: ['attachments', payload.category] , value: state[payload.category]}, { root: true });\n\t\t},\n\t\tremoveFileFromStore({ state, commit, dispatch }, payload){\n\t\t\tcommit('removeFileFromStore', payload);\n\t\t\tdispatch('application/patchApplication', { path: ['attachments', payload.category] , value: state[payload.category]}, { root: true });\n\t\t}\n\t}\n}\n\nexport const agreement = {\n\tnamespaced: true,\n\tstate: {\n\t\tgrantor: {\n\t\t\tsignature: null,\n\t\t\tsignature_points: [],\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tdate: null\n\t\t},\n\t\tgrantee: {\n\t\t\tsignature: null,\n\t\t\tsignature_points: [],\n\t\t\tname: null,\n\t\t\ttitle: null,\n\t\t\tdate: null\n\t\t}\n\t},\n\tgetters: {\n\t\tgetField\n\t},\n\tmutations: {\n\t\tupdateField,\n\t\tsetGrantor(state, {signature}){\n\t\t\tstate.grantor.signature = signature;\n\t\t\tstate.grantor.date = new Date();\n\t\t},\n\t\tsetGrantee(state, {signature}){\n\t\t\tstate.grantee.signature = signature;\n\t\t\tstate.grantee.date = new Date();\n\t\t}\n\t}\n}\n","export default function flattenObject(myObject, parent = null){\n\tconst object_array = [];\n\tfor(const property in myObject){\n\t\tconst built_path = (!parent) ? property : `${parent}.${property}`;\n\t\tif(typeof myObject[property] !== 'object' || myObject[property] === null){\n\t\t\tobject_array.push(built_path);\n\t\t} else{\n\t\t\tobject_array.push(...flattenObject(myObject[property], built_path));\n\t\t}\n\t}\n\treturn object_array;\n}\n","import { CurrencyDirective } from 'vue-currency-input'\n\nexport default {\n\tdirectives: { currency: CurrencyDirective },\n\tdata: () => ({\n\t\tmoney: {\n\t\t\tcurrency: 'USD',\n\t\t\tlocale: 'en',\n\t\t\tautoDecimalMode: true,\n\t\t\tdistractionFree: false\n\t\t}\n\t}),\n}\n"],"sourceRoot":""}