@univerjs-pro/docs-exchange-client 0.5.5 → 0.6.0-experimental.20250125-1d060b9
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 +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x2fb412=_0x3908;(function(_0x420320,_0xfbce89){var _0x5913d4=_0x3908,_0x3d9fbf=_0x420320();while(!![]){try{var _0xc3e8f3=-parseInt(_0x5913d4(0x1c5))/0x1*(parseInt(_0x5913d4(0x1ac))/0x2)+-parseInt(_0x5913d4(0x1e0))/0x3+-parseInt(_0x5913d4(0x1c4))/0x4+-parseInt(_0x5913d4(0x1ba))/0x5+parseInt(_0x5913d4(0x1de))/0x6*(parseInt(_0x5913d4(0x1d8))/0x7)+parseInt(_0x5913d4(0x1c2))/0x8+parseInt(_0x5913d4(0x1e9))/0x9*(parseInt(_0x5913d4(0x1db))/0xa);if(_0xc3e8f3===_0xfbce89)break;else _0x3d9fbf['push'](_0x3d9fbf['shift']());}catch(_0x3db678){_0x3d9fbf['push'](_0x3d9fbf['shift']());}}}(_0x2985,0xb8b06));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2fb412(0x1d9)});const l=require(_0x2fb412(0x1a7)),o=require(_0x2fb412(0x1c3)),s=require('@univerjs/ui'),I=_0x2fb412(0x1d4),d={},p={'id':_0x2fb412(0x1e6),'type':o[_0x2fb412(0x1b6)][_0x2fb412(0x1cd)],'handler':async _0x4425b1=>(_0x4425b1[_0x2fb412(0x1be)](l[_0x2fb412(0x1a6)])[_0x2fb412(0x1ad)](),!0x0)},g={'id':_0x2fb412(0x1d3),'type':o['CommandType'][_0x2fb412(0x1cd)],'handler':async _0x3eb80e=>(_0x3eb80e['get'](l[_0x2fb412(0x1a6)])['exportDOCXByUnitId'](),!0x0)},h=_0x2fb412(0x1bf);function O(_0x29a228){var _0x53977f=_0x2fb412;return{'id':h,'type':s[_0x53977f(0x1d1)][_0x53977f(0x1d7)],'icon':_0x53977f(0x1b5),'tooltip':_0x53977f(0x1c0),'hidden$':s[_0x53977f(0x1e8)](_0x29a228,o[_0x53977f(0x1bb)]['UNIVER_DOC'])};}function E(){var _0x4ce68e=_0x2fb412;return{'id':p['id'],'type':s[_0x4ce68e(0x1d1)]['BUTTON'],'title':_0x4ce68e(0x1aa),'icon':_0x4ce68e(0x1bc)};}function f(){var _0xa74387=_0x2fb412;return{'id':g['id'],'type':s[_0xa74387(0x1d1)][_0xa74387(0x1af)],'title':'exchange.download','icon':_0xa74387(0x1b8)};}function _0x2985(){var _0x3024c4=['menu','setConfig','registerCommand','pluginName','_initMenus','exchange-client.operation.import-docx','ImportDOCXOperation','getMenuHiddenObservable','23238ShTmqC','UNIVER_DOC','IExchangeOperateService','@univerjs-pro/exchange-client','Disposable','Inject','exchange.upload','mergeMenu','8266YYmlZf','importDOCXToUnitId','merge','BUTTON','onReady','_configService','UniverDocsExchangeClientPlugin','symbol','length','DirectExportSingle','CommandType','type','ExportSingle','add','5814345vEVUEf','UniverInstanceType','FolderSingle','Plugin','get','docs-exchange-client.operation.exchange','exchange.file','disposeWithMe','2693256CeGIHh','@univerjs/core','4902304lSlkPW','31JHSRTO','getOwnPropertyDescriptor','defineProperty','DOC_EXCHANGE_CLIENT_PLUGIN','_initCommands','_injector','_menuManagerService','_commandService','OPERATION','RibbonStartGroup','FILE','forEach','MenuItemType','IConfigService','exchange-client.operation.export-docx','docs-exchange-client.config','ExportDOCXOperation','_config','SUBITEMS','1872997oOlIVq','Module','UniverExchangeClientPlugin','13980IVQQNc','onStarting','IMenuManagerService','6ooazEi','ICommandService','2822430KWdiBX'];_0x2985=function(){return _0x3024c4;};return _0x2985();}const x={[s[_0x2fb412(0x1ce)][_0x2fb412(0x1cf)]]:{[h]:{'order':0x4,'menuItemFactory':O,[p['id']]:{'order':0x0,'menuItemFactory':E},[g['id']]:{'order':0x1,'menuItemFactory':f}}}};var D=Object[_0x2fb412(0x1c7)],S=Object[_0x2fb412(0x1c6)],P=(_0x280d6c,_0x94e88c,_0x2c5f40,_0x186ca4)=>{for(var _0x243a3a=_0x186ca4>0x1?void 0x0:_0x186ca4?S(_0x94e88c,_0x2c5f40):_0x94e88c,_0x4903e6=_0x280d6c['length']-0x1,_0x4313f7;_0x4903e6>=0x0;_0x4903e6--)(_0x4313f7=_0x280d6c[_0x4903e6])&&(_0x243a3a=(_0x186ca4?_0x4313f7(_0x94e88c,_0x2c5f40,_0x243a3a):_0x4313f7(_0x243a3a))||_0x243a3a);return _0x186ca4&&_0x243a3a&&D(_0x94e88c,_0x2c5f40,_0x243a3a),_0x243a3a;},_=(_0x1288b8,_0x445a54)=>(_0x30de2f,_0x13c89c)=>_0x445a54(_0x30de2f,_0x13c89c,_0x1288b8);let u=class extends o[_0x2fb412(0x1a8)]{constructor(_0x2f9dc8,_0x39f1bc){var _0x27a02a=_0x2fb412;super(),this[_0x27a02a(0x1cc)]=_0x2f9dc8,this[_0x27a02a(0x1cb)]=_0x39f1bc,this[_0x27a02a(0x1c9)](),this[_0x27a02a(0x1e5)]();}[_0x2fb412(0x1c9)](){var _0x5b6c50=_0x2fb412;[p,g][_0x5b6c50(0x1d0)](_0xc4b0c=>{var _0x94b36=_0x5b6c50;this[_0x94b36(0x1c1)](this['_commandService'][_0x94b36(0x1e3)](_0xc4b0c));});}['_initMenus'](){var _0xcec550=_0x2fb412;this['_menuManagerService'][_0xcec550(0x1ab)](x);}};u=P([_(0x0,o[_0x2fb412(0x1df)]),_(0x1,s[_0x2fb412(0x1dd)])],u);var C=Object['defineProperty'],y=Object[_0x2fb412(0x1c6)],T=(_0x2c9419,_0x5a598e,_0x4bd265)=>_0x5a598e in _0x2c9419?C(_0x2c9419,_0x5a598e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bd265}):_0x2c9419[_0x5a598e]=_0x4bd265,U=(_0x30e85d,_0x5e881a,_0x5be37f,_0x16b86b)=>{var _0x4ecb19=_0x2fb412;for(var _0x54a715=_0x16b86b>0x1?void 0x0:_0x16b86b?y(_0x5e881a,_0x5be37f):_0x5e881a,_0x3b25cc=_0x30e85d[_0x4ecb19(0x1b4)]-0x1,_0x467f43;_0x3b25cc>=0x0;_0x3b25cc--)(_0x467f43=_0x30e85d[_0x3b25cc])&&(_0x54a715=(_0x16b86b?_0x467f43(_0x5e881a,_0x5be37f,_0x54a715):_0x467f43(_0x54a715))||_0x54a715);return _0x16b86b&&_0x54a715&&C(_0x5e881a,_0x5be37f,_0x54a715),_0x54a715;},m=(_0x8c7518,_0x5f4ea8)=>(_0x41c513,_0x5ef132)=>_0x5f4ea8(_0x41c513,_0x5ef132,_0x8c7518),v=(_0x1c252f,_0x40553b,_0x4b793a)=>T(_0x1c252f,typeof _0x40553b!=_0x2fb412(0x1b3)?_0x40553b+'':_0x40553b,_0x4b793a);function _0x3908(_0x4e69e4,_0x2f117f){var _0x2985a0=_0x2985();return _0x3908=function(_0x390840,_0x2b63b1){_0x390840=_0x390840-0x1a5;var _0x4844a6=_0x2985a0[_0x390840];return _0x4844a6;},_0x3908(_0x4e69e4,_0x2f117f);}const N=_0x2fb412(0x1c8);exports[_0x2fb412(0x1b2)]=class extends o[_0x2fb412(0x1bd)]{constructor(_0x2b2d71=d,_0x4d2417,_0x32c834){var _0x243e56=_0x2fb412;super(),this[_0x243e56(0x1d6)]=_0x2b2d71,this[_0x243e56(0x1ca)]=_0x4d2417,this[_0x243e56(0x1b1)]=_0x32c834;const {menu:_0x3bcdcf,..._0x18d0c6}=o[_0x243e56(0x1ae)]({},d,this['_config']);_0x3bcdcf&&this['_configService'][_0x243e56(0x1e2)](_0x243e56(0x1e1),_0x3bcdcf,{'merge':!0x0}),this['_configService']['setConfig'](I,_0x18d0c6);}[_0x2fb412(0x1dc)](){var _0x269130=_0x2fb412;[[u]][_0x269130(0x1d0)](_0x330a14=>this[_0x269130(0x1ca)][_0x269130(0x1b9)](_0x330a14));}[_0x2fb412(0x1b0)](){var _0x24f9a0=_0x2fb412;this[_0x24f9a0(0x1ca)]['get'](u);}},v(exports[_0x2fb412(0x1b2)],_0x2fb412(0x1e4),N),v(exports['UniverDocsExchangeClientPlugin'],_0x2fb412(0x1b7),o[_0x2fb412(0x1bb)][_0x2fb412(0x1a5)]),exports[_0x2fb412(0x1b2)]=U([o['DependentOn'](l[_0x2fb412(0x1da)]),m(0x1,o[_0x2fb412(0x1a9)](o['Injector'])),m(0x2,o[_0x2fb412(0x1d2)])],exports[_0x2fb412(0x1b2)]),exports[_0x2fb412(0x1d5)]=g,exports[_0x2fb412(0x1e7)]=p;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0xef1daf=_0x1765;(function(_0x19669a,_0x1880c3){var _0x334ed0=_0x1765,_0x36f56e=_0x19669a();while(!![]){try{var _0x28ef3e=parseInt(_0x334ed0(0x13b))/0x1*(parseInt(_0x334ed0(0x12e))/0x2)+parseInt(_0x334ed0(0x147))/0x3+-parseInt(_0x334ed0(0x150))/0x4+parseInt(_0x334ed0(0x138))/0x5+parseInt(_0x334ed0(0x130))/0x6*(-parseInt(_0x334ed0(0x14d))/0x7)+-parseInt(_0x334ed0(0x12a))/0x8+-parseInt(_0x334ed0(0x146))/0x9*(-parseInt(_0x334ed0(0x14f))/0xa);if(_0x28ef3e===_0x1880c3)break;else _0x36f56e['push'](_0x36f56e['shift']());}catch(_0x35a93e){_0x36f56e['push'](_0x36f56e['shift']());}}}(_0x278f,0x54713));import{IExchangeOperateService as _0x709fcf,UniverExchangeClientPlugin as _0xcca9ac}from'@univerjs-pro/exchange-client';import{CommandType as _0x3cd5bd,UniverInstanceType as _0x2f054d,Disposable as _0x23dbf5,ICommandService as _0x9537de,DependentOn as _0x22d006,Inject as _0xb771a2,Injector as _0x1a9a81,Plugin as _0x4b726c,merge as _0x341f0e,IConfigService as _0x4e503f}from'@univerjs/core';function _0x1765(_0x2dac5b,_0x363607){var _0x278fab=_0x278f();return _0x1765=function(_0x176596,_0x3d7e16){_0x176596=_0x176596-0x129;var _0x433fcb=_0x278fab[_0x176596];return _0x433fcb;},_0x1765(_0x2dac5b,_0x363607);}import{MenuItemType as _0x42fec3,getMenuHiddenObservable as _0x202d9d,RibbonStartGroup as _0x25e790,IMenuManagerService as _0x27236b}from'@univerjs/ui';const F='docs-exchange-client.config',u={},_={'id':_0xef1daf(0x149),'type':_0x3cd5bd[_0xef1daf(0x135)],'handler':async _0x14a1cd=>(_0x14a1cd[_0xef1daf(0x144)](_0x709fcf)[_0xef1daf(0x14b)](),!0x0)},d={'id':_0xef1daf(0x13c),'type':_0x3cd5bd[_0xef1daf(0x135)],'handler':async _0x4faa54=>(_0x4faa54[_0xef1daf(0x144)](_0x709fcf)[_0xef1daf(0x134)](),!0x0)},C='docs-exchange-client.operation.exchange';function X(_0x348265){var _0x58b941=_0xef1daf;return{'id':C,'type':_0x42fec3['SUBITEMS'],'icon':_0x58b941(0x139),'tooltip':'exchange.file','hidden$':_0x202d9d(_0x348265,_0x2f054d['UNIVER_DOC'])};}function G(){var _0xdf100e=_0xef1daf;return{'id':_['id'],'type':_0x42fec3[_0xdf100e(0x13e)],'title':'exchange.upload','icon':_0xdf100e(0x137)};}function j(){var _0xa8e61d=_0xef1daf;return{'id':d['id'],'type':_0x42fec3[_0xa8e61d(0x13e)],'title':'exchange.download','icon':'ExportSingle'};}const A={[_0x25e790['FILE']]:{[C]:{'order':0x4,'menuItemFactory':X,[_['id']]:{'order':0x0,'menuItemFactory':G},[d['id']]:{'order':0x1,'menuItemFactory':j}}}};var L=Object['defineProperty'],R=Object[_0xef1daf(0x136)],w=(_0x36371c,_0x3f2c21,_0x3d56a5,_0x24eeba)=>{var _0x496bdc=_0xef1daf;for(var _0x310285=_0x24eeba>0x1?void 0x0:_0x24eeba?R(_0x3f2c21,_0x3d56a5):_0x3f2c21,_0x33bcda=_0x36371c[_0x496bdc(0x145)]-0x1,_0x1052ce;_0x33bcda>=0x0;_0x33bcda--)(_0x1052ce=_0x36371c[_0x33bcda])&&(_0x310285=(_0x24eeba?_0x1052ce(_0x3f2c21,_0x3d56a5,_0x310285):_0x1052ce(_0x310285))||_0x310285);return _0x24eeba&&_0x310285&&L(_0x3f2c21,_0x3d56a5,_0x310285),_0x310285;},m=(_0x171eca,_0x222d00)=>(_0x227e2c,_0xdd4254)=>_0x222d00(_0x227e2c,_0xdd4254,_0x171eca);let a=class extends _0x23dbf5{constructor(_0x57a3f7,_0x196761){var _0x2ad294=_0xef1daf;super(),this[_0x2ad294(0x148)]=_0x57a3f7,this[_0x2ad294(0x143)]=_0x196761,this[_0x2ad294(0x12f)](),this[_0x2ad294(0x13d)]();}[_0xef1daf(0x12f)](){var _0x33be08=_0xef1daf;[_,d][_0x33be08(0x133)](_0x2ecddb=>{var _0x56925f=_0x33be08;this[_0x56925f(0x12b)](this['_commandService'][_0x56925f(0x13f)](_0x2ecddb));});}['_initMenus'](){var _0x1fc033=_0xef1daf;this[_0x1fc033(0x143)][_0x1fc033(0x12d)](A);}};a=w([m(0x0,_0x9537de),m(0x1,_0x27236b)],a);var I=Object[_0xef1daf(0x14e)],B=Object[_0xef1daf(0x136)],H=(_0x49b2b9,_0x4231c1,_0x3ab9ca)=>_0x4231c1 in _0x49b2b9?I(_0x49b2b9,_0x4231c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab9ca}):_0x49b2b9[_0x4231c1]=_0x3ab9ca,$=(_0x8fc200,_0x3610f6,_0x590d89,_0x3f3323)=>{var _0x3fa9b9=_0xef1daf;for(var _0x501d0d=_0x3f3323>0x1?void 0x0:_0x3f3323?B(_0x3610f6,_0x590d89):_0x3610f6,_0x165611=_0x8fc200[_0x3fa9b9(0x145)]-0x1,_0x4d3ad8;_0x165611>=0x0;_0x165611--)(_0x4d3ad8=_0x8fc200[_0x165611])&&(_0x501d0d=(_0x3f3323?_0x4d3ad8(_0x3610f6,_0x590d89,_0x501d0d):_0x4d3ad8(_0x501d0d))||_0x501d0d);return _0x3f3323&&_0x501d0d&&I(_0x3610f6,_0x590d89,_0x501d0d),_0x501d0d;},l=(_0x182ead,_0x29e9e8)=>(_0x14b0b3,_0x100bb8)=>_0x29e9e8(_0x14b0b3,_0x100bb8,_0x182ead),O=(_0x371dd4,_0x4d316d,_0x564f90)=>H(_0x371dd4,typeof _0x4d316d!=_0xef1daf(0x12c)?_0x4d316d+'':_0x4d316d,_0x564f90);function _0x278f(){var _0x46878a=['UNIVER_DOC','5141216acvsUD','disposeWithMe','symbol','mergeMenu','6LJdNrT','_initCommands','43374UiWZHp','onStarting','_config','forEach','exportDOCXByUnitId','OPERATION','getOwnPropertyDescriptor','FolderSingle','322225yhlgOq','DirectExportSingle','menu','141868tKGlDK','exchange-client.operation.export-docx','_initMenus','BUTTON','registerCommand','_injector','pluginName','DOC_EXCHANGE_CLIENT_PLUGIN','_menuManagerService','get','length','207orwsVY','1860831lrqPPj','_commandService','exchange-client.operation.import-docx','setConfig','importDOCXToUnitId','_configService','154TbAbqZ','defineProperty','119270enUafZ','948328WooEwu','onReady'];_0x278f=function(){return _0x46878a;};return _0x278f();}const V=_0xef1daf(0x142);let s=class extends _0x4b726c{constructor(_0x1eb1e5=u,_0x144f2d,_0x162692){var _0x3ef953=_0xef1daf;super(),this[_0x3ef953(0x132)]=_0x1eb1e5,this['_injector']=_0x144f2d,this[_0x3ef953(0x14c)]=_0x162692;const {menu:_0x63b20e,..._0x18441a}=_0x341f0e({},u,this[_0x3ef953(0x132)]);_0x63b20e&&this[_0x3ef953(0x14c)][_0x3ef953(0x14a)](_0x3ef953(0x13a),_0x63b20e,{'merge':!0x0}),this[_0x3ef953(0x14c)][_0x3ef953(0x14a)](F,_0x18441a);}[_0xef1daf(0x131)](){var _0x135785=_0xef1daf;[[a]][_0x135785(0x133)](_0x126dee=>this[_0x135785(0x140)]['add'](_0x126dee));}[_0xef1daf(0x151)](){var _0x2c1b46=_0xef1daf;this[_0x2c1b46(0x140)][_0x2c1b46(0x144)](a);}};O(s,_0xef1daf(0x141),V),O(s,'type',_0x2f054d[_0xef1daf(0x129)]),s=$([_0x22d006(_0xcca9ac),l(0x1,_0xb771a2(_0x1a9a81)),l(0x2,_0x4e503f)],s);export{d as ExportDOCXOperation,_ as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2c5928,_0x5f376c){var _0x11ebc8=_0x1d6f,_0x576b66=_0x2c5928();while(!![]){try{var _0x383036=parseInt(_0x11ebc8(0x15a))/0x1*(parseInt(_0x11ebc8(0x132))/0x2)+-parseInt(_0x11ebc8(0x13d))/0x3+-parseInt(_0x11ebc8(0x113))/0x4*(parseInt(_0x11ebc8(0x151))/0x5)+parseInt(_0x11ebc8(0x158))/0x6*(parseInt(_0x11ebc8(0x114))/0x7)+parseInt(_0x11ebc8(0x12c))/0x8*(parseInt(_0x11ebc8(0x145))/0x9)+parseInt(_0x11ebc8(0x142))/0xa+parseInt(_0x11ebc8(0x13a))/0xb*(-parseInt(_0x11ebc8(0x14f))/0xc);if(_0x383036===_0x5f376c)break;else _0x576b66['push'](_0x576b66['shift']());}catch(_0x142904){_0x576b66['push'](_0x576b66['shift']());}}}(_0xc6a5,0xae458),function(_0x25fea1,_0x193059){var _0x3831e3=_0x1d6f;typeof exports==_0x3831e3(0x155)&&typeof module<'u'?_0x193059(exports,require(_0x3831e3(0x11a)),require(_0x3831e3(0x117)),require('@univerjs/ui')):typeof define==_0x3831e3(0x12a)&&define[_0x3831e3(0x11f)]?define([_0x3831e3(0x14d),_0x3831e3(0x11a),_0x3831e3(0x117),_0x3831e3(0x144)],_0x193059):(_0x25fea1=typeof globalThis<'u'?globalThis:_0x25fea1||self,_0x193059(_0x25fea1[_0x3831e3(0x147)]={},_0x25fea1[_0x3831e3(0x153)],_0x25fea1[_0x3831e3(0x141)],_0x25fea1[_0x3831e3(0x126)]));}(this,function(_0x1eabad,_0x45c2a6,_0x100e95,_0x30cefc){'use strict';var _0x2f424f=_0x1d6f;const _0x18162e=_0x2f424f(0x150),_0x3e06c2={},_0xa6e38a={'id':'exchange-client.operation.import-docx','type':_0x100e95['CommandType'][_0x2f424f(0x124)],'handler':async _0xa298d1=>(_0xa298d1[_0x2f424f(0x135)](_0x45c2a6[_0x2f424f(0x156)])[_0x2f424f(0x127)](),!0x0)},_0x7a156a={'id':'exchange-client.operation.export-docx','type':_0x100e95[_0x2f424f(0x14b)][_0x2f424f(0x124)],'handler':async _0x35700f=>(_0x35700f['get'](_0x45c2a6[_0x2f424f(0x156)])[_0x2f424f(0x112)](),!0x0)},_0x25b15a=_0x2f424f(0x154);function _0x37a971(_0x22af64){var _0x130ce0=_0x2f424f;return{'id':_0x25b15a,'type':_0x30cefc[_0x130ce0(0x13f)][_0x130ce0(0x11b)],'icon':'DirectExportSingle','tooltip':_0x130ce0(0x143),'hidden$':_0x30cefc[_0x130ce0(0x13c)](_0x22af64,_0x100e95[_0x130ce0(0x14a)][_0x130ce0(0x131)])};}function _0x3a275c(){var _0x2d2cab=_0x2f424f;return{'id':_0xa6e38a['id'],'type':_0x30cefc[_0x2d2cab(0x13f)][_0x2d2cab(0x119)],'title':_0x2d2cab(0x12b),'icon':_0x2d2cab(0x140)};}function _0x102680(){var _0x3fcd35=_0x2f424f;return{'id':_0x7a156a['id'],'type':_0x30cefc[_0x3fcd35(0x13f)]['BUTTON'],'title':_0x3fcd35(0x149),'icon':_0x3fcd35(0x159)};}const _0x1ac661={[_0x30cefc[_0x2f424f(0x12f)]['FILE']]:{[_0x25b15a]:{'order':0x4,'menuItemFactory':_0x37a971,[_0xa6e38a['id']]:{'order':0x0,'menuItemFactory':_0x3a275c},[_0x7a156a['id']]:{'order':0x1,'menuItemFactory':_0x102680}}}};var _0x3007be=Object[_0x2f424f(0x157)],_0x43fef3=Object['getOwnPropertyDescriptor'],_0x5737ec=(_0x463035,_0x4d3d97,_0x33c02f,_0x1ff071)=>{var _0x2c475c=_0x2f424f;for(var _0x9c48fb=_0x1ff071>0x1?void 0x0:_0x1ff071?_0x43fef3(_0x4d3d97,_0x33c02f):_0x4d3d97,_0x268067=_0x463035[_0x2c475c(0x123)]-0x1,_0x2b8e94;_0x268067>=0x0;_0x268067--)(_0x2b8e94=_0x463035[_0x268067])&&(_0x9c48fb=(_0x1ff071?_0x2b8e94(_0x4d3d97,_0x33c02f,_0x9c48fb):_0x2b8e94(_0x9c48fb))||_0x9c48fb);return _0x1ff071&&_0x9c48fb&&_0x3007be(_0x4d3d97,_0x33c02f,_0x9c48fb),_0x9c48fb;},_0x18daee=(_0x2b686d,_0x581524)=>(_0x23b934,_0x2a142f)=>_0x581524(_0x23b934,_0x2a142f,_0x2b686d);let _0x4df65c=class extends _0x100e95[_0x2f424f(0x11d)]{constructor(_0x265e33,_0x3eabc3){var _0x8d0791=_0x2f424f;super(),this[_0x8d0791(0x11e)]=_0x265e33,this['_menuManagerService']=_0x3eabc3,this['_initCommands'](),this[_0x8d0791(0x111)]();}[_0x2f424f(0x11c)](){[_0xa6e38a,_0x7a156a]['forEach'](_0x5ac001=>{var _0x3eb9b6=_0x1d6f;this[_0x3eb9b6(0x12d)](this[_0x3eb9b6(0x11e)]['registerCommand'](_0x5ac001));});}[_0x2f424f(0x111)](){var _0x498740=_0x2f424f;this[_0x498740(0x14c)][_0x498740(0x115)](_0x1ac661);}};_0x4df65c=_0x5737ec([_0x18daee(0x0,_0x100e95[_0x2f424f(0x125)]),_0x18daee(0x1,_0x30cefc[_0x2f424f(0x152)])],_0x4df65c);var _0x179418=Object[_0x2f424f(0x157)],_0x3a532a=Object[_0x2f424f(0x129)],_0x30e035=(_0x2274fb,_0x23aedb,_0x218395)=>_0x23aedb in _0x2274fb?_0x179418(_0x2274fb,_0x23aedb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x218395}):_0x2274fb[_0x23aedb]=_0x218395,_0x2777c3=(_0xe623c6,_0x2daf17,_0x159e14,_0x13dc88)=>{var _0x329729=_0x2f424f;for(var _0x5e6d12=_0x13dc88>0x1?void 0x0:_0x13dc88?_0x3a532a(_0x2daf17,_0x159e14):_0x2daf17,_0x2a61c7=_0xe623c6[_0x329729(0x123)]-0x1,_0x598825;_0x2a61c7>=0x0;_0x2a61c7--)(_0x598825=_0xe623c6[_0x2a61c7])&&(_0x5e6d12=(_0x13dc88?_0x598825(_0x2daf17,_0x159e14,_0x5e6d12):_0x598825(_0x5e6d12))||_0x5e6d12);return _0x13dc88&&_0x5e6d12&&_0x179418(_0x2daf17,_0x159e14,_0x5e6d12),_0x5e6d12;},_0x174768=(_0x3c5c02,_0xa9e90c)=>(_0x475882,_0x44ea00)=>_0xa9e90c(_0x475882,_0x44ea00,_0x3c5c02),_0x2a2aaf=(_0xf7df53,_0xa369f8,_0x4cd799)=>_0x30e035(_0xf7df53,typeof _0xa369f8!=_0x2f424f(0x121)?_0xa369f8+'':_0xa369f8,_0x4cd799);const _0x1b76e5=_0x2f424f(0x137);_0x1eabad['UniverDocsExchangeClientPlugin']=class extends _0x100e95[_0x2f424f(0x146)]{constructor(_0xbf9685=_0x3e06c2,_0x4e36f6,_0x4f2e98){var _0x2fad1f=_0x2f424f;super(),this[_0x2fad1f(0x130)]=_0xbf9685,this[_0x2fad1f(0x12e)]=_0x4e36f6,this[_0x2fad1f(0x139)]=_0x4f2e98;const {menu:_0xc7c06d,..._0x194a16}=_0x100e95[_0x2fad1f(0x14e)]({},_0x3e06c2,this['_config']);_0xc7c06d&&this[_0x2fad1f(0x139)][_0x2fad1f(0x133)](_0x2fad1f(0x128),_0xc7c06d,{'merge':!0x0}),this['_configService'][_0x2fad1f(0x133)](_0x18162e,_0x194a16);}[_0x2f424f(0x122)](){var _0x184cb0=_0x2f424f;[[_0x4df65c]][_0x184cb0(0x148)](_0x230307=>this[_0x184cb0(0x12e)]['add'](_0x230307));}[_0x2f424f(0x13e)](){var _0x34d1ea=_0x2f424f;this[_0x34d1ea(0x12e)][_0x34d1ea(0x135)](_0x4df65c);}},_0x2a2aaf(_0x1eabad[_0x2f424f(0x138)],_0x2f424f(0x116),_0x1b76e5),_0x2a2aaf(_0x1eabad['UniverDocsExchangeClientPlugin'],'type',_0x100e95['UniverInstanceType'][_0x2f424f(0x131)]),_0x1eabad[_0x2f424f(0x138)]=_0x2777c3([_0x100e95['DependentOn'](_0x45c2a6[_0x2f424f(0x120)]),_0x174768(0x1,_0x100e95[_0x2f424f(0x134)](_0x100e95['Injector'])),_0x174768(0x2,_0x100e95['IConfigService'])],_0x1eabad[_0x2f424f(0x138)]),_0x1eabad[_0x2f424f(0x118)]=_0x7a156a,_0x1eabad[_0x2f424f(0x136)]=_0xa6e38a,Object[_0x2f424f(0x157)](_0x1eabad,Symbol[_0x2f424f(0x13b)],{'value':'Module'});}));function _0x1d6f(_0x106868,_0xbfe15a){var _0xc6a51a=_0xc6a5();return _0x1d6f=function(_0x1d6fdb,_0x2c3be3){_0x1d6fdb=_0x1d6fdb-0x111;var _0x7b7d30=_0xc6a51a[_0x1d6fdb];return _0x7b7d30;},_0x1d6f(_0x106868,_0xbfe15a);}function _0xc6a5(){var _0x209fa6=['1587750jKXOcv','onReady','MenuItemType','FolderSingle','UniverCore','9552350xLqfGW','exchange.file','@univerjs/ui','10989papQoT','Plugin','UniverProDocsExchangeClient','forEach','exchange.download','UniverInstanceType','CommandType','_menuManagerService','exports','merge','25332ayqAuC','docs-exchange-client.config','11305hwuqzf','IMenuManagerService','UniverProExchangeClient','docs-exchange-client.operation.exchange','object','IExchangeOperateService','defineProperty','4664580OUrARb','ExportSingle','1sCUlIe','_initMenus','exportDOCXByUnitId','1028zYWbuc','7xMkIoA','mergeMenu','pluginName','@univerjs/core','ExportDOCXOperation','BUTTON','@univerjs-pro/exchange-client','SUBITEMS','_initCommands','Disposable','_commandService','amd','UniverExchangeClientPlugin','symbol','onStarting','length','OPERATION','ICommandService','UniverUi','importDOCXToUnitId','menu','getOwnPropertyDescriptor','function','exchange.upload','7528DNsOgV','disposeWithMe','_injector','RibbonStartGroup','_config','UNIVER_DOC','1368184oicDRZ','setConfig','Inject','get','ImportDOCXOperation','DOC_EXCHANGE_CLIENT_PLUGIN','UniverDocsExchangeClientPlugin','_configService','9075xvkAoo','toStringTag','getMenuHiddenObservable'];_0xc6a5=function(){return _0x209fa6;};return _0xc6a5();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-exchange-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-experimental.20250125-1d060b9",
|
|
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
|
|
46
|
-
"@univerjs/
|
|
47
|
-
"@univerjs/ui": "0.
|
|
45
|
+
"@univerjs/core": "0.6.0-experimental.20250125-1d060b9",
|
|
46
|
+
"@univerjs-pro/exchange-client": "0.6.0-experimental.20250125-1d060b9",
|
|
47
|
+
"@univerjs/ui": "0.6.0-experimental.20250125-1d060b9"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"typescript": "^5.7.
|
|
50
|
+
"typescript": "^5.7.3",
|
|
51
51
|
"vite": "^6.0.7",
|
|
52
52
|
"vitest": "^2.1.8",
|
|
53
|
-
"@univerjs-infra/shared": "0.
|
|
53
|
+
"@univerjs-infra/shared": "0.6.0-alpha.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"test": "vitest run",
|