{"version":3,"sources":["webpack:///./src/views/TenancyApplicationForm.vue?6772","webpack:///./src/views/TenancyApplicationForm.vue","webpack:///./src/views/TenancyApplicationForm.vue?aaf6","webpack:///./src/views/TenancyApplicationForm.vue?7a3c"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","formCtx","_e","staticRenderFns","office","officeId","Website","Settings","WebsiteId","Offices","Get","then","ctx","ClientWebsiteId","Id","Items","Type","Context","Office","listingId","$route","query","undefined","push","Listing","components","Form","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAAEJ,EAAU,OAAE,CAACI,EAAG,eAAe,CAACE,MAAM,CAAC,KAAO,OAAO,MAAQ,2BAA2B,aAAa,UAAUF,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACG,YAAY,6BAA6B,CAAEP,EAAW,QAAEI,EAAG,OAAO,CAACE,MAAM,CAAC,QAAUN,EAAIQ,QAAQ,KAAO,mEAAmER,EAAIS,MAAM,IAAI,IAAIT,EAAIS,MAAM,IACrcC,EAAkB,G,wHC2BD,EAArB,yG,0BACU,EAAAF,QAA0B,KAE1B,EAAAG,OAAwB,KAHlC,gDAKE,WAAO,aACCC,EAAW,OAAOC,QAAQC,SAAUC,UAE1C,OAAIC,QAAQC,IAAIL,GAAUM,MAAK,SAACP,GAC9B,EAAKA,OAASA,KAGhB,IAAMQ,EAAe,CACnBC,gBAAiB,OAAOP,QAAQQ,GAChCC,MAAO,CACL,CACEC,KAAMC,EAAA,KAAgBC,OACtBJ,GAAIT,KASJc,EAAS,UAAGzB,KAAK0B,OAAOC,MAAMF,iBAArB,aAAkCG,EAE7CH,GACFP,EAAIG,MAAMQ,KAAK,CACbP,KAAMC,EAAA,KAAgBO,QACtBV,GAAIK,IAIRzB,KAAKO,QAAUW,MAnCnB,GAAoD,eAAO,SAAtC,EAAsB,yBAN1C,eAAU,CACTa,WAAY,CACVC,OAAA,SAIiB,WC5B4X,I,YCO7YC,EAAY,eACd,EACAnC,EACAW,GACA,EACA,KACA,WACA,MAIa,aAAAwB,E","file":"js/chunk-2d2307f6.a83bb571.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[(_vm.office)?[_c('SiteMasthead',{attrs:{\"mini\":\"true\",\"title\":\"Tenancy Application Form\",\"extra-dark\":\"true\"}}),_c('ContentRow',[_c('ContentContainer',{staticClass:\"content-container--medium\"},[(_vm.formCtx)?_c('Form',{attrs:{\"context\":_vm.formCtx,\"type\":\"Variations.ExploreProperty.SouthWestWA.TenancyApplicationForm\"}}):_vm._e()],1)],1)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { View } from 'client-website-ts-library/plugins';\nimport { API, Config } from 'client-website-ts-library/services';\nimport { Context, Office } from 'client-website-ts-library/types';\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport Form from '../components/Forms/Form.vue';\n\n@Component({\n components: {\n Form,\n },\n})\n\nexport default class TenancyApplicationForm extends Mixins(View) {\n private formCtx: Context | null = null\n\n private office: Office | null = null\n\n mounted() {\n const officeId = Config.Website.Settings!.WebsiteId; // South West WA\n\n API.Offices.Get(officeId).then((office) => {\n this.office = office;\n });\n\n const ctx: Context = {\n ClientWebsiteId: Config.Website.Id,\n Items: [\n {\n Type: ContextItemType.Office,\n Id: officeId,\n },\n /* {\n Type: ContextItemType.EnquiryTargetProfile,\n Id: '', //\n }, */\n ],\n };\n\n const listingId = this.$route.query.listingId ?? undefined;\n\n if (listingId) {\n ctx.Items.push({\n Type: ContextItemType.Listing,\n Id: listingId as string,\n });\n }\n\n this.formCtx = ctx;\n }\n}\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!./TenancyApplicationForm.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!./TenancyApplicationForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TenancyApplicationForm.vue?vue&type=template&id=f73c01c8&scoped=true&\"\nimport script from \"./TenancyApplicationForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TenancyApplicationForm.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 \"f73c01c8\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}