找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 7|回复: 0

24729322_第十二章 进虎穴(六)

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
{return n.apply(this,arguments)})},{key:"hasFiles",get:function(){return 0<this.currentDeviceTagsList.length}},{key:"closeTag",value:(t=Object(c.a)(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$dw.heelsLabelClick("close"),this.$dw.heelsLabelDelete(),n=t.workAreaId,a=t.tagId,this.$localWorkareaLogger.info("invoke crossterminal.common.closeWorkAreaTag:",{workAreaId:n,tagId:a}),e.next=6,this.$clientApis.local.closeWorkAreaTag(n,a);case 6:a=e.sent,this.$localWorkareaLogger.info("invoke crossterminal.common.closeWorkAreaTag:",a);case 8:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"previewTagStart",value:function(r){var i=this;this.isAllowPreview&&(this.delayPreviewTimer=setTimeout(Object(c.a)(regeneratorRuntime.mark(function e(){var t,n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.delayPreviewTimer=null,a=!0,null!==i.previewTagEndTimer&&(clearTimeout(i.previewTagEndTimer),a=!1,i.previewTagEndTimer=null),t=r.workAreaId,n=r.tagId,i.$localWorkareaLogger.info("invoke crossterminal.common.previewTagStart:",{workAreaId:t,tagId:n}),e.next=7,i.$clientApis.local.previewTagStart(t,n,a);case 7:a=e.sent,i.$localWorkareaLogger.info("invoke crossterminal.common.previewTagStart:",a);case 9:case"end":return e.stop()}},e)})),this.enterTime))}},{key:"previewTagEnd",value:function(){var n=this;this.isDocClick?this.isDocClick=!1:this.isAllowPreview&&(null===this.delayPreviewTimer?this.previewTagEndTimer=setTimeout(Object(c.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.$localWorkareaLogger.info("invoke crossterminal.common.previewTagEnd"),e.next=3,n.$clientApis.local.previewTagEnd();case 3:t=e.sent,n.$localWorkareaLogger.info("invoke crossterminal.common.previewTagEnd:",t),n.previewTagEndTimer=null;case 6:case"end":return e.stop()}},e)})),this.enterTime+100):clearTimeout(this.delayPreviewTimer))}}]),i}(i.e);Object(a.a)([Object(i.c)({default:!0})],w.prototype,"isAllowPreview",void 0);var y=w=Object(a.a)([Object(i.a)({name:"LocalTags",components:{Document:s.a,NewLogin:b},computed:Object(d.a)({},Object(o.b)({currentDeviceTagsList:"currentDeviceTagsList",softbusList:"softbusList",devicesList:"devicesList"}))})],w),O=(r("98ff"),Object(k.a)(y,function(){var n=this,e=n.$createElement,a=n._self._c||e;return a("div",{staticClass:"localTags",class:{overflowHidden:!n.hasFiles,noFileContainer:!n.hasFiles}},[n.hasFiles?[n._l(n.currentDeviceTagsList,function(t){return[a("Document",{key:t.fileId,attrs:{tag:t,showClose:!0,isLocalActiveTag:t.isActive&&"current"===t.status,isLock:t.lock,isOpen:t.isOpen},on:{close:n.closeTag},nativeOn:{mouseup:function(e){return n.mouseRightClick(e,t)},click:function(e){return n.handleOpenLocalTag(t)},mouseenter:function(e){return n.previewTagStart(t)},mouseleave:function(e){return n.previewTagEnd.apply(null,arguments)}}})]})]:[n.$store.state.common.isLogin?0<n.devicesList.length&&0===n.softbusList.length?a("div",{staticClass:"no-files"},[a("img",{attrs:{src:r("b67f")}}),a("div",{staticClass:"tips-text"},[n._v("无打开的文档")])]):n._e():a("div",{staticClass:"no-files"},[a("img",{attrs:{src:r("b67f")}}),a("div",{staticClass:"noFiles-title"},[n._v("暂无打开的文档")]),a("NewLogin")],1)]],2)},[],!1,null,"4628edf8",null)).exports,T=function(e){Object(h.a)(n,e);var t=Object(f.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments)).isShow=!1,e}return Object(u.a)(n,[{key:"onPanelIsShowChange",value:function(e){e||this.dropdown&&"function"==typeof this.dropdown.hidePopover&&this.dropdown.hidePopover()}},{key:"openDeviceCenter",value:function(){this.$store.state.plugins.isSupportDevicesCenter&&(this.$dw.heelsMenuClick("devicemanage"),this.$clientApis.plugins.openDevicesCenter())}},{key:"clickoutMenu",value:function(){this.isShow=!1}},{key:"clickMoreMenu",value:function(){this.isShow=!this.isShow,this.isShow&&this.$dw.heelsMenu()}},{key:"handleMenuItemClick",value:function(e){"feedback"===e?(this.$dw.heelsMenuClick("feedback"),Object(v.i)()):"devices"===e?this.openDeviceCenter():"integrated"===e&&(this.$dw.heelsMenuClick("introduction"),Object(v.j)()),this.$clientApis.plugins.closeWorkArea()}}]),n}(i.e);Object(a.a)([Object(i.d)()],T.prototype,"dropdown",void 0),Object(a.a)([Object(i.f)("$store.state.common.panelIsShow")],T.prototype,"onPanelIsShowChange",null);var $=T=Object(a.a)([i.a],T),t=(r("8644"),Object(k.a)($,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("KwDropdown",{ref:"dropdown",staticClass:"dropdown-menu",attrs:{trigger:"click",type:"button",distance:6},on:{clickout:e.clickoutMenu,command:e.handleMenuItemClick}},[[t("i",{staticClass:"icon",on:{click:e.clickMoreMenu}})],t("KwDropdownMenu",{attrs:{slot:"menu"},slot:"menu"},[t("KwDropdownItem",{attrs:{name:"devices"}},[t("div",{staticClass:"menu-item"},[t("i",{staticClass:"devices-icon"}),t("span",[e._v("设备管理")])])]),t("KwDropdownItem",{attrs:{name:"integrated"}},[t("div",{staticClass:"menu-item"},[t("i",{staticClass:"integrated-icon"}),t("span",[e._v("了解随行")])])]),t("KwDropdownItem",{attrs:{name:"feedback"}},[t("div",{staticClass:"menu-item"},[t("i",{staticClass:"feedback-icon"}),t("span",[e._v("问题反馈")])])])],1)],2)},[],!1,null,"367ba272",null)).exports,S=r("6d41"),m=function(e){Object(h.a)(n,e);var t=Object(f.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(u.a)(n,[{key:"isFileLabelSyncAvailable",get:function(){return this.$store.state.softbus.isFileLabelSyncAvailable}},{key:"countCurrentTags",get:function(){return this.$store.getters.currentDeviceTagsList.length}},{key:"isDark",get:function(){return this.$store.state.common.isDarkMode}},{key:"locale",get:function(){return this.$i18n&&this.$i18n.locale||"zh-CN"}},{key:"logoStyle",get:function(){return Object(S.a)(this.locale,this.isDark)}}]),n}(i.e),g=m=Object(a.a)([Object(i.a)({components:{DropdownMenu:t}})],m),w=(r("1da0"),Object(k.a)(g,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"flex-between-center",class:{header:e.isFileLabelSyncAvailable}},[e.isFileLabelSyncAvailable?[t("i",{staticClass:"header-logo",style:e.logoStyle})]:[t("span",{staticClass:"more-components-title"},[e._v("已经打开的文档("+e._s(e.countCurrentTags)+")")])],t("DropdownMenu")],2)},[],!1,null,"1886368d",null)).exports,y=function(e){Object(h.a)(a,e);var t,n=Object(f.a)(a);function a(){return Object(l.a)(this,a),n.apply(this,arguments)}return Object(u.a)(a,[{key:"showTransferHelper",value:(t=Object(c.a)(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.$dw.heelFuncClick(),e.next=3,this.$clientApis.plugins.showTransferHelper();case 3:if(t=e.sent,this.$commonLogger.info("crossterminal.common.showTransferHelper result:",t),"ok"===t.callstatus)return e.prev=6,t=JSON.parse(t.result),!0===t.isSuccess&&this.$commonLogger.info("open transferHelper success"),this.$clientApis.plugins.closeWorkArea(),e.abrupt("return");e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),this.$commonLogger.error("parse crossterminal.common.showTransferHelper result error",{error:e.t0});case 16:case"end":return e.stop()}},e,this,[[6,13]])})),function(){return t.apply(this,arguments)})}]),a}(i.e),T=y=Object(a.a)([i.a],y),$=(r("fae2"),Object(k.a)(T,function(){var e=this,t=e.$createElement,t=e._self._c||t;return t("div",{staticClass:"plugins-entry flex-between-center"},[t("div",{staticClass:"item",on:{click:e.showTransferHelper}},[t("i",{staticClass:"icon"}),t("span",{staticClass:"name"},[e._v("传输助手")]),t("span",{staticStyle:{flex:"1"}}),e.$store.state.plugins.multiDeviceTransferActionSwitch?e._e():t("span",{staticClass:"desc"},[e._v("设备间快速互传文档")])])])},[],!1,null,"35f35452",null)).exports,L=r("2909"),t=(r("13d5"),r("99af"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{key:t.headerKey,staticClass:"localWorkareaList"},[n("draggable",t._b({attrs:{handle:".dragTag","ghost-class":"ghostClass"},model:{value:t.openedWorkareaList,callback:function(e){t.openedWorkareaList=e},expression:"openedWorkareaList"}},"draggable",t.dragOptions,!1),[n("transition-group",{staticClass:"transition-group",attrs:{type:"transition"}},t._l(t.openedWorkareaList,function(e){return n("Workarea",{directives:[{name:"right-click",rawName:"v-right-click",value:{workareaRightClickMenu:t.getOpenWorkareaRightClickMenu(e),id:(new Date).getTime(),params:{workAreaId:e.workAreaId,isOpen:!0,forceSave:!!e.forceSave},onClose:t.closeCallback},expression:"{\n          workareaRightClickMenu: getOpenWorkareaRightClickMenu(workarea),\n          id: new Date().getTime(),\n          params: { workAreaId: workarea.workAreaId, isOpen: true, forceSave: !!workarea.forceSave },\n          onClose: closeCallback,\n        }"}],key:e.workAreaId,ref:e.workAreaId,refInFor:!0,attrs:{workarea:e,isOpen:!0,isShowSaveIcon:!t.$store.state.common.isMac}})}),1)],1),0<t.$store.state.localWorkarea.closedWorkareaList.length?[n("div",{staticClass:"list-title"},[t._v(t._s(t.$store.state.common.isMac?"已关闭工作区":"已关闭工作窗口"))]),t._l(t.$store.state.localWorkarea.closedWorkareaList,function(e){return[n("Workarea",{directives:[{name:"right-click",rawName:"v-right-click",value:t.$store.state.common.isMac?{workareaRightClickMenu:t.workareaRightClickMenu.filter(function(e){return"saveWorkArea"!==e.key&&"cancelSaveWorkArea"!==e.key}),id:(new Date).getTime(),params:{workAreaId:e.workAreaId}}:{workareaRightClickMenu:t.workareaRightClickMenu.filter(function(e){return"createWorkArea"!==e.key&&"saveWorkArea"!==e.key&&"cancelSaveWorkArea"!==e.key}),id:(new Date).getTime(),params:{workAreaId:e.workAreaId,isOpen:!1,forceSave:!!e.forceSave},onClose:t.closeCallback},expression:"!$store.state.common.isMac ? {\n          workareaRightClickMenu: workareaRightClickMenu.filter(\n            (i) => i.key !== 'createWorkArea' && i.key !== 'saveWorkArea' && i.key !== 'cancelSaveWorkArea',\n          ),\n          id: new Date().getTime(),\n          params: { workAreaId: workarea.workAreaId, isOpen: false, forceSave: !!workarea.forceSave },\n          onClose: closeCallback,\n        } : {\n          workareaRightClickMenu: workareaRightClickMenu.filter(\n            (i) => i.key !== 'saveWorkArea' && i.key !== 'cancelSaveWorkArea',\n          ),\n          id: new Date().getTime(),\n          params: { workAreaId: workarea.workAreaId },\n        }"}],key:e.workAreaId,ref:e.workAreaId,refInFor:!0,attrs:{workarea:e,isOpen:!1}})]})]:t._e()],2)}),m=(r("a15b"),r("d81d"),r("b76a")),g=r.n(m),j=r("a448"),y=r("3e04"),T=r("50fc"),m=function(e){Object(h.a)(i,e);var t,n,a,r=Object(f.a)(i);function i(){var e;return Object(l.a)(this,i),(e=r.apply(this,arguments)).openTimer=null,e.closeTimer=null,e.enterTime=500,e.leaveTime=300,e.isEditing=!1,e.isHover=!1,e.isOpenRightClick=!1,e}return Object(u.a)(i,[{key:"isTopWorkArea",get:function(){return this.$store.getters.firstOpenWorkareaId===this.workarea.workAreaId}},{key:"isMac",get:function(){return Object(v.h)()}},{key:"workareaNameEllipsis",value:function(e){return e.length<=8?e:Object(v.l)(e)}},{key:"openRightMenu",value:function(){var e=this;this.isOpenRightClick=!0,setTimeout(function(){e.workareaAreaSwitch(!0)},0)}},{key:"closeRightMenu",value:function(){this.isOpenRightClick=!1,this.workareaAreaSwitch(!1)}},{key:"workareaAreaSwitch",value:fu
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-11 12:05 , Processed in 0.052462 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表