@univerjs-pro/docs-exchange-client 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251213-692494c

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 _0x1ef94e=_0x1abe;(function(_0x4365f6,_0x454a09){var _0x101517=_0x1abe,_0x17726f=_0x4365f6();while(!![]){try{var _0x273349=-parseInt(_0x101517(0x14b))/0x1+parseInt(_0x101517(0x12b))/0x2+-parseInt(_0x101517(0x137))/0x3+parseInt(_0x101517(0x12e))/0x4*(-parseInt(_0x101517(0x14a))/0x5)+-parseInt(_0x101517(0x136))/0x6*(parseInt(_0x101517(0x14d))/0x7)+-parseInt(_0x101517(0x11b))/0x8*(-parseInt(_0x101517(0x12f))/0x9)+parseInt(_0x101517(0x147))/0xa*(parseInt(_0x101517(0x122))/0xb);if(_0x273349===_0x454a09)break;else _0x17726f['push'](_0x17726f['shift']());}catch(_0x45f7b4){_0x17726f['push'](_0x17726f['shift']());}}}(_0x399a,0xa464a));function _0x1abe(_0x7ff26e,_0x57eeee){_0x7ff26e=_0x7ff26e-0x11b;var _0x399acc=_0x399a();var _0x1abe88=_0x399acc[_0x7ff26e];return _0x1abe88;}function _0x399a(){var _0x118e02=['28788EECULI','611205otAEpv','add','disposeWithMe','UniverDocsExchangeClientPlugin','exchange.download','IConfigService','_initCommands','importDOCXToUnitId','IExchangeOperateService','MenuItemType','DirectExportIcon','Disposable','BUTTON','toStringTag','OTHERS','length','13677110VUDWyx','exchange-client.operation.export-docx','exchange.upload','55915rMsdWd','646644aybGQw','onReady','1309rUCVUx','mergeMenu','get','FolderIcon','_config','docs-exchange-client.operation.exchange','type','SUBITEMS','_initMenus','ExportIcon','OPERATION','Inject','onStarting','7432wxEoYi','getOwnPropertyDescriptor','exportDOCXByUnitId','_commandService','forEach','docs-exchange-client.config','ICommandService','22jkYrsW','menu','setConfig','ImportDOCXOperation','_injector','Injector','Plugin','UniverInstanceType','_configService','452386sNduAA','UNIVER_DOC','symbol','316jBjLha','3321rBhcib','DOC_EXCHANGE_CLIENT_PLUGIN','pluginName','registerCommand','exchange-client.operation.import-docx','RibbonStartGroup','defineProperty'];_0x399a=function(){return _0x118e02;};return _0x399a();}Object['defineProperty'](exports,Symbol[_0x1ef94e(0x144)],{'value':'Module'});const d=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core'),a=require('@univerjs/ui'),p={'id':_0x1ef94e(0x133),'type':i['CommandType'][_0x1ef94e(0x157)],'handler':async _0x20cbab=>(_0x20cbab['get'](d[_0x1ef94e(0x13f)])[_0x1ef94e(0x13e)](),!0x0)},g={'id':_0x1ef94e(0x148),'type':i['CommandType']['OPERATION'],'handler':async _0x291047=>(_0x291047[_0x1ef94e(0x14f)](d[_0x1ef94e(0x13f)])[_0x1ef94e(0x11d)](),!0x0)},I=_0x1ef94e(0x120),l={},h=_0x1ef94e(0x152);function v(_0x484c0f){var _0x13e900=_0x1ef94e;return{'id':h,'type':a[_0x13e900(0x140)][_0x13e900(0x154)],'icon':_0x13e900(0x141),'tooltip':'exchange.file','hidden$':a['getMenuHiddenObservable'](_0x484c0f,i[_0x13e900(0x129)][_0x13e900(0x12c)])};}function O(){var _0x5c91d7=_0x1ef94e;return{'id':p['id'],'type':a[_0x5c91d7(0x140)][_0x5c91d7(0x143)],'title':_0x5c91d7(0x149),'icon':_0x5c91d7(0x150)};}function E(){var _0x47af82=_0x1ef94e;return{'id':g['id'],'type':a[_0x47af82(0x140)]['BUTTON'],'title':_0x47af82(0x13b),'icon':_0x47af82(0x156)};}const x={[a[_0x1ef94e(0x134)][_0x1ef94e(0x145)]]:{[h]:{'order':0.3,'menuItemFactory':v,[p['id']]:{'order':0x0,'menuItemFactory':O},[g['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object[_0x1ef94e(0x11c)],f=(_0x56141d,_0x5ccf89,_0x3dbcd7,_0x3eb736)=>{var _0x374d46=_0x1ef94e;for(var _0x3e06fe=_0x3eb736>0x1?void 0x0:_0x3eb736?D(_0x5ccf89,_0x3dbcd7):_0x5ccf89,_0x1155f8=_0x56141d[_0x374d46(0x146)]-0x1,_0x26e0f4;_0x1155f8>=0x0;_0x1155f8--)(_0x26e0f4=_0x56141d[_0x1155f8])&&(_0x3e06fe=_0x26e0f4(_0x3e06fe)||_0x3e06fe);return _0x3e06fe;},_=(_0x2d8151,_0x64ec1c)=>(_0x5b4715,_0x44b995)=>_0x64ec1c(_0x5b4715,_0x44b995,_0x2d8151);let u=class extends i[_0x1ef94e(0x142)]{constructor(_0x2d1e08,_0x5e7bf9){var _0x285d0b=_0x1ef94e;super(),this[_0x285d0b(0x11e)]=_0x2d1e08,this['_menuManagerService']=_0x5e7bf9,this[_0x285d0b(0x13d)](),this['_initMenus']();}[_0x1ef94e(0x13d)](){var _0x1d102c=_0x1ef94e;[p,g][_0x1d102c(0x11f)](_0x4a4d3f=>{var _0x8fac01=_0x1d102c;this[_0x8fac01(0x139)](this[_0x8fac01(0x11e)][_0x8fac01(0x132)](_0x4a4d3f));});}[_0x1ef94e(0x155)](){var _0x532704=_0x1ef94e;this['_menuManagerService'][_0x532704(0x14e)](x);}};u=f([_(0x0,i[_0x1ef94e(0x121)]),_(0x1,a['IMenuManagerService'])],u);var y=Object[_0x1ef94e(0x135)],S=Object[_0x1ef94e(0x11c)],P=(_0x468565,_0x4e3600,_0x3e047b)=>_0x4e3600 in _0x468565?y(_0x468565,_0x4e3600,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e047b}):_0x468565[_0x4e3600]=_0x3e047b,T=(_0x3f2b7c,_0x52ec4f,_0x2cc4e1,_0x1cf4a8)=>{var _0x102c66=_0x1ef94e;for(var _0x493b25=_0x1cf4a8>0x1?void 0x0:_0x1cf4a8?S(_0x52ec4f,_0x2cc4e1):_0x52ec4f,_0x211967=_0x3f2b7c[_0x102c66(0x146)]-0x1,_0x1b8055;_0x211967>=0x0;_0x211967--)(_0x1b8055=_0x3f2b7c[_0x211967])&&(_0x493b25=_0x1b8055(_0x493b25)||_0x493b25);return _0x493b25;},m=(_0x519d15,_0x5c1e4b)=>(_0x3e0917,_0x2fa0c1)=>_0x5c1e4b(_0x3e0917,_0x2fa0c1,_0x519d15),C=(_0x55ae42,_0x2b73f5,_0x4a5c6a)=>P(_0x55ae42,typeof _0x2b73f5!=_0x1ef94e(0x12d)?_0x2b73f5+'':_0x2b73f5,_0x4a5c6a);const U=_0x1ef94e(0x130);exports[_0x1ef94e(0x13a)]=class extends i[_0x1ef94e(0x128)]{constructor(_0x13b6f1=l,_0x4d2e6b,_0xfc2042){var _0x204e6e=_0x1ef94e;super(),this[_0x204e6e(0x151)]=_0x13b6f1,this[_0x204e6e(0x126)]=_0x4d2e6b,this[_0x204e6e(0x12a)]=_0xfc2042;const {menu:_0x4cec41,..._0x5294c8}=i['merge']({},l,this['_config']);_0x4cec41&&this['_configService']['setConfig'](_0x204e6e(0x123),_0x4cec41,{'merge':!0x0}),this[_0x204e6e(0x12a)][_0x204e6e(0x124)](I,_0x5294c8);}[_0x1ef94e(0x159)](){var _0x3472c6=_0x1ef94e;[[u]][_0x3472c6(0x11f)](_0xfe57e9=>this[_0x3472c6(0x126)][_0x3472c6(0x138)](_0xfe57e9));}[_0x1ef94e(0x14c)](){var _0xd78125=_0x1ef94e;this[_0xd78125(0x126)][_0xd78125(0x14f)](u);}},C(exports[_0x1ef94e(0x13a)],_0x1ef94e(0x131),U),C(exports[_0x1ef94e(0x13a)],_0x1ef94e(0x153),i['UniverInstanceType'][_0x1ef94e(0x12c)]),exports['UniverDocsExchangeClientPlugin']=T([i['DependentOn'](d['UniverExchangeClientPlugin']),m(0x1,i[_0x1ef94e(0x158)](i[_0x1ef94e(0x127)])),m(0x2,i[_0x1ef94e(0x13c)])],exports[_0x1ef94e(0x13a)]),exports['ExportDOCXOperation']=g,exports[_0x1ef94e(0x125)]=p;
1
+ 'use strict';var _0x195601=_0x32eb;(function(_0x2e1313,_0x1108dc){var _0x4627ce=_0x32eb,_0x3f5cba=_0x2e1313();while(!![]){try{var _0x3ae5f6=-parseInt(_0x4627ce(0x189))/0x1*(parseInt(_0x4627ce(0x15f))/0x2)+parseInt(_0x4627ce(0x187))/0x3*(parseInt(_0x4627ce(0x181))/0x4)+-parseInt(_0x4627ce(0x171))/0x5*(-parseInt(_0x4627ce(0x177))/0x6)+-parseInt(_0x4627ce(0x17f))/0x7*(parseInt(_0x4627ce(0x16b))/0x8)+-parseInt(_0x4627ce(0x166))/0x9*(-parseInt(_0x4627ce(0x162))/0xa)+-parseInt(_0x4627ce(0x175))/0xb+parseInt(_0x4627ce(0x164))/0xc*(parseInt(_0x4627ce(0x186))/0xd);if(_0x3ae5f6===_0x1108dc)break;else _0x3f5cba['push'](_0x3f5cba['shift']());}catch(_0x376492){_0x3f5cba['push'](_0x3f5cba['shift']());}}}(_0x3a5e,0x6e55a));Object[_0x195601(0x169)](exports,Symbol['toStringTag'],{'value':'Module'});function _0x32eb(_0x609990,_0x430551){_0x609990=_0x609990-0x156;var _0x3a5ee8=_0x3a5e();var _0x32ebf2=_0x3a5ee8[_0x609990];return _0x32ebf2;}const d=require('@univerjs-pro/exchange-client'),i=require('@univerjs/core'),a=require('@univerjs/ui'),p={'id':_0x195601(0x16e),'type':i[_0x195601(0x18d)][_0x195601(0x176)],'handler':async _0xbc7cae=>(_0xbc7cae['get'](d[_0x195601(0x170)])[_0x195601(0x15a)](),!0x0)},g={'id':_0x195601(0x17a),'type':i[_0x195601(0x18d)]['OPERATION'],'handler':async _0x21b0e8=>(_0x21b0e8[_0x195601(0x163)](d[_0x195601(0x170)])[_0x195601(0x15c)](),!0x0)},I=_0x195601(0x159),l={},h='docs-exchange-client.operation.exchange';function v(_0x156acb){var _0x4427d1=_0x195601;return{'id':h,'type':a[_0x4427d1(0x180)]['SUBITEMS'],'icon':_0x4427d1(0x16c),'tooltip':'exchange.file','hidden$':a[_0x4427d1(0x191)](_0x156acb,i[_0x4427d1(0x17e)][_0x4427d1(0x16a)])};}function O(){var _0x2c16e5=_0x195601;return{'id':p['id'],'type':a[_0x2c16e5(0x180)][_0x2c16e5(0x165)],'title':_0x2c16e5(0x18a),'icon':_0x2c16e5(0x179)};}function E(){var _0x565306=_0x195601;return{'id':g['id'],'type':a['MenuItemType']['BUTTON'],'title':_0x565306(0x190),'icon':_0x565306(0x178)};}const x={[a[_0x195601(0x15b)][_0x195601(0x195)]]:{[h]:{'order':0.3,'menuItemFactory':v,[p['id']]:{'order':0x0,'menuItemFactory':O},[g['id']]:{'order':0x1,'menuItemFactory':E}}}};var D=Object['getOwnPropertyDescriptor'],f=(_0x178f2d,_0x3d1a2c,_0x404303,_0x267fb5)=>{for(var _0x3b927a=_0x267fb5>0x1?void 0x0:_0x267fb5?D(_0x3d1a2c,_0x404303):_0x3d1a2c,_0x57b908=_0x178f2d['length']-0x1,_0x348059;_0x57b908>=0x0;_0x57b908--)(_0x348059=_0x178f2d[_0x57b908])&&(_0x3b927a=_0x348059(_0x3b927a)||_0x3b927a);return _0x3b927a;},_=(_0x9f4a79,_0x2e13eb)=>(_0x1ed035,_0x2ef122)=>_0x2e13eb(_0x1ed035,_0x2ef122,_0x9f4a79);let u=class extends i[_0x195601(0x188)]{constructor(_0x26bbdf,_0x4f0449){var _0x219d99=_0x195601;super(),this[_0x219d99(0x16f)]=_0x26bbdf,this[_0x219d99(0x183)]=_0x4f0449,this[_0x219d99(0x18e)](),this[_0x219d99(0x168)]();}[_0x195601(0x18e)](){var _0x3447e2=_0x195601;[p,g][_0x3447e2(0x158)](_0x3b1e84=>{var _0x18663a=_0x3447e2;this[_0x18663a(0x194)](this[_0x18663a(0x16f)][_0x18663a(0x192)](_0x3b1e84));});}[_0x195601(0x168)](){var _0x21d6db=_0x195601;this[_0x21d6db(0x183)][_0x21d6db(0x184)](x);}};u=f([_(0x0,i[_0x195601(0x15e)]),_(0x1,a['IMenuManagerService'])],u);var y=Object['defineProperty'],S=Object[_0x195601(0x18c)],P=(_0x1f8ed3,_0x34c207,_0x4c5ff0)=>_0x34c207 in _0x1f8ed3?y(_0x1f8ed3,_0x34c207,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c5ff0}):_0x1f8ed3[_0x34c207]=_0x4c5ff0,T=(_0x10955c,_0x15f8c9,_0x2bb64a,_0x3bc593)=>{for(var _0x703e2e=_0x3bc593>0x1?void 0x0:_0x3bc593?S(_0x15f8c9,_0x2bb64a):_0x15f8c9,_0x125469=_0x10955c['length']-0x1,_0x4788fc;_0x125469>=0x0;_0x125469--)(_0x4788fc=_0x10955c[_0x125469])&&(_0x703e2e=_0x4788fc(_0x703e2e)||_0x703e2e);return _0x703e2e;},m=(_0x4012f8,_0x4c8e0c)=>(_0x3ede7d,_0x197b2f)=>_0x4c8e0c(_0x3ede7d,_0x197b2f,_0x4012f8),C=(_0x47de6f,_0x2e7f84,_0x35e3ed)=>P(_0x47de6f,typeof _0x2e7f84!=_0x195601(0x15d)?_0x2e7f84+'':_0x2e7f84,_0x35e3ed);const U='DOC_EXCHANGE_CLIENT_PLUGIN';exports[_0x195601(0x182)]=class extends i[_0x195601(0x17d)]{constructor(_0x13ce9b=l,_0x3afdbc,_0x53d50b){var _0x4fe3c3=_0x195601;super(),this[_0x4fe3c3(0x172)]=_0x13ce9b,this[_0x4fe3c3(0x17c)]=_0x3afdbc,this[_0x4fe3c3(0x160)]=_0x53d50b;const {menu:_0x4febca,..._0x2048fe}=i[_0x4fe3c3(0x157)]({},l,this[_0x4fe3c3(0x172)]);_0x4febca&&this[_0x4fe3c3(0x160)][_0x4fe3c3(0x18b)](_0x4fe3c3(0x16d),_0x4febca,{'merge':!0x0}),this[_0x4fe3c3(0x160)]['setConfig'](I,_0x2048fe);}['onStarting'](){var _0x51cad8=_0x195601;[[u]]['forEach'](_0x2690c0=>this[_0x51cad8(0x17c)][_0x51cad8(0x167)](_0x2690c0));}['onReady'](){var _0x591df1=_0x195601;this[_0x591df1(0x17c)][_0x591df1(0x163)](u);}},C(exports['UniverDocsExchangeClientPlugin'],_0x195601(0x18f),U),C(exports[_0x195601(0x182)],_0x195601(0x156),i[_0x195601(0x17e)][_0x195601(0x16a)]),exports[_0x195601(0x182)]=T([i[_0x195601(0x17b)](d[_0x195601(0x161)]),m(0x1,i[_0x195601(0x173)](i['Injector'])),m(0x2,i[_0x195601(0x193)])],exports[_0x195601(0x182)]),exports[_0x195601(0x185)]=g,exports[_0x195601(0x174)]=p;function _0x3a5e(){var _0x15d7d4=['_commandService','IExchangeOperateService','210mmFPZl','_config','Inject','ImportDOCXOperation','9812935bNCiit','OPERATION','27504OwOxku','ExportIcon','FolderIcon','exchange-client.operation.export-docx','DependentOn','_injector','Plugin','UniverInstanceType','12817eLGOvT','MenuItemType','692PEsHlg','UniverDocsExchangeClientPlugin','_menuManagerService','mergeMenu','ExportDOCXOperation','8723mwwlDg','14412QCEWXR','Disposable','497888jNJQVL','exchange.upload','setConfig','getOwnPropertyDescriptor','CommandType','_initCommands','pluginName','exchange.download','getMenuHiddenObservable','registerCommand','IConfigService','disposeWithMe','OTHERS','type','merge','forEach','docs-exchange-client.config','importDOCXToUnitId','RibbonStartGroup','exportDOCXByUnitId','symbol','ICommandService','2TNLsam','_configService','UniverExchangeClientPlugin','1020qzmvbV','get','13116CwSWIo','BUTTON','47556gHpseG','add','_initMenus','defineProperty','UNIVER_DOC','1984qzsHqn','DirectExportIcon','menu','exchange-client.operation.import-docx'];_0x3a5e=function(){return _0x15d7d4;};return _0x3a5e();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2f1784=_0x5b2c;(function(_0x3692ac,_0xf8abee){var _0x532dd0=_0x5b2c,_0x5f559d=_0x3692ac();while(!![]){try{var _0x2e4d89=-parseInt(_0x532dd0(0xf3))/0x1*(parseInt(_0x532dd0(0xde))/0x2)+parseInt(_0x532dd0(0xd8))/0x3+-parseInt(_0x532dd0(0xe5))/0x4+parseInt(_0x532dd0(0xed))/0x5*(parseInt(_0x532dd0(0xe3))/0x6)+parseInt(_0x532dd0(0xef))/0x7+parseInt(_0x532dd0(0xf8))/0x8*(parseInt(_0x532dd0(0xeb))/0x9)+parseInt(_0x532dd0(0xdf))/0xa*(-parseInt(_0x532dd0(0xf7))/0xb);if(_0x2e4d89===_0xf8abee)break;else _0x5f559d['push'](_0x5f559d['shift']());}catch(_0x46f602){_0x5f559d['push'](_0x5f559d['shift']());}}}(_0x6c54,0x1c9fa));import{IExchangeOperateService as _0xe58dc0,UniverExchangeClientPlugin as _0x36d17e}from'@univerjs-pro/exchange-client';function _0x6c54(){var _0x29a816=['_initCommands','356445trsVbM','ExportIcon','SUBITEMS','DOC_EXCHANGE_CLIENT_PLUGIN','DirectExportIcon','registerCommand','2OOFSQE','10baaxvs','get','_initMenus','importDOCXToUnitId','104088iUBdkE','FolderIcon','529752FMkLvD','exchange.upload','onReady','OTHERS','BUTTON','defineProperty','9wfKMkl','exchange.file','30msXGfn','getOwnPropertyDescriptor','43869IfzzNu','type','exchange-client.operation.export-docx','docs-exchange-client.config','15086Uglaqc','length','UNIVER_DOC','_injector','1754423nNvwyK','1560712eZQWBx','mergeMenu','menu','docs-exchange-client.operation.exchange','OPERATION','forEach','_config','symbol','setConfig','_configService','disposeWithMe','_menuManagerService','_commandService'];_0x6c54=function(){return _0x29a816;};return _0x6c54();}import{CommandType as _0x1a4c57,UniverInstanceType as _0x5aa222,Disposable as _0x34a32,ICommandService as _0x20c188,DependentOn as _0x474606,Inject as _0x5c062d,Injector as _0x497aa9,IConfigService as _0x3439af,Plugin as _0x34a463,merge as _0xbe5868}from'@univerjs/core';import{MenuItemType as _0x216712,getMenuHiddenObservable as _0x4db9b3,RibbonStartGroup as _0x8b3a06,IMenuManagerService as _0x1603bc}from'@univerjs/ui';const d={'id':'exchange-client.operation.import-docx','type':_0x1a4c57[_0x2f1784(0xce)],'handler':async _0x352628=>(_0x352628['get'](_0xe58dc0)[_0x2f1784(0xe2)](),!0x0)},_={'id':_0x2f1784(0xf1),'type':_0x1a4c57['OPERATION'],'handler':async _0x1d9dae=>(_0x1d9dae[_0x2f1784(0xe0)](_0xe58dc0)['exportDOCXByUnitId'](),!0x0)},b=_0x2f1784(0xf2),m={},C=_0x2f1784(0xcd);function X(_0x1722fa){var _0x4dc36e=_0x2f1784;return{'id':C,'type':_0x216712[_0x4dc36e(0xda)],'icon':_0x4dc36e(0xdc),'tooltip':_0x4dc36e(0xec),'hidden$':_0x4db9b3(_0x1722fa,_0x5aa222[_0x4dc36e(0xf5)])};}function F(){var _0x473fa2=_0x2f1784;return{'id':d['id'],'type':_0x216712[_0x473fa2(0xe9)],'title':_0x473fa2(0xe6),'icon':_0x473fa2(0xe4)};}function G(){var _0xc5ad03=_0x2f1784;return{'id':_['id'],'type':_0x216712[_0xc5ad03(0xe9)],'title':'exchange.download','icon':_0xc5ad03(0xd9)};}const R={[_0x8b3a06[_0x2f1784(0xe8)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object['getOwnPropertyDescriptor'],j=(_0x22e678,_0x4382e1,_0x49adaf,_0x11158e)=>{var _0x4d70ed=_0x2f1784;for(var _0x5859c6=_0x11158e>0x1?void 0x0:_0x11158e?A(_0x4382e1,_0x49adaf):_0x4382e1,_0x382e05=_0x22e678[_0x4d70ed(0xf4)]-0x1,_0x297af5;_0x382e05>=0x0;_0x382e05--)(_0x297af5=_0x22e678[_0x382e05])&&(_0x5859c6=_0x297af5(_0x5859c6)||_0x5859c6);return _0x5859c6;},u=(_0x1cc4d7,_0x2f172a)=>(_0x362944,_0x5ebb3f)=>_0x2f172a(_0x362944,_0x5ebb3f,_0x1cc4d7);let a=class extends _0x34a32{constructor(_0x360e53,_0x30d9f1){var _0x44a8f1=_0x2f1784;super(),this[_0x44a8f1(0xd6)]=_0x360e53,this[_0x44a8f1(0xd5)]=_0x30d9f1,this['_initCommands'](),this[_0x44a8f1(0xe1)]();}[_0x2f1784(0xd7)](){var _0xf068a6=_0x2f1784;[d,_][_0xf068a6(0xcf)](_0x3c198e=>{var _0x55188d=_0xf068a6;this[_0x55188d(0xd4)](this[_0x55188d(0xd6)][_0x55188d(0xdd)](_0x3c198e));});}[_0x2f1784(0xe1)](){var _0x5ee234=_0x2f1784;this[_0x5ee234(0xd5)][_0x5ee234(0xf9)](R);}};a=j([u(0x0,_0x20c188),u(0x1,_0x1603bc)],a);function _0x5b2c(_0x577a24,_0x4354b2){_0x577a24=_0x577a24-0xcc;var _0x6c54dc=_0x6c54();var _0x5b2c7f=_0x6c54dc[_0x577a24];return _0x5b2c7f;}var w=Object[_0x2f1784(0xea)],H=Object[_0x2f1784(0xee)],L=(_0x5134e0,_0x5ef7f7,_0x2ebc6c)=>_0x5ef7f7 in _0x5134e0?w(_0x5134e0,_0x5ef7f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ebc6c}):_0x5134e0[_0x5ef7f7]=_0x2ebc6c,B=(_0x104505,_0x33909b,_0x1440ef,_0x53f5a2)=>{var _0x20fa7b=_0x2f1784;for(var _0x4f0270=_0x53f5a2>0x1?void 0x0:_0x53f5a2?H(_0x33909b,_0x1440ef):_0x33909b,_0x5e5eac=_0x104505[_0x20fa7b(0xf4)]-0x1,_0x3dca0e;_0x5e5eac>=0x0;_0x5e5eac--)(_0x3dca0e=_0x104505[_0x5e5eac])&&(_0x4f0270=_0x3dca0e(_0x4f0270)||_0x4f0270);return _0x4f0270;},g=(_0x54e93e,_0x39e3ba)=>(_0x498682,_0x5dfb50)=>_0x39e3ba(_0x498682,_0x5dfb50,_0x54e93e),O=(_0x3ab1d3,_0x5a82a1,_0x5bc6cb)=>L(_0x3ab1d3,typeof _0x5a82a1!=_0x2f1784(0xd1)?_0x5a82a1+'':_0x5a82a1,_0x5bc6cb);const $=_0x2f1784(0xdb);let s=class extends _0x34a463{constructor(_0x5360be=m,_0x231b57,_0x270a3c){var _0x3fe006=_0x2f1784;super(),this[_0x3fe006(0xd0)]=_0x5360be,this[_0x3fe006(0xf6)]=_0x231b57,this['_configService']=_0x270a3c;const {menu:_0x1b9c6c,..._0x14bb99}=_0xbe5868({},m,this['_config']);_0x1b9c6c&&this[_0x3fe006(0xd3)][_0x3fe006(0xd2)](_0x3fe006(0xcc),_0x1b9c6c,{'merge':!0x0}),this['_configService']['setConfig'](b,_0x14bb99);}['onStarting'](){[[a]]['forEach'](_0x1b1108=>this['_injector']['add'](_0x1b1108));}[_0x2f1784(0xe7)](){var _0x32a1e2=_0x2f1784;this[_0x32a1e2(0xf6)]['get'](a);}};O(s,'pluginName',$),O(s,_0x2f1784(0xf0),_0x5aa222[_0x2f1784(0xf5)]),s=B([_0x474606(_0x36d17e),g(0x1,_0x5c062d(_0x497aa9)),g(0x2,_0x3439af)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
1
+ function _0x5304(_0x2044ce,_0x2ecd06){_0x2044ce=_0x2044ce-0xe7;var _0xea84fb=_0xea84();var _0x5304a1=_0xea84fb[_0x2044ce];return _0x5304a1;}var _0x3c9e0c=_0x5304;(function(_0x296553,_0x16373b){var _0x3162d0=_0x5304,_0x1aac54=_0x296553();while(!![]){try{var _0x1e420e=parseInt(_0x3162d0(0x109))/0x1*(parseInt(_0x3162d0(0x102))/0x2)+-parseInt(_0x3162d0(0x10e))/0x3*(parseInt(_0x3162d0(0xee))/0x4)+parseInt(_0x3162d0(0xf0))/0x5*(parseInt(_0x3162d0(0x101))/0x6)+parseInt(_0x3162d0(0x110))/0x7+-parseInt(_0x3162d0(0xfb))/0x8*(parseInt(_0x3162d0(0x108))/0x9)+parseInt(_0x3162d0(0x106))/0xa*(parseInt(_0x3162d0(0xec))/0xb)+parseInt(_0x3162d0(0xfe))/0xc*(-parseInt(_0x3162d0(0x10f))/0xd);if(_0x1e420e===_0x16373b)break;else _0x1aac54['push'](_0x1aac54['shift']());}catch(_0x5e15fc){_0x1aac54['push'](_0x1aac54['shift']());}}}(_0xea84,0xdb6b9));import{IExchangeOperateService as _0xe90439,UniverExchangeClientPlugin as _0x5cbe85}from'@univerjs-pro/exchange-client';import{CommandType as _0x682a4f,UniverInstanceType as _0x2335d9,Disposable as _0x34aab0,ICommandService as _0x530b34,DependentOn as _0x52dd6a,Inject as _0x1187bd,Injector as _0x36bcc2,IConfigService as _0x477d0d,Plugin as _0x17c06b,merge as _0x22a245}from'@univerjs/core';import{MenuItemType as _0x3c2b6c,getMenuHiddenObservable as _0x1e75a1,RibbonStartGroup as _0x26129d,IMenuManagerService as _0xd0f098}from'@univerjs/ui';const d={'id':'exchange-client.operation.import-docx','type':_0x682a4f[_0x3c9e0c(0xeb)],'handler':async _0x1b925=>(_0x1b925[_0x3c9e0c(0x10c)](_0xe90439)['importDOCXToUnitId'](),!0x0)},_={'id':_0x3c9e0c(0xf8),'type':_0x682a4f['OPERATION'],'handler':async _0x3ac0ea=>(_0x3ac0ea['get'](_0xe90439)[_0x3c9e0c(0xf1)](),!0x0)},b=_0x3c9e0c(0xe9),m={},C='docs-exchange-client.operation.exchange';function _0xea84(){var _0x5c4633=['exchange-client.operation.export-docx','registerCommand','pluginName','16KOjQLs','defineProperty','onReady','996tJQhPT','_menuManagerService','OTHERS','9246ZbEUuh','12xkwPMI','SUBITEMS','_initMenus','_config','648250eAiuvm','symbol','2096433NjTQal','290182HSsjGS','FolderIcon','add','get','forEach','21MBwjdm','350636csrQoS','11995585ffNzIb','disposeWithMe','_configService','menu','docs-exchange-client.config','onStarting','OPERATION','22QQxiEM','BUTTON','42916ErVVsQ','setConfig','305BUFwMF','exportDOCXByUnitId','length','getOwnPropertyDescriptor','UNIVER_DOC','exchange.file','DOC_EXCHANGE_CLIENT_PLUGIN','_injector'];_0xea84=function(){return _0x5c4633;};return _0xea84();}function X(_0x350579){var _0x11b1d5=_0x3c9e0c;return{'id':C,'type':_0x3c2b6c[_0x11b1d5(0x103)],'icon':'DirectExportIcon','tooltip':_0x11b1d5(0xf5),'hidden$':_0x1e75a1(_0x350579,_0x2335d9[_0x11b1d5(0xf4)])};}function F(){var _0x20672e=_0x3c9e0c;return{'id':d['id'],'type':_0x3c2b6c['BUTTON'],'title':'exchange.upload','icon':_0x20672e(0x10a)};}function G(){var _0xc0bcb2=_0x3c9e0c;return{'id':_['id'],'type':_0x3c2b6c[_0xc0bcb2(0xed)],'title':'exchange.download','icon':'ExportIcon'};}const R={[_0x26129d[_0x3c9e0c(0x100)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object[_0x3c9e0c(0xf3)],j=(_0x59d022,_0x5d55e9,_0x191cd0,_0x30b2c9)=>{var _0xd28b49=_0x3c9e0c;for(var _0x30a906=_0x30b2c9>0x1?void 0x0:_0x30b2c9?A(_0x5d55e9,_0x191cd0):_0x5d55e9,_0x2d3313=_0x59d022[_0xd28b49(0xf2)]-0x1,_0x1be9bd;_0x2d3313>=0x0;_0x2d3313--)(_0x1be9bd=_0x59d022[_0x2d3313])&&(_0x30a906=_0x1be9bd(_0x30a906)||_0x30a906);return _0x30a906;},u=(_0x4e3201,_0x115dda)=>(_0x3621df,_0x1beb10)=>_0x115dda(_0x3621df,_0x1beb10,_0x4e3201);let a=class extends _0x34aab0{constructor(_0x2c27e3,_0x3df158){var _0x234cc9=_0x3c9e0c;super(),this['_commandService']=_0x2c27e3,this[_0x234cc9(0xff)]=_0x3df158,this['_initCommands'](),this[_0x234cc9(0x104)]();}['_initCommands'](){var _0x1bcce2=_0x3c9e0c;[d,_][_0x1bcce2(0x10d)](_0x3bf645=>{var _0x40d81a=_0x1bcce2;this[_0x40d81a(0x111)](this['_commandService'][_0x40d81a(0xf9)](_0x3bf645));});}['_initMenus'](){var _0x249f42=_0x3c9e0c;this[_0x249f42(0xff)]['mergeMenu'](R);}};a=j([u(0x0,_0x530b34),u(0x1,_0xd0f098)],a);var w=Object[_0x3c9e0c(0xfc)],H=Object[_0x3c9e0c(0xf3)],L=(_0x852c32,_0x21d2c5,_0x31cc6a)=>_0x21d2c5 in _0x852c32?w(_0x852c32,_0x21d2c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31cc6a}):_0x852c32[_0x21d2c5]=_0x31cc6a,B=(_0x1aea4d,_0x13c825,_0x337580,_0x3e8caf)=>{var _0x39d057=_0x3c9e0c;for(var _0x116829=_0x3e8caf>0x1?void 0x0:_0x3e8caf?H(_0x13c825,_0x337580):_0x13c825,_0x2a1fdf=_0x1aea4d[_0x39d057(0xf2)]-0x1,_0x1ad08b;_0x2a1fdf>=0x0;_0x2a1fdf--)(_0x1ad08b=_0x1aea4d[_0x2a1fdf])&&(_0x116829=_0x1ad08b(_0x116829)||_0x116829);return _0x116829;},g=(_0x3a1bfe,_0x28eb55)=>(_0x38bbdb,_0x50d6ea)=>_0x28eb55(_0x38bbdb,_0x50d6ea,_0x3a1bfe),O=(_0x228b0d,_0x5ca012,_0x38f0be)=>L(_0x228b0d,typeof _0x5ca012!=_0x3c9e0c(0x107)?_0x5ca012+'':_0x5ca012,_0x38f0be);const $=_0x3c9e0c(0xf6);let s=class extends _0x17c06b{constructor(_0x597656=m,_0x34f9d5,_0x3f7155){var _0x2d6928=_0x3c9e0c;super(),this[_0x2d6928(0x105)]=_0x597656,this['_injector']=_0x34f9d5,this[_0x2d6928(0xe7)]=_0x3f7155;const {menu:_0x34c02c,..._0x2f41b6}=_0x22a245({},m,this['_config']);_0x34c02c&&this[_0x2d6928(0xe7)]['setConfig'](_0x2d6928(0xe8),_0x34c02c,{'merge':!0x0}),this['_configService'][_0x2d6928(0xef)](b,_0x2f41b6);}[_0x3c9e0c(0xea)](){var _0x357a6f=_0x3c9e0c;[[a]][_0x357a6f(0x10d)](_0x567bd2=>this[_0x357a6f(0xf7)][_0x357a6f(0x10b)](_0x567bd2));}[_0x3c9e0c(0xfd)](){var _0x743482=_0x3c9e0c;this[_0x743482(0xf7)][_0x743482(0x10c)](a);}};O(s,_0x3c9e0c(0xfa),$),O(s,'type',_0x2335d9[_0x3c9e0c(0xf4)]),s=B([_0x52dd6a(_0x5cbe85),g(0x1,_0x1187bd(_0x36bcc2)),g(0x2,_0x477d0d)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x2f1784=_0x5b2c;(function(_0x3692ac,_0xf8abee){var _0x532dd0=_0x5b2c,_0x5f559d=_0x3692ac();while(!![]){try{var _0x2e4d89=-parseInt(_0x532dd0(0xf3))/0x1*(parseInt(_0x532dd0(0xde))/0x2)+parseInt(_0x532dd0(0xd8))/0x3+-parseInt(_0x532dd0(0xe5))/0x4+parseInt(_0x532dd0(0xed))/0x5*(parseInt(_0x532dd0(0xe3))/0x6)+parseInt(_0x532dd0(0xef))/0x7+parseInt(_0x532dd0(0xf8))/0x8*(parseInt(_0x532dd0(0xeb))/0x9)+parseInt(_0x532dd0(0xdf))/0xa*(-parseInt(_0x532dd0(0xf7))/0xb);if(_0x2e4d89===_0xf8abee)break;else _0x5f559d['push'](_0x5f559d['shift']());}catch(_0x46f602){_0x5f559d['push'](_0x5f559d['shift']());}}}(_0x6c54,0x1c9fa));import{IExchangeOperateService as _0xe58dc0,UniverExchangeClientPlugin as _0x36d17e}from'@univerjs-pro/exchange-client';function _0x6c54(){var _0x29a816=['_initCommands','356445trsVbM','ExportIcon','SUBITEMS','DOC_EXCHANGE_CLIENT_PLUGIN','DirectExportIcon','registerCommand','2OOFSQE','10baaxvs','get','_initMenus','importDOCXToUnitId','104088iUBdkE','FolderIcon','529752FMkLvD','exchange.upload','onReady','OTHERS','BUTTON','defineProperty','9wfKMkl','exchange.file','30msXGfn','getOwnPropertyDescriptor','43869IfzzNu','type','exchange-client.operation.export-docx','docs-exchange-client.config','15086Uglaqc','length','UNIVER_DOC','_injector','1754423nNvwyK','1560712eZQWBx','mergeMenu','menu','docs-exchange-client.operation.exchange','OPERATION','forEach','_config','symbol','setConfig','_configService','disposeWithMe','_menuManagerService','_commandService'];_0x6c54=function(){return _0x29a816;};return _0x6c54();}import{CommandType as _0x1a4c57,UniverInstanceType as _0x5aa222,Disposable as _0x34a32,ICommandService as _0x20c188,DependentOn as _0x474606,Inject as _0x5c062d,Injector as _0x497aa9,IConfigService as _0x3439af,Plugin as _0x34a463,merge as _0xbe5868}from'@univerjs/core';import{MenuItemType as _0x216712,getMenuHiddenObservable as _0x4db9b3,RibbonStartGroup as _0x8b3a06,IMenuManagerService as _0x1603bc}from'@univerjs/ui';const d={'id':'exchange-client.operation.import-docx','type':_0x1a4c57[_0x2f1784(0xce)],'handler':async _0x352628=>(_0x352628['get'](_0xe58dc0)[_0x2f1784(0xe2)](),!0x0)},_={'id':_0x2f1784(0xf1),'type':_0x1a4c57['OPERATION'],'handler':async _0x1d9dae=>(_0x1d9dae[_0x2f1784(0xe0)](_0xe58dc0)['exportDOCXByUnitId'](),!0x0)},b=_0x2f1784(0xf2),m={},C=_0x2f1784(0xcd);function X(_0x1722fa){var _0x4dc36e=_0x2f1784;return{'id':C,'type':_0x216712[_0x4dc36e(0xda)],'icon':_0x4dc36e(0xdc),'tooltip':_0x4dc36e(0xec),'hidden$':_0x4db9b3(_0x1722fa,_0x5aa222[_0x4dc36e(0xf5)])};}function F(){var _0x473fa2=_0x2f1784;return{'id':d['id'],'type':_0x216712[_0x473fa2(0xe9)],'title':_0x473fa2(0xe6),'icon':_0x473fa2(0xe4)};}function G(){var _0xc5ad03=_0x2f1784;return{'id':_['id'],'type':_0x216712[_0xc5ad03(0xe9)],'title':'exchange.download','icon':_0xc5ad03(0xd9)};}const R={[_0x8b3a06[_0x2f1784(0xe8)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object['getOwnPropertyDescriptor'],j=(_0x22e678,_0x4382e1,_0x49adaf,_0x11158e)=>{var _0x4d70ed=_0x2f1784;for(var _0x5859c6=_0x11158e>0x1?void 0x0:_0x11158e?A(_0x4382e1,_0x49adaf):_0x4382e1,_0x382e05=_0x22e678[_0x4d70ed(0xf4)]-0x1,_0x297af5;_0x382e05>=0x0;_0x382e05--)(_0x297af5=_0x22e678[_0x382e05])&&(_0x5859c6=_0x297af5(_0x5859c6)||_0x5859c6);return _0x5859c6;},u=(_0x1cc4d7,_0x2f172a)=>(_0x362944,_0x5ebb3f)=>_0x2f172a(_0x362944,_0x5ebb3f,_0x1cc4d7);let a=class extends _0x34a32{constructor(_0x360e53,_0x30d9f1){var _0x44a8f1=_0x2f1784;super(),this[_0x44a8f1(0xd6)]=_0x360e53,this[_0x44a8f1(0xd5)]=_0x30d9f1,this['_initCommands'](),this[_0x44a8f1(0xe1)]();}[_0x2f1784(0xd7)](){var _0xf068a6=_0x2f1784;[d,_][_0xf068a6(0xcf)](_0x3c198e=>{var _0x55188d=_0xf068a6;this[_0x55188d(0xd4)](this[_0x55188d(0xd6)][_0x55188d(0xdd)](_0x3c198e));});}[_0x2f1784(0xe1)](){var _0x5ee234=_0x2f1784;this[_0x5ee234(0xd5)][_0x5ee234(0xf9)](R);}};a=j([u(0x0,_0x20c188),u(0x1,_0x1603bc)],a);function _0x5b2c(_0x577a24,_0x4354b2){_0x577a24=_0x577a24-0xcc;var _0x6c54dc=_0x6c54();var _0x5b2c7f=_0x6c54dc[_0x577a24];return _0x5b2c7f;}var w=Object[_0x2f1784(0xea)],H=Object[_0x2f1784(0xee)],L=(_0x5134e0,_0x5ef7f7,_0x2ebc6c)=>_0x5ef7f7 in _0x5134e0?w(_0x5134e0,_0x5ef7f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ebc6c}):_0x5134e0[_0x5ef7f7]=_0x2ebc6c,B=(_0x104505,_0x33909b,_0x1440ef,_0x53f5a2)=>{var _0x20fa7b=_0x2f1784;for(var _0x4f0270=_0x53f5a2>0x1?void 0x0:_0x53f5a2?H(_0x33909b,_0x1440ef):_0x33909b,_0x5e5eac=_0x104505[_0x20fa7b(0xf4)]-0x1,_0x3dca0e;_0x5e5eac>=0x0;_0x5e5eac--)(_0x3dca0e=_0x104505[_0x5e5eac])&&(_0x4f0270=_0x3dca0e(_0x4f0270)||_0x4f0270);return _0x4f0270;},g=(_0x54e93e,_0x39e3ba)=>(_0x498682,_0x5dfb50)=>_0x39e3ba(_0x498682,_0x5dfb50,_0x54e93e),O=(_0x3ab1d3,_0x5a82a1,_0x5bc6cb)=>L(_0x3ab1d3,typeof _0x5a82a1!=_0x2f1784(0xd1)?_0x5a82a1+'':_0x5a82a1,_0x5bc6cb);const $=_0x2f1784(0xdb);let s=class extends _0x34a463{constructor(_0x5360be=m,_0x231b57,_0x270a3c){var _0x3fe006=_0x2f1784;super(),this[_0x3fe006(0xd0)]=_0x5360be,this[_0x3fe006(0xf6)]=_0x231b57,this['_configService']=_0x270a3c;const {menu:_0x1b9c6c,..._0x14bb99}=_0xbe5868({},m,this['_config']);_0x1b9c6c&&this[_0x3fe006(0xd3)][_0x3fe006(0xd2)](_0x3fe006(0xcc),_0x1b9c6c,{'merge':!0x0}),this['_configService']['setConfig'](b,_0x14bb99);}['onStarting'](){[[a]]['forEach'](_0x1b1108=>this['_injector']['add'](_0x1b1108));}[_0x2f1784(0xe7)](){var _0x32a1e2=_0x2f1784;this[_0x32a1e2(0xf6)]['get'](a);}};O(s,'pluginName',$),O(s,_0x2f1784(0xf0),_0x5aa222[_0x2f1784(0xf5)]),s=B([_0x474606(_0x36d17e),g(0x1,_0x5c062d(_0x497aa9)),g(0x2,_0x3439af)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
1
+ function _0x5304(_0x2044ce,_0x2ecd06){_0x2044ce=_0x2044ce-0xe7;var _0xea84fb=_0xea84();var _0x5304a1=_0xea84fb[_0x2044ce];return _0x5304a1;}var _0x3c9e0c=_0x5304;(function(_0x296553,_0x16373b){var _0x3162d0=_0x5304,_0x1aac54=_0x296553();while(!![]){try{var _0x1e420e=parseInt(_0x3162d0(0x109))/0x1*(parseInt(_0x3162d0(0x102))/0x2)+-parseInt(_0x3162d0(0x10e))/0x3*(parseInt(_0x3162d0(0xee))/0x4)+parseInt(_0x3162d0(0xf0))/0x5*(parseInt(_0x3162d0(0x101))/0x6)+parseInt(_0x3162d0(0x110))/0x7+-parseInt(_0x3162d0(0xfb))/0x8*(parseInt(_0x3162d0(0x108))/0x9)+parseInt(_0x3162d0(0x106))/0xa*(parseInt(_0x3162d0(0xec))/0xb)+parseInt(_0x3162d0(0xfe))/0xc*(-parseInt(_0x3162d0(0x10f))/0xd);if(_0x1e420e===_0x16373b)break;else _0x1aac54['push'](_0x1aac54['shift']());}catch(_0x5e15fc){_0x1aac54['push'](_0x1aac54['shift']());}}}(_0xea84,0xdb6b9));import{IExchangeOperateService as _0xe90439,UniverExchangeClientPlugin as _0x5cbe85}from'@univerjs-pro/exchange-client';import{CommandType as _0x682a4f,UniverInstanceType as _0x2335d9,Disposable as _0x34aab0,ICommandService as _0x530b34,DependentOn as _0x52dd6a,Inject as _0x1187bd,Injector as _0x36bcc2,IConfigService as _0x477d0d,Plugin as _0x17c06b,merge as _0x22a245}from'@univerjs/core';import{MenuItemType as _0x3c2b6c,getMenuHiddenObservable as _0x1e75a1,RibbonStartGroup as _0x26129d,IMenuManagerService as _0xd0f098}from'@univerjs/ui';const d={'id':'exchange-client.operation.import-docx','type':_0x682a4f[_0x3c9e0c(0xeb)],'handler':async _0x1b925=>(_0x1b925[_0x3c9e0c(0x10c)](_0xe90439)['importDOCXToUnitId'](),!0x0)},_={'id':_0x3c9e0c(0xf8),'type':_0x682a4f['OPERATION'],'handler':async _0x3ac0ea=>(_0x3ac0ea['get'](_0xe90439)[_0x3c9e0c(0xf1)](),!0x0)},b=_0x3c9e0c(0xe9),m={},C='docs-exchange-client.operation.exchange';function _0xea84(){var _0x5c4633=['exchange-client.operation.export-docx','registerCommand','pluginName','16KOjQLs','defineProperty','onReady','996tJQhPT','_menuManagerService','OTHERS','9246ZbEUuh','12xkwPMI','SUBITEMS','_initMenus','_config','648250eAiuvm','symbol','2096433NjTQal','290182HSsjGS','FolderIcon','add','get','forEach','21MBwjdm','350636csrQoS','11995585ffNzIb','disposeWithMe','_configService','menu','docs-exchange-client.config','onStarting','OPERATION','22QQxiEM','BUTTON','42916ErVVsQ','setConfig','305BUFwMF','exportDOCXByUnitId','length','getOwnPropertyDescriptor','UNIVER_DOC','exchange.file','DOC_EXCHANGE_CLIENT_PLUGIN','_injector'];_0xea84=function(){return _0x5c4633;};return _0xea84();}function X(_0x350579){var _0x11b1d5=_0x3c9e0c;return{'id':C,'type':_0x3c2b6c[_0x11b1d5(0x103)],'icon':'DirectExportIcon','tooltip':_0x11b1d5(0xf5),'hidden$':_0x1e75a1(_0x350579,_0x2335d9[_0x11b1d5(0xf4)])};}function F(){var _0x20672e=_0x3c9e0c;return{'id':d['id'],'type':_0x3c2b6c['BUTTON'],'title':'exchange.upload','icon':_0x20672e(0x10a)};}function G(){var _0xc0bcb2=_0x3c9e0c;return{'id':_['id'],'type':_0x3c2b6c[_0xc0bcb2(0xed)],'title':'exchange.download','icon':'ExportIcon'};}const R={[_0x26129d[_0x3c9e0c(0x100)]]:{[C]:{'order':0.3,'menuItemFactory':X,[d['id']]:{'order':0x0,'menuItemFactory':F},[_['id']]:{'order':0x1,'menuItemFactory':G}}}};var A=Object[_0x3c9e0c(0xf3)],j=(_0x59d022,_0x5d55e9,_0x191cd0,_0x30b2c9)=>{var _0xd28b49=_0x3c9e0c;for(var _0x30a906=_0x30b2c9>0x1?void 0x0:_0x30b2c9?A(_0x5d55e9,_0x191cd0):_0x5d55e9,_0x2d3313=_0x59d022[_0xd28b49(0xf2)]-0x1,_0x1be9bd;_0x2d3313>=0x0;_0x2d3313--)(_0x1be9bd=_0x59d022[_0x2d3313])&&(_0x30a906=_0x1be9bd(_0x30a906)||_0x30a906);return _0x30a906;},u=(_0x4e3201,_0x115dda)=>(_0x3621df,_0x1beb10)=>_0x115dda(_0x3621df,_0x1beb10,_0x4e3201);let a=class extends _0x34aab0{constructor(_0x2c27e3,_0x3df158){var _0x234cc9=_0x3c9e0c;super(),this['_commandService']=_0x2c27e3,this[_0x234cc9(0xff)]=_0x3df158,this['_initCommands'](),this[_0x234cc9(0x104)]();}['_initCommands'](){var _0x1bcce2=_0x3c9e0c;[d,_][_0x1bcce2(0x10d)](_0x3bf645=>{var _0x40d81a=_0x1bcce2;this[_0x40d81a(0x111)](this['_commandService'][_0x40d81a(0xf9)](_0x3bf645));});}['_initMenus'](){var _0x249f42=_0x3c9e0c;this[_0x249f42(0xff)]['mergeMenu'](R);}};a=j([u(0x0,_0x530b34),u(0x1,_0xd0f098)],a);var w=Object[_0x3c9e0c(0xfc)],H=Object[_0x3c9e0c(0xf3)],L=(_0x852c32,_0x21d2c5,_0x31cc6a)=>_0x21d2c5 in _0x852c32?w(_0x852c32,_0x21d2c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31cc6a}):_0x852c32[_0x21d2c5]=_0x31cc6a,B=(_0x1aea4d,_0x13c825,_0x337580,_0x3e8caf)=>{var _0x39d057=_0x3c9e0c;for(var _0x116829=_0x3e8caf>0x1?void 0x0:_0x3e8caf?H(_0x13c825,_0x337580):_0x13c825,_0x2a1fdf=_0x1aea4d[_0x39d057(0xf2)]-0x1,_0x1ad08b;_0x2a1fdf>=0x0;_0x2a1fdf--)(_0x1ad08b=_0x1aea4d[_0x2a1fdf])&&(_0x116829=_0x1ad08b(_0x116829)||_0x116829);return _0x116829;},g=(_0x3a1bfe,_0x28eb55)=>(_0x38bbdb,_0x50d6ea)=>_0x28eb55(_0x38bbdb,_0x50d6ea,_0x3a1bfe),O=(_0x228b0d,_0x5ca012,_0x38f0be)=>L(_0x228b0d,typeof _0x5ca012!=_0x3c9e0c(0x107)?_0x5ca012+'':_0x5ca012,_0x38f0be);const $=_0x3c9e0c(0xf6);let s=class extends _0x17c06b{constructor(_0x597656=m,_0x34f9d5,_0x3f7155){var _0x2d6928=_0x3c9e0c;super(),this[_0x2d6928(0x105)]=_0x597656,this['_injector']=_0x34f9d5,this[_0x2d6928(0xe7)]=_0x3f7155;const {menu:_0x34c02c,..._0x2f41b6}=_0x22a245({},m,this['_config']);_0x34c02c&&this[_0x2d6928(0xe7)]['setConfig'](_0x2d6928(0xe8),_0x34c02c,{'merge':!0x0}),this['_configService'][_0x2d6928(0xef)](b,_0x2f41b6);}[_0x3c9e0c(0xea)](){var _0x357a6f=_0x3c9e0c;[[a]][_0x357a6f(0x10d)](_0x567bd2=>this[_0x357a6f(0xf7)][_0x357a6f(0x10b)](_0x567bd2));}[_0x3c9e0c(0xfd)](){var _0x743482=_0x3c9e0c;this[_0x743482(0xf7)][_0x743482(0x10c)](a);}};O(s,_0x3c9e0c(0xfa),$),O(s,'type',_0x2335d9[_0x3c9e0c(0xf4)]),s=B([_0x52dd6a(_0x5cbe85),g(0x1,_0x1187bd(_0x36bcc2)),g(0x2,_0x477d0d)],s);export{_ as ExportDOCXOperation,d as ImportDOCXOperation,s as UniverDocsExchangeClientPlugin};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x6fa8(){var _0x1fc09c=['getOwnPropertyDescriptor','_initMenus','_config','symbol','50sOeYVs','exports','getMenuHiddenObservable','MenuItemType','RibbonStartGroup','amd','Module','DependentOn','Inject','_injector','UniverInstanceType','SUBITEMS','211150BzxvyC','CommandType','length','menu','ImportDOCXOperation','docs-exchange-client.operation.exchange','exportDOCXByUnitId','_menuManagerService','6dTqlbg','_initCommands','DirectExportIcon','merge','DOC_EXCHANGE_CLIENT_PLUGIN','14eRhdHR','138822SeHUoU','object','599010lUVqwh','UniverDocsExchangeClientPlugin','UniverProDocsExchangeClient','_commandService','disposeWithMe','OPERATION','forEach','toStringTag','@univerjs-pro/exchange-client','556848FggAhl','registerCommand','BUTTON','413sCrtFD','UNIVER_DOC','importDOCXToUnitId','UniverProExchangeClient','function','3989776dzCBoq','exchange-client.operation.import-docx','1353339cdgRLg','_configService','Disposable','IExchangeOperateService','OTHERS','exchange.download','@univerjs/core','docs-exchange-client.config','setConfig','22kIGkii','defineProperty','get','Injector','12542076gWISyJ'];_0x6fa8=function(){return _0x1fc09c;};return _0x6fa8();}function _0x18fc(_0x283b03,_0x574610){_0x283b03=_0x283b03-0x1cf;var _0x6fa897=_0x6fa8();var _0x18fc98=_0x6fa897[_0x283b03];return _0x18fc98;}(function(_0x524f41,_0x156b9c){var _0x10ade6=_0x18fc,_0x288f32=_0x524f41();while(!![]){try{var _0x2d9777=parseInt(_0x10ade6(0x1e9))/0x1*(parseInt(_0x10ade6(0x1f6))/0x2)+-parseInt(_0x10ade6(0x1f1))/0x3*(parseInt(_0x10ade6(0x202))/0x4)+parseInt(_0x10ade6(0x1f9))/0x5+parseInt(_0x10ade6(0x1f7))/0x6*(-parseInt(_0x10ade6(0x205))/0x7)+-parseInt(_0x10ade6(0x20a))/0x8+-parseInt(_0x10ade6(0x20c))/0x9*(parseInt(_0x10ade6(0x1dd))/0xa)+-parseInt(_0x10ade6(0x1d4))/0xb*(-parseInt(_0x10ade6(0x1d8))/0xc);if(_0x2d9777===_0x156b9c)break;else _0x288f32['push'](_0x288f32['shift']());}catch(_0x1b3d3d){_0x288f32['push'](_0x288f32['shift']());}}}(_0x6fa8,0xc1e02),function(_0x4a027b,_0x14b2de){var _0x4acd0d=_0x18fc;typeof exports==_0x4acd0d(0x1f8)&&typeof module<'u'?_0x14b2de(exports,require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/ui')):typeof define==_0x4acd0d(0x209)&&define[_0x4acd0d(0x1e2)]?define([_0x4acd0d(0x1de),_0x4acd0d(0x201),_0x4acd0d(0x1d1),'@univerjs/ui'],_0x14b2de):(_0x4a027b=typeof globalThis<'u'?globalThis:_0x4a027b||self,_0x14b2de(_0x4a027b[_0x4acd0d(0x1fb)]={},_0x4a027b[_0x4acd0d(0x208)],_0x4a027b['UniverCore'],_0x4a027b['UniverUi']));}(this,function(_0xbec00d,_0x381e8e,_0x21d30a,_0x4d5191){'use strict';var _0x39005c=_0x18fc;const _0x585b87={'id':_0x39005c(0x20b),'type':_0x21d30a[_0x39005c(0x1ea)]['OPERATION'],'handler':async _0x25452c=>(_0x25452c['get'](_0x381e8e['IExchangeOperateService'])[_0x39005c(0x207)](),!0x0)},_0x450615={'id':'exchange-client.operation.export-docx','type':_0x21d30a[_0x39005c(0x1ea)][_0x39005c(0x1fe)],'handler':async _0x3c915c=>(_0x3c915c[_0x39005c(0x1d6)](_0x381e8e[_0x39005c(0x20f)])[_0x39005c(0x1ef)](),!0x0)},_0x5d853d=_0x39005c(0x1d2),_0x2ed853={},_0xb35b88=_0x39005c(0x1ee);function _0x6267a(_0x9a2ec8){var _0x176815=_0x39005c;return{'id':_0xb35b88,'type':_0x4d5191[_0x176815(0x1e0)][_0x176815(0x1e8)],'icon':_0x176815(0x1f3),'tooltip':'exchange.file','hidden$':_0x4d5191[_0x176815(0x1df)](_0x9a2ec8,_0x21d30a[_0x176815(0x1e7)][_0x176815(0x206)])};}function _0x1f787f(){var _0x4c8f11=_0x39005c;return{'id':_0x585b87['id'],'type':_0x4d5191[_0x4c8f11(0x1e0)][_0x4c8f11(0x204)],'title':'exchange.upload','icon':'FolderIcon'};}function _0x20b986(){var _0x4cfd8f=_0x39005c;return{'id':_0x450615['id'],'type':_0x4d5191['MenuItemType']['BUTTON'],'title':_0x4cfd8f(0x1d0),'icon':'ExportIcon'};}const _0x4b9040={[_0x4d5191[_0x39005c(0x1e1)][_0x39005c(0x1cf)]]:{[_0xb35b88]:{'order':0.3,'menuItemFactory':_0x6267a,[_0x585b87['id']]:{'order':0x0,'menuItemFactory':_0x1f787f},[_0x450615['id']]:{'order':0x1,'menuItemFactory':_0x20b986}}}};var _0x38fd09=Object[_0x39005c(0x1d9)],_0x5395a3=(_0x2cd714,_0x4663a8,_0xfca99a,_0x5429e6)=>{var _0xfc7ea3=_0x39005c;for(var _0x47e3cf=_0x5429e6>0x1?void 0x0:_0x5429e6?_0x38fd09(_0x4663a8,_0xfca99a):_0x4663a8,_0x4ca90a=_0x2cd714[_0xfc7ea3(0x1eb)]-0x1,_0x5660a5;_0x4ca90a>=0x0;_0x4ca90a--)(_0x5660a5=_0x2cd714[_0x4ca90a])&&(_0x47e3cf=_0x5660a5(_0x47e3cf)||_0x47e3cf);return _0x47e3cf;},_0x134043=(_0x40b13a,_0x437cd4)=>(_0x2f9853,_0x4698f4)=>_0x437cd4(_0x2f9853,_0x4698f4,_0x40b13a);let _0x5105bd=class extends _0x21d30a[_0x39005c(0x20e)]{constructor(_0x19f1bc,_0x5433f1){var _0x1132dc=_0x39005c;super(),this[_0x1132dc(0x1fc)]=_0x19f1bc,this['_menuManagerService']=_0x5433f1,this[_0x1132dc(0x1f2)](),this[_0x1132dc(0x1da)]();}[_0x39005c(0x1f2)](){var _0xe101f3=_0x39005c;[_0x585b87,_0x450615][_0xe101f3(0x1ff)](_0x1f5b2e=>{var _0x329dca=_0xe101f3;this[_0x329dca(0x1fd)](this[_0x329dca(0x1fc)][_0x329dca(0x203)](_0x1f5b2e));});}[_0x39005c(0x1da)](){var _0x37347a=_0x39005c;this[_0x37347a(0x1f0)]['mergeMenu'](_0x4b9040);}};_0x5105bd=_0x5395a3([_0x134043(0x0,_0x21d30a['ICommandService']),_0x134043(0x1,_0x4d5191['IMenuManagerService'])],_0x5105bd);var _0x3d0700=Object[_0x39005c(0x1d5)],_0x483400=Object[_0x39005c(0x1d9)],_0x1be7b1=(_0x28d0e3,_0x3abdcf,_0x20ec39)=>_0x3abdcf in _0x28d0e3?_0x3d0700(_0x28d0e3,_0x3abdcf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20ec39}):_0x28d0e3[_0x3abdcf]=_0x20ec39,_0x6fc640=(_0x1e1d62,_0x4be29c,_0x1e2dfd,_0x1491cd)=>{for(var _0x5761ef=_0x1491cd>0x1?void 0x0:_0x1491cd?_0x483400(_0x4be29c,_0x1e2dfd):_0x4be29c,_0x2e8b11=_0x1e1d62['length']-0x1,_0x33f5c4;_0x2e8b11>=0x0;_0x2e8b11--)(_0x33f5c4=_0x1e1d62[_0x2e8b11])&&(_0x5761ef=_0x33f5c4(_0x5761ef)||_0x5761ef);return _0x5761ef;},_0x2bfe8d=(_0x1d668a,_0x25eb65)=>(_0x32f484,_0x587455)=>_0x25eb65(_0x32f484,_0x587455,_0x1d668a),_0x84e031=(_0x12918b,_0x518fbb,_0x53c705)=>_0x1be7b1(_0x12918b,typeof _0x518fbb!=_0x39005c(0x1dc)?_0x518fbb+'':_0x518fbb,_0x53c705);const _0xc098fa=_0x39005c(0x1f5);_0xbec00d[_0x39005c(0x1fa)]=class extends _0x21d30a['Plugin']{constructor(_0x1f09a5=_0x2ed853,_0x138a44,_0x1fa733){var _0x4f8d18=_0x39005c;super(),this[_0x4f8d18(0x1db)]=_0x1f09a5,this['_injector']=_0x138a44,this[_0x4f8d18(0x20d)]=_0x1fa733;const {menu:_0x5a8c95,..._0x438c7}=_0x21d30a[_0x4f8d18(0x1f4)]({},_0x2ed853,this[_0x4f8d18(0x1db)]);_0x5a8c95&&this[_0x4f8d18(0x20d)][_0x4f8d18(0x1d3)](_0x4f8d18(0x1ec),_0x5a8c95,{'merge':!0x0}),this[_0x4f8d18(0x20d)]['setConfig'](_0x5d853d,_0x438c7);}['onStarting'](){var _0x20d1ea=_0x39005c;[[_0x5105bd]][_0x20d1ea(0x1ff)](_0x7bbb8b=>this[_0x20d1ea(0x1e6)]['add'](_0x7bbb8b));}['onReady'](){var _0x1e05c9=_0x39005c;this[_0x1e05c9(0x1e6)][_0x1e05c9(0x1d6)](_0x5105bd);}},_0x84e031(_0xbec00d[_0x39005c(0x1fa)],'pluginName',_0xc098fa),_0x84e031(_0xbec00d[_0x39005c(0x1fa)],'type',_0x21d30a[_0x39005c(0x1e7)][_0x39005c(0x206)]),_0xbec00d[_0x39005c(0x1fa)]=_0x6fc640([_0x21d30a[_0x39005c(0x1e4)](_0x381e8e['UniverExchangeClientPlugin']),_0x2bfe8d(0x1,_0x21d30a[_0x39005c(0x1e5)](_0x21d30a[_0x39005c(0x1d7)])),_0x2bfe8d(0x2,_0x21d30a['IConfigService'])],_0xbec00d['UniverDocsExchangeClientPlugin']),_0xbec00d['ExportDOCXOperation']=_0x450615,_0xbec00d[_0x39005c(0x1ed)]=_0x585b87,Object['defineProperty'](_0xbec00d,Symbol[_0x39005c(0x200)],{'value':_0x39005c(0x1e3)});}));
1
+ function _0x4852(){var _0xefa40f=['16103124roYjll','ICommandService','onStarting','exchange.file','merge','getOwnPropertyDescriptor','length','7uBVleZ','Module','symbol','@univerjs/core','RibbonStartGroup','UNIVER_DOC','ImportDOCXOperation','IMenuManagerService','83745JoBDqu','@univerjs/ui','Injector','12650696TUxufO','UniverProDocsExchangeClient','BUTTON','2636nDtuzx','UniverProExchangeClient','docs-exchange-client.operation.exchange','forEach','MenuItemType','OPERATION','type','object','_initCommands','exports','function','11PsJGne','10MZEQNo','exchange.download','UniverInstanceType','UniverExchangeClientPlugin','_injector','add','importDOCXToUnitId','UniverUi','SUBITEMS','_menuManagerService','get','docs-exchange-client.config','toStringTag','exchange-client.operation.export-docx','UniverDocsExchangeClientPlugin','ExportDOCXOperation','Disposable','amd','CommandType','pluginName','@univerjs-pro/exchange-client','41586ltPRjL','_configService','DOC_EXCHANGE_CLIENT_PLUGIN','204jPYodL','onReady','exchange.upload','_config','120KjhXfl','setConfig','defineProperty','_initMenus','15585516IdnBmK','IExchangeOperateService','2018736izGBpE','Plugin','FolderIcon','Inject'];_0x4852=function(){return _0xefa40f;};return _0x4852();}function _0x2bd8(_0x233a71,_0x4534d4){_0x233a71=_0x233a71-0x1a1;var _0x4852e7=_0x4852();var _0x2bd8a7=_0x4852e7[_0x233a71];return _0x2bd8a7;}(function(_0x15e2b2,_0x455f5a){var _0x3f158e=_0x2bd8,_0x6d72d2=_0x15e2b2();while(!![]){try{var _0x3b00f8=-parseInt(_0x3f158e(0x1b7))/0x1*(parseInt(_0x3f158e(0x1da))/0x2)+parseInt(_0x3f158e(0x1b4))/0x3+parseInt(_0x3f158e(0x1bb))/0x4*(-parseInt(_0x3f158e(0x1d4))/0x5)+-parseInt(_0x3f158e(0x1c1))/0x6+-parseInt(_0x3f158e(0x1cc))/0x7*(-parseInt(_0x3f158e(0x1d7))/0x8)+-parseInt(_0x3f158e(0x1c5))/0x9*(-parseInt(_0x3f158e(0x1e6))/0xa)+parseInt(_0x3f158e(0x1e5))/0xb*(-parseInt(_0x3f158e(0x1bf))/0xc);if(_0x3b00f8===_0x455f5a)break;else _0x6d72d2['push'](_0x6d72d2['shift']());}catch(_0x5c7cc6){_0x6d72d2['push'](_0x6d72d2['shift']());}}}(_0x4852,0xeebb4),function(_0x2b8774,_0x5b0e8a){var _0x27aa99=_0x2bd8;typeof exports==_0x27aa99(0x1e1)&&typeof module<'u'?_0x5b0e8a(exports,require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/ui')):typeof define==_0x27aa99(0x1e4)&&define[_0x27aa99(0x1b0)]?define([_0x27aa99(0x1e3),_0x27aa99(0x1b3),_0x27aa99(0x1cf),_0x27aa99(0x1d5)],_0x5b0e8a):(_0x2b8774=typeof globalThis<'u'?globalThis:_0x2b8774||self,_0x5b0e8a(_0x2b8774[_0x27aa99(0x1d8)]={},_0x2b8774[_0x27aa99(0x1db)],_0x2b8774['UniverCore'],_0x2b8774[_0x27aa99(0x1a6)]));}(this,function(_0x98fcf4,_0x2fe12e,_0x5bf3a6,_0x12fc23){'use strict';var _0x105b91=_0x2bd8;const _0xbc9eb9={'id':'exchange-client.operation.import-docx','type':_0x5bf3a6[_0x105b91(0x1b1)][_0x105b91(0x1df)],'handler':async _0x544b19=>(_0x544b19[_0x105b91(0x1a9)](_0x2fe12e[_0x105b91(0x1c0)])[_0x105b91(0x1a5)](),!0x0)},_0x200e60={'id':_0x105b91(0x1ac),'type':_0x5bf3a6[_0x105b91(0x1b1)][_0x105b91(0x1df)],'handler':async _0x1ca039=>(_0x1ca039[_0x105b91(0x1a9)](_0x2fe12e[_0x105b91(0x1c0)])['exportDOCXByUnitId'](),!0x0)},_0x37ab4a=_0x105b91(0x1aa),_0x475491={},_0x4ddeea=_0x105b91(0x1dc);function _0x55787d(_0x1e0d7c){var _0x45f3cf=_0x105b91;return{'id':_0x4ddeea,'type':_0x12fc23[_0x45f3cf(0x1de)][_0x45f3cf(0x1a7)],'icon':'DirectExportIcon','tooltip':_0x45f3cf(0x1c8),'hidden$':_0x12fc23['getMenuHiddenObservable'](_0x1e0d7c,_0x5bf3a6[_0x45f3cf(0x1a1)][_0x45f3cf(0x1d1)])};}function _0x47b9f6(){var _0x3d3ef3=_0x105b91;return{'id':_0xbc9eb9['id'],'type':_0x12fc23[_0x3d3ef3(0x1de)][_0x3d3ef3(0x1d9)],'title':_0x3d3ef3(0x1b9),'icon':_0x3d3ef3(0x1c3)};}function _0x5424ed(){var _0x38952a=_0x105b91;return{'id':_0x200e60['id'],'type':_0x12fc23[_0x38952a(0x1de)][_0x38952a(0x1d9)],'title':_0x38952a(0x1e7),'icon':'ExportIcon'};}const _0x43a95a={[_0x12fc23[_0x105b91(0x1d0)]['OTHERS']]:{[_0x4ddeea]:{'order':0.3,'menuItemFactory':_0x55787d,[_0xbc9eb9['id']]:{'order':0x0,'menuItemFactory':_0x47b9f6},[_0x200e60['id']]:{'order':0x1,'menuItemFactory':_0x5424ed}}}};var _0x1c7537=Object[_0x105b91(0x1ca)],_0x5d8ecd=(_0x582c75,_0x2e6dbe,_0x2cfd97,_0x5dcdff)=>{for(var _0x4dc0c1=_0x5dcdff>0x1?void 0x0:_0x5dcdff?_0x1c7537(_0x2e6dbe,_0x2cfd97):_0x2e6dbe,_0x5e40f0=_0x582c75['length']-0x1,_0xb27325;_0x5e40f0>=0x0;_0x5e40f0--)(_0xb27325=_0x582c75[_0x5e40f0])&&(_0x4dc0c1=_0xb27325(_0x4dc0c1)||_0x4dc0c1);return _0x4dc0c1;},_0x173f2f=(_0x1c0217,_0x3148cd)=>(_0x4aa2ae,_0xe4ba2b)=>_0x3148cd(_0x4aa2ae,_0xe4ba2b,_0x1c0217);let _0x1caadd=class extends _0x5bf3a6[_0x105b91(0x1af)]{constructor(_0x11712a,_0x1eaafc){var _0x1d6a38=_0x105b91;super(),this['_commandService']=_0x11712a,this[_0x1d6a38(0x1a8)]=_0x1eaafc,this['_initCommands'](),this[_0x1d6a38(0x1be)]();}[_0x105b91(0x1e2)](){var _0x4ab538=_0x105b91;[_0xbc9eb9,_0x200e60][_0x4ab538(0x1dd)](_0x3f3247=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x3f3247));});}['_initMenus'](){var _0x2f0629=_0x105b91;this[_0x2f0629(0x1a8)]['mergeMenu'](_0x43a95a);}};_0x1caadd=_0x5d8ecd([_0x173f2f(0x0,_0x5bf3a6[_0x105b91(0x1c6)]),_0x173f2f(0x1,_0x12fc23[_0x105b91(0x1d3)])],_0x1caadd);var _0x586dbf=Object[_0x105b91(0x1bd)],_0x4ffcfd=Object[_0x105b91(0x1ca)],_0x1bef59=(_0x450dfe,_0x927225,_0x52cfe8)=>_0x927225 in _0x450dfe?_0x586dbf(_0x450dfe,_0x927225,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52cfe8}):_0x450dfe[_0x927225]=_0x52cfe8,_0xdbbf6=(_0x206d38,_0x5cd9b8,_0x854ee7,_0x30a74d)=>{var _0x43ac3a=_0x105b91;for(var _0x553e03=_0x30a74d>0x1?void 0x0:_0x30a74d?_0x4ffcfd(_0x5cd9b8,_0x854ee7):_0x5cd9b8,_0x3b9821=_0x206d38[_0x43ac3a(0x1cb)]-0x1,_0x7a1bcd;_0x3b9821>=0x0;_0x3b9821--)(_0x7a1bcd=_0x206d38[_0x3b9821])&&(_0x553e03=_0x7a1bcd(_0x553e03)||_0x553e03);return _0x553e03;},_0x56e505=(_0x16538c,_0x3ae908)=>(_0xf6ebea,_0x95b9e6)=>_0x3ae908(_0xf6ebea,_0x95b9e6,_0x16538c),_0x5b92e5=(_0x1fc2df,_0x3abf17,_0x126d5a)=>_0x1bef59(_0x1fc2df,typeof _0x3abf17!=_0x105b91(0x1ce)?_0x3abf17+'':_0x3abf17,_0x126d5a);const _0x5b021e=_0x105b91(0x1b6);_0x98fcf4[_0x105b91(0x1ad)]=class extends _0x5bf3a6[_0x105b91(0x1c2)]{constructor(_0x48cd1e=_0x475491,_0x2cf194,_0x5a27a7){var _0x486b05=_0x105b91;super(),this[_0x486b05(0x1ba)]=_0x48cd1e,this[_0x486b05(0x1a3)]=_0x2cf194,this['_configService']=_0x5a27a7;const {menu:_0x3e8033,..._0x587823}=_0x5bf3a6[_0x486b05(0x1c9)]({},_0x475491,this[_0x486b05(0x1ba)]);_0x3e8033&&this[_0x486b05(0x1b5)][_0x486b05(0x1bc)]('menu',_0x3e8033,{'merge':!0x0}),this[_0x486b05(0x1b5)][_0x486b05(0x1bc)](_0x37ab4a,_0x587823);}[_0x105b91(0x1c7)](){var _0x3b7f5a=_0x105b91;[[_0x1caadd]]['forEach'](_0x8a9970=>this[_0x3b7f5a(0x1a3)][_0x3b7f5a(0x1a4)](_0x8a9970));}[_0x105b91(0x1b8)](){var _0xff7018=_0x105b91;this[_0xff7018(0x1a3)][_0xff7018(0x1a9)](_0x1caadd);}},_0x5b92e5(_0x98fcf4[_0x105b91(0x1ad)],_0x105b91(0x1b2),_0x5b021e),_0x5b92e5(_0x98fcf4['UniverDocsExchangeClientPlugin'],_0x105b91(0x1e0),_0x5bf3a6[_0x105b91(0x1a1)][_0x105b91(0x1d1)]),_0x98fcf4[_0x105b91(0x1ad)]=_0xdbbf6([_0x5bf3a6['DependentOn'](_0x2fe12e[_0x105b91(0x1a2)]),_0x56e505(0x1,_0x5bf3a6[_0x105b91(0x1c4)](_0x5bf3a6[_0x105b91(0x1d6)])),_0x56e505(0x2,_0x5bf3a6['IConfigService'])],_0x98fcf4[_0x105b91(0x1ad)]),_0x98fcf4[_0x105b91(0x1ae)]=_0x200e60,_0x98fcf4[_0x105b91(0x1d2)]=_0xbc9eb9,Object[_0x105b91(0x1bd)](_0x98fcf4,Symbol[_0x105b91(0x1ab)],{'value':_0x105b91(0x1cd)});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-exchange-client",
3
- "version": "0.12.4-insiders.20251211-c28f914",
3
+ "version": "0.12.4-insiders.20251213-692494c",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -42,13 +42,13 @@
42
42
  "lib"
43
43
  ],
44
44
  "dependencies": {
45
- "@univerjs-pro/exchange-client": "0.12.4-insiders.20251211-c28f914",
46
- "@univerjs/core": "0.12.4-insiders.20251211-c28f914",
47
- "@univerjs/ui": "0.12.4-insiders.20251211-c28f914"
45
+ "@univerjs-pro/exchange-client": "0.12.4-insiders.20251213-692494c",
46
+ "@univerjs/core": "0.12.4-insiders.20251213-692494c",
47
+ "@univerjs/ui": "0.12.4-insiders.20251213-692494c"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^5.9.3",
51
- "vite": "^7.2.6",
51
+ "vite": "^7.2.7",
52
52
  "vitest": "^4.0.15",
53
53
  "@univerjs-infra/shared": "0.12.4"
54
54
  },