@univerjs-pro/docs-exchange-client 0.2.6 → 0.2.7
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 +14 -14
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var _0x518403=_0x2408;(function(_0x1e3869,_0x10b29c){var _0x5c1af3=_0x2408,_0x140def=_0x1e3869();while(!![]){try{var _0x4ae074=-parseInt(_0x5c1af3(0x12c))/0x1+-parseInt(_0x5c1af3(0x143))/0x2+-parseInt(_0x5c1af3(0x112))/0x3+parseInt(_0x5c1af3(0x116))/0x4+-parseInt(_0x5c1af3(0x13b))/0x5+parseInt(_0x5c1af3(0x110))/0x6*(parseInt(_0x5c1af3(0x113))/0x7)+parseInt(_0x5c1af3(0x125))/0x8;if(_0x4ae074===_0x10b29c)break;else _0x140def['push'](_0x140def['shift']());}catch(_0x312188){_0x140def['push'](_0x140def['shift']());}}}(_0x5606,0x240cf));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x518403(0x138)});const o=require(_0x518403(0x141)),u=require(_0x518403(0x14d)),a=require(_0x518403(0x13f)),_={'id':_0x518403(0x11e),'type':o[_0x518403(0x137)][_0x518403(0x129)],'handler':async _0x5eadb6=>(_0x5eadb6['get'](u[_0x518403(0x147)])[_0x518403(0x13a)](),!0x0)},d={'id':_0x518403(0x135),'type':o[_0x518403(0x137)]['OPERATION'],'handler':async _0x420c2e=>(_0x420c2e['get'](u['IExchangeOperateService'])[_0x518403(0x10e)](),!0x0)},h=_0x518403(0x14a);function v(_0x3ed5b2){var _0x40fffd=_0x518403;return{'id':h,'group':a['MenuGroup'][_0x40fffd(0x120)],'type':a[_0x40fffd(0x12a)][_0x40fffd(0x139)],'icon':_0x40fffd(0x142),'tooltip':_0x40fffd(0x10d),'positions':[a[_0x40fffd(0x11b)][_0x40fffd(0x124)]],'hidden$':a[_0x40fffd(0x146)](_0x3ed5b2,o[_0x40fffd(0x122)]['UNIVER_DOC'])};}function C(){var _0x11adad=_0x518403;return{'id':_['id'],'type':a['MenuItemType'][_0x11adad(0x12f)],'title':_0x11adad(0x11a),'icon':_0x11adad(0x14c),'positions':[h]};}var I=Object[_0x518403(0x119)],m=Object[_0x518403(0x115)],E=(_0x1645ea,_0x21206a,_0x520008,_0x57cf59)=>{for(var _0x5474d9=_0x57cf59>0x1?void 0x0:_0x57cf59?m(_0x21206a,_0x520008):_0x21206a,_0x33333f=_0x1645ea['length']-0x1,_0x17cfcd;_0x33333f>=0x0;_0x33333f--)(_0x17cfcd=_0x1645ea[_0x33333f])&&(_0x5474d9=(_0x57cf59?_0x17cfcd(_0x21206a,_0x520008,_0x5474d9):_0x17cfcd(_0x5474d9))||_0x5474d9);return _0x57cf59&&_0x5474d9&&I(_0x21206a,_0x520008,_0x5474d9),_0x5474d9;},l=(_0x3655c4,_0x203cd0)=>(_0x5e81f4,_0x540892)=>_0x203cd0(_0x5e81f4,_0x540892,_0x3655c4);const f={};let p=class extends o[_0x518403(0x117)]{constructor(_0x318119,_0x387cfb,_0x39ae33,_0x540269){var _0x356e2f=_0x518403;super(),this[_0x356e2f(0x131)]=_0x318119,this[_0x356e2f(0x13d)]=_0x387cfb,this[_0x356e2f(0x136)]=_0x39ae33,this[_0x356e2f(0x114)]=_0x540269,this['_initCommands'](),this[_0x356e2f(0x118)]();}[_0x518403(0x11c)](){var _0x322b81=_0x518403;[_,d][_0x322b81(0x134)](_0x3f4bd9=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x3f4bd9));});}[_0x518403(0x118)](){var _0x4e3c5b=_0x518403;const {menu:_0x22e8ba={}}=this[_0x4e3c5b(0x131)];[v,C]['forEach'](_0x29b79f=>{var _0x1c58a7=_0x4e3c5b;this[_0x1c58a7(0x148)](this[_0x1c58a7(0x114)][_0x1c58a7(0x10f)](this[_0x1c58a7(0x13d)][_0x1c58a7(0x123)](_0x29b79f),_0x22e8ba));});}};p=E([o['OnLifecycle'](o[_0x518403(0x10c)][_0x518403(0x126)],p),l(0x1,o[_0x518403(0x133)](o[_0x518403(0x130)])),l(0x2,o['ICommandService']),l(0x3,a[_0x518403(0x127)])],p);var g=Object[_0x518403(0x119)],D=Object[_0x518403(0x115)],x=(_0x1d9b5a,_0x55cfb8,_0x27c65d)=>_0x55cfb8 in _0x1d9b5a?g(_0x1d9b5a,_0x55cfb8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27c65d}):_0x1d9b5a[_0x55cfb8]=_0x27c65d,P=(_0x5003bf,_0x425b1f,_0x4a73ad,_0x159d67)=>{for(var _0x4d8704=_0x159d67>0x1?void 0x0:_0x159d67?D(_0x425b1f,_0x4a73ad):_0x425b1f,_0x1139c3=_0x5003bf['length']-0x1,_0x2bc323;_0x1139c3>=0x0;_0x1139c3--)(_0x2bc323=_0x5003bf[_0x1139c3])&&(_0x4d8704=(_0x159d67?_0x2bc323(_0x425b1f,_0x4a73ad,_0x4d8704):_0x2bc323(_0x4d8704))||_0x4d8704);return _0x159d67&&_0x4d8704&&g(_0x425b1f,_0x4a73ad,_0x4d8704),_0x4d8704;},T=(_0x49e8ea,_0x3193a6)=>(_0x4d70c8,_0x9d26b6)=>_0x3193a6(_0x4d70c8,_0x9d26b6,_0x49e8ea),O=(_0x1ba33e,_0x11d055,_0x374020)=>x(_0x1ba33e,typeof _0x11d055!=_0x518403(0x128)?_0x11d055+'':_0x11d055,_0x374020);const y=_0x518403(0x121);exports[_0x518403(0x12b)]=class extends o[_0x518403(0x149)]{constructor(_0x28386a={},_0x2b226c){var _0x211192=_0x518403;super(),this[_0x211192(0x131)]=_0x28386a,this['_injector']=_0x2b226c,this['_config']=o[_0x211192(0x140)][_0x211192(0x13e)]({},f,this[_0x211192(0x131)]);}[_0x518403(0x12d)](){var _0x523d7d=_0x518403;[[p,{'useFactory':()=>this[_0x523d7d(0x13d)][_0x523d7d(0x12e)](p,this['_config'])}]][_0x523d7d(0x134)](_0x5469a3=>this['_injector'][_0x523d7d(0x145)](_0x5469a3));}[_0x518403(0x11f)](){var _0x424013=_0x518403;this[_0x424013(0x12d)]();}},O(exports[_0x518403(0x12b)],_0x518403(0x132),y),O(exports[_0x518403(0x12b)],_0x518403(0x14b),o['UniverInstanceType'][_0x518403(0x13c)]),exports[_0x518403(0x12b)]=P([o['DependentOn'](u[_0x518403(0x11d)]),T(0x1,o[_0x518403(0x133)](o[_0x518403(0x130)]))],exports[_0x518403(0x12b)]),exports[_0x518403(0x144)]=d,exports[_0x518403(0x111)]=_;function _0x2408(_0x4a3cd1,_0x38f586){var _0x560699=_0x5606();return _0x2408=function(_0x2408b4,_0x507828){_0x2408b4=_0x2408b4-0x10c;var _0x3e80af=_0x560699[_0x2408b4];return _0x3e80af;},_0x2408(_0x4a3cd1,_0x38f586);}function _0x5606(){var _0x2b7e95=['addMenuItem','234762iQDweC','ImportDOCXToUnitIdOperation','519786DtkLgw','42foUZkR','_menuService','getOwnPropertyDescriptor','394484hlRXDR','Disposable','_initMenus','defineProperty','exchange.upload','MenuPosition','_initCommands','UniverExchangeClientPlugin','exchange-client.operation.import-docx-to-unit-id','onReady','TOOLBAR_LAYOUT','DOC_EXCHANGE_CLIENT_PLUGIN','UniverInstanceType','invoke','TOOLBAR_START','3637816dAQfoR','Ready','IMenuService','symbol','OPERATION','MenuItemType','UniverDocsExchangeClientPlugin','209682kRDGkR','initialize','createInstance','BUTTON','Injector','_config','pluginName','Inject','forEach','exchange-client.operation.export-docx-by-unit-id','_commandService','CommandType','Module','SUBITEMS','importDOCXToUnitId','831965GWAIDa','UNIVER_DOC','_injector','deepMerge','@univerjs/ui','Tools','@univerjs/core','DirectExportSingle','182220cjLHsW','ExportDOCXByUnitIdOperation','add','getMenuHiddenObservable','IExchangeOperateService','disposeWithMe','Plugin','docs-exchange-client.operation.exchange','type','FolderSingle','@univerjs-pro/exchange-client','LifecycleStages','exchange.file','exportDOCXByUnitId'];_0x5606=function(){return _0x2b7e95;};return _0x5606();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x381953=_0x2adf;function _0x2adf(_0x203f31,_0x5e22d8){var _0x365f50=_0x365f();return _0x2adf=function(_0x2adfef,_0x468048){_0x2adfef=_0x2adfef-0x180;var _0x3b7482=_0x365f50[_0x2adfef];return _0x3b7482;},_0x2adf(_0x203f31,_0x5e22d8);}(function(_0x1e7695,_0x2c9db6){var _0x5188c7=_0x2adf,_0x454532=_0x1e7695();while(!![]){try{var _0x3141e9=parseInt(_0x5188c7(0x197))/0x1+parseInt(_0x5188c7(0x1a6))/0x2+parseInt(_0x5188c7(0x1a3))/0x3+parseInt(_0x5188c7(0x183))/0x4*(-parseInt(_0x5188c7(0x191))/0x5)+-parseInt(_0x5188c7(0x199))/0x6*(parseInt(_0x5188c7(0x1a8))/0x7)+parseInt(_0x5188c7(0x180))/0x8*(parseInt(_0x5188c7(0x187))/0x9)+-parseInt(_0x5188c7(0x195))/0xa;if(_0x3141e9===_0x2c9db6)break;else _0x454532['push'](_0x454532['shift']());}catch(_0x54a294){_0x454532['push'](_0x454532['shift']());}}}(_0x365f,0xece80));import{CommandType as _0x27b805,UniverInstanceType as _0x20958b,OnLifecycle as _0x15f4b4,LifecycleStages as _0x45b125,Inject as _0x4e4530,Injector as _0x400d2f,Disposable as _0x10f665,ICommandService as _0x1559af,DependentOn as _0x551b2c,Plugin as _0xf09908,Tools as _0x599c76}from'@univerjs/core';import{IExchangeOperateService as _0x2e4024,UniverExchangeClientPlugin as _0x1669e6}from'@univerjs-pro/exchange-client';import{MenuGroup as _0x4aeaeb,MenuItemType as _0x3683af,MenuPosition as _0x24ef3e,getMenuHiddenObservable as _0x21db85,IMenuService as _0x30e149}from'@univerjs/ui';const O={'id':_0x381953(0x192),'type':_0x27b805[_0x381953(0x189)],'handler':async _0x2171c5=>(_0x2171c5[_0x381953(0x184)](_0x2e4024)['importDOCXToUnitId'](),!0x0)},b={'id':_0x381953(0x188),'type':_0x27b805[_0x381953(0x189)],'handler':async _0x3a5823=>(_0x3a5823[_0x381953(0x184)](_0x2e4024)[_0x381953(0x1a5)](),!0x0)},g=_0x381953(0x186);function A(_0x3d01ec){var _0xb7eb0e=_0x381953;return{'id':g,'group':_0x4aeaeb[_0xb7eb0e(0x19f)],'type':_0x3683af['SUBITEMS'],'icon':_0xb7eb0e(0x19b),'tooltip':_0xb7eb0e(0x19a),'positions':[_0x24ef3e[_0xb7eb0e(0x198)]],'hidden$':_0x21db85(_0x3d01ec,_0x20958b[_0xb7eb0e(0x18c)])};}function _0x365f(){var _0x50145b=['_commandService','onReady','1225332shnSuz','BUTTON','exportDOCXByUnitId','909988ROSgej','DOC_EXCHANGE_CLIENT_PLUGIN','7UnVtPJ','51608kbhsXX','_config','length','38956rPYRwp','get','forEach','docs-exchange-client.operation.exchange','1386VreZVy','exchange-client.operation.export-docx-by-unit-id','OPERATION','createInstance','symbol','UNIVER_DOC','defineProperty','getOwnPropertyDescriptor','_injector','deepMerge','465OLIJHr','exchange-client.operation.import-docx-to-unit-id','initialize','type','10931670FDqrGY','_menuService','1365251tlMgIa','TOOLBAR_START','1517286dukPje','exchange.file','DirectExportSingle','invoke','Ready','registerCommand','TOOLBAR_LAYOUT','_initMenus'];_0x365f=function(){return _0x50145b;};return _0x365f();}function R(){var _0x16e5b4=_0x381953;return{'id':O['id'],'type':_0x3683af[_0x16e5b4(0x1a4)],'title':'exchange.upload','icon':'FolderSingle','positions':[g]};}var j=Object[_0x381953(0x18d)],L=Object[_0x381953(0x18e)],X=(_0x3f1a9c,_0x13f208,_0x4f1826,_0x1cb22a)=>{var _0x4299e4=_0x381953;for(var _0x4c6725=_0x1cb22a>0x1?void 0x0:_0x1cb22a?L(_0x13f208,_0x4f1826):_0x13f208,_0x3031c2=_0x3f1a9c[_0x4299e4(0x182)]-0x1,_0x2cd102;_0x3031c2>=0x0;_0x3031c2--)(_0x2cd102=_0x3f1a9c[_0x3031c2])&&(_0x4c6725=(_0x1cb22a?_0x2cd102(_0x13f208,_0x4f1826,_0x4c6725):_0x2cd102(_0x4c6725))||_0x4c6725);return _0x1cb22a&&_0x4c6725&&j(_0x13f208,_0x4f1826,_0x4c6725),_0x4c6725;},p=(_0x1df276,_0x546314)=>(_0x1ff1c3,_0x5da976)=>_0x546314(_0x1ff1c3,_0x5da976,_0x1df276);const B={};let s=class extends _0x10f665{constructor(_0x324887,_0x448910,_0x4dc09e,_0x5b1380){var _0x4f35f7=_0x381953;super(),this[_0x4f35f7(0x181)]=_0x324887,this['_injector']=_0x448910,this[_0x4f35f7(0x1a1)]=_0x4dc09e,this[_0x4f35f7(0x196)]=_0x5b1380,this['_initCommands'](),this[_0x4f35f7(0x1a0)]();}['_initCommands'](){var _0x1cceb4=_0x381953;[O,b][_0x1cceb4(0x185)](_0x1dbd64=>{var _0x3dba45=_0x1cceb4;this['disposeWithMe'](this[_0x3dba45(0x1a1)][_0x3dba45(0x19e)](_0x1dbd64));});}[_0x381953(0x1a0)](){var _0x19d459=_0x381953;const {menu:_0x467586={}}=this[_0x19d459(0x181)];[A,R]['forEach'](_0x5760cc=>{var _0x221ebe=_0x19d459;this['disposeWithMe'](this[_0x221ebe(0x196)]['addMenuItem'](this[_0x221ebe(0x18f)][_0x221ebe(0x19c)](_0x5760cc),_0x467586));});}};s=X([_0x15f4b4(_0x45b125[_0x381953(0x19d)],s),p(0x1,_0x4e4530(_0x400d2f)),p(0x2,_0x1559af),p(0x3,_0x30e149)],s);var f=Object[_0x381953(0x18d)],G=Object[_0x381953(0x18e)],w=(_0x35a259,_0x5f34e1,_0x2729cb)=>_0x5f34e1 in _0x35a259?f(_0x35a259,_0x5f34e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2729cb}):_0x35a259[_0x5f34e1]=_0x2729cb,F=(_0x527b2a,_0x5f206f,_0x11a1b9,_0x218470)=>{for(var _0x2ff2a8=_0x218470>0x1?void 0x0:_0x218470?G(_0x5f206f,_0x11a1b9):_0x5f206f,_0x3bc45a=_0x527b2a['length']-0x1,_0xfb7dc9;_0x3bc45a>=0x0;_0x3bc45a--)(_0xfb7dc9=_0x527b2a[_0x3bc45a])&&(_0x2ff2a8=(_0x218470?_0xfb7dc9(_0x5f206f,_0x11a1b9,_0x2ff2a8):_0xfb7dc9(_0x2ff2a8))||_0x2ff2a8);return _0x218470&&_0x2ff2a8&&f(_0x5f206f,_0x11a1b9,_0x2ff2a8),_0x2ff2a8;},$=(_0x5e4829,_0x52971b)=>(_0x274728,_0x4abff7)=>_0x52971b(_0x274728,_0x4abff7,_0x5e4829),v=(_0x2d68ae,_0x4d49b3,_0x17bb67)=>w(_0x2d68ae,typeof _0x4d49b3!=_0x381953(0x18b)?_0x4d49b3+'':_0x4d49b3,_0x17bb67);const H=_0x381953(0x1a7);let a=class extends _0xf09908{constructor(_0x1d800e={},_0x1b8d37){var _0x4dcad5=_0x381953;super(),this[_0x4dcad5(0x181)]=_0x1d800e,this[_0x4dcad5(0x18f)]=_0x1b8d37,this[_0x4dcad5(0x181)]=_0x599c76[_0x4dcad5(0x190)]({},B,this[_0x4dcad5(0x181)]);}[_0x381953(0x193)](){var _0x6e6ed2=_0x381953;[[s,{'useFactory':()=>this[_0x6e6ed2(0x18f)][_0x6e6ed2(0x18a)](s,this[_0x6e6ed2(0x181)])}]]['forEach'](_0x5cac6f=>this[_0x6e6ed2(0x18f)]['add'](_0x5cac6f));}[_0x381953(0x1a2)](){var _0x4f4994=_0x381953;this[_0x4f4994(0x193)]();}};v(a,'pluginName',H),v(a,_0x381953(0x194),_0x20958b[_0x381953(0x18c)]),a=F([_0x551b2c(_0x1669e6),$(0x1,_0x4e4530(_0x400d2f))],a);export{b as ExportDOCXByUnitIdOperation,O as ImportDOCXToUnitIdOperation,a as UniverDocsExchangeClientPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5e4a(_0x16c6b1,_0x107c0d){var _0x28034b=_0x2803();return _0x5e4a=function(_0x5e4af3,_0x267498){_0x5e4af3=_0x5e4af3-0xae;var _0x48389f=_0x28034b[_0x5e4af3];return _0x48389f;},_0x5e4a(_0x16c6b1,_0x107c0d);}(function(_0x34a40f,_0x232920){var _0x274d3e=_0x5e4a,_0x1430c6=_0x34a40f();while(!![]){try{var _0x16a759=parseInt(_0x274d3e(0xd5))/0x1+parseInt(_0x274d3e(0xcd))/0x2+parseInt(_0x274d3e(0xdc))/0x3+parseInt(_0x274d3e(0xae))/0x4*(-parseInt(_0x274d3e(0xce))/0x5)+-parseInt(_0x274d3e(0xbe))/0x6*(-parseInt(_0x274d3e(0xe5))/0x7)+-parseInt(_0x274d3e(0xcb))/0x8*(parseInt(_0x274d3e(0xb9))/0x9)+-parseInt(_0x274d3e(0xe9))/0xa*(-parseInt(_0x274d3e(0xb8))/0xb);if(_0x16a759===_0x232920)break;else _0x1430c6['push'](_0x1430c6['shift']());}catch(_0x18d0ca){_0x1430c6['push'](_0x1430c6['shift']());}}}(_0x2803,0x217e3),function(_0x2cf8dc,_0x3ca820){var _0x1d5368=_0x5e4a;typeof exports==_0x1d5368(0xd9)&&typeof module<'u'?_0x3ca820(exports,require(_0x1d5368(0xbf)),require(_0x1d5368(0xe2)),require(_0x1d5368(0xb6))):typeof define==_0x1d5368(0xe8)&&define[_0x1d5368(0xe1)]?define(['exports',_0x1d5368(0xbf),'@univerjs-pro/exchange-client','@univerjs/ui'],_0x3ca820):(_0x2cf8dc=typeof globalThis<'u'?globalThis:_0x2cf8dc||self,_0x3ca820(_0x2cf8dc['UniverDocsExchangeClient']={},_0x2cf8dc[_0x1d5368(0xb1)],_0x2cf8dc['UniverExchangeClient'],_0x2cf8dc['UniverUi']));}(this,function(_0x1a8464,_0x222a94,_0x127ba1,_0x1e4728){'use strict';var _0x488510=_0x5e4a;const _0x28409f={'id':'exchange-client.operation.import-docx-to-unit-id','type':_0x222a94[_0x488510(0xc8)][_0x488510(0xd6)],'handler':async _0x1bc6d3=>(_0x1bc6d3[_0x488510(0xd3)](_0x127ba1[_0x488510(0xc7)])['importDOCXToUnitId'](),!0x0)},_0xe6fd1d={'id':_0x488510(0xd1),'type':_0x222a94[_0x488510(0xc8)]['OPERATION'],'handler':async _0x3c7297=>(_0x3c7297[_0x488510(0xd3)](_0x127ba1['IExchangeOperateService'])[_0x488510(0xb5)](),!0x0)},_0xb3ab05=_0x488510(0xdd);function _0x47f297(_0x332c0d){var _0xe637ce=_0x488510;return{'id':_0xb3ab05,'group':_0x1e4728[_0xe637ce(0xd0)]['TOOLBAR_LAYOUT'],'type':_0x1e4728[_0xe637ce(0xc6)]['SUBITEMS'],'icon':_0xe637ce(0xe7),'tooltip':_0xe637ce(0xcf),'positions':[_0x1e4728['MenuPosition'][_0xe637ce(0xf1)]],'hidden$':_0x1e4728[_0xe637ce(0xb0)](_0x332c0d,_0x222a94[_0xe637ce(0xc2)][_0xe637ce(0xdf)])};}function _0x29291e(){var _0x5c4f67=_0x488510;return{'id':_0x28409f['id'],'type':_0x1e4728[_0x5c4f67(0xc6)]['BUTTON'],'title':_0x5c4f67(0xb2),'icon':_0x5c4f67(0xee),'positions':[_0xb3ab05]};}var _0x251df4=Object['defineProperty'],_0x2600ef=Object[_0x488510(0xba)],_0x48a53b=(_0x482478,_0x105411,_0x1b9055,_0x2506d8)=>{var _0x88cb77=_0x488510;for(var _0x13911e=_0x2506d8>0x1?void 0x0:_0x2506d8?_0x2600ef(_0x105411,_0x1b9055):_0x105411,_0x1e2e0e=_0x482478[_0x88cb77(0xde)]-0x1,_0x39bd4f;_0x1e2e0e>=0x0;_0x1e2e0e--)(_0x39bd4f=_0x482478[_0x1e2e0e])&&(_0x13911e=(_0x2506d8?_0x39bd4f(_0x105411,_0x1b9055,_0x13911e):_0x39bd4f(_0x13911e))||_0x13911e);return _0x2506d8&&_0x13911e&&_0x251df4(_0x105411,_0x1b9055,_0x13911e),_0x13911e;},_0x5b8371=(_0x2a5bd1,_0xd81a30)=>(_0x1f11ff,_0x122d9a)=>_0xd81a30(_0x1f11ff,_0x122d9a,_0x2a5bd1);const _0x36d48c={};let _0x412623=class extends _0x222a94[_0x488510(0xaf)]{constructor(_0x51064e,_0x6b9030,_0x116bd2,_0x57dd63){var _0x47285f=_0x488510;super(),this['_config']=_0x51064e,this[_0x47285f(0xd8)]=_0x6b9030,this[_0x47285f(0xb4)]=_0x116bd2,this['_menuService']=_0x57dd63,this[_0x47285f(0xb3)](),this[_0x47285f(0xc0)]();}[_0x488510(0xb3)](){[_0x28409f,_0xe6fd1d]['forEach'](_0x1b3e17=>{var _0x1fe24c=_0x5e4a;this[_0x1fe24c(0xeb)](this[_0x1fe24c(0xb4)]['registerCommand'](_0x1b3e17));});}[_0x488510(0xc0)](){var _0x1fb9d1=_0x488510;const {menu:_0x592b92={}}=this['_config'];[_0x47f297,_0x29291e][_0x1fb9d1(0xd7)](_0x5497be=>{var _0x497754=_0x1fb9d1;this[_0x497754(0xeb)](this[_0x497754(0xec)][_0x497754(0xef)](this[_0x497754(0xd8)][_0x497754(0xc9)](_0x5497be),_0x592b92));});}};_0x412623=_0x48a53b([_0x222a94[_0x488510(0xf0)](_0x222a94[_0x488510(0xea)][_0x488510(0xcc)],_0x412623),_0x5b8371(0x1,_0x222a94['Inject'](_0x222a94[_0x488510(0xe6)])),_0x5b8371(0x2,_0x222a94['ICommandService']),_0x5b8371(0x3,_0x1e4728['IMenuService'])],_0x412623);var _0x4ab162=Object[_0x488510(0xe0)],_0x32e09f=Object[_0x488510(0xba)],_0x2587b7=(_0x2cff0c,_0x4613cf,_0x49113e)=>_0x4613cf in _0x2cff0c?_0x4ab162(_0x2cff0c,_0x4613cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49113e}):_0x2cff0c[_0x4613cf]=_0x49113e,_0x36c276=(_0x253390,_0x5adc51,_0x149698,_0x9081be)=>{var _0x3d74bb=_0x488510;for(var _0x3149fc=_0x9081be>0x1?void 0x0:_0x9081be?_0x32e09f(_0x5adc51,_0x149698):_0x5adc51,_0x1dabb2=_0x253390[_0x3d74bb(0xde)]-0x1,_0x2f3747;_0x1dabb2>=0x0;_0x1dabb2--)(_0x2f3747=_0x253390[_0x1dabb2])&&(_0x3149fc=(_0x9081be?_0x2f3747(_0x5adc51,_0x149698,_0x3149fc):_0x2f3747(_0x3149fc))||_0x3149fc);return _0x9081be&&_0x3149fc&&_0x4ab162(_0x5adc51,_0x149698,_0x3149fc),_0x3149fc;},_0x44e124=(_0x44b33c,_0x9775a4)=>(_0x47f4b3,_0x126573)=>_0x9775a4(_0x47f4b3,_0x126573,_0x44b33c),_0x3bbdb9=(_0x17fd4e,_0x4ea210,_0x98b50)=>_0x2587b7(_0x17fd4e,typeof _0x4ea210!='symbol'?_0x4ea210+'':_0x4ea210,_0x98b50);const _0x14110e=_0x488510(0xed);_0x1a8464[_0x488510(0xda)]=class extends _0x222a94[_0x488510(0xb7)]{constructor(_0x6d18e2={},_0x64d2c0){var _0x916886=_0x488510;super(),this['_config']=_0x6d18e2,this[_0x916886(0xd8)]=_0x64d2c0,this[_0x916886(0xdb)]=_0x222a94[_0x916886(0xc5)][_0x916886(0xbd)]({},_0x36d48c,this[_0x916886(0xdb)]);}['initialize'](){var _0x1c67df=_0x488510;[[_0x412623,{'useFactory':()=>this[_0x1c67df(0xd8)][_0x1c67df(0xc3)](_0x412623,this[_0x1c67df(0xdb)])}]]['forEach'](_0x295e90=>this['_injector']['add'](_0x295e90));}[_0x488510(0xbc)](){var _0x51331a=_0x488510;this[_0x51331a(0xe3)]();}},_0x3bbdb9(_0x1a8464[_0x488510(0xda)],_0x488510(0xca),_0x14110e),_0x3bbdb9(_0x1a8464[_0x488510(0xda)],_0x488510(0xd4),_0x222a94[_0x488510(0xc2)][_0x488510(0xdf)]),_0x1a8464[_0x488510(0xda)]=_0x36c276([_0x222a94[_0x488510(0xd2)](_0x127ba1['UniverExchangeClientPlugin']),_0x44e124(0x1,_0x222a94['Inject'](_0x222a94['Injector']))],_0x1a8464[_0x488510(0xda)]),_0x1a8464[_0x488510(0xc4)]=_0xe6fd1d,_0x1a8464[_0x488510(0xc1)]=_0x28409f,Object['defineProperty'](_0x1a8464,Symbol[_0x488510(0xbb)],{'value':_0x488510(0xe4)});}));function _0x2803(){var _0x1e8d59=['DependentOn','get','type','105597hyJzbD','OPERATION','forEach','_injector','object','UniverDocsExchangeClientPlugin','_config','388860twbsmV','docs-exchange-client.operation.exchange','length','UNIVER_DOC','defineProperty','amd','@univerjs-pro/exchange-client','initialize','Module','168dnkBzY','Injector','DirectExportSingle','function','110QIKCQl','LifecycleStages','disposeWithMe','_menuService','DOC_EXCHANGE_CLIENT_PLUGIN','FolderSingle','addMenuItem','OnLifecycle','TOOLBAR_START','382476uSjyTm','Disposable','getMenuHiddenObservable','UniverCore','exchange.upload','_initCommands','_commandService','exportDOCXByUnitId','@univerjs/ui','Plugin','19360VkYGKd','177165ymYOhs','getOwnPropertyDescriptor','toStringTag','onReady','deepMerge','7848FHYHkw','@univerjs/core','_initMenus','ImportDOCXToUnitIdOperation','UniverInstanceType','createInstance','ExportDOCXByUnitIdOperation','Tools','MenuItemType','IExchangeOperateService','CommandType','invoke','pluginName','88JXpSwQ','Ready','517982OxORcO','10iWVFwV','exchange.file','MenuGroup','exchange-client.operation.export-docx-by-unit-id'];_0x2803=function(){return _0x1e8d59;};return _0x2803();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-exchange-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -43,27 +43,27 @@
|
|
|
43
43
|
"lib"
|
|
44
44
|
],
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@univerjs-pro/exchange-client": "0.2.
|
|
47
|
-
"@univerjs/
|
|
48
|
-
"@univerjs/
|
|
46
|
+
"@univerjs-pro/exchange-client": "0.2.7",
|
|
47
|
+
"@univerjs/ui": "0.2.7",
|
|
48
|
+
"@univerjs/core": "0.2.7"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@univerjs/icons": "^0.1.
|
|
52
|
-
"@univerjs/docs": "0.2.
|
|
53
|
-
"@univerjs/docs-ui": "0.2.
|
|
54
|
-
"@univerjs/protocol": "0.1.
|
|
51
|
+
"@univerjs/icons": "^0.1.72",
|
|
52
|
+
"@univerjs/docs": "0.2.7",
|
|
53
|
+
"@univerjs/docs-ui": "0.2.7",
|
|
54
|
+
"@univerjs/protocol": "0.1.39-alpha.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/pako": "^2.0.3",
|
|
58
58
|
"less": "^4.2.0",
|
|
59
59
|
"pako": "^2.1.0",
|
|
60
60
|
"rxjs": "^7.8.1",
|
|
61
|
-
"typescript": "^5.5.
|
|
62
|
-
"vite": "^5.
|
|
63
|
-
"vitest": "^2.0.
|
|
64
|
-
"@univerjs-pro/exchange-client": "0.2.
|
|
65
|
-
"@univerjs/core": "0.2.
|
|
66
|
-
"@univerjs/shared": "0.2.
|
|
61
|
+
"typescript": "^5.5.4",
|
|
62
|
+
"vite": "^5.4.0",
|
|
63
|
+
"vitest": "^2.0.5",
|
|
64
|
+
"@univerjs-pro/exchange-client": "0.2.7",
|
|
65
|
+
"@univerjs/core": "0.2.7",
|
|
66
|
+
"@univerjs/shared": "0.2.7"
|
|
67
67
|
},
|
|
68
68
|
"univerSpace": {
|
|
69
69
|
".": {
|