{"version":3,"sources":["webpack:///./src/components/Controls/FormFields/RoofConstruction.vue?f966","webpack:///./src/components/Controls/FormFields/RoofConstruction.vue","webpack:///./src/components/Controls/FormFields/RoofConstruction.vue?ff11","webpack:///./src/components/Controls/FormFields/RoofConstruction.vue?7a1c"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","rules","scopedSlots","_u","key","fn","ref","errors","value","roofConstructions","on","onInput","staticRenderFns","newVal","$emit","API","Enumerations","GetEnumValuesForType","EnumValueType","RoofConstructionType","then","vals","map","v","label","Label","ValueId","required","default","components","ValidationProvider","Dropdown","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,qBAAqB,CAACE,MAAM,CAAC,KAAO,oBAAoB,MAAQN,EAAIO,OAAOC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASC,GAC7N,IAAIC,EAASD,EAAIC,OACjB,MAAO,CAACT,EAAG,WAAW,CAACE,MAAM,CAAC,QAAU,mBAAmB,MAAQN,EAAIc,MAAM,MAAQD,EAAO,GAAG,QAAUb,EAAIe,kBAAkB,YAAc,2BAA2B,MAAQ,qBAAqBC,GAAG,CAAC,MAAQhB,EAAIiB,mBACjNC,EAAkB,G,sKCiBD,EAArB,2WAiBwC,IAjBxC,gDAOE,SAASC,GACPlB,KAAKmB,MAAM,QAASD,KARxB,qBAWE,WAAO,WACL,OAASE,IAAIC,aAAaC,qBAAqBC,EAAA,KAAcC,sBAAsBC,MAAK,SAACC,GACvF,EAAKZ,kBAAoBY,EAAKC,KAAI,SAACC,GAAD,MAAQ,CAAEC,MAAOD,EAAEE,MAAOjB,MAAOe,EAAEG,mBAb3E,GAA8C,QAE5C,gBADC,eAAK,CAAEC,UAAU,EAAOC,QAAS,c,4BAIlC,gBADC,eAAK,CAAED,UAAU,K,4BAJC,EAAgB,gBANpC,eAAU,CACTE,WAAY,CACVC,mBAAA,OACAC,WAAA,SAGiB,WCpB0Z,I,YCO3aC,EAAY,eACd,EACAvC,EACAmB,GACA,EACA,KACA,KACA,MAIa,aAAAoB,E","file":"js/chunk-2d0abfdd.45f8aaa7.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ValidationProvider',{attrs:{\"name\":\"Roof Construction\",\"rules\":_vm.rules},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('Dropdown',{attrs:{\"fieldId\":\"roofConstruction\",\"value\":_vm.value,\"error\":errors[0],\"options\":_vm.roofConstructions,\"placeholder\":\"Select roof construction\",\"label\":\"Roof Construction\"},on:{\"input\":_vm.onInput}})]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport { ValidationProvider } from 'vee-validate/dist/vee-validate.full.esm'\r\nimport { Component, Vue, Prop } from 'vue-property-decorator'\r\nimport Dropdown, { DropdownOption } from '@/components/Controls/Dropdown.vue'\r\nimport { Services } from 'truemarket-modules/src/services'\r\nimport EnumValueType from 'truemarket-modules/src/models/api/enumerations/EnumValueType'\r\n\r\n@Component({\r\n components: {\r\n ValidationProvider,\r\n Dropdown\r\n }\r\n})\r\nexport default class RoofConstruction extends Vue {\r\n @Prop({ required: false, default: 'required' })\r\n public rules!: string\r\n\r\n @Prop({ required: true })\r\n public value!: string\r\n\r\n onInput (newVal: string) {\r\n this.$emit('input', newVal)\r\n }\r\n\r\n mounted () {\r\n Services.API.Enumerations.GetEnumValuesForType(EnumValueType.RoofConstructionType).then((vals) => {\r\n this.roofConstructions = vals.map((v) => ({ label: v.Label, value: v.ValueId }))\r\n })\r\n }\r\n\r\n roofConstructions: DropdownOption[] = []\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!./RoofConstruction.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!./RoofConstruction.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RoofConstruction.vue?vue&type=template&id=7438cfad&\"\nimport script from \"./RoofConstruction.vue?vue&type=script&lang=ts&\"\nexport * from \"./RoofConstruction.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":""}