@univerjs-pro/docs-exchange-client 0.8.2-nightly.202506251607 → 0.8.2

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x11e12a=_0x2326;(function(_0x2d7907,_0x874cf0){var _0xcd6665=_0x2326,_0x19b3ea=_0x2d7907();while(!![]){try{var _0x509b97=-parseInt(_0xcd6665(0x195))/0x1*(parseInt(_0xcd6665(0x19a))/0x2)+-parseInt(_0xcd6665(0x17c))/0x3+parseInt(_0xcd6665(0x199))/0x4+-parseInt(_0xcd6665(0x183))/0x5*(parseInt(_0xcd6665(0x19f))/0x6)+parseInt(_0xcd6665(0x18d))/0x7*(parseInt(_0xcd6665(0x1a6))/0x8)+-parseInt(_0xcd6665(0x1a9))/0x9*(-parseInt(_0xcd6665(0x1a0))/0xa)+parseInt(_0xcd6665(0x17e))/0xb*(parseInt(_0xcd6665(0x17f))/0xc);if(_0x509b97===_0x874cf0)break;else _0x19b3ea['push'](_0x19b3ea['shift']());}catch(_0x4c51e5){_0x19b3ea['push'](_0x19b3ea['shift']());}}}(_0xdeff,0xc8c7e));Object['defineProperty'](exports,Symbol[_0x11e12a(0x1ba)],{'value':'Module'});const d=require(_0x11e12a(0x1b7)),i=require(_0x11e12a(0x1b2)),a=require(_0x11e12a(0x17a)),I=_0x11e12a(0x19d),l={},p={'id':_0x11e12a(0x18e),'type':i[_0x11e12a(0x17b)][_0x11e12a(0x177)],'handler':async _0x2998c4=>(_0x2998c4[_0x11e12a(0x17d)](d['IExchangeOperateService'])[_0x11e12a(0x176)](),!0x0)},g={'id':'exchange-client.operation.export-docx','type':i[_0x11e12a(0x17b)][_0x11e12a(0x177)],'handler':async _0x3611e4=>(_0x3611e4['get'](d[_0x11e12a(0x198)])['exportDOCXByUnitId'](),!0x0)},h=_0x11e12a(0x18b);function v(_0x562178){var _0x5a174d=_0x11e12a;return{'id':h,'type':a[_0x5a174d(0x1a5)][_0x5a174d(0x19c)],'icon':_0x5a174d(0x191),'tooltip':_0x5a174d(0x182),'hidden$':a[_0x5a174d(0x1a3)](_0x562178,i[_0x5a174d(0x179)][_0x5a174d(0x184)])};}function _0x2326(_0x265486,_0x37d368){var _0xdeff81=_0xdeff();return _0x2326=function(_0x232660,_0x1a796f){_0x232660=_0x232660-0x176;var _0x2bba49=_0xdeff81[_0x232660];return _0x2bba49;},_0x2326(_0x265486,_0x37d368);}function _0xdeff(){var _0x1f002f=['length','1405839FuglxE','UniverExchangeClientPlugin','_configService','IExchangeOperateService','4128852EnhqHO','2vCcsIV','merge','SUBITEMS','docs-exchange-client.config','_commandService','13614MqFIKj','11423000qBsirj','_initCommands','disposeWithMe','getMenuHiddenObservable','onReady','MenuItemType','940200XUpSrn','setConfig','ExportDOCXOperation','9aJlbaE','FolderIcon','type','symbol','DependentOn','menu','Injector','_injector','IConfigService','@univerjs/core','add','_menuManagerService','ImportDOCXOperation','getOwnPropertyDescriptor','@univerjs-pro/exchange-client','_config','exchange.download','toStringTag','importDOCXToUnitId','OPERATION','defineProperty','UniverInstanceType','@univerjs/ui','CommandType','891924zvJkOg','get','15983LDOhhe','5448JttUml','DOC_EXCHANGE_CLIENT_PLUGIN','forEach','exchange.file','1975XydOSW','UNIVER_DOC','RibbonStartGroup','OTHERS','ICommandService','_initMenus','UniverDocsExchangeClientPlugin','onStarting','docs-exchange-client.operation.exchange','ExportIcon','35vXacDV','exchange-client.operation.import-docx','Inject','registerCommand','DirectExportIcon','BUTTON','Disposable'];_0xdeff=function(){return _0x1f002f;};return _0xdeff();}function O(){var _0x15fa53=_0x11e12a;return{'id':p['id'],'type':a[_0x15fa53(0x1a5)][_0x15fa53(0x192)],'title':'exchange.upload','icon':_0x15fa53(0x1aa)};}function E(){var _0x569166=_0x11e12a;return{'id':g['id'],'type':a['MenuItemType'][_0x569166(0x192)],'title':_0x569166(0x1b9),'icon':_0x569166(0x18c)};}const x={[a[_0x11e12a(0x185)][_0x11e12a(0x186)]]:{[h]:{'order':0.3,'menuItemFactory':v,[p['id']]:{'order':0x0,'menuItemFactory':O},[g['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object[_0x11e12a(0x1b6)],f=(_0x2a095b,_0x1f3b90,_0x5a20ef,_0x40113b)=>{var _0x3c0c29=_0x11e12a;for(var _0x9dfe6f=_0x40113b>0x1?void 0x0:_0x40113b?D(_0x1f3b90,_0x5a20ef):_0x1f3b90,_0x4d2ef9=_0x2a095b[_0x3c0c29(0x194)]-0x1,_0x3f5f9f;_0x4d2ef9>=0x0;_0x4d2ef9--)(_0x3f5f9f=_0x2a095b[_0x4d2ef9])&&(_0x9dfe6f=_0x3f5f9f(_0x9dfe6f)||_0x9dfe6f);return _0x9dfe6f;},_=(_0x5ccb54,_0x6b3e76)=>(_0x50fd48,_0x67ce26)=>_0x6b3e76(_0x50fd48,_0x67ce26,_0x5ccb54);let u=class extends i[_0x11e12a(0x193)]{constructor(_0x30b249,_0x3ce8e6){var _0x2d44b3=_0x11e12a;super(),this[_0x2d44b3(0x19e)]=_0x30b249,this[_0x2d44b3(0x1b4)]=_0x3ce8e6,this[_0x2d44b3(0x1a1)](),this['_initMenus']();}['_initCommands'](){var _0x465cbb=_0x11e12a;[p,g][_0x465cbb(0x181)](_0x16062e=>{var _0x494203=_0x465cbb;this[_0x494203(0x1a2)](this[_0x494203(0x19e)][_0x494203(0x190)](_0x16062e));});}[_0x11e12a(0x188)](){this['_menuManagerService']['mergeMenu'](x);}};u=f([_(0x0,i[_0x11e12a(0x187)]),_(0x1,a['IMenuManagerService'])],u);var y=Object[_0x11e12a(0x178)],S=Object[_0x11e12a(0x1b6)],P=(_0x2ae4f3,_0x391b87,_0x336bbf)=>_0x391b87 in _0x2ae4f3?y(_0x2ae4f3,_0x391b87,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x336bbf}):_0x2ae4f3[_0x391b87]=_0x336bbf,T=(_0x520e2b,_0x3b650a,_0x358e2f,_0x242ec0)=>{var _0x3b65b4=_0x11e12a;for(var _0x311414=_0x242ec0>0x1?void 0x0:_0x242ec0?S(_0x3b650a,_0x358e2f):_0x3b650a,_0x11ed40=_0x520e2b[_0x3b65b4(0x194)]-0x1,_0x18e45e;_0x11ed40>=0x0;_0x11ed40--)(_0x18e45e=_0x520e2b[_0x11ed40])&&(_0x311414=_0x18e45e(_0x311414)||_0x311414);return _0x311414;},m=(_0x179413,_0x509002)=>(_0x5e49ea,_0x4c76ca)=>_0x509002(_0x5e49ea,_0x4c76ca,_0x179413),C=(_0x4aa704,_0x5a5db7,_0x32796b)=>P(_0x4aa704,typeof _0x5a5db7!=_0x11e12a(0x1ac)?_0x5a5db7+'':_0x5a5db7,_0x32796b);const U=_0x11e12a(0x180);exports['UniverDocsExchangeClientPlugin']=class extends i['Plugin']{constructor(_0x130dd8=l,_0x5c5d3c,_0x5e3d62){var _0xb7a227=_0x11e12a;super(),this['_config']=_0x130dd8,this[_0xb7a227(0x1b0)]=_0x5c5d3c,this[_0xb7a227(0x197)]=_0x5e3d62;const {menu:_0x4eefe0,..._0x1a6f9c}=i[_0xb7a227(0x19b)]({},l,this[_0xb7a227(0x1b8)]);_0x4eefe0&&this[_0xb7a227(0x197)]['setConfig'](_0xb7a227(0x1ae),_0x4eefe0,{'merge':!0x0}),this[_0xb7a227(0x197)][_0xb7a227(0x1a7)](I,_0x1a6f9c);}[_0x11e12a(0x18a)](){var _0x1aba47=_0x11e12a;[[u]][_0x1aba47(0x181)](_0x996f7f=>this[_0x1aba47(0x1b0)][_0x1aba47(0x1b3)](_0x996f7f));}[_0x11e12a(0x1a4)](){var _0x264011=_0x11e12a;this[_0x264011(0x1b0)][_0x264011(0x17d)](u);}},C(exports['UniverDocsExchangeClientPlugin'],'pluginName',U),C(exports[_0x11e12a(0x189)],_0x11e12a(0x1ab),i['UniverInstanceType'][_0x11e12a(0x184)]),exports['UniverDocsExchangeClientPlugin']=T([i[_0x11e12a(0x1ad)](d[_0x11e12a(0x196)]),m(0x1,i[_0x11e12a(0x18f)](i[_0x11e12a(0x1af)])),m(0x2,i[_0x11e12a(0x1b1)])],exports[_0x11e12a(0x189)]),exports[_0x11e12a(0x1a8)]=g,exports[_0x11e12a(0x1b5)]=p;
1
+ 'use strict';var _0x5cdf24=_0x11d7;function _0xfaa1(){var _0xe7f76b=['Module','439635wjsOAX','MenuItemType','disposeWithMe','exchange-client.operation.export-docx','IExchangeOperateService','CommandType','_initMenus','ICommandService','exchange.upload','@univerjs-pro/exchange-client','toStringTag','setConfig','exchange.file','ExportDOCXOperation','menu','pluginName','UniverInstanceType','BUTTON','importDOCXToUnitId','_config','@univerjs/core','Inject','_commandService','symbol','exchange-client.operation.import-docx','3881590reTXwV','_injector','UniverExchangeClientPlugin','_configService','FolderIcon','3730792dcdELG','Plugin','add','_menuManagerService','IMenuManagerService','DirectExportIcon','SUBITEMS','forEach','4GzRFCu','1005501PijGpB','ExportIcon','1474872XmvblC','defineProperty','docs-exchange-client.config','DependentOn','DOC_EXCHANGE_CLIENT_PLUGIN','UniverDocsExchangeClientPlugin','391784QkfwIg','registerCommand','merge','docs-exchange-client.operation.exchange','RibbonStartGroup','20187352tBTMUN','Injector','exchange.download','OPERATION','UNIVER_DOC','ImportDOCXOperation','length','IConfigService','getMenuHiddenObservable'];_0xfaa1=function(){return _0xe7f76b;};return _0xfaa1();}(function(_0x5ea2cc,_0x5c08f1){var _0x111d03=_0x11d7,_0x1fc709=_0x5ea2cc();while(!![]){try{var _0x249bd9=parseInt(_0x111d03(0xd8))/0x1*(-parseInt(_0x111d03(0xcf))/0x2)+-parseInt(_0x111d03(0xd0))/0x3+-parseInt(_0x111d03(0xc7))/0x4+parseInt(_0x111d03(0xc2))/0x5+-parseInt(_0x111d03(0xd2))/0x6+-parseInt(_0x111d03(0xe7))/0x7+parseInt(_0x111d03(0xdd))/0x8;if(_0x249bd9===_0x5c08f1)break;else _0x1fc709['push'](_0x1fc709['shift']());}catch(_0xb2be34){_0x1fc709['push'](_0x1fc709['shift']());}}}(_0xfaa1,0xe56a7));Object[_0x5cdf24(0xd3)](exports,Symbol[_0x5cdf24(0xf1)],{'value':_0x5cdf24(0xe6)});const d=require(_0x5cdf24(0xf0)),i=require(_0x5cdf24(0xfb)),a=require('@univerjs/ui'),I=_0x5cdf24(0xd4),l={},p={'id':_0x5cdf24(0xc1),'type':i[_0x5cdf24(0xec)][_0x5cdf24(0xe0)],'handler':async _0x65efa8=>(_0x65efa8['get'](d[_0x5cdf24(0xeb)])[_0x5cdf24(0xf9)](),!0x0)},g={'id':_0x5cdf24(0xea),'type':i[_0x5cdf24(0xec)][_0x5cdf24(0xe0)],'handler':async _0x2ed600=>(_0x2ed600['get'](d[_0x5cdf24(0xeb)])['exportDOCXByUnitId'](),!0x0)},h=_0x5cdf24(0xdb);function v(_0x565550){var _0x3e429b=_0x5cdf24;return{'id':h,'type':a['MenuItemType'][_0x3e429b(0xcd)],'icon':_0x3e429b(0xcc),'tooltip':_0x3e429b(0xf3),'hidden$':a[_0x3e429b(0xe5)](_0x565550,i['UniverInstanceType'][_0x3e429b(0xe1)])};}function O(){var _0x3e57ad=_0x5cdf24;return{'id':p['id'],'type':a['MenuItemType'][_0x3e57ad(0xf8)],'title':_0x3e57ad(0xef),'icon':_0x3e57ad(0xc6)};}function _0x11d7(_0x6f7955,_0x5db73d){var _0xfaa1ea=_0xfaa1();return _0x11d7=function(_0x11d75b,_0x52c78f){_0x11d75b=_0x11d75b-0xbf;var _0x4bc6c6=_0xfaa1ea[_0x11d75b];return _0x4bc6c6;},_0x11d7(_0x6f7955,_0x5db73d);}function E(){var _0x3d3d61=_0x5cdf24;return{'id':g['id'],'type':a[_0x3d3d61(0xe8)][_0x3d3d61(0xf8)],'title':_0x3d3d61(0xdf),'icon':_0x3d3d61(0xd1)};}const x={[a[_0x5cdf24(0xdc)]['OTHERS']]:{[h]:{'order':0.3,'menuItemFactory':v,[p['id']]:{'order':0x0,'menuItemFactory':O},[g['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object['getOwnPropertyDescriptor'],f=(_0x2c869f,_0x5ca6eb,_0x4d6f82,_0x598599)=>{var _0x10c10d=_0x5cdf24;for(var _0x32dcec=_0x598599>0x1?void 0x0:_0x598599?D(_0x5ca6eb,_0x4d6f82):_0x5ca6eb,_0x59fb82=_0x2c869f[_0x10c10d(0xe3)]-0x1,_0x10c035;_0x59fb82>=0x0;_0x59fb82--)(_0x10c035=_0x2c869f[_0x59fb82])&&(_0x32dcec=_0x10c035(_0x32dcec)||_0x32dcec);return _0x32dcec;},_=(_0x4bd3a7,_0x55450a)=>(_0x92078,_0x443510)=>_0x55450a(_0x92078,_0x443510,_0x4bd3a7);let u=class extends i['Disposable']{constructor(_0x1d20ca,_0x54b90f){var _0x2fbf27=_0x5cdf24;super(),this[_0x2fbf27(0xbf)]=_0x1d20ca,this['_menuManagerService']=_0x54b90f,this['_initCommands'](),this[_0x2fbf27(0xed)]();}['_initCommands'](){var _0xa54913=_0x5cdf24;[p,g][_0xa54913(0xce)](_0x14b97f=>{var _0x4ef6c8=_0xa54913;this[_0x4ef6c8(0xe9)](this[_0x4ef6c8(0xbf)][_0x4ef6c8(0xd9)](_0x14b97f));});}[_0x5cdf24(0xed)](){var _0x4ebd83=_0x5cdf24;this[_0x4ebd83(0xca)]['mergeMenu'](x);}};u=f([_(0x0,i[_0x5cdf24(0xee)]),_(0x1,a[_0x5cdf24(0xcb)])],u);var y=Object[_0x5cdf24(0xd3)],S=Object['getOwnPropertyDescriptor'],P=(_0x58c851,_0x40af9d,_0x2e1a39)=>_0x40af9d in _0x58c851?y(_0x58c851,_0x40af9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e1a39}):_0x58c851[_0x40af9d]=_0x2e1a39,T=(_0x5191cf,_0x3c67d,_0x2d6239,_0x5be2aa)=>{var _0x1edd3c=_0x5cdf24;for(var _0x24b2c1=_0x5be2aa>0x1?void 0x0:_0x5be2aa?S(_0x3c67d,_0x2d6239):_0x3c67d,_0x5512e9=_0x5191cf[_0x1edd3c(0xe3)]-0x1,_0x40a6b9;_0x5512e9>=0x0;_0x5512e9--)(_0x40a6b9=_0x5191cf[_0x5512e9])&&(_0x24b2c1=_0x40a6b9(_0x24b2c1)||_0x24b2c1);return _0x24b2c1;},m=(_0x5265bb,_0x4c3225)=>(_0x6352ab,_0x278ded)=>_0x4c3225(_0x6352ab,_0x278ded,_0x5265bb),C=(_0x68d9fa,_0x1c862b,_0x3416b1)=>P(_0x68d9fa,typeof _0x1c862b!=_0x5cdf24(0xc0)?_0x1c862b+'':_0x1c862b,_0x3416b1);const U=_0x5cdf24(0xd6);exports[_0x5cdf24(0xd7)]=class extends i[_0x5cdf24(0xc8)]{constructor(_0x3b9090=l,_0x1e0558,_0x2de539){var _0x1d4c3e=_0x5cdf24;super(),this[_0x1d4c3e(0xfa)]=_0x3b9090,this[_0x1d4c3e(0xc3)]=_0x1e0558,this[_0x1d4c3e(0xc5)]=_0x2de539;const {menu:_0x2719a9,..._0x557be7}=i[_0x1d4c3e(0xda)]({},l,this[_0x1d4c3e(0xfa)]);_0x2719a9&&this[_0x1d4c3e(0xc5)][_0x1d4c3e(0xf2)](_0x1d4c3e(0xf5),_0x2719a9,{'merge':!0x0}),this[_0x1d4c3e(0xc5)][_0x1d4c3e(0xf2)](I,_0x557be7);}['onStarting'](){var _0x321d9a=_0x5cdf24;[[u]][_0x321d9a(0xce)](_0x30499b=>this[_0x321d9a(0xc3)][_0x321d9a(0xc9)](_0x30499b));}['onReady'](){this['_injector']['get'](u);}},C(exports[_0x5cdf24(0xd7)],_0x5cdf24(0xf6),U),C(exports[_0x5cdf24(0xd7)],'type',i[_0x5cdf24(0xf7)][_0x5cdf24(0xe1)]),exports[_0x5cdf24(0xd7)]=T([i[_0x5cdf24(0xd5)](d[_0x5cdf24(0xc4)]),m(0x1,i[_0x5cdf24(0xfc)](i[_0x5cdf24(0xde)])),m(0x2,i[_0x5cdf24(0xe4)])],exports[_0x5cdf24(0xd7)]),exports[_0x5cdf24(0xf4)]=g,exports[_0x5cdf24(0xe2)]=p;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3d3266=_0x3dc5;(function(_0x58a50d,_0x3849c4){var _0x484c0e=_0x3dc5,_0x408868=_0x58a50d();while(!![]){try{var _0x5d0f7a=parseInt(_0x484c0e(0x7f))/0x1*(parseInt(_0x484c0e(0x7e))/0x2)+-parseInt(_0x484c0e(0x8c))/0x3*(parseInt(_0x484c0e(0x85))/0x4)+parseInt(_0x484c0e(0x8b))/0x5*(-parseInt(_0x484c0e(0x8f))/0x6)+-parseInt(_0x484c0e(0x92))/0x7*(-parseInt(_0x484c0e(0x76))/0x8)+-parseInt(_0x484c0e(0x7b))/0x9*(-parseInt(_0x484c0e(0x9b))/0xa)+parseInt(_0x484c0e(0x95))/0xb*(-parseInt(_0x484c0e(0x98))/0xc)+parseInt(_0x484c0e(0x81))/0xd;if(_0x5d0f7a===_0x3849c4)break;else _0x408868['push'](_0x408868['shift']());}catch(_0x59175d){_0x408868['push'](_0x408868['shift']());}}}(_0x482b,0xe2306));import{IExchangeOperateService as _0x225593,UniverExchangeClientPlugin as _0x2b0366}from'@univerjs-pro/exchange-client';function _0x3dc5(_0x21f90e,_0x316d30){var _0x482b98=_0x482b();return _0x3dc5=function(_0x3dc5c8,_0xe26765){_0x3dc5c8=_0x3dc5c8-0x76;var _0x336d74=_0x482b98[_0x3dc5c8];return _0x336d74;},_0x3dc5(_0x21f90e,_0x316d30);}import{CommandType as _0x5730ad,UniverInstanceType as _0x2181cb,Disposable as _0x526a9b,ICommandService as _0x56a7db,DependentOn as _0x4ac8a3,Inject as _0x4d6088,Injector as _0x45d930,IConfigService as _0x1ee209,Plugin as _0x2513df,merge as _0x39a615}from'@univerjs/core';import{MenuItemType as _0x5580b8,getMenuHiddenObservable as _0x51a1f9,RibbonStartGroup as _0x5c8310,IMenuManagerService as _0x5e3acb}from'@univerjs/ui';const b='docs-exchange-client.config',m={},d={'id':_0x3d3266(0x87),'type':_0x5730ad[_0x3d3266(0x8e)],'handler':async _0x2ce132=>(_0x2ce132[_0x3d3266(0x83)](_0x225593)['importDOCXToUnitId'](),!0x0)},_={'id':_0x3d3266(0x8d),'type':_0x5730ad[_0x3d3266(0x8e)],'handler':async _0x534176=>(_0x534176[_0x3d3266(0x83)](_0x225593)[_0x3d3266(0x94)](),!0x0)},C=_0x3d3266(0x96);function X(_0x421a2a){var _0x111537=_0x3d3266;return{'id':C,'type':_0x5580b8['SUBITEMS'],'icon':'DirectExportIcon','tooltip':_0x111537(0x99),'hidden$':_0x51a1f9(_0x421a2a,_0x2181cb['UNIVER_DOC'])};}function F(){var _0x5bf4e9=_0x3d3266;return{'id':d['id'],'type':_0x5580b8[_0x5bf4e9(0x7c)],'title':_0x5bf4e9(0x9a),'icon':_0x5bf4e9(0x91)};}function G(){var _0x1b6433=_0x3d3266;return{'id':_['id'],'type':_0x5580b8[_0x1b6433(0x7c)],'title':'exchange.download','icon':_0x1b6433(0x80)};}const R={[_0x5c8310[_0x3d3266(0x7d)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};function _0x482b(){var _0x2f6824=['11YoxhqU','docs-exchange-client.operation.exchange','_configService','21064188bjgCEv','exchange.file','exchange.upload','870CjXaIL','mergeMenu','length','16QbxxDV','defineProperty','_menuManagerService','menu','getOwnPropertyDescriptor','79461fsdJsP','BUTTON','OTHERS','95962lZHnNs','2QjNcOB','ExportIcon','55339401nDhXUL','forEach','get','_initMenus','1172YItFZd','registerCommand','exchange-client.operation.import-docx','_injector','_initCommands','DOC_EXCHANGE_CLIENT_PLUGIN','490fhalBc','16641nhnJaB','exchange-client.operation.export-docx','OPERATION','61482DSHDhm','onReady','FolderIcon','666169KeGJqb','onStarting','exportDOCXByUnitId'];_0x482b=function(){return _0x2f6824;};return _0x482b();}var A=Object[_0x3d3266(0x7a)],j=(_0x22fe7d,_0x3c3166,_0x3c201d,_0x457b5d)=>{var _0x138c0e=_0x3d3266;for(var _0x3491d2=_0x457b5d>0x1?void 0x0:_0x457b5d?A(_0x3c3166,_0x3c201d):_0x3c3166,_0x240a9e=_0x22fe7d[_0x138c0e(0x9d)]-0x1,_0x81757a;_0x240a9e>=0x0;_0x240a9e--)(_0x81757a=_0x22fe7d[_0x240a9e])&&(_0x3491d2=_0x81757a(_0x3491d2)||_0x3491d2);return _0x3491d2;},u=(_0x48367f,_0xeecdae)=>(_0x1b6b67,_0x251511)=>_0xeecdae(_0x1b6b67,_0x251511,_0x48367f);let a=class extends _0x526a9b{constructor(_0xd2888e,_0x3aa029){var _0xf23761=_0x3d3266;super(),this['_commandService']=_0xd2888e,this[_0xf23761(0x78)]=_0x3aa029,this[_0xf23761(0x89)](),this[_0xf23761(0x84)]();}[_0x3d3266(0x89)](){var _0x16ee2d=_0x3d3266;[d,_][_0x16ee2d(0x82)](_0x358b18=>{var _0x258619=_0x16ee2d;this['disposeWithMe'](this['_commandService'][_0x258619(0x86)](_0x358b18));});}['_initMenus'](){var _0xa9777e=_0x3d3266;this[_0xa9777e(0x78)][_0xa9777e(0x9c)](R);}};a=j([u(0x0,_0x56a7db),u(0x1,_0x5e3acb)],a);var w=Object[_0x3d3266(0x77)],H=Object[_0x3d3266(0x7a)],L=(_0x1f5252,_0x5e98f5,_0x598eee)=>_0x5e98f5 in _0x1f5252?w(_0x1f5252,_0x5e98f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x598eee}):_0x1f5252[_0x5e98f5]=_0x598eee,B=(_0x63fdf1,_0x46193f,_0x1a5ed1,_0x546f30)=>{var _0x282556=_0x3d3266;for(var _0x32a8a8=_0x546f30>0x1?void 0x0:_0x546f30?H(_0x46193f,_0x1a5ed1):_0x46193f,_0x4e1bc4=_0x63fdf1[_0x282556(0x9d)]-0x1,_0x24f0bc;_0x4e1bc4>=0x0;_0x4e1bc4--)(_0x24f0bc=_0x63fdf1[_0x4e1bc4])&&(_0x32a8a8=_0x24f0bc(_0x32a8a8)||_0x32a8a8);return _0x32a8a8;},g=(_0x1fb567,_0x2c5936)=>(_0x14b949,_0x390775)=>_0x2c5936(_0x14b949,_0x390775,_0x1fb567),O=(_0x126d2c,_0x4e273b,_0x5cfabf)=>L(_0x126d2c,typeof _0x4e273b!='symbol'?_0x4e273b+'':_0x4e273b,_0x5cfabf);const $=_0x3d3266(0x8a);let s=class extends _0x2513df{constructor(_0x490c74=m,_0x1f04c1,_0x30e9f1){var _0x22c3c9=_0x3d3266;super(),this['_config']=_0x490c74,this['_injector']=_0x1f04c1,this[_0x22c3c9(0x97)]=_0x30e9f1;const {menu:_0x36dcad,..._0x31fed3}=_0x39a615({},m,this['_config']);_0x36dcad&&this[_0x22c3c9(0x97)]['setConfig'](_0x22c3c9(0x79),_0x36dcad,{'merge':!0x0}),this['_configService']['setConfig'](b,_0x31fed3);}[_0x3d3266(0x93)](){var _0x54dd67=_0x3d3266;[[a]][_0x54dd67(0x82)](_0x5565=>this[_0x54dd67(0x88)]['add'](_0x5565));}[_0x3d3266(0x90)](){var _0x10413a=_0x3d3266;this[_0x10413a(0x88)][_0x10413a(0x83)](a);}};O(s,'pluginName',$),O(s,'type',_0x2181cb['UNIVER_DOC']),s=B([_0x4ac8a3(_0x2b0366),g(0x1,_0x4d6088(_0x45d930)),g(0x2,_0x1ee209)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
1
+ var _0x4104a5=_0x199b;(function(_0x294ba8,_0x5cd8b2){var _0x582025=_0x199b,_0x3ff5cf=_0x294ba8();while(!![]){try{var _0x179baf=-parseInt(_0x582025(0x18c))/0x1+parseInt(_0x582025(0x189))/0x2*(-parseInt(_0x582025(0x180))/0x3)+parseInt(_0x582025(0x1a7))/0x4+parseInt(_0x582025(0x181))/0x5+parseInt(_0x582025(0x190))/0x6+-parseInt(_0x582025(0x19a))/0x7+-parseInt(_0x582025(0x194))/0x8;if(_0x179baf===_0x5cd8b2)break;else _0x3ff5cf['push'](_0x3ff5cf['shift']());}catch(_0x50b3c8){_0x3ff5cf['push'](_0x3ff5cf['shift']());}}}(_0x5d92,0xdf154));import{IExchangeOperateService as _0x2484ab,UniverExchangeClientPlugin as _0x2dc97c}from'@univerjs-pro/exchange-client';import{CommandType as _0x506218,UniverInstanceType as _0x57dd8e,Disposable as _0x4511c6,ICommandService as _0x45cec5,DependentOn as _0xe5e9d4,Inject as _0x3673c9,Injector as _0x545d9a,IConfigService as _0x5a1577,Plugin as _0x4aab13,merge as _0x283d20}from'@univerjs/core';import{MenuItemType as _0x2ffac1,getMenuHiddenObservable as _0x28b8f5,RibbonStartGroup as _0x304ec9,IMenuManagerService as _0xc3f709}from'@univerjs/ui';const b=_0x4104a5(0x17e),m={},d={'id':_0x4104a5(0x1a4),'type':_0x506218[_0x4104a5(0x18d)],'handler':async _0x3af737=>(_0x3af737[_0x4104a5(0x184)](_0x2484ab)[_0x4104a5(0x17d)](),!0x0)},_={'id':'exchange-client.operation.export-docx','type':_0x506218[_0x4104a5(0x18d)],'handler':async _0x1fc657=>(_0x1fc657[_0x4104a5(0x184)](_0x2484ab)[_0x4104a5(0x18e)](),!0x0)},C=_0x4104a5(0x19e);function _0x5d92(){var _0x5408da=['DirectExportIcon','ExportIcon','4217017wvnuNO','pluginName','disposeWithMe','type','docs-exchange-client.operation.exchange','defineProperty','FolderIcon','OTHERS','setConfig','length','exchange-client.operation.import-docx','BUTTON','UNIVER_DOC','4256916vaeBVm','exchange.file','_injector','importDOCXToUnitId','docs-exchange-client.config','_commandService','63sSiFTn','5719980pBwFqz','getOwnPropertyDescriptor','add','get','mergeMenu','DOC_EXCHANGE_CLIENT_PLUGIN','exchange.upload','onStarting','27410QSxzHd','SUBITEMS','exchange.download','559940TucvjG','OPERATION','exportDOCXByUnitId','_configService','10080228CyneDF','_initCommands','_config','_initMenus','12194712aGkePv','registerCommand','_menuManagerService','menu'];_0x5d92=function(){return _0x5408da;};return _0x5d92();}function _0x199b(_0x518f89,_0x2d3ddf){var _0x5d924d=_0x5d92();return _0x199b=function(_0x199b48,_0x53991e){_0x199b48=_0x199b48-0x17d;var _0xe31b59=_0x5d924d[_0x199b48];return _0xe31b59;},_0x199b(_0x518f89,_0x2d3ddf);}function X(_0x31c0e8){var _0x258b91=_0x4104a5;return{'id':C,'type':_0x2ffac1[_0x258b91(0x18a)],'icon':_0x258b91(0x198),'tooltip':_0x258b91(0x1a8),'hidden$':_0x28b8f5(_0x31c0e8,_0x57dd8e['UNIVER_DOC'])};}function F(){var _0xe5c34b=_0x4104a5;return{'id':d['id'],'type':_0x2ffac1[_0xe5c34b(0x1a5)],'title':_0xe5c34b(0x187),'icon':_0xe5c34b(0x1a0)};}function G(){var _0x52335b=_0x4104a5;return{'id':_['id'],'type':_0x2ffac1['BUTTON'],'title':_0x52335b(0x18b),'icon':_0x52335b(0x199)};}const R={[_0x304ec9[_0x4104a5(0x1a1)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object[_0x4104a5(0x182)],j=(_0x275ac3,_0x5ed567,_0x24d628,_0x2c245b)=>{var _0x348131=_0x4104a5;for(var _0x616f94=_0x2c245b>0x1?void 0x0:_0x2c245b?A(_0x5ed567,_0x24d628):_0x5ed567,_0xe947ed=_0x275ac3[_0x348131(0x1a3)]-0x1,_0x8d4d47;_0xe947ed>=0x0;_0xe947ed--)(_0x8d4d47=_0x275ac3[_0xe947ed])&&(_0x616f94=_0x8d4d47(_0x616f94)||_0x616f94);return _0x616f94;},u=(_0x2fa0e5,_0x556161)=>(_0x4960b5,_0x3cea2c)=>_0x556161(_0x4960b5,_0x3cea2c,_0x2fa0e5);let a=class extends _0x4511c6{constructor(_0x24668f,_0xe626f5){var _0x62d03e=_0x4104a5;super(),this[_0x62d03e(0x17f)]=_0x24668f,this[_0x62d03e(0x196)]=_0xe626f5,this[_0x62d03e(0x191)](),this[_0x62d03e(0x193)]();}['_initCommands'](){[d,_]['forEach'](_0x2a693e=>{var _0x355bfe=_0x199b;this[_0x355bfe(0x19c)](this['_commandService'][_0x355bfe(0x195)](_0x2a693e));});}[_0x4104a5(0x193)](){var _0x14f1d2=_0x4104a5;this[_0x14f1d2(0x196)][_0x14f1d2(0x185)](R);}};a=j([u(0x0,_0x45cec5),u(0x1,_0xc3f709)],a);var w=Object[_0x4104a5(0x19f)],H=Object[_0x4104a5(0x182)],L=(_0x5da98e,_0x22350c,_0x526a9e)=>_0x22350c in _0x5da98e?w(_0x5da98e,_0x22350c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526a9e}):_0x5da98e[_0x22350c]=_0x526a9e,B=(_0x502635,_0x4e2a3f,_0x383281,_0x5016ad)=>{for(var _0x22989c=_0x5016ad>0x1?void 0x0:_0x5016ad?H(_0x4e2a3f,_0x383281):_0x4e2a3f,_0x1d3c97=_0x502635['length']-0x1,_0x2ea9af;_0x1d3c97>=0x0;_0x1d3c97--)(_0x2ea9af=_0x502635[_0x1d3c97])&&(_0x22989c=_0x2ea9af(_0x22989c)||_0x22989c);return _0x22989c;},g=(_0x161afc,_0x1c365e)=>(_0x1dba4f,_0xf3b9f4)=>_0x1c365e(_0x1dba4f,_0xf3b9f4,_0x161afc),O=(_0xa43311,_0x52d7ec,_0x46b7fb)=>L(_0xa43311,typeof _0x52d7ec!='symbol'?_0x52d7ec+'':_0x52d7ec,_0x46b7fb);const $=_0x4104a5(0x186);let s=class extends _0x4aab13{constructor(_0x51cb1a=m,_0xc89706,_0x2c2e60){var _0x87f732=_0x4104a5;super(),this[_0x87f732(0x192)]=_0x51cb1a,this[_0x87f732(0x1a9)]=_0xc89706,this[_0x87f732(0x18f)]=_0x2c2e60;const {menu:_0x309606,..._0x3dc2c1}=_0x283d20({},m,this['_config']);_0x309606&&this[_0x87f732(0x18f)][_0x87f732(0x1a2)](_0x87f732(0x197),_0x309606,{'merge':!0x0}),this[_0x87f732(0x18f)][_0x87f732(0x1a2)](b,_0x3dc2c1);}[_0x4104a5(0x188)](){var _0x43c5c7=_0x4104a5;[[a]]['forEach'](_0x103bc4=>this[_0x43c5c7(0x1a9)][_0x43c5c7(0x183)](_0x103bc4));}['onReady'](){var _0xa38a71=_0x4104a5;this[_0xa38a71(0x1a9)][_0xa38a71(0x184)](a);}};O(s,_0x4104a5(0x19b),$),O(s,_0x4104a5(0x19d),_0x57dd8e[_0x4104a5(0x1a6)]),s=B([_0xe5e9d4(_0x2dc97c),g(0x1,_0x3673c9(_0x545d9a)),g(0x2,_0x5a1577)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3d3266=_0x3dc5;(function(_0x58a50d,_0x3849c4){var _0x484c0e=_0x3dc5,_0x408868=_0x58a50d();while(!![]){try{var _0x5d0f7a=parseInt(_0x484c0e(0x7f))/0x1*(parseInt(_0x484c0e(0x7e))/0x2)+-parseInt(_0x484c0e(0x8c))/0x3*(parseInt(_0x484c0e(0x85))/0x4)+parseInt(_0x484c0e(0x8b))/0x5*(-parseInt(_0x484c0e(0x8f))/0x6)+-parseInt(_0x484c0e(0x92))/0x7*(-parseInt(_0x484c0e(0x76))/0x8)+-parseInt(_0x484c0e(0x7b))/0x9*(-parseInt(_0x484c0e(0x9b))/0xa)+parseInt(_0x484c0e(0x95))/0xb*(-parseInt(_0x484c0e(0x98))/0xc)+parseInt(_0x484c0e(0x81))/0xd;if(_0x5d0f7a===_0x3849c4)break;else _0x408868['push'](_0x408868['shift']());}catch(_0x59175d){_0x408868['push'](_0x408868['shift']());}}}(_0x482b,0xe2306));import{IExchangeOperateService as _0x225593,UniverExchangeClientPlugin as _0x2b0366}from'@univerjs-pro/exchange-client';function _0x3dc5(_0x21f90e,_0x316d30){var _0x482b98=_0x482b();return _0x3dc5=function(_0x3dc5c8,_0xe26765){_0x3dc5c8=_0x3dc5c8-0x76;var _0x336d74=_0x482b98[_0x3dc5c8];return _0x336d74;},_0x3dc5(_0x21f90e,_0x316d30);}import{CommandType as _0x5730ad,UniverInstanceType as _0x2181cb,Disposable as _0x526a9b,ICommandService as _0x56a7db,DependentOn as _0x4ac8a3,Inject as _0x4d6088,Injector as _0x45d930,IConfigService as _0x1ee209,Plugin as _0x2513df,merge as _0x39a615}from'@univerjs/core';import{MenuItemType as _0x5580b8,getMenuHiddenObservable as _0x51a1f9,RibbonStartGroup as _0x5c8310,IMenuManagerService as _0x5e3acb}from'@univerjs/ui';const b='docs-exchange-client.config',m={},d={'id':_0x3d3266(0x87),'type':_0x5730ad[_0x3d3266(0x8e)],'handler':async _0x2ce132=>(_0x2ce132[_0x3d3266(0x83)](_0x225593)['importDOCXToUnitId'](),!0x0)},_={'id':_0x3d3266(0x8d),'type':_0x5730ad[_0x3d3266(0x8e)],'handler':async _0x534176=>(_0x534176[_0x3d3266(0x83)](_0x225593)[_0x3d3266(0x94)](),!0x0)},C=_0x3d3266(0x96);function X(_0x421a2a){var _0x111537=_0x3d3266;return{'id':C,'type':_0x5580b8['SUBITEMS'],'icon':'DirectExportIcon','tooltip':_0x111537(0x99),'hidden$':_0x51a1f9(_0x421a2a,_0x2181cb['UNIVER_DOC'])};}function F(){var _0x5bf4e9=_0x3d3266;return{'id':d['id'],'type':_0x5580b8[_0x5bf4e9(0x7c)],'title':_0x5bf4e9(0x9a),'icon':_0x5bf4e9(0x91)};}function G(){var _0x1b6433=_0x3d3266;return{'id':_['id'],'type':_0x5580b8[_0x1b6433(0x7c)],'title':'exchange.download','icon':_0x1b6433(0x80)};}const R={[_0x5c8310[_0x3d3266(0x7d)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};function _0x482b(){var _0x2f6824=['11YoxhqU','docs-exchange-client.operation.exchange','_configService','21064188bjgCEv','exchange.file','exchange.upload','870CjXaIL','mergeMenu','length','16QbxxDV','defineProperty','_menuManagerService','menu','getOwnPropertyDescriptor','79461fsdJsP','BUTTON','OTHERS','95962lZHnNs','2QjNcOB','ExportIcon','55339401nDhXUL','forEach','get','_initMenus','1172YItFZd','registerCommand','exchange-client.operation.import-docx','_injector','_initCommands','DOC_EXCHANGE_CLIENT_PLUGIN','490fhalBc','16641nhnJaB','exchange-client.operation.export-docx','OPERATION','61482DSHDhm','onReady','FolderIcon','666169KeGJqb','onStarting','exportDOCXByUnitId'];_0x482b=function(){return _0x2f6824;};return _0x482b();}var A=Object[_0x3d3266(0x7a)],j=(_0x22fe7d,_0x3c3166,_0x3c201d,_0x457b5d)=>{var _0x138c0e=_0x3d3266;for(var _0x3491d2=_0x457b5d>0x1?void 0x0:_0x457b5d?A(_0x3c3166,_0x3c201d):_0x3c3166,_0x240a9e=_0x22fe7d[_0x138c0e(0x9d)]-0x1,_0x81757a;_0x240a9e>=0x0;_0x240a9e--)(_0x81757a=_0x22fe7d[_0x240a9e])&&(_0x3491d2=_0x81757a(_0x3491d2)||_0x3491d2);return _0x3491d2;},u=(_0x48367f,_0xeecdae)=>(_0x1b6b67,_0x251511)=>_0xeecdae(_0x1b6b67,_0x251511,_0x48367f);let a=class extends _0x526a9b{constructor(_0xd2888e,_0x3aa029){var _0xf23761=_0x3d3266;super(),this['_commandService']=_0xd2888e,this[_0xf23761(0x78)]=_0x3aa029,this[_0xf23761(0x89)](),this[_0xf23761(0x84)]();}[_0x3d3266(0x89)](){var _0x16ee2d=_0x3d3266;[d,_][_0x16ee2d(0x82)](_0x358b18=>{var _0x258619=_0x16ee2d;this['disposeWithMe'](this['_commandService'][_0x258619(0x86)](_0x358b18));});}['_initMenus'](){var _0xa9777e=_0x3d3266;this[_0xa9777e(0x78)][_0xa9777e(0x9c)](R);}};a=j([u(0x0,_0x56a7db),u(0x1,_0x5e3acb)],a);var w=Object[_0x3d3266(0x77)],H=Object[_0x3d3266(0x7a)],L=(_0x1f5252,_0x5e98f5,_0x598eee)=>_0x5e98f5 in _0x1f5252?w(_0x1f5252,_0x5e98f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x598eee}):_0x1f5252[_0x5e98f5]=_0x598eee,B=(_0x63fdf1,_0x46193f,_0x1a5ed1,_0x546f30)=>{var _0x282556=_0x3d3266;for(var _0x32a8a8=_0x546f30>0x1?void 0x0:_0x546f30?H(_0x46193f,_0x1a5ed1):_0x46193f,_0x4e1bc4=_0x63fdf1[_0x282556(0x9d)]-0x1,_0x24f0bc;_0x4e1bc4>=0x0;_0x4e1bc4--)(_0x24f0bc=_0x63fdf1[_0x4e1bc4])&&(_0x32a8a8=_0x24f0bc(_0x32a8a8)||_0x32a8a8);return _0x32a8a8;},g=(_0x1fb567,_0x2c5936)=>(_0x14b949,_0x390775)=>_0x2c5936(_0x14b949,_0x390775,_0x1fb567),O=(_0x126d2c,_0x4e273b,_0x5cfabf)=>L(_0x126d2c,typeof _0x4e273b!='symbol'?_0x4e273b+'':_0x4e273b,_0x5cfabf);const $=_0x3d3266(0x8a);let s=class extends _0x2513df{constructor(_0x490c74=m,_0x1f04c1,_0x30e9f1){var _0x22c3c9=_0x3d3266;super(),this['_config']=_0x490c74,this['_injector']=_0x1f04c1,this[_0x22c3c9(0x97)]=_0x30e9f1;const {menu:_0x36dcad,..._0x31fed3}=_0x39a615({},m,this['_config']);_0x36dcad&&this[_0x22c3c9(0x97)]['setConfig'](_0x22c3c9(0x79),_0x36dcad,{'merge':!0x0}),this['_configService']['setConfig'](b,_0x31fed3);}[_0x3d3266(0x93)](){var _0x54dd67=_0x3d3266;[[a]][_0x54dd67(0x82)](_0x5565=>this[_0x54dd67(0x88)]['add'](_0x5565));}[_0x3d3266(0x90)](){var _0x10413a=_0x3d3266;this[_0x10413a(0x88)][_0x10413a(0x83)](a);}};O(s,'pluginName',$),O(s,'type',_0x2181cb['UNIVER_DOC']),s=B([_0x4ac8a3(_0x2b0366),g(0x1,_0x4d6088(_0x45d930)),g(0x2,_0x1ee209)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
1
+ var _0x4104a5=_0x199b;(function(_0x294ba8,_0x5cd8b2){var _0x582025=_0x199b,_0x3ff5cf=_0x294ba8();while(!![]){try{var _0x179baf=-parseInt(_0x582025(0x18c))/0x1+parseInt(_0x582025(0x189))/0x2*(-parseInt(_0x582025(0x180))/0x3)+parseInt(_0x582025(0x1a7))/0x4+parseInt(_0x582025(0x181))/0x5+parseInt(_0x582025(0x190))/0x6+-parseInt(_0x582025(0x19a))/0x7+-parseInt(_0x582025(0x194))/0x8;if(_0x179baf===_0x5cd8b2)break;else _0x3ff5cf['push'](_0x3ff5cf['shift']());}catch(_0x50b3c8){_0x3ff5cf['push'](_0x3ff5cf['shift']());}}}(_0x5d92,0xdf154));import{IExchangeOperateService as _0x2484ab,UniverExchangeClientPlugin as _0x2dc97c}from'@univerjs-pro/exchange-client';import{CommandType as _0x506218,UniverInstanceType as _0x57dd8e,Disposable as _0x4511c6,ICommandService as _0x45cec5,DependentOn as _0xe5e9d4,Inject as _0x3673c9,Injector as _0x545d9a,IConfigService as _0x5a1577,Plugin as _0x4aab13,merge as _0x283d20}from'@univerjs/core';import{MenuItemType as _0x2ffac1,getMenuHiddenObservable as _0x28b8f5,RibbonStartGroup as _0x304ec9,IMenuManagerService as _0xc3f709}from'@univerjs/ui';const b=_0x4104a5(0x17e),m={},d={'id':_0x4104a5(0x1a4),'type':_0x506218[_0x4104a5(0x18d)],'handler':async _0x3af737=>(_0x3af737[_0x4104a5(0x184)](_0x2484ab)[_0x4104a5(0x17d)](),!0x0)},_={'id':'exchange-client.operation.export-docx','type':_0x506218[_0x4104a5(0x18d)],'handler':async _0x1fc657=>(_0x1fc657[_0x4104a5(0x184)](_0x2484ab)[_0x4104a5(0x18e)](),!0x0)},C=_0x4104a5(0x19e);function _0x5d92(){var _0x5408da=['DirectExportIcon','ExportIcon','4217017wvnuNO','pluginName','disposeWithMe','type','docs-exchange-client.operation.exchange','defineProperty','FolderIcon','OTHERS','setConfig','length','exchange-client.operation.import-docx','BUTTON','UNIVER_DOC','4256916vaeBVm','exchange.file','_injector','importDOCXToUnitId','docs-exchange-client.config','_commandService','63sSiFTn','5719980pBwFqz','getOwnPropertyDescriptor','add','get','mergeMenu','DOC_EXCHANGE_CLIENT_PLUGIN','exchange.upload','onStarting','27410QSxzHd','SUBITEMS','exchange.download','559940TucvjG','OPERATION','exportDOCXByUnitId','_configService','10080228CyneDF','_initCommands','_config','_initMenus','12194712aGkePv','registerCommand','_menuManagerService','menu'];_0x5d92=function(){return _0x5408da;};return _0x5d92();}function _0x199b(_0x518f89,_0x2d3ddf){var _0x5d924d=_0x5d92();return _0x199b=function(_0x199b48,_0x53991e){_0x199b48=_0x199b48-0x17d;var _0xe31b59=_0x5d924d[_0x199b48];return _0xe31b59;},_0x199b(_0x518f89,_0x2d3ddf);}function X(_0x31c0e8){var _0x258b91=_0x4104a5;return{'id':C,'type':_0x2ffac1[_0x258b91(0x18a)],'icon':_0x258b91(0x198),'tooltip':_0x258b91(0x1a8),'hidden$':_0x28b8f5(_0x31c0e8,_0x57dd8e['UNIVER_DOC'])};}function F(){var _0xe5c34b=_0x4104a5;return{'id':d['id'],'type':_0x2ffac1[_0xe5c34b(0x1a5)],'title':_0xe5c34b(0x187),'icon':_0xe5c34b(0x1a0)};}function G(){var _0x52335b=_0x4104a5;return{'id':_['id'],'type':_0x2ffac1['BUTTON'],'title':_0x52335b(0x18b),'icon':_0x52335b(0x199)};}const R={[_0x304ec9[_0x4104a5(0x1a1)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object[_0x4104a5(0x182)],j=(_0x275ac3,_0x5ed567,_0x24d628,_0x2c245b)=>{var _0x348131=_0x4104a5;for(var _0x616f94=_0x2c245b>0x1?void 0x0:_0x2c245b?A(_0x5ed567,_0x24d628):_0x5ed567,_0xe947ed=_0x275ac3[_0x348131(0x1a3)]-0x1,_0x8d4d47;_0xe947ed>=0x0;_0xe947ed--)(_0x8d4d47=_0x275ac3[_0xe947ed])&&(_0x616f94=_0x8d4d47(_0x616f94)||_0x616f94);return _0x616f94;},u=(_0x2fa0e5,_0x556161)=>(_0x4960b5,_0x3cea2c)=>_0x556161(_0x4960b5,_0x3cea2c,_0x2fa0e5);let a=class extends _0x4511c6{constructor(_0x24668f,_0xe626f5){var _0x62d03e=_0x4104a5;super(),this[_0x62d03e(0x17f)]=_0x24668f,this[_0x62d03e(0x196)]=_0xe626f5,this[_0x62d03e(0x191)](),this[_0x62d03e(0x193)]();}['_initCommands'](){[d,_]['forEach'](_0x2a693e=>{var _0x355bfe=_0x199b;this[_0x355bfe(0x19c)](this['_commandService'][_0x355bfe(0x195)](_0x2a693e));});}[_0x4104a5(0x193)](){var _0x14f1d2=_0x4104a5;this[_0x14f1d2(0x196)][_0x14f1d2(0x185)](R);}};a=j([u(0x0,_0x45cec5),u(0x1,_0xc3f709)],a);var w=Object[_0x4104a5(0x19f)],H=Object[_0x4104a5(0x182)],L=(_0x5da98e,_0x22350c,_0x526a9e)=>_0x22350c in _0x5da98e?w(_0x5da98e,_0x22350c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526a9e}):_0x5da98e[_0x22350c]=_0x526a9e,B=(_0x502635,_0x4e2a3f,_0x383281,_0x5016ad)=>{for(var _0x22989c=_0x5016ad>0x1?void 0x0:_0x5016ad?H(_0x4e2a3f,_0x383281):_0x4e2a3f,_0x1d3c97=_0x502635['length']-0x1,_0x2ea9af;_0x1d3c97>=0x0;_0x1d3c97--)(_0x2ea9af=_0x502635[_0x1d3c97])&&(_0x22989c=_0x2ea9af(_0x22989c)||_0x22989c);return _0x22989c;},g=(_0x161afc,_0x1c365e)=>(_0x1dba4f,_0xf3b9f4)=>_0x1c365e(_0x1dba4f,_0xf3b9f4,_0x161afc),O=(_0xa43311,_0x52d7ec,_0x46b7fb)=>L(_0xa43311,typeof _0x52d7ec!='symbol'?_0x52d7ec+'':_0x52d7ec,_0x46b7fb);const $=_0x4104a5(0x186);let s=class extends _0x4aab13{constructor(_0x51cb1a=m,_0xc89706,_0x2c2e60){var _0x87f732=_0x4104a5;super(),this[_0x87f732(0x192)]=_0x51cb1a,this[_0x87f732(0x1a9)]=_0xc89706,this[_0x87f732(0x18f)]=_0x2c2e60;const {menu:_0x309606,..._0x3dc2c1}=_0x283d20({},m,this['_config']);_0x309606&&this[_0x87f732(0x18f)][_0x87f732(0x1a2)](_0x87f732(0x197),_0x309606,{'merge':!0x0}),this[_0x87f732(0x18f)][_0x87f732(0x1a2)](b,_0x3dc2c1);}[_0x4104a5(0x188)](){var _0x43c5c7=_0x4104a5;[[a]]['forEach'](_0x103bc4=>this[_0x43c5c7(0x1a9)][_0x43c5c7(0x183)](_0x103bc4));}['onReady'](){var _0xa38a71=_0x4104a5;this[_0xa38a71(0x1a9)][_0xa38a71(0x184)](a);}};O(s,_0x4104a5(0x19b),$),O(s,_0x4104a5(0x19d),_0x57dd8e[_0x4104a5(0x1a6)]),s=B([_0xe5e9d4(_0x2dc97c),g(0x1,_0x3673c9(_0x545d9a)),g(0x2,_0x5a1577)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2c2e(){var _0x2ae237=['261BjfCrq','pluginName','FolderIcon','RibbonStartGroup','91hsfwxB','MenuItemType','SUBITEMS','632063uivkjb','281110Nqzdmo','forEach','IConfigService','object','exchange.file','amd','UniverProExchangeClient','_menuManagerService','length','_initMenus','_configService','function','add','type','Injector','2mdPwwr','CommandType','ImportDOCXOperation','BUTTON','@univerjs/ui','docs-exchange-client.operation.exchange','IMenuManagerService','getMenuHiddenObservable','Plugin','_commandService','103624bwhhSl','get','617384vFLJdB','UniverUi','69RRvqyY','UNIVER_DOC','defineProperty','docs-exchange-client.config','@univerjs-pro/exchange-client','UniverInstanceType','onStarting','17032620dkLdgw','UniverDocsExchangeClientPlugin','exports','Disposable','Inject','menu','symbol','_config','@univerjs/core','ExportDOCXOperation','2720526YXhQmM','merge','1443575KlfJbj','IExchangeOperateService','OTHERS','setConfig','OPERATION','ExportIcon','exchange.upload','exchange.download','getOwnPropertyDescriptor','_injector','ICommandService','mergeMenu','_initCommands','disposeWithMe'];_0x2c2e=function(){return _0x2ae237;};return _0x2c2e();}function _0xa694(_0x5de222,_0x4e5e2e){var _0x2c2ed9=_0x2c2e();return _0xa694=function(_0xa694fb,_0x43acdc){_0xa694fb=_0xa694fb-0x1b7;var _0x380a2d=_0x2c2ed9[_0xa694fb];return _0x380a2d;},_0xa694(_0x5de222,_0x4e5e2e);}(function(_0x40fb68,_0x591fea){var _0x63115d=_0xa694,_0x23cca3=_0x40fb68();while(!![]){try{var _0x2a0851=parseInt(_0x63115d(0x1d3))/0x1*(parseInt(_0x63115d(0x1e3))/0x2)+-parseInt(_0x63115d(0x1f1))/0x3*(parseInt(_0x63115d(0x1ed))/0x4)+parseInt(_0x63115d(0x1be))/0x5+parseInt(_0x63115d(0x1bc))/0x6+-parseInt(_0x63115d(0x1d0))/0x7*(parseInt(_0x63115d(0x1ef))/0x8)+-parseInt(_0x63115d(0x1cc))/0x9*(parseInt(_0x63115d(0x1d4))/0xa)+parseInt(_0x63115d(0x1f8))/0xb;if(_0x2a0851===_0x591fea)break;else _0x23cca3['push'](_0x23cca3['shift']());}catch(_0x4284b7){_0x23cca3['push'](_0x23cca3['shift']());}}}(_0x2c2e,0x7c199),function(_0x4a4019,_0x3eac4b){var _0x5662c0=_0xa694;typeof exports==_0x5662c0(0x1d7)&&typeof module<'u'?_0x3eac4b(exports,require(_0x5662c0(0x1f5)),require(_0x5662c0(0x1ba)),require(_0x5662c0(0x1e7))):typeof define==_0x5662c0(0x1df)&&define[_0x5662c0(0x1d9)]?define([_0x5662c0(0x1fa),'@univerjs-pro/exchange-client','@univerjs/core',_0x5662c0(0x1e7)],_0x3eac4b):(_0x4a4019=typeof globalThis<'u'?globalThis:_0x4a4019||self,_0x3eac4b(_0x4a4019['UniverProDocsExchangeClient']={},_0x4a4019[_0x5662c0(0x1da)],_0x4a4019['UniverCore'],_0x4a4019[_0x5662c0(0x1f0)]));}(this,function(_0x312d8a,_0x76200d,_0x9d7948,_0x6d27a7){'use strict';var _0x4c7252=_0xa694;const _0xe4fae7=_0x4c7252(0x1f4),_0x5225ad={},_0x3082a1={'id':'exchange-client.operation.import-docx','type':_0x9d7948[_0x4c7252(0x1e4)][_0x4c7252(0x1c2)],'handler':async _0x4eaf4a=>(_0x4eaf4a[_0x4c7252(0x1ee)](_0x76200d['IExchangeOperateService'])['importDOCXToUnitId'](),!0x0)},_0x53721a={'id':'exchange-client.operation.export-docx','type':_0x9d7948['CommandType'][_0x4c7252(0x1c2)],'handler':async _0x1e60ba=>(_0x1e60ba[_0x4c7252(0x1ee)](_0x76200d[_0x4c7252(0x1bf)])['exportDOCXByUnitId'](),!0x0)},_0x4e268f=_0x4c7252(0x1e8);function _0x1f3d17(_0x3a679e){var _0x1303a9=_0x4c7252;return{'id':_0x4e268f,'type':_0x6d27a7[_0x1303a9(0x1d1)][_0x1303a9(0x1d2)],'icon':'DirectExportIcon','tooltip':_0x1303a9(0x1d8),'hidden$':_0x6d27a7[_0x1303a9(0x1ea)](_0x3a679e,_0x9d7948['UniverInstanceType'][_0x1303a9(0x1f2)])};}function _0x59f1f0(){var _0x15cbde=_0x4c7252;return{'id':_0x3082a1['id'],'type':_0x6d27a7['MenuItemType'][_0x15cbde(0x1e6)],'title':_0x15cbde(0x1c4),'icon':_0x15cbde(0x1ce)};}function _0x55b05f(){var _0x375153=_0x4c7252;return{'id':_0x53721a['id'],'type':_0x6d27a7[_0x375153(0x1d1)][_0x375153(0x1e6)],'title':_0x375153(0x1c5),'icon':_0x375153(0x1c3)};}const _0x5183ea={[_0x6d27a7[_0x4c7252(0x1cf)][_0x4c7252(0x1c0)]]:{[_0x4e268f]:{'order':0.3,'menuItemFactory':_0x1f3d17,[_0x3082a1['id']]:{'order':0x0,'menuItemFactory':_0x59f1f0},[_0x53721a['id']]:{'order':0x1,'menuItemFactory':_0x55b05f}}}};var _0x2b8249=Object[_0x4c7252(0x1c6)],_0x592cc7=(_0xffb2f7,_0x1b6fe4,_0x2b0aac,_0x4525a2)=>{var _0x1a4a0b=_0x4c7252;for(var _0x5e8b83=_0x4525a2>0x1?void 0x0:_0x4525a2?_0x2b8249(_0x1b6fe4,_0x2b0aac):_0x1b6fe4,_0x342596=_0xffb2f7[_0x1a4a0b(0x1dc)]-0x1,_0x3ab26a;_0x342596>=0x0;_0x342596--)(_0x3ab26a=_0xffb2f7[_0x342596])&&(_0x5e8b83=_0x3ab26a(_0x5e8b83)||_0x5e8b83);return _0x5e8b83;},_0x1a6267=(_0xf407e8,_0x1cfff6)=>(_0x1f7cce,_0x4450fa)=>_0x1cfff6(_0x1f7cce,_0x4450fa,_0xf407e8);let _0x142f38=class extends _0x9d7948[_0x4c7252(0x1fb)]{constructor(_0x37a497,_0x5e873c){var _0x1a50be=_0x4c7252;super(),this[_0x1a50be(0x1ec)]=_0x37a497,this[_0x1a50be(0x1db)]=_0x5e873c,this['_initCommands'](),this[_0x1a50be(0x1dd)]();}[_0x4c7252(0x1ca)](){var _0x9a5b1e=_0x4c7252;[_0x3082a1,_0x53721a][_0x9a5b1e(0x1d5)](_0x427b8e=>{var _0x4cb057=_0x9a5b1e;this[_0x4cb057(0x1cb)](this[_0x4cb057(0x1ec)]['registerCommand'](_0x427b8e));});}['_initMenus'](){var _0x1e36ef=_0x4c7252;this[_0x1e36ef(0x1db)][_0x1e36ef(0x1c9)](_0x5183ea);}};_0x142f38=_0x592cc7([_0x1a6267(0x0,_0x9d7948[_0x4c7252(0x1c8)]),_0x1a6267(0x1,_0x6d27a7[_0x4c7252(0x1e9)])],_0x142f38);var _0x7ef9ba=Object[_0x4c7252(0x1f3)],_0x40c054=Object[_0x4c7252(0x1c6)],_0x30efff=(_0x4961f3,_0x138b25,_0x30b811)=>_0x138b25 in _0x4961f3?_0x7ef9ba(_0x4961f3,_0x138b25,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30b811}):_0x4961f3[_0x138b25]=_0x30b811,_0x13a00b=(_0x4cab3d,_0x5322d0,_0x306570,_0x25c829)=>{var _0x49529e=_0x4c7252;for(var _0x53ec39=_0x25c829>0x1?void 0x0:_0x25c829?_0x40c054(_0x5322d0,_0x306570):_0x5322d0,_0x580b35=_0x4cab3d[_0x49529e(0x1dc)]-0x1,_0x11443c;_0x580b35>=0x0;_0x580b35--)(_0x11443c=_0x4cab3d[_0x580b35])&&(_0x53ec39=_0x11443c(_0x53ec39)||_0x53ec39);return _0x53ec39;},_0x5aeb82=(_0x3de2fe,_0xfdd0b9)=>(_0x25f90d,_0x4f0698)=>_0xfdd0b9(_0x25f90d,_0x4f0698,_0x3de2fe),_0x582d7f=(_0x212ecb,_0xa2f460,_0x8561bb)=>_0x30efff(_0x212ecb,typeof _0xa2f460!=_0x4c7252(0x1b8)?_0xa2f460+'':_0xa2f460,_0x8561bb);const _0x9e0bdd='DOC_EXCHANGE_CLIENT_PLUGIN';_0x312d8a[_0x4c7252(0x1f9)]=class extends _0x9d7948[_0x4c7252(0x1eb)]{constructor(_0x2ee8b0=_0x5225ad,_0x320b5e,_0x390aa6){var _0x2f4074=_0x4c7252;super(),this[_0x2f4074(0x1b9)]=_0x2ee8b0,this[_0x2f4074(0x1c7)]=_0x320b5e,this[_0x2f4074(0x1de)]=_0x390aa6;const {menu:_0x19ceb8,..._0x4b96fb}=_0x9d7948[_0x2f4074(0x1bd)]({},_0x5225ad,this[_0x2f4074(0x1b9)]);_0x19ceb8&&this['_configService'][_0x2f4074(0x1c1)](_0x2f4074(0x1b7),_0x19ceb8,{'merge':!0x0}),this[_0x2f4074(0x1de)]['setConfig'](_0xe4fae7,_0x4b96fb);}[_0x4c7252(0x1f7)](){var _0x5ceffb=_0x4c7252;[[_0x142f38]]['forEach'](_0x3dfdff=>this[_0x5ceffb(0x1c7)][_0x5ceffb(0x1e0)](_0x3dfdff));}['onReady'](){var _0x3edf48=_0x4c7252;this['_injector'][_0x3edf48(0x1ee)](_0x142f38);}},_0x582d7f(_0x312d8a[_0x4c7252(0x1f9)],_0x4c7252(0x1cd),_0x9e0bdd),_0x582d7f(_0x312d8a[_0x4c7252(0x1f9)],_0x4c7252(0x1e1),_0x9d7948[_0x4c7252(0x1f6)][_0x4c7252(0x1f2)]),_0x312d8a[_0x4c7252(0x1f9)]=_0x13a00b([_0x9d7948['DependentOn'](_0x76200d['UniverExchangeClientPlugin']),_0x5aeb82(0x1,_0x9d7948[_0x4c7252(0x1fc)](_0x9d7948[_0x4c7252(0x1e2)])),_0x5aeb82(0x2,_0x9d7948[_0x4c7252(0x1d6)])],_0x312d8a[_0x4c7252(0x1f9)]),_0x312d8a[_0x4c7252(0x1bb)]=_0x53721a,_0x312d8a[_0x4c7252(0x1e5)]=_0x3082a1,Object[_0x4c7252(0x1f3)](_0x312d8a,Symbol['toStringTag'],{'value':'Module'});}));
1
+ function _0x3a6a(_0x1384d1,_0x3e3e5d){var _0xd4fffc=_0xd4ff();return _0x3a6a=function(_0x3a6a32,_0x416818){_0x3a6a32=_0x3a6a32-0x86;var _0x53ebd5=_0xd4fffc[_0x3a6a32];return _0x53ebd5;},_0x3a6a(_0x1384d1,_0x3e3e5d);}(function(_0xf2068d,_0x407c18){var _0x1ca6e6=_0x3a6a,_0x47fe91=_0xf2068d();while(!![]){try{var _0x56c7fc=parseInt(_0x1ca6e6(0xb8))/0x1*(-parseInt(_0x1ca6e6(0xa2))/0x2)+-parseInt(_0x1ca6e6(0x93))/0x3+-parseInt(_0x1ca6e6(0x99))/0x4*(parseInt(_0x1ca6e6(0x98))/0x5)+-parseInt(_0x1ca6e6(0xae))/0x6*(parseInt(_0x1ca6e6(0xbe))/0x7)+parseInt(_0x1ca6e6(0x9d))/0x8*(-parseInt(_0x1ca6e6(0x92))/0x9)+parseInt(_0x1ca6e6(0x86))/0xa+parseInt(_0x1ca6e6(0xaf))/0xb*(parseInt(_0x1ca6e6(0xad))/0xc);if(_0x56c7fc===_0x407c18)break;else _0x47fe91['push'](_0x47fe91['shift']());}catch(_0x32559f){_0x47fe91['push'](_0x47fe91['shift']());}}}(_0xd4ff,0xe6d6b),function(_0x2f6eed,_0x417db6){var _0x251ebb=_0x3a6a;typeof exports==_0x251ebb(0xa4)&&typeof module<'u'?_0x417db6(exports,require(_0x251ebb(0xa3)),require(_0x251ebb(0x8d)),require(_0x251ebb(0xb0))):typeof define=='function'&&define[_0x251ebb(0xb9)]?define(['exports','@univerjs-pro/exchange-client',_0x251ebb(0x8d),_0x251ebb(0xb0)],_0x417db6):(_0x2f6eed=typeof globalThis<'u'?globalThis:_0x2f6eed||self,_0x417db6(_0x2f6eed[_0x251ebb(0x9c)]={},_0x2f6eed[_0x251ebb(0x89)],_0x2f6eed[_0x251ebb(0xc8)],_0x2f6eed[_0x251ebb(0xbb)]));}(this,function(_0x329713,_0x34bdd2,_0x5b80af,_0x3c57e1){'use strict';var _0x435ed9=_0x3a6a;const _0x4f0944=_0x435ed9(0x8f),_0x499042={},_0x332384={'id':_0x435ed9(0x9e),'type':_0x5b80af[_0x435ed9(0xc4)][_0x435ed9(0xc3)],'handler':async _0x34292a=>(_0x34292a[_0x435ed9(0xa6)](_0x34bdd2[_0x435ed9(0xcb)])[_0x435ed9(0xc1)](),!0x0)},_0x3602d0={'id':_0x435ed9(0xc0),'type':_0x5b80af[_0x435ed9(0xc4)][_0x435ed9(0xc3)],'handler':async _0x2b1351=>(_0x2b1351[_0x435ed9(0xa6)](_0x34bdd2[_0x435ed9(0xcb)])['exportDOCXByUnitId'](),!0x0)},_0x39fbe1=_0x435ed9(0x9f);function _0x33c48d(_0x571341){var _0x310104=_0x435ed9;return{'id':_0x39fbe1,'type':_0x3c57e1[_0x310104(0xcc)][_0x310104(0x91)],'icon':'DirectExportIcon','tooltip':_0x310104(0xc9),'hidden$':_0x3c57e1[_0x310104(0xac)](_0x571341,_0x5b80af['UniverInstanceType'][_0x310104(0xa0)])};}function _0x3ece40(){var _0x43f36a=_0x435ed9;return{'id':_0x332384['id'],'type':_0x3c57e1[_0x43f36a(0xcc)][_0x43f36a(0xc5)],'title':'exchange.upload','icon':_0x43f36a(0x96)};}function _0x1166ed(){var _0x4452c3=_0x435ed9;return{'id':_0x3602d0['id'],'type':_0x3c57e1[_0x4452c3(0xcc)]['BUTTON'],'title':'exchange.download','icon':_0x4452c3(0xaa)};}const _0x85b033={[_0x3c57e1[_0x435ed9(0x88)][_0x435ed9(0xa1)]]:{[_0x39fbe1]:{'order':0.3,'menuItemFactory':_0x33c48d,[_0x332384['id']]:{'order':0x0,'menuItemFactory':_0x3ece40},[_0x3602d0['id']]:{'order':0x1,'menuItemFactory':_0x1166ed}}}};var _0xa1f215=Object[_0x435ed9(0xba)],_0x3a50f8=(_0x55e6ef,_0x4677e4,_0x3bd450,_0x157dbb)=>{var _0x1f62ae=_0x435ed9;for(var _0x31750b=_0x157dbb>0x1?void 0x0:_0x157dbb?_0xa1f215(_0x4677e4,_0x3bd450):_0x4677e4,_0x145722=_0x55e6ef[_0x1f62ae(0xbf)]-0x1,_0xfadacf;_0x145722>=0x0;_0x145722--)(_0xfadacf=_0x55e6ef[_0x145722])&&(_0x31750b=_0xfadacf(_0x31750b)||_0x31750b);return _0x31750b;},_0x51b328=(_0xfb0c70,_0x3568b7)=>(_0x3ba8fc,_0x18ff2d)=>_0x3568b7(_0x3ba8fc,_0x18ff2d,_0xfb0c70);let _0x349a64=class extends _0x5b80af[_0x435ed9(0xb1)]{constructor(_0x31c9d7,_0x38f40b){var _0x595104=_0x435ed9;super(),this[_0x595104(0x97)]=_0x31c9d7,this['_menuManagerService']=_0x38f40b,this[_0x595104(0x8b)](),this[_0x595104(0xca)]();}[_0x435ed9(0x8b)](){var _0x541b84=_0x435ed9;[_0x332384,_0x3602d0][_0x541b84(0xbd)](_0x37f121=>{var _0x39c23a=_0x541b84;this[_0x39c23a(0xc7)](this[_0x39c23a(0x97)]['registerCommand'](_0x37f121));});}[_0x435ed9(0xca)](){var _0x561c0a=_0x435ed9;this['_menuManagerService'][_0x561c0a(0x9a)](_0x85b033);}};_0x349a64=_0x3a50f8([_0x51b328(0x0,_0x5b80af[_0x435ed9(0xa5)]),_0x51b328(0x1,_0x3c57e1['IMenuManagerService'])],_0x349a64);var _0x5709b6=Object[_0x435ed9(0xc6)],_0x3b0d48=Object['getOwnPropertyDescriptor'],_0x125e6a=(_0x5b97d0,_0x22e2e,_0x1873b6)=>_0x22e2e in _0x5b97d0?_0x5709b6(_0x5b97d0,_0x22e2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1873b6}):_0x5b97d0[_0x22e2e]=_0x1873b6,_0x3c4d63=(_0x4ebf94,_0x2ff692,_0x14c17e,_0x34160d)=>{var _0x1872e2=_0x435ed9;for(var _0x5a6c1e=_0x34160d>0x1?void 0x0:_0x34160d?_0x3b0d48(_0x2ff692,_0x14c17e):_0x2ff692,_0xb8f56a=_0x4ebf94[_0x1872e2(0xbf)]-0x1,_0x511017;_0xb8f56a>=0x0;_0xb8f56a--)(_0x511017=_0x4ebf94[_0xb8f56a])&&(_0x5a6c1e=_0x511017(_0x5a6c1e)||_0x5a6c1e);return _0x5a6c1e;},_0x3843f0=(_0x85db37,_0x2eacf4)=>(_0x5085e6,_0x1b6f4c)=>_0x2eacf4(_0x5085e6,_0x1b6f4c,_0x85db37),_0x587b8b=(_0x551dd3,_0x4dbc1d,_0x1a9988)=>_0x125e6a(_0x551dd3,typeof _0x4dbc1d!=_0x435ed9(0x8e)?_0x4dbc1d+'':_0x4dbc1d,_0x1a9988);const _0x63ea5=_0x435ed9(0x95);_0x329713[_0x435ed9(0x8a)]=class extends _0x5b80af['Plugin']{constructor(_0x564554=_0x499042,_0x54534c,_0x491dd5){var _0x2860f7=_0x435ed9;super(),this[_0x2860f7(0xb3)]=_0x564554,this[_0x2860f7(0xb2)]=_0x54534c,this[_0x2860f7(0xa9)]=_0x491dd5;const {menu:_0x3238f0,..._0x50c4ea}=_0x5b80af[_0x2860f7(0x94)]({},_0x499042,this['_config']);_0x3238f0&&this[_0x2860f7(0xa9)][_0x2860f7(0xa8)]('menu',_0x3238f0,{'merge':!0x0}),this['_configService']['setConfig'](_0x4f0944,_0x50c4ea);}[_0x435ed9(0xa7)](){var _0xb6f870=_0x435ed9;[[_0x349a64]][_0xb6f870(0xbd)](_0xc56fde=>this['_injector'][_0xb6f870(0xb5)](_0xc56fde));}['onReady'](){var _0x4fb9b4=_0x435ed9;this[_0x4fb9b4(0xb2)][_0x4fb9b4(0xa6)](_0x349a64);}},_0x587b8b(_0x329713[_0x435ed9(0x8a)],_0x435ed9(0xc2),_0x63ea5),_0x587b8b(_0x329713[_0x435ed9(0x8a)],'type',_0x5b80af[_0x435ed9(0xbc)][_0x435ed9(0xa0)]),_0x329713[_0x435ed9(0x8a)]=_0x3c4d63([_0x5b80af[_0x435ed9(0x8c)](_0x34bdd2[_0x435ed9(0xb6)]),_0x3843f0(0x1,_0x5b80af[_0x435ed9(0xb7)](_0x5b80af[_0x435ed9(0x90)])),_0x3843f0(0x2,_0x5b80af[_0x435ed9(0xb4)])],_0x329713[_0x435ed9(0x8a)]),_0x329713[_0x435ed9(0x87)]=_0x3602d0,_0x329713[_0x435ed9(0x9b)]=_0x332384,Object[_0x435ed9(0xc6)](_0x329713,Symbol['toStringTag'],{'value':_0x435ed9(0xab)});}));function _0xd4ff(){var _0x3abe03=['onStarting','setConfig','_configService','ExportIcon','Module','getMenuHiddenObservable','12iCyeky','6SBFYwN','57277187KcUygj','@univerjs/ui','Disposable','_injector','_config','IConfigService','add','UniverExchangeClientPlugin','Inject','2855dessBS','amd','getOwnPropertyDescriptor','UniverUi','UniverInstanceType','forEach','10516604NxPWIW','length','exchange-client.operation.export-docx','importDOCXToUnitId','pluginName','OPERATION','CommandType','BUTTON','defineProperty','disposeWithMe','UniverCore','exchange.file','_initMenus','IExchangeOperateService','MenuItemType','11749500vqdXni','ExportDOCXOperation','RibbonStartGroup','UniverProExchangeClient','UniverDocsExchangeClientPlugin','_initCommands','DependentOn','@univerjs/core','symbol','docs-exchange-client.config','Injector','SUBITEMS','1257561PaFhNc','388383ELaphn','merge','DOC_EXCHANGE_CLIENT_PLUGIN','FolderIcon','_commandService','5PhmQkh','5356244DWVUMH','mergeMenu','ImportDOCXOperation','UniverProDocsExchangeClient','56gCgXhW','exchange-client.operation.import-docx','docs-exchange-client.operation.exchange','UNIVER_DOC','OTHERS','1042xfjXrT','@univerjs-pro/exchange-client','object','ICommandService','get'];_0xd4ff=function(){return _0x3abe03;};return _0xd4ff();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-exchange-client",
3
- "version": "0.8.2-nightly.202506251607",
3
+ "version": "0.8.2",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -42,14 +42,14 @@
42
42
  "lib"
43
43
  ],
44
44
  "dependencies": {
45
- "@univerjs-pro/exchange-client": "0.8.2-nightly.202506251607",
46
- "@univerjs/core": "0.8.2-nightly.202506251607",
47
- "@univerjs/ui": "0.8.2-nightly.202506251607"
45
+ "@univerjs-pro/exchange-client": "0.8.2",
46
+ "@univerjs/core": "0.8.2",
47
+ "@univerjs/ui": "0.8.2"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^5.8.3",
51
51
  "vite": "^6.3.5",
52
- "vitest": "^3.2.4",
52
+ "vitest": "^3.2.3",
53
53
  "@univerjs-infra/shared": "0.8.2"
54
54
  },
55
55
  "scripts": {