{"version":3,"sources":["webpack:///./src/views/wms/Entrada_salida.vue","webpack:///src/views/wms/Entrada_salida.vue","webpack:///./src/views/wms/Entrada_salida.vue?61be","webpack:///./src/views/wms/Entrada_salida.vue?c973","webpack:///./src/components/Apps.vue","webpack:///src/components/Apps.vue","webpack:///./src/components/Apps.vue?7981","webpack:///./src/components/Apps.vue?5c47","webpack:///../../../src/components/VAppBar/VAppBarNavIcon.ts","webpack:///./src/views/wms/Entrada_salida.vue?4b90","webpack:///../../../src/components/VMain/VMain.ts","webpack:///../../../src/components/VNavigationDrawer/VNavigationDrawer.ts"],"names":["item","heading","staticClass","_c","attrs","_v","model","value","callback","_l","icon","child","_vm","$vuetify","$event","drawer","dialog","expression","buscar_dato_orden","fecha_filtro","scopedSlots","key","fn","modal_filtro","fecha_filtro_modal","staticRenderFns","render","name","components","AppsTerceros","Perfil","Notificaciones","data","items","rol","id_cguno","token","id_almacen","fecha","entradas_salidas","headers","text","align","carga_datos_referencia","mensajetabla","methods","menuApp","axios","get","url","config","then","res","console","log","carga_cabecera","Promise","resolve","filter","cabecera","push","id_cabecera_menu","tipo_menu","icon_alt","children","opcion","catch","error","datosEntradasSalidas","fechaFiltro","computed","mapState","localStorage","getItem","informacion_usuario","id_cargo","component","title","Ruta","$router","Vinculo","link","titulo","contenedor","document","querySelector","width","clientWidth","height","clientHeight","window","open","Vue","extend","functional","h","slots","listeners","props","d","Object","assign","trim","on","defaultSlot","default","VBtn","VIcon","SSRBootable","tag","type","String","styles","bar","top","right","footer","insetFooter","bottom","left","this","application","paddingTop","paddingRight","paddingBottom","paddingLeft","style","ref","getSlot","baseMixins","mixins","Applicationable","Colorable","Dependent","Mobile","Overlayable","Themeable","directives","ClickOutside","Resize","Touch","provide","isInNav","Boolean","clipped","disableResizeWatcher","disableRouteWatcher","expandOnHover","floating","Number","app","miniVariant","miniVariantWidth","permanent","src","stateless","temporary","touchless","isMouseover","touchArea","stackMinZIndex","applicationProperty","classes","absolute","isActive","fixed","isMobile","isMiniVariant","themeClasses","computedMaxHeight","hasApp","computedTop","computedTransform","isBottom","computedWidth","options","call","reactsToClick","reactsToMobile","reactsToResize","reactsToRoute","showOverlay","hideOverlay","translate","convertToUnit","maxHeight","undefined","transform","watch","$route","val","$emit","prev","removeOverlay","genOverlay","init","updateMiniVariant","beforeMount","calculateTouchArea","parent","$el","parentNode","parentRect","getBoundingClientRect","closeConditional","_isDestroyed","genAppend","genPosition","genBackground","image","$scopedSlots","img","$createElement","VImg","genDirectives","handler","include","getOpenDependentElements","swipeLeft","swipeRight","genListeners","mouseenter","mouseleave","transitionend","e","target","currentTarget","resizeEvent","createEvent","initUIEvent","dispatchEvent","click","slot","genPrepend","genContent","genBorder","onRouteChange","Math","abs","touchendX","touchstartX","updateApplication","isNaN","unshift","setBackgroundColor","color","class"],"mappings":"2dAAyd,W,IAAU,OAAC,EAAIA,EAAKC,S,OAAmFC,SAAW,C,MAAoB,C,GAAE,YAAY,GAAEC,OAAO,C,MAACD,CAAiCE,QAAM,8B,MAAO,UAAK,QAAE,IAAMC,I,MAAyE,C,MAAE,S,SAAyD,SAAc,GAAG,Y,WAA0B,W,UAA0B,C,MAA2F,C,MAAO,K,CAAkBC,KAAM,qB,MAACC,GAAOP,QAAW,U,IAACQ,EAAQ,Q,MAAoB,CAAyB,MAAC,WAAwB,WAAE,MAAMC,CAAqC,KAAU,M,CAAqBL,EAAK,QAAC,uD,YAAQ,c,MAAE,CAAE,KAASM,M,GAAiK,IAAKC,C,YAAS,qBAAC,MAAM,CAAwCR,KAAG,OAAiDC,GAAK,GAAC,qC,IAAC,EAAO,KAAE,OAAID,eAAG,QAAyB,OAAUS,EAAM,YAAqH,cAAS,IAAoB,cAAeA,GAAIC,EAA4B,IAAM,YAAG,cAAiB,sDAAgC,WAAC,MAAQ,G,MAAiBC,CAAyBF,MAAIG,EAAM,MAAc,qBAAC,qBAA0Bb,WAAY,eAAyB,MAAQ,0BAAO,iBAAM,IAAC,EAAQA,MAAW,CAA4BG,KAAG,KA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C,KAAK4C,UAAW,MAEzDuD,WAAYK,GACNxG,KAAK4C,WAAa5C,KAAKL,QAC3BK,KAAK8E,qBAEDuC,KAAKC,IAAId,EAAEe,UAAYf,EAAEgB,aAAe,OACvCxH,KAAKL,OACR6G,EAAEgB,aAAexH,KAAKuC,UAAUxC,KAChCC,KAAK4C,UAAW,EACT5C,KAAKL,OAASK,KAAK4C,WAAU5C,KAAK4C,UAAW,MAKxD6E,oBACE,IACGzH,KAAK4C,UACN5C,KAAK8C,UACL9C,KAAKoC,YACJpC,KAAKgF,IACN,OAAO,EAET,MAAMlH,EAAQ+D,OAAO7B,KAAK+B,YAAc/B,KAAKgC,iBAAmBhC,KAAKlC,OAErE,OAAO4J,MAAM5J,GAASkC,KAAKgF,IAAIjH,YAAcD,GAE/C8G,kBAAmBN,GACbtE,KAAK2B,eAAiB3B,KAAK+B,cAAgBuC,GAAKtE,KAAKuE,MAAM,sBAAuBD,KAI1FpK,OAAQqE,GACN,MAAM/B,EAAW,CACfwD,KAAKiH,aACLjH,KAAKkH,aACLlH,KAAKsF,YACLtF,KAAKmH,aAKP,OAFInH,KAAKkC,KAAO1B,eAAQR,KAAM,SAAQxD,EAASmL,QAAQ3H,KAAKwF,iBAErDjH,EAAEyB,KAAKX,IAAKW,KAAK4H,mBAAmB5H,KAAK6H,MAAO,CACrDC,MAAO9H,KAAK0C,QACZpC,MAAON,KAAKR,OACZyB,WAAYjB,KAAK8F,gBACjB/G,GAAIiB,KAAKoG,iBACP5J","file":"js/chunk-57714fa6.2cb0f3be.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('v-navigation-drawer',{attrs:{\"clipped\":_vm.$vuetify.breakpoint.lgAndUp,\"color\":\"#202020\",\"dark\":\"\",\"app\":\"\"},model:{value:(_vm.drawer),callback:function ($$v) {_vm.drawer=$$v},expression:\"drawer\"}},[_c('v-list',{attrs:{\"dense\":\"\"}},[_vm._l((_vm.items),function(item){return [(item.heading)?_c('v-row',{key:item.heading,attrs:{\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[(item.heading)?_c('v-subheader',[_vm._v(_vm._s(item.heading))]):_vm._e()],1),_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"6\"}},[_c('a',{staticClass:\"body-2 black--text\",attrs:{\"href\":\"#!\"}},[_vm._v(\"EDIT\")])])],1):(item.children)?_c('v-list-group',{key:item.text,attrs:{\"prepend-icon\":item.model ? item.icon : item['icon-alt'],\"append-icon\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(){return [_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1)]},proxy:true}],null,true),model:{value:(item.model),callback:function ($$v) {_vm.$set(item, \"model\", $$v)},expression:\"item.model\"}},[_vm._l((item.children),function(child,i){return _c('v-list-item',{key:i,attrs:{\"link\":\"\"}},[(child.icon)?_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(child.icon))])],1):_vm._e(),_c('v-list-item-content',[_c('v-list-item-title',[_c('router-link',{attrs:{\"to\":child.url}},[_vm._v(_vm._s(child.text))])],1)],1)],1)}),_c('v-divider')],2):_c('v-list-item',{key:item.text,attrs:{\"link\":\"\"}},[_c('v-list-item-action',[_c('v-icon',[_vm._v(_vm._s(item.icon))])],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(item.text))])],1)],1)]})],2)],1),_c('v-app-bar',{attrs:{\"clipped-left\":_vm.$vuetify.breakpoint.lgAndUp,\"app\":\"\",\"color\":\"#FFB300\"}},[_c('v-app-bar-nav-icon',{on:{\"click\":function($event){$event.stopPropagation();_vm.drawer = !_vm.drawer}}}),_c('v-toolbar-title',{staticClass:\"ml-0 pl-4\",staticStyle:{\"width\":\"300px\"}},[_c('span',{staticClass:\"hidden-sm-and-down\"},[_vm._v(\"ENTRADA - SALIDA\")])]),_c('v-text-field',{staticClass:\"hidden-sm-and-down\",attrs:{\"flat\":\"\",\"solo-inverted\":\"\",\"hide-details\":\"\",\"prepend-inner-icon\":\"mdi-magnify\",\"label\":\"Search\"}}),_c('v-spacer'),_c('AppsTerceros'),_c('Notificaciones'),_c('Perfil')],1),_c('v-main',[_c('v-container',[_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',{staticClass:\"ma-2\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"grey lighten-3\"},[_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}}),_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"mr-1 ml-1 mt-1\",attrs:{\"label\":\"Buscar Referencia\",\"placeholder\":\"Buscar Referencia\",\"regular\":\"\"},model:{value:(_vm.buscar_dato_orden),callback:function ($$v) {_vm.buscar_dato_orden=$$v},expression:\"buscar_dato_orden\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-text-field',{staticClass:\"mr-1 ml-1 mt-1\",attrs:{\"label\":\"Fecha:\",\"regular\":\"\",\"type\":\"date\"},on:{\"input\":function($event){return _vm.fechaFiltro(_vm.fecha_filtro)}},model:{value:(_vm.fecha_filtro),callback:function ($$v) {_vm.fecha_filtro=$$v},expression:\"fecha_filtro\"}})],1)])],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.entradas_salidas,\"loading\":_vm.carga_datos_referencia,\"loading-text\":_vm.mensajetabla,\"search\":_vm.buscar_dato_orden},scopedSlots:_vm._u([{key:`item.numero_orden`,fn:function({ item }){return [_c('v-chip',{attrs:{\"color\":\"#1d1d1d\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(item.numero_orden)+\" \")])]}},{key:`item.entrada`,fn:function({ item }){return [_c('v-chip',{attrs:{\"color\":\"#7B1FA2\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(item.entrada)+\" \")])]}},{key:`item.salida`,fn:function({ item }){return [_c('v-chip',{attrs:{\"color\":\"#2196F3\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(item.salida)+\" \")])]}}],null,true)})],1)],1)],1)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-dialog',{attrs:{\"persistent\":\"\",\"transition\":\"dialog-top-transition\",\"max-width\":\"500\"},model:{value:(_vm.modal_filtro),callback:function ($$v) {_vm.modal_filtro=$$v},expression:\"modal_filtro\"}},[_c('v-card',[_c('v-toolbar',{attrs:{\"color\":\"grey darken-4\",\"dark\":\"\"}},[_vm._v(\"Seleccione la fecha a consultar\")]),_c('v-card-text',[_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-date-picker',{staticClass:\"mt-2\",attrs:{\"color\":\"amber accent-3\"},on:{\"input\":function($event){return _vm.fechaFiltro(_vm.fecha_filtro_modal)}},model:{value:(_vm.fecha_filtro_modal),callback:function ($$v) {_vm.fecha_filtro_modal=$$v},expression:\"fecha_filtro_modal\"}})],1)]),_c('v-card-actions',{staticClass:\"justify-end\"})],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Entrada_salida.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!./Entrada_salida.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Entrada_salida.vue?vue&type=template&id=774327da&scoped=true\"\nimport script from \"./Entrada_salida.vue?vue&type=script&lang=js\"\nexport * from \"./Entrada_salida.vue?vue&type=script&lang=js\"\nimport style0 from \"./Entrada_salida.vue?vue&type=style&index=0&id=774327da&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 \"774327da\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-menu',{attrs:{\"transition\":\"slide-x-transition\",\"bottom\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\"},on:{\"click\":_vm.Ruta}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"home\")])],1)]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Apps.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!./Apps.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Apps.vue?vue&type=template&id=46156840\"\nimport script from \"./Apps.vue?vue&type=script&lang=js\"\nexport * from \"./Apps.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","// Components\nimport VIcon from '../VIcon'\nimport VBtn from '../VBtn/VBtn'\n\n// Types\nimport Vue from 'vue'\n\n/* @vue/component */\nexport default Vue.extend({\n name: 'v-app-bar-nav-icon',\n\n functional: true,\n\n render (h, { slots, listeners, props, data }) {\n const d = Object.assign(data, {\n staticClass: (`v-app-bar__nav-icon ${data.staticClass || ''}`).trim(),\n props: {\n ...props,\n icon: true,\n },\n on: listeners,\n })\n\n const defaultSlot = slots().default\n\n return h(VBtn, d, defaultSlot || [h(VIcon, '$menu')])\n },\n})\n","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!./Entrada_salida.vue?vue&type=style&index=0&id=774327da&prod&scoped=true&lang=css\"","// Styles\nimport './VMain.sass'\n\n// Mixins\nimport SSRBootable from '../../mixins/ssr-bootable'\nimport { getSlot } from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue'\n\n/* @vue/component */\nexport default SSRBootable.extend({\n name: 'v-main',\n\n props: {\n tag: {\n type: String,\n default: 'main',\n },\n },\n\n computed: {\n styles (): object {\n const {\n bar, top, right, footer, insetFooter, bottom, left,\n } = this.$vuetify.application\n\n return {\n paddingTop: `${top + bar}px`,\n paddingRight: `${right}px`,\n paddingBottom: `${footer + insetFooter + bottom}px`,\n paddingLeft: `${left}px`,\n }\n },\n },\n\n render (h): VNode {\n const data = {\n staticClass: 'v-main',\n style: this.styles,\n ref: 'main',\n }\n\n return h(this.tag, data, [\n h(\n 'div',\n { staticClass: 'v-main__wrap' },\n getSlot(this),\n ),\n ])\n },\n})\n","// Styles\nimport './VNavigationDrawer.sass'\n\n// Components\nimport VImg, { srcObject } from '../VImg/VImg'\n\n// Mixins\nimport Applicationable from '../../mixins/applicationable'\nimport Colorable from '../../mixins/colorable'\nimport Dependent from '../../mixins/dependent'\nimport Mobile from '../../mixins/mobile'\nimport Overlayable from '../../mixins/overlayable'\nimport SSRBootable from '../../mixins/ssr-bootable'\nimport Themeable from '../../mixins/themeable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\n// Utilities\nimport { convertToUnit, getSlot } from '../../util/helpers'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, VNodeDirective, PropType } from 'vue'\nimport { TouchWrapper } from 'vuetify/types'\n\nconst baseMixins = mixins(\n Applicationable('left', [\n 'isActive',\n 'isMobile',\n 'miniVariant',\n 'expandOnHover',\n 'permanent',\n 'right',\n 'temporary',\n 'width',\n ]),\n Colorable,\n Dependent,\n Mobile,\n Overlayable,\n SSRBootable,\n Themeable\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-navigation-drawer',\n\n directives: {\n ClickOutside,\n Resize,\n Touch,\n },\n\n provide (): object {\n return {\n isInNav: this.tag === 'nav',\n }\n },\n\n props: {\n bottom: Boolean,\n clipped: Boolean,\n disableResizeWatcher: Boolean,\n disableRouteWatcher: Boolean,\n expandOnHover: Boolean,\n floating: Boolean,\n height: {\n type: [Number, String],\n default (): string {\n return this.app ? '100vh' : '100%'\n },\n },\n miniVariant: Boolean,\n miniVariantWidth: {\n type: [Number, String],\n default: 56,\n },\n permanent: Boolean,\n right: Boolean,\n src: {\n type: [String, Object] as PropType,\n default: '',\n },\n stateless: Boolean,\n tag: {\n type: String,\n default (): string {\n return this.app ? 'nav' : 'aside'\n },\n },\n temporary: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 256,\n },\n value: null as unknown as PropType,\n },\n\n data: () => ({\n isMouseover: false,\n touchArea: {\n left: 0,\n right: 0,\n },\n stackMinZIndex: 6,\n }),\n\n computed: {\n /**\n * Used for setting an app value from a dynamic\n * property. Called from applicationable.js\n */\n applicationProperty (): string {\n return this.right ? 'right' : 'left'\n },\n classes (): object {\n return {\n 'v-navigation-drawer': true,\n 'v-navigation-drawer--absolute': this.absolute,\n 'v-navigation-drawer--bottom': this.bottom,\n 'v-navigation-drawer--clipped': this.clipped,\n 'v-navigation-drawer--close': !this.isActive,\n 'v-navigation-drawer--fixed': !this.absolute && (this.app || this.fixed),\n 'v-navigation-drawer--floating': this.floating,\n 'v-navigation-drawer--is-mobile': this.isMobile,\n 'v-navigation-drawer--is-mouseover': this.isMouseover,\n 'v-navigation-drawer--mini-variant': this.isMiniVariant,\n 'v-navigation-drawer--custom-mini-variant': Number(this.miniVariantWidth) !== 56,\n 'v-navigation-drawer--open': this.isActive,\n 'v-navigation-drawer--open-on-hover': this.expandOnHover,\n 'v-navigation-drawer--right': this.right,\n 'v-navigation-drawer--temporary': this.temporary,\n ...this.themeClasses,\n }\n },\n computedMaxHeight (): number | null {\n if (!this.hasApp) return null\n\n const computedMaxHeight = (\n this.$vuetify.application.bottom +\n this.$vuetify.application.footer +\n this.$vuetify.application.bar\n )\n\n if (!this.clipped) return computedMaxHeight\n\n return computedMaxHeight + this.$vuetify.application.top\n },\n computedTop (): number {\n if (!this.hasApp) return 0\n\n let computedTop = this.$vuetify.application.bar\n\n computedTop += this.clipped\n ? this.$vuetify.application.top\n : 0\n\n return computedTop\n },\n computedTransform (): number {\n if (this.isActive) return 0\n if (this.isBottom) return 100\n return this.right ? 100 : -100\n },\n computedWidth (): string | number {\n return this.isMiniVariant ? this.miniVariantWidth : this.width\n },\n hasApp (): boolean {\n return (\n this.app &&\n (!this.isMobile && !this.temporary)\n )\n },\n isBottom (): boolean {\n return this.bottom && this.isMobile\n },\n isMiniVariant (): boolean {\n return (\n !this.expandOnHover &&\n this.miniVariant\n ) || (\n this.expandOnHover &&\n !this.isMouseover\n )\n },\n isMobile (): boolean {\n return (\n !this.stateless &&\n !this.permanent &&\n Mobile.options.computed.isMobile.call(this)\n )\n },\n reactsToClick (): boolean {\n return (\n !this.stateless &&\n !this.permanent &&\n (this.isMobile || this.temporary)\n )\n },\n reactsToMobile (): boolean {\n return (\n this.app &&\n !this.disableResizeWatcher &&\n !this.permanent &&\n !this.stateless &&\n !this.temporary\n )\n },\n reactsToResize (): boolean {\n return !this.disableResizeWatcher && !this.stateless\n },\n reactsToRoute (): boolean {\n return (\n !this.disableRouteWatcher &&\n !this.stateless &&\n (this.temporary || this.isMobile)\n )\n },\n showOverlay (): boolean {\n return (\n !this.hideOverlay &&\n this.isActive &&\n (this.isMobile || this.temporary)\n )\n },\n styles (): object {\n const translate = this.isBottom ? 'translateY' : 'translateX'\n return {\n height: convertToUnit(this.height),\n top: !this.isBottom ? convertToUnit(this.computedTop) : 'auto',\n maxHeight: this.computedMaxHeight != null\n ? `calc(100% - ${convertToUnit(this.computedMaxHeight)})`\n : undefined,\n transform: `${translate}(${convertToUnit(this.computedTransform, '%')})`,\n width: convertToUnit(this.computedWidth),\n }\n },\n },\n\n watch: {\n $route: 'onRouteChange',\n isActive (val) {\n this.$emit('input', val)\n },\n /**\n * When mobile changes, adjust the active state\n * only when there has been a previous value\n */\n isMobile (val, prev) {\n !val &&\n this.isActive &&\n !this.temporary &&\n this.removeOverlay()\n\n if (prev == null ||\n !this.reactsToResize ||\n !this.reactsToMobile\n ) return\n\n this.isActive = !val\n },\n permanent (val) {\n // If enabling prop enable the drawer\n if (val) this.isActive = true\n },\n showOverlay (val) {\n if (val) this.genOverlay()\n else this.removeOverlay()\n },\n value (val) {\n if (this.permanent) return\n\n if (val == null) {\n this.init()\n return\n }\n\n if (val !== this.isActive) this.isActive = val\n },\n expandOnHover: 'updateMiniVariant',\n isMouseover (val) {\n this.updateMiniVariant(!val)\n },\n },\n\n beforeMount () {\n this.init()\n },\n\n methods: {\n calculateTouchArea () {\n const parent = this.$el.parentNode as Element\n\n if (!parent) return\n\n const parentRect = parent.getBoundingClientRect()\n\n this.touchArea = {\n left: parentRect.left + 50,\n right: parentRect.right - 50,\n }\n },\n closeConditional () {\n return this.isActive && !this._isDestroyed && this.reactsToClick\n },\n genAppend () {\n return this.genPosition('append')\n },\n genBackground () {\n const props = {\n height: '100%',\n width: '100%',\n src: this.src,\n }\n\n const image = this.$scopedSlots.img\n ? this.$scopedSlots.img(props)\n : this.$createElement(VImg, { props })\n\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__image',\n }, [image])\n },\n genDirectives (): VNodeDirective[] {\n const directives = [{\n name: 'click-outside',\n value: {\n handler: () => { this.isActive = false },\n closeConditional: this.closeConditional,\n include: this.getOpenDependentElements,\n },\n }]\n\n if (!this.touchless && !this.stateless) {\n directives.push({\n name: 'touch',\n value: {\n parent: true,\n left: this.swipeLeft,\n right: this.swipeRight,\n },\n } as any)\n }\n\n return directives\n },\n genListeners () {\n const on: Record void> = {\n mouseenter: () => (this.isMouseover = true),\n mouseleave: () => (this.isMouseover = false),\n transitionend: (e: Event) => {\n if (e.target !== e.currentTarget) return\n this.$emit('transitionend', e)\n\n // IE11 does not support new Event('resize')\n const resizeEvent = document.createEvent('UIEvents')\n resizeEvent.initUIEvent('resize', true, false, window, 0)\n window.dispatchEvent(resizeEvent)\n },\n }\n\n if (this.miniVariant) {\n on.click = () => this.$emit('update:mini-variant', false)\n }\n\n return on\n },\n genPosition (name: 'prepend' | 'append') {\n const slot = getSlot(this, name)\n\n if (!slot) return slot\n\n return this.$createElement('div', {\n staticClass: `v-navigation-drawer__${name}`,\n }, slot)\n },\n genPrepend () {\n return this.genPosition('prepend')\n },\n genContent () {\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__content',\n }, getSlot(this))\n },\n genBorder () {\n return this.$createElement('div', {\n staticClass: 'v-navigation-drawer__border',\n })\n },\n init () {\n if (this.permanent) {\n this.isActive = true\n } else if (this.stateless ||\n this.value != null\n ) {\n this.isActive = this.value\n } else if (!this.temporary) {\n this.isActive = !this.isMobile\n }\n },\n onRouteChange () {\n if (this.reactsToRoute && this.closeConditional()) {\n this.isActive = false\n }\n },\n swipeLeft (e: TouchWrapper) {\n if (this.isActive && this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n if (this.right &&\n e.touchstartX >= this.touchArea.right\n ) this.isActive = true\n else if (!this.right && this.isActive) this.isActive = false\n },\n swipeRight (e: TouchWrapper) {\n if (this.isActive && !this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n if (!this.right &&\n e.touchstartX <= this.touchArea.left\n ) this.isActive = true\n else if (this.right && this.isActive) this.isActive = false\n },\n /**\n * Update the application layout\n */\n updateApplication () {\n if (\n !this.isActive ||\n this.isMobile ||\n this.temporary ||\n !this.$el\n ) return 0\n\n const width = Number(this.miniVariant ? this.miniVariantWidth : this.width)\n\n return isNaN(width) ? this.$el.clientWidth : width\n },\n updateMiniVariant (val: boolean) {\n if (this.expandOnHover && this.miniVariant !== val) this.$emit('update:mini-variant', val)\n },\n },\n\n render (h): VNode {\n const children = [\n this.genPrepend(),\n this.genContent(),\n this.genAppend(),\n this.genBorder(),\n ]\n\n if (this.src || getSlot(this, 'img')) children.unshift(this.genBackground())\n\n return h(this.tag, this.setBackgroundColor(this.color, {\n class: this.classes,\n style: this.styles,\n directives: this.genDirectives(),\n on: this.genListeners(),\n }), children)\n },\n})\n"],"sourceRoot":""}