{"version":3,"sources":["webpack:///./src/components/Testimonials/TestimonialItem.vue?d352","webpack:///./src/components/Testimonials/TestimonialList.vue?06cd","webpack:///./src/components/Testimonials/TestimonialItem.vue?ef9e","webpack:///./src/components/Testimonials/TestimonialItem.vue","webpack:///./src/components/Testimonials/TestimonialItem.vue?3f95","webpack:///./src/components/Testimonials/TestimonialItem.vue?5da5","webpack:///./src/components/Testimonials/TestimonialList.vue","webpack:///./src/components/Testimonials/TestimonialList.vue?aba9","webpack:///./src/components/Testimonials/TestimonialList.vue?bc13","webpack:///./src/components/Testimonials/TestimonialList.vue?560a","webpack:///./src/components/Listings.vue?eaba","webpack:///./src/views/AgentProfile.vue?541e","webpack:///./src/views/AgentProfile.vue","webpack:///./src/views/AgentProfile.vue?b8fd","webpack:///./src/views/AgentProfile.vue?dc75","webpack:///./src/components/Listings.vue?2e41","webpack:///./src/components/Listings.vue","webpack:///./src/components/Listings.vue?5b1e","webpack:///./src/components/Listings.vue?c557","webpack:///./src/views/AgentProfile.vue?d875"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_l","testimonial","key","Id","_e","staticRenderFns","Description","_v","_s","ClientName","Suburb","component","testimonials","loading","Testimonials","Search","filter","then","$emit","length","required","components","TestimonialItem","profile","FullName","Position","MobilePhone","OfficePhone","Email","PROLISTPhoto","Preview","Url","AboutAgent","FirstName","charAt","toLowerCase","currentListingFilter","on","$event","hasCurrentListings","staticStyle","soldListingFilter","hasSoldListings","testimonialFilter","hasTestimonials","id","$route","params","updateAgent","Slugs","Resolve","resolved","Type","html","el","document","createElement","innerHTML","innerText","about","stripHtml","substring","title","description","image","Photo","undefined","Profiles","Get","SearchLevel","Profile","SearchGuid","Statuses","Current","UnderContract","OrderByStatements","CreateDateDesc","PageSize","Sold","Leased","LastUpdatedDateDesc","resolveId","Analytics","FromProfile","Masthead","Listings","TestimonialList","Loader","listings","listing","noListingsText","infiniteScroll","more","directives","name","rawName","value","callback","loadMore","throttle","threshold","expression","errored","filterUpdateDebounce","Promise","resolve","reject","data","Pages","Page","push","Items","Count","catch","load","update","clearTimeout","window","setTimeout","default","ListingCard"],"mappings":"2IAAA,W,oCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAEN,EAAW,QAAEI,EAAG,SAAS,CAACG,MAAM,CAAC,QAAU,UAAWP,EAAgB,aAAE,CAACI,EAAG,MAAM,CAACE,YAAY,QAAQN,EAAIQ,GAAIR,EAAgB,cAAE,SAASS,GAAa,OAAOL,EAAG,kBAAkB,CAACM,IAAID,EAAYE,GAAGJ,MAAM,CAAC,YAAcE,QAAiB,IAAIT,EAAIY,MAAM,IACnYC,EAAkB,G,8HCDlB,EAAS,WAAa,IAAIb,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,YAAY,eAAe,CAACF,EAAG,aAAa,CAACA,EAAG,WAAW,CAACE,YAAY,uBAAuBC,MAAM,CAAC,QAAUP,EAAIS,YAAYK,gBAAgB,GAAGV,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACN,EAAIe,GAAGf,EAAIgB,GAAGhB,EAAIS,YAAYQ,YAAYjB,EAAIgB,GAAGhB,EAAIS,YAAYS,OAAU,KAAQlB,EAAIS,YAAkB,OAAK,UACzZ,EAAkB,G,4XCaD,EAArB,qJAA6C,QAE3C,GADC,kB,kCADkB,EAAe,GADnC,QACoB,WCduY,I,wBCQxZU,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,oYCKM,EAArB,yG,0BAIU,EAAAC,aAAqC,KAErC,EAAAC,SAAU,EANpB,gDAQE,WAAO,WACL,OAAIC,aAAaC,OAAOtB,KAAKuB,QAAQC,MAAK,SAACL,GACzC,EAAKA,aAAeA,EACpB,EAAKC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,KAAK8G,qBAAuBc,OAAOC,YAAW,WAC5C,EAAKzG,SAAU,EAEf,EAAKsG,WACJ,SA1EP,GAAsC,QAEpC,yBADC,kB,6BAID,yBADC,eAAK,CAAEI,SAAS,K,qCAIjB,yBADC,eAAK,CAAEA,QAAS,wB,qCAyDjB,yBAFC,eAAM,kBACN,eAAM,oB,wCAYN,MA3EkB,EAAQ,yBAT5B,eAAU,CACTlG,WAAY,CACVmG,cAAA,KACAjC,SAAA,MAEFM,WAAY,CACV,qBAAsB,WAGL,WClC8W,I,wBCQ/XlF,EAAY,eACd,EACApB,EACAc,GACA,EACA,KACA,WACA,MAIa,OAAAM,E,2CCnBf,W","file":"js/chunk-e430af94.59e31e01.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!./TestimonialItem.vue?vue&type=style&index=0&id=3204a09e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"testimonial-list\"},[(_vm.loading)?_c('Loader',{attrs:{\"loading\":\"true\"}}):(_vm.testimonials)?[_c('div',{staticClass:\"grid\"},_vm._l((_vm.testimonials),function(testimonial){return _c('TestimonialItem',{key:testimonial.Id,attrs:{\"testimonial\":testimonial}})}),1)]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('article',{staticClass:\"testimonial\"},[_c('blockquote',[_c('RichText',{staticClass:\"testimonial__content\",attrs:{\"content\":_vm.testimonial.Description}})],1),_c('div',{staticClass:\"testimonial__author\"},[_vm._v(_vm._s(_vm.testimonial.ClientName)+_vm._s(_vm.testimonial.Suburb ? (\", \" + (_vm.testimonial.Suburb)) : ''))])])}\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 { Testimonial } from 'client-website-ts-library/types';\r\n\r\n@Component\r\nexport default class TestimonialItem extends Vue {\r\n @Prop()\r\n private readonly testimonial!: Testimonial;\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!./TestimonialItem.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!./TestimonialItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialItem.vue?vue&type=template&id=3204a09e&scoped=true&\"\nimport script from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialItem.vue?vue&type=style&index=0&id=3204a09e&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 \"3204a09e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport { TestimonialFilter } from 'client-website-ts-library/filters';\r\nimport { Testimonial } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport TestimonialItem from './TestimonialItem.vue';\r\n\r\n@Component({\r\n components: {\r\n TestimonialItem,\r\n },\r\n})\r\nexport default class TestimonialList extends Vue {\r\n @Prop({ required: true })\r\n private readonly filter!: TestimonialFilter;\r\n\r\n private testimonials: Testimonial[] | null = null;\r\n\r\n private loading = true;\r\n\r\n mounted() {\r\n API.Testimonials.Search(this.filter).then((testimonials) => {\r\n this.testimonials = testimonials;\r\n this.loading = false;\r\n\r\n this.$emit('got_testimonial_count', testimonials.length);\r\n });\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!./TestimonialList.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!./TestimonialList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TestimonialList.vue?vue&type=template&id=0a7a1c34&scoped=true&\"\nimport script from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\nexport * from \"./TestimonialList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TestimonialList.vue?vue&type=style&index=0&id=0a7a1c34&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 \"0a7a1c34\",\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!./TestimonialList.vue?vue&type=style&index=0&id=0a7a1c34&scoped=true&lang=css&\"","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!./Listings.vue?vue&type=style&index=0&id=dae1b5c4&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Page',{staticClass:\"page--agent-profile\"},[(_vm.profile)?[_c('Masthead',{staticClass:\"agent-profile__masthead\",attrs:{\"image\":\"/assets/images/photos/profile-bg.jpg\",\"relative-content\":true,\"darken\":true}},[_c('ContentContainer',{staticClass:\"agent-profile__header-wrap\"},[_c('div',{staticClass:\"agent-profile__header\"},[_c('div',{staticClass:\"agent-profile__header__details\"},[_c('h1',{staticClass:\"agent-profile__page-title\"},[_vm._v(\"About\")]),_c('h1',{staticClass:\"agent-profile__name\"},[_vm._v(_vm._s(_vm.profile.FullName))]),_c('h2',{staticClass:\"agent-profile__position\"},[_vm._v(_vm._s(_vm.profile.Position))]),_c('ul',{staticClass:\"agent-profile__contact\"},[(_vm.profile.MobilePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.MobilePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"M.\")]),_vm._v(\" \"+_vm._s(_vm.profile.MobilePhone)+\" \")])]):_vm._e(),(_vm.profile.OfficePhone)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'tel:' + _vm.profile.OfficePhone}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"P.\")]),_vm._v(\" \"+_vm._s(_vm.profile.OfficePhone)+\" \")])]):_vm._e(),(_vm.profile.Email)?_c('li',{staticClass:\"contact-method\"},[_c('a',{attrs:{\"href\":'mailto:' + _vm.profile.Email}},[_c('span',{staticClass:\"contact-method__label\"},[_vm._v(\"E.\")]),_vm._v(\" \"+_vm._s(_vm.profile.Email)+\" \")])]):_vm._e()])]),(_vm.profile.PROLISTPhoto)?_c('div',{staticClass:\"agent-profile__header__image\"},[_c('img',{staticClass:\"agent-profile__img\",attrs:{\"src\":_vm.profile.PROLISTPhoto.Preview.Url}})]):_vm._e()])])],1),(_vm.profile.AboutAgent.length > 0)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(\"About \"+_vm._s(_vm.profile.FirstName))]),_c('RichText',{attrs:{\"content\":_vm.profile.AboutAgent}})],1)],1):_vm._e(),(_vm.hasCurrentListings)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? '\\'' : '\\'s')+\" Listings\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.currentListingFilter,\"infinite-scroll\":false},on:{\"got_listing_count\":function($event){_vm.hasCurrentListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/profiles/' + _vm.profile.Id + '/properties'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasSoldListings)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? '\\'' : '\\'s')+\" Recently Sold & Leased Listings\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('div',[_c('Listings',{attrs:{\"filter\":_vm.soldListingFilter,\"infinite-scroll\":false},on:{\"got_listing_count\":function($event){_vm.hasSoldListings = $event > 0}}}),_c('div',{staticClass:\"center-text\",staticStyle:{\"margin-top\":\"var(--gutter)\"}},[_c('LinkButton',{attrs:{\"href\":'/profiles/' + _vm.profile.Id + '/properties/sold'}},[_vm._v(\"View More\")])],1)],1)])],1)],1):_vm._e(),(_vm.hasTestimonials)?_c('ContentRow',[_c('ContentContainer',[_c('SectionTitle',[_vm._v(_vm._s(_vm.profile.FirstName)+_vm._s(_vm.profile.FirstName.charAt(_vm.profile.FirstName.length - 1).toLowerCase() === 's' ? '\\'' : '\\'s')+\" Testimonials\")]),_c('Deferrable',{attrs:{\"delay\":\"50\"}},[_c('TestimonialList',{attrs:{\"filter\":_vm.testimonialFilter},on:{\"got_testimonial_count\":function($event){_vm.hasTestimonials = $event > 0}}})],1)],1)],1):_vm._e()]:_vm._e()],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\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 { Component, Mixins } from 'vue-property-decorator';\r\nimport { Profile, ListingStatus, WebsiteLevel } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\nimport { ListingFilter, ListingOrderBy, TestimonialFilter, TestimonialOrderBy } from 'client-website-ts-library/filters';\r\nimport { AsyncView, RouteMeta } from 'client-website-ts-library/plugins';\r\n\r\nimport Masthead from '@/components/Common/Masthead.vue';\r\nimport Listings from '@/components/Listings.vue';\r\nimport TestimonialList from '@/components/Testimonials/TestimonialList.vue';\r\nimport Loader from '@/components/UI/Loader.vue';\r\n\r\nimport { AnalyticsEventObject } from 'client-website-ts-library/services/Analytics';\r\n\r\n@Component({\r\n components: {\r\n Masthead,\r\n Listings,\r\n TestimonialList,\r\n Loader,\r\n },\r\n})\r\nexport default class AgentProfile extends Mixins(AsyncView) {\r\n private profile: Profile | null = null;\r\n\r\n private currentListingFilter: ListingFilter | null = null;\r\n\r\n private soldListingFilter: ListingFilter | null = null;\r\n\r\n private testimonialFilter: TestimonialFilter | null = null;\r\n\r\n private hasSoldListings = true;\r\n\r\n private hasCurrentListings = true;\r\n\r\n private hasTestimonials = true;\r\n\r\n resolveId() {\r\n const { id } = this.$route.params;\r\n\r\n if (id.length === 36) {\r\n // If the ID is 36 long we'll treat it as a guid\r\n this.updateAgent(id);\r\n } else {\r\n API.Slugs.Resolve(id).then((resolved) => {\r\n if (resolved.Type === 'Profile') {\r\n this.updateAgent(resolved.Id);\r\n }\r\n });\r\n }\r\n }\r\n\r\n stripHtml(html: string): string {\r\n const el = document.createElement('div');\r\n\r\n el.innerHTML = html;\r\n\r\n return el.innerText;\r\n }\r\n\r\n head(): RouteMeta | null {\r\n if (this.profile === null) return null;\r\n\r\n let about = this.stripHtml(this.profile.AboutAgent);\r\n\r\n if (about.length > 156) {\r\n about = `${about.substring(0, 156)}...`;\r\n }\r\n\r\n return {\r\n title: `${this.profile.FullName} - ${this.profile.Position}`,\r\n description: about,\r\n image: this.profile.Photo ? this.profile.Photo.Preview.Url : undefined,\r\n };\r\n }\r\n\r\n updateAgent(id: string) {\r\n API.Profiles.Get(id).then((profile) => {\r\n this.profile = profile;\r\n\r\n this.$emit('updateView');\r\n\r\n this.currentListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [\r\n ListingStatus.Current,\r\n ListingStatus.UnderContract,\r\n ],\r\n OrderByStatements: [\r\n ListingOrderBy.CreateDateDesc,\r\n ],\r\n PageSize: 6,\r\n });\r\n\r\n this.soldListingFilter = new ListingFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n Statuses: [\r\n ListingStatus.Sold,\r\n ListingStatus.Leased,\r\n ],\r\n OrderByStatements: [\r\n ListingOrderBy.LastUpdatedDateDesc,\r\n ],\r\n PageSize: 6,\r\n });\r\n\r\n this.testimonialFilter = new TestimonialFilter({\r\n SearchLevel: WebsiteLevel.Profile,\r\n SearchGuid: this.profile!.Id,\r\n OrderByStatements: [\r\n TestimonialOrderBy.CreateDateDesc,\r\n ],\r\n });\r\n });\r\n }\r\n\r\n mounted() {\r\n this.resolveId();\r\n }\r\n\r\n getAnalyticsData(): AnalyticsEventObject | null {\r\n if (this.profile === null) return null;\r\n\r\n return AnalyticsEventObject.FromProfile(this.profile);\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!./AgentProfile.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!./AgentProfile.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AgentProfile.vue?vue&type=template&id=b0765cda&scoped=true&\"\nimport script from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nexport * from \"./AgentProfile.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AgentProfile.vue?vue&type=style&index=0&id=b0765cda&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 \"b0765cda\",\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('section',{staticClass:\"listings\"},[(_vm.listings.length)?_c('Cards',{staticClass:\"cards--listings\"},_vm._l((_vm.listings),function(listing){return _c('ListingCard',{key:listing.Id,attrs:{\"listing\":listing}})}),1):(!_vm.loading)?_c('div',{staticClass:\"listings__no-listings\"},[_vm._v(\" \"+_vm._s(_vm.noListingsText)+\" \")]):_vm._e(),_c('Loader',{staticClass:\"listings__loader\",attrs:{\"loading\":_vm.loading}}),(_vm.infiniteScroll && _vm.more)?_c('div',{directives:[{name:\"observe-visibility\",rawName:\"v-observe-visibility\",value:({callback: _vm.loadMore, throttle: 1000, threshold: 0.5}),expression:\"{callback: loadMore, throttle: 1000, threshold: 0.5}\"}],staticClass:\"listings__visibility-checker\"}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { ObserveVisibility } from 'vue-observe-visibility';\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\nimport { ListingFilter } from 'client-website-ts-library/filters/ListingFilter';\r\nimport { Listing } from 'client-website-ts-library/types/Listing';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\nimport ListingCard from './ListingCard.vue';\r\nimport Loader from './UI/Loader.vue';\r\n\r\n@Component({\r\n components: {\r\n ListingCard,\r\n Loader,\r\n },\r\n directives: {\r\n 'observe-visibility': ObserveVisibility,\r\n },\r\n})\r\nexport default class Listings extends Vue {\r\n @Prop()\r\n private readonly filter!: ListingFilter;\r\n\r\n @Prop({ default: true })\r\n private readonly infiniteScroll!: boolean;\r\n\r\n @Prop({ default: 'No listings found.' })\r\n private readonly noListingsText!: string;\r\n\r\n private loading = false;\r\n\r\n private errored = false;\r\n\r\n private listings: Listing[] = [];\r\n\r\n private more = true;\r\n\r\n load(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.loading || !this.more) resolve(false);\r\n\r\n this.loading = true;\r\n\r\n API.Listings.Search(this.filter).then((data) => {\r\n this.more = data.Pages > this.filter.Page;\r\n\r\n this.listings.push(...data.Items);\r\n\r\n resolve();\r\n\r\n this.$emit('got_listing_count', data.Count);\r\n }).catch(reject);\r\n });\r\n }\r\n\r\n loadMore(): void {\r\n if (this.loading) return;\r\n\r\n this.filter.Page += 1;\r\n\r\n this.load().then(() => {\r\n this.loading = false;\r\n });\r\n }\r\n\r\n update(): void {\r\n this.listings = [];\r\n this.more = true;\r\n this.loading = false;\r\n\r\n this.load().then(() => {\r\n this.loading = false;\r\n });\r\n }\r\n\r\n mounted() {\r\n this.update();\r\n }\r\n\r\n private filterUpdateDebounce: number | undefined = undefined;\r\n\r\n @Watch('filter.Suburbs')\r\n @Watch('filter.SearchId')\r\n handleFilterParamsUpdated(): void {\r\n this.loading = true;\r\n this.listings = [];\r\n\r\n clearTimeout(this.filterUpdateDebounce);\r\n\r\n this.filterUpdateDebounce = window.setTimeout(() => {\r\n this.loading = false;\r\n\r\n this.update();\r\n }, 1000);\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!./Listings.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!./Listings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Listings.vue?vue&type=template&id=dae1b5c4&scoped=true&\"\nimport script from \"./Listings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Listings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Listings.vue?vue&type=style&index=0&id=dae1b5c4&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 \"dae1b5c4\",\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!./AgentProfile.vue?vue&type=style&index=0&id=b0765cda&scoped=true&lang=css&\""],"sourceRoot":""}