webpackJsonp([5],{uKoV:function(e,t){},vOBA:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i("Dd8w"),s=i.n(n),a=i("RcFJ"),c=i("QfXl"),o=i("tm8W"),l=i("NYxO"),r={data:function(){return{percent:100,visible:!0}},props:{item:{type:Object,default:function(){return{}}},rowindex:Number,colindex:Number,cropSuffix:String},mounted:function(){this.ajustLayout()},mixins:[a.a],methods:{onClickFileBtn:function(){if(this.item&&this.item.ctype&&""!=this.item.ctype&&o.a.sendPlugUnit("pdf_basicfunc_createpdf_click","pdfnewPage",this.item.ctype),this.item.id)if("pdf"===window.external.appInfo.name)switch(this.item.id){case 1:c.a.newBlankDocument();break;case 2:c.a.openDocument();break;case 7:c.a.newPdfFromScan()}else c.a.newlyBuildPlugInUnit(this.item.id);else this.item.recommendId&&c.a.clicktRecommendationFunction(this.item.recommendId)},onClickNewBlankPage:function(e){switch(e){case"CT_Edit":o.a.sendPlugUnit("pdf_basicfunc_createpdf_click","pdfnewPage","blankpdf_edit");break;case"CT_Insertion":o.a.sendPlugUnit("pdf_basicfunc_createpdf_click","pdfnewPage","blankpdf_insert");break;case"CT_Page":o.a.sendPlugUnit("pdf_basicfunc_createpdf_click","pdfnewPage","blankpdf_page");break;default:return}c.a.createBlankDocument(e)},handleAdd:function(){if(this.percent>=100)return!1;this.percent+=10},handleMinus:function(){if(this.percent<=0)return!1;this.percent-=10},ajustLayout:function(){this.item.isSmall&&(this.visible=this.setVisible())},setVisible:function(){return!0}},computed:s()({},Object(l.c)({print:function(e){return e.print.all}}),{isShow:function(){this.percent=20;var e=!0;return 0!=this.percent&&100!=this.percent||(e=!1),e},getPercent:function(){return this.item.id==this.itemPluginId?this.itemPluginProgress:0},getBoxClass:function(){return"item__newfile__box"},getImageBoxClass:function(){return this.item&&1===this.item.id?"blank_box_img":"function_box_img"},adVipStrImg:function(){return this.print.isDark?"item_vip-dark":"item_vip"}})},_={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.item.isSmall?i("div",{directives:[{name:"docer-collect-show",rawName:"v-docer-collect-show",value:{collect:e.$_collectMbShow},expression:"{ collect: $_collectMbShow }"}],staticClass:"item2"},[i("div",{staticClass:"item2__newfile",on:{click:function(t){return t.stopPropagation(),e.onClickFileBtn()}}},[e.item.isVip?i("SvgIcon",{staticClass:"svg_small_img",attrs:{svgName:e.adVipStrImg}}):e._e(),e._v(" "),i("span",{staticClass:"box2_img"},[i("SvgIcon",{attrs:{svgName:e.item.imageName}})],1),e._v(" "),i("div",{staticClass:"info"},[i("p",{staticClass:"info-name"},[e._v(e._s(e.item.name))]),e._v(" "),i("p",{staticClass:"info-content"},[e._v(e._s(e.item.description))])])],1)]):i("div",{directives:[{name:"docer-collect-show",rawName:"v-docer-collect-show",value:{collect:e.$_collectMbShow},expression:"{ collect: $_collectMbShow }"}],staticClass:"item"},[i("div",{staticClass:"item__newfile",on:{click:function(t){return t.stopPropagation(),e.onClickFileBtn()}}},[i("div",{class:e.getBoxClass},[i("div",{staticClass:"item__newfile__box_image"},[i("SvgIcon",{attrs:{svgName:e.item.imageName}})],1),e._v(" "),i("div",{staticClass:"item__newfile__box_title"},[i("i",[e._v(e._s(e.item.name))])]),e._v(" "),e.item.isVip?i("div",{staticClass:"item-layer-info-vipicon"},[i("SvgIcon",{attrs:{svgName:e.adVipStrImg,className:"vip-img"}})],1):e._e(),e._v(" "),e.item.blank_tab_guide?i("div",{staticClass:"item__newfile__box_menu"},[i("div",{staticClass:"item__newfile__box_menu_item",on:{click:function(t){return t.stopPropagation(),e.onClickNewBlankPage("CT_Edit")}}},[e._v("\n          编辑\n        ")]),e._v(" "),i("div",{staticClass:"item__newfile__box_menu_sperator"}),e._v(" "),i("div",{staticClass:"item__newfile__box_menu_item",on:{click:function(t){return t.stopPropagation(),e.onClickNewBlankPage("CT_Insertion")}}},[e._v("\n          插入\n        ")]),e._v(" "),i("div",{staticClass:"item__newfile__box_menu_sperator"}),e._v(" "),i("div",{staticClass:"item__newfile__box_menu_item",on:{click:function(t){return t.stopPropagation(),e.onClickNewBlankPage("CT_Page")}}},[e._v("\n          页面处理\n        ")])]):e._e()])])])},staticRenderFns:[]};var m=i("VU/8")(r,_,!1,function(e){i("uKoV")},"data-v-ebad7d62",null);t.default=m.exports}});