{"version":3,"sources":["webpack:///./src/views/layout/components/TagsView.vue?d055","webpack:///src/views/layout/components/TagsView.vue","webpack:///./src/views/layout/components/TagsView.vue?6ba9","webpack:///./src/views/layout/components/TagsView.vue","webpack:///./src/views/layout/components/TagsView.vue?35f1"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","ref","_l","tag","key","path","class","isActive","on","$event","goLink","preventDefault","stopPropagation","openMenu","affix","meta","attrs","$t","_v","_s","noshow","closeSelectedTag","directives","name","rawName","value","expression","style","left","top","refreshSelectedTag","selectedTag","_e","closeOthersTags","closeAllTags","staticRenderFns","data","visible","affixTags","isOverflow","computed","visitedViews","console","$store","state","tagsView","routes","permission","watch","$route","addTags","document","mounted","initTags","$nextTick","firstElementChild","beforeRouteLeave","methods","checkEllipsis","elem","offsetWidth","route","resolve","filterAffixTags","isAdmin","tags","fullPath","tempTags","length","dispatch","view","then","$router","push","toLastView","latestView","e","maxLeft","clientY","closeMenu","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,IAAI,CAACE,YAAY,iCAAiCF,EAAG,IAAI,CAACE,YAAY,sCAAsCF,EAAG,MAAM,CAACG,IAAI,aAAaD,YAAY,aAAaN,EAAIQ,GAAIR,EAAgB,cAAE,SAASS,GAAK,OAAOL,EAAG,MAAM,CAACM,IAAID,EAAIE,KAAKL,YAAY,iBAAiBM,MAAMZ,EAAIa,SAASJ,GAAO,SAAW,GAAGK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOf,EAAIgB,OAAOP,IAAM,YAAc,SAASM,GAAyD,OAAjDA,EAAOE,iBAAiBF,EAAOG,kBAAyBlB,EAAImB,SAASV,EAAKM,MAAW,CAACX,EAAG,OAAO,CAACE,YAAY,iBAAiBM,MAAM,CAAEQ,MAAOX,EAAIY,KA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MAIa,aAAA6C,E,oECnBf","file":"js/chunk-c095d836.55025a0e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tags-view-container\"},[_c('i',{staticClass:\"iconfont icon-xiangqian icon\"}),_c('i',{staticClass:\"iconfont icon-xianghou icon after\"}),_c('div',{ref:\"isOverflow\",staticClass:\"container\"},_vm._l((_vm.visitedViews),function(tag){return _c('div',{key:tag.path,staticClass:\"tags-view-item\",class:_vm.isActive(tag) ? 'active' : '',on:{\"click\":function($event){return _vm.goLink(tag)},\"contextmenu\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.openMenu(tag, $event)}}},[_c('span',{staticClass:\"tag isOverflow\",class:{ affix: tag.meta.affix }},[_c('el-tooltip',{staticClass:\"item\",attrs:{\"effect\":\"dark\",\"content\":_vm.$t((\"home.\" + (tag.meta.name))),\"placement\":\"top\"}},[_c('span',[_vm._v(_vm._s(_vm.$t((\"home.\" + (tag.meta.name)))))])])],1),_c('i',{staticClass:\"iconfont icon-guanbi close\",class:{ noshow: tag.meta.affix },on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.closeSelectedTag(tag)}}})])}),0),_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],staticClass:\"contextmenu\",style:({ left: _vm.left + 'px', top: _vm.top + 'px' })},[_c('li',{on:{\"click\":function($event){return _vm.refreshSelectedTag(_vm.selectedTag)}}},[_vm._v(_vm._s(_vm.$t('home.refresh')))]),(!(_vm.selectedTag.meta && _vm.selectedTag.meta.affix))?_c('li',{on:{\"click\":function($event){return _vm.closeSelectedTag(_vm.selectedTag)}}},[_vm._v(\" \"+_vm._s(_vm.$t('home.close'))+\" \")]):_vm._e(),_c('li',{on:{\"click\":_vm.closeOthersTags}},[_vm._v(\" \"+_vm._s(_vm.$t('home.closeOthers'))+\" \")]),_c('li',{on:{\"click\":function($event){return _vm.closeAllTags(_vm.selectedTag)}}},[_vm._v(_vm._s(_vm.$t('home.closeAll')))])])])}\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--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!./TagsView.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!./TagsView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TagsView.vue?vue&type=template&id=172fb22a&scoped=true&\"\nimport script from \"./TagsView.vue?vue&type=script&lang=js&\"\nexport * from \"./TagsView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TagsView.vue?vue&type=style&index=0&id=172fb22a&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"\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 \"172fb22a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TagsView.vue?vue&type=style&index=0&id=172fb22a&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""}