{"version":3,"sources":["webpack:///./src/helpers/urlToSourceNameHelper.js","webpack:///./src/helpers/voteResultsHelper.js","webpack:///../../../src/components/VCombobox/VCombobox.ts","webpack:///./src/components/ListTimelineItemForm.vue","webpack:///src/components/ListTimelineItemForm.vue","webpack:///./src/components/ListTimelineItemForm.vue?4bf6","webpack:///./src/components/ListTimelineItemForm.vue?8897","webpack:///./src/helpers/domainifyHelper.js","webpack:///./src/helpers/groupingHelper.js","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts"],"names":["urlToSourceName","url","domains","name","foundDomain","find","domain","includes","domainify","voteResultStatusStyling","overallResult","lowercaseResult","toLowerCase","sortOrder","sortVoteResults","voteResults","reversedNegative","sort","a","b","aIndex","indexOf","voteKind","bIndex","sizeA","Number","fractionSize","sizeB","actorFraction","actorName","module","exports","VAutocomplete","extend","props","delimiters","type","Array","default","returnObject","Boolean","data","editingIndex","computed","computedCounterValue","this","multiple","selectedItems","length","internalSearch","toString","hasSlot","VSelect","options","call","isAnyValueAllowed","menuCanShow","isFocused","hasDisplayedItems","$slots","hideNoData","searchIsDirty","methods","onInternalSearchChanged","val","delimiter","d","endsWith","slice","updateTags","updateMenuDimensions","genInput","input","attrs","on","paste","onPaste","genChipSelection","item","index","chip","componentOptions","listeners","dblclick","getText","selectedIndex","onChipInput","onEnterDown","e","preventDefault","getMenuIndex","$nextTick","updateSelf","onKeyDown","keyCode","ctrlKey","keyCodes","home","end","left","$refs","selectionStart","enter","changeSelectedIndex","onTabDown","stopPropagation","selectItem","updateEditing","toLocaleLowerCase","setSelectedItems","internalValue","setValue","value","undefined","findIndex","Object","assign","splice","push","updateCombobox","isUsingSlot","$scopedSlots","selection","hasChips","menuIndex","itemToSelect","event","$emit","pastedItemText","_a","clipboardData","getData","findExistingIndex","clearableCallback","expression","staticClass","_c","_vm","model","callback","listsRules","onChangeListItems","slot","$event","document","title","description","lists","valid","dialog","titleRules","v","$t","busy","disabled","mapGetters","listsActive","entry","forEach","element","trim","existinglistItem","addList","newItem","$store","dispatch","newListItem","hideDialog","trimText","text","Config","maxListNameLengthBeforeTrim","substring","listAddForm","validate","params","listItem","success","message","beforeCreate","component","staticRenderFns","split","convertGroupToFilterStructure","groupPath","group","userLocale","JSON","parse","localStorage","getItem","defaultLocale","locale","localization","plural","children","subGroups","keys","map","groupCode","euInstitutionCodeToName","code","i18n","t","formatLocalization","baseMixins","mixins","VTextField","autoGrow","noResize","rowHeight","String","validator","isNaN","parseFloat","rows","parseInt","classes","noResizeHandle","watch","calculateInputHeight","style","removeProperty","lazyValue","mounted","setTimeout","height","scrollHeight","minHeight","Math","max","tag","onInput","defaultMenuProps","VSelectMenuProps","offsetY","offsetOverflow","transition","autoSelectFirst","filter","Function","queryText","itemText","menuProps","noFilter","searchInput","lazySearch","computedItems","filteredItems","selectedValues","getValue","hideSelected","some","hasItem","currentRange","selectedItem","isSearching","allItems","getPropertyFromItem","get","set","isDirty","$_menuProps","contentClass","i","valueComparator","listData","items","virtualizedItems","addEventListener","onCopy","select","removeEventListener","blur","isMenuActive","oldVal","activateMenu","created","setSearch","destroyed","onFilteredItemsChanged","preSelectedItem","menu","listIndex","setMenuIndex","getTiles","updateDimensions","right","backspace","delete","deleteCurrentItem","curIndex","curItem","isInteractive","getDisabled","lastIndex","nextIndex","nextItem","mergeData","getObjectValueByPath","autocomplete","domProps","genInputSlot","role","genSelections","onClick","onFocus","isAppendInner","target","badInput","validity","onSpaceDown","onUpDown","currentItem","currentItemText","setData","_b"],"mappings":"iJAAA,iBAEA,MAAMA,EAAmBC,IACvB,IAAKA,EAAK,OAAO,KACjB,MAAMC,EAAU,CACd,CACED,IAAK,yCACLE,KAAM,iBAER,CACEF,IAAK,uCACLE,KAAM,cAER,CACEF,IAAK,kCACLE,KAAM,gBAER,CACEF,IAAK,qBACLE,KAAM,gBAER,CACEF,IAAK,uBACLE,KAAM,kBAIJC,EAAcF,EAAQG,KAAMC,GAAWL,EAAIM,SAASD,E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AAsB,OAE/B,MAAMoO,EAAc5Q,KAAKE,cAAcF,KAAKwC,eACtCqO,EAAkB7Q,KAAKuC,QAAQqO,GAClB,QAAnBxL,EAAAH,EAAMI,qBAAa,IAAAD,KAAE0L,QAAQ,aAAcD,GACxB,QAAnBE,EAAA9L,EAAMI,qBAAa,IAAA0L,KAAED,QAAQ,2CAA4CD,GACzE5L,EAAMrC","file":"js/AgendaDetail~DocumentDashboard~DocumentDetail.eeac1cd9.js","sourcesContent":["import domainify from './domainifyHelper';\n\nconst urlToSourceName = (url) => {\n if (!url) return null;\n const domains = [\n {\n url: 'zoek.officielebekendmakingen.nl/stcrt-',\n name: 'Staatscourant',\n },\n {\n url: 'zoek.officielebekendmakingen.nl/stb-',\n name: 'Staatsblad',\n },\n {\n url: 'zoek.officielebekendmakingen.nl',\n name: 'Eerste Kamer',\n },\n {\n url: 'www.tweedekamer.nl',\n name: 'Tweede Kamer',\n },\n {\n url: 'www.rijksoverheid.nl',\n name: 'Rijksoverheid',\n },\n ];\n\n const foundDomain = domains.find((domain) => url.includes(domain.url));\n if (foundDomain) { return foundDomain.name; }\n\n return domainify(url);\n};\n\nexport default urlToSourceName;\n","\nconst voteResultStatusStyling = (overallResult) => {\n // NOTE: This function is a direct copy of the handlebars helper 'voteResultStatusStyling' from email-template.service.js\n // When making changes to this function, make sure to also update the handlebars helper in email-template.service.js\n\n // Darken the base colors a bit with 'filter' for better readability:\n const lowercaseResult = overallResult.toLowerCase();\n if (\n lowercaseResult.includes('aangenomen')\n || lowercaseResult.includes('oannommen') // Frisian for dlrc\n ) return 'font-weight: bold; color: #37ada2; filter: brightness(80%);';\n if (\n lowercaseResult.includes('verworpen')\n || lowercaseResult.includes('fersmiten') // Frisian for dlrc\n ) return 'font-weight: bold; color: #e64415; filter: brightness(80%);';\n if (\n lowercaseResult.includes('ingetrokken')\n ) return 'font-weight: bold; color: #bbb; filter: brightness(80%);';\n return '';\n};\n\nconst sortOrder = ['Voor', 'Niet deelgenomen', 'Tegen'];\nconst sortVoteResults = (voteResults, reversedNegative = false) => voteResults.sort((a, b) => {\n // First sort on voteType\n const aIndex = sortOrder.indexOf(a.voteKind);\n const bIndex = sortOrder.indexOf(b.voteKind);\n if (aIndex !== bIndex) return aIndex - bIndex;\n\n // Then on fractionSize\n const sizeA = Number(a.fractionSize);\n const sizeB = Number(b.fractionSize);\n if (sizeB !== sizeA) {\n // Sort 'Tegen' and 'Niet deelgenomen' in opposite direction voor better visual:\n if (reversedNegative && a.voteKind !== 'Voor') return sizeA - sizeB;\n return sizeB - sizeA;\n }\n\n // Sort alphabetically on 'actorFraction'\n // Usefull for 'hoofdelijke stemming'\n if (a.actorFraction !== b.actorFraction) return a.actorFraction > b.actorFraction ? 1 : -1;\n\n // Then alphabetically\n // Sort 'Tegen' and 'Niet deelgenomen' in opposite direction voor better visual:\n if (reversedNegative && a.voteKind !== 'Voor') return b.actorName > a.actorName ? 1 : -1;\n return a.actorName > b.actorName ? 1 : -1;\n});\n\nmodule.exports = {\n voteResultStatusStyling,\n sortVoteResults,\n};\n","// Styles\nimport '../VAutocomplete/VAutocomplete.sass'\n\n// Extensions\nimport VSelect from '../VSelect/VSelect'\nimport VAutocomplete from '../VAutocomplete/VAutocomplete'\n\n// Utils\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n/* @vue/component */\nexport default VAutocomplete.extend({\n name: 'v-combobox',\n\n props: {\n delimiters: {\n type: Array,\n default: () => ([]),\n } as PropValidator,\n returnObject: {\n type: Boolean,\n default: true,\n },\n },\n\n data: () => ({\n editingIndex: -1,\n }),\n\n computed: {\n computedCounterValue (): number {\n return this.multiple\n ? this.selectedItems.length\n : (this.internalSearch || '').toString().length\n },\n hasSlot (): boolean {\n return VSelect.options.computed.hasSlot.call(this) || this.multiple\n },\n isAnyValueAllowed (): boolean {\n return true\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems ||\n (!!this.$slots['no-data'] && !this.hideNoData)\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null\n },\n },\n\n methods: {\n onInternalSearchChanged (val: any) {\n if (\n val &&\n this.multiple &&\n this.delimiters.length\n ) {\n const delimiter = this.delimiters.find(d => val.endsWith(d))\n if (delimiter != null) {\n this.internalSearch = val.slice(0, val.length - delimiter.length)\n this.updateTags()\n }\n }\n\n this.updateMenuDimensions()\n },\n genInput () {\n const input = VAutocomplete.options.methods.genInput.call(this)\n\n delete input.data!.attrs!.name\n input.data!.on!.paste = this.onPaste\n\n return input\n },\n genChipSelection (item: object, index: number) {\n const chip = VSelect.options.methods.genChipSelection.call(this, item, index)\n\n // Allow user to update an existing value\n if (this.multiple) {\n chip.componentOptions!.listeners! = {\n ...chip.componentOptions!.listeners!,\n dblclick: () => {\n this.editingIndex = index\n this.internalSearch = this.getText(item)\n this.selectedIndex = -1\n },\n }\n }\n\n return chip\n },\n onChipInput (item: object) {\n VSelect.options.methods.onChipInput.call(this, item)\n\n this.editingIndex = -1\n },\n // Requires a manual definition\n // to overwrite removal in v-autocomplete\n onEnterDown (e: Event) {\n e.preventDefault()\n // If has menu index, let v-select-list handle\n if (this.getMenuIndex() > -1) return\n\n this.$nextTick(this.updateSelf)\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n if (\n e.ctrlKey ||\n ![keyCodes.home, keyCodes.end].includes(keyCode)\n ) {\n VSelect.options.methods.onKeyDown.call(this, e)\n }\n\n // If user is at selection index of 0\n // create a new tag\n if (this.multiple &&\n keyCode === keyCodes.left &&\n this.$refs.input.selectionStart === 0\n ) {\n this.updateSelf()\n } else if (keyCode === keyCodes.enter) {\n this.onEnterDown(e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onTabDown (e: KeyboardEvent) {\n // When adding tags, if searching and\n // there is not a filtered options,\n // add the value to the tags list\n if (this.multiple &&\n this.internalSearch &&\n this.getMenuIndex() === -1\n ) {\n e.preventDefault()\n e.stopPropagation()\n\n return this.updateTags()\n }\n\n VAutocomplete.options.methods.onTabDown.call(this, e)\n },\n selectItem (item: object) {\n // Currently only supports items:\n if (this.editingIndex > -1) {\n this.updateEditing()\n } else {\n VAutocomplete.options.methods.selectItem.call(this, item)\n\n // if selected item contains search value,\n // remove the search string\n if (\n this.internalSearch &&\n this.multiple &&\n this.getText(item).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())\n ) {\n this.internalSearch = null\n }\n }\n },\n setSelectedItems () {\n if (this.internalValue == null ||\n this.internalValue === ''\n ) {\n this.selectedItems = []\n } else {\n this.selectedItems = this.multiple ? this.internalValue : [this.internalValue]\n }\n },\n setValue (value?: any) {\n VSelect.options.methods.setValue.call(this, value === undefined ? this.internalSearch : value)\n },\n updateEditing () {\n const value = this.internalValue.slice()\n const index = this.selectedItems.findIndex(item =>\n this.getText(item) === this.internalSearch)\n\n // If user enters a duplicate text on chip edit,\n // don't add it, move it to the end of the list\n if (index > -1) {\n const item = typeof value[index] === 'object'\n ? Object.assign({}, value[index])\n : value[index]\n\n value.splice(index, 1)\n value.push(item)\n } else {\n value[this.editingIndex] = this.internalSearch\n }\n\n this.setValue(value)\n this.editingIndex = -1\n this.internalSearch = null\n },\n updateCombobox () {\n // If search is not dirty, do nothing\n if (!this.searchIsDirty) return\n\n // The internal search is not matching\n // the internal value, update the input\n if (this.internalSearch !== this.getText(this.internalValue)) this.setValue()\n\n // Reset search if using slot to avoid a double input\n const isUsingSlot = Boolean(this.$scopedSlots.selection) || this.hasChips\n if (isUsingSlot) this.internalSearch = null\n },\n updateSelf () {\n this.multiple ? this.updateTags() : this.updateCombobox()\n },\n updateTags () {\n const menuIndex = this.getMenuIndex()\n\n // If the user is not searching\n // and no menu item is selected\n // or if the search is empty\n // do nothing\n if ((menuIndex < 0 && !this.searchIsDirty) ||\n !this.internalSearch) return\n\n if (this.editingIndex > -1) {\n return this.updateEditing()\n }\n\n const index = this.selectedItems.findIndex(item =>\n this.internalSearch === this.getText(item))\n\n // If the duplicate item is an object,\n // copy it, so that it can be added again later\n const itemToSelect = index > -1 && typeof this.selectedItems[index] === 'object'\n ? Object.assign({}, this.selectedItems[index])\n : this.internalSearch\n\n // If it already exists, do nothing\n // this might need to change to bring\n // the duplicated item to the last entered\n if (index > -1) {\n const internalValue = this.internalValue.slice()\n internalValue.splice(index, 1)\n\n this.setValue(internalValue)\n }\n\n // If menu index is greater than 1\n // the selection is handled elsewhere\n // TODO: find out where\n if (menuIndex > -1) return (this.internalSearch = null)\n\n this.selectItem(itemToSelect)\n\n this.internalSearch = null\n },\n onPaste (event: ClipboardEvent) {\n this.$emit('paste', event)\n if (!this.multiple || this.searchIsDirty) return\n\n const pastedItemText = event.clipboardData?.getData('text/vnd.vuetify.autocomplete.item+plain')\n if (pastedItemText && this.findExistingIndex(pastedItemText as any) === -1) {\n event.preventDefault()\n VSelect.options.methods.selectItem.call(this, pastedItemText as any)\n }\n },\n clearableCallback () {\n this.editingIndex = -1\n\n VAutocomplete.options.methods.clearableCallback.call(this)\n },\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-dialog',{attrs:{\"max-width\":\"768\",\"persistent\":\"\",\"scrollable\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',[_c('v-container',{staticClass:\"ma-0 pa-0\"},[_c('v-row',[_c('v-col',{staticClass:\"d-flex mt-n2\"},[_c('div',{staticClass:\"d-inline-block align-self-start text-subtitle-1\",staticStyle:{\"width\":\"80%\"}},[_vm._v(\" \"+_vm._s(_vm.$t('list.addUpdateToList'))+\" \")]),_c('div',{staticClass:\"d-inline-block text-right align-self-start\",staticStyle:{\"width\":\"20%\"}},[_c('v-icon',{staticClass:\"mt-n2 mr-n2\",on:{\"click\":function($event){return _vm.hideDialog()}}},[_vm._v(\" mdi-close \")])],1)])],1)],1)],1),_c('v-card-text',[(_vm.data)?_c('v-form',{ref:\"listAddForm\",attrs:{\"valid\":\"\"},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-text-field',{attrs:{\"rules\":_vm.titleRules,\"label\":_vm.$t('generic.title'),\"required\":\"\"},model:{value:(_vm.data.title),callback:function ($$v) {_vm.$set(_vm.data, \"title\", $$v)},expression:\"data.title\"}}),_c('v-textarea',{attrs:{\"label\":_vm.$t('generic.description'),\"rows\":\"5\",\"row-height\":\"24\"},model:{value:(_vm.data.description),callback:function ($$v) {_vm.$set(_vm.data, \"description\", $$v)},expression:\"data.description\"}}),(_vm.listsActive)?_c('v-combobox',{attrs:{\"label\":_vm.$t('timeline.selectCreateList'),\"multiple\":\"\",\"items\":_vm.listsActive,\"item-text\":\"title\",\"item-value\":\"id\",\"deletable-chips\":\"\",\"small-chips\":\"\",\"required\":\"\",\"rules\":_vm.listsRules,\"no-data-text\":_vm.$t('list.noSavedLists')},on:{\"change\":_vm.onChangeListItems},model:{value:(_vm.data.lists),callback:function ($$v) {_vm.$set(_vm.data, \"lists\", $$v)},expression:\"data.lists\"}},[_c('v-icon',{attrs:{\"slot\":\"append\"},slot:\"append\"},[_vm._v(\" mdi-plus \")])],1):_vm._e(),_c('div',{staticClass:\"text-end mt-8 mr-n4 mb-n3\"},[_c('v-btn',{staticClass:\"mr-2\",on:{\"click\":function($event){return _vm.hideDialog()}}},[_vm._v(\" \"+_vm._s(_vm.$t('generic.cancel'))+\" \")]),_c('v-btn',{staticClass:\"white--text\",attrs:{\"color\":\"teal lighten-1\"},on:{\"click\":function($event){return _vm.submitForm()}}},[_vm._v(\" \"+_vm._s(_vm.$t('generic.save'))+\" \")])],1)],1):_vm._e()],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListTimelineItemForm.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ListTimelineItemForm.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ListTimelineItemForm.vue?vue&type=template&id=674966d4\"\nimport script from \"./ListTimelineItemForm.vue?vue&type=script&lang=js\"\nexport * from \"./ListTimelineItemForm.vue?vue&type=script&lang=js\"\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","const domainify = (url) => {\n // from https://codepen.io/martinkrulltott/pen/GWWWQj\n let domain;\n // find & remove protocol (http, ftp, etc.) and get domain\n if (url.indexOf('://') > -1) {\n domain = url.split('/')[2];\n } else {\n domain = url.split('/')[0];\n }\n\n domain = domain.split(':')[0]; // find & remove port number\n domain = domain.split('?')[0]; // find & remove url params\n\n return domain;\n};\n\nexport default domainify;\n","import i18n from '@/i18n';\n\n// Convert the grouping structure to one the treeview component understands\nexport const convertGroupToFilterStructure = (groupPath, group) => {\n const userLocale = JSON.parse(localStorage.getItem('locale')) || 'nl';\n const defaultLocale = 'nl';\n\n const locale = group.localization[userLocale] ? userLocale : defaultLocale;\n\n const localization = typeof group.localization[locale] === 'string'\n ? group.localization[locale] : group.localization[locale].plural;\n\n return {\n groupPath,\n localization,\n children: group.subGroups\n ? Object.keys(group.subGroups).map((groupCode) => convertGroupToFilterStructure(\n `${groupPath}/${groupCode}`,\n group.subGroups[groupCode],\n ))\n : undefined,\n };\n};\n\n\n// TODO get this from the actual grouping\nexport const euInstitutionCodeToName = (code) => {\n if (code === 'EUROCOM') return i18n.t('eu.EC') || 'Europese Commissie';\n if (code === 'EUROPARL') return i18n.t('eu.EP') || 'Europees Parlement';\n if (code === 'EUROCOU') return i18n.t('eu.EuroCou') || 'Consilium';\n if (code === 'EP-COM-OVERIG') return i18n.t('eu.euEPOverig') || 'EP overig';\n return '???';\n};\n\n// TODO: move this EU-specific thing to the EU-specific doctype filters functionality?\nexport const formatLocalization = (localization, groupPath) => {\n if (groupPath === 'EU-SH' || groupPath === 'EU-MD') return `${localization}*`;\n return localization;\n};\n","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n autoGrow (val: boolean) {\n this.$nextTick(() => {\n val\n ? this.calculateInputHeight()\n : this.$refs.input?.style.removeProperty('height')\n })\n },\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","// Styles\nimport './VAutocomplete.sass'\n\n// Extensions\nimport VSelect, { defaultMenuProps as VSelectMenuProps } from '../VSelect/VSelect'\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mergeData from '../../util/mergeData'\nimport {\n getObjectValueByPath,\n getPropertyFromItem,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { PropType, VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\nconst defaultMenuProps = {\n ...VSelectMenuProps,\n offsetY: true,\n offsetOverflow: true,\n transition: false,\n}\n\n/* @vue/component */\nexport default VSelect.extend({\n name: 'v-autocomplete',\n\n props: {\n autoSelectFirst: {\n type: Boolean,\n default: false,\n },\n filter: {\n type: Function,\n default: (item: any, queryText: string, itemText: string) => {\n return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1\n },\n } as PropValidator<(item: any, queryText: string, itemText: string) => boolean>,\n hideNoData: Boolean,\n menuProps: {\n type: VSelect.options.props.menuProps.type,\n default: () => defaultMenuProps,\n },\n noFilter: Boolean,\n searchInput: {\n type: String as PropType,\n },\n },\n\n data () {\n return {\n lazySearch: this.searchInput,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSelect.options.computed.classes.call(this),\n 'v-autocomplete': true,\n 'v-autocomplete--is-selecting-index': this.selectedIndex > -1,\n }\n },\n computedItems (): object[] {\n return this.filteredItems\n },\n selectedValues (): object[] {\n return this.selectedItems.map(item => this.getValue(item))\n },\n hasDisplayedItems (): boolean {\n return this.hideSelected\n ? this.filteredItems.some(item => !this.hasItem(item))\n : this.filteredItems.length > 0\n },\n currentRange (): number {\n if (this.selectedItem == null) return 0\n\n return String(this.getText(this.selectedItem)).length\n },\n filteredItems (): object[] {\n if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems\n\n return this.allItems.filter(item => {\n const value = getPropertyFromItem(item, this.itemText)\n const text = value != null ? String(value) : ''\n\n return this.filter(item, String(this.internalSearch), text)\n })\n },\n internalSearch: {\n get (): string | null {\n return this.lazySearch\n },\n set (val: any) { // TODO: this should be `string | null` but it breaks lots of other types\n // emit update event only when the new\n // search value is different from previous\n if (this.lazySearch !== val) {\n this.lazySearch = val\n this.$emit('update:search-input', val)\n }\n },\n },\n isAnyValueAllowed (): boolean {\n return false\n },\n isDirty (): boolean {\n return this.searchIsDirty || this.selectedItems.length > 0\n },\n isSearching (): boolean {\n return (\n this.multiple &&\n this.searchIsDirty\n ) || (\n this.searchIsDirty &&\n this.internalSearch !== this.getText(this.selectedItem)\n )\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems || !this.hideNoData\n },\n $_menuProps (): object {\n const props = VSelect.options.computed.$_menuProps.call(this);\n (props as any).contentClass = `v-autocomplete__content ${(props as any).contentClass || ''}`.trim()\n return {\n ...defaultMenuProps,\n ...props,\n }\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null &&\n this.internalSearch !== ''\n },\n selectedItem (): any {\n if (this.multiple) return null\n\n return this.selectedItems.find(i => {\n return this.valueComparator(this.getValue(i), this.getValue(this.internalValue))\n })\n },\n listData () {\n const data = VSelect.options.computed.listData.call(this) as any\n\n data.props = {\n ...data.props,\n items: this.virtualizedItems,\n noFilter: (\n this.noFilter ||\n !this.isSearching ||\n !this.filteredItems.length\n ),\n searchInput: this.internalSearch,\n }\n\n return data\n },\n },\n\n watch: {\n filteredItems: 'onFilteredItemsChanged',\n internalValue: 'setSearch',\n isFocused (val) {\n if (val) {\n document.addEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.select()\n } else {\n document.removeEventListener('copy', this.onCopy)\n this.blur()\n this.updateSelf()\n }\n },\n isMenuActive (val) {\n if (val || !this.hasSlot) return\n\n this.lazySearch = null\n },\n items (val, oldVal) {\n // If we are focused, the menu\n // is not active, hide no data is enabled,\n // and items change\n // User is probably async loading\n // items, try to activate the menu\n if (\n !(oldVal && oldVal.length) &&\n this.hideNoData &&\n this.isFocused &&\n !this.isMenuActive &&\n val.length\n ) this.activateMenu()\n },\n searchInput (val: string) {\n this.lazySearch = val\n },\n internalSearch: 'onInternalSearchChanged',\n itemText: 'updateSelf',\n },\n\n created () {\n this.setSearch()\n },\n\n destroyed () {\n document.removeEventListener('copy', this.onCopy)\n },\n\n methods: {\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n // TODO: How is the watcher triggered\n // for duplicate items? no idea\n if (val === oldVal) return\n\n if (!this.autoSelectFirst) {\n const preSelectedItem = oldVal[this.$refs.menu.listIndex]\n\n if (preSelectedItem) {\n this.setMenuIndex(val.findIndex(i => i === preSelectedItem))\n } else {\n this.setMenuIndex(-1)\n }\n this.$emit('update:list-index', this.$refs.menu.listIndex)\n }\n\n this.$nextTick(() => {\n if (\n !this.internalSearch ||\n (val.length !== 1 &&\n !this.autoSelectFirst)\n ) return\n\n this.$refs.menu.getTiles()\n\n if (this.autoSelectFirst && val.length) {\n this.setMenuIndex(0)\n this.$emit('update:list-index', this.$refs.menu.listIndex)\n }\n })\n },\n onInternalSearchChanged () {\n this.updateMenuDimensions()\n },\n updateMenuDimensions () {\n // Type from menuable is not making it through\n this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions()\n },\n changeSelectedIndex (keyCode: number) {\n // Do not allow changing of selectedIndex\n // when search is dirty\n if (this.searchIsDirty) return\n\n if (this.multiple && keyCode === keyCodes.left) {\n if (this.selectedIndex === -1) {\n this.selectedIndex = this.selectedItems.length - 1\n } else {\n this.selectedIndex--\n }\n } else if (this.multiple && keyCode === keyCodes.right) {\n if (this.selectedIndex >= this.selectedItems.length - 1) {\n this.selectedIndex = -1\n } else {\n this.selectedIndex++\n }\n } else if (keyCode === keyCodes.backspace || keyCode === keyCodes.delete) {\n this.deleteCurrentItem()\n }\n },\n deleteCurrentItem () {\n const curIndex = this.selectedIndex\n const curItem = this.selectedItems[curIndex]\n\n // Do nothing if input or item is disabled\n if (\n !this.isInteractive ||\n this.getDisabled(curItem)\n ) return\n\n const lastIndex = this.selectedItems.length - 1\n\n // Select the last item if\n // there is no selection\n if (\n this.selectedIndex === -1 &&\n lastIndex !== 0\n ) {\n this.selectedIndex = lastIndex\n\n return\n }\n\n const length = this.selectedItems.length\n const nextIndex = curIndex !== length - 1\n ? curIndex\n : curIndex - 1\n const nextItem = this.selectedItems[nextIndex]\n\n if (!nextItem) {\n this.setValue(this.multiple ? [] : null)\n } else {\n this.selectItem(curItem)\n }\n\n this.selectedIndex = nextIndex\n },\n clearableCallback () {\n this.internalSearch = null\n\n VSelect.options.methods.clearableCallback.call(this)\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data = mergeData(input.data!, {\n attrs: {\n 'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),\n autocomplete: getObjectValueByPath(input.data!, 'attrs.autocomplete', 'off'),\n },\n domProps: { value: this.internalSearch },\n })\n\n return input\n },\n genInputSlot () {\n const slot = VSelect.options.methods.genInputSlot.call(this)\n\n slot.data!.attrs!.role = 'combobox'\n\n return slot\n },\n genSelections (): VNode | never[] {\n return this.hasSlot || this.multiple\n ? VSelect.options.methods.genSelections.call(this)\n : []\n },\n onClick (e: MouseEvent) {\n if (!this.isInteractive) return\n\n this.selectedIndex > -1\n ? (this.selectedIndex = -1)\n : this.onFocus()\n\n if (!this.isAppendInner(e.target)) this.activateMenu()\n },\n onInput (e: Event) {\n if (\n this.selectedIndex > -1 ||\n !e.target\n ) return\n\n const target = e.target as HTMLInputElement\n const value = target.value\n\n // If typing and menu is not currently active\n if (target.value) this.activateMenu()\n\n if (!this.multiple && value === '') this.deleteCurrentItem()\n\n this.internalSearch = value\n this.badInput = target.validity && target.validity.badInput\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n if (\n e.ctrlKey ||\n ![keyCodes.home, keyCodes.end].includes(keyCode)\n ) {\n VSelect.options.methods.onKeyDown.call(this, e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onSpaceDown (e: KeyboardEvent) { /* noop */ },\n onTabDown (e: KeyboardEvent) {\n VSelect.options.methods.onTabDown.call(this, e)\n this.updateSelf()\n },\n onUpDown (e: Event) {\n // Prevent screen from scrolling\n e.preventDefault()\n\n // For autocomplete / combobox, cycling\n // interfers with native up/down behavior\n // instead activate the menu\n this.activateMenu()\n },\n selectItem (item: object) {\n VSelect.options.methods.selectItem.call(this, item)\n this.setSearch()\n },\n setSelectedItems () {\n VSelect.options.methods.setSelectedItems.call(this)\n\n // #4273 Don't replace if searching\n // #4403 Don't replace if focused\n if (!this.isFocused) this.setSearch()\n },\n setSearch () {\n // Wait for nextTick so selectedItem\n // has had time to update\n this.$nextTick(() => {\n if (\n !this.multiple ||\n !this.internalSearch ||\n !this.isMenuActive\n ) {\n this.internalSearch = (\n !this.selectedItems.length ||\n this.multiple ||\n this.hasSlot\n )\n ? null\n : this.getText(this.selectedItem)\n }\n })\n },\n updateSelf () {\n if (\n !this.searchIsDirty &&\n !this.internalValue\n ) return\n\n if (\n !this.multiple &&\n !this.valueComparator(\n this.internalSearch,\n this.getValue(this.internalValue)\n )\n ) {\n this.setSearch()\n }\n },\n hasItem (item: any): boolean {\n return this.selectedValues.indexOf(this.getValue(item)) > -1\n },\n onCopy (event: ClipboardEvent) {\n if (this.selectedIndex === -1) return\n\n const currentItem = this.selectedItems[this.selectedIndex]\n const currentItemText = this.getText(currentItem)\n event.clipboardData?.setData('text/plain', currentItemText)\n event.clipboardData?.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText)\n event.preventDefault()\n },\n },\n})\n"],"sourceRoot":""}