@univerjs-pro/docs-exchange-client 0.6.3 → 0.6.4-nightly.202503111607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x233e63=_0x6d8a;function _0x284f(){var _0xc1dba2=['90564mgEkLn','Plugin','registerCommand','8JZQOTP','_initMenus','ExportSingle','exchange.download','_initCommands','IMenuManagerService','@univerjs-pro/exchange-client','UNIVER_DOC','MenuItemType','forEach','onStarting','691383WmGHHs','docs-exchange-client.operation.exchange','ImportDOCXOperation','exchange-client.operation.export-docx','_configService','symbol','IExchangeOperateService','exchange.upload','4258719sbbceV','menu','DOC_EXCHANGE_CLIENT_PLUGIN','165925YBSxMx','exchange-client.operation.import-docx','mergeMenu','pluginName','getOwnPropertyDescriptor','onReady','DependentOn','BUTTON','exchange.file','toStringTag','12qDeTHM','@univerjs/ui','importDOCXToUnitId','defineProperty','IConfigService','362587bQbqYB','_config','ICommandService','_commandService','6PfcmmA','merge','871dnDWmb','add','RibbonStartGroup','Inject','length','UniverInstanceType','505868jFFTlf','89676RTBlFf','Injector','28iPDRLg','Module','30nUoUru','exportDOCXByUnitId','OPERATION','UniverDocsExchangeClientPlugin','DirectExportSingle','setConfig','_menuManagerService','type','get'];_0x284f=function(){return _0xc1dba2;};return _0x284f();}(function(_0x4e8649,_0x855c12){var _0x468854=_0x6d8a,_0xf6bd33=_0x4e8649();while(!![]){try{var _0x19a881=parseInt(_0x468854(0x167))/0x1+parseInt(_0x468854(0x162))/0x2*(parseInt(_0x468854(0x174))/0x3)+-parseInt(_0x468854(0x134))/0x4*(parseInt(_0x468854(0x158))/0x5)+-parseInt(_0x468854(0x16b))/0x6*(-parseInt(_0x468854(0x14d))/0x7)+parseInt(_0x468854(0x142))/0x8*(-parseInt(_0x468854(0x155))/0x9)+-parseInt(_0x468854(0x136))/0xa*(parseInt(_0x468854(0x173))/0xb)+parseInt(_0x468854(0x13f))/0xc*(parseInt(_0x468854(0x16d))/0xd);if(_0x19a881===_0x855c12)break;else _0xf6bd33['push'](_0xf6bd33['shift']());}catch(_0x4458e8){_0xf6bd33['push'](_0xf6bd33['shift']());}}}(_0x284f,0x49f3b));function _0x6d8a(_0x179f83,_0x351429){var _0x284fdf=_0x284f();return _0x6d8a=function(_0x6d8a07,_0x4f1e7e){_0x6d8a07=_0x6d8a07-0x134;var _0x43a79e=_0x284fdf[_0x6d8a07];return _0x43a79e;},_0x6d8a(_0x179f83,_0x351429);}Object['defineProperty'](exports,Symbol[_0x233e63(0x161)],{'value':_0x233e63(0x135)});const l=require(_0x233e63(0x148)),i=require('@univerjs/core'),a=require(_0x233e63(0x163)),v='docs-exchange-client.config',d={},g={'id':_0x233e63(0x159),'type':i['CommandType'][_0x233e63(0x138)],'handler':async _0x2e1f66=>(_0x2e1f66[_0x233e63(0x13e)](l[_0x233e63(0x153)])[_0x233e63(0x164)](),!0x0)},p={'id':_0x233e63(0x150),'type':i['CommandType'][_0x233e63(0x138)],'handler':async _0x2fc372=>(_0x2fc372[_0x233e63(0x13e)](l[_0x233e63(0x153)])[_0x233e63(0x137)](),!0x0)},h=_0x233e63(0x14e);function I(_0x45e5c7){var _0x5ee8c0=_0x233e63;return{'id':h,'type':a['MenuItemType']['SUBITEMS'],'icon':_0x5ee8c0(0x13a),'tooltip':_0x5ee8c0(0x160),'hidden$':a['getMenuHiddenObservable'](_0x45e5c7,i[_0x5ee8c0(0x172)][_0x5ee8c0(0x149)])};}function O(){var _0xca2115=_0x233e63;return{'id':g['id'],'type':a['MenuItemType'][_0xca2115(0x15f)],'title':_0xca2115(0x154),'icon':'FolderSingle'};}function E(){var _0x3ee862=_0x233e63;return{'id':p['id'],'type':a[_0x3ee862(0x14a)]['BUTTON'],'title':_0x3ee862(0x145),'icon':_0x3ee862(0x144)};}const x={[a[_0x233e63(0x16f)]['FILE']]:{[h]:{'order':0x4,'menuItemFactory':I,[g['id']]:{'order':0x0,'menuItemFactory':O},[p['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object[_0x233e63(0x15c)],f=(_0x55b8c9,_0x296887,_0x3e720a,_0x289b43)=>{var _0x4f9f91=_0x233e63;for(var _0x3f7e6f=_0x289b43>0x1?void 0x0:_0x289b43?D(_0x296887,_0x3e720a):_0x296887,_0x2c6dc1=_0x55b8c9[_0x4f9f91(0x171)]-0x1,_0x701b7d;_0x2c6dc1>=0x0;_0x2c6dc1--)(_0x701b7d=_0x55b8c9[_0x2c6dc1])&&(_0x3f7e6f=_0x701b7d(_0x3f7e6f)||_0x3f7e6f);return _0x3f7e6f;},_=(_0x50847c,_0xfb63d5)=>(_0x5d2b14,_0xbd0117)=>_0xfb63d5(_0x5d2b14,_0xbd0117,_0x50847c);let u=class extends i['Disposable']{constructor(_0x2c02eb,_0x340652){var _0x458576=_0x233e63;super(),this[_0x458576(0x16a)]=_0x2c02eb,this[_0x458576(0x13c)]=_0x340652,this['_initCommands'](),this[_0x458576(0x143)]();}[_0x233e63(0x146)](){[g,p]['forEach'](_0xf17740=>{var _0x21a2e1=_0x6d8a;this['disposeWithMe'](this[_0x21a2e1(0x16a)][_0x21a2e1(0x141)](_0xf17740));});}['_initMenus'](){var _0x1afc28=_0x233e63;this[_0x1afc28(0x13c)][_0x1afc28(0x15a)](x);}};u=f([_(0x0,i[_0x233e63(0x169)]),_(0x1,a[_0x233e63(0x147)])],u);var S=Object[_0x233e63(0x165)],y=Object[_0x233e63(0x15c)],P=(_0x4fd17f,_0x2ba255,_0x3d331f)=>_0x2ba255 in _0x4fd17f?S(_0x4fd17f,_0x2ba255,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d331f}):_0x4fd17f[_0x2ba255]=_0x3d331f,T=(_0x347ff7,_0x154eca,_0x4031be,_0x2997f1)=>{var _0x3a7b7e=_0x233e63;for(var _0x8b455a=_0x2997f1>0x1?void 0x0:_0x2997f1?y(_0x154eca,_0x4031be):_0x154eca,_0x445aaa=_0x347ff7[_0x3a7b7e(0x171)]-0x1,_0x107c9e;_0x445aaa>=0x0;_0x445aaa--)(_0x107c9e=_0x347ff7[_0x445aaa])&&(_0x8b455a=_0x107c9e(_0x8b455a)||_0x8b455a);return _0x8b455a;},m=(_0x244736,_0x1140d3)=>(_0xab1302,_0x4c5922)=>_0x1140d3(_0xab1302,_0x4c5922,_0x244736),C=(_0x576967,_0x3b35be,_0x14b3f8)=>P(_0x576967,typeof _0x3b35be!=_0x233e63(0x152)?_0x3b35be+'':_0x3b35be,_0x14b3f8);const U=_0x233e63(0x157);exports[_0x233e63(0x139)]=class extends i[_0x233e63(0x140)]{constructor(_0x398b6c=d,_0x353d5e,_0x121cf0){var _0x4e9af0=_0x233e63;super(),this[_0x4e9af0(0x168)]=_0x398b6c,this['_injector']=_0x353d5e,this[_0x4e9af0(0x151)]=_0x121cf0;const {menu:_0xe13895,..._0x33a227}=i[_0x4e9af0(0x16c)]({},d,this[_0x4e9af0(0x168)]);_0xe13895&&this['_configService'][_0x4e9af0(0x13b)](_0x4e9af0(0x156),_0xe13895,{'merge':!0x0}),this[_0x4e9af0(0x151)][_0x4e9af0(0x13b)](v,_0x33a227);}[_0x233e63(0x14c)](){var _0x3f1afa=_0x233e63;[[u]][_0x3f1afa(0x14b)](_0x37c4b8=>this['_injector'][_0x3f1afa(0x16e)](_0x37c4b8));}[_0x233e63(0x15d)](){var _0x524879=_0x233e63;this['_injector'][_0x524879(0x13e)](u);}},C(exports['UniverDocsExchangeClientPlugin'],_0x233e63(0x15b),U),C(exports['UniverDocsExchangeClientPlugin'],_0x233e63(0x13d),i[_0x233e63(0x172)][_0x233e63(0x149)]),exports[_0x233e63(0x139)]=T([i[_0x233e63(0x15e)](l['UniverExchangeClientPlugin']),m(0x1,i[_0x233e63(0x170)](i[_0x233e63(0x175)])),m(0x2,i[_0x233e63(0x166)])],exports[_0x233e63(0x139)]),exports['ExportDOCXOperation']=p,exports[_0x233e63(0x14f)]=g;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x3be76e=_0x3d89;(function(_0x76fae6,_0x201367){var _0x2ab057=_0x3d89,_0x16d9ab=_0x76fae6();while(!![]){try{var _0x1b4d3f=parseInt(_0x2ab057(0x129))/0x1+-parseInt(_0x2ab057(0x122))/0x2*(parseInt(_0x2ab057(0x11e))/0x3)+-parseInt(_0x2ab057(0x101))/0x4*(-parseInt(_0x2ab057(0x10d))/0x5)+parseInt(_0x2ab057(0x121))/0x6+parseInt(_0x2ab057(0x103))/0x7*(parseInt(_0x2ab057(0x114))/0x8)+parseInt(_0x2ab057(0x10e))/0x9*(parseInt(_0x2ab057(0x111))/0xa)+-parseInt(_0x2ab057(0x109))/0xb;if(_0x1b4d3f===_0x201367)break;else _0x16d9ab['push'](_0x16d9ab['shift']());}catch(_0x2e95a9){_0x16d9ab['push'](_0x16d9ab['shift']());}}}(_0x5abc,0xe6ff4));import{IExchangeOperateService as _0x44b26b,UniverExchangeClientPlugin as _0x1b05a5}from'@univerjs-pro/exchange-client';import{CommandType as _0x54bc64,UniverInstanceType as _0x2ca54c,Disposable as _0x17dbf4,ICommandService as _0x1f68d3,DependentOn as _0x556424,Inject as _0x52f3d5,Injector as _0x1897c4,IConfigService as _0x5f55c0,Plugin as _0x52917d,merge as _0x109e32}from'@univerjs/core';import{MenuItemType as _0x217f64,getMenuHiddenObservable as _0x3e89a3,RibbonStartGroup as _0x37b5a1,IMenuManagerService as _0x38e5da}from'@univerjs/ui';const b=_0x3be76e(0x119),m={},d={'id':_0x3be76e(0x107),'type':_0x54bc64[_0x3be76e(0x102)],'handler':async _0x5206c9=>(_0x5206c9[_0x3be76e(0x110)](_0x44b26b)['importDOCXToUnitId'](),!0x0)},_={'id':_0x3be76e(0x104),'type':_0x54bc64[_0x3be76e(0x102)],'handler':async _0x39b915=>(_0x39b915[_0x3be76e(0x110)](_0x44b26b)['exportDOCXByUnitId'](),!0x0)},I=_0x3be76e(0x118);function F(_0xd43aa3){var _0x1ac1c5=_0x3be76e;return{'id':I,'type':_0x217f64[_0x1ac1c5(0x117)],'icon':_0x1ac1c5(0x11f),'tooltip':_0x1ac1c5(0x11b),'hidden$':_0x3e89a3(_0xd43aa3,_0x2ca54c[_0x1ac1c5(0x12b)])};}function X(){var _0x12e42e=_0x3be76e;return{'id':d['id'],'type':_0x217f64[_0x12e42e(0x113)],'title':_0x12e42e(0x124),'icon':_0x12e42e(0x12a)};}function G(){var _0x505cfd=_0x3be76e;return{'id':_['id'],'type':_0x217f64[_0x505cfd(0x113)],'title':_0x505cfd(0x106),'icon':_0x505cfd(0x108)};}const A={[_0x37b5a1[_0x3be76e(0x125)]]:{[I]:{'order':0x4,'menuItemFactory':F,[d['id']]:{'order':0x0,'menuItemFactory':X},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var L=Object[_0x3be76e(0x11d)],R=(_0xb012dd,_0x115487,_0x22252e,_0x51d1a4)=>{var _0x55e1d0=_0x3be76e;for(var _0x1dec47=_0x51d1a4>0x1?void 0x0:_0x51d1a4?L(_0x115487,_0x22252e):_0x115487,_0x59272b=_0xb012dd[_0x55e1d0(0x10c)]-0x1,_0x155f5c;_0x59272b>=0x0;_0x59272b--)(_0x155f5c=_0xb012dd[_0x59272b])&&(_0x1dec47=_0x155f5c(_0x1dec47)||_0x1dec47);return _0x1dec47;},u=(_0xf6e8f7,_0x26c67a)=>(_0x145769,_0x3b9d8b)=>_0x26c67a(_0x145769,_0x3b9d8b,_0xf6e8f7);function _0x5abc(){var _0xf3e3b6=['3674976KWOqln','2euUXQL','type','exchange.upload','FILE','defineProperty','registerCommand','_menuManagerService','969048dqDJaE','FolderSingle','UNIVER_DOC','_initMenus','4kykKeV','OPERATION','931RZFhnD','exchange-client.operation.export-docx','DOC_EXCHANGE_CLIENT_PLUGIN','exchange.download','exchange-client.operation.import-docx','ExportSingle','25133251VvyqYD','disposeWithMe','setConfig','length','5043770OPkASp','7133355SGviau','_configService','get','10PTIkvV','_injector','BUTTON','73576tSxVQi','_config','forEach','SUBITEMS','docs-exchange-client.operation.exchange','docs-exchange-client.config','onReady','exchange.file','_commandService','getOwnPropertyDescriptor','4125267NuYpUe','DirectExportSingle','_initCommands'];_0x5abc=function(){return _0xf3e3b6;};return _0x5abc();}let a=class extends _0x17dbf4{constructor(_0x3bebe3,_0xbcdddb){var _0x53311a=_0x3be76e;super(),this[_0x53311a(0x11c)]=_0x3bebe3,this[_0x53311a(0x128)]=_0xbcdddb,this[_0x53311a(0x120)](),this[_0x53311a(0x12c)]();}['_initCommands'](){var _0x2c2cfc=_0x3be76e;[d,_][_0x2c2cfc(0x116)](_0x32ab56=>{var _0x17267e=_0x2c2cfc;this[_0x17267e(0x10a)](this[_0x17267e(0x11c)][_0x17267e(0x127)](_0x32ab56));});}[_0x3be76e(0x12c)](){this['_menuManagerService']['mergeMenu'](A);}};a=R([u(0x0,_0x1f68d3),u(0x1,_0x38e5da)],a);var j=Object[_0x3be76e(0x126)],w=Object['getOwnPropertyDescriptor'],B=(_0x121751,_0x53befc,_0x2755b6)=>_0x53befc in _0x121751?j(_0x121751,_0x53befc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2755b6}):_0x121751[_0x53befc]=_0x2755b6,H=(_0x491699,_0x358b70,_0x1c380e,_0x28f2fa)=>{for(var _0x3c2af5=_0x28f2fa>0x1?void 0x0:_0x28f2fa?w(_0x358b70,_0x1c380e):_0x358b70,_0x22f8f2=_0x491699['length']-0x1,_0x2698e4;_0x22f8f2>=0x0;_0x22f8f2--)(_0x2698e4=_0x491699[_0x22f8f2])&&(_0x3c2af5=_0x2698e4(_0x3c2af5)||_0x3c2af5);return _0x3c2af5;},g=(_0x27facf,_0x51596e)=>(_0x4fe1eb,_0x392404)=>_0x51596e(_0x4fe1eb,_0x392404,_0x27facf),v=(_0x3e0e9e,_0x32e5b4,_0x1e1b49)=>B(_0x3e0e9e,typeof _0x32e5b4!='symbol'?_0x32e5b4+'':_0x32e5b4,_0x1e1b49);const $=_0x3be76e(0x105);let s=class extends _0x52917d{constructor(_0x1f4716=m,_0x3ae7a9,_0x4264a3){var _0x18d03c=_0x3be76e;super(),this[_0x18d03c(0x115)]=_0x1f4716,this[_0x18d03c(0x112)]=_0x3ae7a9,this['_configService']=_0x4264a3;const {menu:_0x15fc27,..._0x484371}=_0x109e32({},m,this[_0x18d03c(0x115)]);_0x15fc27&&this[_0x18d03c(0x10f)][_0x18d03c(0x10b)]('menu',_0x15fc27,{'merge':!0x0}),this[_0x18d03c(0x10f)][_0x18d03c(0x10b)](b,_0x484371);}['onStarting'](){var _0x284906=_0x3be76e;[[a]][_0x284906(0x116)](_0x1ca57a=>this['_injector']['add'](_0x1ca57a));}[_0x3be76e(0x11a)](){this['_injector']['get'](a);}};function _0x3d89(_0x5a3272,_0x1b2102){var _0x5abcef=_0x5abc();return _0x3d89=function(_0x3d89d7,_0x15d6f7){_0x3d89d7=_0x3d89d7-0x101;var _0x1af04e=_0x5abcef[_0x3d89d7];return _0x1af04e;},_0x3d89(_0x5a3272,_0x1b2102);}v(s,'pluginName',$),v(s,_0x3be76e(0x123),_0x2ca54c['UNIVER_DOC']),s=H([_0x556424(_0x1b05a5),g(0x1,_0x52f3d5(_0x1897c4)),g(0x2,_0x5f55c0)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x20ab(_0x59106b,_0x220bf6){var _0x133018=_0x1330();return _0x20ab=function(_0x20ab6f,_0x9788b){_0x20ab6f=_0x20ab6f-0x190;var _0x486f86=_0x133018[_0x20ab6f];return _0x486f86;},_0x20ab(_0x59106b,_0x220bf6);}function _0x1330(){var _0x92dd9=['exchange.file','DirectExportSingle','exports','amd','DOC_EXCHANGE_CLIENT_PLUGIN','CommandType','UniverInstanceType','9512970KsjyTj','IExchangeOperateService','Plugin','setConfig','DependentOn','_menuManagerService','@univerjs/ui','ImportDOCXOperation','ExportSingle','SUBITEMS','_configService','type','menu','BUTTON','FolderSingle','UniverUi','9IdLiLk','IConfigService','exchange.upload','defineProperty','registerCommand','object','getOwnPropertyDescriptor','4704968ZOABfY','273171umtudB','exchange-client.operation.export-docx','_injector','OPERATION','_initMenus','onReady','Disposable','length','UNIVER_DOC','RibbonStartGroup','merge','Inject','@univerjs-pro/exchange-client','get','UniverExchangeClientPlugin','Module','UniverDocsExchangeClientPlugin','FILE','ICommandService','Injector','1065gIeNHk','exportDOCXByUnitId','306957qXBfJK','_initCommands','508dqvZod','symbol','importDOCXToUnitId','_config','UniverCore','_commandService','forEach','24159DygzMt','getMenuHiddenObservable','@univerjs/core','UniverProDocsExchangeClient','9090mbrOMW','toStringTag','add','MenuItemType','IMenuManagerService','2657690mgkfkM','ExportDOCXOperation'];_0x1330=function(){return _0x92dd9;};return _0x1330();}(function(_0x2b37f6,_0x4f5b4c){var _0x5cb332=_0x20ab,_0x21b32e=_0x2b37f6();while(!![]){try{var _0x10c8c3=parseInt(_0x5cb332(0x1c2))/0x1+parseInt(_0x5cb332(0x1a1))/0x2+-parseInt(_0x5cb332(0x198))/0x3*(-parseInt(_0x5cb332(0x191))/0x4)+parseInt(_0x5cb332(0x1d6))/0x5*(-parseInt(_0x5cb332(0x19c))/0x6)+-parseInt(_0x5cb332(0x1d8))/0x7+parseInt(_0x5cb332(0x1c1))/0x8*(-parseInt(_0x5cb332(0x1ba))/0x9)+-parseInt(_0x5cb332(0x1aa))/0xa;if(_0x10c8c3===_0x4f5b4c)break;else _0x21b32e['push'](_0x21b32e['shift']());}catch(_0x116ca9){_0x21b32e['push'](_0x21b32e['shift']());}}}(_0x1330,0xaf7bf),function(_0x58280f,_0x55cca5){var _0x5beda5=_0x20ab;typeof exports==_0x5beda5(0x1bf)&&typeof module<'u'?_0x55cca5(exports,require('@univerjs-pro/exchange-client'),require(_0x5beda5(0x19a)),require(_0x5beda5(0x1b0))):typeof define=='function'&&define[_0x5beda5(0x1a6)]?define([_0x5beda5(0x1a5),_0x5beda5(0x1ce),_0x5beda5(0x19a),'@univerjs/ui'],_0x55cca5):(_0x58280f=typeof globalThis<'u'?globalThis:_0x58280f||self,_0x55cca5(_0x58280f[_0x5beda5(0x19b)]={},_0x58280f['UniverProExchangeClient'],_0x58280f[_0x5beda5(0x195)],_0x58280f[_0x5beda5(0x1b9)]));}(this,function(_0x1ccf59,_0x54f3c0,_0x42b294,_0x5e2df1){'use strict';var _0x3e9b9c=_0x20ab;const _0x30c131='docs-exchange-client.config',_0x589ba8={},_0x19b4ff={'id':'exchange-client.operation.import-docx','type':_0x42b294[_0x3e9b9c(0x1a8)][_0x3e9b9c(0x1c5)],'handler':async _0x5c9e07=>(_0x5c9e07[_0x3e9b9c(0x1cf)](_0x54f3c0[_0x3e9b9c(0x1ab)])[_0x3e9b9c(0x193)](),!0x0)},_0x4be806={'id':_0x3e9b9c(0x1c3),'type':_0x42b294[_0x3e9b9c(0x1a8)][_0x3e9b9c(0x1c5)],'handler':async _0x231207=>(_0x231207[_0x3e9b9c(0x1cf)](_0x54f3c0['IExchangeOperateService'])[_0x3e9b9c(0x1d7)](),!0x0)},_0x16ffe7='docs-exchange-client.operation.exchange';function _0x1e33db(_0x5d3ec8){var _0x8d2e87=_0x3e9b9c;return{'id':_0x16ffe7,'type':_0x5e2df1[_0x8d2e87(0x19f)][_0x8d2e87(0x1b3)],'icon':_0x8d2e87(0x1a4),'tooltip':_0x8d2e87(0x1a3),'hidden$':_0x5e2df1[_0x8d2e87(0x199)](_0x5d3ec8,_0x42b294[_0x8d2e87(0x1a9)][_0x8d2e87(0x1ca)])};}function _0x2eb369(){var _0x3c01af=_0x3e9b9c;return{'id':_0x19b4ff['id'],'type':_0x5e2df1[_0x3c01af(0x19f)][_0x3c01af(0x1b7)],'title':_0x3c01af(0x1bc),'icon':_0x3c01af(0x1b8)};}function _0x1ac33e(){var _0x26d70a=_0x3e9b9c;return{'id':_0x4be806['id'],'type':_0x5e2df1['MenuItemType'][_0x26d70a(0x1b7)],'title':'exchange.download','icon':_0x26d70a(0x1b2)};}const _0x1dfcf5={[_0x5e2df1[_0x3e9b9c(0x1cb)][_0x3e9b9c(0x1d3)]]:{[_0x16ffe7]:{'order':0x4,'menuItemFactory':_0x1e33db,[_0x19b4ff['id']]:{'order':0x0,'menuItemFactory':_0x2eb369},[_0x4be806['id']]:{'order':0x1,'menuItemFactory':_0x1ac33e}}}};var _0x59d648=Object[_0x3e9b9c(0x1c0)],_0x515404=(_0x1d4891,_0x4ba116,_0x4b52dc,_0x3c4e88)=>{var _0x4738d9=_0x3e9b9c;for(var _0x5c19f2=_0x3c4e88>0x1?void 0x0:_0x3c4e88?_0x59d648(_0x4ba116,_0x4b52dc):_0x4ba116,_0x57bf82=_0x1d4891[_0x4738d9(0x1c9)]-0x1,_0x3c29d4;_0x57bf82>=0x0;_0x57bf82--)(_0x3c29d4=_0x1d4891[_0x57bf82])&&(_0x5c19f2=_0x3c29d4(_0x5c19f2)||_0x5c19f2);return _0x5c19f2;},_0x35a71b=(_0x3e38bd,_0x35a984)=>(_0x26d766,_0x1733b4)=>_0x35a984(_0x26d766,_0x1733b4,_0x3e38bd);let _0x27e47e=class extends _0x42b294[_0x3e9b9c(0x1c8)]{constructor(_0x4bfe78,_0xa497a2){var _0xd4cb5f=_0x3e9b9c;super(),this[_0xd4cb5f(0x196)]=_0x4bfe78,this[_0xd4cb5f(0x1af)]=_0xa497a2,this[_0xd4cb5f(0x190)](),this[_0xd4cb5f(0x1c6)]();}[_0x3e9b9c(0x190)](){var _0xfc5e75=_0x3e9b9c;[_0x19b4ff,_0x4be806][_0xfc5e75(0x197)](_0x4b70fc=>{var _0x35000c=_0xfc5e75;this['disposeWithMe'](this['_commandService'][_0x35000c(0x1be)](_0x4b70fc));});}[_0x3e9b9c(0x1c6)](){this['_menuManagerService']['mergeMenu'](_0x1dfcf5);}};_0x27e47e=_0x515404([_0x35a71b(0x0,_0x42b294[_0x3e9b9c(0x1d4)]),_0x35a71b(0x1,_0x5e2df1[_0x3e9b9c(0x1a0)])],_0x27e47e);var _0x4eb32f=Object[_0x3e9b9c(0x1bd)],_0x58c888=Object[_0x3e9b9c(0x1c0)],_0x49be5e=(_0x27b8e1,_0x544001,_0x6bfa3d)=>_0x544001 in _0x27b8e1?_0x4eb32f(_0x27b8e1,_0x544001,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6bfa3d}):_0x27b8e1[_0x544001]=_0x6bfa3d,_0x58935b=(_0x17bbc6,_0x2894c7,_0xd0ab4c,_0x1ab4ef)=>{var _0x3a5285=_0x3e9b9c;for(var _0x22073e=_0x1ab4ef>0x1?void 0x0:_0x1ab4ef?_0x58c888(_0x2894c7,_0xd0ab4c):_0x2894c7,_0x426d24=_0x17bbc6[_0x3a5285(0x1c9)]-0x1,_0xb37942;_0x426d24>=0x0;_0x426d24--)(_0xb37942=_0x17bbc6[_0x426d24])&&(_0x22073e=_0xb37942(_0x22073e)||_0x22073e);return _0x22073e;},_0x4a19b7=(_0x34d2a2,_0x31b9b4)=>(_0x42552d,_0x32d882)=>_0x31b9b4(_0x42552d,_0x32d882,_0x34d2a2),_0xaf410d=(_0x1029c9,_0x5ba499,_0x5a2131)=>_0x49be5e(_0x1029c9,typeof _0x5ba499!=_0x3e9b9c(0x192)?_0x5ba499+'':_0x5ba499,_0x5a2131);const _0x181488=_0x3e9b9c(0x1a7);_0x1ccf59[_0x3e9b9c(0x1d2)]=class extends _0x42b294[_0x3e9b9c(0x1ac)]{constructor(_0x3177ab=_0x589ba8,_0x3404fb,_0x239a51){var _0x4af545=_0x3e9b9c;super(),this[_0x4af545(0x194)]=_0x3177ab,this['_injector']=_0x3404fb,this[_0x4af545(0x1b4)]=_0x239a51;const {menu:_0x419369,..._0xebe6ee}=_0x42b294[_0x4af545(0x1cc)]({},_0x589ba8,this['_config']);_0x419369&&this[_0x4af545(0x1b4)][_0x4af545(0x1ad)](_0x4af545(0x1b6),_0x419369,{'merge':!0x0}),this[_0x4af545(0x1b4)][_0x4af545(0x1ad)](_0x30c131,_0xebe6ee);}['onStarting'](){var _0x455c1c=_0x3e9b9c;[[_0x27e47e]]['forEach'](_0x430ab0=>this[_0x455c1c(0x1c4)][_0x455c1c(0x19e)](_0x430ab0));}[_0x3e9b9c(0x1c7)](){var _0x35c0cb=_0x3e9b9c;this[_0x35c0cb(0x1c4)][_0x35c0cb(0x1cf)](_0x27e47e);}},_0xaf410d(_0x1ccf59[_0x3e9b9c(0x1d2)],'pluginName',_0x181488),_0xaf410d(_0x1ccf59['UniverDocsExchangeClientPlugin'],_0x3e9b9c(0x1b5),_0x42b294['UniverInstanceType']['UNIVER_DOC']),_0x1ccf59[_0x3e9b9c(0x1d2)]=_0x58935b([_0x42b294[_0x3e9b9c(0x1ae)](_0x54f3c0[_0x3e9b9c(0x1d0)]),_0x4a19b7(0x1,_0x42b294[_0x3e9b9c(0x1cd)](_0x42b294[_0x3e9b9c(0x1d5)])),_0x4a19b7(0x2,_0x42b294[_0x3e9b9c(0x1bb)])],_0x1ccf59['UniverDocsExchangeClientPlugin']),_0x1ccf59[_0x3e9b9c(0x1a2)]=_0x4be806,_0x1ccf59[_0x3e9b9c(0x1b1)]=_0x19b4ff,Object[_0x3e9b9c(0x1bd)](_0x1ccf59,Symbol[_0x3e9b9c(0x19d)],{'value':_0x3e9b9c(0x1d1)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-exchange-client",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4-nightly.202503111607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@univerjs-pro/exchange-client": "0.6.
|
|
46
|
-
"@univerjs/
|
|
47
|
-
"@univerjs/
|
|
45
|
+
"@univerjs-pro/exchange-client": "0.6.4-nightly.202503111607",
|
|
46
|
+
"@univerjs/ui": "0.6.4-nightly.202503111607",
|
|
47
|
+
"@univerjs/core": "0.6.4-nightly.202503111607"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "^5.8.2",
|
|
51
51
|
"vite": "^6.2.0",
|
|
52
52
|
"vitest": "^3.0.7",
|
|
53
|
-
"@univerjs-infra/shared": "0.6.
|
|
53
|
+
"@univerjs-infra/shared": "0.6.4"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"test": "vitest run",
|