@univerjs-pro/docs-exchange-client 0.6.2 → 0.6.3-nightly.202503051607
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 _0x4abb8b=_0x2af6;function _0x501a(){var _0x8ff395=['OPERATION','Disposable','symbol','ExportDOCXOperation','Plugin','ImportDOCXOperation','docs-exchange-client.operation.exchange','onReady','IConfigService','type','DependentOn','15039580qvlXko','UniverDocsExchangeClientPlugin','@univerjs/core','_initMenus','length','_config','_initCommands','exchange.file','exchange.upload','getOwnPropertyDescriptor','onStarting','registerCommand','919688FyCYGq','12600Jztmef','getMenuHiddenObservable','docs-exchange-client.config','DirectExportSingle','get','@univerjs-pro/exchange-client','334094SJtNSz','setConfig','IExchangeOperateService','ExportSingle','RibbonStartGroup','3512BtXWMu','@univerjs/ui','Module','menu','merge','717820UvQHqL','DOC_EXCHANGE_CLIENT_PLUGIN','_menuManagerService','MenuItemType','UniverExchangeClientPlugin','FILE','forEach','BUTTON','exchange-client.operation.import-docx','_injector','add','2531841KxigxO','UNIVER_DOC','3395JtvFkx','pluginName','importDOCXToUnitId','UniverInstanceType','8487sgEYJF','10sCLnMj','_configService','CommandType','defineProperty'];_0x501a=function(){return _0x8ff395;};return _0x501a();}(function(_0x3ae356,_0x3e0418){var _0x189845=_0x2af6,_0x3952b7=_0x3ae356();while(!![]){try{var _0x4af605=-parseInt(_0x189845(0x150))/0x1+-parseInt(_0x189845(0x187))/0x2+parseInt(_0x189845(0x165))/0x3+-parseInt(_0x189845(0x15a))/0x4*(parseInt(_0x189845(0x16c))/0x5)+-parseInt(_0x189845(0x188))/0x6*(parseInt(_0x189845(0x167))/0x7)+-parseInt(_0x189845(0x155))/0x8*(-parseInt(_0x189845(0x16b))/0x9)+parseInt(_0x189845(0x17b))/0xa;if(_0x4af605===_0x3e0418)break;else _0x3952b7['push'](_0x3952b7['shift']());}catch(_0x530caf){_0x3952b7['push'](_0x3952b7['shift']());}}}(_0x501a,0x902c6));Object[_0x4abb8b(0x16f)](exports,Symbol['toStringTag'],{'value':_0x4abb8b(0x157)});const l=require(_0x4abb8b(0x18d)),i=require(_0x4abb8b(0x17d)),a=require(_0x4abb8b(0x156)),v=_0x4abb8b(0x18a),d={},g={'id':_0x4abb8b(0x162),'type':i[_0x4abb8b(0x16e)][_0x4abb8b(0x170)],'handler':async _0x57ffa6=>(_0x57ffa6['get'](l[_0x4abb8b(0x152)])[_0x4abb8b(0x169)](),!0x0)},p={'id':'exchange-client.operation.export-docx','type':i[_0x4abb8b(0x16e)]['OPERATION'],'handler':async _0x2a89d2=>(_0x2a89d2[_0x4abb8b(0x18c)](l[_0x4abb8b(0x152)])['exportDOCXByUnitId'](),!0x0)},h=_0x4abb8b(0x176);function I(_0x592c6a){var _0x1202b0=_0x4abb8b;return{'id':h,'type':a['MenuItemType']['SUBITEMS'],'icon':_0x1202b0(0x18b),'tooltip':_0x1202b0(0x182),'hidden$':a[_0x1202b0(0x189)](_0x592c6a,i[_0x1202b0(0x16a)][_0x1202b0(0x166)])};}function O(){var _0x45c4bc=_0x4abb8b;return{'id':g['id'],'type':a[_0x45c4bc(0x15d)][_0x45c4bc(0x161)],'title':_0x45c4bc(0x183),'icon':'FolderSingle'};}function E(){var _0x112c84=_0x4abb8b;return{'id':p['id'],'type':a[_0x112c84(0x15d)][_0x112c84(0x161)],'title':'exchange.download','icon':_0x112c84(0x153)};}const x={[a[_0x4abb8b(0x154)][_0x4abb8b(0x15f)]]:{[h]:{'order':0x4,'menuItemFactory':I,[g['id']]:{'order':0x0,'menuItemFactory':O},[p['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object[_0x4abb8b(0x184)],f=(_0x3fffc3,_0x3bbf27,_0x54fb8a,_0x33ec58)=>{var _0x5e8efb=_0x4abb8b;for(var _0x2b65ea=_0x33ec58>0x1?void 0x0:_0x33ec58?D(_0x3bbf27,_0x54fb8a):_0x3bbf27,_0x3e45de=_0x3fffc3[_0x5e8efb(0x17f)]-0x1,_0x6f22f0;_0x3e45de>=0x0;_0x3e45de--)(_0x6f22f0=_0x3fffc3[_0x3e45de])&&(_0x2b65ea=_0x6f22f0(_0x2b65ea)||_0x2b65ea);return _0x2b65ea;},_=(_0x1627e6,_0x383b69)=>(_0x119674,_0x4fad9b)=>_0x383b69(_0x119674,_0x4fad9b,_0x1627e6);let u=class extends i[_0x4abb8b(0x171)]{constructor(_0x6e6377,_0x287736){var _0x448fb1=_0x4abb8b;super(),this['_commandService']=_0x6e6377,this[_0x448fb1(0x15c)]=_0x287736,this[_0x448fb1(0x181)](),this[_0x448fb1(0x17e)]();}['_initCommands'](){var _0x41fd6b=_0x4abb8b;[g,p][_0x41fd6b(0x160)](_0x19e8c4=>{var _0x1f24d3=_0x41fd6b;this['disposeWithMe'](this['_commandService'][_0x1f24d3(0x186)](_0x19e8c4));});}[_0x4abb8b(0x17e)](){var _0x509260=_0x4abb8b;this[_0x509260(0x15c)]['mergeMenu'](x);}};function _0x2af6(_0x3d7de2,_0xedb5cd){var _0x501ad6=_0x501a();return _0x2af6=function(_0x2af69,_0x1bf1d5){_0x2af69=_0x2af69-0x150;var _0x959a3e=_0x501ad6[_0x2af69];return _0x959a3e;},_0x2af6(_0x3d7de2,_0xedb5cd);}u=f([_(0x0,i['ICommandService']),_(0x1,a['IMenuManagerService'])],u);var S=Object['defineProperty'],y=Object[_0x4abb8b(0x184)],P=(_0x5d0168,_0x5a5a74,_0x3201c1)=>_0x5a5a74 in _0x5d0168?S(_0x5d0168,_0x5a5a74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3201c1}):_0x5d0168[_0x5a5a74]=_0x3201c1,T=(_0x35b8eb,_0x110893,_0x1f06f2,_0x482544)=>{for(var _0x24f331=_0x482544>0x1?void 0x0:_0x482544?y(_0x110893,_0x1f06f2):_0x110893,_0x33824e=_0x35b8eb['length']-0x1,_0x2a2323;_0x33824e>=0x0;_0x33824e--)(_0x2a2323=_0x35b8eb[_0x33824e])&&(_0x24f331=_0x2a2323(_0x24f331)||_0x24f331);return _0x24f331;},m=(_0x41d487,_0x23c538)=>(_0xcb0766,_0x2cd77f)=>_0x23c538(_0xcb0766,_0x2cd77f,_0x41d487),C=(_0x328582,_0x36f563,_0x672eb4)=>P(_0x328582,typeof _0x36f563!=_0x4abb8b(0x172)?_0x36f563+'':_0x36f563,_0x672eb4);const U=_0x4abb8b(0x15b);exports[_0x4abb8b(0x17c)]=class extends i[_0x4abb8b(0x174)]{constructor(_0x273b0f=d,_0x26f5e0,_0x4e0ffd){var _0x31e991=_0x4abb8b;super(),this['_config']=_0x273b0f,this[_0x31e991(0x163)]=_0x26f5e0,this['_configService']=_0x4e0ffd;const {menu:_0x7e0dff,..._0x15ee65}=i[_0x31e991(0x159)]({},d,this[_0x31e991(0x180)]);_0x7e0dff&&this['_configService'][_0x31e991(0x151)](_0x31e991(0x158),_0x7e0dff,{'merge':!0x0}),this[_0x31e991(0x16d)][_0x31e991(0x151)](v,_0x15ee65);}[_0x4abb8b(0x185)](){var _0x2b62e0=_0x4abb8b;[[u]][_0x2b62e0(0x160)](_0x68c6c0=>this[_0x2b62e0(0x163)][_0x2b62e0(0x164)](_0x68c6c0));}[_0x4abb8b(0x177)](){var _0x1ea249=_0x4abb8b;this[_0x1ea249(0x163)]['get'](u);}},C(exports['UniverDocsExchangeClientPlugin'],_0x4abb8b(0x168),U),C(exports[_0x4abb8b(0x17c)],_0x4abb8b(0x179),i['UniverInstanceType'][_0x4abb8b(0x166)]),exports[_0x4abb8b(0x17c)]=T([i[_0x4abb8b(0x17a)](l[_0x4abb8b(0x15e)]),m(0x1,i['Inject'](i['Injector'])),m(0x2,i[_0x4abb8b(0x178)])],exports[_0x4abb8b(0x17c)]),exports[_0x4abb8b(0x173)]=p,exports[_0x4abb8b(0x175)]=g;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function _0x140e(_0x43ac67,_0x2a6cd2){var _0x24cc6f=_0x24cc();return _0x140e=function(_0x140eb4,_0x41ded5){_0x140eb4=_0x140eb4-0x18c;var _0x2be461=_0x24cc6f[_0x140eb4];return _0x2be461;},_0x140e(_0x43ac67,_0x2a6cd2);}var _0x43a6c5=_0x140e;(function(_0x184c05,_0x2d605e){var _0x26da1b=_0x140e,_0x41c532=_0x184c05();while(!![]){try{var _0x41f1dd=-parseInt(_0x26da1b(0x1a0))/0x1*(-parseInt(_0x26da1b(0x19d))/0x2)+-parseInt(_0x26da1b(0x1b8))/0x3+-parseInt(_0x26da1b(0x1a6))/0x4+-parseInt(_0x26da1b(0x199))/0x5+-parseInt(_0x26da1b(0x1a8))/0x6+parseInt(_0x26da1b(0x194))/0x7*(-parseInt(_0x26da1b(0x19e))/0x8)+-parseInt(_0x26da1b(0x18f))/0x9*(-parseInt(_0x26da1b(0x1aa))/0xa);if(_0x41f1dd===_0x2d605e)break;else _0x41c532['push'](_0x41c532['shift']());}catch(_0x53c89f){_0x41c532['push'](_0x41c532['shift']());}}}(_0x24cc,0x68c86));import{IExchangeOperateService as _0x5e0103,UniverExchangeClientPlugin as _0x19f9b3}from'@univerjs-pro/exchange-client';import{CommandType as _0x7b0d,UniverInstanceType as _0x4418c0,Disposable as _0x4a8e23,ICommandService as _0x3141df,DependentOn as _0x4a9b76,Inject as _0x274593,Injector as _0x504b61,IConfigService as _0x57c74a,Plugin as _0x4f659b,merge as _0x25229f}from'@univerjs/core';import{MenuItemType as _0x26df5e,getMenuHiddenObservable as _0x3ba9ef,RibbonStartGroup as _0x39ab3c,IMenuManagerService as _0x55f36a}from'@univerjs/ui';const b=_0x43a6c5(0x18d),m={},d={'id':_0x43a6c5(0x19a),'type':_0x7b0d['OPERATION'],'handler':async _0x387078=>(_0x387078[_0x43a6c5(0x1ab)](_0x5e0103)[_0x43a6c5(0x1b1)](),!0x0)},_={'id':_0x43a6c5(0x191),'type':_0x7b0d[_0x43a6c5(0x1b6)],'handler':async _0x1feb2a=>(_0x1feb2a[_0x43a6c5(0x1ab)](_0x5e0103)[_0x43a6c5(0x1a5)](),!0x0)},I=_0x43a6c5(0x1a1);function F(_0x54aca4){var _0x20ccd8=_0x43a6c5;return{'id':I,'type':_0x26df5e[_0x20ccd8(0x192)],'icon':_0x20ccd8(0x197),'tooltip':_0x20ccd8(0x1b0),'hidden$':_0x3ba9ef(_0x54aca4,_0x4418c0[_0x20ccd8(0x19f)])};}function X(){var _0x3fc4fd=_0x43a6c5;return{'id':d['id'],'type':_0x26df5e[_0x3fc4fd(0x1a9)],'title':_0x3fc4fd(0x19b),'icon':'FolderSingle'};}function G(){var _0x468d0e=_0x43a6c5;return{'id':_['id'],'type':_0x26df5e['BUTTON'],'title':_0x468d0e(0x193),'icon':_0x468d0e(0x1af)};}const A={[_0x39ab3c[_0x43a6c5(0x1b3)]]:{[I]:{'order':0x4,'menuItemFactory':F,[d['id']]:{'order':0x0,'menuItemFactory':X},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var L=Object[_0x43a6c5(0x18e)],R=(_0x1a86ca,_0x3a35f9,_0x5e34ee,_0x495e)=>{for(var _0x57d3b9=_0x495e>0x1?void 0x0:_0x495e?L(_0x3a35f9,_0x5e34ee):_0x3a35f9,_0x302859=_0x1a86ca['length']-0x1,_0x2f3b7b;_0x302859>=0x0;_0x302859--)(_0x2f3b7b=_0x1a86ca[_0x302859])&&(_0x57d3b9=_0x2f3b7b(_0x57d3b9)||_0x57d3b9);return _0x57d3b9;},u=(_0x2e2924,_0x4d5d4b)=>(_0x17bf84,_0xc7dd7c)=>_0x4d5d4b(_0x17bf84,_0xc7dd7c,_0x2e2924);let a=class extends _0x4a8e23{constructor(_0x3b1ae1,_0x2b9e01){var _0x1a19d9=_0x43a6c5;super(),this['_commandService']=_0x3b1ae1,this[_0x1a19d9(0x1ae)]=_0x2b9e01,this[_0x1a19d9(0x1b4)](),this[_0x1a19d9(0x1ad)]();}[_0x43a6c5(0x1b4)](){var _0x2dd367=_0x43a6c5;[d,_][_0x2dd367(0x1b7)](_0x363599=>{var _0x12454d=_0x2dd367;this[_0x12454d(0x1a4)](this['_commandService'][_0x12454d(0x195)](_0x363599));});}[_0x43a6c5(0x1ad)](){var _0x136dc5=_0x43a6c5;this[_0x136dc5(0x1ae)][_0x136dc5(0x1a2)](A);}};a=R([u(0x0,_0x3141df),u(0x1,_0x55f36a)],a);var j=Object['defineProperty'],w=Object[_0x43a6c5(0x18e)],B=(_0x2268e1,_0x5f1bc9,_0x4be8dd)=>_0x5f1bc9 in _0x2268e1?j(_0x2268e1,_0x5f1bc9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4be8dd}):_0x2268e1[_0x5f1bc9]=_0x4be8dd,H=(_0x3e381a,_0x581a74,_0x4bf81a,_0x25f194)=>{var _0xda3631=_0x43a6c5;for(var _0xcee75a=_0x25f194>0x1?void 0x0:_0x25f194?w(_0x581a74,_0x4bf81a):_0x581a74,_0x5919d5=_0x3e381a[_0xda3631(0x196)]-0x1,_0x84420a;_0x5919d5>=0x0;_0x5919d5--)(_0x84420a=_0x3e381a[_0x5919d5])&&(_0xcee75a=_0x84420a(_0xcee75a)||_0xcee75a);return _0xcee75a;},g=(_0x467ecf,_0x3ef8bb)=>(_0x2622d4,_0xd619d3)=>_0x3ef8bb(_0x2622d4,_0xd619d3,_0x467ecf),v=(_0x2f5b6f,_0x107180,_0x315964)=>B(_0x2f5b6f,typeof _0x107180!=_0x43a6c5(0x1ac)?_0x107180+'':_0x107180,_0x315964);const $=_0x43a6c5(0x1b5);function _0x24cc(){var _0x364307=['exportDOCXByUnitId','1446012CLpyKn','setConfig','4696998AePKLb','BUTTON','27367770QPZLpO','get','symbol','_initMenus','_menuManagerService','ExportSingle','exchange.file','importDOCXToUnitId','menu','FILE','_initCommands','DOC_EXCHANGE_CLIENT_PLUGIN','OPERATION','forEach','1044237cfryDh','_configService','docs-exchange-client.config','getOwnPropertyDescriptor','9fjgQAM','_config','exchange-client.operation.export-docx','SUBITEMS','exchange.download','2982wTjwWP','registerCommand','length','DirectExportSingle','_injector','3293545agTgUz','exchange-client.operation.import-docx','exchange.upload','pluginName','66634KppXJW','11072TQwwUB','UNIVER_DOC','13dlTYyz','docs-exchange-client.operation.exchange','mergeMenu','add','disposeWithMe'];_0x24cc=function(){return _0x364307;};return _0x24cc();}let s=class extends _0x4f659b{constructor(_0x3124d5=m,_0x4a585c,_0x29687c){var _0x4b4304=_0x43a6c5;super(),this[_0x4b4304(0x190)]=_0x3124d5,this[_0x4b4304(0x198)]=_0x4a585c,this[_0x4b4304(0x18c)]=_0x29687c;const {menu:_0x1d2c35,..._0x51e68d}=_0x25229f({},m,this[_0x4b4304(0x190)]);_0x1d2c35&&this[_0x4b4304(0x18c)][_0x4b4304(0x1a7)](_0x4b4304(0x1b2),_0x1d2c35,{'merge':!0x0}),this['_configService'][_0x4b4304(0x1a7)](b,_0x51e68d);}['onStarting'](){var _0x1670f5=_0x43a6c5;[[a]]['forEach'](_0x4142b7=>this[_0x1670f5(0x198)][_0x1670f5(0x1a3)](_0x4142b7));}['onReady'](){var _0x2609fa=_0x43a6c5;this[_0x2609fa(0x198)]['get'](a);}};v(s,_0x43a6c5(0x19c),$),v(s,'type',_0x4418c0[_0x43a6c5(0x19f)]),s=H([_0x4a9b76(_0x19f9b3),g(0x1,_0x274593(_0x504b61)),g(0x2,_0x57c74a)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3128(){var _0x3bd728=['exchange-client.operation.import-docx','_initMenus','onReady','Disposable','@univerjs/core','RibbonStartGroup','DirectExportSingle','178djuTRL','exchange.download','MenuItemType','2680710othvrI','ICommandService','FILE','CommandType','UniverProExchangeClient','add','docs-exchange-client.operation.exchange','type','OPERATION','IExchangeOperateService','symbol','UNIVER_DOC','ExportSingle','object','defineProperty','get','Injector','ExportDOCXOperation','exports','toStringTag','1129191XyVvIz','BUTTON','1606002ZtjhBb','UniverDocsExchangeClientPlugin','SUBITEMS','ImportDOCXOperation','exchange.file','8844822HPcwYy','_injector','DOC_EXCHANGE_CLIENT_PLUGIN','DependentOn','getMenuHiddenObservable','UniverUi','menu','importDOCXToUnitId','merge','Inject','exportDOCXByUnitId','_menuManagerService','8ePcHYl','7035686CVcRaO','setConfig','forEach','UniverProDocsExchangeClient','@univerjs-pro/exchange-client','exchange.upload','20OEJRac','_configService','5061yfNwWT','length','_commandService','amd','_config','IMenuManagerService','registerCommand','IConfigService','1589564KBDDaQ','getOwnPropertyDescriptor','_initCommands','UniverInstanceType'];_0x3128=function(){return _0x3bd728;};return _0x3128();}function _0x3f85(_0x694076,_0xcdd47f){var _0x3128a8=_0x3128();return _0x3f85=function(_0x3f8531,_0xaaab27){_0x3f8531=_0x3f8531-0x105;var _0x1d6bb0=_0x3128a8[_0x3f8531];return _0x1d6bb0;},_0x3f85(_0x694076,_0xcdd47f);}(function(_0x4b5d01,_0x4ecb3c){var _0x5db772=_0x3f85,_0x316e1f=_0x4b5d01();while(!![]){try{var _0x1eecd7=-parseInt(_0x5db772(0x132))/0x1+parseInt(_0x5db772(0x11b))/0x2*(-parseInt(_0x5db772(0x108))/0x3)+-parseInt(_0x5db772(0x110))/0x4*(-parseInt(_0x5db772(0x106))/0x5)+parseInt(_0x5db772(0x134))/0x6+parseInt(_0x5db772(0x146))/0x7*(parseInt(_0x5db772(0x145))/0x8)+-parseInt(_0x5db772(0x139))/0x9+parseInt(_0x5db772(0x11e))/0xa;if(_0x1eecd7===_0x4ecb3c)break;else _0x316e1f['push'](_0x316e1f['shift']());}catch(_0x117719){_0x316e1f['push'](_0x316e1f['shift']());}}}(_0x3128,0xd3fd4),function(_0x2eb3a0,_0x3d7762){var _0x2f4ea4=_0x3f85;typeof exports==_0x2f4ea4(0x12b)&&typeof module<'u'?_0x3d7762(exports,require(_0x2f4ea4(0x14a)),require(_0x2f4ea4(0x118)),require('@univerjs/ui')):typeof define=='function'&&define[_0x2f4ea4(0x10b)]?define([_0x2f4ea4(0x130),_0x2f4ea4(0x14a),_0x2f4ea4(0x118),'@univerjs/ui'],_0x3d7762):(_0x2eb3a0=typeof globalThis<'u'?globalThis:_0x2eb3a0||self,_0x3d7762(_0x2eb3a0[_0x2f4ea4(0x149)]={},_0x2eb3a0[_0x2f4ea4(0x122)],_0x2eb3a0['UniverCore'],_0x2eb3a0[_0x2f4ea4(0x13e)]));}(this,function(_0xc973c4,_0x2fd92e,_0x6b77f6,_0x4e4b35){'use strict';var _0x275fb3=_0x3f85;const _0x23340f='docs-exchange-client.config',_0x1fe872={},_0x430193={'id':_0x275fb3(0x114),'type':_0x6b77f6[_0x275fb3(0x121)][_0x275fb3(0x126)],'handler':async _0x5549e7=>(_0x5549e7[_0x275fb3(0x12d)](_0x2fd92e['IExchangeOperateService'])[_0x275fb3(0x140)](),!0x0)},_0x483eec={'id':'exchange-client.operation.export-docx','type':_0x6b77f6[_0x275fb3(0x121)][_0x275fb3(0x126)],'handler':async _0x51f234=>(_0x51f234['get'](_0x2fd92e[_0x275fb3(0x127)])[_0x275fb3(0x143)](),!0x0)},_0x15e91e=_0x275fb3(0x124);function _0x4653de(_0x5f3a6a){var _0x40fe7b=_0x275fb3;return{'id':_0x15e91e,'type':_0x4e4b35[_0x40fe7b(0x11d)][_0x40fe7b(0x136)],'icon':_0x40fe7b(0x11a),'tooltip':_0x40fe7b(0x138),'hidden$':_0x4e4b35[_0x40fe7b(0x13d)](_0x5f3a6a,_0x6b77f6[_0x40fe7b(0x113)][_0x40fe7b(0x129)])};}function _0x173596(){var _0x1682d2=_0x275fb3;return{'id':_0x430193['id'],'type':_0x4e4b35[_0x1682d2(0x11d)][_0x1682d2(0x133)],'title':_0x1682d2(0x105),'icon':'FolderSingle'};}function _0x38bbb2(){var _0x333097=_0x275fb3;return{'id':_0x483eec['id'],'type':_0x4e4b35[_0x333097(0x11d)][_0x333097(0x133)],'title':_0x333097(0x11c),'icon':_0x333097(0x12a)};}const _0x3dd571={[_0x4e4b35[_0x275fb3(0x119)][_0x275fb3(0x120)]]:{[_0x15e91e]:{'order':0x4,'menuItemFactory':_0x4653de,[_0x430193['id']]:{'order':0x0,'menuItemFactory':_0x173596},[_0x483eec['id']]:{'order':0x1,'menuItemFactory':_0x38bbb2}}}};var _0x475822=Object[_0x275fb3(0x111)],_0x342d94=(_0x29c845,_0x23ba3e,_0x2f7fb0,_0x27f6e5)=>{for(var _0x328ce1=_0x27f6e5>0x1?void 0x0:_0x27f6e5?_0x475822(_0x23ba3e,_0x2f7fb0):_0x23ba3e,_0x170e2c=_0x29c845['length']-0x1,_0x54c672;_0x170e2c>=0x0;_0x170e2c--)(_0x54c672=_0x29c845[_0x170e2c])&&(_0x328ce1=_0x54c672(_0x328ce1)||_0x328ce1);return _0x328ce1;},_0x277cc3=(_0x3f100c,_0x189071)=>(_0x2a51d8,_0x51322a)=>_0x189071(_0x2a51d8,_0x51322a,_0x3f100c);let _0x542387=class extends _0x6b77f6[_0x275fb3(0x117)]{constructor(_0x229532,_0x111ccd){var _0x26d6e6=_0x275fb3;super(),this[_0x26d6e6(0x10a)]=_0x229532,this[_0x26d6e6(0x144)]=_0x111ccd,this[_0x26d6e6(0x112)](),this[_0x26d6e6(0x115)]();}['_initCommands'](){var _0x350192=_0x275fb3;[_0x430193,_0x483eec][_0x350192(0x148)](_0x2e99e1=>{var _0x138087=_0x350192;this['disposeWithMe'](this[_0x138087(0x10a)][_0x138087(0x10e)](_0x2e99e1));});}[_0x275fb3(0x115)](){var _0xb96094=_0x275fb3;this[_0xb96094(0x144)]['mergeMenu'](_0x3dd571);}};_0x542387=_0x342d94([_0x277cc3(0x0,_0x6b77f6[_0x275fb3(0x11f)]),_0x277cc3(0x1,_0x4e4b35[_0x275fb3(0x10d)])],_0x542387);var _0x45fef5=Object['defineProperty'],_0x250875=Object[_0x275fb3(0x111)],_0x190862=(_0x31057d,_0x2c1fbb,_0x441716)=>_0x2c1fbb in _0x31057d?_0x45fef5(_0x31057d,_0x2c1fbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x441716}):_0x31057d[_0x2c1fbb]=_0x441716,_0x273c9=(_0x364c16,_0x139676,_0x2ba3d6,_0x2cda7b)=>{var _0x4b0215=_0x275fb3;for(var _0x4b0e4d=_0x2cda7b>0x1?void 0x0:_0x2cda7b?_0x250875(_0x139676,_0x2ba3d6):_0x139676,_0x1fc833=_0x364c16[_0x4b0215(0x109)]-0x1,_0x43ffb9;_0x1fc833>=0x0;_0x1fc833--)(_0x43ffb9=_0x364c16[_0x1fc833])&&(_0x4b0e4d=_0x43ffb9(_0x4b0e4d)||_0x4b0e4d);return _0x4b0e4d;},_0x43b346=(_0x46dba8,_0x27ad04)=>(_0x81f8c5,_0x4ffa21)=>_0x27ad04(_0x81f8c5,_0x4ffa21,_0x46dba8),_0x465f48=(_0x451a19,_0x29de45,_0x511ddb)=>_0x190862(_0x451a19,typeof _0x29de45!=_0x275fb3(0x128)?_0x29de45+'':_0x29de45,_0x511ddb);const _0x26891f=_0x275fb3(0x13b);_0xc973c4[_0x275fb3(0x135)]=class extends _0x6b77f6['Plugin']{constructor(_0x2a2292=_0x1fe872,_0x587df1,_0x2bb1fe){var _0x4c15fa=_0x275fb3;super(),this[_0x4c15fa(0x10c)]=_0x2a2292,this[_0x4c15fa(0x13a)]=_0x587df1,this['_configService']=_0x2bb1fe;const {menu:_0x14f0a6,..._0x59b232}=_0x6b77f6[_0x4c15fa(0x141)]({},_0x1fe872,this['_config']);_0x14f0a6&&this[_0x4c15fa(0x107)][_0x4c15fa(0x147)](_0x4c15fa(0x13f),_0x14f0a6,{'merge':!0x0}),this[_0x4c15fa(0x107)][_0x4c15fa(0x147)](_0x23340f,_0x59b232);}['onStarting'](){var _0x3e56b0=_0x275fb3;[[_0x542387]]['forEach'](_0x11abd0=>this[_0x3e56b0(0x13a)][_0x3e56b0(0x123)](_0x11abd0));}[_0x275fb3(0x116)](){var _0x499054=_0x275fb3;this[_0x499054(0x13a)][_0x499054(0x12d)](_0x542387);}},_0x465f48(_0xc973c4[_0x275fb3(0x135)],'pluginName',_0x26891f),_0x465f48(_0xc973c4[_0x275fb3(0x135)],_0x275fb3(0x125),_0x6b77f6[_0x275fb3(0x113)]['UNIVER_DOC']),_0xc973c4[_0x275fb3(0x135)]=_0x273c9([_0x6b77f6[_0x275fb3(0x13c)](_0x2fd92e['UniverExchangeClientPlugin']),_0x43b346(0x1,_0x6b77f6[_0x275fb3(0x142)](_0x6b77f6[_0x275fb3(0x12e)])),_0x43b346(0x2,_0x6b77f6[_0x275fb3(0x10f)])],_0xc973c4[_0x275fb3(0x135)]),_0xc973c4[_0x275fb3(0x12f)]=_0x483eec,_0xc973c4[_0x275fb3(0x137)]=_0x430193,Object[_0x275fb3(0x12c)](_0xc973c4,Symbol[_0x275fb3(0x131)],{'value':'Module'});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/docs-exchange-client",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3-nightly.202503051607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@univerjs-pro/exchange-client": "0.6.
|
|
46
|
-
"@univerjs/
|
|
47
|
-
"@univerjs/
|
|
45
|
+
"@univerjs-pro/exchange-client": "0.6.3-nightly.202503051607",
|
|
46
|
+
"@univerjs/ui": "0.6.3-nightly.202503051607",
|
|
47
|
+
"@univerjs/core": "0.6.3-nightly.202503051607"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"typescript": "^5.
|
|
50
|
+
"typescript": "^5.8.2",
|
|
51
51
|
"vite": "^6.2.0",
|
|
52
52
|
"vitest": "^3.0.7",
|
|
53
|
-
"@univerjs-infra/shared": "0.6.
|
|
53
|
+
"@univerjs-infra/shared": "0.6.3"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"test": "vitest run",
|