{"version":3,"sources":["webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/views/Compras/insumos.vue","webpack:///src/views/Compras/insumos.vue","webpack:///./src/views/Compras/insumos.vue?6c8b","webpack:///./src/views/Compras/insumos.vue?0511","webpack:///./src/views/Compras/insumos.vue?01dd","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts"],"names":["mixins","BindsAttrs","RegistrableProvide","extend","name","provide","form","this","inheritAttrs","props","disabled","Boolean","lazyValidation","readonly","value","data","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","$emit","deep","immediate","methods","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","validate","filter","length","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","i","unwatch","$delete","render","h","staticClass","attrs","novalidate","attrs$","on","submit","e","getSlot","model","_vm","$$v","expression","_c","callback","ref","$event","rules4","ordenesCompras","estado_ordenes_pedidos","editarVentana","actualizarDatosDespacho","staticRenderFns","dialog","drawer","items","id_usuario","tab","ordenes_pedidos","numero_requisicion","observacion","cotizacion","estado_registro_envio","cotizaciones","requisiciones","v","rules6","search","headers_tabla","text","align","filterable","validActualizacion","actualizar","id_registro","fecha_llegada","hora_programada_llegada","hora_llegada_vehiculo","limpiarCamposFormulario","$refs","registrarDatosFormulario","usuario","datosAgrupados","axiosInstance","post","then","datosFormularioTabla","Swal","fire","icon","title","catch","err","console","error","response","msg","datosFormulario","get","res","unshift","log","editarDespacho","formActualizacion","put","computed","mapState","mounted","informacion_usuario","component","baseMixins","VTextField","autoGrow","noResize","rowHeight","type","Number","String","default","validator","isNaN","parseFloat","rows","parseInt","classes","noResizeHandle","options","call","$nextTick","calculateInputHeight","_a","style","removeProperty","lazyValue","height","scrollHeight","minHeight","Math","max","genInput","tag","onInput","onKeyDown","isFocused","keyCode","stopPropagation","defaultMenuProps","VSelectMenuProps","offsetY","offsetOverflow","transition","VSelect","autoSelectFirst","Function","item","queryText","itemText","toLocaleLowerCase","indexOf","hideNoData","menuProps","noFilter","searchInput","lazySearch","selectedIndex","computedItems","filteredItems","selectedValues","selectedItems","map","getValue","hasDisplayedItems","hideSelected","some","hasItem","currentRange","selectedItem","getText","isSearching","internalSearch","allItems","getPropertyFromItem","set","isAnyValueAllowed","isDirty","searchIsDirty","multiple","menuCanShow","$_menuProps","contentClass","trim","valueComparator","internalValue","listData","virtualizedItems","document","addEventListener","onCopy","select","removeEventListener","blur","updateSelf","isMenuActive","hasSlot","oldVal","activateMenu","created","setSearch","destroyed","onFilteredItemsChanged","preSelectedItem","menu","listIndex","setMenuIndex","findIndex","getTiles","onInternalSearchChanged","updateMenuDimensions","updateDimensions","changeSelectedIndex","keyCodes","left","right","backspace","delete","deleteCurrentItem","curIndex","curItem","isInteractive","getDisabled","lastIndex","nextIndex","nextItem","selectItem","setValue","clearableCallback","mergeData","getObjectValueByPath","autocomplete","domProps","genInputSlot","slot","role","genSelections","onClick","onFocus","isAppendInner","target","badInput","validity","ctrlKey","home","end","onSpaceDown","onTabDown","onUpDown","preventDefault","setSelectedItems","event","currentItem","currentItemText","clipboardData","setData","_b"],"mappings":"wQAqBeA,sBACbC,OACAC,eAAmB,SAEnBC,OAAO,CACPC,KAAM,SAENC,UACE,MAAO,CAAEC,KAAMC,OAGjBC,cAAc,EAEdC,MAAO,CACLC,SAAUC,QACVC,eAAgBD,QAChBE,SAAUF,QACVG,MAAOH,SAGTI,KAAMA,KAAA,CACJC,OAAQ,GACRC,SAAU,GACVC,SAAU,KAGZC,MAAO,CACLD,SAAU,CACRE,QAASC,GACP,MAAMC,EAASC,OAAOC,OAAOH,GAAKI,UAAS,GAE3ClB,KAAKmB,MAAM,SAAUJ,IAEvBK,MAAM,EACNC,WAAW,IAIfC,QAAS,CACPC,WAAYC,GACV,MAAMC,EAAWD,GACRA,EAAME,OAAO,WAAaZ,IAC/Bd,KAAK2B,KAAK3B,KAAKW,SAAUa,EAAMI,KAAMd,IACpC,C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wD,GAC7CxD,KAAK4N,cAEPsD,SAAU1N,GAERA,EAAE2N,iBAKFnR,KAAKgO,gBAEP4B,WAAY/E,GACVH,OAAQzB,QAAQ3H,QAAQsO,WAAW1G,KAAKlJ,KAAM6K,GAC9C7K,KAAKkO,aAEPkD,mBACE1G,OAAQzB,QAAQ3H,QAAQ8P,iBAAiBlI,KAAKlJ,MAIzCA,KAAKkK,WAAWlK,KAAKkO,aAE5BA,YAGElO,KAAKmJ,UAAU,KAEVnJ,KAAK6M,UACL7M,KAAKsM,gBACLtM,KAAK6N,eAEN7N,KAAKsM,gBACFtM,KAAK2L,cAAczJ,QACpBlC,KAAK6M,UACL7M,KAAK8N,QAEH,KACA9N,KAAKoM,QAAQpM,KAAKmM,kBAI5ByB,cAEK5N,KAAK4M,eACL5M,KAAKmN,iBAILnN,KAAK6M,UACL7M,KAAKkN,gBACJlN,KAAKsM,eACLtM,KAAK6L,SAAS7L,KAAKmN,iBAGrBnN,KAAKkO,cAGTjC,QAASpB,GACP,OAAO7K,KAAK0L,eAAeT,QAAQjL,KAAK6L,SAAShB,KAAU,GAE7D2C,OAAQ6D,G,QACN,IAA4B,IAAxBrR,KAAKuL,cAAsB,OAE/B,MAAM+F,EAActR,KAAK2L,cAAc3L,KAAKuL,eACtCgG,EAAkBvR,KAAKoM,QAAQkF,GAClB,QAAnBjI,EAAAgI,EAAMG,qBAAa,IAAAnI,KAAEoI,QAAQ,aAAcF,GACxB,QAAnBG,EAAAL,EAAMG,qBAAa,IAAAE,KAAED,QAAQ,2CAA4CF,GACzEF,EAAMF","file":"js/chunk-5f244c55.e989ea91.js","sourcesContent":["// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\nimport { getSlot } from '../../util/helpers'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, getSlot(this))\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-dialog',{attrs:{\"hide-overlay\":\"\",\"persistent\":\"\",\"width\":\"400\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',{attrs:{\"dark\":\"\"}},[_c('v-card-text',[_c('div',{staticClass:\"d-flex justify-center\"},[_c('h2',{staticClass:\"mt-4 mb-4 body-1\"},[_vm._v(\"Cargando menú...\")]),_c('v-progress-circular',{attrs:{\"size\":50,\"color\":\"amber\",\"indeterminate\":\"\"}})],1)])],1)],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-card',{staticClass:\"mx-4\"},[_c('v-tabs',{attrs:{\"background-color\":\"#202020\",\"centered\":\"\",\"dark\":\"\",\"icons-and-text\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tabs-slider'),_c('v-tab',{attrs:{\"href\":\"#tab-1\"}},[_vm._v(\" Registrar \"),_c('v-icon',[_vm._v(\"mdi-plus\")])],1),_c('v-tab',{attrs:{\"href\":\"#tab-2\"}},[_vm._v(\" Órdenes de compra \"),_c('v-icon',[_vm._v(\"mdi-factory\")])],1)],1),_c('v-tabs-items',{model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('v-tab-item',{attrs:{\"value\":\"tab-1\"}},[_c('v-card',{attrs:{\"flat\":\"\"}},[_c('v-card-text',[_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.registrarDatosFormulario.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('p',{staticClass:\"ml-3 mt-5 text-left font-weight-medium\"},[_vm._v(\" 1) Número requisición * \")]),_c('v-autocomplete',{staticClass:\"mr-3 ml-3\",attrs:{\"items\":_vm.requisiciones,\"item-value\":\"nro_req\",\"item-text\":\"nro_req\",\"label\":\"Número requisición\",\"solo\":\"\",\"rules\":_vm.rules4},model:{value:(_vm.ordenes_pedidos.numero_requisicion),callback:function ($$v) {_vm.$set(_vm.ordenes_pedidos, \"numero_requisicion\", $$v)},expression:\"ordenes_pedidos.numero_requisicion\"}}),_c('p',{staticClass:\"ml-3 mt-5 text-left font-weight-medium\"},[_vm._v(\" 2) Cotización * \")]),_c('v-autocomplete',{staticClass:\"mr-3 ml-3 mb-3\",attrs:{\"items\":_vm.cotizaciones,\"item-value\":\"codigo\",\"item-text\":\"codigo\",\"label\":\"Cotización\",\"solo\":\"\",\"rules\":_vm.rules4},model:{value:(_vm.ordenes_pedidos.cotizacion),callback:function ($$v) {_vm.$set(_vm.ordenes_pedidos, \"cotizacion\", $$v)},expression:\"ordenes_pedidos.cotizacion\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1),_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-textarea',{staticClass:\"mx-2\",attrs:{\"label\":\"Observación\",\"prepend-icon\":\"mdi-comment\",\"rows\":\"3\",\"row-height\":\"15\",\"counter\":\"\",\"maxlength\":\"500\",\"hint\":\"máximo 500 caracteres\",\"solo\":\"\",\"background-color\":\"amber lighten-4\",\"color\":\"orange orange-darken-4\"},model:{value:(_vm.ordenes_pedidos.observacion),callback:function ($$v) {_vm.$set(_vm.ordenes_pedidos, \"observacion\", $$v)},expression:\"ordenes_pedidos.observacion\"}})],1),_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"color\":\"#FFB300\",\"elevation\":\"2\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"submit\",\"loading\":_vm.estado_registro_envio}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" Guardar \")],1)],1)],1)],1)],1)],1),_c('v-tab-item',{attrs:{\"value\":\"tab-2\"}},[_c('v-card',{attrs:{\"elevation\":\"2\"}},[_c('v-card-title',{staticClass:\"grey lighten-5 white--text headline\"},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Buscar:\",\"single-line\":\"\",\"hide-details\":\"\",\"solo\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers_tabla,\"items\":_vm.ordenesCompras,\"search\":_vm.search,\"loading\":_vm.estado_ordenes_pedidos}})],1)],1)],1)],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.editarVentana),callback:function ($$v) {_vm.editarVentana=$$v},expression:\"editarVentana\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"text-h5\"},[_vm._v(\" Editar datos del despacho \")]),_c('v-card-text',[_c('v-form',{ref:\"formActualizacion\",on:{\"submit\":function($event){$event.preventDefault();return _vm.actualizarDatosDespacho.apply(null, arguments)}},model:{value:(_vm.validActualizacion),callback:function ($$v) {_vm.validActualizacion=$$v},expression:\"validActualizacion\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('p',{staticClass:\"ml-3 mt-5 text-left font-weight-medium\"},[_vm._v(\" 1) Día de llegada * \")]),_c('v-text-field',{staticClass:\"mr-3 ml-3\",attrs:{\"label\":\"Día de llegada\",\"prepend-icon\":\"mdi-calendar\",\"required\":\"\",\"type\":\"date\",\"solo\":\"\"},model:{value:(_vm.actualizar.fecha_llegada),callback:function ($$v) {_vm.$set(_vm.actualizar, \"fecha_llegada\", $$v)},expression:\"actualizar.fecha_llegada\"}}),_c('p',{staticClass:\"ml-3 mt-5 text-left font-weight-medium\"},[_vm._v(\" 2) Hora programada de llegada * \")]),_c('v-text-field',{staticClass:\"mr-3 ml-3\",attrs:{\"prepend-icon\":\"mdi-clock-time-eight-outline\",\"label\":\"Inicia\",\"required\":\"\",\"type\":\"time\",\"rules\":_vm.rules4,\"placeholder\":\"H:mm\",\"hint\":\"H:mm\",\"solo\":\"\"},model:{value:(_vm.actualizar.hora_programada_llegada),callback:function ($$v) {_vm.$set(_vm.actualizar, \"hora_programada_llegada\", $$v)},expression:\"actualizar.hora_programada_llegada\"}}),_c('p',{staticClass:\"ml-3 mt-5 text-left font-weight-medium\"},[_vm._v(\" 3) Hora llegada de vehículo * \")]),_c('v-text-field',{staticClass:\"mr-3 ml-3\",attrs:{\"prepend-icon\":\"mdi-clock-time-eight-outline\",\"label\":\"Inicia\",\"required\":\"\",\"type\":\"time\",\"rules\":_vm.rules4,\"placeholder\":\"H:mm\",\"hint\":\"H:mm\",\"solo\":\"\"},model:{value:(_vm.actualizar.hora_llegada_vehiculo),callback:function ($$v) {_vm.$set(_vm.actualizar, \"hora_llegada_vehiculo\", $$v)},expression:\"actualizar.hora_llegada_vehiculo\"}})],1)],1),_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-btn',{attrs:{\"color\":\"#FFB300\",\"elevation\":\"2\",\"outlined\":\"\",\"rounded\":\"\",\"type\":\"submit\",\"loading\":_vm.estado_registro_envio}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" Guardar \")],1)],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"red darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.editarVentana = false}}},[_vm._v(\" Cerrar \")])],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n \r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insumos.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./insumos.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./insumos.vue?vue&type=template&id=d7e6221c&scoped=true\"\nimport script from \"./insumos.vue?vue&type=script&lang=js\"\nexport * from \"./insumos.vue?vue&type=script&lang=js\"\nimport style0 from \"./insumos.vue?vue&type=style&index=0&id=d7e6221c&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 \"d7e6221c\",\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!./insumos.vue?vue&type=style&index=0&id=d7e6221c&prod&scoped=true&lang=css\"","// 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":""}