{"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/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","flattenObject","myObject","parent","object_array","property","built_path","push","currency","CurrencyDirective","data","money","locale","autoDecimalMode","distractionFree"],"mappings":"kHAAA,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,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,IAAI,OAAOC,YAAY,YAAYC,MAAM,CAAC,MAAQP,EAAIQ,iBAAiB,MAAQR,EAAIS,iBAAiB,iBAAiB,QAAQ,CAACN,EAAG,KAAK,CAACH,EAAIU,GAAG,kBAAkBP,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,wGAAwG,KAAO,0BAA0B,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,KAAO,WAAW,SAAWP,EAAIW,aAAaC,mBAAmBC,MAAM,CAACC,MAAOd,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gD,GACA,EACA,KACA,KACA,MAIa,aAAAE,E,2CClBA,SAASC,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,EAAaG,KAAKD,GAElBF,EAAaG,QAAQN,EAAcC,EAASG,GAAWC,IAGzD,OAAOF,EAVR,mC,kCCAA,gBAEe,QACd5B,WAAY,CAAEgC,SAAUC,QACxBC,KAAM,KAAM,CACXC,MAAO,CACNH,SAAU,MACVI,OAAQ,KACRC,iBAAiB,EACjBC,iBAAiB","file":"js/chunk-b88406ae.edc1fbcc.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\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","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":""}