{"version":3,"sources":["webpack:///./src/components/UI/Loader.vue","webpack:///./src/components/UI/Loader.vue?baee","webpack:///./src/components/UI/Loader.vue?8596","webpack:///./src/components/UI/Loader.vue?9492","webpack:///./src/components/UI/Loader.vue?fa85","webpack:///./node_modules/client-website-ts-library/components/MultiSelect.vue?1eb5","webpack:///./src/views/PropertiesForRent.vue","webpack:///./src/views/PropertiesForRent.vue?9b62","webpack:///./src/views/PropertiesForRent.vue?3532","webpack:///./src/views/PropertiesForRent.vue?0d39","webpack:///./src/components/ListingSearch.vue","webpack:///./src/components/ListingSearch.vue?7d78","webpack:///./src/components/ListingSearch.vue?41dd","webpack:///./src/components/ListingSearch.vue?38eb","webpack:///./src/components/ListingSearch.vue?d04c","webpack:///./node_modules/client-website-ts-library/components/MultiSelect.vue","webpack:///./node_modules/client-website-ts-library/components/MultiSelect.vue?cb18","webpack:///./node_modules/client-website-ts-library/components/MultiSelect.vue?7010","webpack:///./node_modules/client-website-ts-library/components/MultiSelect.vue?cfde"],"names":["render","_vm","this","_c","_self","_setupProxy","directives","name","rawName","value","loading","expression","staticClass","staticRenderFns","Loader","Vue","__decorate","Prop","Component","component","attrs","on","handleFilter","listingFilter","_e","PropertiesForRent","Mixins","View","constructor","filter","console","log","OrderByStatements","ListingOrderBy","CreateDateDesc","Categories","ListingCategory","ResidentialRental","HolidayRental","components","Listings","ListingSearch","suburbs","suburbsUpdated","beds","$event","$$selectedVal","Array","prototype","call","target","options","o","selected","map","val","_value","multiple","_v","baths","mos","methodOfSale","ListingFilter","Statuses","ListingStatus","Current","UnderContract","PageSize","selectedSuburbs","updateSuburbsDebounce","undefined","emitDebounce","mounted","updateFilter","updateMos","updateSuburbs","clearTimeout","window","setTimeout","tmpFilter","Suburbs","API","GetSuburbs","then","suburb","Value","Label","ResidentialSale","ResidentialLand","Rural","MinBedrooms","MinBathrooms","s","Page","emitFilter","$emit","required","Watch","MultiSelect","class","focused","style","background","focusBg","itemBorderRad","defocus","_l","previewItems","item","key","_s","removeItem","selectedValue","length","previewCount","search","searchPlaceholder","domProps","updateSearch","gotFocus","composing","searchResults","result","Option","Selected","select","noResults","requestAnimationFrame","results","loweredSearch","toLowerCase","itm","indexOf","r","some","enableCustom","push","customLabelPrefix","customValuePrefix","option","v","idx","findIndex","splice","setValues","opt","slice","default"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOR,EAAIS,QAASC,WAAW,YAAYC,YAAY,YAEvMC,EAAkB,G,wBCEtB,IAAqBC,EAArB,cAAoCC,SAEhCC,yBADCC,kBACD,8BAFiBH,EAAM,yBAD1BI,QACoBJ,WCJ8X,I,wBCQ/YK,EAAY,eACd,EACAnB,EACAa,GACA,EACA,KACA,WACA,MAIa,OAAAM,E,2FCnBf,W,yDCAA,W,yCCAA,IAAInB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,OAAO,CAACA,EAAG,eAAe,CAACiB,MAAM,CAAC,MAAQ,sBAAsB,KAAO,UAAUjB,EAAG,aAAa,CAACA,EAAG,mBAAmB,CAACA,EAAG,gBAAgB,CAACiB,MAAM,CAAC,iBAAiB,QAAQC,GAAG,CAAC,eAAiBpB,EAAIqB,gBAAiBrB,EAAIsB,cAAepB,EAAG,WAAW,CAACiB,MAAM,CAAC,OAASnB,EAAIsB,iBAAiBtB,EAAIuB,MAAM,IAAI,IAAI,IAE/YX,EAAkB,G,oFCctB,IAAqBY,EAArB,cAA+CC,eAAOC,SAAtDC,c,oBACU,KAAAL,cAAsC,KAE9CD,aAAaO,GACXC,QAAQC,IAAIF,GAEZA,EAAOG,kBAAoB,CAACC,OAAeC,gBAE3CL,EAAOM,WAAa,CAACC,OAAgBC,kBAAmBD,OA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F,KAAK8G,cAAckC,MAAM,EAAGhJ,KAAKgH,aAAe,KAxGzDlG,yBADCC,eAAK,CAAE+E,UAAU,KAClB,8BAGAhF,yBADCC,eAAK,CAAEkI,SAAS,KACjB,mCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,iBACjB,wCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,aACjB,wCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,KACjB,mCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,YACjB,wCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,sBACjB,gCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,iBACjB,iCAGAnI,yBADCC,eAAK,CAAEkI,QAAS,UACjB,8BAGAnI,yBADCC,eAAK,CAAEkI,QAAS,YACjB,oCA7BmBjD,EAAW,yBAD/BhF,QACoBgF,WClBmS,I,wBCQpT/E,EAAY,eACd,EACAnB,EACAa,GACA,EACA,KACA,WACA,MAIa,OAAAM,E","file":"js/chunk-cbb320c0.0e78cba8.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"loader\"})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class Loader extends Vue {\r\n @Prop()\r\n private readonly loading!: boolean;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-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--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-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&prod&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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loader.vue?vue&type=style&index=0&id=b15215d2&prod&scoped=true&lang=css&\"","export * from \"-!../../mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/src/index.js??ref--7-oneOf-1-2!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./MultiSelect.vue?vue&type=style&index=0&id=396af627&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Page',[_c('SiteMasthead',{attrs:{\"title\":\"Properties For Rent\",\"mini\":\"true\"}}),_c('ContentRow',[_c('ContentContainer',[_c('ListingSearch',{attrs:{\"method-of-sale\":\"rent\"},on:{\"filter_updated\":_vm.handleFilter}}),(_vm.listingFilter)?_c('Listings',{attrs:{\"filter\":_vm.listingFilter}}):_vm._e()],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Mixins } from 'vue-property-decorator';\r\nimport { ListingFilter, ListingOrderBy } from 'client-website-ts-library/filters';\r\nimport { View } from 'client-website-ts-library/plugins';\r\n\r\nimport { ListingCategory } from 'client-website-ts-library/types';\r\n\r\nimport Listings from '../components/Listings.vue';\r\nimport ListingSearch from '../components/ListingSearch.vue';\r\n\r\n@Component({\r\n components: {\r\n Listings,\r\n ListingSearch,\r\n },\r\n})\r\nexport default class PropertiesForRent extends Mixins(View) {\r\n private listingFilter: ListingFilter | null = null;\r\n\r\n handleFilter(filter: ListingFilter) {\r\n console.log(filter);\r\n // eslint-disable-next-line no-param-reassign\r\n filter.OrderByStatements = [ListingOrderBy.CreateDateDesc];\r\n // eslint-disable-next-line no-param-reassign\r\n filter.Categories = [ListingCategory.ResidentialRental, ListingCategory.HolidayRental];\r\n this.listingFilter = filter;\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PropertiesForRent.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PropertiesForRent.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PropertiesForRent.vue?vue&type=template&id=473f1468&\"\nimport script from \"./PropertiesForRent.vue?vue&type=script&lang=ts&\"\nexport * from \"./PropertiesForRent.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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"search\"},[_c('Row',[_c('Column',{attrs:{\"width\":\"6\"}},[_c('MultiSelect',{staticClass:\"search__suburbs\",attrs:{\"options\":_vm.suburbs,\"label\":\"Suburb\",\"preview-count\":\"3\"},on:{\"updated\":_vm.suburbsUpdated}})],1),_c('Column',{attrs:{\"width\":\"3\"}},[_c('div',{staticClass:\"form-field search__form-field\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.beds),expression:\"beds\"}],staticClass:\"form-field__input form-field__input--has-value\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.beds=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"0\"}},[_vm._v(\"Min Beds\")]),_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"1+ Bedroom\")]),_c('option',{attrs:{\"value\":\"2\"}},[_vm._v(\"2+ Bedrooms\")]),_c('option',{attrs:{\"value\":\"3\"}},[_vm._v(\"3+ Bedrooms\")]),_c('option',{attrs:{\"value\":\"4\"}},[_vm._v(\"4+ Bedrooms\")]),_c('option',{attrs:{\"value\":\"5\"}},[_vm._v(\"5+ Bedrooms\")]),_c('option',{attrs:{\"value\":\"6\"}},[_vm._v(\"6+ Bedrooms\")])])])]),_c('Column',{attrs:{\"width\":\"3\"}},[_c('div',{staticClass:\"form-field search__form-field\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.baths),expression:\"baths\"}],staticClass:\"form-field__input form-field__input--has-value\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.baths=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"0\"}},[_vm._v(\"Min Baths\")]),_c('option',{attrs:{\"value\":\"1\"}},[_vm._v(\"1+ Bathroom\")]),_c('option',{attrs:{\"value\":\"2\"}},[_vm._v(\"2+ Bathrooms\")]),_c('option',{attrs:{\"value\":\"3\"}},[_vm._v(\"3+ Bathrooms\")]),_c('option',{attrs:{\"value\":\"4\"}},[_vm._v(\"4+ Bathrooms\")]),_c('option',{attrs:{\"value\":\"5\"}},[_vm._v(\"5+ Bathrooms\")]),_c('option',{attrs:{\"value\":\"6\"}},[_vm._v(\"6+ Bathrooms\")])])])])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\r\n\r\nimport MultiSelect, { MultiSelectOption } from 'client-website-ts-library/components/MultiSelect.vue';\r\nimport { ListingFilter } from 'client-website-ts-library/filters';\r\nimport { ListingCategory, ListingStatus } from 'client-website-ts-library/types';\r\nimport { API } from 'client-website-ts-library/services';\r\n\r\n@Component({\r\n components: {\r\n MultiSelect,\r\n },\r\n})\r\nexport default class ListingSearch extends Vue {\r\n @Prop({ required: true })\r\n private readonly methodOfSale!: string;\r\n\r\n private mos: string = this.methodOfSale;\r\n\r\n private filter: ListingFilter = new ListingFilter({\r\n Statuses: [\r\n ListingStatus.Current,\r\n ListingStatus.UnderContract,\r\n ],\r\n PageSize: 9,\r\n });\r\n\r\n private suburbs: MultiSelectOption[] = [];\r\n\r\n private selectedSuburbs: MultiSelectOption[] = [];\r\n\r\n private beds = 0;\r\n\r\n private baths = 0;\r\n\r\n mounted() {\r\n this.updateFilter();\r\n }\r\n\r\n @Watch('methodOfSale')\r\n updateMos() {\r\n this.mos = this.methodOfSale;\r\n }\r\n\r\n private updateSuburbsDebounce: number | undefined = undefined;\r\n\r\n updateSuburbs() {\r\n clearTimeout(this.updateSuburbsDebounce);\r\n\r\n this.updateSuburbsDebounce = window.setTimeout(() => {\r\n const tmpFilter = new ListingFilter(this.filter);\r\n\r\n tmpFilter.Suburbs = [];\r\n\r\n API.Listings.GetSuburbs(tmpFilter).then((suburbs) => {\r\n this.suburbs = suburbs.map((suburb) => ({ Value: suburb, Label: suburb }));\r\n });\r\n }, 2000);\r\n }\r\n\r\n @Watch('mos')\r\n @Watch('beds')\r\n @Watch('baths')\r\n updateFilter() {\r\n switch (this.mos) {\r\n case 'buy':\r\n this.filter.Categories = [\r\n ListingCategory.ResidentialSale,\r\n ListingCategory.ResidentialLand,\r\n ListingCategory.Rural,\r\n ];\r\n break;\r\n case 'rent':\r\n this.filter.Categories = [\r\n ListingCategory.ResidentialRental,\r\n ];\r\n break;\r\n default:\r\n this.filter.Categories = [];\r\n break;\r\n }\r\n\r\n this.updateSuburbs();\r\n\r\n this.filter.MinBedrooms = this.beds;\r\n this.filter.MinBathrooms = this.baths;\r\n\r\n this.filter.Suburbs = this.selectedSuburbs.map((s) => s.Value);\r\n this.filter.Page = 1;\r\n\r\n this.emitFilter();\r\n }\r\n\r\n suburbsUpdated(selectedSuburbs: MultiSelectOption[]) {\r\n this.selectedSuburbs = selectedSuburbs;\r\n\r\n this.updateFilter();\r\n }\r\n\r\n private emitDebounce: number | undefined = undefined;\r\n\r\n emitFilter() {\r\n this.$emit('filter_updated', this.filter);\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingSearch.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--15-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingSearch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ListingSearch.vue?vue&type=template&id=a6e32d68&scoped=true&\"\nimport script from \"./ListingSearch.vue?vue&type=script&lang=ts&\"\nexport * from \"./ListingSearch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ListingSearch.vue?vue&type=style&index=0&id=a6e32d68&prod&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 \"a6e32d68\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListingSearch.vue?vue&type=style&index=0&id=a6e32d68&prod&scoped=true&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"multi-select\",class:{'multi-select--focused': _vm.focused},style:({\n '--ms-bg': _vm.background,\n '--focus-bg': _vm.focusBg,\n '--item-border-rad': _vm.itemBorderRad,\n})},[_c('div',{staticClass:\"multi-select__abyss\",on:{\"click\":_vm.defocus}}),_c('div',{staticClass:\"multi-select__input-wrapper\"},[_c('div',{staticClass:\"multi-select__values\"},[_vm._l((_vm.previewItems),function(item){return _c('div',{key:item.Value,staticClass:\"multi-select__value\"},[_c('span',{staticClass:\"multi-select__value__label\"},[_vm._v(_vm._s(item.Label))]),_c('button',{staticClass:\"multi-select__value__remove\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.removeItem(item.Value)}}},[_c('Icon',{attrs:{\"icon\":\"close-button\",\"colour\":\"white\"}})],1)])}),(_vm.selectedValue.length + 1 > _vm.previewCount)?_c('div',{staticClass:\"multi-select__value\"},[_c('span',{staticClass:\"multi-select__value__label\"},[_vm._v(_vm._s(_vm.selectedValue.length + 1 - _vm.previewCount)+\" more\")])]):_vm._e()],2),_c('div',{staticClass:\"multi-select__input-wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"multi-select__input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.searchPlaceholder},domProps:{\"value\":(_vm.search)},on:{\"keyup\":_vm.updateSearch,\"focus\":_vm.gotFocus,\"input\":function($event){if($event.target.composing)return;_vm.search=$event.target.value}}})])]),_c('div',{staticClass:\"multi-select__dropdown\"},[(_vm.searchResults.length)?_c('ul',{staticClass:\"multi-select__dropdown__results\"},_vm._l((_vm.searchResults),function(result){return _c('li',{key:result.Option.Value,staticClass:\"multi-select__dropdown__result\",class:{'multi-select__dropdown__result--selected': result.Selected},on:{\"click\":function($event){return _vm.select(result)}}},[_vm._v(\" \"+_vm._s(result.Option.Label)+\" \")])}),0):_c('div',{staticClass:\"multi-select__dropdown__no-results\"},[_vm._v(\" \"+_vm._s(_vm.noResults)+\" \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\n\r\ninterface MultiSelectOption {\r\n Value: string;\r\n Label: string;\r\n}\r\n\r\ninterface MultiSelectResult {\r\n Option: MultiSelectOption;\r\n Selected: boolean;\r\n}\r\n\r\nexport {\r\n MultiSelectOption\r\n}\r\n\r\n@Component\r\nexport default class MultiSelect extends Vue {\r\n @Prop({ required: true })\r\n private readonly options!: MultiSelectOption[];\r\n\r\n @Prop({ default: false })\r\n private readonly enableCustom!: boolean;\r\n\r\n @Prop({ default: 'Search for ' })\r\n private readonly customLabelPrefix!: string;\r\n\r\n @Prop({ default: 'search:' })\r\n private readonly customValuePrefix!: string;\r\n\r\n @Prop({ default: 5 })\r\n private readonly previewCount!: number;\r\n\r\n @Prop({ default: 'Search' })\r\n private readonly searchPlaceholder!: string;\r\n\r\n @Prop({ default: 'No results found' })\r\n private readonly noResults!: string;\r\n\r\n @Prop({ default: 'transparent' })\r\n private readonly background!: string;\r\n\r\n @Prop({ default: '#fff' })\r\n private readonly focusBg!: string;\r\n\r\n @Prop({ default: '0.25em' })\r\n private readonly itemBorderRad!: string;\r\n\r\n private focused = false;\r\n\r\n private selectedValue: MultiSelectOption[] = [];\r\n\r\n private search = '';\r\n\r\n private searchResults: MultiSelectResult[] = [];\r\n\r\n gotFocus() {\r\n this.focused = true;\r\n this.updateSearch();\r\n }\r\n\r\n defocus() {\r\n requestAnimationFrame(() => {\r\n this.focused = false;\r\n });\r\n }\r\n\r\n updateSearch() {\r\n let results: MultiSelectOption[];\r\n\r\n if (this.search.length === 0) {\r\n results = this.options;\r\n } else {\r\n const loweredSearch = this.search.toLowerCase();\r\n\r\n results = this.options.filter((itm) => itm.Label.toLowerCase().indexOf(loweredSearch) !== -1);\r\n }\r\n\r\n this.searchResults = results\r\n .map((r) => ({ Option: r, Selected: this.selectedValue.some((s) => s.Value === r.Value) }));\r\n\r\n if (this.enableCustom) {\r\n this.searchResults.push({\r\n Option: {\r\n Label: `${this.customLabelPrefix}${this.search}`,\r\n Value: `${this.customValuePrefix}${this.search}`,\r\n },\r\n Selected: false,\r\n });\r\n }\r\n }\r\n\r\n select(option: MultiSelectResult) {\r\n if (!this.selectedValue.some((v) => v.Value === option.Option.Value)) {\r\n this.selectedValue.push(option.Option);\r\n\r\n this.search = '';\r\n\r\n this.updateSearch();\r\n\r\n this.$emit('updated', this.selectedValue);\r\n } else {\r\n this.removeItem(option.Option.Value);\r\n }\r\n }\r\n\r\n removeItem(value: string) {\r\n const idx = this.selectedValue.findIndex((itm) => itm.Value === value);\r\n\r\n if(idx !== -1) {\r\n this.selectedValue.splice(idx, 1);\r\n\r\n this.updateSearch();\r\n\r\n this.$emit('updated', this.selectedValue);\r\n }\r\n }\r\n\r\n public setValues(value: string[]): void {\r\n this.selectedValue = this.options.filter((opt) => value.indexOf(opt.Value) !== -1);\r\n }\r\n\r\n get previewItems(): MultiSelectOption[] {\r\n return this.selectedValue.slice(0, this.previewCount - 1);\r\n }\r\n}\r\n","import mod from \"-!../../cache-loader/dist/cjs.js??ref--15-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../ts-loader/index.js??ref--15-3!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./MultiSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../cache-loader/dist/cjs.js??ref--15-0!../../thread-loader/dist/cjs.js!../../babel-loader/lib/index.js!../../ts-loader/index.js??ref--15-3!../../cache-loader/dist/cjs.js??ref--1-0!../../vue-loader/lib/index.js??vue-loader-options!./MultiSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MultiSelect.vue?vue&type=template&id=396af627&scoped=true&\"\nimport script from \"./MultiSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./MultiSelect.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MultiSelect.vue?vue&type=style&index=0&id=396af627&prod&scoped=true&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 \"396af627\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}