{"version":3,"sources":["webpack:///./src/components/Controls/PropertyForms/RuralHobbyFarm.vue?b396","webpack:///./src/components/Controls/FormFields/index.ts","webpack:///./src/components/Controls/InputTextarea.vue?b52e","webpack:///./src/components/Controls/InputTextarea.vue","webpack:///./src/components/Controls/InputTextarea.vue?10f2","webpack:///./src/components/Controls/InputTextarea.vue?5e20","webpack:///./src/components/Controls/InputTextarea.vue?4509","webpack:///./node_modules/primevue/textarea/Textarea.vue?4039","webpack:///node_modules/primevue/textarea/Textarea.vue","webpack:///./node_modules/primevue/textarea/Textarea.vue?723a","webpack:///./node_modules/primevue/textarea/Textarea.vue","webpack:///./node_modules/primevue/textarea/index.js","webpack:///./node_modules/primevue/textarea/Textarea.vue?5a43","webpack:///./src/components/Controls/FormFields lazy ^\\.\\/.*\\.vue$ namespace object","webpack:///./src/components/Controls/PropertyForms/RuralHobbyFarm.vue?9e51","webpack:///./src/components/Controls/PropertyForms/RuralHobbyFarm.vue","webpack:///./src/components/Controls/PropertyForms/RuralHobbyFarm.vue?98ba","webpack:///./src/components/Controls/PropertyForms/RuralHobbyFarm.vue?3ceb"],"names":["componentsToImport","componentsImports","components","forEach","c","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","fieldId","_v","_s","label","class","error","placeholder","value","rows","on","onInput","directives","name","rawName","expression","staticRenderFns","newVal","$emit","required","default","PrimeVueTextarea","component","_g","filled","autoResize","domProps","listeners","module","exports","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","scopedSlots","_u","key","fn","ref","errors","model","callback","$$v","use","generalCondition","bedrooms","bathrooms","floorArea","floorConstruction","wallConstruction","roofConstruction","numberOfOutbuildings","propertyFeatures","_l","outbuilding","index","$set","data","UseDescription","GeneralCondition","NumberOfBedrooms","NumberOfBathrooms","FloorArea","FloorConstruction","WallConstruction","RoofConstruction","PropertyFeatures","Outbuildings","outbuildings","BuildingType","buildingType","buildingUse","Condition","Area","buildingArea","t","push","length","oldVal","i","new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E,MAAO,mBAlDX,iCAsDE,SAAqBvE,EAAgBwE,GACnC,KAAIxE,EAAS,KACE,OAAXwE,IAAiBA,EAAS,GAC1BxE,IAAWvB,KAAKqF,aAAaS,QAEjC,GAAIvE,EAASwE,EACX,IAAK,IAAIC,EAAID,EAAQC,EAAIzE,EAAQyE,IAC/BhG,KAAKqF,aAAaQ,KAAK7F,KAAKiG,uBAG9BjG,KAAKqF,aAAerF,KAAKqF,aAAaa,MAAM,EAAG3E,KAhErD,4BAsEE,WACE,MAAO,CACLgE,aAAc,KACdC,YAAa,KACb3B,iBAAkB,KAClB8B,aAAc,UA3EpB,GAA4C,QAsD1C,gBADC,eAAM,yB,kCAaN,MAlEkB,EAAc,gBAVlC,eAAU,CACThG,WAAY,iCACP,kBADK,IAERwG,mBAAA,OACAC,cAAA,KACAC,YAAA,KACAC,gBAAA,KACAC,WAAA,UAGiB,WCpFwZ,I,wBCQza3E,EAAY,eACd,EACA9B,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAAM,E","file":"js/chunk-1a174e94.84480cb0.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RuralHobbyFarm.vue?vue&type=style&index=0&id=36629394&scoped=true&lang=css&\"","type ComponentImport = {\r\n [key: string]: () => unknown;\r\n}\r\n\r\nconst componentsToImport = [\r\n 'AccommodationFeatures',\r\n 'AirConditioning',\r\n 'Bathrooms',\r\n 'Bedrooms',\r\n 'Bore',\r\n 'CityViews',\r\n 'Dam',\r\n 'ElevatedOutlook',\r\n 'FloorConstruction',\r\n 'GeneralCondition',\r\n 'Paddock',\r\n 'Parking',\r\n 'Pool',\r\n 'PropertyFeatures',\r\n 'RoofConstruction',\r\n 'SecureParking',\r\n 'TennisCourt',\r\n 'WallConstruction',\r\n 'WaterViews'\r\n]\r\n\r\nexport const componentsImports = () => {\r\n const components: ComponentImport = {}\r\n\r\n componentsToImport.forEach((c: string) => {\r\n components[c] = () => import(`../FormFields/${c}.vue`)\r\n })\r\n\r\n return components\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"primevue-field\"},[_c('label',{attrs:{\"for\":_vm.fieldId}},[_vm._v(_vm._s(_vm.label))]),_c('PrimeVueTextarea',{staticClass:\"p-inputtext-lg\",class:{ 'p-invalid': _vm.error },attrs:{\"id\":_vm.fieldId,\"placeholder\":_vm.placeholder,\"ariaLabelledBy\":_vm.fieldId,\"value\":_vm.value,\"autoResize\":true,\"rows\":_vm.rows,\"cols\":\"30\"},on:{\"input\":_vm.onInput}}),_c('small',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"p-invalid\",attrs:{\"id\":(_vm.fieldId + \"-help\")}},[_vm._v(_vm._s(_vm.error))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\nimport PrimeVueTextarea from 'primevue/textarea'\r\n\r\n@Component({\r\n components: {\r\n PrimeVueTextarea\r\n }\r\n})\r\nexport default class InputTextarea extends Vue {\r\n @Prop({ required: true })\r\n public value!: string\r\n\r\n @Prop({ required: true })\r\n public fieldId!: string\r\n\r\n @Prop({ required: true })\r\n public placeholder!: string\r\n\r\n @Prop({ required: true })\r\n public label!: string\r\n\r\n @Prop({ required: false })\r\n public error: string | undefined\r\n\r\n @Prop({ required: false, default: 5 })\r\n public rows!: number\r\n\r\n onInput (newVal: string) {\r\n this.$emit('input', newVal)\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputTextarea.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputTextarea.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InputTextarea.vue?vue&type=template&id=002c30c8&scoped=true&\"\nimport script from \"./InputTextarea.vue?vue&type=script&lang=ts&\"\nexport * from \"./InputTextarea.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./InputTextarea.vue?vue&type=style&index=0&id=002c30c8&scoped=true&lang=css&\"\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 \"002c30c8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InputTextarea.vue?vue&type=style&index=0&id=002c30c8&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('textarea',_vm._g({class:['p-inputtextarea p-inputtext p-component', {'p-filled': _vm.filled, 'p-inputtextarea-resizable ': _vm.autoResize}],domProps:{\"value\":_vm.value}},_vm.listeners))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--12-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Textarea.vue?vue&type=template&id=f9ad187a&\"\nimport script from \"./Textarea.vue?vue&type=script&lang=js&\"\nexport * from \"./Textarea.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Textarea.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../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","'use strict';\nmodule.exports = require('./Textarea.vue');","export * from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--6-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--0-0!../../vue-loader/lib/index.js??vue-loader-options!./Textarea.vue?vue&type=style&index=0&lang=css&\"","var map = {\n\t\"./AccommodationFeatures.vue\": [\n\t\t\"8d47\",\n\t\t\"chunk-563b5500\"\n\t],\n\t\"./AirConditioning.vue\": [\n\t\t\"c1c1\",\n\t\t\"chunk-2d2165d2\"\n\t],\n\t\"./Bathrooms.vue\": [\n\t\t\"8945\",\n\t\t\"chunk-2d0df238\"\n\t],\n\t\"./Bedrooms.vue\": [\n\t\t\"ec29\",\n\t\t\"chunk-2d23045b\"\n\t],\n\t\"./Bore.vue\": [\n\t\t\"d0c1\",\n\t\t\"chunk-2d21d670\"\n\t],\n\t\"./CityViews.vue\": [\n\t\t\"055f\",\n\t\t\"chunk-2d0a408c\"\n\t],\n\t\"./Dam.vue\": [\n\t\t\"d92b\",\n\t\t\"chunk-2d21f27b\"\n\t],\n\t\"./ElevatedOutlook.vue\": [\n\t\t\"df64\",\n\t\t\"chunk-2d229bb6\"\n\t],\n\t\"./FloorConstruction.vue\": [\n\t\t\"7ba0\",\n\t\t\"chunk-2d0e1d30\"\n\t],\n\t\"./GeneralCondition.vue\": [\n\t\t\"4a5d\",\n\t\t\"chunk-2d0cb732\"\n\t],\n\t\"./Paddock.vue\": [\n\t\t\"596e\",\n\t\t\"chunk-2d0c9589\"\n\t],\n\t\"./Parking.vue\": [\n\t\t\"9e70\",\n\t\t\"chunk-2d0f0c1b\"\n\t],\n\t\"./Pool.vue\": [\n\t\t\"3ced\",\n\t\t\"chunk-2d0c5025\"\n\t],\n\t\"./PropertyFeatures.vue\": [\n\t\t\"994f\",\n\t\t\"chunk-32d718de\"\n\t],\n\t\"./RoofConstruction.vue\": [\n\t\t\"1844\",\n\t\t\"chunk-2d0abfdd\"\n\t],\n\t\"./SecureParking.vue\": [\n\t\t\"bb6c\",\n\t\t\"chunk-2d21a423\"\n\t],\n\t\"./TennisCourt.vue\": [\n\t\t\"5beb\",\n\t\t\"chunk-2d0d3520\"\n\t],\n\t\"./WallConstruction.vue\": [\n\t\t\"a01d\",\n\t\t\"chunk-2d207378\"\n\t],\n\t\"./WaterViews.vue\": [\n\t\t\"2087\",\n\t\t\"chunk-2d0b16b3\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"aee0\";\nmodule.exports = webpackAsyncContext;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"step-field-form\"},[_c('h3',{staticClass:\"step-section-title\"},[_vm._v(\"Hobby Farm Details\")]),_c('ValidationProvider',{attrs:{\"name\":\"Use\",\"rules\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputText',{attrs:{\"fieldId\":\"use\",\"error\":errors[0],\"placeholder\":\"e.g. Grain crop, Orchard, Horticulture\",\"label\":\"Use\"},model:{value:(_vm.use),callback:function ($$v) {_vm.use=$$v},expression:\"use\"}})]}}])}),_c('GeneralCondition',{attrs:{\"rules\":\"\"},model:{value:(_vm.generalCondition),callback:function ($$v) {_vm.generalCondition=$$v},expression:\"generalCondition\"}}),_c('Bedrooms',{attrs:{\"rules\":\"\"},model:{value:(_vm.bedrooms),callback:function ($$v) {_vm.bedrooms=$$v},expression:\"bedrooms\"}}),_c('Bathrooms',{attrs:{\"rules\":\"\"},model:{value:(_vm.bathrooms),callback:function ($$v) {_vm.bathrooms=$$v},expression:\"bathrooms\"}}),_c('ValidationProvider',{attrs:{\"name\":\"Internal Floor Area (m²)\",\"rules\":\"required|numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputNumber',{attrs:{\"fieldId\":\"floorArea\",\"error\":errors[0],\"placeholder\":\"Enter internal floor area\",\"suffix\":\"m²\",\"label\":\"Internal Floor Area (m²)\"},model:{value:(_vm.floorArea),callback:function ($$v) {_vm.floorArea=$$v},expression:\"floorArea\"}})]}}])}),_c('h3',{staticClass:\"step-section-title\"},[_vm._v(\"Construction Details\")]),_c('FloorConstruction',{attrs:{\"rules\":\"\"},model:{value:(_vm.floorConstruction),callback:function ($$v) {_vm.floorConstruction=$$v},expression:\"floorConstruction\"}}),_c('WallConstruction',{attrs:{\"rules\":\"\"},model:{value:(_vm.wallConstruction),callback:function ($$v) {_vm.wallConstruction=$$v},expression:\"wallConstruction\"}}),_c('RoofConstruction',{attrs:{\"rules\":\"\"},model:{value:(_vm.roofConstruction),callback:function ($$v) {_vm.roofConstruction=$$v},expression:\"roofConstruction\"}}),_c('ValidationProvider',{attrs:{\"name\":\"Outbuildings\",\"rules\":\"numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputNumber',{attrs:{\"fieldId\":\"numberOfOutbuildings\",\"error\":errors[0],\"showButtons\":true,\"placeholder\":\"Enter outbuildings\",\"label\":\"Outbuildings\"},model:{value:(_vm.numberOfOutbuildings),callback:function ($$v) {_vm.numberOfOutbuildings=$$v},expression:\"numberOfOutbuildings\"}})]}}])}),_c('h3',{staticClass:\"step-section-title\"},[_vm._v(\"Property Features\")]),_c('PropertyFeatures',{attrs:{\"featureType\":\"Rural\"},model:{value:(_vm.propertyFeatures),callback:function ($$v) {_vm.propertyFeatures=$$v},expression:\"propertyFeatures\"}}),_vm._l((_vm.outbuildings),function(outbuilding,index){return _c('div',{key:index,staticClass:\"step-field-form\"},[_c('h3',{staticClass:\"step-section-title\"},[_vm._v(\"Rural Outbuilding \"+_vm._s(index + 1))]),_c('ValidationProvider',{attrs:{\"name\":\"Building Type/Name\",\"rules\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputText',{attrs:{\"fieldId\":'buildingType' + index,\"error\":errors[0],\"placeholder\":\"Enter building type/name\",\"label\":\"Building Type/Name\"},model:{value:(outbuilding.buildingType),callback:function ($$v) {_vm.$set(outbuilding, \"buildingType\", $$v)},expression:\"outbuilding.buildingType\"}})]}}],null,true)}),_c('ValidationProvider',{attrs:{\"name\":\"Building Use\",\"rules\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputText',{attrs:{\"fieldId\":'buildingUse' + index,\"error\":errors[0],\"placeholder\":\"Enter building use\",\"label\":\"Building Use\"},model:{value:(outbuilding.buildingUse),callback:function ($$v) {_vm.$set(outbuilding, \"buildingUse\", $$v)},expression:\"outbuilding.buildingUse\"}})]}}],null,true)}),_c('GeneralCondition',{attrs:{\"idSuffix\":index},model:{value:(outbuilding.generalCondition),callback:function ($$v) {_vm.$set(outbuilding, \"generalCondition\", $$v)},expression:\"outbuilding.generalCondition\"}}),_c('ValidationProvider',{attrs:{\"name\":\"Building Area\",\"rules\":\"numeric\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('InputNumber',{attrs:{\"fieldId\":'buildingArea' + index,\"error\":errors[0],\"placeholder\":\"Enter building area\",\"label\":\"Building Area\"},model:{value:(outbuilding.buildingArea),callback:function ($$v) {_vm.$set(outbuilding, \"buildingArea\", $$v)},expression:\"outbuilding.buildingArea\"}})]}}],null,true)})],1)})],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\r\nimport { ValidationProvider } from 'vee-validate/dist/vee-validate.full.esm'\r\nimport { Component, Vue, Watch } from 'vue-property-decorator'\r\nimport InputNumber from '@/components/Controls/InputNumber.vue'\r\nimport InputText from '@/components/Controls/InputText.vue'\r\nimport InputTextarea from '@/components/Controls/InputTextarea.vue'\r\nimport Calendar from '@/components/Controls/Calendar.vue'\r\nimport { componentsImports } from '../FormFields/index'\r\n\r\ntype Outbuilding = {\r\n buildingType: string | null;\r\n buildingUse: string | null;\r\n generalCondition: string | null;\r\n buildingArea: number | null;\r\n}\r\n\r\ntype ServerData = { [key: string]: any }\r\n\r\n@Component({\r\n components: {\r\n ...componentsImports(),\r\n ValidationProvider,\r\n InputNumber,\r\n InputText,\r\n InputTextarea,\r\n Calendar\r\n }\r\n})\r\nexport default class RuralHobbyFarm extends Vue {\r\n formData () {\r\n const data: ServerData = {\r\n UseDescription: this.use,\r\n GeneralCondition: this.generalCondition,\r\n NumberOfBedrooms: this.bedrooms,\r\n NumberOfBathrooms: this.bathrooms,\r\n FloorArea: this.floorArea,\r\n FloorConstruction: this.floorConstruction,\r\n WallConstruction: this.wallConstruction,\r\n RoofConstruction: this.roofConstruction,\r\n PropertyFeatures: this.propertyFeatures\r\n }\r\n\r\n data.Outbuildings = this.outbuildings.map(o => ({\r\n BuildingType: o.buildingType,\r\n UseDescription: o.buildingUse,\r\n Condition: o.generalCondition,\r\n Area: o.buildingArea\r\n }))\r\n\r\n return data\r\n }\r\n\r\n loadData (data: any) {\r\n this.use = data.UseDescription\r\n this.generalCondition = data.GeneralCondition\r\n this.bedrooms = data.NumberOfBedrooms\r\n this.bathrooms = data.NumberOfBathrooms\r\n this.floorArea = data.FloorArea\r\n this.floorConstruction = data.FloorConstruction\r\n this.wallConstruction = data.WallConstruction\r\n this.roofConstruction = data.RoofConstruction\r\n this.propertyFeatures = data.PropertyFeatures\r\n\r\n if (!data.Outbuildings) return\r\n\r\n data.Outbuildings.forEach((t: any) => {\r\n this.outbuildings.push({\r\n buildingType: t.BuildingType,\r\n buildingUse: t.UseDescription,\r\n generalCondition: t.Condition,\r\n buildingArea: t.Area\r\n })\r\n })\r\n\r\n this.numberOfOutbuildings = data.Outbuildings.length\r\n }\r\n\r\n propertyType () {\r\n return 'RuralHobbyFarm'\r\n }\r\n\r\n @Watch('numberOfOutbuildings')\r\n outbuildingsChanged (newVal: number, oldVal: number | null) {\r\n if (newVal < 0) return\r\n if (oldVal === null) oldVal = 0\r\n if (newVal === this.outbuildings.length) return\r\n\r\n if (newVal > oldVal) {\r\n for (let i = oldVal; i < newVal; i++) {\r\n this.outbuildings.push(this.newOutbuilding())\r\n }\r\n } else {\r\n this.outbuildings = this.outbuildings.slice(0, newVal)\r\n }\r\n }\r\n\r\n outbuildings: Outbuilding[] = []\r\n\r\n newOutbuilding (): any {\r\n return {\r\n buildingType: null,\r\n buildingUse: null,\r\n generalCondition: null,\r\n buildingArea: null\r\n }\r\n }\r\n\r\n use: any = null\r\n generalCondition: any = null\r\n bedrooms: any = null\r\n bathrooms: any = null\r\n floorArea: any = null\r\n floorConstruction: any = null\r\n wallConstruction: any = null\r\n roofConstruction: any = null\r\n numberOfOutbuildings: any = null\r\n propertyFeatures: string[] = []\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RuralHobbyFarm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RuralHobbyFarm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RuralHobbyFarm.vue?vue&type=template&id=36629394&scoped=true&\"\nimport script from \"./RuralHobbyFarm.vue?vue&type=script&lang=ts&\"\nexport * from \"./RuralHobbyFarm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RuralHobbyFarm.vue?vue&type=style&index=0&id=36629394&scoped=true&lang=css&\"\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 \"36629394\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}