@univerjs-pro/sheets-exchange-client 1.0.0-beta.0 → 1.0.0-beta.2
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/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x14aafd=_0x56cb;function _0xaab6(){const _0x4e65f1=['2590300wUOpfD','importSheetToSnapshotAsync','389338HfvCsL','1236zmtPxP','transformWorkbookDataToSnapshotJsonAsync','transformSnapshotJsonToWorkbookDataAsync','1886auQFaz','importSheetToUnitId','importSheetToSnapshot','9504KbUjAx','664236WXFOKW','transformWorkbookDataToSnapshotJson','extend','FUniver','21lfpWlz','exportSheetByUnitId','18hEJguF','exportSheetByUnitIdAsync','get','810fJYQOy','470512lgluta','2610971kPqbcU','exportSheetBySnapshotAsync','_injector','exportSheetBySnapshot','importSheetToUnitIdAsync','ISheetExchangeService'];_0xaab6=function(){return _0x4e65f1;};return _0xaab6();}function _0x56cb(_0x5a978d,_0x5425d8){_0x5a978d=_0x5a978d-0xff;const _0xaab63c=_0xaab6();let _0x56cba6=_0xaab63c[_0x5a978d];return _0x56cba6;}(function(_0xb79585,_0x494c4c){const _0x302d3b=_0x56cb,_0x52bd1c=_0xb79585();while(!![]){try{const _0x3f1a7c=parseInt(_0x302d3b(0x119))/0x1+parseInt(_0x302d3b(0x102))/0x2*(-parseInt(_0x302d3b(0xff))/0x3)+parseInt(_0x302d3b(0x105))/0x4*(parseInt(_0x302d3b(0x10f))/0x5)+parseInt(_0x302d3b(0x106))/0x6*(-parseInt(_0x302d3b(0x10a))/0x7)+-parseInt(_0x302d3b(0x110))/0x8+-parseInt(_0x302d3b(0x10c))/0x9*(-parseInt(_0x302d3b(0x117))/0xa)+-parseInt(_0x302d3b(0x111))/0xb;if(_0x3f1a7c===_0x494c4c)break;else _0x52bd1c['push'](_0x52bd1c['shift']());}catch(_0x4fbac4){_0x52bd1c['push'](_0x52bd1c['shift']());}}}(_0xaab6,0x4342d));let e=require('@univerjs-pro/sheets-exchange-client'),t=require('@univerjs/core/facade');var n=class extends t['FUniver']{[_0x14aafd(0x115)](_0x31104e){const _0x3d441d=_0x14aafd;return this[_0x3d441d(0x113)]['get'](e[_0x3d441d(0x116)])[_0x3d441d(0x103)](_0x31104e);}[_0x14aafd(0x118)](_0x50aa39){const _0x123dbe=_0x14aafd;return this['_injector']['get'](e[_0x123dbe(0x116)])[_0x123dbe(0x104)](_0x50aa39);}[_0x14aafd(0x10d)](_0x2a9906,_0xfe5e33,_0x52f288){const _0x460898=_0x14aafd;return this['_injector'][_0x460898(0x10e)](e[_0x460898(0x116)])[_0x460898(0x10b)](_0x2a9906,_0xfe5e33,_0x52f288);}[_0x14aafd(0x112)](_0x2b19f0,_0x82a413,_0x45cd9e){const _0x652038=_0x14aafd;return this[_0x652038(0x113)][_0x652038(0x10e)](e[_0x652038(0x116)])[_0x652038(0x114)](_0x2b19f0,_0x82a413,_0x45cd9e);}[_0x14aafd(0x101)](_0x4b6bbd){const _0x3c9400=_0x14aafd;return this[_0x3c9400(0x113)]['get'](e[_0x3c9400(0x116)])['transformSnapshotJsonToWorkbookData'](_0x4b6bbd);}[_0x14aafd(0x100)](_0x8d748){const _0x3f3655=_0x14aafd;return this['_injector'][_0x3f3655(0x10e)](e[_0x3f3655(0x116)])[_0x3f3655(0x107)](_0x8d748);}};t[_0x14aafd(0x109)][_0x14aafd(0x108)](n);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1220(_0x3a45c6,_0x34373a){_0x3a45c6=_0x3a45c6-0x1d4;const _0x3d5cce=_0x3d5c();let _0x122084=_0x3d5cce[_0x3a45c6];return _0x122084;}const _0x248ca6=_0x1220;(function(_0x551b13,_0x3edc20){const _0x139a30=_0x1220,_0x17ad43=_0x551b13();while(!![]){try{const _0x167993=parseInt(_0x139a30(0x227))/0x1*(-parseInt(_0x139a30(0x1f9))/0x2)+parseInt(_0x139a30(0x231))/0x3+-parseInt(_0x139a30(0x1e1))/0x4+parseInt(_0x139a30(0x1f3))/0x5+-parseInt(_0x139a30(0x21e))/0x6*(parseInt(_0x139a30(0x21f))/0x7)+parseInt(_0x139a30(0x208))/0x8+-parseInt(_0x139a30(0x203))/0x9;if(_0x167993===_0x3edc20)break;else _0x17ad43['push'](_0x17ad43['shift']());}catch(_0x1cfd50){_0x17ad43['push'](_0x17ad43['shift']());}}}(_0x3d5c,0xa6778),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'}));function _0x3d5c(){const _0x4c2417=['BUTTON','getUnitId','onStarting','OPERATION','parse','setConfig','DirectExportIcon','defineProperty','Inject','importSheetToSnapshot','open','registerCommand','IUniverInstanceService','menu','dispose','LocaleService','pluginName','6089130XhJrCt','_initMenus','OTHERS','_injector','call','_getConfig','908foqtXS','_commandService','ICommandService','exportSheetBySnapshot','_config','importSheetToUnitId','sheets-exchange-client.sheet-exchange.service','name','decorate','_initCommands','3757608NTVFTN','format','sheets-exchange-client.operation.import-sheet','Failed\x20to\x20transform\x20snapshot\x20to\x20string','data','9631352GjTEsb','exportFileByUnitId','constructor','saveUnit','ExchangeFormat','\x20is\x20currently\x20active.','map','version','exportSheetByUnitId','getSheetId','TSV','sheetId','forEach','getSheets','length','type','getCurrentUnitOfType','getSnapshot','sheets-exchange-client.operation.export-sheet','UniverLicensePlugin','_exchangeOperateService','transformWorkbookDataToSnapshot','12dpHJJz','2368149KezoyC','DependentOn','transformWorkbookDataToSnapshotJson','merge','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_univerInstanceService','_createExportOptions','snapshot','1237CSwDOo','string','exportFileBySnapshot','Disposable','_menuManagerService','getName','_configService','UniverInstanceType','onReady','mergeMenu','434808IfWOJn','No\x20unit\x20of\x20type\x20','rev','getOwnPropertyDescriptor','MenuItemType','getMenuHiddenObservable','_resourceLoaderService','UNIVER_SHEET','WorkbookExportPermission','sheets-exchange-client.download','sheets-exchange-client.config','values','transformSnapshotToWorkbookData','getCurrentRangeDisable$','ExportIcon','SheetsExchangeClientMenuSchema','default','exportFile','getActiveSheet','IConfigService','isCurrentUnitLoadedFromServer','transformSnapshotJsonToWorkbookData','_exchangeService','Plugin','object','sheetBlocks','get','RibbonStartGroup','symbol','getSheetBlocksFromSnapshot','importFileToSnapshot','CommandType','disposeWithMe','_sheetExchangeService','executeCommand','ISheetExchangeService','sheets-exchange-client.operation.exchange','_createImportOptions','XLSX','transformWorkbookSnapshotMetaToString','FolderIcon','createIdentifier','function','Injector','916436lLYRYd'];_0x3d5c=function(){return _0x4c2417;};return _0x3d5c();}let e=require('@univerjs/ui'),t=require('@univerjs-pro/exchange-client'),n=require('@univerjs/core'),r=require('@univerjs-pro/collaboration'),i=require('@univerjs/sheets'),a=require('@univerjs/sheets-ui'),o=require('@univerjs-pro/license');const s={'minSheetRowCount':0x1,'minSheetColumnCount':0x1,'disableCellImageConversion':!0x0};function c(_0x5490c4,_0x33b334){return function(_0x3fd18e,_0x38263b){_0x33b334(_0x3fd18e,_0x38263b,_0x5490c4);};}function l(_0x198a3f,_0x10361b,_0x43a9d9,_0x2a9237){const _0x5bab21=_0x1220;var _0x13169f=arguments['length'],_0x520bf6=_0x13169f<0x3?_0x10361b:_0x2a9237===null?_0x2a9237=Object[_0x5bab21(0x234)](_0x10361b,_0x43a9d9):_0x2a9237,_0x33f609;if(typeof Reflect==_0x5bab21(0x249)&&typeof Reflect[_0x5bab21(0x201)]==_0x5bab21(0x1df))_0x520bf6=Reflect[_0x5bab21(0x201)](_0x198a3f,_0x10361b,_0x43a9d9,_0x2a9237);else{for(var _0x3208e=_0x198a3f[_0x5bab21(0x216)]-0x1;_0x3208e>=0x0;_0x3208e--)(_0x33f609=_0x198a3f[_0x3208e])&&(_0x520bf6=(_0x13169f<0x3?_0x33f609(_0x520bf6):_0x13169f>0x3?_0x33f609(_0x10361b,_0x43a9d9,_0x520bf6):_0x33f609(_0x10361b,_0x43a9d9))||_0x520bf6);}return _0x13169f>0x3&&_0x520bf6&&Object[_0x5bab21(0x1e9)](_0x10361b,_0x43a9d9,_0x520bf6),_0x520bf6;}const u=(0x0,n['createIdentifier'])(_0x248ca6(0x1ff));let d=class{constructor(_0x1613cb,_0x12cbf0){const _0x1f833e=_0x248ca6;this[_0x1f833e(0x247)]=_0x1613cb,this[_0x1f833e(0x22d)]=_0x12cbf0;}[_0x248ca6(0x1fe)](_0x1d440b){const _0x2d72e2=_0x248ca6;let _0x929ffd=this[_0x2d72e2(0x1da)]();return this[_0x2d72e2(0x247)]['importFileToUnitId'](_0x1d440b,n[_0x2d72e2(0x22e)]['UNIVER_SHEET'],{'sheet':_0x929ffd});}async[_0x248ca6(0x1eb)](_0xe1634d){const _0x403de0=_0x248ca6;let _0x28fcdc=this[_0x403de0(0x1da)](),_0x59906f=await this['_exchangeService']['importFileToJson'](_0xe1634d,n[_0x403de0(0x22e)]['UNIVER_SHEET'],{'sheet':_0x28fcdc});return _0x59906f?this['transformSnapshotJsonToWorkbookData'](_0x59906f):void 0x0;}[_0x248ca6(0x210)](_0x169aab,_0x149c3f=t[_0x248ca6(0x20c)]['XLSX'],_0x48b2fc){const _0x12a7fe=_0x248ca6;let _0x4759df=this['_createExportOptions'](_0x149c3f,_0x48b2fc);return this[_0x12a7fe(0x247)][_0x12a7fe(0x209)](_0x169aab,n[_0x12a7fe(0x22e)][_0x12a7fe(0x238)],_0x149c3f,{'sheet':_0x4759df});}async[_0x248ca6(0x1fc)](_0x1ceb9f,_0x4a27c5=t[_0x248ca6(0x20c)][_0x248ca6(0x1db)],_0x3a5424){const _0x1001b5=_0x248ca6;let _0xeebcf8=await this[_0x1001b5(0x221)](_0x1ceb9f),_0x27301b=this[_0x1001b5(0x225)](_0x4a27c5,_0x3a5424);return this[_0x1001b5(0x247)][_0x1001b5(0x229)](_0xeebcf8,n[_0x1001b5(0x22e)][_0x1001b5(0x238)],_0x4a27c5,{'sheet':_0x27301b});}[_0x248ca6(0x246)](_0x23f5fa){const _0x3f9681=_0x248ca6;let _0xc2d92d=Object[_0x3f9681(0x23c)](_0x23f5fa[_0x3f9681(0x24a)]||{})[_0x3f9681(0x20e)](_0x1bda24=>({..._0x1bda24,'data':_0x1bda24[_0x3f9681(0x207)]?JSON[_0x3f9681(0x1e6)]((0x0,r['b64DecodeUnicode'])(_0x1bda24[_0x3f9681(0x207)])):void 0x0}));return(0x0,r[_0x3f9681(0x23d)])(_0x23f5fa[_0x3f9681(0x226)],_0xc2d92d);}async[_0x248ca6(0x221)](_0x110249){const _0x5e7e70=_0x248ca6;let _0x32760e={'metadata':void 0x0},_0x2f7fd6=new t['ClientSnapshotServerService'](),{snapshot:_0xbc4ca0}=await(0x0,r[_0x5e7e70(0x21d)])(_0x32760e,_0x110249,_0x110249['id'],_0x110249[_0x5e7e70(0x233)]??0x0,_0x2f7fd6),_0x5f2eae=(0x0,t[_0x5e7e70(0x1dc)])(_0xbc4ca0);if(!_0x5f2eae)throw Error(_0x5e7e70(0x206));return{'snapshot':_0x5f2eae,'sheetBlocks':(0x0,t['transformSheetBlockMetaToString'])(await(0x0,r[_0x5e7e70(0x24e)])(_0xbc4ca0,_0x2f7fd6))};}[_0x248ca6(0x1f8)](){const _0x2e363a=_0x248ca6;return this[_0x2e363a(0x22d)]['getConfig'](_0x2e363a(0x23b))??s;}[_0x248ca6(0x1da)](){const _0x362ed7=_0x248ca6;let {minSheetRowCount:_0x2cb803,minSheetColumnCount:_0x3e111d}=this[_0x362ed7(0x1f8)]();return{'minSheetRowCount':_0x2cb803,'minSheetColumnCount':_0x3e111d};}[_0x248ca6(0x225)](_0x3c2ee9,_0x6429f1){const _0x18f28b=_0x248ca6;let {disableCellImageConversion:_0x1bd7f9}=this['_getConfig']();return{'useImageUrl':_0x1bd7f9,..._0x3c2ee9!==t[_0x18f28b(0x20c)][_0x18f28b(0x1db)]&&_0x6429f1?{'csv':{'sheetId':_0x6429f1}}:{}};}};d=l([c(0x0,(0x0,n[_0x248ca6(0x1ea)])(t['IExchangeService'])),c(0x1,n[_0x248ca6(0x244)])],d);const f=(0x0,n[_0x248ca6(0x1de)])('sheets-exchange-client.sheet-exchange-operate.service');let p=class{constructor(_0x42dd0b,_0x56ed50,_0x13ea30,_0x11fdd9){const _0x382b60=_0x248ca6;this[_0x382b60(0x1d6)]=_0x42dd0b,this['_exchangeOperateService']=_0x56ed50,this[_0x382b60(0x224)]=_0x13ea30,this[_0x382b60(0x237)]=_0x11fdd9;}['importSheetToUnitId'](){const _0x5a8ed9=_0x248ca6;return this[_0x5a8ed9(0x21c)]['importFileToUnitId'](n[_0x5a8ed9(0x22e)]['UNIVER_SHEET'],_0x610d54=>this['_sheetExchangeService'][_0x5a8ed9(0x1fe)](_0x610d54));}[_0x248ca6(0x1eb)](){const _0x3d7794=_0x248ca6;return this[_0x3d7794(0x21c)][_0x3d7794(0x24f)](n[_0x3d7794(0x22e)]['UNIVER_SHEET'],_0x22d946=>this[_0x3d7794(0x1d6)][_0x3d7794(0x1eb)](_0x22d946));}['exportSheetByUnitId'](_0x377b26,_0x2843bd,_0x497380=t[_0x248ca6(0x20c)][_0x248ca6(0x1db)],_0x5b9f6d){const _0x34273b=_0x248ca6;let _0x40a6b8=this['_getCurrentWorkbook']();return this[_0x34273b(0x21c)][_0x34273b(0x242)](()=>this[_0x34273b(0x1d6)][_0x34273b(0x210)](_0x377b26??_0x40a6b8[_0x34273b(0x1e3)](),_0x497380,_0x5b9f6d),_0x2843bd??_0x40a6b8[_0x34273b(0x219)]()[_0x34273b(0x200)],_0x497380);}[_0x248ca6(0x1fc)](_0x2114f6=t['ExchangeFormat'][_0x248ca6(0x1db)],_0x163b90){const _0x276601=_0x248ca6;let _0x192208=this['_getCurrentWorkbook'](),_0x12879f=this[_0x276601(0x237)][_0x276601(0x20b)](_0x192208[_0x276601(0x1e3)]())??_0x192208[_0x276601(0x219)]();return this[_0x276601(0x21c)]['exportFile'](()=>this[_0x276601(0x1d6)][_0x276601(0x1fc)](_0x12879f,_0x2114f6,_0x163b90),_0x12879f['name'],_0x2114f6);}['_getCurrentWorkbook'](){const _0x2ce675=_0x248ca6;let _0x1989c9=this['_univerInstanceService'][_0x2ce675(0x218)](n[_0x2ce675(0x22e)]['UNIVER_SHEET']);if(!_0x1989c9)throw Error(_0x2ce675(0x232)+n[_0x2ce675(0x22e)][_0x2ce675(0x238)]+_0x2ce675(0x20d));return _0x1989c9;}};p=l([c(0x0,(0x0,n[_0x248ca6(0x1ea)])(u)),c(0x1,(0x0,n['Inject'])(t['IExchangeOperateService'])),c(0x2,n[_0x248ca6(0x1ee)]),c(0x3,n['IResourceLoaderService'])],p);function m(_0x5c8094){const _0x329ec7=_0x248ca6;var _0x12f7f2,_0x99da85;return{'selectedId':((_0x12f7f2=_0x5c8094[_0x329ec7(0x243)](!0x0))==null?void 0x0:_0x12f7f2[_0x329ec7(0x211)]())??((_0x99da85=_0x5c8094[_0x329ec7(0x215)]()[0x0])==null?void 0x0:_0x99da85[_0x329ec7(0x211)]())??'','items':_0x5c8094[_0x329ec7(0x215)]()['map'](_0x35be85=>({'label':_0x35be85[_0x329ec7(0x22c)](),'value':_0x35be85['getSheetId']()}))};}const h={'id':_0x248ca6(0x205),'type':n[_0x248ca6(0x1d4)][_0x248ca6(0x1e5)],'handler':async _0x360605=>{const _0x56e21c=_0x248ca6;let _0x123bd9=_0x360605['get'](f);return(0x0,t[_0x56e21c(0x245)])(_0x360605,n['UniverInstanceType'][_0x56e21c(0x238)])?await _0x123bd9[_0x56e21c(0x1fe)]():await _0x123bd9[_0x56e21c(0x1eb)](),!0x0;}},g={'id':'sheets-exchange-client.operation.export-sheet-by-format','type':n[_0x248ca6(0x1d4)][_0x248ca6(0x1e5)],'handler':async(_0xbc108c,_0x446e3b)=>{const _0x487f48=_0x248ca6;if(!_0x446e3b)return!0x1;let _0xb0487f=_0xbc108c['get'](f);return(0x0,t[_0x487f48(0x245)])(_0xbc108c,n[_0x487f48(0x22e)][_0x487f48(0x238)])?await _0xb0487f[_0x487f48(0x210)](void 0x0,void 0x0,_0x446e3b['format'],_0x446e3b[_0x487f48(0x213)]):await _0xb0487f[_0x487f48(0x1fc)](_0x446e3b[_0x487f48(0x204)],_0x446e3b[_0x487f48(0x213)]),!0x0;}},_={'id':_0x248ca6(0x21a),'type':n[_0x248ca6(0x1d4)]['OPERATION'],'handler':_0x504b17=>{const _0x15602e=_0x248ca6;let _0x342417=_0x504b17[_0x15602e(0x24b)](n['IUniverInstanceService'])[_0x15602e(0x218)](n['UniverInstanceType'][_0x15602e(0x238)]);if(!_0x342417)return!0x1;let _0x3c36fe=m(_0x342417),_0x231444=_0x504b17['get'](e['IDialogService']),_0xf8b1cc=_0x504b17[_0x15602e(0x24b)](n[_0x15602e(0x1fb)]),_0x115d26=_0x504b17[_0x15602e(0x24b)](n[_0x15602e(0x1f1)]),_0x4d34cd=null,_0x4c3c67=()=>{const _0x48a385=_0x15602e;_0x4d34cd==null||_0x4d34cd[_0x48a385(0x1f0)](),_0x4d34cd=null;};return _0x4d34cd=_0x231444[_0x15602e(0x1ec)]({'id':'sheets-exchange-client.dialog.export-format','title':{'title':_0x115d26['t'](_0x15602e(0x23a))},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':t['EXPORT_FORMAT_DIALOG'],'props':{'formats':[t[_0x15602e(0x20c)][_0x15602e(0x1db)],t['ExchangeFormat']['CSV'],t['ExchangeFormat'][_0x15602e(0x212)]],..._0x3c36fe,'onCancel':_0x4c3c67,'onConfirm':async(_0x293dcd,_0x599f4b)=>{const _0x308a02=_0x15602e;await _0xf8b1cc[_0x308a02(0x1d7)](g['id'],{'format':_0x293dcd,'sheetId':_0x599f4b}),_0x4c3c67();}}}},'onClose':_0x4c3c67}),!0x0;}},v=_0x248ca6(0x1d9);function y(_0xb224d5){const _0x28e98d=_0x248ca6;return{'id':v,'type':e[_0x28e98d(0x235)]['SUBITEMS'],'icon':_0x28e98d(0x1e8),'tooltip':'sheets-exchange-client.file','hidden$':(0x0,e[_0x28e98d(0x236)])(_0xb224d5,n['UniverInstanceType'][_0x28e98d(0x238)]),'disabled$':(0x0,a[_0x28e98d(0x23e)])(_0xb224d5,{'workbookTypes':[i[_0x28e98d(0x239)]]})};}function b(){const _0x3eec36=_0x248ca6;return{'id':h['id'],'type':e[_0x3eec36(0x235)][_0x3eec36(0x1e2)],'title':'sheets-exchange-client.upload','icon':_0x3eec36(0x1dd)};}function x(){const _0x5f4e97=_0x248ca6;return{'id':_['id'],'type':e['MenuItemType'][_0x5f4e97(0x1e2)],'title':'sheets-exchange-client.download','icon':_0x5f4e97(0x23f)};}const S={[e[_0x248ca6(0x24c)][_0x248ca6(0x1f5)]]:{[v]:{'order':0.03,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':y,[h['id']]:{'order':0x0,'menuItemFactory':b},[_['id']]:{'order':0x1,'menuItemFactory':x}}}};var C='@univerjs-pro/sheets-exchange-client',w='1.0.0-beta.0';let T=class extends n[_0x248ca6(0x22a)]{constructor(_0x3ba580,_0x155ac2){const _0x337d1e=_0x248ca6;super(),this[_0x337d1e(0x1fa)]=_0x3ba580,this[_0x337d1e(0x22b)]=_0x155ac2,this['_initCommands'](),this[_0x337d1e(0x1f4)]();}[_0x248ca6(0x202)](){const _0x36d260=_0x248ca6;[h,_,g][_0x36d260(0x214)](_0x1e2910=>{const _0x35a112=_0x36d260;this[_0x35a112(0x1d5)](this['_commandService'][_0x35a112(0x1ed)](_0x1e2910));});}[_0x248ca6(0x1f4)](){const _0x7550ee=_0x248ca6;this[_0x7550ee(0x22b)][_0x7550ee(0x230)](S);}};T=l([c(0x0,n['ICommandService']),c(0x1,e['IMenuManagerService'])],T);function E(_0x54abd6){'@babel/helpers - typeof';const _0x6ae3a5=_0x248ca6;return E=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x6ae3a5(0x24d)?function(_0xd6a2e3){return typeof _0xd6a2e3;}:function(_0x2973eb){const _0x4ecd8d=_0x6ae3a5;return _0x2973eb&&typeof Symbol=='function'&&_0x2973eb[_0x4ecd8d(0x20a)]===Symbol&&_0x2973eb!==Symbol['prototype']?'symbol':typeof _0x2973eb;},E(_0x54abd6);}function D(_0x2d9015,_0x41fd57){const _0x11c7a3=_0x248ca6;if(E(_0x2d9015)!='object'||!_0x2d9015)return _0x2d9015;var _0x37bdcb=_0x2d9015[Symbol['toPrimitive']];if(_0x37bdcb!==void 0x0){var _0x466b48=_0x37bdcb[_0x11c7a3(0x1f7)](_0x2d9015,_0x41fd57||_0x11c7a3(0x241));if(E(_0x466b48)!=_0x11c7a3(0x249))return _0x466b48;throw TypeError(_0x11c7a3(0x223));}return(_0x41fd57===_0x11c7a3(0x228)?String:Number)(_0x2d9015);}function O(_0x4002e5){const _0x4e961=_0x248ca6;var _0x4dcd26=D(_0x4002e5,_0x4e961(0x228));return E(_0x4dcd26)==_0x4e961(0x24d)?_0x4dcd26:_0x4dcd26+'';}function k(_0x40f1ff,_0x6dbd80,_0x19491c){return(_0x6dbd80=O(_0x6dbd80))in _0x40f1ff?Object['defineProperty'](_0x40f1ff,_0x6dbd80,{'value':_0x19491c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40f1ff[_0x6dbd80]=_0x19491c,_0x40f1ff;}let A=class extends n[_0x248ca6(0x248)]{constructor(_0x47632f=s,_0x526cf5,_0x41c9ad){const _0x1c7660=_0x248ca6;super(),this[_0x1c7660(0x1fd)]=_0x47632f,this[_0x1c7660(0x1f6)]=_0x526cf5,this[_0x1c7660(0x22d)]=_0x41c9ad;let {menu:_0x311d5a,..._0x247caf}=(0x0,n[_0x1c7660(0x222)])({},s,this[_0x1c7660(0x1fd)]);_0x311d5a&&this['_configService'][_0x1c7660(0x1e7)](_0x1c7660(0x1ef),_0x311d5a,{'merge':!0x0}),this['_configService']['setConfig'](_0x1c7660(0x23b),_0x247caf);}[_0x248ca6(0x1e4)](){const _0x4121a0=_0x248ca6;[[u,{'useClass':d}],[f,{'useClass':p}],[T]][_0x4121a0(0x214)](_0x268188=>this[_0x4121a0(0x1f6)]['add'](_0x268188));}[_0x248ca6(0x22f)](){const _0x7b9919=_0x248ca6;this[_0x7b9919(0x1f6)][_0x7b9919(0x24b)](T);}};k(A,_0x248ca6(0x1f2),'SHEET_EXCHANGE_CLIENT_PLUGIN'),k(A,'packageName',C),k(A,_0x248ca6(0x20f),w),k(A,_0x248ca6(0x217),n[_0x248ca6(0x22e)][_0x248ca6(0x238)]),A=l([(0x0,n[_0x248ca6(0x220)])(o[_0x248ca6(0x21b)],t['UniverExchangeClientPlugin']),c(0x1,(0x0,n[_0x248ca6(0x1ea)])(n[_0x248ca6(0x1e0)])),c(0x2,n[_0x248ca6(0x244)])],A),exports[_0x248ca6(0x1d8)]=u,exports[_0x248ca6(0x240)]=S,Object[_0x248ca6(0x1e9)](exports,'UniverSheetsExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return A;}});
|
|
1
|
+
const _0x1790e8=_0x4c58;(function(_0xa1c8bc,_0x1cb656){const _0x5827f6=_0x4c58,_0x105029=_0xa1c8bc();while(!![]){try{const _0x4d313d=-parseInt(_0x5827f6(0x149))/0x1*(parseInt(_0x5827f6(0xe5))/0x2)+parseInt(_0x5827f6(0x109))/0x3+parseInt(_0x5827f6(0x117))/0x4+parseInt(_0x5827f6(0xf6))/0x5+parseInt(_0x5827f6(0x12e))/0x6*(-parseInt(_0x5827f6(0xf3))/0x7)+-parseInt(_0x5827f6(0xec))/0x8*(-parseInt(_0x5827f6(0xf4))/0x9)+parseInt(_0x5827f6(0x134))/0xa*(-parseInt(_0x5827f6(0xfd))/0xb);if(_0x4d313d===_0x1cb656)break;else _0x105029['push'](_0x105029['shift']());}catch(_0x49ae5c){_0x105029['push'](_0x105029['shift']());}}}(_0x44f5,0xf199b),Object[_0x1790e8(0x102)](exports,Symbol[_0x1790e8(0xee)],{'value':_0x1790e8(0x126)}));let e=require('@univerjs/ui'),t=require('@univerjs-pro/exchange-client'),n=require('@univerjs/core'),r=require('@univerjs-pro/collaboration'),i=require('@univerjs/sheets'),a=require('@univerjs/sheets-ui'),o=require('@univerjs-pro/license');const s={'minSheetRowCount':0x1,'minSheetColumnCount':0x1,'disableCellImageConversion':!0x0};function c(_0x145733,_0x1b470d){return function(_0x12f9b3,_0x115c28){_0x1b470d(_0x12f9b3,_0x115c28,_0x145733);};}function l(_0x59c82c,_0x1b3182,_0x4cd257,_0x118ce8){const _0x2a4f2e=_0x1790e8;var _0x1e8949=arguments[_0x2a4f2e(0x148)],_0x5398cb=_0x1e8949<0x3?_0x1b3182:_0x118ce8===null?_0x118ce8=Object[_0x2a4f2e(0xe6)](_0x1b3182,_0x4cd257):_0x118ce8,_0x194ac6;if(typeof Reflect==_0x2a4f2e(0xe2)&&typeof Reflect[_0x2a4f2e(0x135)]=='function')_0x5398cb=Reflect[_0x2a4f2e(0x135)](_0x59c82c,_0x1b3182,_0x4cd257,_0x118ce8);else{for(var _0x4d4651=_0x59c82c[_0x2a4f2e(0x148)]-0x1;_0x4d4651>=0x0;_0x4d4651--)(_0x194ac6=_0x59c82c[_0x4d4651])&&(_0x5398cb=(_0x1e8949<0x3?_0x194ac6(_0x5398cb):_0x1e8949>0x3?_0x194ac6(_0x1b3182,_0x4cd257,_0x5398cb):_0x194ac6(_0x1b3182,_0x4cd257))||_0x5398cb);}return _0x1e8949>0x3&&_0x5398cb&&Object[_0x2a4f2e(0x102)](_0x1b3182,_0x4cd257,_0x5398cb),_0x5398cb;}const u=(0x0,n[_0x1790e8(0x159)])(_0x1790e8(0x127));let d=class{constructor(_0x4bc058,_0x180f7e){const _0x2e2eea=_0x1790e8;this[_0x2e2eea(0x143)]=_0x4bc058,this[_0x2e2eea(0x13a)]=_0x180f7e;}['importSheetToUnitId'](_0x3f19da){const _0x3f6c64=_0x1790e8;let _0x2f97b6=this[_0x3f6c64(0x11d)]();return this[_0x3f6c64(0x143)]['importFileToUnitId'](_0x3f19da,n[_0x3f6c64(0x157)][_0x3f6c64(0x119)],{'sheet':_0x2f97b6});}async[_0x1790e8(0x146)](_0x1ee7fa){const _0x1d626=_0x1790e8;let _0x435c4f=this['_createImportOptions'](),_0x504eaf=await this[_0x1d626(0x143)][_0x1d626(0x14e)](_0x1ee7fa,n[_0x1d626(0x157)][_0x1d626(0x119)],{'sheet':_0x435c4f});return _0x504eaf?this['transformSnapshotJsonToWorkbookData'](_0x504eaf):void 0x0;}[_0x1790e8(0xde)](_0x4237af,_0x3863f3=t[_0x1790e8(0x103)][_0x1790e8(0xfb)],_0x49c84e){const _0xc48d4=_0x1790e8;let _0x11124d=this['_createExportOptions'](_0x3863f3,_0x49c84e);return this['_exchangeService']['exportFileByUnitId'](_0x4237af,n[_0xc48d4(0x157)][_0xc48d4(0x119)],_0x3863f3,{'sheet':_0x11124d});}async[_0x1790e8(0x137)](_0x33633e,_0x17987c=t['ExchangeFormat'][_0x1790e8(0xfb)],_0x581275){const _0x15c107=_0x1790e8;let _0x2b8b0d=await this[_0x15c107(0x105)](_0x33633e),_0x35fabe=this[_0x15c107(0x12f)](_0x17987c,_0x581275);return this[_0x15c107(0x143)][_0x15c107(0xf1)](_0x2b8b0d,n[_0x15c107(0x157)]['UNIVER_SHEET'],_0x17987c,{'sheet':_0x35fabe});}['transformSnapshotJsonToWorkbookData'](_0x4273c0){const _0x239680=_0x1790e8;let _0xe9027c=Object[_0x239680(0x11f)](_0x4273c0[_0x239680(0xf8)]||{})[_0x239680(0x104)](_0x35ea40=>({..._0x35ea40,'data':_0x35ea40[_0x239680(0x13e)]?JSON[_0x239680(0x122)]((0x0,r[_0x239680(0x162)])(_0x35ea40[_0x239680(0x13e)])):void 0x0}));return(0x0,r[_0x239680(0x116)])(_0x4273c0[_0x239680(0x139)],_0xe9027c);}async[_0x1790e8(0x105)](_0x41812c){const _0x57002c=_0x1790e8;let _0x395e29={'metadata':void 0x0},_0x21286c=new t['ClientSnapshotServerService'](),{snapshot:_0x431a6f}=await(0x0,r['transformWorkbookDataToSnapshot'])(_0x395e29,_0x41812c,_0x41812c['id'],_0x41812c[_0x57002c(0x14c)]??0x0,_0x21286c),_0x2b4907=(0x0,t[_0x57002c(0xe9)])(_0x431a6f);if(!_0x2b4907)throw Error(_0x57002c(0x11b));return{'snapshot':_0x2b4907,'sheetBlocks':(0x0,t[_0x57002c(0x142)])(await(0x0,r[_0x57002c(0xfe)])(_0x431a6f,_0x21286c))};}[_0x1790e8(0xf5)](){const _0x3e6eda=_0x1790e8;return this[_0x3e6eda(0x13a)][_0x3e6eda(0xff)]('sheets-exchange-client.config')??s;}['_createImportOptions'](){let {minSheetRowCount:_0x5cc508,minSheetColumnCount:_0x9053a}=this['_getConfig']();return{'minSheetRowCount':_0x5cc508,'minSheetColumnCount':_0x9053a};}[_0x1790e8(0x12f)](_0xa55bfa,_0x3b664e){const _0x3e51b9=_0x1790e8;let {disableCellImageConversion:_0x1a74f2}=this[_0x3e51b9(0xf5)]();return{'useImageUrl':_0x1a74f2,..._0xa55bfa!==t[_0x3e51b9(0x103)]['XLSX']&&_0x3b664e?{'csv':{'sheetId':_0x3b664e}}:{}};}};d=l([c(0x0,(0x0,n['Inject'])(t[_0x1790e8(0x100)])),c(0x1,n[_0x1790e8(0x15f)])],d);const f=(0x0,n[_0x1790e8(0x159)])(_0x1790e8(0xfc));let p=class{constructor(_0x2b5b87,_0x5e5343,_0x4cf831,_0x5403bc){const _0x3b1e83=_0x1790e8;this[_0x3b1e83(0xe0)]=_0x2b5b87,this[_0x3b1e83(0x125)]=_0x5e5343,this[_0x3b1e83(0x10d)]=_0x4cf831,this['_resourceLoaderService']=_0x5403bc;}[_0x1790e8(0x113)](){const _0x3f12da=_0x1790e8;return this[_0x3f12da(0x125)]['importFileToUnitId'](n['UniverInstanceType']['UNIVER_SHEET'],_0x31d38b=>this[_0x3f12da(0xe0)]['importSheetToUnitId'](_0x31d38b));}[_0x1790e8(0x146)](){const _0x33919e=_0x1790e8;return this['_exchangeOperateService']['importFileToSnapshot'](n[_0x33919e(0x157)][_0x33919e(0x119)],_0x497aba=>this[_0x33919e(0xe0)][_0x33919e(0x146)](_0x497aba));}[_0x1790e8(0xde)](_0x501c3c,_0x3473dc,_0x1948b3=t[_0x1790e8(0x103)][_0x1790e8(0xfb)],_0x3435e9){const _0x4e37c5=_0x1790e8;let _0x3f91e3=this[_0x4e37c5(0x10f)]();return this[_0x4e37c5(0x125)][_0x4e37c5(0xe7)](()=>this[_0x4e37c5(0xe0)]['exportSheetByUnitId'](_0x501c3c??_0x3f91e3[_0x4e37c5(0x131)](),_0x1948b3,_0x3435e9),_0x3473dc??_0x3f91e3[_0x4e37c5(0x141)]()[_0x4e37c5(0xf9)],_0x1948b3);}[_0x1790e8(0x137)](_0x106b45=t[_0x1790e8(0x103)][_0x1790e8(0xfb)],_0x2df566){const _0x11dda1=_0x1790e8;let _0x105ea6=this[_0x11dda1(0x10f)](),_0x4b5b8d=this[_0x11dda1(0x154)][_0x11dda1(0x13b)](_0x105ea6['getUnitId']())??_0x105ea6[_0x11dda1(0x141)]();return this[_0x11dda1(0x125)][_0x11dda1(0xe7)](()=>this[_0x11dda1(0xe0)]['exportSheetBySnapshot'](_0x4b5b8d,_0x106b45,_0x2df566),_0x4b5b8d['name'],_0x106b45);}[_0x1790e8(0x10f)](){const _0x4f9c8c=_0x1790e8;let _0x29b6b6=this[_0x4f9c8c(0x10d)]['getCurrentUnitOfType'](n[_0x4f9c8c(0x157)][_0x4f9c8c(0x119)]);if(!_0x29b6b6)throw Error(_0x4f9c8c(0x145)+n[_0x4f9c8c(0x157)][_0x4f9c8c(0x119)]+_0x4f9c8c(0x112));return _0x29b6b6;}};p=l([c(0x0,(0x0,n[_0x1790e8(0x15d)])(u)),c(0x1,(0x0,n[_0x1790e8(0x15d)])(t[_0x1790e8(0x13f)])),c(0x2,n[_0x1790e8(0xf2)]),c(0x3,n[_0x1790e8(0xdf)])],p);function m(_0x46269b){const _0x2cc2f8=_0x1790e8;var _0x3ee9ba,_0x20bf0d;return{'selectedId':((_0x3ee9ba=_0x46269b[_0x2cc2f8(0x129)](!0x0))==null?void 0x0:_0x3ee9ba[_0x2cc2f8(0x14d)]())??((_0x20bf0d=_0x46269b[_0x2cc2f8(0x15e)]()[0x0])==null?void 0x0:_0x20bf0d[_0x2cc2f8(0x14d)]())??'','items':_0x46269b[_0x2cc2f8(0x15e)]()[_0x2cc2f8(0x104)](_0x1989b6=>({'label':_0x1989b6[_0x2cc2f8(0x115)](),'value':_0x1989b6[_0x2cc2f8(0x14d)]()}))};}const h={'id':'sheets-exchange-client.operation.import-sheet','type':n[_0x1790e8(0xe4)][_0x1790e8(0x14b)],'handler':async _0x491d5a=>{const _0x33ad0f=_0x1790e8;let _0x48fa74=_0x491d5a[_0x33ad0f(0x140)](f);return(0x0,t[_0x33ad0f(0x156)])(_0x491d5a,n[_0x33ad0f(0x157)][_0x33ad0f(0x119)])?await _0x48fa74[_0x33ad0f(0x113)]():await _0x48fa74[_0x33ad0f(0x146)](),!0x0;}},g={'id':_0x1790e8(0x155),'type':n[_0x1790e8(0xe4)][_0x1790e8(0x14b)],'handler':async(_0x171855,_0xdcfc9c)=>{const _0x276c69=_0x1790e8;if(!_0xdcfc9c)return!0x1;let _0x52848e=_0x171855[_0x276c69(0x140)](f);return(0x0,t[_0x276c69(0x156)])(_0x171855,n[_0x276c69(0x157)][_0x276c69(0x119)])?await _0x52848e['exportSheetByUnitId'](void 0x0,void 0x0,_0xdcfc9c[_0x276c69(0x128)],_0xdcfc9c[_0x276c69(0x14f)]):await _0x52848e[_0x276c69(0x137)](_0xdcfc9c[_0x276c69(0x128)],_0xdcfc9c['sheetId']),!0x0;}},_={'id':'sheets-exchange-client.operation.export-sheet','type':n[_0x1790e8(0xe4)][_0x1790e8(0x14b)],'handler':_0x70598e=>{const _0xe8e038=_0x1790e8;let _0x27b995=_0x70598e[_0xe8e038(0x140)](n[_0xe8e038(0xf2)])[_0xe8e038(0xe3)](n[_0xe8e038(0x157)][_0xe8e038(0x119)]);if(!_0x27b995)return!0x1;let _0x4c7449=m(_0x27b995),_0x20c36c=_0x70598e[_0xe8e038(0x140)](e[_0xe8e038(0x11a)]),_0x1352ad=_0x70598e['get'](n[_0xe8e038(0x11e)]),_0x354a1f=_0x70598e[_0xe8e038(0x140)](n[_0xe8e038(0x111)]),_0x1b3834=null,_0x315ff5=()=>{_0x1b3834==null||_0x1b3834['dispose'](),_0x1b3834=null;};return _0x1b3834=_0x20c36c[_0xe8e038(0x10a)]({'id':_0xe8e038(0x120),'title':{'title':_0x354a1f['t'](_0xe8e038(0x10e))},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':t[_0xe8e038(0x108)],'props':{'formats':[t[_0xe8e038(0x103)]['XLSX'],t[_0xe8e038(0x103)][_0xe8e038(0x114)],t['ExchangeFormat']['TSV']],..._0x4c7449,'onCancel':_0x315ff5,'onConfirm':async(_0x50668e,_0x304585)=>{const _0x24a587=_0xe8e038;await _0x1352ad[_0x24a587(0x118)](g['id'],{'format':_0x50668e,'sheetId':_0x304585}),_0x315ff5();}}}},'onClose':_0x315ff5}),!0x0;}},v=_0x1790e8(0x121);function y(_0x25b90a){const _0x38f1fc=_0x1790e8;return{'id':v,'type':e[_0x38f1fc(0x10c)][_0x38f1fc(0x161)],'icon':_0x38f1fc(0x132),'tooltip':_0x38f1fc(0xeb),'hidden$':(0x0,e['getMenuHiddenObservable'])(_0x25b90a,n[_0x38f1fc(0x157)][_0x38f1fc(0x119)]),'disabled$':(0x0,a[_0x38f1fc(0x151)])(_0x25b90a,{'workbookTypes':[i[_0x38f1fc(0x130)]]})};}function b(){const _0x1630d5=_0x1790e8;return{'id':h['id'],'type':e[_0x1630d5(0x10c)][_0x1630d5(0x12d)],'title':_0x1630d5(0x12c),'icon':_0x1630d5(0x11c)};}function x(){const _0x4bea12=_0x1790e8;return{'id':_['id'],'type':e['MenuItemType'][_0x4bea12(0x12d)],'title':'sheets-exchange-client.download','icon':_0x4bea12(0xef)};}const S={[e['RibbonStartGroup']['OTHERS']]:{[v]:{'order':0.03,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':y,[h['id']]:{'order':0x0,'menuItemFactory':b},[_['id']]:{'order':0x1,'menuItemFactory':x}}}};function _0x4c58(_0x4e347e,_0x5276a2){_0x4e347e=_0x4e347e-0xde;const _0x44f560=_0x44f5();let _0x4c58df=_0x44f560[_0x4e347e];return _0x4c58df;}var C=_0x1790e8(0xe8),w=_0x1790e8(0x147);let T=class extends n[_0x1790e8(0x152)]{constructor(_0x379c03,_0x4fafa5){const _0x2fea60=_0x1790e8;super(),this[_0x2fea60(0x110)]=_0x379c03,this[_0x2fea60(0x150)]=_0x4fafa5,this['_initCommands'](),this[_0x2fea60(0xfa)]();}[_0x1790e8(0x164)](){const _0x8a361f=_0x1790e8;[h,_,g][_0x8a361f(0x13c)](_0x3630d0=>{const _0x5b3c1b=_0x8a361f;this[_0x5b3c1b(0xea)](this[_0x5b3c1b(0x110)][_0x5b3c1b(0x163)](_0x3630d0));});}[_0x1790e8(0xfa)](){const _0x420cff=_0x1790e8;this[_0x420cff(0x150)][_0x420cff(0x101)](S);}};T=l([c(0x0,n[_0x1790e8(0x11e)]),c(0x1,e[_0x1790e8(0x138)])],T);function E(_0x504b95){'@babel/helpers - typeof';const _0x4490e0=_0x1790e8;return E=typeof Symbol==_0x4490e0(0x144)&&typeof Symbol[_0x4490e0(0x133)]=='symbol'?function(_0x407374){return typeof _0x407374;}:function(_0x1a62de){const _0x4fdbe8=_0x4490e0;return _0x1a62de&&typeof Symbol==_0x4fdbe8(0x144)&&_0x1a62de[_0x4fdbe8(0xf0)]===Symbol&&_0x1a62de!==Symbol[_0x4fdbe8(0x15c)]?'symbol':typeof _0x1a62de;},E(_0x504b95);}function D(_0x5240b2,_0x5090a8){const _0x1ada96=_0x1790e8;if(E(_0x5240b2)!=_0x1ada96(0xe2)||!_0x5240b2)return _0x5240b2;var _0x198f46=_0x5240b2[Symbol['toPrimitive']];if(_0x198f46!==void 0x0){var _0x4625fe=_0x198f46['call'](_0x5240b2,_0x5090a8||'default');if(E(_0x4625fe)!=_0x1ada96(0xe2))return _0x4625fe;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5090a8==='string'?String:Number)(_0x5240b2);}function O(_0x31b9c3){const _0x15db08=_0x1790e8;var _0x4b77a2=D(_0x31b9c3,_0x15db08(0x15a));return E(_0x4b77a2)==_0x15db08(0x158)?_0x4b77a2:_0x4b77a2+'';}function k(_0x13ad62,_0x2b0bd0,_0x1da776){return(_0x2b0bd0=O(_0x2b0bd0))in _0x13ad62?Object['defineProperty'](_0x13ad62,_0x2b0bd0,{'value':_0x1da776,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x13ad62[_0x2b0bd0]=_0x1da776,_0x13ad62;}let A=class extends n[_0x1790e8(0x136)]{constructor(_0x86ed45=s,_0x161905,_0x35f70b){const _0x7fab0f=_0x1790e8;super(),this[_0x7fab0f(0x106)]=_0x86ed45,this[_0x7fab0f(0x124)]=_0x161905,this['_configService']=_0x35f70b;let {menu:_0x5dc087,..._0x227b17}=(0x0,n['merge'])({},s,this[_0x7fab0f(0x106)]);_0x5dc087&&this[_0x7fab0f(0x13a)][_0x7fab0f(0x10b)](_0x7fab0f(0x12b),_0x5dc087,{'merge':!0x0}),this[_0x7fab0f(0x13a)][_0x7fab0f(0x10b)]('sheets-exchange-client.config',_0x227b17);}['onStarting'](){const _0x45805b=_0x1790e8;[[u,{'useClass':d}],[f,{'useClass':p}],[T]][_0x45805b(0x13c)](_0xdeba4e=>this[_0x45805b(0x124)][_0x45805b(0xf7)](_0xdeba4e));}['onReady'](){const _0x5c3ac3=_0x1790e8;this['_injector'][_0x5c3ac3(0x140)](T);}};k(A,_0x1790e8(0x15b),_0x1790e8(0x107)),k(A,_0x1790e8(0x153),C),k(A,_0x1790e8(0x13d),w),k(A,_0x1790e8(0xe1),n[_0x1790e8(0x157)][_0x1790e8(0x119)]),A=l([(0x0,n[_0x1790e8(0x12a)])(o['UniverLicensePlugin'],t['UniverExchangeClientPlugin']),c(0x1,(0x0,n['Inject'])(n[_0x1790e8(0x14a)])),c(0x2,n[_0x1790e8(0x15f)])],A),exports[_0x1790e8(0x160)]=u,exports[_0x1790e8(0x123)]=S,Object[_0x1790e8(0x102)](exports,_0x1790e8(0xed),{'enumerable':!0x0,'get':function(){return A;}});function _0x44f5(){const _0x55cb45=['IExchangeOperateService','get','getSnapshot','transformSheetBlockMetaToString','_exchangeService','function','No\x20unit\x20of\x20type\x20','importSheetToSnapshot','1.0.0-beta.2','length','7432boDQJp','Injector','OPERATION','rev','getSheetId','importFileToJson','sheetId','_menuManagerService','getCurrentRangeDisable$','Disposable','packageName','_resourceLoaderService','sheets-exchange-client.operation.export-sheet-by-format','isCurrentUnitLoadedFromServer','UniverInstanceType','symbol','createIdentifier','string','pluginName','prototype','Inject','getSheets','IConfigService','ISheetExchangeService','SUBITEMS','b64DecodeUnicode','registerCommand','_initCommands','exportSheetByUnitId','IResourceLoaderService','_sheetExchangeService','type','object','getCurrentUnitOfType','CommandType','78cENthI','getOwnPropertyDescriptor','exportFile','@univerjs-pro/sheets-exchange-client','transformWorkbookSnapshotMetaToString','disposeWithMe','sheets-exchange-client.file','488DCGzYb','UniverSheetsExchangeClientPlugin','toStringTag','ExportIcon','constructor','exportFileBySnapshot','IUniverInstanceService','7641319GPChVt','234621iciOyE','_getConfig','7336415txWoor','add','sheetBlocks','name','_initMenus','XLSX','sheets-exchange-client.sheet-exchange-operate.service','33228646sahBUD','getSheetBlocksFromSnapshot','getConfig','IExchangeService','mergeMenu','defineProperty','ExchangeFormat','map','transformWorkbookDataToSnapshotJson','_config','SHEET_EXCHANGE_CLIENT_PLUGIN','EXPORT_FORMAT_DIALOG','2149515YyhHbU','open','setConfig','MenuItemType','_univerInstanceService','sheets-exchange-client.download','_getCurrentWorkbook','_commandService','LocaleService','\x20is\x20currently\x20active.','importSheetToUnitId','CSV','getName','transformSnapshotToWorkbookData','6471396cOEnFT','executeCommand','UNIVER_SHEET','IDialogService','Failed\x20to\x20transform\x20snapshot\x20to\x20string','FolderIcon','_createImportOptions','ICommandService','values','sheets-exchange-client.dialog.export-format','sheets-exchange-client.operation.exchange','parse','SheetsExchangeClientMenuSchema','_injector','_exchangeOperateService','Module','sheets-exchange-client.sheet-exchange.service','format','getActiveSheet','DependentOn','menu','sheets-exchange-client.upload','BUTTON','6SEKEdZ','_createExportOptions','WorkbookExportPermission','getUnitId','DirectExportIcon','iterator','10lxSPQm','decorate','Plugin','exportSheetBySnapshot','IMenuManagerService','snapshot','_configService','saveUnit','forEach','version','data'];_0x44f5=function(){return _0x55cb45;};return _0x44f5();}
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1e8e(_0xd99d58,_0x39670f){_0xd99d58=_0xd99d58-0xd2;const _0x3df98f=_0x3df9();let _0x1e8efb=_0x3df98f[_0xd99d58];return _0x1e8efb;}const _0x4af4d1=_0x1e8e;(function(_0x50c0c4,_0x1b64ba){const _0x538c3a=_0x1e8e,_0x4dad95=_0x50c0c4();while(!![]){try{const _0x137979=parseInt(_0x538c3a(0xdd))/0x1+-parseInt(_0x538c3a(0xd5))/0x2*(-parseInt(_0x538c3a(0xd4))/0x3)+parseInt(_0x538c3a(0xd6))/0x4*(parseInt(_0x538c3a(0xda))/0x5)+-parseInt(_0x538c3a(0xd7))/0x6*(-parseInt(_0x538c3a(0xd8))/0x7)+-parseInt(_0x538c3a(0xd2))/0x8+parseInt(_0x538c3a(0xde))/0x9+-parseInt(_0x538c3a(0xd3))/0xa;if(_0x137979===_0x1b64ba)break;else _0x4dad95['push'](_0x4dad95['shift']());}catch(_0x3a3568){_0x4dad95['push'](_0x4dad95['shift']());}}}(_0x3df9,0xb4f06));function _0x3df9(){const _0x3d34b3=['1054194mjVtwH','35wcQuyg','فتح\x20(ملف)','545645MOMPpu','exports','حفظ\x20باسم','628222giEjfQ','10147779SQNQSF','4408936koWHwA','17120520TApFLN','41397pWxQSt','22oRBKEB','8DbKGjQ'];_0x3df9=function(){return _0x3d34b3;};return _0x3df9();}const e={'sheets-exchange-client':{'file':'ملف','upload':_0x4af4d1(0xd9),'download':_0x4af4d1(0xdc)}};module[_0x4af4d1(0xdb)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2feb(){const _0x16295a=['Obrir(Fitxer)','223476RELOwU','187KrKMic','36XpUWAH','120055lXIKOJ','39wcQPeF','2338aDpqCh','5lNakNN','1597434gNKcTw','134148RaZTOa','11120OQbZNo','474050OmOPas','22OQOavf','50062YMdlfC','Anomena\x20i\x20desa','3465tyLpFU'];_0x2feb=function(){return _0x16295a;};return _0x2feb();}const _0x33130c=_0x3f46;(function(_0x4a92f8,_0x204b25){const _0x2345b3=_0x3f46,_0x4813d7=_0x4a92f8();while(!![]){try{const _0x33ecf7=parseInt(_0x2345b3(0x93))/0x1*(-parseInt(_0x2345b3(0x92))/0x2)+parseInt(_0x2345b3(0x8b))/0x3*(parseInt(_0x2345b3(0x8f))/0x4)+parseInt(_0x2345b3(0x8d))/0x5*(-parseInt(_0x2345b3(0x8e))/0x6)+parseInt(_0x2345b3(0x95))/0x7*(-parseInt(_0x2345b3(0x90))/0x8)+-parseInt(_0x2345b3(0x89))/0x9*(-parseInt(_0x2345b3(0x91))/0xa)+-parseInt(_0x2345b3(0x88))/0xb*(parseInt(_0x2345b3(0x97))/0xc)+parseInt(_0x2345b3(0x8a))/0xd*(parseInt(_0x2345b3(0x8c))/0xe);if(_0x33ecf7===_0x204b25)break;else _0x4813d7['push'](_0x4813d7['shift']());}catch(_0x5a2ab2){_0x4813d7['push'](_0x4813d7['shift']());}}}(_0x2feb,0x548ac));function _0x3f46(_0x11e403,_0x6f1a49){_0x11e403=_0x11e403-0x88;const _0x2feba6=_0x2feb();let _0x3f46ac=_0x2feba6[_0x11e403];return _0x3f46ac;}const e={'sheets-exchange-client':{'file':'Fitxer','upload':_0x33130c(0x96),'download':_0x33130c(0x94)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d2e47=_0x155a;function _0x155a(_0x2e6777,_0x54922c){_0x2e6777=_0x2e6777-0x175;const _0x468d26=_0x468d();let _0x155a5b=_0x468d26[_0x2e6777];return _0x155a5b;}(function(_0x1835be,_0x27d789){const _0x1e9cbd=_0x155a,_0x3fd8e0=_0x1835be();while(!![]){try{const _0x21ba94=-parseInt(_0x1e9cbd(0x177))/0x1+parseInt(_0x1e9cbd(0x17a))/0x2+-parseInt(_0x1e9cbd(0x176))/0x3+-parseInt(_0x1e9cbd(0x17b))/0x4+parseInt(_0x1e9cbd(0x17e))/0x5+parseInt(_0x1e9cbd(0x179))/0x6+parseInt(_0x1e9cbd(0x175))/0x7;if(_0x21ba94===_0x27d789)break;else _0x3fd8e0['push'](_0x3fd8e0['shift']());}catch(_0x2b7d80){_0x3fd8e0['push'](_0x3fd8e0['shift']());}}}(_0x468d,0x1f751));const e={'sheets-exchange-client':{'file':_0x3d2e47(0x178),'upload':'Öffnen\x20(Datei)','download':_0x3d2e47(0x17c)}};module[_0x3d2e47(0x17d)]=e;function _0x468d(){const _0x44839a=['Speichern\x20unter','exports','50395PYbAJN','1082634DIrzJk','232809ggHaKU','234788zWlnzO','Datei','1221582eNkASH','466476iSCojh','641344XaHiFp'];_0x468d=function(){return _0x44839a;};return _0x468d();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1736dc=_0x2f60;(function(_0x6120e9,_0x729df0){const _0x1eaf4d=_0x2f60,_0x39ad9d=_0x6120e9();while(!![]){try{const _0xaa6f2c=-parseInt(_0x1eaf4d(0x123))/0x1*(-parseInt(_0x1eaf4d(0x125))/0x2)+-parseInt(_0x1eaf4d(0x121))/0x3+-parseInt(_0x1eaf4d(0x11f))/0x4*(-parseInt(_0x1eaf4d(0x126))/0x5)+-parseInt(_0x1eaf4d(0x128))/0x6+parseInt(_0x1eaf4d(0x120))/0x7+parseInt(_0x1eaf4d(0x127))/0x8*(-parseInt(_0x1eaf4d(0x124))/0x9)+parseInt(_0x1eaf4d(0x129))/0xa;if(_0xaa6f2c===_0x729df0)break;else _0x39ad9d['push'](_0x39ad9d['shift']());}catch(_0x5efe80){_0x39ad9d['push'](_0x39ad9d['shift']());}}}(_0x4a37,0xa9e02));function _0x4a37(){const _0x5acd91=['File','Open(File)','152Uniiok','1976632wbkAmv','1594239MqEbRk','exports','190YtIYXH','63GthuQi','12332UMDVYJ','19370PPPHOl','505912JHyxuo','2446320JpcbnM','4764880GUakfy'];_0x4a37=function(){return _0x5acd91;};return _0x4a37();}function _0x2f60(_0x1ca012,_0x1c4d5a){_0x1ca012=_0x1ca012-0x11f;const _0x4a37ec=_0x4a37();let _0x2f6070=_0x4a37ec[_0x1ca012];return _0x2f6070;}const e={'sheets-exchange-client':{'file':_0x1736dc(0x12a),'upload':_0x1736dc(0x12b),'download':'Save\x20As'}};module[_0x1736dc(0x122)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xbc1775=_0x2f45;function _0x47da(){const _0x52428f=['2348664nFYXPL','54neaSlC','Archivo','249oFLbvd','189895nwWsQZ','213997OnogpG','72xDSugK','Abrir(Archivo)','743590zBdldx','9742dxXEea','3711636vlSwmp','16514100iWzZTZ'];_0x47da=function(){return _0x52428f;};return _0x47da();}function _0x2f45(_0x259e5f,_0x3943da){_0x259e5f=_0x259e5f-0x107;const _0x47dab1=_0x47da();let _0x2f45cb=_0x47dab1[_0x259e5f];return _0x2f45cb;}(function(_0x1ed53b,_0x31610d){const _0x1147fb=_0x2f45,_0x2ac6ae=_0x1ed53b();while(!![]){try{const _0x2d657d=-parseInt(_0x1147fb(0x111))/0x1+-parseInt(_0x1147fb(0x112))/0x2*(-parseInt(_0x1147fb(0x10c))/0x3)+-parseInt(_0x1147fb(0x109))/0x4+-parseInt(_0x1147fb(0x10d))/0x5*(-parseInt(_0x1147fb(0x10a))/0x6)+parseInt(_0x1147fb(0x10e))/0x7*(-parseInt(_0x1147fb(0x10f))/0x8)+-parseInt(_0x1147fb(0x107))/0x9+parseInt(_0x1147fb(0x108))/0xa;if(_0x2d657d===_0x31610d)break;else _0x2ac6ae['push'](_0x2ac6ae['shift']());}catch(_0x5999ea){_0x2ac6ae['push'](_0x2ac6ae['shift']());}}}(_0x47da,0x5c94f));const e={'sheets-exchange-client':{'file':_0xbc1775(0x10b),'upload':_0xbc1775(0x110),'download':'Guardar\x20como'}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1d92(_0x3b7ea8,_0x3f6525){_0x3b7ea8=_0x3b7ea8-0x170;const _0x4a2d2e=_0x4a2d();let _0x1d9226=_0x4a2d2e[_0x3b7ea8];return _0x1d9226;}const _0x1bb68c=_0x1d92;(function(_0x1a364b,_0x1e2a8c){const _0x1b24b5=_0x1d92,_0x13c027=_0x1a364b();while(!![]){try{const _0x2446c0=-parseInt(_0x1b24b5(0x179))/0x1*(parseInt(_0x1b24b5(0x175))/0x2)+-parseInt(_0x1b24b5(0x170))/0x3*(-parseInt(_0x1b24b5(0x173))/0x4)+parseInt(_0x1b24b5(0x178))/0x5*(-parseInt(_0x1b24b5(0x172))/0x6)+-parseInt(_0x1b24b5(0x17d))/0x7+parseInt(_0x1b24b5(0x177))/0x8*(parseInt(_0x1b24b5(0x176))/0x9)+parseInt(_0x1b24b5(0x171))/0xa*(-parseInt(_0x1b24b5(0x17c))/0xb)+parseInt(_0x1b24b5(0x17b))/0xc;if(_0x2446c0===_0x1e2a8c)break;else _0x13c027['push'](_0x13c027['shift']());}catch(_0x10153d){_0x13c027['push'](_0x13c027['shift']());}}}(_0x4a2d,0x1e9b4));const e={'sheets-exchange-client':{'file':_0x1bb68c(0x174),'upload':'بازکردن(فایل)','download':'ذخیره\x20به\x20عنوان'}};module[_0x1bb68c(0x17a)]=e;function _0x4a2d(){const _0x167407=['167duHymN','exports','7723656tGsZOw','11kHyJbA','1637475chLzgj','9BTEuWF','2052110yBpbNf','6dasgzN','307156jdKxgS','فایل','2770VOGqQk','899649wBTJCd','8YLvZkT','890855keWdcF'];_0x4a2d=function(){return _0x167407;};return _0x4a2d();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x18a6e9=_0x58cb;function _0x5b42(){const _0x2b42c9=['24MQGkRi','8911482oopByB','Ouvrir\x20(Fichier)','9484416RlPkQz','10414370OmnGQt','Fichier','476QasdOe','4065RzQQYm','3714305ZBfjdT','5088702irZCnK','59717zKHcem','12dLgqdv','exports'];_0x5b42=function(){return _0x2b42c9;};return _0x5b42();}(function(_0x59321f,_0x352f5a){const _0x127035=_0x58cb,_0x5c7f6c=_0x59321f();while(!![]){try{const _0x3c8734=-parseInt(_0x127035(0x17d))/0x1*(parseInt(_0x127035(0x17e))/0x2)+-parseInt(_0x127035(0x17c))/0x3+parseInt(_0x127035(0x186))/0x4*(-parseInt(_0x127035(0x17a))/0x5)+parseInt(_0x127035(0x181))/0x6+-parseInt(_0x127035(0x17b))/0x7*(-parseInt(_0x127035(0x180))/0x8)+parseInt(_0x127035(0x183))/0x9+-parseInt(_0x127035(0x184))/0xa;if(_0x3c8734===_0x352f5a)break;else _0x5c7f6c['push'](_0x5c7f6c['shift']());}catch(_0x47692b){_0x5c7f6c['push'](_0x5c7f6c['shift']());}}}(_0x5b42,0xe50d4));function _0x58cb(_0x3df22e,_0x45cd73){_0x3df22e=_0x3df22e-0x17a;const _0x5b42bd=_0x5b42();let _0x58cb73=_0x5b42bd[_0x3df22e];return _0x58cb73;}const e={'sheets-exchange-client':{'file':_0x18a6e9(0x185),'upload':_0x18a6e9(0x182),'download':'Enregistrer\x20sous'}};module[_0x18a6e9(0x17f)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xdc79(_0x46a354,_0x1c01d3){_0x46a354=_0x46a354-0x1a1;const _0x194433=_0x1944();let _0xdc79b1=_0x194433[_0x46a354];return _0xdc79b1;}const _0x1eb2c3=_0xdc79;(function(_0x2a893e,_0x227796){const _0x475b4b=_0xdc79,_0x4f604a=_0x2a893e();while(!![]){try{const _0x3e99ca=parseInt(_0x475b4b(0x1ab))/0x1*(-parseInt(_0x475b4b(0x1a7))/0x2)+-parseInt(_0x475b4b(0x1a9))/0x3*(-parseInt(_0x475b4b(0x1ac))/0x4)+parseInt(_0x475b4b(0x1a6))/0x5*(-parseInt(_0x475b4b(0x1ae))/0x6)+parseInt(_0x475b4b(0x1ad))/0x7+-parseInt(_0x475b4b(0x1af))/0x8*(parseInt(_0x475b4b(0x1a2))/0x9)+parseInt(_0x475b4b(0x1a8))/0xa*(parseInt(_0x475b4b(0x1aa))/0xb)+parseInt(_0x475b4b(0x1a3))/0xc;if(_0x3e99ca===_0x227796)break;else _0x4f604a['push'](_0x4f604a['shift']());}catch(_0x5aea82){_0x4f604a['push'](_0x4f604a['shift']());}}}(_0x1944,0x2b51b));const e={'sheets-exchange-client':{'file':'File','upload':_0x1eb2c3(0x1a4),'download':_0x1eb2c3(0x1a5)}};module[_0x1eb2c3(0x1a1)]=e;function _0x1944(){const _0x2f67a4=['8622KCnlKt','6695100COaOyn','Buka(File)','Simpan\x20Sebagai','1129385zqfXKQ','334652wFugmd','10jrMqKh','63QOSNvm','247577lBqwBt','1bPeiDc','26556DVMorA','1275785gcMfFM','6mGwGqV','2768GQNkxT','exports'];_0x1944=function(){return _0x2f67a4;};return _0x1944();}
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x386bca=_0x5714;(function(_0x2896db,_0x4fdc3b){const _0x2150ae=_0x5714,_0x5eb25b=_0x2896db();while(!![]){try{const _0x58237d=parseInt(_0x2150ae(0x1e5))/0x1*(parseInt(_0x2150ae(0x1e2))/0x2)+parseInt(_0x2150ae(0x1e9))/0x3+-parseInt(_0x2150ae(0x1e7))/0x4*(-parseInt(_0x2150ae(0x1ec))/0x5)+-parseInt(_0x2150ae(0x1e3))/0x6+parseInt(_0x2150ae(0x1ed))/0x7+-parseInt(_0x2150ae(0x1e8))/0x8*(-parseInt(_0x2150ae(0x1e1))/0x9)+parseInt(_0x2150ae(0x1ee))/0xa;if(_0x58237d===_0x4fdc3b)break;else _0x5eb25b['push'](_0x5eb25b['shift']());}catch(_0x2ea1f8){_0x5eb25b['push'](_0x5eb25b['shift']());}}}(_0x31f1,0xa4433));const e={'sheets-exchange-client':{'file':_0x386bca(0x1eb),'upload':_0x386bca(0x1e6),'download':_0x386bca(0x1e4)}};function _0x5714(_0x58261d,_0x365591){_0x58261d=_0x58261d-0x1e1;const _0x31f1da=_0x31f1();let _0x5714a4=_0x31f1da[_0x58261d];return _0x5714a4;}module[_0x386bca(0x1ea)]=e;function _0x31f1(){const _0x3f0bb3=['3665NBBCfO','909342ihIOGa','1319350xWwaxT','3096387FfQAqY','158ZEQvps','6172146zRFQPA','Salva\x20con\x20nome','7166oAlUWg','Apri\x20(File)','1556jdiBjs','8CslHDq','733125FfNTKX','exports','File'];_0x31f1=function(){return _0x3f0bb3;};return _0x31f1();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xcb71dc=_0x52a2;(function(_0x3b5240,_0x3a53a3){const _0xb0a91b=_0x52a2,_0x29fa14=_0x3b5240();while(!![]){try{const _0x15ff87=-parseInt(_0xb0a91b(0x124))/0x1+parseInt(_0xb0a91b(0x118))/0x2+-parseInt(_0xb0a91b(0x11d))/0x3*(-parseInt(_0xb0a91b(0x123))/0x4)+-parseInt(_0xb0a91b(0x11f))/0x5*(-parseInt(_0xb0a91b(0x11a))/0x6)+-parseInt(_0xb0a91b(0x122))/0x7*(parseInt(_0xb0a91b(0x120))/0x8)+parseInt(_0xb0a91b(0x125))/0x9*(-parseInt(_0xb0a91b(0x11e))/0xa)+-parseInt(_0xb0a91b(0x119))/0xb;if(_0x15ff87===_0x3a53a3)break;else _0x29fa14['push'](_0x29fa14['shift']());}catch(_0x3937b4){_0x29fa14['push'](_0x29fa14['shift']());}}}(_0x49b4,0x55fa5));function _0x52a2(_0x32e05d,_0x30c144){_0x32e05d=_0x32e05d-0x118;const _0x49b436=_0x49b4();let _0x52a208=_0x49b436[_0x32e05d];return _0x52a208;}const e={'sheets-exchange-client':{'file':_0xcb71dc(0x11c),'upload':_0xcb71dc(0x11b),'download':'名前を付けて保存'}};function _0x49b4(){const _0x6d84f1=['開く(ファイル)','ファイル','60RGavfb','908770FBhILW','5AduxhX','656sovVwg','exports','31241XMAQTi','77116BvRXyF','88487ZmqQoR','18irQFQs','1350478UtAcBX','4152247KUKTyU','1830180xXhfeO'];_0x49b4=function(){return _0x6d84f1;};return _0x49b4();}module[_0xcb71dc(0x121)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c204b=_0x2578;(function(_0x232a45,_0x2e6f9b){const _0x1eb493=_0x2578,_0x4f2bdf=_0x232a45();while(!![]){try{const _0x12b8df=-parseInt(_0x1eb493(0x14b))/0x1+-parseInt(_0x1eb493(0x14d))/0x2*(parseInt(_0x1eb493(0x14a))/0x3)+-parseInt(_0x1eb493(0x150))/0x4*(-parseInt(_0x1eb493(0x14f))/0x5)+-parseInt(_0x1eb493(0x149))/0x6+-parseInt(_0x1eb493(0x14c))/0x7+parseInt(_0x1eb493(0x151))/0x8+parseInt(_0x1eb493(0x153))/0x9;if(_0x12b8df===_0x2e6f9b)break;else _0x4f2bdf['push'](_0x4f2bdf['shift']());}catch(_0x5c1776){_0x4f2bdf['push'](_0x4f2bdf['shift']());}}}(_0x4095,0xa95c2));function _0x2578(_0x25927c,_0x294879){_0x25927c=_0x25927c-0x149;const _0x40956e=_0x4095();let _0x25786b=_0x40956e[_0x25927c];return _0x25786b;}function _0x4095(){const _0x421555=['1245vBEQXM','887822LFQYsS','3060617ArpesR','1666AhpfBp','다른\x20이름으로\x20저장','25vldqAP','799036rrIqZE','7421576dtOpzK','열기(파일)','13507785ErkEHt','exports','6377466ekNccH'];_0x4095=function(){return _0x421555;};return _0x4095();}const e={'sheets-exchange-client':{'file':'파일','upload':_0x2c204b(0x152),'download':_0x2c204b(0x14e)}};module[_0x2c204b(0x154)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x46d732=_0xf390;(function(_0x54dd8f,_0x5981b4){const _0x4473c7=_0xf390,_0x133d12=_0x54dd8f();while(!![]){try{const _0x29a2cf=-parseInt(_0x4473c7(0xa3))/0x1*(parseInt(_0x4473c7(0x97))/0x2)+parseInt(_0x4473c7(0xa2))/0x3*(-parseInt(_0x4473c7(0xa0))/0x4)+-parseInt(_0x4473c7(0x99))/0x5*(parseInt(_0x4473c7(0xa1))/0x6)+-parseInt(_0x4473c7(0x9d))/0x7*(-parseInt(_0x4473c7(0x9a))/0x8)+parseInt(_0x4473c7(0x9f))/0x9*(parseInt(_0x4473c7(0x98))/0xa)+parseInt(_0x4473c7(0x9c))/0xb+-parseInt(_0x4473c7(0xa5))/0xc;if(_0x29a2cf===_0x5981b4)break;else _0x133d12['push'](_0x133d12['shift']());}catch(_0x702156){_0x133d12['push'](_0x133d12['shift']());}}}(_0x2c60,0xbdb19));const e={'sheets-exchange-client':{'file':_0x46d732(0x9b),'upload':_0x46d732(0xa4),'download':_0x46d732(0x9e)}};function _0xf390(_0x3459dd,_0x19cdbf){_0x3459dd=_0x3459dd-0x97;const _0x2c6051=_0x2c60();let _0xf39010=_0x2c6051[_0x3459dd];return _0xf39010;}module['exports']=e;function _0x2c60(){const _0x54db39=['Plik','14794406kInfIS','35MbANDk','Zapisz\x20jako','794673GpMClq','4PAKYsr','42HRumpK','2910438RqOnjq','2rUykRt','Otwórz\x20(plik)','11334468cRRUnb','955706EAOWZj','130nCWxlb','101690pPRMaw','2075096kKaITP'];_0x2c60=function(){return _0x54db39;};return _0x2c60();}
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x25a8a5=_0x5a2c;(function(_0x1b52f0,_0x50d8d8){const _0x288047=_0x5a2c,_0x3bba23=_0x1b52f0();while(!![]){try{const _0x1d75cf=-parseInt(_0x288047(0xbc))/0x1+parseInt(_0x288047(0xb7))/0x2+parseInt(_0x288047(0xbf))/0x3*(parseInt(_0x288047(0xba))/0x4)+-parseInt(_0x288047(0xb4))/0x5*(-parseInt(_0x288047(0xb6))/0x6)+parseInt(_0x288047(0xb5))/0x7+-parseInt(_0x288047(0xbd))/0x8+-parseInt(_0x288047(0xb8))/0x9*(parseInt(_0x288047(0xbe))/0xa);if(_0x1d75cf===_0x50d8d8)break;else _0x3bba23['push'](_0x3bba23['shift']());}catch(_0x3712bc){_0x3bba23['push'](_0x3bba23['shift']());}}}(_0x2426,0xc484f));const e={'sheets-exchange-client':{'file':_0x25a8a5(0xbb),'upload':_0x25a8a5(0xb9),'download':'Salvar\x20Como'}};module['exports']=e;function _0x5a2c(_0x55fccb,_0x2e0ed1){_0x55fccb=_0x55fccb-0xb4;const _0x242676=_0x2426();let _0x5a2cf8=_0x242676[_0x55fccb];return _0x5a2cf8;}function _0x2426(){const _0x31b48a=['Arquivo','943705lAMOzv','3602264mPTbYC','20nDygPv','589962IgKnIr','49325JUwNhX','5421787eyGvro','222kWckdo','2080946oBzNdU','4339611qWqGBS','Abrir\x20(Arquivo)','20McDaTD'];_0x2426=function(){return _0x31b48a;};return _0x2426();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ac324=_0x1fcf;(function(_0x51c36c,_0x40be4b){const _0xfa730e=_0x1fcf,_0xf528cd=_0x51c36c();while(!![]){try{const _0x20c266=parseInt(_0xfa730e(0xac))/0x1+-parseInt(_0xfa730e(0xad))/0x2*(-parseInt(_0xfa730e(0xa7))/0x3)+parseInt(_0xfa730e(0xa5))/0x4*(-parseInt(_0xfa730e(0xa8))/0x5)+parseInt(_0xfa730e(0xaa))/0x6+-parseInt(_0xfa730e(0xa6))/0x7*(parseInt(_0xfa730e(0xa2))/0x8)+parseInt(_0xfa730e(0xa9))/0x9+-parseInt(_0xfa730e(0xab))/0xa;if(_0x20c266===_0x40be4b)break;else _0xf528cd['push'](_0xf528cd['shift']());}catch(_0x49e8a1){_0xf528cd['push'](_0xf528cd['shift']());}}}(_0x1910,0x61571));const e={'sheets-exchange-client':{'file':'Файл','upload':_0x4ac324(0xa3),'download':'Сохранить\x20как'}};function _0x1fcf(_0x2e6105,_0x3c2052){_0x2e6105=_0x2e6105-0xa2;const _0x191003=_0x1910();let _0x1fcfbb=_0x191003[_0x2e6105];return _0x1fcfbb;}module[_0x4ac324(0xa4)]=e;function _0x1910(){const _0x4b108c=['1779EEoCTY','85xpSMYC','3549051NqPlMm','3414342BQzFyv','3671630PaHLRN','467999ZVsQBS','1342PlclWM','8gBPzIV','Открыть(Файл)','exports','184276uBGWoZ','1961799TCFRSc'];_0x1910=function(){return _0x4b108c;};return _0x1910();}
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1a7f7d=_0x4d48;(function(_0x9a120,_0x196ddc){const _0x1c7ca3=_0x4d48,_0x21ff06=_0x9a120();while(!![]){try{const _0x15f1a6=parseInt(_0x1c7ca3(0x136))/0x1+parseInt(_0x1c7ca3(0x132))/0x2*(-parseInt(_0x1c7ca3(0x134))/0x3)+-parseInt(_0x1c7ca3(0x13b))/0x4*(-parseInt(_0x1c7ca3(0x13c))/0x5)+-parseInt(_0x1c7ca3(0x12f))/0x6*(parseInt(_0x1c7ca3(0x135))/0x7)+-parseInt(_0x1c7ca3(0x138))/0x8*(parseInt(_0x1c7ca3(0x13a))/0x9)+-parseInt(_0x1c7ca3(0x139))/0xa+parseInt(_0x1c7ca3(0x131))/0xb*(parseInt(_0x1c7ca3(0x12e))/0xc);if(_0x15f1a6===_0x196ddc)break;else _0x21ff06['push'](_0x21ff06['shift']());}catch(_0x79b7fe){_0x21ff06['push'](_0x21ff06['shift']());}}}(_0x21fb,0x9c7d3));function _0x4d48(_0x7ebf23,_0x258acd){_0x7ebf23=_0x7ebf23-0x12e;const _0x21fbf2=_0x21fb();let _0x4d4842=_0x21fbf2[_0x7ebf23];return _0x4d4842;}const e={'sheets-exchange-client':{'file':_0x1a7f7d(0x133),'upload':_0x1a7f7d(0x130),'download':_0x1a7f7d(0x137)}};function _0x21fb(){const _0x12c1cb=['exports','84VsQCOC','1512sqFkLh','Otvoriť\x20(súbor)','1661627LxIfUE','268gjWZaq','Súbor','16446AYGTeK','8092sUAEnh','224875vVsOdY','Uložiť\x20ako','73736QgjquU','862950OOnIAD','288CYxTkP','4pYbsJP','3829220Njmhhv'];_0x21fb=function(){return _0x12c1cb;};return _0x21fb();}module[_0x1a7f7d(0x13d)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5cee(){const _0x55aabd=['Tệp','Mở\x20(Tệp)','2754435UTXXBH','6709hwYlMa','241810iESRxV','1109542bnsoKs','2653864HDSVuo','10799721JpRORu','208fCUeMi','exports','20348yePwQY','335LSsczx','18wETwCH'];_0x5cee=function(){return _0x55aabd;};return _0x5cee();}const _0x339330=_0x119f;(function(_0x323105,_0xf29996){const _0x4eb351=_0x119f,_0x5b150c=_0x323105();while(!![]){try{const _0x29b195=parseInt(_0x4eb351(0x1ea))/0x1*(parseInt(_0x4eb351(0x1ef))/0x2)+parseInt(_0x4eb351(0x1f6))/0x3+-parseInt(_0x4eb351(0x1f1))/0x4*(-parseInt(_0x4eb351(0x1f2))/0x5)+-parseInt(_0x4eb351(0x1f3))/0x6*(parseInt(_0x4eb351(0x1ec))/0x7)+parseInt(_0x4eb351(0x1ed))/0x8+-parseInt(_0x4eb351(0x1ee))/0x9+parseInt(_0x4eb351(0x1eb))/0xa;if(_0x29b195===_0xf29996)break;else _0x5b150c['push'](_0x5b150c['shift']());}catch(_0x3f4fea){_0x5b150c['push'](_0x5b150c['shift']());}}}(_0x5cee,0x9b8d1));const e={'sheets-exchange-client':{'file':_0x339330(0x1f4),'upload':_0x339330(0x1f5),'download':'Lưu\x20dưới\x20dạng'}};function _0x119f(_0xd613f8,_0xd3bb94){_0xd613f8=_0xd613f8-0x1ea;const _0x5cee51=_0x5cee();let _0x119f6d=_0x5cee51[_0xd613f8];return _0x119f6d;}module[_0x339330(0x1f0)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x27295e=_0x2030;function _0x179e(){const _0x316fce=['2463600fzsHYX','1583829thXIAr','3768295XnXCmV','exports','1074594igklQc','175983gckAaj','8ydmaWC','613284TwEHJw','512911AYlIZr','另存为','打开(文件)','3uKZYHO'];_0x179e=function(){return _0x316fce;};return _0x179e();}function _0x2030(_0x50a5f1,_0x521c8a){_0x50a5f1=_0x50a5f1-0x16a;const _0x179ee3=_0x179e();let _0x203099=_0x179ee3[_0x50a5f1];return _0x203099;}(function(_0x1f5bde,_0x315dd6){const _0x5b21c2=_0x2030,_0x2a5a5b=_0x1f5bde();while(!![]){try{const _0x4fe949=-parseInt(_0x5b21c2(0x16c))/0x1+-parseInt(_0x5b21c2(0x16b))/0x2*(-parseInt(_0x5b21c2(0x172))/0x3)+parseInt(_0x5b21c2(0x173))/0x4+-parseInt(_0x5b21c2(0x175))/0x5+parseInt(_0x5b21c2(0x16e))/0x6+-parseInt(_0x5b21c2(0x16f))/0x7+parseInt(_0x5b21c2(0x16d))/0x8*(parseInt(_0x5b21c2(0x174))/0x9);if(_0x4fe949===_0x315dd6)break;else _0x2a5a5b['push'](_0x2a5a5b['shift']());}catch(_0x5525d0){_0x2a5a5b['push'](_0x2a5a5b['shift']());}}}(_0x179e,0x689bd));const e={'sheets-exchange-client':{'file':'文件','upload':_0x27295e(0x171),'download':_0x27295e(0x170)}};module[_0x27295e(0x16a)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x8cddfa=_0x420c;(function(_0x54db37,_0x3ffbf3){const _0x31f169=_0x420c,_0x3e6c6a=_0x54db37();while(!![]){try{const _0x3bd996=-parseInt(_0x31f169(0x153))/0x1*(parseInt(_0x31f169(0x156))/0x2)+-parseInt(_0x31f169(0x152))/0x3+-parseInt(_0x31f169(0x15b))/0x4+-parseInt(_0x31f169(0x157))/0x5+parseInt(_0x31f169(0x154))/0x6+parseInt(_0x31f169(0x15a))/0x7+parseInt(_0x31f169(0x151))/0x8*(parseInt(_0x31f169(0x155))/0x9);if(_0x3bd996===_0x3ffbf3)break;else _0x3e6c6a['push'](_0x3e6c6a['shift']());}catch(_0x5ea5d7){_0x3e6c6a['push'](_0x3e6c6a['shift']());}}}(_0x3831,0xa6ace));const e={'sheets-exchange-client':{'file':'檔案','upload':_0x8cddfa(0x159),'download':_0x8cddfa(0x158)}};function _0x420c(_0xd42f7d,_0x52ae12){_0xd42f7d=_0xd42f7d-0x151;const _0x38313a=_0x3831();let _0x420ce6=_0x38313a[_0xd42f7d];return _0x420ce6;}function _0x3831(){const _0x8f5f5c=['120mrrGOu','3282222koYGiO','346151bXadXO','5773830UZsUhO','1387647imNqVd','6cluoda','845470lxNkUc','另存為','開啟(檔案)','1328663hjDjnO','1922144juWmUq'];_0x3831=function(){return _0x8f5f5c;};return _0x3831();}module['exports']=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xc68a2f=_0x2fec;(function(_0x4c58e4,_0x1f348a){const _0x5b50e0=_0x2fec,_0x1f45ce=_0x4c58e4();while(!![]){try{const _0x434889=parseInt(_0x5b50e0(0x1df))/0x1*(-parseInt(_0x5b50e0(0x1dc))/0x2)+-parseInt(_0x5b50e0(0x1de))/0x3+parseInt(_0x5b50e0(0x1d5))/0x4+-parseInt(_0x5b50e0(0x1d8))/0x5+parseInt(_0x5b50e0(0x1d9))/0x6*(parseInt(_0x5b50e0(0x1dd))/0x7)+parseInt(_0x5b50e0(0x1db))/0x8+parseInt(_0x5b50e0(0x1d7))/0x9;if(_0x434889===_0x1f348a)break;else _0x1f45ce['push'](_0x1f45ce['shift']());}catch(_0x20c5fd){_0x1f45ce['push'](_0x1f45ce['shift']());}}}(_0x1a71,0xd26a0));const e={'sheets-exchange-client':{'file':'檔案','upload':_0xc68a2f(0x1da),'download':_0xc68a2f(0x1d6)}};function _0x2fec(_0x52e17b,_0x72a770){_0x52e17b=_0x52e17b-0x1d5;const _0x1a7112=_0x1a71();let _0x2fec83=_0x1a7112[_0x52e17b];return _0x2fec83;}function _0x1a71(){const _0x3669f4=['3FnHXFk','3448868eLREEl','另存為','6265935fBbPke','6394085WvRxMx','42scKObL','開啟(檔案)','9924544oAZLAp','570510mpBMxA','1052422pJdifa','2564952oxMptJ'];_0x1a71=function(){return _0x3669f4;};return _0x1a71();}module['exports']=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0xdb0a6e=_0x3467;function _0x3467(_0x16527c,_0x2fb90f){_0x16527c=_0x16527c-0x1d6;var _0x28b4d8=_0x28b4();var _0x3467d9=_0x28b4d8[_0x16527c];return _0x3467d9;}(function(_0x2c2c65,_0x4bc40a){var _0x2ae6c4=_0x3467,_0x3c6032=_0x2c2c65();while(!![]){try{var _0x7ae302=-parseInt(_0x2ae6c4(0x1dd))/0x1*(-parseInt(_0x2ae6c4(0x1e1))/0x2)+parseInt(_0x2ae6c4(0x1e9))/0x3*(-parseInt(_0x2ae6c4(0x1e4))/0x4)+parseInt(_0x2ae6c4(0x1dc))/0x5*(-parseInt(_0x2ae6c4(0x1d9))/0x6)+-parseInt(_0x2ae6c4(0x1e7))/0x7+-parseInt(_0x2ae6c4(0x1de))/0x8+-parseInt(_0x2ae6c4(0x1db))/0x9*(-parseInt(_0x2ae6c4(0x1df))/0xa)+-parseInt(_0x2ae6c4(0x1d6))/0xb*(-parseInt(_0x2ae6c4(0x1e5))/0xc);if(_0x7ae302===_0x4bc40a)break;else _0x3c6032['push'](_0x3c6032['shift']());}catch(_0x40858){_0x3c6032['push'](_0x3c6032['shift']());}}}(_0x28b4,0xd43a5));import{ISheetExchangeService as _0x651e95}from'@univerjs-pro/sheets-exchange-client';import{FUniver as _0x25438b}from'@univerjs/core/facade';var n=class extends _0x25438b{[_0xdb0a6e(0x1ea)](_0x38f7b6){var _0x4b3081=_0xdb0a6e;return this[_0x4b3081(0x1e3)][_0x4b3081(0x1d8)](_0x651e95)[_0x4b3081(0x1d7)](_0x38f7b6);}['importSheetToSnapshotAsync'](_0x340c8a){var _0x1c0d28=_0xdb0a6e;return this[_0x1c0d28(0x1e3)][_0x1c0d28(0x1d8)](_0x651e95)['importSheetToSnapshot'](_0x340c8a);}['exportSheetByUnitIdAsync'](_0x2663d4,_0x31eeb9,_0x370835){var _0x4af26e=_0xdb0a6e;return this[_0x4af26e(0x1e3)][_0x4af26e(0x1d8)](_0x651e95)['exportSheetByUnitId'](_0x2663d4,_0x31eeb9,_0x370835);}[_0xdb0a6e(0x1e2)](_0x449978,_0x5d1a97,_0x4b3799){var _0x428933=_0xdb0a6e;return this[_0x428933(0x1e3)]['get'](_0x651e95)[_0x428933(0x1eb)](_0x449978,_0x5d1a97,_0x4b3799);}[_0xdb0a6e(0x1e0)](_0x2d5c81){var _0xad454e=_0xdb0a6e;return this[_0xad454e(0x1e3)]['get'](_0x651e95)[_0xad454e(0x1e8)](_0x2d5c81);}[_0xdb0a6e(0x1da)](_0x540ce1){var _0x13cc12=_0xdb0a6e;return this[_0x13cc12(0x1e3)][_0x13cc12(0x1d8)](_0x651e95)['transformWorkbookDataToSnapshotJson'](_0x540ce1);}};function _0x28b4(){var _0x6a9a6e=['1371300UxDXhF','transformSnapshotJsonToWorkbookData','1044wXjDWZ','importSheetToUnitIdAsync','exportSheetBySnapshot','126115LRXsFe','importSheetToUnitId','get','85494MQTpdY','transformWorkbookDataToSnapshotJsonAsync','1179wwUuSY','515YArMym','7dnZZWM','7281696ALlvIr','57710HNtgsx','transformSnapshotJsonToWorkbookDataAsync','166422chITLo','exportSheetBySnapshotAsync','_injector','12972wxmPQf','3384sTIleP','extend'];_0x28b4=function(){return _0x6a9a6e;};return _0x28b4();}_0x25438b[_0xdb0a6e(0x1e6)](n);export{};
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x35aa3b=_0x236e;(function(_0x92e2b6,_0x16dffc){const _0x22c946=_0x236e,_0x4bb54c=_0x92e2b6();while(!![]){try{const _0x46567f=parseInt(_0x22c946(0x8f))/0x1*(parseInt(_0x22c946(0x9f))/0x2)+-parseInt(_0x22c946(0xae))/0x3+parseInt(_0x22c946(0x99))/0x4*(parseInt(_0x22c946(0x8d))/0x5)+-parseInt(_0x22c946(0x8b))/0x6+parseInt(_0x22c946(0xca))/0x7+parseInt(_0x22c946(0x89))/0x8*(parseInt(_0x22c946(0x8e))/0x9)+-parseInt(_0x22c946(0x7e))/0xa*(-parseInt(_0x22c946(0xb4))/0xb);if(_0x46567f===_0x16dffc)break;else _0x4bb54c['push'](_0x4bb54c['shift']());}catch(_0x313f4f){_0x4bb54c['push'](_0x4bb54c['shift']());}}}(_0x13b6,0x3d7a0));import{IDialogService as _0x1ce2e8,IMenuManagerService as _0x1c61f6,MenuItemType as _0x1d7db0,RibbonStartGroup as _0x56926c,getMenuHiddenObservable as _0xa4465a}from'@univerjs/ui';import{ClientSnapshotServerService as _0x5b6b8f,EXPORT_FORMAT_DIALOG as _0x370123,ExchangeFormat as _0x3cce7b,IExchangeOperateService as _0x50c849,IExchangeService as _0x35e319,UniverExchangeClientPlugin as _0x73b6be,isCurrentUnitLoadedFromServer as _0x5e4492,transformSheetBlockMetaToString as _0x565407,transformWorkbookSnapshotMetaToString as _0x5d674d}from'@univerjs-pro/exchange-client';import{CommandType as _0x4f78d0,DependentOn as _0x2aa444,Disposable as _0x3ff27f,ICommandService as _0x1e81ae,IConfigService as _0x1117ad,IResourceLoaderService as _0x963b95,IUniverInstanceService as _0x24b418,Inject as _0x4fa34b,Injector as _0x5b6331,LocaleService as _0xb2a726,Plugin as _0xdc0889,UniverInstanceType as _0x348e2e,createIdentifier as _0x2fdadb,merge as _0x344a57}from'@univerjs/core';import{b64DecodeUnicode as _0x3891cb,getSheetBlocksFromSnapshot as _0x59bf90,transformSnapshotToWorkbookData as _0x394f8f,transformWorkbookDataToSnapshot as _0x450457}from'@univerjs-pro/collaboration';import{WorkbookExportPermission as _0x43fcc5}from'@univerjs/sheets';import{getCurrentRangeDisable$ as _0x3a174b}from'@univerjs/sheets-ui';import{UniverLicensePlugin as _0x2780f4}from'@univerjs-pro/license';const M={'minSheetRowCount':0x1,'minSheetColumnCount':0x1,'disableCellImageConversion':!0x0};function N(_0x196bd7,_0x199d88){return function(_0x39b00e,_0x42a109){_0x199d88(_0x39b00e,_0x42a109,_0x196bd7);};}function P(_0x36b9d8,_0x365602,_0x146f82,_0x56f773){const _0x5ea200=_0x236e;var _0x5df6d8=arguments[_0x5ea200(0x86)],_0x32cb5a=_0x5df6d8<0x3?_0x365602:_0x56f773===null?_0x56f773=Object[_0x5ea200(0xaf)](_0x365602,_0x146f82):_0x56f773,_0x462375;if(typeof Reflect==_0x5ea200(0x75)&&typeof Reflect[_0x5ea200(0x87)]==_0x5ea200(0xa1))_0x32cb5a=Reflect[_0x5ea200(0x87)](_0x36b9d8,_0x365602,_0x146f82,_0x56f773);else{for(var _0x1bf3f1=_0x36b9d8[_0x5ea200(0x86)]-0x1;_0x1bf3f1>=0x0;_0x1bf3f1--)(_0x462375=_0x36b9d8[_0x1bf3f1])&&(_0x32cb5a=(_0x5df6d8<0x3?_0x462375(_0x32cb5a):_0x5df6d8>0x3?_0x462375(_0x365602,_0x146f82,_0x32cb5a):_0x462375(_0x365602,_0x146f82))||_0x32cb5a);}return _0x5df6d8>0x3&&_0x32cb5a&&Object[_0x5ea200(0xcc)](_0x365602,_0x146f82,_0x32cb5a),_0x32cb5a;}function _0x13b6(){const _0x5e4221=['toPrimitive','importFileToUnitId','sheets-exchange-client.dialog.export-format','570159KWWabk','getOwnPropertyDescriptor','BUTTON','get','_initCommands','getUnitId','11JqLbGw','add','transformWorkbookDataToSnapshotJson','XLSX','_createExportOptions','\x20is\x20currently\x20active.','_menuManagerService','_initMenus','_exchangeOperateService','FolderIcon','_createImportOptions','exportFileByUnitId','SHEET_EXCHANGE_CLIENT_PLUGIN','constructor','sheets-exchange-client.download','sheets-exchange-client.operation.exchange','parse','TSV','_getConfig','importSheetToSnapshot','_getCurrentWorkbook','exportFile','765744wKhugi','prototype','defineProperty','_univerInstanceService','mergeMenu','UNIVER_SHEET','rev','OPERATION','string','exportSheetByUnitId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','object','iterator','No\x20unit\x20of\x20type\x20','packageName','symbol','getConfig','onReady','Failed\x20to\x20transform\x20snapshot\x20to\x20string','values','1168550HnSiws','sheets-exchange-client.operation.import-sheet','disposeWithMe','map','_configService','_resourceLoaderService','sheets-exchange-client.sheet-exchange.service','menu','length','decorate','getSnapshot','54424fdCWbp','data','2749986dnHRUI','@univerjs-pro/sheets-exchange-client','35425SGNXzH','171UJvPjX','153frlrLo','dispose','DirectExportIcon','exportSheetBySnapshot','_sheetExchangeService','_exchangeService','executeCommand','sheets-exchange-client.config','importSheetToUnitId','getCurrentUnitOfType','196zpnktx','_commandService','sheets-exchange-client.file','CSV','getSheetId','getSheets','2582pxHGhX','transformSnapshotJsonToWorkbookData','function','saveUnit','_injector','setConfig','importFileToSnapshot','sheetId','forEach','open','_config','pluginName'];_0x13b6=function(){return _0x5e4221;};return _0x13b6();}const F=_0x2fdadb(_0x35aa3b(0x84));let I=class{constructor(_0x7151fb,_0x5b956f){const _0x359292=_0x35aa3b;this[_0x359292(0x94)]=_0x7151fb,this[_0x359292(0x82)]=_0x5b956f;}[_0x35aa3b(0x97)](_0x32ba16){const _0x36f656=_0x35aa3b;let _0x1b0613=this[_0x36f656(0xbe)]();return this[_0x36f656(0x94)][_0x36f656(0xac)](_0x32ba16,_0x348e2e[_0x36f656(0xcf)],{'sheet':_0x1b0613});}async[_0x35aa3b(0xc7)](_0xe018f5){const _0x528399=_0x35aa3b;let _0x1e3324=this[_0x528399(0xbe)](),_0x403659=await this[_0x528399(0x94)]['importFileToJson'](_0xe018f5,_0x348e2e[_0x528399(0xcf)],{'sheet':_0x1e3324});return _0x403659?this[_0x528399(0xa0)](_0x403659):void 0x0;}['exportSheetByUnitId'](_0x3813f2,_0x110a99=_0x3cce7b[_0x35aa3b(0xb7)],_0x2e31fb){const _0x3ead08=_0x35aa3b;let _0x4a5b18=this[_0x3ead08(0xb8)](_0x110a99,_0x2e31fb);return this[_0x3ead08(0x94)][_0x3ead08(0xbf)](_0x3813f2,_0x348e2e[_0x3ead08(0xcf)],_0x110a99,{'sheet':_0x4a5b18});}async[_0x35aa3b(0x92)](_0x3026c7,_0x220112=_0x3cce7b[_0x35aa3b(0xb7)],_0x1caeb3){const _0x1ce64d=_0x35aa3b;let _0x1fbd62=await this[_0x1ce64d(0xb6)](_0x3026c7),_0x5476fa=this[_0x1ce64d(0xb8)](_0x220112,_0x1caeb3);return this[_0x1ce64d(0x94)]['exportFileBySnapshot'](_0x1fbd62,_0x348e2e[_0x1ce64d(0xcf)],_0x220112,{'sheet':_0x5476fa});}['transformSnapshotJsonToWorkbookData'](_0x2f982a){const _0x24763e=_0x35aa3b;let _0x5d93d6=Object[_0x24763e(0x7d)](_0x2f982a['sheetBlocks']||{})[_0x24763e(0x81)](_0x1883e6=>({..._0x1883e6,'data':_0x1883e6[_0x24763e(0x8a)]?JSON[_0x24763e(0xc4)](_0x3891cb(_0x1883e6[_0x24763e(0x8a)])):void 0x0}));return _0x394f8f(_0x2f982a['snapshot'],_0x5d93d6);}async[_0x35aa3b(0xb6)](_0x255d0b){const _0x49ec29=_0x35aa3b;let _0x2c0836={'metadata':void 0x0},_0x3be0d9=new _0x5b6b8f(),{snapshot:_0x49548a}=await _0x450457(_0x2c0836,_0x255d0b,_0x255d0b['id'],_0x255d0b[_0x49ec29(0xd0)]??0x0,_0x3be0d9),_0x5e93b4=_0x5d674d(_0x49548a);if(!_0x5e93b4)throw Error(_0x49ec29(0x7c));return{'snapshot':_0x5e93b4,'sheetBlocks':_0x565407(await _0x59bf90(_0x49548a,_0x3be0d9))};}['_getConfig'](){const _0xa31f73=_0x35aa3b;return this[_0xa31f73(0x82)][_0xa31f73(0x7a)]('sheets-exchange-client.config')??M;}[_0x35aa3b(0xbe)](){const _0x4970d6=_0x35aa3b;let {minSheetRowCount:_0x133ca1,minSheetColumnCount:_0x55338c}=this[_0x4970d6(0xc6)]();return{'minSheetRowCount':_0x133ca1,'minSheetColumnCount':_0x55338c};}[_0x35aa3b(0xb8)](_0x40f8ba,_0x4bb35c){const _0x4747dd=_0x35aa3b;let {disableCellImageConversion:_0x12bf4d}=this[_0x4747dd(0xc6)]();return{'useImageUrl':_0x12bf4d,..._0x40f8ba!==_0x3cce7b[_0x4747dd(0xb7)]&&_0x4bb35c?{'csv':{'sheetId':_0x4bb35c}}:{}};}};I=P([N(0x0,_0x4fa34b(_0x35e319)),N(0x1,_0x1117ad)],I);const L=_0x2fdadb('sheets-exchange-client.sheet-exchange-operate.service');let R=class{constructor(_0x136dc5,_0x35c6c9,_0x1e9a5c,_0x5055b1){const _0x358d79=_0x35aa3b;this[_0x358d79(0x93)]=_0x136dc5,this[_0x358d79(0xbc)]=_0x35c6c9,this[_0x358d79(0xcd)]=_0x1e9a5c,this[_0x358d79(0x83)]=_0x5055b1;}['importSheetToUnitId'](){const _0x2d7ff6=_0x35aa3b;return this[_0x2d7ff6(0xbc)]['importFileToUnitId'](_0x348e2e[_0x2d7ff6(0xcf)],_0x7e0211=>this[_0x2d7ff6(0x93)][_0x2d7ff6(0x97)](_0x7e0211));}[_0x35aa3b(0xc7)](){const _0x5d748a=_0x35aa3b;return this[_0x5d748a(0xbc)][_0x5d748a(0xa5)](_0x348e2e[_0x5d748a(0xcf)],_0x84c4b1=>this['_sheetExchangeService'][_0x5d748a(0xc7)](_0x84c4b1));}[_0x35aa3b(0xd3)](_0x2febb4,_0x51a3cf,_0x25ff6e=_0x3cce7b[_0x35aa3b(0xb7)],_0x767c5d){const _0x999a9c=_0x35aa3b;let _0x38a90f=this[_0x999a9c(0xc8)]();return this[_0x999a9c(0xbc)][_0x999a9c(0xc9)](()=>this[_0x999a9c(0x93)][_0x999a9c(0xd3)](_0x2febb4??_0x38a90f[_0x999a9c(0xb3)](),_0x25ff6e,_0x767c5d),_0x51a3cf??_0x38a90f[_0x999a9c(0x88)]()['name'],_0x25ff6e);}[_0x35aa3b(0x92)](_0x563b6f=_0x3cce7b[_0x35aa3b(0xb7)],_0xf8f719){const _0x2eb0ef=_0x35aa3b;let _0x2be59c=this['_getCurrentWorkbook'](),_0x995804=this[_0x2eb0ef(0x83)][_0x2eb0ef(0xa2)](_0x2be59c[_0x2eb0ef(0xb3)]())??_0x2be59c[_0x2eb0ef(0x88)]();return this[_0x2eb0ef(0xbc)][_0x2eb0ef(0xc9)](()=>this[_0x2eb0ef(0x93)][_0x2eb0ef(0x92)](_0x995804,_0x563b6f,_0xf8f719),_0x995804['name'],_0x563b6f);}['_getCurrentWorkbook'](){const _0x529343=_0x35aa3b;let _0x1d093e=this['_univerInstanceService'][_0x529343(0x98)](_0x348e2e[_0x529343(0xcf)]);if(!_0x1d093e)throw Error(_0x529343(0x77)+_0x348e2e[_0x529343(0xcf)]+_0x529343(0xb9));return _0x1d093e;}};R=P([N(0x0,_0x4fa34b(F)),N(0x1,_0x4fa34b(_0x50c849)),N(0x2,_0x24b418),N(0x3,_0x963b95)],R);function z(_0x3ab5ca){const _0x5dc91e=_0x35aa3b;var _0x19938b,_0x51d685;return{'selectedId':((_0x19938b=_0x3ab5ca['getActiveSheet'](!0x0))==null?void 0x0:_0x19938b[_0x5dc91e(0x9d)]())??((_0x51d685=_0x3ab5ca[_0x5dc91e(0x9e)]()[0x0])==null?void 0x0:_0x51d685[_0x5dc91e(0x9d)]())??'','items':_0x3ab5ca[_0x5dc91e(0x9e)]()[_0x5dc91e(0x81)](_0x1479a9=>({'label':_0x1479a9['getName'](),'value':_0x1479a9[_0x5dc91e(0x9d)]()}))};}const B={'id':_0x35aa3b(0x7f),'type':_0x4f78d0['OPERATION'],'handler':async _0x1ca451=>{const _0x1364c6=_0x35aa3b;let _0x14b684=_0x1ca451[_0x1364c6(0xb1)](L);return _0x5e4492(_0x1ca451,_0x348e2e[_0x1364c6(0xcf)])?await _0x14b684[_0x1364c6(0x97)]():await _0x14b684['importSheetToSnapshot'](),!0x0;}},V={'id':'sheets-exchange-client.operation.export-sheet-by-format','type':_0x4f78d0[_0x35aa3b(0xd1)],'handler':async(_0x446525,_0x3cb191)=>{const _0x249c5c=_0x35aa3b;if(!_0x3cb191)return!0x1;let _0x56b519=_0x446525[_0x249c5c(0xb1)](L);return _0x5e4492(_0x446525,_0x348e2e[_0x249c5c(0xcf)])?await _0x56b519[_0x249c5c(0xd3)](void 0x0,void 0x0,_0x3cb191['format'],_0x3cb191[_0x249c5c(0xa6)]):await _0x56b519[_0x249c5c(0x92)](_0x3cb191['format'],_0x3cb191['sheetId']),!0x0;}},H={'id':'sheets-exchange-client.operation.export-sheet','type':_0x4f78d0['OPERATION'],'handler':_0x5a5617=>{const _0x554c6c=_0x35aa3b;let _0x25e8e1=_0x5a5617[_0x554c6c(0xb1)](_0x24b418)[_0x554c6c(0x98)](_0x348e2e[_0x554c6c(0xcf)]);if(!_0x25e8e1)return!0x1;let _0x5cee5c=z(_0x25e8e1),_0x281bb9=_0x5a5617[_0x554c6c(0xb1)](_0x1ce2e8),_0x2782db=_0x5a5617[_0x554c6c(0xb1)](_0x1e81ae),_0x5db9fe=_0x5a5617[_0x554c6c(0xb1)](_0xb2a726),_0x1f5bbc=null,_0xb3ade1=()=>{const _0x4607b3=_0x554c6c;_0x1f5bbc==null||_0x1f5bbc[_0x4607b3(0x90)](),_0x1f5bbc=null;};return _0x1f5bbc=_0x281bb9[_0x554c6c(0xa8)]({'id':_0x554c6c(0xad),'title':{'title':_0x5db9fe['t'](_0x554c6c(0xc2))},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x370123,'props':{'formats':[_0x3cce7b[_0x554c6c(0xb7)],_0x3cce7b[_0x554c6c(0x9c)],_0x3cce7b[_0x554c6c(0xc5)]],..._0x5cee5c,'onCancel':_0xb3ade1,'onConfirm':async(_0x52c1c2,_0x652794)=>{const _0x5edb8e=_0x554c6c;await _0x2782db[_0x5edb8e(0x95)](V['id'],{'format':_0x52c1c2,'sheetId':_0x652794}),_0xb3ade1();}}}},'onClose':_0xb3ade1}),!0x0;}},U=_0x35aa3b(0xc3);function W(_0x334f88){const _0x451291=_0x35aa3b;return{'id':U,'type':_0x1d7db0['SUBITEMS'],'icon':_0x451291(0x91),'tooltip':_0x451291(0x9b),'hidden$':_0xa4465a(_0x334f88,_0x348e2e['UNIVER_SHEET']),'disabled$':_0x3a174b(_0x334f88,{'workbookTypes':[_0x43fcc5]})};}function G(){const _0x115c6c=_0x35aa3b;return{'id':B['id'],'type':_0x1d7db0[_0x115c6c(0xb0)],'title':'sheets-exchange-client.upload','icon':_0x115c6c(0xbd)};}function K(){const _0x38e7d6=_0x35aa3b;return{'id':H['id'],'type':_0x1d7db0['BUTTON'],'title':_0x38e7d6(0xc2),'icon':'ExportIcon'};}const q={[_0x56926c['OTHERS']]:{[U]:{'order':0.03,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':W,[B['id']]:{'order':0x0,'menuItemFactory':G},[H['id']]:{'order':0x1,'menuItemFactory':K}}}};function _0x236e(_0x3029f0,_0xbfa5f2){_0x3029f0=_0x3029f0-0x75;const _0x13b653=_0x13b6();let _0x236e6d=_0x13b653[_0x3029f0];return _0x236e6d;}var J=_0x35aa3b(0x8c),Y='1.0.0-beta.0';let X=class extends _0x3ff27f{constructor(_0x708a5d,_0x3e28bd){const _0x29b31a=_0x35aa3b;super(),this['_commandService']=_0x708a5d,this[_0x29b31a(0xba)]=_0x3e28bd,this[_0x29b31a(0xb2)](),this[_0x29b31a(0xbb)]();}[_0x35aa3b(0xb2)](){const _0x1eb58c=_0x35aa3b;[B,H,V][_0x1eb58c(0xa7)](_0xed653c=>{const _0x463479=_0x1eb58c;this[_0x463479(0x80)](this[_0x463479(0x9a)]['registerCommand'](_0xed653c));});}[_0x35aa3b(0xbb)](){const _0x55cb89=_0x35aa3b;this[_0x55cb89(0xba)][_0x55cb89(0xce)](q);}};X=P([N(0x0,_0x1e81ae),N(0x1,_0x1c61f6)],X);function Z(_0x36490d){'@babel/helpers - typeof';const _0x4435f9=_0x35aa3b;return Z=typeof Symbol=='function'&&typeof Symbol[_0x4435f9(0x76)]==_0x4435f9(0x79)?function(_0x56eef9){return typeof _0x56eef9;}:function(_0x3c91e6){const _0x5495b2=_0x4435f9;return _0x3c91e6&&typeof Symbol==_0x5495b2(0xa1)&&_0x3c91e6[_0x5495b2(0xc1)]===Symbol&&_0x3c91e6!==Symbol[_0x5495b2(0xcb)]?'symbol':typeof _0x3c91e6;},Z(_0x36490d);}function re(_0x5265b3,_0x6e23cf){const _0x5631fc=_0x35aa3b;if(Z(_0x5265b3)!=_0x5631fc(0x75)||!_0x5265b3)return _0x5265b3;var _0x4dff4b=_0x5265b3[Symbol[_0x5631fc(0xab)]];if(_0x4dff4b!==void 0x0){var _0x5586a8=_0x4dff4b['call'](_0x5265b3,_0x6e23cf||'default');if(Z(_0x5586a8)!=_0x5631fc(0x75))return _0x5586a8;throw TypeError(_0x5631fc(0xd4));}return(_0x6e23cf===_0x5631fc(0xd2)?String:Number)(_0x5265b3);}function ie(_0x42bb76){const _0xf49bd0=_0x35aa3b;var _0x128747=re(_0x42bb76,_0xf49bd0(0xd2));return Z(_0x128747)==_0xf49bd0(0x79)?_0x128747:_0x128747+'';}function Q(_0x33ebfb,_0x52961d,_0x1c46d6){const _0x95bcac=_0x35aa3b;return(_0x52961d=ie(_0x52961d))in _0x33ebfb?Object[_0x95bcac(0xcc)](_0x33ebfb,_0x52961d,{'value':_0x1c46d6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x33ebfb[_0x52961d]=_0x1c46d6,_0x33ebfb;}let $=class extends _0xdc0889{constructor(_0x419036=M,_0x5329ba,_0x4a627f){const _0x262f59=_0x35aa3b;super(),this[_0x262f59(0xa9)]=_0x419036,this[_0x262f59(0xa3)]=_0x5329ba,this['_configService']=_0x4a627f;let {menu:_0x367339,..._0x4685f7}=_0x344a57({},M,this[_0x262f59(0xa9)]);_0x367339&&this[_0x262f59(0x82)][_0x262f59(0xa4)](_0x262f59(0x85),_0x367339,{'merge':!0x0}),this[_0x262f59(0x82)][_0x262f59(0xa4)](_0x262f59(0x96),_0x4685f7);}['onStarting'](){const _0x5e381a=_0x35aa3b;[[F,{'useClass':I}],[L,{'useClass':R}],[X]][_0x5e381a(0xa7)](_0x29754b=>this[_0x5e381a(0xa3)][_0x5e381a(0xb5)](_0x29754b));}[_0x35aa3b(0x7b)](){const _0x20960d=_0x35aa3b;this[_0x20960d(0xa3)]['get'](X);}};Q($,_0x35aa3b(0xaa),_0x35aa3b(0xc0)),Q($,_0x35aa3b(0x78),J),Q($,'version',Y),Q($,'type',_0x348e2e[_0x35aa3b(0xcf)]),$=P([_0x2aa444(_0x2780f4,_0x73b6be),N(0x1,_0x4fa34b(_0x5b6331)),N(0x2,_0x1117ad)],$);export{F as ISheetExchangeService,q as SheetsExchangeClientMenuSchema,$ as UniverSheetsExchangeClientPlugin};
|
|
1
|
+
const _0x378c6c=_0x5bdf;(function(_0xb9bd7,_0x31491a){const _0x450503=_0x5bdf,_0x3370f0=_0xb9bd7();while(!![]){try{const _0x46bc40=-parseInt(_0x450503(0xd9))/0x1+parseInt(_0x450503(0xbb))/0x2*(-parseInt(_0x450503(0xc5))/0x3)+parseInt(_0x450503(0xd3))/0x4*(parseInt(_0x450503(0xdb))/0x5)+-parseInt(_0x450503(0xc6))/0x6+parseInt(_0x450503(0xd6))/0x7*(-parseInt(_0x450503(0xb6))/0x8)+parseInt(_0x450503(0xa5))/0x9+parseInt(_0x450503(0xa3))/0xa*(parseInt(_0x450503(0xba))/0xb);if(_0x46bc40===_0x31491a)break;else _0x3370f0['push'](_0x3370f0['shift']());}catch(_0x274de0){_0x3370f0['push'](_0x3370f0['shift']());}}}(_0x34ce,0x91d46));import{IDialogService as _0x3b2886,IMenuManagerService as _0x187952,MenuItemType as _0x401b14,RibbonStartGroup as _0x55a683,getMenuHiddenObservable as _0x2e74c9}from'@univerjs/ui';import{ClientSnapshotServerService as _0x56fdbc,EXPORT_FORMAT_DIALOG as _0x52d6c6,ExchangeFormat as _0x21ccdc,IExchangeOperateService as _0xdddf7c,IExchangeService as _0x2a3da1,UniverExchangeClientPlugin as _0x5a145b,isCurrentUnitLoadedFromServer as _0x7f4fec,transformSheetBlockMetaToString as _0x150686,transformWorkbookSnapshotMetaToString as _0x32d3ac}from'@univerjs-pro/exchange-client';import{CommandType as _0x2a0e7a,DependentOn as _0x5848ce,Disposable as _0x4dd1c2,ICommandService as _0x387d41,IConfigService as _0x3efbf2,IResourceLoaderService as _0x127f30,IUniverInstanceService as _0x49b773,Inject as _0x1fd393,Injector as _0x598aff,LocaleService as _0x370c41,Plugin as _0x55a2ce,UniverInstanceType as _0x16d710,createIdentifier as _0x41515a,merge as _0x150b02}from'@univerjs/core';import{b64DecodeUnicode as _0x39c022,getSheetBlocksFromSnapshot as _0x1be425,transformSnapshotToWorkbookData as _0x36b6ff,transformWorkbookDataToSnapshot as _0x4cb1d6}from'@univerjs-pro/collaboration';import{WorkbookExportPermission as _0xb15ef2}from'@univerjs/sheets';import{getCurrentRangeDisable$ as _0x205efc}from'@univerjs/sheets-ui';import{UniverLicensePlugin as _0x51f08c}from'@univerjs-pro/license';const M={'minSheetRowCount':0x1,'minSheetColumnCount':0x1,'disableCellImageConversion':!0x0};function N(_0x311f66,_0x6f5a54){return function(_0x139e03,_0x142b8d){_0x6f5a54(_0x139e03,_0x142b8d,_0x311f66);};}function P(_0x1db5aa,_0x1b4268,_0xf27067,_0x8753f1){const _0x24ca9=_0x5bdf;var _0x3b2c1a=arguments[_0x24ca9(0xcd)],_0xa35b10=_0x3b2c1a<0x3?_0x1b4268:_0x8753f1===null?_0x8753f1=Object['getOwnPropertyDescriptor'](_0x1b4268,_0xf27067):_0x8753f1,_0x2c97cd;if(typeof Reflect==_0x24ca9(0xeb)&&typeof Reflect[_0x24ca9(0xd5)]==_0x24ca9(0xdf))_0xa35b10=Reflect[_0x24ca9(0xd5)](_0x1db5aa,_0x1b4268,_0xf27067,_0x8753f1);else{for(var _0x575bcc=_0x1db5aa[_0x24ca9(0xcd)]-0x1;_0x575bcc>=0x0;_0x575bcc--)(_0x2c97cd=_0x1db5aa[_0x575bcc])&&(_0xa35b10=(_0x3b2c1a<0x3?_0x2c97cd(_0xa35b10):_0x3b2c1a>0x3?_0x2c97cd(_0x1b4268,_0xf27067,_0xa35b10):_0x2c97cd(_0x1b4268,_0xf27067))||_0xa35b10);}return _0x3b2c1a>0x3&&_0xa35b10&&Object[_0x24ca9(0xce)](_0x1b4268,_0xf27067,_0xa35b10),_0xa35b10;}const F=_0x41515a(_0x378c6c(0xdc));let I=class{constructor(_0x463250,_0x4575b0){const _0x29613b=_0x378c6c;this[_0x29613b(0xb8)]=_0x463250,this[_0x29613b(0xcc)]=_0x4575b0;}[_0x378c6c(0xda)](_0x4d7b85){const _0x1297fa=_0x378c6c;let _0x117711=this[_0x1297fa(0xee)]();return this['_exchangeService'][_0x1297fa(0xc1)](_0x4d7b85,_0x16d710[_0x1297fa(0xaf)],{'sheet':_0x117711});}async[_0x378c6c(0xa9)](_0x3501fc){const _0x4095c2=_0x378c6c;let _0x460205=this['_createImportOptions'](),_0xdabe63=await this[_0x4095c2(0xb8)][_0x4095c2(0xea)](_0x3501fc,_0x16d710[_0x4095c2(0xaf)],{'sheet':_0x460205});return _0xdabe63?this[_0x4095c2(0xbd)](_0xdabe63):void 0x0;}[_0x378c6c(0xc8)](_0x32d8ac,_0x1a5c95=_0x21ccdc[_0x378c6c(0xb0)],_0x2c2110){const _0x4f275a=_0x378c6c;let _0x30dc8c=this[_0x4f275a(0xe2)](_0x1a5c95,_0x2c2110);return this[_0x4f275a(0xb8)][_0x4f275a(0x95)](_0x32d8ac,_0x16d710[_0x4f275a(0xaf)],_0x1a5c95,{'sheet':_0x30dc8c});}async[_0x378c6c(0xc2)](_0x393093,_0x5b9eab=_0x21ccdc[_0x378c6c(0xb0)],_0x238de9){const _0x5040e8=_0x378c6c;let _0x20ee25=await this[_0x5040e8(0xb1)](_0x393093),_0x6fbf61=this[_0x5040e8(0xe2)](_0x5b9eab,_0x238de9);return this[_0x5040e8(0xb8)]['exportFileBySnapshot'](_0x20ee25,_0x16d710[_0x5040e8(0xaf)],_0x5b9eab,{'sheet':_0x6fbf61});}[_0x378c6c(0xbd)](_0xe83d8e){const _0x160f67=_0x378c6c;let _0x2c4515=Object[_0x160f67(0xc9)](_0xe83d8e[_0x160f67(0xdd)]||{})[_0x160f67(0xde)](_0x5a1db8=>({..._0x5a1db8,'data':_0x5a1db8['data']?JSON['parse'](_0x39c022(_0x5a1db8['data'])):void 0x0}));return _0x36b6ff(_0xe83d8e[_0x160f67(0xb4)],_0x2c4515);}async[_0x378c6c(0xb1)](_0xb3c16f){const _0xc4d9d4=_0x378c6c;let _0xb010dc={'metadata':void 0x0},_0x4dd2dc=new _0x56fdbc(),{snapshot:_0x27ac32}=await _0x4cb1d6(_0xb010dc,_0xb3c16f,_0xb3c16f['id'],_0xb3c16f[_0xc4d9d4(0xbc)]??0x0,_0x4dd2dc),_0x36cd83=_0x32d3ac(_0x27ac32);if(!_0x36cd83)throw Error(_0xc4d9d4(0xac));return{'snapshot':_0x36cd83,'sheetBlocks':_0x150686(await _0x1be425(_0x27ac32,_0x4dd2dc))};}[_0x378c6c(0xa2)](){const _0x48b83c=_0x378c6c;return this[_0x48b83c(0xcc)][_0x48b83c(0xca)]('sheets-exchange-client.config')??M;}[_0x378c6c(0xee)](){const _0x5b8353=_0x378c6c;let {minSheetRowCount:_0x248407,minSheetColumnCount:_0x5b91ff}=this[_0x5b8353(0xa2)]();return{'minSheetRowCount':_0x248407,'minSheetColumnCount':_0x5b91ff};}['_createExportOptions'](_0x38fd09,_0x555922){let {disableCellImageConversion:_0x104710}=this['_getConfig']();return{'useImageUrl':_0x104710,..._0x38fd09!==_0x21ccdc['XLSX']&&_0x555922?{'csv':{'sheetId':_0x555922}}:{}};}};function _0x5bdf(_0x1a8f8f,_0x194411){_0x1a8f8f=_0x1a8f8f-0x95;const _0x34cee6=_0x34ce();let _0x5bdf32=_0x34cee6[_0x1a8f8f];return _0x5bdf32;}I=P([N(0x0,_0x1fd393(_0x2a3da1)),N(0x1,_0x3efbf2)],I);const L=_0x41515a('sheets-exchange-client.sheet-exchange-operate.service');let R=class{constructor(_0x1e84ba,_0x47c2b2,_0x5e1ebb,_0x38aa99){const _0x27023c=_0x378c6c;this[_0x27023c(0xad)]=_0x1e84ba,this[_0x27023c(0xc3)]=_0x47c2b2,this[_0x27023c(0xf5)]=_0x5e1ebb,this['_resourceLoaderService']=_0x38aa99;}['importSheetToUnitId'](){const _0x27f6f0=_0x378c6c;return this['_exchangeOperateService'][_0x27f6f0(0xc1)](_0x16d710[_0x27f6f0(0xaf)],_0x5e4054=>this['_sheetExchangeService']['importSheetToUnitId'](_0x5e4054));}[_0x378c6c(0xa9)](){const _0x37d23b=_0x378c6c;return this['_exchangeOperateService'][_0x37d23b(0x9c)](_0x16d710[_0x37d23b(0xaf)],_0x3ef0dd=>this[_0x37d23b(0xad)][_0x37d23b(0xa9)](_0x3ef0dd));}['exportSheetByUnitId'](_0x481146,_0x7d23c1,_0x4baa5e=_0x21ccdc[_0x378c6c(0xb0)],_0x2268d8){const _0x46c83d=_0x378c6c;let _0x4adea1=this['_getCurrentWorkbook']();return this[_0x46c83d(0xc3)][_0x46c83d(0xd7)](()=>this[_0x46c83d(0xad)][_0x46c83d(0xc8)](_0x481146??_0x4adea1[_0x46c83d(0xc4)](),_0x4baa5e,_0x2268d8),_0x7d23c1??_0x4adea1[_0x46c83d(0xa4)]()[_0x46c83d(0xaa)],_0x4baa5e);}['exportSheetBySnapshot'](_0x2295ef=_0x21ccdc[_0x378c6c(0xb0)],_0x26f0d9){const _0xbb0dc4=_0x378c6c;let _0x1e8118=this[_0xbb0dc4(0x9b)](),_0x3c081f=this[_0xbb0dc4(0xf1)][_0xbb0dc4(0xe7)](_0x1e8118['getUnitId']())??_0x1e8118[_0xbb0dc4(0xa4)]();return this[_0xbb0dc4(0xc3)][_0xbb0dc4(0xd7)](()=>this[_0xbb0dc4(0xad)][_0xbb0dc4(0xc2)](_0x3c081f,_0x2295ef,_0x26f0d9),_0x3c081f['name'],_0x2295ef);}['_getCurrentWorkbook'](){const _0x1ac0da=_0x378c6c;let _0x460c29=this[_0x1ac0da(0xf5)]['getCurrentUnitOfType'](_0x16d710[_0x1ac0da(0xaf)]);if(!_0x460c29)throw Error(_0x1ac0da(0xcb)+_0x16d710['UNIVER_SHEET']+_0x1ac0da(0xd0));return _0x460c29;}};function _0x34ce(){const _0x3a5833=['_config','OTHERS','iterator','importSheetToSnapshot','name','default','Failed\x20to\x20transform\x20snapshot\x20to\x20string','_sheetExchangeService','sheets-exchange-client.config','UNIVER_SHEET','XLSX','transformWorkbookDataToSnapshotJson','_injector','sheets-exchange-client.download','snapshot','FolderIcon','16PCbwqP','type','_exchangeService','sheets-exchange-client.operation.exchange','2392170WJOVhV','100cRRXjQ','rev','transformSnapshotJsonToWorkbookData','getSheets','getActiveSheet','getName','importFileToUnitId','exportSheetBySnapshot','_exchangeOperateService','getUnitId','4377WFRoVl','2209554huLGjG','sheets-exchange-client.operation.export-sheet-by-format','exportSheetByUnitId','values','getConfig','No\x20unit\x20of\x20type\x20','_configService','length','defineProperty','string','\x20is\x20currently\x20active.','DirectExportIcon','pluginName','116LqCjFE','sheets-exchange-client.operation.import-sheet','decorate','1766681AxHnMb','exportFile','sheets-exchange-client.dialog.export-format','1168354OlgVOH','importSheetToUnitId','43020RSNmVI','sheets-exchange-client.sheet-exchange.service','sheetBlocks','map','function','onReady','sheets-exchange-client.upload','_createExportOptions','forEach','TSV','_commandService','sheets-exchange-client.operation.export-sheet','saveUnit','setConfig','version','importFileToJson','object','prototype','symbol','_createImportOptions','executeCommand','sheetId','_resourceLoaderService','add','OPERATION','mergeMenu','_univerInstanceService','_menuManagerService','exportFileByUnitId','getSheetId','dispose','sheets-exchange-client.file','menu','open','_getCurrentWorkbook','importFileToSnapshot','_initCommands','get','registerCommand','ExportIcon','BUTTON','_getConfig','80zvCote','getSnapshot','6501339xpWaOf'];_0x34ce=function(){return _0x3a5833;};return _0x34ce();}R=P([N(0x0,_0x1fd393(F)),N(0x1,_0x1fd393(_0xdddf7c)),N(0x2,_0x49b773),N(0x3,_0x127f30)],R);function z(_0x49b336){const _0x218c09=_0x378c6c;var _0x1e69db,_0x49cf22;return{'selectedId':((_0x1e69db=_0x49b336[_0x218c09(0xbf)](!0x0))==null?void 0x0:_0x1e69db[_0x218c09(0x96)]())??((_0x49cf22=_0x49b336[_0x218c09(0xbe)]()[0x0])==null?void 0x0:_0x49cf22[_0x218c09(0x96)]())??'','items':_0x49b336[_0x218c09(0xbe)]()[_0x218c09(0xde)](_0xc23390=>({'label':_0xc23390[_0x218c09(0xc0)](),'value':_0xc23390['getSheetId']()}))};}const B={'id':_0x378c6c(0xd4),'type':_0x2a0e7a['OPERATION'],'handler':async _0x55e98c=>{const _0x2a54cd=_0x378c6c;let _0x2ee1ab=_0x55e98c[_0x2a54cd(0x9e)](L);return _0x7f4fec(_0x55e98c,_0x16d710[_0x2a54cd(0xaf)])?await _0x2ee1ab['importSheetToUnitId']():await _0x2ee1ab[_0x2a54cd(0xa9)](),!0x0;}},V={'id':_0x378c6c(0xc7),'type':_0x2a0e7a[_0x378c6c(0xf3)],'handler':async(_0x68e70a,_0x1c9de9)=>{const _0x3c5401=_0x378c6c;if(!_0x1c9de9)return!0x1;let _0x290eef=_0x68e70a[_0x3c5401(0x9e)](L);return _0x7f4fec(_0x68e70a,_0x16d710['UNIVER_SHEET'])?await _0x290eef[_0x3c5401(0xc8)](void 0x0,void 0x0,_0x1c9de9['format'],_0x1c9de9[_0x3c5401(0xf0)]):await _0x290eef[_0x3c5401(0xc2)](_0x1c9de9['format'],_0x1c9de9[_0x3c5401(0xf0)]),!0x0;}},H={'id':_0x378c6c(0xe6),'type':_0x2a0e7a[_0x378c6c(0xf3)],'handler':_0x11ef35=>{const _0x443f1b=_0x378c6c;let _0x33b25f=_0x11ef35[_0x443f1b(0x9e)](_0x49b773)['getCurrentUnitOfType'](_0x16d710[_0x443f1b(0xaf)]);if(!_0x33b25f)return!0x1;let _0x3298f1=z(_0x33b25f),_0x4b4ebc=_0x11ef35[_0x443f1b(0x9e)](_0x3b2886),_0x1531f8=_0x11ef35[_0x443f1b(0x9e)](_0x387d41),_0x20a24a=_0x11ef35[_0x443f1b(0x9e)](_0x370c41),_0xb2699d=null,_0x542e31=()=>{const _0x4d0aa9=_0x443f1b;_0xb2699d==null||_0xb2699d[_0x4d0aa9(0x97)](),_0xb2699d=null;};return _0xb2699d=_0x4b4ebc[_0x443f1b(0x9a)]({'id':_0x443f1b(0xd8),'title':{'title':_0x20a24a['t'](_0x443f1b(0xb3))},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x52d6c6,'props':{'formats':[_0x21ccdc[_0x443f1b(0xb0)],_0x21ccdc['CSV'],_0x21ccdc[_0x443f1b(0xe4)]],..._0x3298f1,'onCancel':_0x542e31,'onConfirm':async(_0x5b0036,_0x365cb3)=>{const _0xa7937f=_0x443f1b;await _0x1531f8[_0xa7937f(0xef)](V['id'],{'format':_0x5b0036,'sheetId':_0x365cb3}),_0x542e31();}}}},'onClose':_0x542e31}),!0x0;}},U=_0x378c6c(0xb9);function W(_0x4df87e){const _0x57d334=_0x378c6c;return{'id':U,'type':_0x401b14['SUBITEMS'],'icon':_0x57d334(0xd1),'tooltip':_0x57d334(0x98),'hidden$':_0x2e74c9(_0x4df87e,_0x16d710[_0x57d334(0xaf)]),'disabled$':_0x205efc(_0x4df87e,{'workbookTypes':[_0xb15ef2]})};}function G(){const _0x59b50d=_0x378c6c;return{'id':B['id'],'type':_0x401b14[_0x59b50d(0xa1)],'title':_0x59b50d(0xe1),'icon':_0x59b50d(0xb5)};}function K(){const _0x196ff2=_0x378c6c;return{'id':H['id'],'type':_0x401b14[_0x196ff2(0xa1)],'title':_0x196ff2(0xb3),'icon':_0x196ff2(0xa0)};}const q={[_0x55a683[_0x378c6c(0xa7)]]:{[U]:{'order':0.03,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':W,[B['id']]:{'order':0x0,'menuItemFactory':G},[H['id']]:{'order':0x1,'menuItemFactory':K}}}};var J='@univerjs-pro/sheets-exchange-client',Y='1.0.0-beta.2';let X=class extends _0x4dd1c2{constructor(_0x12347b,_0x25e818){const _0x55a78e=_0x378c6c;super(),this[_0x55a78e(0xe5)]=_0x12347b,this[_0x55a78e(0xf6)]=_0x25e818,this[_0x55a78e(0x9d)](),this['_initMenus']();}[_0x378c6c(0x9d)](){const _0x3e2378=_0x378c6c;[B,H,V][_0x3e2378(0xe3)](_0x5c4cf6=>{const _0x3c2c9c=_0x3e2378;this['disposeWithMe'](this[_0x3c2c9c(0xe5)][_0x3c2c9c(0x9f)](_0x5c4cf6));});}['_initMenus'](){const _0x396ae7=_0x378c6c;this[_0x396ae7(0xf6)][_0x396ae7(0xf4)](q);}};X=P([N(0x0,_0x387d41),N(0x1,_0x187952)],X);function Z(_0x23dfc5){'@babel/helpers - typeof';const _0x349959=_0x378c6c;return Z=typeof Symbol==_0x349959(0xdf)&&typeof Symbol[_0x349959(0xa8)]==_0x349959(0xed)?function(_0x25f612){return typeof _0x25f612;}:function(_0x221aff){const _0x3dc9b1=_0x349959;return _0x221aff&&typeof Symbol=='function'&&_0x221aff['constructor']===Symbol&&_0x221aff!==Symbol[_0x3dc9b1(0xec)]?_0x3dc9b1(0xed):typeof _0x221aff;},Z(_0x23dfc5);}function re(_0x186845,_0x2c6e13){const _0x3c5780=_0x378c6c;if(Z(_0x186845)!=_0x3c5780(0xeb)||!_0x186845)return _0x186845;var _0x348a4a=_0x186845[Symbol['toPrimitive']];if(_0x348a4a!==void 0x0){var _0x51470c=_0x348a4a['call'](_0x186845,_0x2c6e13||_0x3c5780(0xab));if(Z(_0x51470c)!=_0x3c5780(0xeb))return _0x51470c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2c6e13===_0x3c5780(0xcf)?String:Number)(_0x186845);}function ie(_0x29072d){const _0x1292c7=_0x378c6c;var _0x5d2e53=re(_0x29072d,_0x1292c7(0xcf));return Z(_0x5d2e53)=='symbol'?_0x5d2e53:_0x5d2e53+'';}function Q(_0x36b3ae,_0x3d9925,_0x2e7168){return(_0x3d9925=ie(_0x3d9925))in _0x36b3ae?Object['defineProperty'](_0x36b3ae,_0x3d9925,{'value':_0x2e7168,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36b3ae[_0x3d9925]=_0x2e7168,_0x36b3ae;}let $=class extends _0x55a2ce{constructor(_0x4205f7=M,_0xd05b95,_0x27a314){const _0x50984f=_0x378c6c;super(),this['_config']=_0x4205f7,this[_0x50984f(0xb2)]=_0xd05b95,this[_0x50984f(0xcc)]=_0x27a314;let {menu:_0x150cf1,..._0x1449a5}=_0x150b02({},M,this[_0x50984f(0xa6)]);_0x150cf1&&this['_configService']['setConfig'](_0x50984f(0x99),_0x150cf1,{'merge':!0x0}),this['_configService'][_0x50984f(0xe8)](_0x50984f(0xae),_0x1449a5);}['onStarting'](){const _0x5f40bf=_0x378c6c;[[F,{'useClass':I}],[L,{'useClass':R}],[X]][_0x5f40bf(0xe3)](_0x503292=>this[_0x5f40bf(0xb2)][_0x5f40bf(0xf2)](_0x503292));}[_0x378c6c(0xe0)](){const _0x5ec846=_0x378c6c;this['_injector'][_0x5ec846(0x9e)](X);}};Q($,_0x378c6c(0xd2),'SHEET_EXCHANGE_CLIENT_PLUGIN'),Q($,'packageName',J),Q($,_0x378c6c(0xe9),Y),Q($,_0x378c6c(0xb7),_0x16d710[_0x378c6c(0xaf)]),$=P([_0x5848ce(_0x51f08c,_0x5a145b),N(0x1,_0x1fd393(_0x598aff)),N(0x2,_0x3efbf2)],$);export{F as ISheetExchangeService,q as SheetsExchangeClientMenuSchema,$ as UniverSheetsExchangeClientPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x109e(_0x17f6d6,_0x1c7777){_0x17f6d6=_0x17f6d6-0x1c8;const _0x42e27e=_0x42e2();let _0x109eec=_0x42e27e[_0x17f6d6];return _0x109eec;}const _0x16479d=_0x109e;(function(_0x5af466,_0x126800){const _0x3afccf=_0x109e,_0x3fa409=_0x5af466();while(!![]){try{const _0x53af21=parseInt(_0x3afccf(0x1d0))/0x1+-parseInt(_0x3afccf(0x1d4))/0x2*(parseInt(_0x3afccf(0x1ca))/0x3)+-parseInt(_0x3afccf(0x1c9))/0x4+-parseInt(_0x3afccf(0x1ce))/0x5+-parseInt(_0x3afccf(0x1d3))/0x6*(-parseInt(_0x3afccf(0x1cb))/0x7)+parseInt(_0x3afccf(0x1cd))/0x8+-parseInt(_0x3afccf(0x1cf))/0x9*(parseInt(_0x3afccf(0x1cc))/0xa);if(_0x53af21===_0x126800)break;else _0x3fa409['push'](_0x3fa409['shift']());}catch(_0x557314){_0x3fa409['push'](_0x3fa409['shift']());}}}(_0x42e2,0xc20dc));function _0x42e2(){const _0x1bf792=['4xmdCyP','ملف','5918324tssGMr','1235571CRNRCB','483063XlmcjA','270SjbgTQ','12716048DhLnmM','747830pqpUNg','45162UdaaKq','1448640bSmlgH','فتح\x20(ملف)','حفظ\x20باسم','30RQZnJD'];_0x42e2=function(){return _0x1bf792;};return _0x42e2();}const e={'sheets-exchange-client':{'file':_0x16479d(0x1c8),'upload':_0x16479d(0x1d1),'download':_0x16479d(0x1d2)}};export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2936(_0x4f03f8,_0x1947ba){_0x4f03f8=_0x4f03f8-0xb3;const _0x4d05e5=_0x4d05();let _0x2936a3=_0x4d05e5[_0x4f03f8];return _0x2936a3;}const _0x3fb17b=_0x2936;(function(_0x1d6bdd,_0x380007){const _0x5e9f2b=_0x2936,_0x1f456c=_0x1d6bdd();while(!![]){try{const _0xebbf=parseInt(_0x5e9f2b(0xbe))/0x1+parseInt(_0x5e9f2b(0xb8))/0x2+-parseInt(_0x5e9f2b(0xb5))/0x3*(parseInt(_0x5e9f2b(0xb4))/0x4)+parseInt(_0x5e9f2b(0xb7))/0x5+-parseInt(_0x5e9f2b(0xbd))/0x6*(-parseInt(_0x5e9f2b(0xbb))/0x7)+parseInt(_0x5e9f2b(0xbf))/0x8*(-parseInt(_0x5e9f2b(0xb9))/0x9)+-parseInt(_0x5e9f2b(0xbc))/0xa*(parseInt(_0x5e9f2b(0xb3))/0xb);if(_0xebbf===_0x380007)break;else _0x1f456c['push'](_0x1f456c['shift']());}catch(_0x356c9b){_0x1f456c['push'](_0x1f456c['shift']());}}}(_0x4d05,0x86cf8));const e={'sheets-exchange-client':{'file':'Fitxer','upload':_0x3fb17b(0xba),'download':_0x3fb17b(0xb6)}};export{e as default};function _0x4d05(){const _0x36f977=['991824vDMTcz','225atkIlk','Obrir(Fitxer)','4508YcjpEr','10CIXtss','7662lJeyUT','514831xZGFBe','46768MmOEJY','12919016TRStxF','3800164ZeWnYi','3ZvIneY','Anomena\x20i\x20desa','4948500YVbbvF'];_0x4d05=function(){return _0x36f977;};return _0x4d05();}
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27ad6f=_0x3680;(function(_0x1da87e,_0x5889cb){const _0x1a81fc=_0x3680,_0x3b73e2=_0x1da87e();while(!![]){try{const _0x5bbb56=-parseInt(_0x1a81fc(0x96))/0x1+parseInt(_0x1a81fc(0x9a))/0x2+-parseInt(_0x1a81fc(0x9f))/0x3+parseInt(_0x1a81fc(0x97))/0x4*(-parseInt(_0x1a81fc(0x98))/0x5)+parseInt(_0x1a81fc(0xa0))/0x6+-parseInt(_0x1a81fc(0x99))/0x7+parseInt(_0x1a81fc(0x9b))/0x8*(parseInt(_0x1a81fc(0x9d))/0x9);if(_0x5bbb56===_0x5889cb)break;else _0x3b73e2['push'](_0x3b73e2['shift']());}catch(_0x448529){_0x3b73e2['push'](_0x3b73e2['shift']());}}}(_0xe022,0x8b8bf));function _0xe022(){const _0x1d783d=['19719dldFWf','1630068wzQUda','32QXhtWx','Datei','1302633Vmkyrm','Speichern\x20unter','2334573rpDBmK','1323942pbktRz','61851FCqAJN','4tLWdXB','1000985vBnWda'];_0xe022=function(){return _0x1d783d;};return _0xe022();}const e={'sheets-exchange-client':{'file':_0x27ad6f(0x9c),'upload':'Öffnen\x20(Datei)','download':_0x27ad6f(0x9e)}};function _0x3680(_0x5b0d15,_0x1d7e5e){_0x5b0d15=_0x5b0d15-0x96;const _0xe02260=_0xe022();let _0x3680a8=_0xe02260[_0x5b0d15];return _0x3680a8;}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x231b(_0x36a984,_0xfacb30){_0x36a984=_0x36a984-0xb0;const _0x24cca9=_0x24cc();let _0x231b24=_0x24cca9[_0x36a984];return _0x231b24;}const _0x2fd34b=_0x231b;function _0x24cc(){const _0x24ea95=['Open(File)','4ahHLsd','2456388bfyYdG','3598385nfETJs','68wFBvKD','1876341LckygI','15536SOOqeU','Save\x20As','20EoYUmm','4563294OKAvLB','3039575emebSm','3766648YCYTyv'];_0x24cc=function(){return _0x24ea95;};return _0x24cc();}(function(_0x580918,_0x13dde0){const _0x5d47a0=_0x231b,_0x40d0e8=_0x580918();while(!![]){try{const _0x4a7f91=-parseInt(_0x5d47a0(0xb2))/0x1*(-parseInt(_0x5d47a0(0xb4))/0x2)+parseInt(_0x5d47a0(0xb3))/0x3+parseInt(_0x5d47a0(0xbb))/0x4*(parseInt(_0x5d47a0(0xb8))/0x5)+-parseInt(_0x5d47a0(0xb7))/0x6+-parseInt(_0x5d47a0(0xb1))/0x7+parseInt(_0x5d47a0(0xb9))/0x8+parseInt(_0x5d47a0(0xb0))/0x9*(-parseInt(_0x5d47a0(0xb6))/0xa);if(_0x4a7f91===_0x13dde0)break;else _0x40d0e8['push'](_0x40d0e8['shift']());}catch(_0x1ac867){_0x40d0e8['push'](_0x40d0e8['shift']());}}}(_0x24cc,0x6492d));const e={'sheets-exchange-client':{'file':'File','upload':_0x2fd34b(0xba),'download':_0x2fd34b(0xb5)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3fdc(_0x29eabb,_0x56ba68){_0x29eabb=_0x29eabb-0x1ac;const _0x31cb8f=_0x31cb();let _0x3fdc1d=_0x31cb8f[_0x29eabb];return _0x3fdc1d;}const _0x469dbc=_0x3fdc;function _0x31cb(){const _0x429e9a=['310962iRwcuM','835azCCjw','8zjpzNV','1111456wIqboV','4547430AYQuEN','2604105DlENEm','Guardar\x20como','736028hcObfC','1749774YucwlP','36kTWhST','28686heGLIL'];_0x31cb=function(){return _0x429e9a;};return _0x31cb();}(function(_0x3c5843,_0x30ddb7){const _0x386838=_0x3fdc,_0x5d4eaf=_0x3c5843();while(!![]){try{const _0x138327=parseInt(_0x386838(0x1b6))/0x1+-parseInt(_0x386838(0x1ac))/0x2+-parseInt(_0x386838(0x1af))/0x3*(parseInt(_0x386838(0x1b1))/0x4)+parseInt(_0x386838(0x1b0))/0x5*(-parseInt(_0x386838(0x1ae))/0x6)+-parseInt(_0x386838(0x1b4))/0x7+parseInt(_0x386838(0x1b2))/0x8+parseInt(_0x386838(0x1ad))/0x9*(parseInt(_0x386838(0x1b3))/0xa);if(_0x138327===_0x30ddb7)break;else _0x5d4eaf['push'](_0x5d4eaf['shift']());}catch(_0xcda239){_0x5d4eaf['push'](_0x5d4eaf['shift']());}}}(_0x31cb,0x6bbcf));const e={'sheets-exchange-client':{'file':'Archivo','upload':'Abrir(Archivo)','download':_0x469dbc(0x1b5)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x49e42e=_0xe387;(function(_0x10a555,_0x5200f3){const _0x3c5fc4=_0xe387,_0x21ee63=_0x10a555();while(!![]){try{const _0x4cbb3d=parseInt(_0x3c5fc4(0x10f))/0x1*(-parseInt(_0x3c5fc4(0x113))/0x2)+parseInt(_0x3c5fc4(0x114))/0x3+-parseInt(_0x3c5fc4(0x116))/0x4*(parseInt(_0x3c5fc4(0x11a))/0x5)+-parseInt(_0x3c5fc4(0x10d))/0x6*(parseInt(_0x3c5fc4(0x115))/0x7)+parseInt(_0x3c5fc4(0x112))/0x8+parseInt(_0x3c5fc4(0x111))/0x9*(parseInt(_0x3c5fc4(0x10e))/0xa)+-parseInt(_0x3c5fc4(0x117))/0xb*(-parseInt(_0x3c5fc4(0x110))/0xc);if(_0x4cbb3d===_0x5200f3)break;else _0x21ee63['push'](_0x21ee63['shift']());}catch(_0x1749dd){_0x21ee63['push'](_0x21ee63['shift']());}}}(_0x2f03,0x9e24a));const e={'sheets-exchange-client':{'file':'فایل','upload':_0x49e42e(0x119),'download':_0x49e42e(0x118)}};function _0x2f03(){const _0x4b4c72=['1228PlLmvC','627mDWSON','ذخیره\x20به\x20عنوان','بازکردن(فایل)','20585szAKmD','43782WUtOWa','226460BiMHob','47Exhonv','345012gDECvo','387Bgwzjn','6661456yXyqxw','53010hhuQkn','1872798kdLVVw','875PcLRbP'];_0x2f03=function(){return _0x4b4c72;};return _0x2f03();}function _0xe387(_0x464e1c,_0x42b60b){_0x464e1c=_0x464e1c-0x10d;const _0x2f0398=_0x2f03();let _0xe3872e=_0x2f0398[_0x464e1c];return _0xe3872e;}export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1401c8=_0xcd86;(function(_0x10f985,_0x23d32c){const _0x47c630=_0xcd86,_0x33a7b5=_0x10f985();while(!![]){try{const _0x23a1d2=parseInt(_0x47c630(0x1f8))/0x1+-parseInt(_0x47c630(0x1ed))/0x2*(parseInt(_0x47c630(0x1f3))/0x3)+parseInt(_0x47c630(0x1f4))/0x4*(-parseInt(_0x47c630(0x1ec))/0x5)+parseInt(_0x47c630(0x1ef))/0x6*(parseInt(_0x47c630(0x1f0))/0x7)+-parseInt(_0x47c630(0x1f7))/0x8+-parseInt(_0x47c630(0x1f1))/0x9*(-parseInt(_0x47c630(0x1f6))/0xa)+-parseInt(_0x47c630(0x1f2))/0xb*(-parseInt(_0x47c630(0x1eb))/0xc);if(_0x23a1d2===_0x23d32c)break;else _0x33a7b5['push'](_0x33a7b5['shift']());}catch(_0x37fa04){_0x33a7b5['push'](_0x33a7b5['shift']());}}}(_0x1483,0x1d9a2));function _0x1483(){const _0x19fd63=['Ouvrir\x20(Fichier)','42XRxfxV','26684rHiSRf','163287PdffWt','148269YAhXjK','486261BSIkGl','50852GEFgti','Fichier','50lcwSWc','998168CFherW','33842ovGMFY','240lknKkA','5xcYEfe','2yURfKj'];_0x1483=function(){return _0x19fd63;};return _0x1483();}const e={'sheets-exchange-client':{'file':_0x1401c8(0x1f5),'upload':_0x1401c8(0x1ee),'download':'Enregistrer\x20sous'}};function _0xcd86(_0x2fb959,_0x45ad09){_0x2fb959=_0x2fb959-0x1eb;const _0x148388=_0x1483();let _0xcd863f=_0x148388[_0x2fb959];return _0xcd863f;}export{e as default};
|