@univerjs-pro/docs-exchange-client 0.5.0-alpha.0 → 0.5.0-nightly.202411101605
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 +4 -4
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function _0x5349(_0x5ee5ac,_0x369d95){var _0x14d769=_0x14d7();return _0x5349=function(_0x5349df,_0x15f366){_0x5349df=_0x5349df-0x7d;var _0x2aa060=_0x14d769[_0x5349df];return _0x2aa060;},_0x5349(_0x5ee5ac,_0x369d95);}function _0x14d7(){var _0x2fb12d=['type','496622SkvVzl','CommandType','getOwnPropertyDescriptor','registerCommand','get','mergeMenu','FolderSingle','5893767lkoxDZ','FILE','ICommandService','OPERATION','UNIVER_DOC','_config','onStarting','DependentOn','Inject','exportDOCXByUnitId','exchange-client.operation.export-docx','IExchangeOperateService','@univerjs/core','@univerjs/ui','UniverDocsExchangeClientPlugin','366546obMwiq','ExportDOCXOperation','_configService','UniverInstanceType','ImportDOCXOperation','toStringTag','_commandService','add','SUBITEMS','Disposable','IConfigService','onReady','_injector','MenuItemType','_menuManagerService','18NXTpPD','UniverExchangeClientPlugin','pluginName','Module','docs-exchange-client.operation.exchange','56abNDRN','exchange.file','importDOCXToUnitId','forEach','_initCommands','disposeWithMe','defineProperty','99820EpFuVk','1113126aTDjze','exchange.download','BUTTON','length','196762VHMhdq','setConfig','303412UxiVfT'];_0x14d7=function(){return _0x2fb12d;};return _0x14d7();}var _0x9d29d6=_0x5349;(function(_0x39667e,_0x2759d9){var _0x2513af=_0x5349,_0x407da1=_0x39667e();while(!![]){try{var _0x8ae87c=parseInt(_0x2513af(0xaf))/0x1+-parseInt(_0x2513af(0xab))/0x2+parseInt(_0x2513af(0x9e))/0x3*(parseInt(_0x2513af(0xb1))/0x4)+parseInt(_0x2513af(0xaa))/0x5+parseInt(_0x2513af(0x8f))/0x6+-parseInt(_0x2513af(0xb3))/0x7*(parseInt(_0x2513af(0xa3))/0x8)+parseInt(_0x2513af(0x80))/0x9;if(_0x8ae87c===_0x2759d9)break;else _0x407da1['push'](_0x407da1['shift']());}catch(_0x220937){_0x407da1['push'](_0x407da1['shift']());}}}(_0x14d7,0x51b15));Object[_0x9d29d6(0xa9)](exports,Symbol[_0x9d29d6(0x94)],{'value':_0x9d29d6(0xa1)});const o=require(_0x9d29d6(0x8c)),g=require('@univerjs-pro/exchange-client'),s=require(_0x9d29d6(0x8d)),C='docs-exchange-client.config',I={},u={'id':'exchange-client.operation.import-docx','type':o[_0x9d29d6(0xb4)][_0x9d29d6(0x83)],'handler':async _0xbd7ae7=>(_0xbd7ae7['get'](g[_0x9d29d6(0x8b)])[_0x9d29d6(0xa5)](),!0x0)},l={'id':_0x9d29d6(0x8a),'type':o[_0x9d29d6(0xb4)]['OPERATION'],'handler':async _0x1e088c=>(_0x1e088c[_0x9d29d6(0x7d)](g['IExchangeOperateService'])[_0x9d29d6(0x89)](),!0x0)},m=_0x9d29d6(0xa2);function O(_0x106a90){var _0x2fefd6=_0x9d29d6;return{'id':m,'type':s['MenuItemType'][_0x2fefd6(0x97)],'icon':'DirectExportSingle','tooltip':_0x2fefd6(0xa4),'hidden$':s['getMenuHiddenObservable'](_0x106a90,o[_0x2fefd6(0x92)][_0x2fefd6(0x84)])};}function E(){var _0x51921b=_0x9d29d6;return{'id':u['id'],'type':s[_0x51921b(0x9c)]['BUTTON'],'title':'exchange.upload','icon':_0x51921b(0x7f)};}function f(){var _0x276ea3=_0x9d29d6;return{'id':l['id'],'type':s[_0x276ea3(0x9c)][_0x276ea3(0xad)],'title':_0x276ea3(0xac),'icon':'ExportSingle'};}const x={[s['RibbonStartGroup'][_0x9d29d6(0x81)]]:{[m]:{'order':0x4,'menuItemFactory':O,[u['id']]:{'order':0x0,'menuItemFactory':E},[l['id']]:{'order':0x1,'menuItemFactory':f}}}};var D=Object[_0x9d29d6(0xa9)],P=Object['getOwnPropertyDescriptor'],S=(_0x3749f1,_0x299825,_0x239e2e,_0x1a8a0f)=>{var _0x267045=_0x9d29d6;for(var _0x594aa0=_0x1a8a0f>0x1?void 0x0:_0x1a8a0f?P(_0x299825,_0x239e2e):_0x299825,_0x2b1790=_0x3749f1[_0x267045(0xae)]-0x1,_0x4085b0;_0x2b1790>=0x0;_0x2b1790--)(_0x4085b0=_0x3749f1[_0x2b1790])&&(_0x594aa0=(_0x1a8a0f?_0x4085b0(_0x299825,_0x239e2e,_0x594aa0):_0x4085b0(_0x594aa0))||_0x594aa0);return _0x1a8a0f&&_0x594aa0&&D(_0x299825,_0x239e2e,_0x594aa0),_0x594aa0;},d=(_0x5d343a,_0x392e6f)=>(_0x3f16b5,_0x202cd7)=>_0x392e6f(_0x3f16b5,_0x202cd7,_0x5d343a);let p=class extends o[_0x9d29d6(0x98)]{constructor(_0x261b9b,_0x5e2d0e){var _0x3302bd=_0x9d29d6;super(),this[_0x3302bd(0x95)]=_0x261b9b,this[_0x3302bd(0x9d)]=_0x5e2d0e,this['_initCommands'](),this['_initMenus']();}[_0x9d29d6(0xa7)](){var _0x19e3e0=_0x9d29d6;[u,l][_0x19e3e0(0xa6)](_0x3a54e1=>{var _0x4fd095=_0x19e3e0;this[_0x4fd095(0xa8)](this[_0x4fd095(0x95)][_0x4fd095(0xb6)](_0x3a54e1));});}['_initMenus'](){var _0x81a503=_0x9d29d6;this[_0x81a503(0x9d)][_0x81a503(0x7e)](x);}};p=S([d(0x0,o[_0x9d29d6(0x82)]),d(0x1,s['IMenuManagerService'])],p);var h=Object['defineProperty'],y=Object[_0x9d29d6(0xb5)],U=(_0x4bfae6,_0x10774c,_0x102de3)=>_0x10774c in _0x4bfae6?h(_0x4bfae6,_0x10774c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x102de3}):_0x4bfae6[_0x10774c]=_0x102de3,T=(_0xc32fa6,_0x48c5c3,_0x531dd4,_0x3202b5)=>{var _0x2ad2b5=_0x9d29d6;for(var _0x191ef5=_0x3202b5>0x1?void 0x0:_0x3202b5?y(_0x48c5c3,_0x531dd4):_0x48c5c3,_0x3a5ccd=_0xc32fa6[_0x2ad2b5(0xae)]-0x1,_0x75bca8;_0x3a5ccd>=0x0;_0x3a5ccd--)(_0x75bca8=_0xc32fa6[_0x3a5ccd])&&(_0x191ef5=(_0x3202b5?_0x75bca8(_0x48c5c3,_0x531dd4,_0x191ef5):_0x75bca8(_0x191ef5))||_0x191ef5);return _0x3202b5&&_0x191ef5&&h(_0x48c5c3,_0x531dd4,_0x191ef5),_0x191ef5;},_=(_0x453dde,_0x28637c)=>(_0x53b201,_0x101f93)=>_0x28637c(_0x53b201,_0x101f93,_0x453dde),v=(_0x5dcb9a,_0x33802d,_0x34d5e9)=>U(_0x5dcb9a,typeof _0x33802d!='symbol'?_0x33802d+'':_0x33802d,_0x34d5e9);const N='DOC_EXCHANGE_CLIENT_PLUGIN';exports[_0x9d29d6(0x8e)]=class extends o['Plugin']{constructor(_0x396f55=I,_0x10896b,_0x4decd0){var _0x532730=_0x9d29d6;super(),this[_0x532730(0x85)]=_0x396f55,this[_0x532730(0x9b)]=_0x10896b,this[_0x532730(0x91)]=_0x4decd0;const {menu:_0x12b038,..._0x2f2c04}=this[_0x532730(0x85)];_0x12b038&&this['_configService'][_0x532730(0xb0)]('menu',_0x12b038,{'merge':!0x0}),this[_0x532730(0x91)][_0x532730(0xb0)](C,_0x2f2c04);}[_0x9d29d6(0x86)](){var _0x383f55=_0x9d29d6;[[p]][_0x383f55(0xa6)](_0x1dc577=>this[_0x383f55(0x9b)][_0x383f55(0x96)](_0x1dc577));}[_0x9d29d6(0x9a)](){var _0x580fa9=_0x9d29d6;this['_injector'][_0x580fa9(0x7d)](p);}},v(exports['UniverDocsExchangeClientPlugin'],_0x9d29d6(0xa0),N),v(exports[_0x9d29d6(0x8e)],_0x9d29d6(0xb2),o['UniverInstanceType']['UNIVER_DOC']),exports[_0x9d29d6(0x8e)]=T([o[_0x9d29d6(0x87)](g[_0x9d29d6(0x9f)]),_(0x1,o[_0x9d29d6(0x88)](o['Injector'])),_(0x2,o[_0x9d29d6(0x99)])],exports[_0x9d29d6(0x8e)]),exports[_0x9d29d6(0x90)]=l,exports[_0x9d29d6(0x93)]=u;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x2ab458=_0x5288;(function(_0x2dd457,_0x398781){var _0x4ddbcf=_0x5288,_0x10aef5=_0x2dd457();while(!![]){try{var _0x4ead33=parseInt(_0x4ddbcf(0x7b))/0x1+parseInt(_0x4ddbcf(0x9d))/0x2*(parseInt(_0x4ddbcf(0x9c))/0x3)+-parseInt(_0x4ddbcf(0x95))/0x4+-parseInt(_0x4ddbcf(0x92))/0x5*(parseInt(_0x4ddbcf(0x89))/0x6)+-parseInt(_0x4ddbcf(0xa8))/0x7+parseInt(_0x4ddbcf(0x87))/0x8*(parseInt(_0x4ddbcf(0x8e))/0x9)+parseInt(_0x4ddbcf(0x91))/0xa*(parseInt(_0x4ddbcf(0x83))/0xb);if(_0x4ead33===_0x398781)break;else _0x10aef5['push'](_0x10aef5['shift']());}catch(_0x23a6e0){_0x10aef5['push'](_0x10aef5['shift']());}}}(_0x5ea9,0x755a8));import{CommandType as _0x3cb7d5,UniverInstanceType as _0x3320d4,Disposable as _0x45fb02,ICommandService as _0x3c32f3,DependentOn as _0x108555,Inject as _0xc220ed,Injector as _0xf06808,Plugin as _0x426eb2,IConfigService as _0x50db0c}from'@univerjs/core';import{IExchangeOperateService as _0x44ffbe,UniverExchangeClientPlugin as _0x61a53c}from'@univerjs-pro/exchange-client';import{MenuItemType as _0x3fcb3b,getMenuHiddenObservable as _0x140940,RibbonStartGroup as _0x322716,IMenuManagerService as _0x3eee2e}from'@univerjs/ui';const M=_0x2ab458(0xa7),b={},d={'id':_0x2ab458(0x81),'type':_0x3cb7d5[_0x2ab458(0x8c)],'handler':async _0x5580d9=>(_0x5580d9['get'](_0x44ffbe)[_0x2ab458(0x7d)](),!0x0)},u={'id':_0x2ab458(0x98),'type':_0x3cb7d5[_0x2ab458(0x8c)],'handler':async _0x99bea=>(_0x99bea[_0x2ab458(0x8f)](_0x44ffbe)['exportDOCXByUnitId'](),!0x0)},f='docs-exchange-client.operation.exchange';function F(_0x2c14be){var _0x6ef39f=_0x2ab458;return{'id':f,'type':_0x3fcb3b[_0x6ef39f(0x93)],'icon':_0x6ef39f(0x86),'tooltip':_0x6ef39f(0x9e),'hidden$':_0x140940(_0x2c14be,_0x3320d4['UNIVER_DOC'])};}function X(){var _0x2f7fc6=_0x2ab458;return{'id':d['id'],'type':_0x3fcb3b[_0x2f7fc6(0x7c)],'title':_0x2f7fc6(0xa6),'icon':_0x2f7fc6(0x90)};}function G(){var _0x326c50=_0x2ab458;return{'id':u['id'],'type':_0x3fcb3b[_0x326c50(0x7c)],'title':'exchange.download','icon':'ExportSingle'};}const j={[_0x322716[_0x2ab458(0x9a)]]:{[f]:{'order':0x4,'menuItemFactory':F,[d['id']]:{'order':0x0,'menuItemFactory':X},[u['id']]:{'order':0x1,'menuItemFactory':G}}}};function _0x5288(_0x194a71,_0x42fe13){var _0x5ea91d=_0x5ea9();return _0x5288=function(_0x5288f5,_0x3d3ad8){_0x5288f5=_0x5288f5-0x7a;var _0x487ff5=_0x5ea91d[_0x5288f5];return _0x487ff5;},_0x5288(_0x194a71,_0x42fe13);}var R=Object[_0x2ab458(0x88)],w=Object[_0x2ab458(0xa0)],A=(_0x26f9ae,_0x2f2f28,_0x1b8ab9,_0x4b888f)=>{var _0x26ad95=_0x2ab458;for(var _0x26b556=_0x4b888f>0x1?void 0x0:_0x4b888f?w(_0x2f2f28,_0x1b8ab9):_0x2f2f28,_0x4a0475=_0x26f9ae[_0x26ad95(0x94)]-0x1,_0x3dc7d6;_0x4a0475>=0x0;_0x4a0475--)(_0x3dc7d6=_0x26f9ae[_0x4a0475])&&(_0x26b556=(_0x4b888f?_0x3dc7d6(_0x2f2f28,_0x1b8ab9,_0x26b556):_0x3dc7d6(_0x26b556))||_0x26b556);return _0x4b888f&&_0x26b556&&R(_0x2f2f28,_0x1b8ab9,_0x26b556),_0x26b556;},_=(_0x84b6b,_0x53e1ce)=>(_0x3fd0b5,_0x1ec904)=>_0x53e1ce(_0x3fd0b5,_0x1ec904,_0x84b6b);let a=class extends _0x45fb02{constructor(_0xd755aa,_0x310620){var _0xc2f10e=_0x2ab458;super(),this[_0xc2f10e(0x80)]=_0xd755aa,this['_menuManagerService']=_0x310620,this[_0xc2f10e(0x99)](),this[_0xc2f10e(0x9f)]();}[_0x2ab458(0x99)](){var _0x5f48f3=_0x2ab458;[d,u][_0x5f48f3(0x85)](_0x318f6c=>{var _0x25c990=_0x5f48f3;this[_0x25c990(0x7e)](this[_0x25c990(0x80)][_0x25c990(0x7a)](_0x318f6c));});}[_0x2ab458(0x9f)](){var _0x40e74c=_0x2ab458;this[_0x40e74c(0xa4)][_0x40e74c(0xa3)](j);}};a=A([_(0x0,_0x3c32f3),_(0x1,_0x3eee2e)],a);var v=Object[_0x2ab458(0x88)],L=Object[_0x2ab458(0xa0)],B=(_0x4c9c18,_0x6088eb,_0x16d989)=>_0x6088eb in _0x4c9c18?v(_0x4c9c18,_0x6088eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16d989}):_0x4c9c18[_0x6088eb]=_0x16d989,$=(_0x115a5a,_0x5ade9c,_0x4e8d2b,_0x1b22ff)=>{var _0x4e4817=_0x2ab458;for(var _0x344fcd=_0x1b22ff>0x1?void 0x0:_0x1b22ff?L(_0x5ade9c,_0x4e8d2b):_0x5ade9c,_0x5e2838=_0x115a5a[_0x4e4817(0x94)]-0x1,_0x2f7c9c;_0x5e2838>=0x0;_0x5e2838--)(_0x2f7c9c=_0x115a5a[_0x5e2838])&&(_0x344fcd=(_0x1b22ff?_0x2f7c9c(_0x5ade9c,_0x4e8d2b,_0x344fcd):_0x2f7c9c(_0x344fcd))||_0x344fcd);return _0x1b22ff&&_0x344fcd&&v(_0x5ade9c,_0x4e8d2b,_0x344fcd),_0x344fcd;},m=(_0x481ee2,_0x3c5c3d)=>(_0x545f8d,_0x42476b)=>_0x3c5c3d(_0x545f8d,_0x42476b,_0x481ee2),I=(_0x555664,_0x175db5,_0x23caf8)=>B(_0x555664,typeof _0x175db5!=_0x2ab458(0xa2)?_0x175db5+'':_0x175db5,_0x23caf8);const H=_0x2ab458(0x84);let s=class extends _0x426eb2{constructor(_0x24376b=b,_0xb2c9ce,_0x3d7849){var _0x1ecb3a=_0x2ab458;super(),this[_0x1ecb3a(0x97)]=_0x24376b,this[_0x1ecb3a(0x9b)]=_0xb2c9ce,this[_0x1ecb3a(0x8b)]=_0x3d7849;const {menu:_0x32b7c9,..._0x2a0d55}=this[_0x1ecb3a(0x97)];_0x32b7c9&&this['_configService'][_0x1ecb3a(0x96)](_0x1ecb3a(0x8d),_0x32b7c9,{'merge':!0x0}),this[_0x1ecb3a(0x8b)][_0x1ecb3a(0x96)](M,_0x2a0d55);}[_0x2ab458(0xa1)](){var _0xb76c70=_0x2ab458;[[a]][_0xb76c70(0x85)](_0x188406=>this[_0xb76c70(0x9b)][_0xb76c70(0x7f)](_0x188406));}[_0x2ab458(0xa5)](){var _0x400520=_0x2ab458;this[_0x400520(0x9b)]['get'](a);}};I(s,_0x2ab458(0x82),H),I(s,_0x2ab458(0x8a),_0x3320d4['UNIVER_DOC']),s=$([_0x108555(_0x61a53c),m(0x1,_0xc220ed(_0xf06808)),m(0x2,_0x50db0c)],s);export{u as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};function _0x5ea9(){var _0x268ae6=['_configService','OPERATION','menu','9DkrzUr','get','FolderSingle','1098110pZaQnp','2812025KpeafG','SUBITEMS','length','961788Alugfp','setConfig','_config','exchange-client.operation.export-docx','_initCommands','FILE','_injector','43965eygnPN','128xXKRLp','exchange.file','_initMenus','getOwnPropertyDescriptor','onStarting','symbol','mergeMenu','_menuManagerService','onReady','exchange.upload','docs-exchange-client.config','4844133wnKvHu','registerCommand','543396CaLzLF','BUTTON','importDOCXToUnitId','disposeWithMe','add','_commandService','exchange-client.operation.import-docx','pluginName','44SdtVDi','DOC_EXCHANGE_CLIENT_PLUGIN','forEach','DirectExportSingle','439928VaWNuf','defineProperty','6uhrVme','type'];_0x5ea9=function(){return _0x268ae6;};return _0x5ea9();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1699(_0x489c8a,_0x173650){var _0x341cec=_0x341c();return _0x1699=function(_0x169904,_0x4366da){_0x169904=_0x169904-0x83;var _0x26d3bb=_0x341cec[_0x169904];return _0x26d3bb;},_0x1699(_0x489c8a,_0x173650);}function _0x341c(){var _0x17b2f7=['2221856jwUnrl','RibbonStartGroup','ImportDOCXOperation','setConfig','onStarting','symbol','exports','_commandService','Inject','disposeWithMe','UniverDocsExchangeClientPlugin','1700GJnskD','UniverCore','importDOCXToUnitId','FILE','pluginName','ExportDOCXOperation','@univerjs-pro/exchange-client','docs-exchange-client.config','MenuItemType','amd','ICommandService','getOwnPropertyDescriptor','@univerjs/ui','exchange.file','IExchangeOperateService','exchange-client.operation.export-docx','registerCommand','docs-exchange-client.operation.exchange','onReady','type','_initMenus','_initCommands','length','_configService','SUBITEMS','getMenuHiddenObservable','157QMbdJT','UniverInstanceType','_injector','toStringTag','defineProperty','966110DnqGyT','mergeMenu','636288wgDpss','ExportSingle','UniverExchangeClientPlugin','Injector','function','CommandType','_menuManagerService','BUTTON','OPERATION','forEach','add','object','3923424CfsNTr','UniverDocsExchangeClient','UniverExchangeClient','@univerjs/core','_config','DependentOn','1295982MxTKCJ','exchange.download','exchange-client.operation.import-docx','818895ObwvRq','exportDOCXByUnitId','IConfigService','Module','DOC_EXCHANGE_CLIENT_PLUGIN','UNIVER_DOC'];_0x341c=function(){return _0x17b2f7;};return _0x341c();}(function(_0x5e665d,_0x3c6bd2){var _0x3dae79=_0x1699,_0x569b44=_0x5e665d();while(!![]){try{var _0x44653e=parseInt(_0x3dae79(0xc6))/0x1*(parseInt(_0x3dae79(0xac))/0x2)+parseInt(_0x3dae79(0x9b))/0x3+parseInt(_0x3dae79(0x86))/0x4+parseInt(_0x3dae79(0x84))/0x5+parseInt(_0x3dae79(0x98))/0x6+-parseInt(_0x3dae79(0xa1))/0x7+-parseInt(_0x3dae79(0x92))/0x8;if(_0x44653e===_0x3c6bd2)break;else _0x569b44['push'](_0x569b44['shift']());}catch(_0x5aa15e){_0x569b44['push'](_0x569b44['shift']());}}}(_0x341c,0x28bd6),function(_0x5286bb,_0x6dd6bf){var _0x52782f=_0x1699;typeof exports==_0x52782f(0x91)&&typeof module<'u'?_0x6dd6bf(exports,require(_0x52782f(0x95)),require(_0x52782f(0xb2)),require(_0x52782f(0xb8))):typeof define==_0x52782f(0x8a)&&define[_0x52782f(0xb5)]?define([_0x52782f(0xa7),_0x52782f(0x95),_0x52782f(0xb2),_0x52782f(0xb8)],_0x6dd6bf):(_0x5286bb=typeof globalThis<'u'?globalThis:_0x5286bb||self,_0x6dd6bf(_0x5286bb[_0x52782f(0x93)]={},_0x5286bb[_0x52782f(0xad)],_0x5286bb[_0x52782f(0x94)],_0x5286bb['UniverUi']));}(this,function(_0x30e89c,_0x49e4e7,_0x1d011e,_0x2f3318){'use strict';var _0x2c252c=_0x1699;const _0x4cf811=_0x2c252c(0xb3),_0x410f2f={},_0x30973c={'id':_0x2c252c(0x9a),'type':_0x49e4e7[_0x2c252c(0x8b)][_0x2c252c(0x8e)],'handler':async _0xe8a5a3=>(_0xe8a5a3['get'](_0x1d011e[_0x2c252c(0xba)])[_0x2c252c(0xae)](),!0x0)},_0x540075={'id':_0x2c252c(0xbb),'type':_0x49e4e7[_0x2c252c(0x8b)][_0x2c252c(0x8e)],'handler':async _0x44518b=>(_0x44518b['get'](_0x1d011e[_0x2c252c(0xba)])[_0x2c252c(0x9c)](),!0x0)},_0x17c635=_0x2c252c(0xbd);function _0x5472c1(_0x46b0b1){var _0x37374f=_0x2c252c;return{'id':_0x17c635,'type':_0x2f3318[_0x37374f(0xb4)][_0x37374f(0xc4)],'icon':'DirectExportSingle','tooltip':_0x37374f(0xb9),'hidden$':_0x2f3318[_0x37374f(0xc5)](_0x46b0b1,_0x49e4e7[_0x37374f(0xc7)][_0x37374f(0xa0)])};}function _0x24e0c3(){var _0x15b6c2=_0x2c252c;return{'id':_0x30973c['id'],'type':_0x2f3318['MenuItemType'][_0x15b6c2(0x8d)],'title':'exchange.upload','icon':'FolderSingle'};}function _0x38cb3b(){var _0x2d20d4=_0x2c252c;return{'id':_0x540075['id'],'type':_0x2f3318[_0x2d20d4(0xb4)][_0x2d20d4(0x8d)],'title':_0x2d20d4(0x99),'icon':_0x2d20d4(0x87)};}const _0xa5e390={[_0x2f3318[_0x2c252c(0xa2)][_0x2c252c(0xaf)]]:{[_0x17c635]:{'order':0x4,'menuItemFactory':_0x5472c1,[_0x30973c['id']]:{'order':0x0,'menuItemFactory':_0x24e0c3},[_0x540075['id']]:{'order':0x1,'menuItemFactory':_0x38cb3b}}}};var _0x474cfe=Object['defineProperty'],_0x123a8f=Object[_0x2c252c(0xb7)],_0x4974d7=(_0x295047,_0x362bec,_0x53ae20,_0x4796cf)=>{var _0x185a22=_0x2c252c;for(var _0x456754=_0x4796cf>0x1?void 0x0:_0x4796cf?_0x123a8f(_0x362bec,_0x53ae20):_0x362bec,_0x5667df=_0x295047[_0x185a22(0xc2)]-0x1,_0x19f25f;_0x5667df>=0x0;_0x5667df--)(_0x19f25f=_0x295047[_0x5667df])&&(_0x456754=(_0x4796cf?_0x19f25f(_0x362bec,_0x53ae20,_0x456754):_0x19f25f(_0x456754))||_0x456754);return _0x4796cf&&_0x456754&&_0x474cfe(_0x362bec,_0x53ae20,_0x456754),_0x456754;},_0x279831=(_0x556c8a,_0x411303)=>(_0x38808d,_0x426baa)=>_0x411303(_0x38808d,_0x426baa,_0x556c8a);let _0x3370ec=class extends _0x49e4e7['Disposable']{constructor(_0x4fc350,_0x564316){var _0x4814bc=_0x2c252c;super(),this[_0x4814bc(0xa8)]=_0x4fc350,this[_0x4814bc(0x8c)]=_0x564316,this[_0x4814bc(0xc1)](),this['_initMenus']();}[_0x2c252c(0xc1)](){[_0x30973c,_0x540075]['forEach'](_0x35b2b7=>{var _0x2c37d1=_0x1699;this[_0x2c37d1(0xaa)](this[_0x2c37d1(0xa8)][_0x2c37d1(0xbc)](_0x35b2b7));});}[_0x2c252c(0xc0)](){var _0x6b07f6=_0x2c252c;this[_0x6b07f6(0x8c)][_0x6b07f6(0x85)](_0xa5e390);}};_0x3370ec=_0x4974d7([_0x279831(0x0,_0x49e4e7[_0x2c252c(0xb6)]),_0x279831(0x1,_0x2f3318['IMenuManagerService'])],_0x3370ec);var _0x57e212=Object[_0x2c252c(0x83)],_0x15fcd6=Object[_0x2c252c(0xb7)],_0x5b3f7f=(_0x5e15b1,_0xa9e097,_0x2c6336)=>_0xa9e097 in _0x5e15b1?_0x57e212(_0x5e15b1,_0xa9e097,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c6336}):_0x5e15b1[_0xa9e097]=_0x2c6336,_0x9c3b49=(_0x3a50e0,_0x1558ea,_0x8ce9e2,_0x503f93)=>{var _0x12b204=_0x2c252c;for(var _0x478879=_0x503f93>0x1?void 0x0:_0x503f93?_0x15fcd6(_0x1558ea,_0x8ce9e2):_0x1558ea,_0x33903e=_0x3a50e0[_0x12b204(0xc2)]-0x1,_0x5bee1a;_0x33903e>=0x0;_0x33903e--)(_0x5bee1a=_0x3a50e0[_0x33903e])&&(_0x478879=(_0x503f93?_0x5bee1a(_0x1558ea,_0x8ce9e2,_0x478879):_0x5bee1a(_0x478879))||_0x478879);return _0x503f93&&_0x478879&&_0x57e212(_0x1558ea,_0x8ce9e2,_0x478879),_0x478879;},_0x3a98dc=(_0x25525d,_0x3bf700)=>(_0x52605f,_0x3cb12a)=>_0x3bf700(_0x52605f,_0x3cb12a,_0x25525d),_0x3807c9=(_0x59abde,_0x5f5bef,_0x2c628d)=>_0x5b3f7f(_0x59abde,typeof _0x5f5bef!=_0x2c252c(0xa6)?_0x5f5bef+'':_0x5f5bef,_0x2c628d);const _0x2efa14=_0x2c252c(0x9f);_0x30e89c[_0x2c252c(0xab)]=class extends _0x49e4e7['Plugin']{constructor(_0x234638=_0x410f2f,_0x4548b3,_0x5ad228){var _0x21ecd1=_0x2c252c;super(),this[_0x21ecd1(0x96)]=_0x234638,this[_0x21ecd1(0xc8)]=_0x4548b3,this['_configService']=_0x5ad228;const {menu:_0x4769dd,..._0x242a32}=this['_config'];_0x4769dd&&this[_0x21ecd1(0xc3)][_0x21ecd1(0xa4)]('menu',_0x4769dd,{'merge':!0x0}),this[_0x21ecd1(0xc3)][_0x21ecd1(0xa4)](_0x4cf811,_0x242a32);}[_0x2c252c(0xa5)](){var _0x9de348=_0x2c252c;[[_0x3370ec]][_0x9de348(0x8f)](_0x325e8a=>this['_injector'][_0x9de348(0x90)](_0x325e8a));}[_0x2c252c(0xbe)](){this['_injector']['get'](_0x3370ec);}},_0x3807c9(_0x30e89c[_0x2c252c(0xab)],_0x2c252c(0xb0),_0x2efa14),_0x3807c9(_0x30e89c['UniverDocsExchangeClientPlugin'],_0x2c252c(0xbf),_0x49e4e7[_0x2c252c(0xc7)][_0x2c252c(0xa0)]),_0x30e89c[_0x2c252c(0xab)]=_0x9c3b49([_0x49e4e7[_0x2c252c(0x97)](_0x1d011e[_0x2c252c(0x88)]),_0x3a98dc(0x1,_0x49e4e7[_0x2c252c(0xa9)](_0x49e4e7[_0x2c252c(0x89)])),_0x3a98dc(0x2,_0x49e4e7[_0x2c252c(0x9d)])],_0x30e89c[_0x2c252c(0xab)]),_0x30e89c[_0x2c252c(0xb1)]=_0x540075,_0x30e89c[_0x2c252c(0xa3)]=_0x30973c,Object['defineProperty'](_0x30e89c,Symbol[_0x2c252c(0xc9)],{'value':_0x2c252c(0x9e)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-exchange-client",
|
|
3
|
-
"version": "0.5.0-
|
|
3
|
+
"version": "0.5.0-nightly.202411101605",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@univerjs/icons": "^0.2.5",
|
|
46
|
+
"@univerjs/core": "0.5.0-nightly.202411101605",
|
|
47
|
+
"@univerjs-pro/exchange-client": "0.5.0-nightly.202411101605",
|
|
46
48
|
"@univerjs/protocol": "0.1.39-alpha.38",
|
|
47
|
-
"@univerjs/ui": "0.5.0-
|
|
48
|
-
"@univerjs-pro/exchange-client": "0.5.0-alpha.0",
|
|
49
|
-
"@univerjs/core": "0.5.0-alpha.0"
|
|
49
|
+
"@univerjs/ui": "0.5.0-nightly.202411101605"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"less": "^4.2.0",
|