{"version":3,"sources":["webpack:///./src/components/UI/Loader.vue?eb29","webpack:///./src/components/UI/Loader.vue","webpack:///./src/components/UI/Loader.vue?05d4","webpack:///./src/components/UI/Loader.vue?d4ac","webpack:///./src/views/LeaseAppraisal.vue?befd","webpack:///./src/views/LeaseAppraisal.vue","webpack:///./src/views/LeaseAppraisal.vue?47f4","webpack:///./src/views/LeaseAppraisal.vue?6ba8","webpack:///./node_modules/client-website-ts-library/types/Context.ts","webpack:///./src/components/UI/Loader.vue?b05e","webpack:///./node_modules/client-website-ts-library/plugins/view/index.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormConstructorData.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormField.ts","webpack:///./node_modules/client-website-ts-library/types/Forms/FormValue.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","expression","staticClass","staticRenderFns","component","attrs","formData","_e","Type","Context","EnquiryTargetProfile","Id","components","Form","ContextItemType","prolistAnalyticsService","ServiceManager","Get","Analytics","headService","Require","Head","evt","obj","getAnalyticsEvent","call","getAnalyticsData","$route","path","undefined","triggerAnalyticsEvent","event","GetAll","forEach","adapter","Record","result","head","bind","Promise","then","meta","Update","UpdateWithStatic","View","requestAnimationFrame","updateHead","updateAnalytics","AsyncView","$on","items","ClientWebsiteId","Config","Website","Items","FormFieldType","FormValue","key","Key","Value"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOT,EAAW,QAAEU,WAAW,YAAYC,YAAY,YACvMC,EAAkB,G,oVCOtB,IAAqB,EAArB,cAAoC,SAEhC,GADC,kB,8BADgB,EAAM,GAD1B,QACoB,WCR8X,I,wBCQ/YC,EAAY,eACd,EACAd,EACAa,GACA,EACA,KACA,WACA,MAIa,OAAAC,E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/FrC,KAAKsC,sBAAsBR,GAGtB,sBAAsBS,GAC3Bf,EAAA,KAAegB,OAA0B,OAAYd,WAAWe,QAASC,IACvEA,EAAQC,OAAOJ,KAIZ,4BAA4BA,GACI,OAAjCvC,KAAKuB,yBAAkCvB,KAAKuB,wBAAwBoB,OAAOJ,GAGvE,aACR,GAAI,SAAUvC,KAAM,CAClB,MAAM4C,EAAS5C,KAAK6C,KAAMC,KAAK9C,KAAhBA,GAEZ4C,aAAkBG,QACnBH,EAAOI,KAAMC,IACXjD,KAAK2B,YAAYuB,OAAOD,KAG1BjD,KAAK2B,YAAYuB,OAAON,QAG1B5C,KAAK2B,YAAYwB,iBAAiBnD,KAAKmC,OAAOC,QAzC9C,EAAQ,yBADb,QACK,GA+CN,IAAMgB,EAAN,cAAmB,EACV,UACLC,sBAAsB,KACpBrD,KAAKsD,aACLtD,KAAKuD,sBAJLH,EAAI,yBADT,QACKA,GAUN,IAAMI,EAAN,cAAwB,EACf,UACLxD,KAAKyD,IAAI,aAAc,KACrBJ,sBAAsB,KACpBrD,KAAKsD,aACLtD,KAAKuD,wBALPC,EAAS,yBADd,QACKA,I,wHCpEN,MAAM,EAIJ,YAAYE,GAHL,KAAAC,gBAA0BC,EAAA,KAAOC,QAAQ1C,GAI9CnB,KAAK8D,MAAQJ,GAAS,I,ICNrBK,E,WAAL,SAAKA,GAED,sBACA,wBACA,oBACA,8BACA,8BACA,oCACA,kCACA,gDACA,kCACA,sBACA,iCACA,wCAbJ,CAAKA,MAAa,K,wCCClB,MAAMC,EAIF,YAAYC,EAAazD,GACrBR,KAAKkE,IAAMD,EACXjE,KAAKmE,MAAQ3D,K","file":"js/chunk-44a0354e.c1ac8626.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"loader\"})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\n\n@Component\nexport default class Loader extends Vue {\n @Prop()\n private readonly loading!: boolean;\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!./Loader.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!./Loader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Loader.vue?vue&type=template&id=b15215d2&scoped=true&\"\nimport script from \"./Loader.vue?vue&type=script&lang=ts&\"\nexport * from \"./Loader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Loader.vue?vue&type=style&index=0&id=b15215d2&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 \"b15215d2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',[_c('SiteMasthead',{attrs:{\"thin\":\"true\",\"title\":\"Lease Appraisal\"}}),_c('ContentRow',{attrs:{\"noPaddingTop\":true}},[_c('ContentContainer',[(_vm.formData)?_c('Form',{attrs:{\"context\":_vm.formData,\"type\":\"Variations.CPO.Redlynch.RentalsAppraisalRequestForm\"}}):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { View } from 'client-website-ts-library/plugins';\nimport { ContextItemType } from 'client-website-ts-library/types/Context';\nimport { FormConstructorData } from 'client-website-ts-library/types/Forms';\nimport { Component, Mixins } from 'vue-property-decorator';\n\nimport Form from '../components/Forms/Form.vue';\n\n@Component({\n components: {\n Form,\n },\n})\nexport default class LeaseAppraisal extends Mixins(View) {\n private formData: FormConstructorData | null = null;\n\n mounted() {\n this.formData = new FormConstructorData([\n {\n Type: ContextItemType.EnquiryTargetProfile,\n Id: 'b05e2144-079b-4b53-9f7e-9f7c1f07ddeb', // SAMANTHA\n },\n ]);\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!./LeaseAppraisal.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!./LeaseAppraisal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LeaseAppraisal.vue?vue&type=template&id=c4301108&scoped=true&\"\nimport script from \"./LeaseAppraisal.vue?vue&type=script&lang=ts&\"\nexport * from \"./LeaseAppraisal.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 \"c4301108\",\n null\n \n)\n\nexport default component.exports","import { WebsiteLevel } from \"./WebsiteConfig\";\r\n\r\nenum ContextItemType\r\n{\r\n None,\r\n Listing,\r\n Profile,\r\n Office,\r\n EnquiryTargetProfile,\r\n Franchise,\r\n CustomData,\r\n}\r\n\r\ninterface ContextItem {\r\n Type: ContextItemType;\r\n Id: string;\r\n}\r\n\r\ninterface CustomContextItem extends ContextItem {\r\n Key: string;\r\n Value: string;\r\n}\r\n\r\ninterface Context {\r\n ClientWebsiteId: string;\r\n WebsiteId?: string;\r\n WebsiteLevel?: WebsiteLevel;\r\n Items: ContextItem[];\r\n}\r\n\r\nexport { ContextItemType, ContextItem, Context, CustomContextItem }\r\n","import mod 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!./Loader.vue?vue&type=style&index=0&id=b15215d2&scoped=true&lang=css&\"; export default mod; 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!./Loader.vue?vue&type=style&index=0&id=b15215d2&scoped=true&lang=css&\"","import Vue from \"vue\";\r\nimport { Component } from \"vue-property-decorator\";\r\nimport { AnalyticsEvent, AnalyticsEventObject, AnalyticsPageView, IAnalyticsAdapter, PROListAnalyticsAdapter } from \"../../services/Analytics\";\r\nimport { HeadService } from \"../../services/HeadService\";\r\nimport { ServiceManager, ServiceType } from \"../../services/ServiceManager\";\r\nimport { RouteMeta } from \"../meta\";\r\n\r\ninterface ViewBase {\r\n getAnalyticsEvent?(): AnalyticsEvent | null;\r\n getAnalyticsData?(): AnalyticsEventObject | null;\r\n head?(): RouteMeta | Promise | null;\r\n}\r\n\r\n@Component\r\nclass ViewBase extends Vue {\r\n protected prolistAnalyticsService = ServiceManager.Get(ServiceType.Analytics, 'PROListAnalyticsAdapter');\r\n protected headService = ServiceManager.Require(ServiceType.Head)!;\r\n\r\n public updateAnalytics() {\r\n let evt: AnalyticsEvent | null = null;\r\n let obj: AnalyticsEventObject | null = null;\r\n\r\n if (typeof this.getAnalyticsEvent !== 'undefined') {\r\n evt = this.getAnalyticsEvent.call(this);\r\n } else if(typeof this.getAnalyticsData !== 'undefined') {\r\n obj = this.getAnalyticsData.call(this);\r\n }\r\n\r\n if (evt === null) evt = new AnalyticsPageView(this.$route.path, this.$route.name || '', obj || undefined);\r\n\r\n this.triggerAnalyticsEvent(evt);\r\n }\r\n\r\n public triggerAnalyticsEvent(event: AnalyticsEvent) {\r\n ServiceManager.GetAll(ServiceType.Analytics).forEach((adapter) => {\r\n adapter.Record(event);\r\n });\r\n }\r\n\r\n public triggerCustomAnalyticsEvent(event: AnalyticsEvent) {\r\n if (this.prolistAnalyticsService !== null) this.prolistAnalyticsService.Record(event);\r\n }\r\n\r\n protected updateHead() {\r\n if ('head' in this) {\r\n const result = this.head!.bind(this)();\r\n\r\n if(result instanceof Promise) {\r\n result.then((meta: RouteMeta | null) => {\r\n this.headService.Update(meta);\r\n });\r\n } else {\r\n this.headService.Update(result as RouteMeta | null);\r\n }\r\n } else {\r\n this.headService.UpdateWithStatic(this.$route.path);\r\n }\r\n }\r\n}\r\n\r\n@Component\r\nclass View extends ViewBase {\r\n public mounted() {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n }\r\n}\r\n\r\n@Component\r\nclass AsyncView extends ViewBase {\r\n public mounted() {\r\n this.$on('updateView', () => {\r\n requestAnimationFrame(() => {\r\n this.updateHead();\r\n this.updateAnalytics();\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport {\r\n View,\r\n AsyncView\r\n}\r\n","import { Config } from \"../../services/Config\";\r\nimport { ContextItem } from \"../Context\";\r\n\r\nclass FormConstructorData {\r\n public ClientWebsiteId: string = Config.Website.Id;\r\n public Items: ContextItem[];\r\n\r\n constructor(items?: ContextItem[]) {\r\n this.Items = items || [];\r\n }\r\n}\r\n\r\nexport { FormConstructorData }\r\n","import { FormFieldLayoutOptions } from \"./FormFieldLayoutOptions\";\r\n\r\nenum FormFieldType\r\n{\r\n Text,\r\n Email,\r\n Tel,\r\n Dropdown,\r\n Textarea,\r\n VideoUpload,\r\n FileUpload,\r\n MultiFileUploader,\r\n StaticText,\r\n Date,\r\n Signature,\r\n GraphicalPDF\r\n}\r\n\r\ninterface FormField {\r\n FieldId: string;\r\n SectionId: string;\r\n Type: FormFieldType;\r\n TypeName: string;\r\n Key: string;\r\n Label: string;\r\n Placeholder: string;\r\n LayoutOptions: FormFieldLayoutOptions;\r\n Required: boolean;\r\n \r\n}\r\n\r\nexport { FormField, FormFieldType }\r\n","import { PDFFieldData } from \"./FieldTypes/PDFFieldData\";\r\nimport { PDFKeyValuePair } from \"./FieldTypes/IFormField\";\r\n\r\nclass FormValue {\r\n Key: string;\r\n Value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null;\r\n\r\n constructor(key: string, value: string | PDFFieldData | Blob | Blob[] | PDFKeyValuePair | (string | PDFKeyValuePair)[] | number | null) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport { FormValue }\r\n"],"sourceRoot":""}