@univerjs-pro/sheets-exchange-client 0.6.4 → 0.6.5-nightly.202503131607
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 +9 -9
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';var _0x5b0cda=_0xd193;(function(_0x23b810,_0x553cf9){var _0x15eb99=_0xd193,_0x304d9b=_0x23b810();while(!![]){try{var _0x382c78=parseInt(_0x15eb99(0x214))/0x1+-parseInt(_0x15eb99(0x205))/0x2*(parseInt(_0x15eb99(0x201))/0x3)+parseInt(_0x15eb99(0x1eb))/0x4+-parseInt(_0x15eb99(0x1f4))/0x5*(parseInt(_0x15eb99(0x1e0))/0x6)+parseInt(_0x15eb99(0x217))/0x7*(-parseInt(_0x15eb99(0x219))/0x8)+parseInt(_0x15eb99(0x20a))/0x9+parseInt(_0x15eb99(0x1ed))/0xa;if(_0x382c78===_0x553cf9)break;else _0x304d9b['push'](_0x304d9b['shift']());}catch(_0x33fac0){_0x304d9b['push'](_0x304d9b['shift']());}}}(_0x1ffb,0xe0ce1));Object['defineProperty'](exports,Symbol[_0x5b0cda(0x202)],{'value':_0x5b0cda(0x1ec)});const l=require(_0x5b0cda(0x1fc)),i=require('@univerjs/core'),a=require(_0x5b0cda(0x1f2)),_=require(_0x5b0cda(0x20b)),v=require(_0x5b0cda(0x1e6)),I=_0x5b0cda(0x1e2),h={},g={'id':'exchange-client.operation.import-xlsx','type':i[_0x5b0cda(0x212)][_0x5b0cda(0x204)],'handler':async _0x17c809=>(_0x17c809[_0x5b0cda(0x1e5)](l[_0x5b0cda(0x1e4)])[_0x5b0cda(0x1e1)](),!0x0)},p={'id':_0x5b0cda(0x1f7),'type':i['CommandType'][_0x5b0cda(0x204)],'handler':async _0x54004a=>(_0x54004a[_0x5b0cda(0x1e5)](l['IExchangeOperateService'])['exportXLSXByUnitId'](),!0x0)},E=_0x5b0cda(0x1fe);function _0xd193(_0x1cf32a,_0x542416){var _0x1ffb39=_0x1ffb();return _0xd193=function(_0xd19310,_0xa92daa){_0xd19310=_0xd19310-0x1db;var _0x5a071f=_0x1ffb39[_0xd19310];return _0x5a071f;},_0xd193(_0x1cf32a,_0x542416);}function x(_0x38ee81){var _0x58d3b6=_0x5b0cda;return{'id':E,'type':a[_0x58d3b6(0x1f1)][_0x58d3b6(0x200)],'icon':_0x58d3b6(0x216),'tooltip':_0x58d3b6(0x1de),'hidden$':a[_0x58d3b6(0x1ee)](_0x38ee81,i[_0x58d3b6(0x207)][_0x58d3b6(0x1f5)]),'disabled$':_[_0x58d3b6(0x1f6)](_0x38ee81,{'workbookTypes':[v[_0x58d3b6(0x1ea)]]})};}function C(){var _0x4f510b=_0x5b0cda;return{'id':g['id'],'type':a[_0x4f510b(0x1f1)]['BUTTON'],'title':_0x4f510b(0x1e3),'icon':_0x4f510b(0x1f8)};}function f(){var _0x59942e=_0x5b0cda;return{'id':p['id'],'type':a[_0x59942e(0x1f1)]['BUTTON'],'title':_0x59942e(0x1e7),'icon':_0x59942e(0x1dc)};}const y={[a['RibbonStartGroup'][_0x5b0cda(0x1df)]]:{[E]:{'order':0x4,'menuItemFactory':x,[g['id']]:{'order':0x0,'menuItemFactory':C},[p['id']]:{'order':0x1,'menuItemFactory':f}}}};function _0x1ffb(){var _0x18e73d=['FolderSingle','_initCommands','ExportXLSXOperation','_menuManagerService','@univerjs-pro/exchange-client','IConfigService','sheets-exchange-client.operation.exchange','getOwnPropertyDescriptor','SUBITEMS','1299993qWalfl','toStringTag','mergeMenu','OPERATION','6nwuixO','pluginName','UniverInstanceType','forEach','UniverSheetsExchangeClientPlugin','7805385XhqdBO','@univerjs/sheets-ui','defineProperty','_injector','length','UniverExchangeClientPlugin','_initMenus','ICommandService','CommandType','_config','561573FOwBrC','Injector','DirectExportSingle','7vRbIgi','onReady','2351704pFhnpz','Plugin','_configService','ImportXLSXOperation','ExportSingle','SHEET_EXCHANGE_CLIENT_PLUGIN','exchange.file','FILE','6xCydLP','importXLSXToUnitId','sheets-exchange-client.config','exchange.upload','IExchangeOperateService','get','@univerjs/sheets','exchange.download','_commandService','symbol','WorkbookExportPermission','7081832iMVgcX','Module','6786800OuPGyP','getMenuHiddenObservable','type','registerCommand','MenuItemType','@univerjs/ui','menu','6816095FceGvZ','UNIVER_SHEET','getCurrentRangeDisable$','exchange-client.operation.export-xlsx'];_0x1ffb=function(){return _0x18e73d;};return _0x1ffb();}var T=Object[_0x5b0cda(0x1ff)],P=(_0x494975,_0x1e3eaf,_0x1b276a,_0x435dfa)=>{var _0x4d6ff9=_0x5b0cda;for(var _0x3f5413=_0x435dfa>0x1?void 0x0:_0x435dfa?T(_0x1e3eaf,_0x1b276a):_0x1e3eaf,_0x147341=_0x494975[_0x4d6ff9(0x20e)]-0x1,_0x4f1a46;_0x147341>=0x0;_0x147341--)(_0x4f1a46=_0x494975[_0x147341])&&(_0x3f5413=_0x4f1a46(_0x3f5413)||_0x3f5413);return _0x3f5413;},d=(_0x3fe4be,_0x5e7a95)=>(_0x22bcc7,_0x3cc908)=>_0x5e7a95(_0x22bcc7,_0x3cc908,_0x3fe4be);let u=class extends i['Disposable']{constructor(_0x55ea37,_0x467af7){var _0x176a46=_0x5b0cda;super(),this[_0x176a46(0x1e8)]=_0x55ea37,this[_0x176a46(0x1fb)]=_0x467af7,this['_initCommands'](),this[_0x176a46(0x210)]();}[_0x5b0cda(0x1f9)](){var _0x29297d=_0x5b0cda;[g,p][_0x29297d(0x208)](_0x1af3a5=>{var _0x41b2d6=_0x29297d;this['disposeWithMe'](this['_commandService'][_0x41b2d6(0x1f0)](_0x1af3a5));});}[_0x5b0cda(0x210)](){var _0x10fe59=_0x5b0cda;this[_0x10fe59(0x1fb)][_0x10fe59(0x203)](y);}};u=P([d(0x0,i[_0x5b0cda(0x211)]),d(0x1,a['IMenuManagerService'])],u);var O=Object[_0x5b0cda(0x20c)],U=Object['getOwnPropertyDescriptor'],N=(_0x5a9b6c,_0x2a711f,_0x2ec114)=>_0x2a711f in _0x5a9b6c?O(_0x5a9b6c,_0x2a711f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec114}):_0x5a9b6c[_0x2a711f]=_0x2ec114,X=(_0x549494,_0x3e56d2,_0x3b1c50,_0x825e1c)=>{var _0x4d8fb5=_0x5b0cda;for(var _0x5813e9=_0x825e1c>0x1?void 0x0:_0x825e1c?U(_0x3e56d2,_0x3b1c50):_0x3e56d2,_0x2a7f1c=_0x549494[_0x4d8fb5(0x20e)]-0x1,_0x435810;_0x2a7f1c>=0x0;_0x2a7f1c--)(_0x435810=_0x549494[_0x2a7f1c])&&(_0x5813e9=_0x435810(_0x5813e9)||_0x5813e9);return _0x5813e9;},m=(_0x7a5765,_0x51c87c)=>(_0x34acd2,_0x4b9d1b)=>_0x51c87c(_0x34acd2,_0x4b9d1b,_0x7a5765),S=(_0x1845a5,_0x4e149b,_0x4b8f38)=>N(_0x1845a5,typeof _0x4e149b!=_0x5b0cda(0x1e9)?_0x4e149b+'':_0x4e149b,_0x4b8f38);const b=_0x5b0cda(0x1dd);exports[_0x5b0cda(0x209)]=class extends i[_0x5b0cda(0x21a)]{constructor(_0x41de7c=h,_0x4447e8,_0x3c41ae){var _0x32a640=_0x5b0cda;super(),this[_0x32a640(0x213)]=_0x41de7c,this[_0x32a640(0x20d)]=_0x4447e8,this['_configService']=_0x3c41ae;const {menu:_0x5af863,..._0x5885d0}=i['merge']({},h,this[_0x32a640(0x213)]);_0x5af863&&this[_0x32a640(0x21b)]['setConfig'](_0x32a640(0x1f3),_0x5af863,{'merge':!0x0}),this['_configService']['setConfig'](I,_0x5885d0);}['onStarting'](){var _0x3446c1=_0x5b0cda;[[u]][_0x3446c1(0x208)](_0x248c71=>this[_0x3446c1(0x20d)]['add'](_0x248c71));}[_0x5b0cda(0x218)](){var _0x2426b8=_0x5b0cda;this[_0x2426b8(0x20d)][_0x2426b8(0x1e5)](u);}},S(exports[_0x5b0cda(0x209)],_0x5b0cda(0x206),b),S(exports[_0x5b0cda(0x209)],_0x5b0cda(0x1ef),i['UniverInstanceType'][_0x5b0cda(0x1f5)]),exports[_0x5b0cda(0x209)]=X([i['DependentOn'](l[_0x5b0cda(0x20f)]),m(0x1,i['Inject'](i[_0x5b0cda(0x215)])),m(0x2,i[_0x5b0cda(0x1fd)])],exports[_0x5b0cda(0x209)]),exports[_0x5b0cda(0x1fa)]=p,exports[_0x5b0cda(0x1db)]=g;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function _0x2a8e(){var _0xefba2e=['20peTwgn','348714cKlcbK','exchange-client.operation.export-xlsx','sheets-exchange-client.operation.exchange','UNIVER_SHEET','4580720ezhtls','62078SMbUAE','defineProperty','importXLSXToUnitId','_initCommands','1427192EBfNjf','160790PXUAzp','_injector','ExportSingle','_menuManagerService','get','70tctGcj','menu','253NsZPdu','forEach','registerCommand','onStarting','_commandService','SHEET_EXCHANGE_CLIENT_PLUGIN','_config','setConfig','sheets-exchange-client.config','pluginName','180GhJCGS','type','53912WIhRsv','exchange-client.operation.import-xlsx','_initMenus','FolderSingle','length','onReady','_configService','exchange.file','symbol','OPERATION','add','BUTTON','exportXLSXByUnitId','DirectExportSingle','disposeWithMe','SUBITEMS','getOwnPropertyDescriptor','FILE','832452TTwCfu','mergeMenu'];_0x2a8e=function(){return _0xefba2e;};return _0x2a8e();}var _0x1276d9=_0x22e7;(function(_0x59e346,_0x5ab673){var _0x265d48=_0x22e7,_0x3db3f2=_0x59e346();while(!![]){try{var _0x3ed524=-parseInt(_0x265d48(0x1cf))/0x1+-parseInt(_0x265d48(0x1d3))/0x2+-parseInt(_0x265d48(0x1ca))/0x3*(parseInt(_0x265d48(0x1c9))/0x4)+parseInt(_0x265d48(0x1ce))/0x5+parseInt(_0x265d48(0x1c7))/0x6*(parseInt(_0x265d48(0x1d9))/0x7)+-parseInt(_0x265d48(0x1e7))/0x8*(-parseInt(_0x265d48(0x1e5))/0x9)+-parseInt(_0x265d48(0x1d4))/0xa*(parseInt(_0x265d48(0x1db))/0xb);if(_0x3ed524===_0x5ab673)break;else _0x3db3f2['push'](_0x3db3f2['shift']());}catch(_0xd047b5){_0x3db3f2['push'](_0x3db3f2['shift']());}}}(_0x2a8e,0xadbef));import{IExchangeOperateService as _0x62b5bc,UniverExchangeClientPlugin as _0x42adb7}from'@univerjs-pro/exchange-client';import{CommandType as _0x3be10b,UniverInstanceType as _0x5cee6a,Disposable as _0x2b17a0,ICommandService as _0x1f80b9,DependentOn as _0x66845f,Inject as _0x56d611,Injector as _0x1ed088,IConfigService as _0x58f434,Plugin as _0x26ba38,merge as _0x296582}from'@univerjs/core';import{MenuItemType as _0x3ec393,getMenuHiddenObservable as _0x5866fc,RibbonStartGroup as _0x4e02e6,IMenuManagerService as _0x12f6ab}from'@univerjs/ui';import{getCurrentRangeDisable$ as _0x3197b1}from'@univerjs/sheets-ui';import{WorkbookExportPermission as _0x2eaec0}from'@univerjs/sheets';const H=_0x1276d9(0x1e3),g={},m={'id':_0x1276d9(0x1e8),'type':_0x3be10b[_0x1276d9(0x1be)],'handler':async _0x294136=>(_0x294136[_0x1276d9(0x1d8)](_0x62b5bc)[_0x1276d9(0x1d1)](),!0x0)},d={'id':_0x1276d9(0x1cb),'type':_0x3be10b[_0x1276d9(0x1be)],'handler':async _0x240a7e=>(_0x240a7e[_0x1276d9(0x1d8)](_0x62b5bc)[_0x1276d9(0x1c1)](),!0x0)},S=_0x1276d9(0x1cc);function F(_0x1e60f9){var _0x518060=_0x1276d9;return{'id':S,'type':_0x3ec393[_0x518060(0x1c4)],'icon':_0x518060(0x1c2),'tooltip':_0x518060(0x1bc),'hidden$':_0x5866fc(_0x1e60f9,_0x5cee6a[_0x518060(0x1cd)]),'disabled$':_0x3197b1(_0x1e60f9,{'workbookTypes':[_0x2eaec0]})};}function D(){var _0x2c7ce6=_0x1276d9;return{'id':m['id'],'type':_0x3ec393['BUTTON'],'title':'exchange.upload','icon':_0x2c7ce6(0x1ea)};}function _0x22e7(_0x44aa2c,_0x4073ff){var _0x2a8e16=_0x2a8e();return _0x22e7=function(_0x22e7d3,_0x91fab){_0x22e7d3=_0x22e7d3-0x1bb;var _0x2e281a=_0x2a8e16[_0x22e7d3];return _0x2e281a;},_0x22e7(_0x44aa2c,_0x4073ff);}function G(){var _0x5b06b0=_0x1276d9;return{'id':d['id'],'type':_0x3ec393[_0x5b06b0(0x1c0)],'title':'exchange.download','icon':_0x5b06b0(0x1d6)};}const R={[_0x4e02e6[_0x1276d9(0x1c6)]]:{[S]:{'order':0x4,'menuItemFactory':F,[m['id']]:{'order':0x0,'menuItemFactory':D},[d['id']]:{'order':0x1,'menuItemFactory':G}}}};var w=Object['getOwnPropertyDescriptor'],A=(_0x3065eb,_0x26a986,_0xa7210a,_0x5971cc)=>{var _0x2d52ac=_0x1276d9;for(var _0x5c78c4=_0x5971cc>0x1?void 0x0:_0x5971cc?w(_0x26a986,_0xa7210a):_0x26a986,_0x1f50e0=_0x3065eb[_0x2d52ac(0x1eb)]-0x1,_0x993dd5;_0x1f50e0>=0x0;_0x1f50e0--)(_0x993dd5=_0x3065eb[_0x1f50e0])&&(_0x5c78c4=_0x993dd5(_0x5c78c4)||_0x5c78c4);return _0x5c78c4;},u=(_0x1cc74d,_0x272da7)=>(_0x1c0325,_0x110154)=>_0x272da7(_0x1c0325,_0x110154,_0x1cc74d);let a=class extends _0x2b17a0{constructor(_0x1449e8,_0x38df98){var _0x3b429b=_0x1276d9;super(),this[_0x3b429b(0x1df)]=_0x1449e8,this[_0x3b429b(0x1d7)]=_0x38df98,this[_0x3b429b(0x1d2)](),this['_initMenus']();}['_initCommands'](){var _0x49ac04=_0x1276d9;[m,d][_0x49ac04(0x1dc)](_0x531570=>{var _0x1c854c=_0x49ac04;this[_0x1c854c(0x1c3)](this['_commandService'][_0x1c854c(0x1dd)](_0x531570));});}[_0x1276d9(0x1e9)](){var _0x3a8daf=_0x1276d9;this[_0x3a8daf(0x1d7)][_0x3a8daf(0x1c8)](R);}};a=A([u(0x0,_0x1f80b9),u(0x1,_0x12f6ab)],a);var j=Object[_0x1276d9(0x1d0)],$=Object[_0x1276d9(0x1c5)],B=(_0xe51b86,_0x549d31,_0x36b07d)=>_0x549d31 in _0xe51b86?j(_0xe51b86,_0x549d31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36b07d}):_0xe51b86[_0x549d31]=_0x36b07d,V=(_0x29bbb6,_0x3ce728,_0x57e640,_0x33b546)=>{for(var _0x5bfe48=_0x33b546>0x1?void 0x0:_0x33b546?$(_0x3ce728,_0x57e640):_0x3ce728,_0x2a79ec=_0x29bbb6['length']-0x1,_0x16fe26;_0x2a79ec>=0x0;_0x2a79ec--)(_0x16fe26=_0x29bbb6[_0x2a79ec])&&(_0x5bfe48=_0x16fe26(_0x5bfe48)||_0x5bfe48);return _0x5bfe48;},_=(_0x52b2d7,_0x99711a)=>(_0x5c2b8a,_0x3de78a)=>_0x99711a(_0x5c2b8a,_0x3de78a,_0x52b2d7),I=(_0x194735,_0x1fd87d,_0x445cb0)=>B(_0x194735,typeof _0x1fd87d!=_0x1276d9(0x1bd)?_0x1fd87d+'':_0x1fd87d,_0x445cb0);const W=_0x1276d9(0x1e0);let s=class extends _0x26ba38{constructor(_0x391abe=g,_0x3e85f2,_0x1a2be6){var _0x5a8804=_0x1276d9;super(),this[_0x5a8804(0x1e1)]=_0x391abe,this[_0x5a8804(0x1d5)]=_0x3e85f2,this[_0x5a8804(0x1bb)]=_0x1a2be6;const {menu:_0x229d72,..._0x3d2707}=_0x296582({},g,this[_0x5a8804(0x1e1)]);_0x229d72&&this[_0x5a8804(0x1bb)][_0x5a8804(0x1e2)](_0x5a8804(0x1da),_0x229d72,{'merge':!0x0}),this[_0x5a8804(0x1bb)]['setConfig'](H,_0x3d2707);}[_0x1276d9(0x1de)](){var _0x3a4a06=_0x1276d9;[[a]][_0x3a4a06(0x1dc)](_0x4b48f3=>this[_0x3a4a06(0x1d5)][_0x3a4a06(0x1bf)](_0x4b48f3));}[_0x1276d9(0x1ec)](){var _0x2357b1=_0x1276d9;this[_0x2357b1(0x1d5)][_0x2357b1(0x1d8)](a);}};I(s,_0x1276d9(0x1e4),W),I(s,_0x1276d9(0x1e6),_0x5cee6a[_0x1276d9(0x1cd)]),s=V([_0x66845f(_0x42adb7),_(0x1,_0x56d611(_0x1ed088)),_(0x2,_0x58f434)],s);export{d as ExportXLSXOperation,m as ImportXLSXOperation,s as UniverSheetsExchangeClientPlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x342ab9,_0x1895b9){var _0x23c936=_0x5369,_0x342277=_0x342ab9();while(!![]){try{var _0x344393=-parseInt(_0x23c936(0xa1))/0x1+-parseInt(_0x23c936(0xc7))/0x2*(-parseInt(_0x23c936(0xa7))/0x3)+parseInt(_0x23c936(0x97))/0x4*(-parseInt(_0x23c936(0xcb))/0x5)+parseInt(_0x23c936(0x93))/0x6+parseInt(_0x23c936(0xbd))/0x7*(parseInt(_0x23c936(0xd5))/0x8)+-parseInt(_0x23c936(0xa4))/0x9*(-parseInt(_0x23c936(0xad))/0xa)+parseInt(_0x23c936(0xd2))/0xb;if(_0x344393===_0x1895b9)break;else _0x342277['push'](_0x342277['shift']());}catch(_0x150b93){_0x342277['push'](_0x342277['shift']());}}}(_0x4f59,0x8d411),function(_0x1ed180,_0x5526bb){var _0x395fe8=_0x5369;typeof exports==_0x395fe8(0x8e)&&typeof module<'u'?_0x5526bb(exports,require(_0x395fe8(0x90)),require(_0x395fe8(0xa3)),require(_0x395fe8(0xb4)),require('@univerjs/sheets-ui'),require(_0x395fe8(0x94))):typeof define==_0x395fe8(0xcd)&&define[_0x395fe8(0xb7)]?define([_0x395fe8(0xaa),_0x395fe8(0x90),_0x395fe8(0xa3),_0x395fe8(0xb4),_0x395fe8(0xb8),_0x395fe8(0x94)],_0x5526bb):(_0x1ed180=typeof globalThis<'u'?globalThis:_0x1ed180||self,_0x5526bb(_0x1ed180['UniverProSheetsExchangeClient']={},_0x1ed180['UniverProExchangeClient'],_0x1ed180['UniverCore'],_0x1ed180[_0x395fe8(0xa6)],_0x1ed180[_0x395fe8(0xb1)],_0x1ed180[_0x395fe8(0xa0)]));}(this,function(_0x1ccb6b,_0x523145,_0x273730,_0x529926,_0x39e81c,_0x3e8ce2){'use strict';var _0x4d6069=_0x5369;const _0x543624=_0x4d6069(0xba),_0x76287c={},_0x2f1e49={'id':_0x4d6069(0xd8),'type':_0x273730[_0x4d6069(0xca)][_0x4d6069(0xc5)],'handler':async _0x3e005d=>(_0x3e005d['get'](_0x523145[_0x4d6069(0xaf)])[_0x4d6069(0xc0)](),!0x0)},_0x3a7900={'id':_0x4d6069(0xcf),'type':_0x273730[_0x4d6069(0xca)][_0x4d6069(0xc5)],'handler':async _0x3c00a3=>(_0x3c00a3[_0x4d6069(0xd6)](_0x523145[_0x4d6069(0xaf)])['exportXLSXByUnitId'](),!0x0)},_0x8dc2bc=_0x4d6069(0xb9);function _0x227734(_0x13ffc0){var _0x5ae600=_0x4d6069;return{'id':_0x8dc2bc,'type':_0x529926[_0x5ae600(0xc2)]['SUBITEMS'],'icon':_0x5ae600(0xb2),'tooltip':_0x5ae600(0xd0),'hidden$':_0x529926[_0x5ae600(0x8d)](_0x13ffc0,_0x273730[_0x5ae600(0xa5)]['UNIVER_SHEET']),'disabled$':_0x39e81c['getCurrentRangeDisable$'](_0x13ffc0,{'workbookTypes':[_0x3e8ce2[_0x5ae600(0xc9)]]})};}function _0x312869(){var _0x583854=_0x4d6069;return{'id':_0x2f1e49['id'],'type':_0x529926['MenuItemType']['BUTTON'],'title':_0x583854(0xd3),'icon':_0x583854(0xb5)};}function _0x1e469d(){var _0x1529cd=_0x4d6069;return{'id':_0x3a7900['id'],'type':_0x529926['MenuItemType'][_0x1529cd(0xce)],'title':_0x1529cd(0xcc),'icon':'ExportSingle'};}const _0x5e0918={[_0x529926[_0x4d6069(0xc6)][_0x4d6069(0xbe)]]:{[_0x8dc2bc]:{'order':0x4,'menuItemFactory':_0x227734,[_0x2f1e49['id']]:{'order':0x0,'menuItemFactory':_0x312869},[_0x3a7900['id']]:{'order':0x1,'menuItemFactory':_0x1e469d}}}};var _0x8f97bf=Object[_0x4d6069(0xa9)],_0x1d7059=(_0x5d240a,_0x3f9361,_0x52edb7,_0xa2e57e)=>{for(var _0x169daa=_0xa2e57e>0x1?void 0x0:_0xa2e57e?_0x8f97bf(_0x3f9361,_0x52edb7):_0x3f9361,_0x2cbe2d=_0x5d240a['length']-0x1,_0x481e55;_0x2cbe2d>=0x0;_0x2cbe2d--)(_0x481e55=_0x5d240a[_0x2cbe2d])&&(_0x169daa=_0x481e55(_0x169daa)||_0x169daa);return _0x169daa;},_0xc1e5d7=(_0xe59d9d,_0x5d0bf1)=>(_0x525b9c,_0x5e5bf0)=>_0x5d0bf1(_0x525b9c,_0x5e5bf0,_0xe59d9d);let _0x224ff1=class extends _0x273730[_0x4d6069(0xc1)]{constructor(_0x43c7bb,_0x302b6f){var _0x5a87cb=_0x4d6069;super(),this[_0x5a87cb(0xd4)]=_0x43c7bb,this[_0x5a87cb(0x9a)]=_0x302b6f,this[_0x5a87cb(0x96)](),this[_0x5a87cb(0x9e)]();}[_0x4d6069(0x96)](){var _0x2f5cf9=_0x4d6069;[_0x2f1e49,_0x3a7900][_0x2f5cf9(0xb3)](_0x24d12c=>{var _0x48e17b=_0x2f5cf9;this[_0x48e17b(0x8f)](this[_0x48e17b(0xd4)][_0x48e17b(0xa2)](_0x24d12c));});}[_0x4d6069(0x9e)](){this['_menuManagerService']['mergeMenu'](_0x5e0918);}};_0x224ff1=_0x1d7059([_0xc1e5d7(0x0,_0x273730[_0x4d6069(0x9f)]),_0xc1e5d7(0x1,_0x529926[_0x4d6069(0xb6)])],_0x224ff1);var _0x469edb=Object[_0x4d6069(0x9c)],_0x2a30b2=Object[_0x4d6069(0xa9)],_0x3b891e=(_0xcd3c7c,_0x38c870,_0x3bec65)=>_0x38c870 in _0xcd3c7c?_0x469edb(_0xcd3c7c,_0x38c870,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bec65}):_0xcd3c7c[_0x38c870]=_0x3bec65,_0x51ca13=(_0x33b8f4,_0x2f72cd,_0x5a877a,_0xbe34c8)=>{for(var _0x4c1141=_0xbe34c8>0x1?void 0x0:_0xbe34c8?_0x2a30b2(_0x2f72cd,_0x5a877a):_0x2f72cd,_0x374f88=_0x33b8f4['length']-0x1,_0x1963a7;_0x374f88>=0x0;_0x374f88--)(_0x1963a7=_0x33b8f4[_0x374f88])&&(_0x4c1141=_0x1963a7(_0x4c1141)||_0x4c1141);return _0x4c1141;},_0x187493=(_0x32aa0b,_0x259fea)=>(_0xd9b988,_0x21fa29)=>_0x259fea(_0xd9b988,_0x21fa29,_0x32aa0b),_0x2d053b=(_0x5700e7,_0x5e988d,_0x1bde83)=>_0x3b891e(_0x5700e7,typeof _0x5e988d!=_0x4d6069(0x99)?_0x5e988d+'':_0x5e988d,_0x1bde83);const _0x588cf8=_0x4d6069(0x9d);_0x1ccb6b[_0x4d6069(0x92)]=class extends _0x273730[_0x4d6069(0xa8)]{constructor(_0x1c6405=_0x76287c,_0x1f4f4f,_0x5dc30b){var _0x2de07b=_0x4d6069;super(),this[_0x2de07b(0xb0)]=_0x1c6405,this['_injector']=_0x1f4f4f,this[_0x2de07b(0xae)]=_0x5dc30b;const {menu:_0xbe7c64,..._0x8b1e37}=_0x273730[_0x2de07b(0xc8)]({},_0x76287c,this[_0x2de07b(0xb0)]);_0xbe7c64&&this['_configService'][_0x2de07b(0xd7)](_0x2de07b(0xbb),_0xbe7c64,{'merge':!0x0}),this[_0x2de07b(0xae)][_0x2de07b(0xd7)](_0x543624,_0x8b1e37);}['onStarting'](){var _0x5df2bd=_0x4d6069;[[_0x224ff1]]['forEach'](_0x426296=>this[_0x5df2bd(0x8b)]['add'](_0x426296));}['onReady'](){var _0x46ff60=_0x4d6069;this['_injector'][_0x46ff60(0xd6)](_0x224ff1);}},_0x2d053b(_0x1ccb6b[_0x4d6069(0x92)],_0x4d6069(0xbc),_0x588cf8),_0x2d053b(_0x1ccb6b[_0x4d6069(0x92)],_0x4d6069(0xab),_0x273730['UniverInstanceType'][_0x4d6069(0xd1)]),_0x1ccb6b[_0x4d6069(0x92)]=_0x51ca13([_0x273730[_0x4d6069(0x91)](_0x523145[_0x4d6069(0xc3)]),_0x187493(0x1,_0x273730[_0x4d6069(0x8c)](_0x273730[_0x4d6069(0x95)])),_0x187493(0x2,_0x273730[_0x4d6069(0xbf)])],_0x1ccb6b[_0x4d6069(0x92)]),_0x1ccb6b[_0x4d6069(0x98)]=_0x3a7900,_0x1ccb6b[_0x4d6069(0x9b)]=_0x2f1e49,Object['defineProperty'](_0x1ccb6b,Symbol[_0x4d6069(0xc4)],{'value':_0x4d6069(0xac)});}));function _0x5369(_0x459904,_0x2d7d4e){var _0x4f599e=_0x4f59();return _0x5369=function(_0x5369ec,_0x12719d){_0x5369ec=_0x5369ec-0x8b;var _0x2cc28e=_0x4f599e[_0x5369ec];return _0x2cc28e;},_0x5369(_0x459904,_0x2d7d4e);}function _0x4f59(){var _0x2cbcc7=['amd','@univerjs/sheets-ui','sheets-exchange-client.operation.exchange','sheets-exchange-client.config','menu','pluginName','7vAWqPv','FILE','IConfigService','importXLSXToUnitId','Disposable','MenuItemType','UniverExchangeClientPlugin','toStringTag','OPERATION','RibbonStartGroup','14NpMXHK','merge','WorkbookExportPermission','CommandType','375gSQDnA','exchange.download','function','BUTTON','exchange-client.operation.export-xlsx','exchange.file','UNIVER_SHEET','3590180vAjoMj','exchange.upload','_commandService','6690288rdYwGF','get','setConfig','exchange-client.operation.import-xlsx','_injector','Inject','getMenuHiddenObservable','object','disposeWithMe','@univerjs-pro/exchange-client','DependentOn','UniverSheetsExchangeClientPlugin','1572984bJMTxy','@univerjs/sheets','Injector','_initCommands','43424rinRyL','ExportXLSXOperation','symbol','_menuManagerService','ImportXLSXOperation','defineProperty','SHEET_EXCHANGE_CLIENT_PLUGIN','_initMenus','ICommandService','UniverSheets','580125geuUbb','registerCommand','@univerjs/core','9yLzJsV','UniverInstanceType','UniverUi','148713aAbxHi','Plugin','getOwnPropertyDescriptor','exports','type','Module','2010750vLktvY','_configService','IExchangeOperateService','_config','UniverSheetsUi','DirectExportSingle','forEach','@univerjs/ui','FolderSingle','IMenuManagerService'];_0x4f59=function(){return _0x2cbcc7;};return _0x4f59();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-exchange-client",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5-nightly.202503131607",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
"lib"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@univerjs-pro/exchange-client": "0.6.
|
|
46
|
-
"@univerjs/
|
|
47
|
-
"@univerjs/
|
|
48
|
-
"@univerjs/sheets-ui": "0.6.
|
|
49
|
-
"@univerjs/ui": "0.6.
|
|
45
|
+
"@univerjs-pro/exchange-client": "0.6.5-nightly.202503131607",
|
|
46
|
+
"@univerjs/core": "0.6.5-nightly.202503131607",
|
|
47
|
+
"@univerjs/sheets": "0.6.5-nightly.202503131607",
|
|
48
|
+
"@univerjs/sheets-ui": "0.6.5-nightly.202503131607",
|
|
49
|
+
"@univerjs/ui": "0.6.5-nightly.202503131607"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "^5.8.2",
|
|
53
|
-
"vite": "^6.2.
|
|
54
|
-
"vitest": "^3.0.
|
|
55
|
-
"@univerjs-infra/shared": "0.6.
|
|
53
|
+
"vite": "^6.2.1",
|
|
54
|
+
"vitest": "^3.0.8",
|
|
55
|
+
"@univerjs-infra/shared": "0.6.5"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"test": "vitest run",
|