@univerjs-pro/sheets-exchange-client 1.0.0-beta.0 → 1.0.0-beta.1
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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x17b8bf=_0x4863;function _0x4863(_0x1bf08c,_0x5517e3){_0x1bf08c=_0x1bf08c-0x1c0;const _0x1e864c=_0x1e86();let _0x4863c2=_0x1e864c[_0x1bf08c];return _0x4863c2;}(function(_0x5e42c7,_0x5f0aee){const _0xdf27df=_0x4863,_0x6af383=_0x5e42c7();while(!![]){try{const _0x12eec5=-parseInt(_0xdf27df(0x1d3))/0x1+-parseInt(_0xdf27df(0x1cd))/0x2*(-parseInt(_0xdf27df(0x1c6))/0x3)+-parseInt(_0xdf27df(0x1d4))/0x4+parseInt(_0xdf27df(0x1c8))/0x5*(-parseInt(_0xdf27df(0x1d6))/0x6)+parseInt(_0xdf27df(0x1cf))/0x7+-parseInt(_0xdf27df(0x1d1))/0x8+-parseInt(_0xdf27df(0x1c7))/0x9*(-parseInt(_0xdf27df(0x1d0))/0xa);if(_0x12eec5===_0x5f0aee)break;else _0x6af383['push'](_0x6af383['shift']());}catch(_0x2ede91){_0x6af383['push'](_0x6af383['shift']());}}}(_0x1e86,0x58f81));let e=require('@univerjs-pro/sheets-exchange-client'),t=require('@univerjs/core/facade');var n=class extends t[_0x17b8bf(0x1c4)]{['importSheetToUnitIdAsync'](_0x5f428f){const _0xf59d52=_0x17b8bf;return this[_0xf59d52(0x1c1)][_0xf59d52(0x1d5)](e[_0xf59d52(0x1c2)])[_0xf59d52(0x1cc)](_0x5f428f);}['importSheetToSnapshotAsync'](_0x5c36dc){const _0x29eaed=_0x17b8bf;return this[_0x29eaed(0x1c1)]['get'](e['ISheetExchangeService'])[_0x29eaed(0x1cb)](_0x5c36dc);}[_0x17b8bf(0x1c5)](_0x23c0a1,_0x417f4d,_0x3f9f15){const _0x521851=_0x17b8bf;return this['_injector'][_0x521851(0x1d5)](e[_0x521851(0x1c2)])[_0x521851(0x1ce)](_0x23c0a1,_0x417f4d,_0x3f9f15);}['exportSheetBySnapshotAsync'](_0x3fbc56,_0x9eeb7e,_0x53080e){const _0x482011=_0x17b8bf;return this[_0x482011(0x1c1)][_0x482011(0x1d5)](e['ISheetExchangeService'])[_0x482011(0x1c0)](_0x3fbc56,_0x9eeb7e,_0x53080e);}[_0x17b8bf(0x1d2)](_0x4f0ce9){const _0x31eb05=_0x17b8bf;return this['_injector'][_0x31eb05(0x1d5)](e[_0x31eb05(0x1c2)])[_0x31eb05(0x1c9)](_0x4f0ce9);}[_0x17b8bf(0x1ca)](_0x29dfbd){const _0xd9cef4=_0x17b8bf;return this[_0xd9cef4(0x1c1)][_0xd9cef4(0x1d5)](e[_0xd9cef4(0x1c2)])[_0xd9cef4(0x1c3)](_0x29dfbd);}};function _0x1e86(){const _0x304968=['_injector','ISheetExchangeService','transformWorkbookDataToSnapshotJson','FUniver','exportSheetByUnitIdAsync','76953ALjrBg','4296141OYZKWW','5bxrTxx','transformSnapshotJsonToWorkbookData','transformWorkbookDataToSnapshotJsonAsync','importSheetToSnapshot','importSheetToUnitId','6AQKaES','exportSheetByUnitId','4974375uADBev','10FOkwfy','1042600cFFLzX','transformSnapshotJsonToWorkbookDataAsync','223640viUtqF','820696VeXKaq','get','2048226JUhsef','exportSheetBySnapshot'];_0x1e86=function(){return _0x304968;};return _0x1e86();}t[_0x17b8bf(0x1c4)]['extend'](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 _0xe5c251=_0x517b;(function(_0x3c39bf,_0x3f0a83){const _0x19e148=_0x517b,_0x47e7e9=_0x3c39bf();while(!![]){try{const _0x5f2633=-parseInt(_0x19e148(0x1ea))/0x1*(-parseInt(_0x19e148(0x250))/0x2)+-parseInt(_0x19e148(0x1e0))/0x3*(parseInt(_0x19e148(0x21a))/0x4)+-parseInt(_0x19e148(0x22e))/0x5+parseInt(_0x19e148(0x252))/0x6*(-parseInt(_0x19e148(0x219))/0x7)+-parseInt(_0x19e148(0x245))/0x8*(parseInt(_0x19e148(0x21e))/0x9)+-parseInt(_0x19e148(0x1de))/0xa+-parseInt(_0x19e148(0x213))/0xb*(-parseInt(_0x19e148(0x1e9))/0xc);if(_0x5f2633===_0x3f0a83)break;else _0x47e7e9['push'](_0x47e7e9['shift']());}catch(_0x39382b){_0x47e7e9['push'](_0x47e7e9['shift']());}}}(_0x2c2c,0xd0542),Object['defineProperty'](exports,Symbol[_0xe5c251(0x215)],{'value':'Module'}));function _0x2c2c(){const _0x401b14=['24qxnQLW','1qaGPrd','toPrimitive','constructor','transformSheetBlockMetaToString','decorate','sheets-exchange-client.operation.export-sheet-by-format','IExchangeOperateService','sheets-exchange-client.sheet-exchange.service','snapshot','mergeMenu','getCurrentUnitOfType','Disposable','Inject','CommandType','_createExportOptions','defineProperty','_injector','sheets-exchange-client.file','length','get','importSheetToUnitId','_configService','isCurrentUnitLoadedFromServer','_config','getSheetId','_createImportOptions','MenuItemType','IResourceLoaderService','1.0.0-beta.1','IUniverInstanceService','UniverLicensePlugin','LocaleService','exportSheetBySnapshot','BUTTON','UNIVER_SHEET','exportFileBySnapshot','open','exportSheetByUnitId','WorkbookExportPermission','createIdentifier','getSnapshot','29963857eGPQyy','add','toStringTag','_menuManagerService','_getConfig','IDialogService','63EoEIUJ','11076DenJwu','string','_sheetExchangeService','Plugin','268974DJMPlX','symbol','transformWorkbookSnapshotMetaToString','Failed\x20to\x20transform\x20snapshot\x20to\x20string','EXPORT_FORMAT_DIALOG','saveUnit','getSheets','name','@univerjs-pro/sheets-exchange-client','UniverInstanceType','format','rev','ExportIcon','_initCommands','_resourceLoaderService','DirectExportIcon','3075525xutSsC','IConfigService','importSheetToSnapshot','disposeWithMe','_exchangeService','sheetBlocks','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','function','getOwnPropertyDescriptor','No\x20unit\x20of\x20type\x20','OPERATION','getCurrentRangeDisable$','transformWorkbookDataToSnapshotJson','default','getName','call','CSV','SHEET_EXCHANGE_CLIENT_PLUGIN','XLSX','sheets-exchange-client.download','TSV','_univerInstanceService','object','448OnufMW','sheetId','Injector','_exchangeOperateService','forEach','values','_getCurrentWorkbook','sheets-exchange-client.operation.exchange','version','SheetsExchangeClientMenuSchema','_commandService','1775738QVTYvK','getActiveSheet','838338KquSzL','getUnitId','getMenuHiddenObservable','data','ISheetExchangeService','IExchangeService','\x20is\x20currently\x20active.','transformSnapshotJsonToWorkbookData','ExchangeFormat','map','8923880SKyPmh','OTHERS','1131Xgnqwf','exportFile','pluginName','importFileToSnapshot','ICommandService','sheets-exchange-client.operation.import-sheet','sheets-exchange-client.config','packageName','_initMenus'];_0x2c2c=function(){return _0x401b14;};return _0x2c2c();}function _0x517b(_0x4a0cfa,_0x1b3213){_0x4a0cfa=_0x4a0cfa-0x1d6;const _0x2c2cd1=_0x2c2c();let _0x517b6e=_0x2c2cd1[_0x4a0cfa];return _0x517b6e;}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(_0xc22d9d,_0x43404b){return function(_0x216d66,_0x395c6e){_0x43404b(_0x216d66,_0x395c6e,_0xc22d9d);};}function l(_0x18b580,_0x5bc5eb,_0x51f712,_0x3714e4){const _0x9af069=_0xe5c251;var _0x33ac37=arguments[_0x9af069(0x1fc)],_0x235cee=_0x33ac37<0x3?_0x5bc5eb:_0x3714e4===null?_0x3714e4=Object[_0x9af069(0x236)](_0x5bc5eb,_0x51f712):_0x3714e4,_0x29af28;if(typeof Reflect==_0x9af069(0x244)&&typeof Reflect[_0x9af069(0x1ee)]==_0x9af069(0x235))_0x235cee=Reflect[_0x9af069(0x1ee)](_0x18b580,_0x5bc5eb,_0x51f712,_0x3714e4);else{for(var _0x28068e=_0x18b580['length']-0x1;_0x28068e>=0x0;_0x28068e--)(_0x29af28=_0x18b580[_0x28068e])&&(_0x235cee=(_0x33ac37<0x3?_0x29af28(_0x235cee):_0x33ac37>0x3?_0x29af28(_0x5bc5eb,_0x51f712,_0x235cee):_0x29af28(_0x5bc5eb,_0x51f712))||_0x235cee);}return _0x33ac37>0x3&&_0x235cee&&Object[_0x9af069(0x1f9)](_0x5bc5eb,_0x51f712,_0x235cee),_0x235cee;}const u=(0x0,n[_0xe5c251(0x211)])(_0xe5c251(0x1f1));let d=class{constructor(_0x275ec1,_0x5a0af0){const _0x122037=_0xe5c251;this[_0x122037(0x232)]=_0x275ec1,this[_0x122037(0x1ff)]=_0x5a0af0;}[_0xe5c251(0x1fe)](_0x2d1119){const _0x4311ec=_0xe5c251;let _0x4825d0=this[_0x4311ec(0x203)]();return this[_0x4311ec(0x232)]['importFileToUnitId'](_0x2d1119,n['UniverInstanceType'][_0x4311ec(0x20c)],{'sheet':_0x4825d0});}async['importSheetToSnapshot'](_0x73d6cc){const _0x17168a=_0xe5c251;let _0x1d2134=this[_0x17168a(0x203)](),_0x30d54b=await this[_0x17168a(0x232)]['importFileToJson'](_0x73d6cc,n[_0x17168a(0x227)][_0x17168a(0x20c)],{'sheet':_0x1d2134});return _0x30d54b?this[_0x17168a(0x1db)](_0x30d54b):void 0x0;}['exportSheetByUnitId'](_0x265779,_0x284cb2=t[_0xe5c251(0x1dc)][_0xe5c251(0x240)],_0x2b912e){const _0x43340a=_0xe5c251;let _0x313758=this[_0x43340a(0x1f8)](_0x284cb2,_0x2b912e);return this[_0x43340a(0x232)]['exportFileByUnitId'](_0x265779,n[_0x43340a(0x227)]['UNIVER_SHEET'],_0x284cb2,{'sheet':_0x313758});}async[_0xe5c251(0x20a)](_0x515945,_0x2a1dc9=t[_0xe5c251(0x1dc)]['XLSX'],_0x20cc83){const _0xa13469=_0xe5c251;let _0x459536=await this[_0xa13469(0x23a)](_0x515945),_0x4df2d7=this[_0xa13469(0x1f8)](_0x2a1dc9,_0x20cc83);return this[_0xa13469(0x232)][_0xa13469(0x20d)](_0x459536,n[_0xa13469(0x227)][_0xa13469(0x20c)],_0x2a1dc9,{'sheet':_0x4df2d7});}['transformSnapshotJsonToWorkbookData'](_0x21b86c){const _0x3ae7a8=_0xe5c251;let _0x48c5da=Object[_0x3ae7a8(0x24a)](_0x21b86c[_0x3ae7a8(0x233)]||{})['map'](_0x280817=>({..._0x280817,'data':_0x280817[_0x3ae7a8(0x1d7)]?JSON['parse']((0x0,r['b64DecodeUnicode'])(_0x280817[_0x3ae7a8(0x1d7)])):void 0x0}));return(0x0,r['transformSnapshotToWorkbookData'])(_0x21b86c[_0x3ae7a8(0x1f2)],_0x48c5da);}async[_0xe5c251(0x23a)](_0x42e927){const _0x4d7213=_0xe5c251;let _0x2be659={'metadata':void 0x0},_0x1b6993=new t['ClientSnapshotServerService'](),{snapshot:_0x2b4cbb}=await(0x0,r['transformWorkbookDataToSnapshot'])(_0x2be659,_0x42e927,_0x42e927['id'],_0x42e927[_0x4d7213(0x229)]??0x0,_0x1b6993),_0x329c48=(0x0,t[_0x4d7213(0x220)])(_0x2b4cbb);if(!_0x329c48)throw Error(_0x4d7213(0x221));return{'snapshot':_0x329c48,'sheetBlocks':(0x0,t[_0x4d7213(0x1ed)])(await(0x0,r['getSheetBlocksFromSnapshot'])(_0x2b4cbb,_0x1b6993))};}[_0xe5c251(0x217)](){const _0x5ec996=_0xe5c251;return this[_0x5ec996(0x1ff)]['getConfig']('sheets-exchange-client.config')??s;}[_0xe5c251(0x203)](){const _0x5898f6=_0xe5c251;let {minSheetRowCount:_0x194b83,minSheetColumnCount:_0x3d560c}=this[_0x5898f6(0x217)]();return{'minSheetRowCount':_0x194b83,'minSheetColumnCount':_0x3d560c};}[_0xe5c251(0x1f8)](_0x1e7f90,_0x736a1f){const _0x3a2620=_0xe5c251;let {disableCellImageConversion:_0x1fa050}=this['_getConfig']();return{'useImageUrl':_0x1fa050,..._0x1e7f90!==t[_0x3a2620(0x1dc)][_0x3a2620(0x240)]&&_0x736a1f?{'csv':{'sheetId':_0x736a1f}}:{}};}};d=l([c(0x0,(0x0,n['Inject'])(t[_0xe5c251(0x1d9)])),c(0x1,n[_0xe5c251(0x22f)])],d);const f=(0x0,n[_0xe5c251(0x211)])('sheets-exchange-client.sheet-exchange-operate.service');let p=class{constructor(_0x482d9c,_0x4e8016,_0x3b0e3d,_0x16ced4){const _0x531dbe=_0xe5c251;this[_0x531dbe(0x21c)]=_0x482d9c,this['_exchangeOperateService']=_0x4e8016,this[_0x531dbe(0x243)]=_0x3b0e3d,this[_0x531dbe(0x22c)]=_0x16ced4;}['importSheetToUnitId'](){const _0x59e8f0=_0xe5c251;return this[_0x59e8f0(0x248)]['importFileToUnitId'](n['UniverInstanceType'][_0x59e8f0(0x20c)],_0x2100cc=>this[_0x59e8f0(0x21c)][_0x59e8f0(0x1fe)](_0x2100cc));}[_0xe5c251(0x230)](){const _0x4ad735=_0xe5c251;return this[_0x4ad735(0x248)][_0x4ad735(0x1e3)](n['UniverInstanceType'][_0x4ad735(0x20c)],_0x28799b=>this[_0x4ad735(0x21c)][_0x4ad735(0x230)](_0x28799b));}['exportSheetByUnitId'](_0x27d370,_0x162531,_0x1c17af=t[_0xe5c251(0x1dc)][_0xe5c251(0x240)],_0x3c24be){const _0x1b961a=_0xe5c251;let _0x4af059=this['_getCurrentWorkbook']();return this[_0x1b961a(0x248)]['exportFile'](()=>this[_0x1b961a(0x21c)][_0x1b961a(0x20f)](_0x27d370??_0x4af059['getUnitId'](),_0x1c17af,_0x3c24be),_0x162531??_0x4af059[_0x1b961a(0x212)]()[_0x1b961a(0x225)],_0x1c17af);}[_0xe5c251(0x20a)](_0x4e0878=t[_0xe5c251(0x1dc)][_0xe5c251(0x240)],_0x1c9814){const _0x512151=_0xe5c251;let _0x219805=this[_0x512151(0x24b)](),_0x482aad=this[_0x512151(0x22c)][_0x512151(0x223)](_0x219805[_0x512151(0x253)]())??_0x219805['getSnapshot']();return this[_0x512151(0x248)][_0x512151(0x1e1)](()=>this['_sheetExchangeService'][_0x512151(0x20a)](_0x482aad,_0x4e0878,_0x1c9814),_0x482aad['name'],_0x4e0878);}[_0xe5c251(0x24b)](){const _0xe5fe61=_0xe5c251;let _0x11f1bd=this[_0xe5fe61(0x243)][_0xe5fe61(0x1f4)](n['UniverInstanceType'][_0xe5fe61(0x20c)]);if(!_0x11f1bd)throw Error(_0xe5fe61(0x237)+n['UniverInstanceType']['UNIVER_SHEET']+_0xe5fe61(0x1da));return _0x11f1bd;}};p=l([c(0x0,(0x0,n[_0xe5c251(0x1f6)])(u)),c(0x1,(0x0,n[_0xe5c251(0x1f6)])(t[_0xe5c251(0x1f0)])),c(0x2,n[_0xe5c251(0x207)]),c(0x3,n[_0xe5c251(0x205)])],p);function m(_0x3b34cc){const _0x4a072f=_0xe5c251;var _0x2dc962,_0x4d6454;return{'selectedId':((_0x2dc962=_0x3b34cc[_0x4a072f(0x251)](!0x0))==null?void 0x0:_0x2dc962[_0x4a072f(0x202)]())??((_0x4d6454=_0x3b34cc[_0x4a072f(0x224)]()[0x0])==null?void 0x0:_0x4d6454['getSheetId']())??'','items':_0x3b34cc[_0x4a072f(0x224)]()[_0x4a072f(0x1dd)](_0x277cdd=>({'label':_0x277cdd[_0x4a072f(0x23c)](),'value':_0x277cdd[_0x4a072f(0x202)]()}))};}const h={'id':_0xe5c251(0x1e5),'type':n[_0xe5c251(0x1f7)][_0xe5c251(0x238)],'handler':async _0x13798d=>{const _0x123d02=_0xe5c251;let _0x1ffc4f=_0x13798d[_0x123d02(0x1fd)](f);return(0x0,t[_0x123d02(0x200)])(_0x13798d,n['UniverInstanceType']['UNIVER_SHEET'])?await _0x1ffc4f['importSheetToUnitId']():await _0x1ffc4f[_0x123d02(0x230)](),!0x0;}},g={'id':_0xe5c251(0x1ef),'type':n['CommandType'][_0xe5c251(0x238)],'handler':async(_0x2bf37d,_0x8a040)=>{const _0x4e2af3=_0xe5c251;if(!_0x8a040)return!0x1;let _0x318f79=_0x2bf37d[_0x4e2af3(0x1fd)](f);return(0x0,t['isCurrentUnitLoadedFromServer'])(_0x2bf37d,n[_0x4e2af3(0x227)][_0x4e2af3(0x20c)])?await _0x318f79[_0x4e2af3(0x20f)](void 0x0,void 0x0,_0x8a040[_0x4e2af3(0x228)],_0x8a040['sheetId']):await _0x318f79[_0x4e2af3(0x20a)](_0x8a040[_0x4e2af3(0x228)],_0x8a040[_0x4e2af3(0x246)]),!0x0;}},_={'id':'sheets-exchange-client.operation.export-sheet','type':n[_0xe5c251(0x1f7)][_0xe5c251(0x238)],'handler':_0x258e72=>{const _0x33ed99=_0xe5c251;let _0x578485=_0x258e72['get'](n[_0x33ed99(0x207)])[_0x33ed99(0x1f4)](n[_0x33ed99(0x227)][_0x33ed99(0x20c)]);if(!_0x578485)return!0x1;let _0x5e525a=m(_0x578485),_0x3671cd=_0x258e72['get'](e[_0x33ed99(0x218)]),_0x598fdc=_0x258e72['get'](n[_0x33ed99(0x1e4)]),_0x35ccab=_0x258e72[_0x33ed99(0x1fd)](n[_0x33ed99(0x209)]),_0x457b5a=null,_0x44efb0=()=>{_0x457b5a==null||_0x457b5a['dispose'](),_0x457b5a=null;};return _0x457b5a=_0x3671cd[_0x33ed99(0x20e)]({'id':'sheets-exchange-client.dialog.export-format','title':{'title':_0x35ccab['t']('sheets-exchange-client.download')},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':t[_0x33ed99(0x222)],'props':{'formats':[t[_0x33ed99(0x1dc)][_0x33ed99(0x240)],t[_0x33ed99(0x1dc)][_0x33ed99(0x23e)],t['ExchangeFormat'][_0x33ed99(0x242)]],..._0x5e525a,'onCancel':_0x44efb0,'onConfirm':async(_0x13862f,_0x34b6eb)=>{await _0x598fdc['executeCommand'](g['id'],{'format':_0x13862f,'sheetId':_0x34b6eb}),_0x44efb0();}}}},'onClose':_0x44efb0}),!0x0;}},v=_0xe5c251(0x24c);function y(_0x3d5253){const _0x5aeebe=_0xe5c251;return{'id':v,'type':e[_0x5aeebe(0x204)]['SUBITEMS'],'icon':_0x5aeebe(0x22d),'tooltip':_0x5aeebe(0x1fb),'hidden$':(0x0,e[_0x5aeebe(0x1d6)])(_0x3d5253,n[_0x5aeebe(0x227)][_0x5aeebe(0x20c)]),'disabled$':(0x0,a[_0x5aeebe(0x239)])(_0x3d5253,{'workbookTypes':[i[_0x5aeebe(0x210)]]})};}function b(){const _0x211725=_0xe5c251;return{'id':h['id'],'type':e['MenuItemType'][_0x211725(0x20b)],'title':'sheets-exchange-client.upload','icon':'FolderIcon'};}function x(){const _0x305696=_0xe5c251;return{'id':_['id'],'type':e[_0x305696(0x204)]['BUTTON'],'title':_0x305696(0x241),'icon':_0x305696(0x22a)};}const S={[e['RibbonStartGroup'][_0xe5c251(0x1df)]]:{[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=_0xe5c251(0x226),w=_0xe5c251(0x206);let T=class extends n[_0xe5c251(0x1f5)]{constructor(_0x3966e6,_0xc8981){const _0x43eb1f=_0xe5c251;super(),this[_0x43eb1f(0x24f)]=_0x3966e6,this[_0x43eb1f(0x216)]=_0xc8981,this[_0x43eb1f(0x22b)](),this[_0x43eb1f(0x1e8)]();}[_0xe5c251(0x22b)](){const _0x5bae51=_0xe5c251;[h,_,g][_0x5bae51(0x249)](_0x16c39f=>{const _0x1964ae=_0x5bae51;this[_0x1964ae(0x231)](this[_0x1964ae(0x24f)]['registerCommand'](_0x16c39f));});}[_0xe5c251(0x1e8)](){const _0x17e83f=_0xe5c251;this['_menuManagerService'][_0x17e83f(0x1f3)](S);}};T=l([c(0x0,n[_0xe5c251(0x1e4)]),c(0x1,e['IMenuManagerService'])],T);function E(_0x4d1ee0){'@babel/helpers - typeof';const _0xe6374b=_0xe5c251;return E=typeof Symbol==_0xe6374b(0x235)&&typeof Symbol['iterator']=='symbol'?function(_0x2bb840){return typeof _0x2bb840;}:function(_0x2a34b8){const _0x2973ec=_0xe6374b;return _0x2a34b8&&typeof Symbol==_0x2973ec(0x235)&&_0x2a34b8[_0x2973ec(0x1ec)]===Symbol&&_0x2a34b8!==Symbol['prototype']?_0x2973ec(0x21f):typeof _0x2a34b8;},E(_0x4d1ee0);}function D(_0x4cf852,_0x13e29a){const _0x149f00=_0xe5c251;if(E(_0x4cf852)!='object'||!_0x4cf852)return _0x4cf852;var _0x5a99fe=_0x4cf852[Symbol[_0x149f00(0x1eb)]];if(_0x5a99fe!==void 0x0){var _0x2514b7=_0x5a99fe[_0x149f00(0x23d)](_0x4cf852,_0x13e29a||_0x149f00(0x23b));if(E(_0x2514b7)!='object')return _0x2514b7;throw TypeError(_0x149f00(0x234));}return(_0x13e29a==='string'?String:Number)(_0x4cf852);}function O(_0x2bf23e){const _0xce915d=_0xe5c251;var _0x12220c=D(_0x2bf23e,_0xce915d(0x21b));return E(_0x12220c)==_0xce915d(0x21f)?_0x12220c:_0x12220c+'';}function k(_0x4fe8d4,_0x3acc23,_0x215dbf){const _0x2e26ac=_0xe5c251;return(_0x3acc23=O(_0x3acc23))in _0x4fe8d4?Object[_0x2e26ac(0x1f9)](_0x4fe8d4,_0x3acc23,{'value':_0x215dbf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4fe8d4[_0x3acc23]=_0x215dbf,_0x4fe8d4;}let A=class extends n[_0xe5c251(0x21d)]{constructor(_0x4426e5=s,_0x4079fc,_0x3ee33e){const _0x710fb6=_0xe5c251;super(),this[_0x710fb6(0x201)]=_0x4426e5,this[_0x710fb6(0x1fa)]=_0x4079fc,this['_configService']=_0x3ee33e;let {menu:_0x50541b,..._0xd8f566}=(0x0,n['merge'])({},s,this['_config']);_0x50541b&&this[_0x710fb6(0x1ff)]['setConfig']('menu',_0x50541b,{'merge':!0x0}),this['_configService']['setConfig'](_0x710fb6(0x1e6),_0xd8f566);}['onStarting'](){const _0x44f993=_0xe5c251;[[u,{'useClass':d}],[f,{'useClass':p}],[T]][_0x44f993(0x249)](_0x35021d=>this['_injector'][_0x44f993(0x214)](_0x35021d));}['onReady'](){const _0xdc8266=_0xe5c251;this['_injector'][_0xdc8266(0x1fd)](T);}};k(A,_0xe5c251(0x1e2),_0xe5c251(0x23f)),k(A,_0xe5c251(0x1e7),C),k(A,_0xe5c251(0x24d),w),k(A,'type',n[_0xe5c251(0x227)][_0xe5c251(0x20c)]),A=l([(0x0,n['DependentOn'])(o[_0xe5c251(0x208)],t['UniverExchangeClientPlugin']),c(0x1,(0x0,n[_0xe5c251(0x1f6)])(n[_0xe5c251(0x247)])),c(0x2,n['IConfigService'])],A),exports[_0xe5c251(0x1d8)]=u,exports[_0xe5c251(0x24e)]=S,Object[_0xe5c251(0x1f9)](exports,'UniverSheetsExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return A;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1cc3a7=_0x275c;(function(_0x13e8db,_0xcdd7dc){const _0x22385e=_0x275c,_0x13561d=_0x13e8db();while(!![]){try{const _0x299ca9=-parseInt(_0x22385e(0x1a1))/0x1+parseInt(_0x22385e(0x1a6))/0x2*(-parseInt(_0x22385e(0x1a0))/0x3)+parseInt(_0x22385e(0x19f))/0x4+parseInt(_0x22385e(0x1ac))/0x5+-parseInt(_0x22385e(0x1a9))/0x6*(-parseInt(_0x22385e(0x1a4))/0x7)+-parseInt(_0x22385e(0x1a7))/0x8*(parseInt(_0x22385e(0x1aa))/0x9)+parseInt(_0x22385e(0x1ab))/0xa*(parseInt(_0x22385e(0x1a3))/0xb);if(_0x299ca9===_0xcdd7dc)break;else _0x13561d['push'](_0x13561d['shift']());}catch(_0x36f62b){_0x13561d['push'](_0x13561d['shift']());}}}(_0x41d1,0xbfba9));const e={'sheets-exchange-client':{'file':_0x1cc3a7(0x19e),'upload':_0x1cc3a7(0x1a2),'download':_0x1cc3a7(0x1a5)}};function _0x275c(_0x54a5d2,_0x440d54){_0x54a5d2=_0x54a5d2-0x19e;const _0x41d143=_0x41d1();let _0x275cdb=_0x41d143[_0x54a5d2];return _0x275cdb;}module[_0x1cc3a7(0x1a8)]=e;function _0x41d1(){const _0x46d7ab=['exports','122610kWuJbq','2787633dCZXWU','10PELtLd','2225020eNGIqd','ملف','1646452XaHBXB','315516xaUSvq','433822eHaIEN','فتح\x20(ملف)','6986639ICKhCd','371joiWcl','حفظ\x20باسم','14kvWqMD','16JSQLUM'];_0x41d1=function(){return _0x46d7ab;};return _0x41d1();}
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x211c05=_0x3a82;(function(_0x2b386d,_0x1fad9c){const _0xf28c5c=_0x3a82,_0x5e7eb9=_0x2b386d();while(!![]){try{const _0x31b1c9=parseInt(_0xf28c5c(0x9c))/0x1*(-parseInt(_0xf28c5c(0x9d))/0x2)+parseInt(_0xf28c5c(0x96))/0x3*(parseInt(_0xf28c5c(0x9a))/0x4)+parseInt(_0xf28c5c(0x9f))/0x5*(parseInt(_0xf28c5c(0xa0))/0x6)+-parseInt(_0xf28c5c(0x97))/0x7+parseInt(_0xf28c5c(0x93))/0x8*(-parseInt(_0xf28c5c(0x92))/0x9)+parseInt(_0xf28c5c(0x95))/0xa*(-parseInt(_0xf28c5c(0x91))/0xb)+parseInt(_0xf28c5c(0x9b))/0xc;if(_0x31b1c9===_0x1fad9c)break;else _0x5e7eb9['push'](_0x5e7eb9['shift']());}catch(_0x417a08){_0x5e7eb9['push'](_0x5e7eb9['shift']());}}}(_0xed68,0x94aa3));function _0x3a82(_0x4a9c2d,_0x3a5793){_0x4a9c2d=_0x4a9c2d-0x91;const _0xed68b5=_0xed68();let _0x3a825d=_0xed68b5[_0x4a9c2d];return _0x3a825d;}function _0xed68(){const _0x31b2e2=['2783557vUmQmM','Obrir(Fitxer)','exports','12virqwI','23763816boMRjj','18620FNCSKA','44kLfGKK','Fitxer','5285wFVXVW','402dYQNUQ','6939823rWulkS','1507149bbALyl','40AsTrsV','Anomena\x20i\x20desa','10GyMzSU','833283tFQplk'];_0xed68=function(){return _0x31b2e2;};return _0xed68();}const e={'sheets-exchange-client':{'file':_0x211c05(0x9e),'upload':_0x211c05(0x98),'download':_0x211c05(0x94)}};module[_0x211c05(0x99)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3a0e(_0xba6fb4,_0x5c3f8a){_0xba6fb4=_0xba6fb4-0x186;const _0x52d1ed=_0x52d1();let _0x3a0ed2=_0x52d1ed[_0xba6fb4];return _0x3a0ed2;}const _0x359200=_0x3a0e;(function(_0x2679f6,_0xb02029){const _0x3aada0=_0x3a0e,_0x5d5157=_0x2679f6();while(!![]){try{const _0x3668d5=parseInt(_0x3aada0(0x188))/0x1+-parseInt(_0x3aada0(0x18c))/0x2+parseInt(_0x3aada0(0x190))/0x3+-parseInt(_0x3aada0(0x18d))/0x4*(parseInt(_0x3aada0(0x18f))/0x5)+-parseInt(_0x3aada0(0x18a))/0x6*(parseInt(_0x3aada0(0x191))/0x7)+-parseInt(_0x3aada0(0x192))/0x8*(-parseInt(_0x3aada0(0x187))/0x9)+parseInt(_0x3aada0(0x193))/0xa*(parseInt(_0x3aada0(0x18b))/0xb);if(_0x3668d5===_0xb02029)break;else _0x5d5157['push'](_0x5d5157['shift']());}catch(_0x2adba7){_0x5d5157['push'](_0x5d5157['shift']());}}}(_0x52d1,0x86f0a));const e={'sheets-exchange-client':{'file':_0x359200(0x18e),'upload':_0x359200(0x189),'download':'Speichern\x20unter'}};module[_0x359200(0x186)]=e;function _0x52d1(){const _0xa615dc=['682097vUshLl','Öffnen\x20(Datei)','140634NFNLPr','10003169BIzone','1309904FDJBcD','424PhazQK','Datei','40465fIOpQs','2221890TuuxYc','175fYmMCi','82424FYMKMo','10vrbBav','exports','279EAwOpx'];_0x52d1=function(){return _0xa615dc;};return _0x52d1();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x42805c=_0x3237;(function(_0x4082cb,_0xd9ff49){const _0x10ed96=_0x3237,_0x134632=_0x4082cb();while(!![]){try{const _0x246e5a=parseInt(_0x10ed96(0x1f6))/0x1*(-parseInt(_0x10ed96(0x1fe))/0x2)+-parseInt(_0x10ed96(0x1f2))/0x3*(-parseInt(_0x10ed96(0x1fb))/0x4)+-parseInt(_0x10ed96(0x1f4))/0x5+-parseInt(_0x10ed96(0x1f5))/0x6*(-parseInt(_0x10ed96(0x1f3))/0x7)+-parseInt(_0x10ed96(0x1fd))/0x8+-parseInt(_0x10ed96(0x1f0))/0x9+-parseInt(_0x10ed96(0x1f8))/0xa*(-parseInt(_0x10ed96(0x1fa))/0xb);if(_0x246e5a===_0xd9ff49)break;else _0x134632['push'](_0x134632['shift']());}catch(_0x14d183){_0x134632['push'](_0x134632['shift']());}}}(_0xb1e0,0x21876));const e={'sheets-exchange-client':{'file':_0x42805c(0x1f9),'upload':_0x42805c(0x1f1),'download':_0x42805c(0x1fc)}};function _0x3237(_0x2f3313,_0x3ac203){_0x2f3313=_0x2f3313-0x1f0;const _0xb1e0f6=_0xb1e0();let _0x323726=_0xb1e0f6[_0x2f3313];return _0x323726;}function _0xb1e0(){const _0x270493=['66jQEyNa','exports','10EkFKal','File','3698761gjJoEK','712Vctiev','Save\x20As','642688Tephua','1746LjDYVV','516069OGjUZO','Open(File)','1941CzYBGL','119rWogQJ','668570AgtMnT','5268ryGWcz'];_0xb1e0=function(){return _0x270493;};return _0xb1e0();}module[_0x42805c(0x1f7)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2700(){const _0x7ffa9d=['220402anrrJJ','9eVBJMs','3815016kCyheh','180hAgafe','809796JsneKY','4NKzwaR','Abrir(Archivo)','5ANlLHc','Archivo','1321771FbidKd','339442Iivtre','2799303OttaBz','Guardar\x20como','4721050KRvFhT','exports'];_0x2700=function(){return _0x7ffa9d;};return _0x2700();}const _0x47ffc6=_0x3cbc;(function(_0x16c03d,_0x28ddb2){const _0x1f774c=_0x3cbc,_0x237aee=_0x16c03d();while(!![]){try{const _0xfc4eec=-parseInt(_0x1f774c(0x138))/0x1*(-parseInt(_0x1f774c(0x13b))/0x2)+-parseInt(_0x1f774c(0x13c))/0x3*(parseInt(_0x1f774c(0x145))/0x4)+-parseInt(_0x1f774c(0x13e))/0x5+-parseInt(_0x1f774c(0x144))/0x6+-parseInt(_0x1f774c(0x140))/0x7+parseInt(_0x1f774c(0x142))/0x8*(-parseInt(_0x1f774c(0x141))/0x9)+-parseInt(_0x1f774c(0x143))/0xa*(-parseInt(_0x1f774c(0x13a))/0xb);if(_0xfc4eec===_0x28ddb2)break;else _0x237aee['push'](_0x237aee['shift']());}catch(_0x22a773){_0x237aee['push'](_0x237aee['shift']());}}}(_0x2700,0x77d6f));const e={'sheets-exchange-client':{'file':_0x47ffc6(0x139),'upload':_0x47ffc6(0x146),'download':_0x47ffc6(0x13d)}};function _0x3cbc(_0x497c78,_0x3f29d0){_0x497c78=_0x497c78-0x138;const _0x2700f2=_0x2700();let _0x3cbc89=_0x2700f2[_0x497c78];return _0x3cbc89;}module[_0x47ffc6(0x13f)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3d4c1e=_0x8641;(function(_0x46bcfd,_0x32f0f7){const _0x388b9b=_0x8641,_0x3652e1=_0x46bcfd();while(!![]){try{const _0x4222d4=-parseInt(_0x388b9b(0xa2))/0x1*(-parseInt(_0x388b9b(0xae))/0x2)+parseInt(_0x388b9b(0xaa))/0x3+-parseInt(_0x388b9b(0xa6))/0x4*(parseInt(_0x388b9b(0xa7))/0x5)+parseInt(_0x388b9b(0xad))/0x6*(-parseInt(_0x388b9b(0xab))/0x7)+parseInt(_0x388b9b(0xa9))/0x8+-parseInt(_0x388b9b(0xac))/0x9*(parseInt(_0x388b9b(0xa3))/0xa)+parseInt(_0x388b9b(0xa4))/0xb;if(_0x4222d4===_0x32f0f7)break;else _0x3652e1['push'](_0x3652e1['shift']());}catch(_0x49d474){_0x3652e1['push'](_0x3652e1['shift']());}}}(_0x52a4,0xee78a));function _0x8641(_0x18336c,_0x11f4e6){_0x18336c=_0x18336c-0xa1;const _0x52a4c2=_0x52a4();let _0x864129=_0x52a4c2[_0x18336c];return _0x864129;}const e={'sheets-exchange-client':{'file':_0x3d4c1e(0xa1),'upload':'بازکردن(فایل)','download':_0x3d4c1e(0xa5)}};function _0x52a4(){const _0x51c846=['1372rQEiFn','27635YHkylP','exports','4794048qnVQLl','5736600INZMrh','4129531YZLVyE','2322549HwpXgq','18zzhBKI','2aNjWVS','فایل','1332077SeDwqE','10dPoVBB','11625526AFgTQW','ذخیره\x20به\x20عنوان'];_0x52a4=function(){return _0x51c846;};return _0x52a4();}module[_0x3d4c1e(0xa8)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x141650=_0xb706;(function(_0x57b694,_0x425acb){const _0x176a49=_0xb706,_0x4fa5b1=_0x57b694();while(!![]){try{const _0x491dac=-parseInt(_0x176a49(0x178))/0x1+parseInt(_0x176a49(0x17f))/0x2*(parseInt(_0x176a49(0x17c))/0x3)+parseInt(_0x176a49(0x179))/0x4*(parseInt(_0x176a49(0x182))/0x5)+parseInt(_0x176a49(0x181))/0x6*(parseInt(_0x176a49(0x180))/0x7)+parseInt(_0x176a49(0x177))/0x8+parseInt(_0x176a49(0x176))/0x9+-parseInt(_0x176a49(0x17b))/0xa;if(_0x491dac===_0x425acb)break;else _0x4fa5b1['push'](_0x4fa5b1['shift']());}catch(_0x336aec){_0x4fa5b1['push'](_0x4fa5b1['shift']());}}}(_0x2f82,0x7b066));function _0x2f82(){const _0x31c963=['Ouvrir\x20(Fichier)','20579760duZnJX','3513JGVSTJ','Fichier','exports','1438KzxYAI','203672WMJCXc','18VIcaVX','50HkBKkt','7682355OLbQIj','7537520mGsGIW','603546fqTlEy','176164qiyavg'];_0x2f82=function(){return _0x31c963;};return _0x2f82();}const e={'sheets-exchange-client':{'file':_0x141650(0x17d),'upload':_0x141650(0x17a),'download':'Enregistrer\x20sous'}};function _0xb706(_0xa0ed90,_0x27818c){_0xa0ed90=_0xa0ed90-0x176;const _0x2f82bd=_0x2f82();let _0xb7069=_0x2f82bd[_0xa0ed90];return _0xb7069;}module[_0x141650(0x17e)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x19f867=_0x330c;function _0x330c(_0x2aff2d,_0x3c4ba5){_0x2aff2d=_0x2aff2d-0x115;const _0x39e4d6=_0x39e4();let _0x330c1=_0x39e4d6[_0x2aff2d];return _0x330c1;}(function(_0x63c355,_0x1c8aba){const _0x584ac8=_0x330c,_0x46e46f=_0x63c355();while(!![]){try{const _0xba0f13=-parseInt(_0x584ac8(0x116))/0x1*(-parseInt(_0x584ac8(0x122))/0x2)+-parseInt(_0x584ac8(0x119))/0x3*(-parseInt(_0x584ac8(0x121))/0x4)+-parseInt(_0x584ac8(0x11c))/0x5*(parseInt(_0x584ac8(0x11b))/0x6)+-parseInt(_0x584ac8(0x120))/0x7*(-parseInt(_0x584ac8(0x118))/0x8)+parseInt(_0x584ac8(0x11a))/0x9+parseInt(_0x584ac8(0x11e))/0xa*(parseInt(_0x584ac8(0x115))/0xb)+-parseInt(_0x584ac8(0x11f))/0xc;if(_0xba0f13===_0x1c8aba)break;else _0x46e46f['push'](_0x46e46f['shift']());}catch(_0x3b6ae7){_0x46e46f['push'](_0x46e46f['shift']());}}}(_0x39e4,0xe2a09));const e={'sheets-exchange-client':{'file':_0x19f867(0x11d),'upload':'Buka(File)','download':_0x19f867(0x117)}};function _0x39e4(){const _0x36fa6c=['705263Poderp','Simpan\x20Sebagai','112OIYhqo','1755438ecpsOn','6521067Ctffsd','6DAzCpL','47605NOYRen','File','751790aPTcra','62615664ajexqB','719131kETbBg','12qwbCJb','4NzumnL','121ebmzkC'];_0x39e4=function(){return _0x36fa6c;};return _0x39e4();}module['exports']=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x182fb2=_0x2147;(function(_0x3a288a,_0x1520a5){const _0x4f0f58=_0x2147,_0xb218f8=_0x3a288a();while(!![]){try{const _0x142a2b=parseInt(_0x4f0f58(0xd4))/0x1*(-parseInt(_0x4f0f58(0xdd))/0x2)+-parseInt(_0x4f0f58(0xd5))/0x3*(parseInt(_0x4f0f58(0xd9))/0x4)+parseInt(_0x4f0f58(0xe0))/0x5*(parseInt(_0x4f0f58(0xda))/0x6)+-parseInt(_0x4f0f58(0xdc))/0x7*(parseInt(_0x4f0f58(0xd7))/0x8)+parseInt(_0x4f0f58(0xdb))/0x9+parseInt(_0x4f0f58(0xd6))/0xa+-parseInt(_0x4f0f58(0xd8))/0xb*(-parseInt(_0x4f0f58(0xde))/0xc);if(_0x142a2b===_0x1520a5)break;else _0xb218f8['push'](_0xb218f8['shift']());}catch(_0x1c997e){_0xb218f8['push'](_0xb218f8['shift']());}}}(_0x24d3,0xd8363));function _0x2147(_0x1e20aa,_0xbe0a5d){_0x1e20aa=_0x1e20aa-0xd4;const _0x24d390=_0x24d3();let _0x2147fb=_0x24d390[_0x1e20aa];return _0x2147fb;}const e={'sheets-exchange-client':{'file':'File','upload':'Apri\x20(File)','download':_0x182fb2(0xdf)}};function _0x24d3(){const _0x10d513=['10021711iWYbMC','19372SXQmAx','23640OGUbsL','Salva\x20con\x20nome','10tygmVz','1faOhGw','165LGPtyv','7404080NyCAjz','8LjRQfe','3234CTkQRL','57856zaXFAz','301668QujOjP','15321042ZzdwBj'];_0x24d3=function(){return _0x10d513;};return _0x24d3();}module['exports']=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x42e900=_0x2447;(function(_0x4fcd22,_0x401499){const _0x1a0a8c=_0x2447,_0x375131=_0x4fcd22();while(!![]){try{const _0x5ec834=-parseInt(_0x1a0a8c(0xea))/0x1*(-parseInt(_0x1a0a8c(0xec))/0x2)+parseInt(_0x1a0a8c(0xef))/0x3*(-parseInt(_0x1a0a8c(0xf3))/0x4)+parseInt(_0x1a0a8c(0xf2))/0x5*(parseInt(_0x1a0a8c(0xf5))/0x6)+parseInt(_0x1a0a8c(0xe5))/0x7*(parseInt(_0x1a0a8c(0xe6))/0x8)+parseInt(_0x1a0a8c(0xe8))/0x9*(-parseInt(_0x1a0a8c(0xf1))/0xa)+parseInt(_0x1a0a8c(0xe9))/0xb*(-parseInt(_0x1a0a8c(0xf4))/0xc)+parseInt(_0x1a0a8c(0xf0))/0xd;if(_0x5ec834===_0x401499)break;else _0x375131['push'](_0x375131['shift']());}catch(_0x57278f){_0x375131['push'](_0x375131['shift']());}}}(_0x9ce3,0x6436b));const e={'sheets-exchange-client':{'file':_0x42e900(0xee),'upload':_0x42e900(0xed),'download':_0x42e900(0xeb)}};function _0x2447(_0xdb70bf,_0x505cea){_0xdb70bf=_0xdb70bf-0xe5;const _0x9ce38e=_0x9ce3();let _0x2447b8=_0x9ce38e[_0xdb70bf];return _0x2447b8;}function _0x9ce3(){const _0x416d16=['1313810fTbtzt','43345UaeYbW','20foXSqw','2462316WnhnlH','258VYwGXt','21oJUvjS','735192uQbmbE','exports','9OhpEug','44VkTDPq','491uUKADk','名前を付けて保存','1328LLQqqH','開く(ファイル)','ファイル','361713dUwgYP','12882935DDQugS'];_0x9ce3=function(){return _0x416d16;};return _0x9ce3();}module[_0x42e900(0xe7)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5cb72c=_0x2f43;function _0x5947(){const _0x4f8e27=['28hGAxIm','4065696wTvLgL','다른\x20이름으로\x20저장','28206FGHcoH','80HQirjy','열기(파일)','28680408GDHISZ','1380688eDpeTJ','exports','11IIamDM','28DEvBRk','13197940SLXoDc','3561uHDcAM','1095Jvzydb','32328LqYzaT'];_0x5947=function(){return _0x4f8e27;};return _0x5947();}(function(_0x4c1d49,_0x1ccd99){const _0x4a55b5=_0x2f43,_0x43ea12=_0x4c1d49();while(!![]){try{const _0x27f7ed=-parseInt(_0x4a55b5(0x13e))/0x1*(parseInt(_0x4a55b5(0x137))/0x2)+-parseInt(_0x4a55b5(0x140))/0x3*(parseInt(_0x4a55b5(0x138))/0x4)+parseInt(_0x4a55b5(0x141))/0x5*(parseInt(_0x4a55b5(0x142))/0x6)+parseInt(_0x4a55b5(0x143))/0x7*(-parseInt(_0x4a55b5(0x13b))/0x8)+-parseInt(_0x4a55b5(0x144))/0x9+-parseInt(_0x4a55b5(0x13f))/0xa+-parseInt(_0x4a55b5(0x13d))/0xb*(-parseInt(_0x4a55b5(0x13a))/0xc);if(_0x27f7ed===_0x1ccd99)break;else _0x43ea12['push'](_0x43ea12['shift']());}catch(_0x1eef1c){_0x43ea12['push'](_0x43ea12['shift']());}}}(_0x5947,0xa855c));function _0x2f43(_0x4af49e,_0xd3c485){_0x4af49e=_0x4af49e-0x136;const _0x59473e=_0x5947();let _0x2f43cc=_0x59473e[_0x4af49e];return _0x2f43cc;}const e={'sheets-exchange-client':{'file':'파일','upload':_0x5cb72c(0x139),'download':_0x5cb72c(0x136)}};module[_0x5cb72c(0x13c)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x7a28(){const _0x1ed992=['14kTpCBZ','exports','894624DsEcyl','883805pFCAAh','599208CPLCwC','2702340zNOyfs','202mUbied','7065090EVzSFc','519BAWCVI','Plik','852333cOxvhC','4zZGosk'];_0x7a28=function(){return _0x1ed992;};return _0x7a28();}const _0x5a4046=_0x80a7;(function(_0x2f4dad,_0x326371){const _0x17025a=_0x80a7,_0x498dd4=_0x2f4dad();while(!![]){try{const _0x5c476c=-parseInt(_0x17025a(0xd7))/0x1*(parseInt(_0x17025a(0xd5))/0x2)+parseInt(_0x17025a(0xd9))/0x3*(-parseInt(_0x17025a(0xda))/0x4)+-parseInt(_0x17025a(0xde))/0x5+parseInt(_0x17025a(0xd3))/0x6*(-parseInt(_0x17025a(0xdb))/0x7)+-parseInt(_0x17025a(0xdd))/0x8+parseInt(_0x17025a(0xd4))/0x9+parseInt(_0x17025a(0xd6))/0xa;if(_0x5c476c===_0x326371)break;else _0x498dd4['push'](_0x498dd4['shift']());}catch(_0x6b9602){_0x498dd4['push'](_0x498dd4['shift']());}}}(_0x7a28,0x2c69a));const e={'sheets-exchange-client':{'file':_0x5a4046(0xd8),'upload':'Otwórz\x20(plik)','download':'Zapisz\x20jako'}};function _0x80a7(_0x25a3d9,_0x50dbea){_0x25a3d9=_0x25a3d9-0xd3;const _0x7a28b1=_0x7a28();let _0x80a783=_0x7a28b1[_0x25a3d9];return _0x80a783;}module[_0x5a4046(0xdc)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x24d2(){const _0x4c7621=['611226OMbQoU','1875387sCVzSr','1027306jsQFML','1324264PdmsUn','17154lVEhEe','959VYffHp','4NstLxG','exports','1921464qviyEU','80NQAgGe','1506215GDLGKn'];_0x24d2=function(){return _0x4c7621;};return _0x24d2();}const _0x4ed28d=_0x5cd1;(function(_0x22513e,_0xa1dfd7){const _0x22b8e9=_0x5cd1,_0x58d615=_0x22513e();while(!![]){try{const _0x305a08=-parseInt(_0x22b8e9(0x143))/0x1+-parseInt(_0x22b8e9(0x145))/0x2+-parseInt(_0x22b8e9(0x144))/0x3*(-parseInt(_0x22b8e9(0x13e))/0x4)+-parseInt(_0x22b8e9(0x142))/0x5+-parseInt(_0x22b8e9(0x13c))/0x6*(parseInt(_0x22b8e9(0x13d))/0x7)+-parseInt(_0x22b8e9(0x146))/0x8+-parseInt(_0x22b8e9(0x140))/0x9*(-parseInt(_0x22b8e9(0x141))/0xa);if(_0x305a08===_0xa1dfd7)break;else _0x58d615['push'](_0x58d615['shift']());}catch(_0x1590b5){_0x58d615['push'](_0x58d615['shift']());}}}(_0x24d2,0x5563f));const e={'sheets-exchange-client':{'file':'Arquivo','upload':'Abrir\x20(Arquivo)','download':'Salvar\x20Como'}};function _0x5cd1(_0x9b971,_0x9511ec){_0x9b971=_0x9b971-0x13c;const _0x24d26f=_0x24d2();let _0x5cd1f4=_0x24d26f[_0x9b971];return _0x5cd1f4;}module[_0x4ed28d(0x13f)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x58d0(_0x3d2a9e,_0xfc1738){_0x3d2a9e=_0x3d2a9e-0xcc;const _0x3165b0=_0x3165();let _0x58d072=_0x3165b0[_0x3d2a9e];return _0x58d072;}const _0x5cdcd5=_0x58d0;(function(_0x195753,_0x59a9cb){const _0x1984a8=_0x58d0,_0x22a618=_0x195753();while(!![]){try{const _0x322be3=-parseInt(_0x1984a8(0xcc))/0x1*(-parseInt(_0x1984a8(0xd5))/0x2)+-parseInt(_0x1984a8(0xd3))/0x3+parseInt(_0x1984a8(0xd8))/0x4+parseInt(_0x1984a8(0xd2))/0x5*(parseInt(_0x1984a8(0xd7))/0x6)+parseInt(_0x1984a8(0xd9))/0x7*(-parseInt(_0x1984a8(0xd6))/0x8)+-parseInt(_0x1984a8(0xd0))/0x9*(-parseInt(_0x1984a8(0xcf))/0xa)+-parseInt(_0x1984a8(0xcd))/0xb;if(_0x322be3===_0x59a9cb)break;else _0x22a618['push'](_0x22a618['shift']());}catch(_0x337796){_0x22a618['push'](_0x22a618['shift']());}}}(_0x3165,0x2f681));const e={'sheets-exchange-client':{'file':'Файл','upload':_0x5cdcd5(0xce),'download':_0x5cdcd5(0xd1)}};module[_0x5cdcd5(0xd4)]=e;function _0x3165(){const _0x10a87b=['157058NjBnUz','Открыть(Файл)','472970UFqROK','9LErRaw','Сохранить\x20как','40XQLwAE','1006494TvvMLJ','exports','196hpYiyw','16LdLNLH','81738BcoCKv','1145912aFrXBv','489944yfwKGW','2461WVfadj'];_0x3165=function(){return _0x10a87b;};return _0x3165();}
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x317aff=_0x6485;function _0x6485(_0xf71fc0,_0xcdb1e9){_0xf71fc0=_0xf71fc0-0x71;const _0x5125bd=_0x5125();let _0x648577=_0x5125bd[_0xf71fc0];return _0x648577;}(function(_0x3174d6,_0x41c8f9){const _0x48c223=_0x6485,_0x34af3e=_0x3174d6();while(!![]){try{const _0x2f9a59=-parseInt(_0x48c223(0x7d))/0x1*(parseInt(_0x48c223(0x77))/0x2)+parseInt(_0x48c223(0x78))/0x3*(parseInt(_0x48c223(0x74))/0x4)+parseInt(_0x48c223(0x72))/0x5*(-parseInt(_0x48c223(0x73))/0x6)+parseInt(_0x48c223(0x75))/0x7+parseInt(_0x48c223(0x7e))/0x8*(-parseInt(_0x48c223(0x7f))/0x9)+-parseInt(_0x48c223(0x76))/0xa+parseInt(_0x48c223(0x7a))/0xb;if(_0x2f9a59===_0x41c8f9)break;else _0x34af3e['push'](_0x34af3e['shift']());}catch(_0x1aebcd){_0x34af3e['push'](_0x34af3e['shift']());}}}(_0x5125,0xa8537));function _0x5125(){const _0x1d89ca=['4YySpvx','8758113NCoRok','677060yYpGZm','6Qplgtf','593457PbCXcV','Otvoriť\x20(súbor)','8597501kdqqVW','Súbor','exports','282571ojwDYk','8aVBlJa','1564884vaxMOH','Uložiť\x20ako','5QxMdhd','2710866cZBDfW'];_0x5125=function(){return _0x1d89ca;};return _0x5125();}const e={'sheets-exchange-client':{'file':_0x317aff(0x7b),'upload':_0x317aff(0x79),'download':_0x317aff(0x71)}};module[_0x317aff(0x7c)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x995a3a=_0x4ca6;(function(_0x26828b,_0x4ea882){const _0x380200=_0x4ca6,_0x5e257b=_0x26828b();while(!![]){try{const _0x40ee2d=-parseInt(_0x380200(0x11c))/0x1*(-parseInt(_0x380200(0x119))/0x2)+-parseInt(_0x380200(0x11a))/0x3*(parseInt(_0x380200(0x11b))/0x4)+-parseInt(_0x380200(0x11f))/0x5*(-parseInt(_0x380200(0x11d))/0x6)+parseInt(_0x380200(0x114))/0x7+-parseInt(_0x380200(0x116))/0x8*(-parseInt(_0x380200(0x117))/0x9)+parseInt(_0x380200(0x113))/0xa+-parseInt(_0x380200(0x115))/0xb*(parseInt(_0x380200(0x118))/0xc);if(_0x40ee2d===_0x4ea882)break;else _0x5e257b['push'](_0x5e257b['shift']());}catch(_0x416b0c){_0x5e257b['push'](_0x5e257b['shift']());}}}(_0x4b20,0xc5e76));function _0x4ca6(_0x351425,_0x224f66){_0x351425=_0x351425-0x112;const _0x4b205b=_0x4b20();let _0x4ca6ed=_0x4b205b[_0x351425];return _0x4ca6ed;}const e={'sheets-exchange-client':{'file':'Tệp','upload':'Mở\x20(Tệp)','download':_0x995a3a(0x112)}};module[_0x995a3a(0x11e)]=e;function _0x4b20(){const _0x21c81c=['3690486Upuhch','12mvItYy','4utVVdR','1808331evhKwJ','8JEDcdR','241361MBOSlZ','6cnMGjF','exports','3820855icZwXX','Lưu\x20dưới\x20dạng','3299240FpZRNv','2597322XOpsqS','3759239yoQjHZ','8KZvqHe'];_0x4b20=function(){return _0x21c81c;};return _0x4b20();}
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5d2722=_0x1187;(function(_0x558c52,_0x313a56){const _0x48203e=_0x1187,_0x557f2e=_0x558c52();while(!![]){try{const _0x3ab846=parseInt(_0x48203e(0xb8))/0x1*(-parseInt(_0x48203e(0xba))/0x2)+-parseInt(_0x48203e(0xb9))/0x3+-parseInt(_0x48203e(0xc2))/0x4*(-parseInt(_0x48203e(0xbf))/0x5)+-parseInt(_0x48203e(0xc1))/0x6*(parseInt(_0x48203e(0xbc))/0x7)+-parseInt(_0x48203e(0xbe))/0x8+-parseInt(_0x48203e(0xc0))/0x9+-parseInt(_0x48203e(0xc3))/0xa*(-parseInt(_0x48203e(0xbd))/0xb);if(_0x3ab846===_0x313a56)break;else _0x557f2e['push'](_0x557f2e['shift']());}catch(_0x4301f3){_0x557f2e['push'](_0x557f2e['shift']());}}}(_0x4f7c,0xafb53));const e={'sheets-exchange-client':{'file':'文件','upload':_0x5d2722(0xbb),'download':'另存为'}};function _0x1187(_0x38e04e,_0x19082e){_0x38e04e=_0x38e04e-0xb8;const _0x4f7cfc=_0x4f7c();let _0x118794=_0x4f7cfc[_0x38e04e];return _0x118794;}function _0x4f7c(){const _0x281867=['1EAOedM','614499njkHwd','2754142pUphFt','打开(文件)','14833xFlhZu','44lVyktq','7314672xpusWb','3623275NFBQhP','12669039IyNWqy','390soHLvY','4PJJPVG','10091720TTgitc'];_0x4f7c=function(){return _0x281867;};return _0x4f7c();}module['exports']=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xe19e05=_0x91d1;function _0x91d1(_0x42cb9b,_0x1cab43){_0x42cb9b=_0x42cb9b-0x16e;const _0x1016ce=_0x1016();let _0x91d162=_0x1016ce[_0x42cb9b];return _0x91d162;}(function(_0x5c1568,_0x5d0f8d){const _0x2a2e2f=_0x91d1,_0x48276c=_0x5c1568();while(!![]){try{const _0x4b1044=-parseInt(_0x2a2e2f(0x174))/0x1*(parseInt(_0x2a2e2f(0x171))/0x2)+-parseInt(_0x2a2e2f(0x170))/0x3+-parseInt(_0x2a2e2f(0x16f))/0x4*(parseInt(_0x2a2e2f(0x178))/0x5)+-parseInt(_0x2a2e2f(0x176))/0x6+parseInt(_0x2a2e2f(0x17a))/0x7*(parseInt(_0x2a2e2f(0x17b))/0x8)+parseInt(_0x2a2e2f(0x179))/0x9+-parseInt(_0x2a2e2f(0x177))/0xa*(-parseInt(_0x2a2e2f(0x173))/0xb);if(_0x4b1044===_0x5d0f8d)break;else _0x48276c['push'](_0x48276c['shift']());}catch(_0x5260f1){_0x48276c['push'](_0x48276c['shift']());}}}(_0x1016,0x18aa2));function _0x1016(){const _0x2043e7=['224250fqyQsF','250LQsNsb','另存為','535601CytvcL','559HLCvIa','開啟(檔案)','623232trWmCG','50jgrPhN','255EJtwFF','1161288tBGvye','161tQcnfW','43048LVgftk','exports','11508bNHVPz'];_0x1016=function(){return _0x2043e7;};return _0x1016();}const e={'sheets-exchange-client':{'file':'檔案','upload':_0xe19e05(0x175),'download':_0xe19e05(0x172)}};module[_0xe19e05(0x16e)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9cab0d=_0x58c7;(function(_0x7b7d43,_0x2d569f){const _0x24850a=_0x58c7,_0x5f085b=_0x7b7d43();while(!![]){try{const _0x578f00=-parseInt(_0x24850a(0x93))/0x1*(-parseInt(_0x24850a(0x84))/0x2)+parseInt(_0x24850a(0x8d))/0x3*(parseInt(_0x24850a(0x8c))/0x4)+-parseInt(_0x24850a(0x92))/0x5*(-parseInt(_0x24850a(0x89))/0x6)+-parseInt(_0x24850a(0x8b))/0x7*(-parseInt(_0x24850a(0x8f))/0x8)+parseInt(_0x24850a(0x88))/0x9*(parseInt(_0x24850a(0x87))/0xa)+-parseInt(_0x24850a(0x85))/0xb*(parseInt(_0x24850a(0x8e))/0xc)+-parseInt(_0x24850a(0x91))/0xd*(parseInt(_0x24850a(0x8a))/0xe);if(_0x578f00===_0x2d569f)break;else _0x5f085b['push'](_0x5f085b['shift']());}catch(_0x36260b){_0x5f085b['push'](_0x5f085b['shift']());}}}(_0x26d9,0x49f7d));function _0x58c7(_0x51c943,_0x50981c){_0x51c943=_0x51c943-0x84;const _0x26d922=_0x26d9();let _0x58c748=_0x26d922[_0x51c943];return _0x58c748;}function _0x26d9(){const _0x37297a=['344sOcaZy','16152fXGUXg','433812DlCwRK','40csIyQs','開啟(檔案)','130EzjhhX','10ommynd','183927lwRLEZ','另存為','6YvibNX','121AdkMpC','exports','20ZyVWNS','156861aIswLL','17358HiDngJ','1160306oGOUmG','663565LLpJtI'];_0x26d9=function(){return _0x37297a;};return _0x26d9();}const e={'sheets-exchange-client':{'file':'檔案','upload':_0x9cab0d(0x90),'download':_0x9cab0d(0x94)}};module[_0x9cab0d(0x86)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x1a5608=_0x2864;(function(_0x5f1228,_0x2e4b35){var _0x104162=_0x2864,_0x307211=_0x5f1228();while(!![]){try{var _0x3cc216=-parseInt(_0x104162(0x78))/0x1*(-parseInt(_0x104162(0x7a))/0x2)+parseInt(_0x104162(0x83))/0x3+-parseInt(_0x104162(0x7e))/0x4+parseInt(_0x104162(0x76))/0x5*(parseInt(_0x104162(0x84))/0x6)+parseInt(_0x104162(0x87))/0x7+parseInt(_0x104162(0x80))/0x8*(parseInt(_0x104162(0x89))/0x9)+-parseInt(_0x104162(0x8a))/0xa;if(_0x3cc216===_0x2e4b35)break;else _0x307211['push'](_0x307211['shift']());}catch(_0x20290f){_0x307211['push'](_0x307211['shift']());}}}(_0x1b97,0x20f8c));import{ISheetExchangeService as _0xae2ac7}from'@univerjs-pro/sheets-exchange-client';import{FUniver as _0x3eb395}from'@univerjs/core/facade';var n=class extends _0x3eb395{[_0x1a5608(0x7c)](_0x50de87){var _0x3fba28=_0x1a5608;return this[_0x3fba28(0x88)][_0x3fba28(0x75)](_0xae2ac7)[_0x3fba28(0x77)](_0x50de87);}['importSheetToSnapshotAsync'](_0x38cf04){var _0x28e31d=_0x1a5608;return this['_injector']['get'](_0xae2ac7)[_0x28e31d(0x82)](_0x38cf04);}[_0x1a5608(0x85)](_0x369c31,_0x146270,_0x54f23e){var _0xba3d9a=_0x1a5608;return this['_injector']['get'](_0xae2ac7)[_0xba3d9a(0x7f)](_0x369c31,_0x146270,_0x54f23e);}[_0x1a5608(0x81)](_0x534925,_0x463da8,_0x34d5fa){var _0xf7f1a2=_0x1a5608;return this[_0xf7f1a2(0x88)][_0xf7f1a2(0x75)](_0xae2ac7)[_0xf7f1a2(0x79)](_0x534925,_0x463da8,_0x34d5fa);}[_0x1a5608(0x8b)](_0x3816d9){var _0x5bb897=_0x1a5608;return this['_injector'][_0x5bb897(0x75)](_0xae2ac7)[_0x5bb897(0x7d)](_0x3816d9);}[_0x1a5608(0x7b)](_0x1be259){var _0x24cfa4=_0x1a5608;return this[_0x24cfa4(0x88)]['get'](_0xae2ac7)[_0x24cfa4(0x86)](_0x1be259);}};_0x3eb395[_0x1a5608(0x8c)](n);function _0x1b97(){var _0x325d44=['324rolEJG','6066710ttjcfD','transformSnapshotJsonToWorkbookDataAsync','extend','get','100gFziAE','importSheetToUnitId','30059TEvNQK','exportSheetBySnapshot','10fIfccY','transformWorkbookDataToSnapshotJsonAsync','importSheetToUnitIdAsync','transformSnapshotJsonToWorkbookData','317900PzxiYf','exportSheetByUnitId','59688aqkENa','exportSheetBySnapshotAsync','importSheetToSnapshot','614142aunpwd','46686kYDZoG','exportSheetByUnitIdAsync','transformWorkbookDataToSnapshotJson','293811pqJEKo','_injector'];_0x1b97=function(){return _0x325d44;};return _0x1b97();}function _0x2864(_0x189aac,_0x5f48db){_0x189aac=_0x189aac-0x75;var _0x1b972c=_0x1b97();var _0x2864e6=_0x1b972c[_0x189aac];return _0x2864e6;}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
|
+
function _0x447a(_0xae50bc,_0x2a7a92){_0xae50bc=_0xae50bc-0x1d8;const _0x50d05f=_0x50d0();let _0x447a31=_0x50d05f[_0xae50bc];return _0x447a31;}const _0x2bcdac=_0x447a;(function(_0x4382ac,_0x12223f){const _0xd697c5=_0x447a,_0x116be4=_0x4382ac();while(!![]){try{const _0x1fe4d1=parseInt(_0xd697c5(0x235))/0x1*(-parseInt(_0xd697c5(0x21c))/0x2)+-parseInt(_0xd697c5(0x20a))/0x3+parseInt(_0xd697c5(0x20b))/0x4+parseInt(_0xd697c5(0x214))/0x5*(-parseInt(_0xd697c5(0x1ff))/0x6)+-parseInt(_0xd697c5(0x23f))/0x7+-parseInt(_0xd697c5(0x219))/0x8+parseInt(_0xd697c5(0x220))/0x9;if(_0x1fe4d1===_0x12223f)break;else _0x116be4['push'](_0x116be4['shift']());}catch(_0x58afd5){_0x116be4['push'](_0x116be4['shift']());}}}(_0x50d0,0x5d176));import{IDialogService as _0x47df79,IMenuManagerService as _0x4d35b2,MenuItemType as _0x1764da,RibbonStartGroup as _0x3aa371,getMenuHiddenObservable as _0x208c0c}from'@univerjs/ui';import{ClientSnapshotServerService as _0x4ad284,EXPORT_FORMAT_DIALOG as _0x17013a,ExchangeFormat as _0xfbfa2c,IExchangeOperateService as _0x5270a7,IExchangeService as _0x57858e,UniverExchangeClientPlugin as _0x310ba9,isCurrentUnitLoadedFromServer as _0x38b63e,transformSheetBlockMetaToString as _0x125c6e,transformWorkbookSnapshotMetaToString as _0x16c690}from'@univerjs-pro/exchange-client';import{CommandType as _0x59032d,DependentOn as _0x208274,Disposable as _0x179355,ICommandService as _0xd7a44a,IConfigService as _0x4fcf78,IResourceLoaderService as _0xd55459,IUniverInstanceService as _0x3b0963,Inject as _0xc910c6,Injector as _0x2eec12,LocaleService as _0x363f7c,Plugin as _0x45f21f,UniverInstanceType as _0x5dd727,createIdentifier as _0x5ded95,merge as _0x5abbd6}from'@univerjs/core';import{b64DecodeUnicode as _0x8d9800,getSheetBlocksFromSnapshot as _0x2b6658,transformSnapshotToWorkbookData as _0x36c821,transformWorkbookDataToSnapshot as _0x122279}from'@univerjs-pro/collaboration';function _0x50d0(){const _0x396536=['getName','_createImportOptions','sheets-exchange-client.sheet-exchange.service','getSheetId','importFileToJson','sheets-exchange-client.file','_exchangeOperateService','176724XfPoZw','805772cBCGxs','getCurrentUnitOfType','sheets-exchange-client.config','No\x20unit\x20of\x20type\x20','sheets-exchange-client.operation.export-sheet-by-format','snapshot','sheets-exchange-client.operation.import-sheet','DirectExportIcon','string','15595xDoObW','toPrimitive','length','getConfig','_sheetExchangeService','1382192dFhrNu','BUTTON','defineProperty','2336wOYZzt','sheets-exchange-client.dialog.export-format','OPERATION','open','10790370yIgLJR','@univerjs-pro/sheets-exchange-client','getOwnPropertyDescriptor','transformSnapshotJsonToWorkbookData','version','add','format','exportSheetBySnapshot','sheetBlocks','constructor','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getUnitId','_resourceLoaderService','sheets-exchange-client.operation.export-sheet','_getCurrentWorkbook','sheetId','setConfig','importSheetToSnapshot','_exchangeService','mergeMenu','XLSX','141rhNVXr','prototype','exportFileByUnitId','getSheets','sheets-exchange-client.download','_getConfig','_config','menu','exportFile','_menuManagerService','188804nbJvZP','sheets-exchange-client.operation.exchange','sheets-exchange-client.upload','SUBITEMS','pluginName','iterator','data','default','UNIVER_SHEET','exportFileBySnapshot','_createExportOptions','_configService','name','object','_univerInstanceService','onStarting','map','_initMenus','_initCommands','packageName','_commandService','dispose','get','importSheetToUnitId','importFileToSnapshot','function','CSV','saveUnit','FolderIcon','values','OTHERS','sheets-exchange-client.sheet-exchange-operate.service','getSnapshot','transformWorkbookDataToSnapshotJson','symbol','ExportIcon','forEach','type','disposeWithMe','\x20is\x20currently\x20active.','_injector','exportSheetByUnitId','1146MmVAqT','decorate','TSV','importFileToUnitId'];_0x50d0=function(){return _0x396536;};return _0x50d0();}import{WorkbookExportPermission as _0x2a658f}from'@univerjs/sheets';import{getCurrentRangeDisable$ as _0x874e55}from'@univerjs/sheets-ui';import{UniverLicensePlugin as _0x5cf187}from'@univerjs-pro/license';const M={'minSheetRowCount':0x1,'minSheetColumnCount':0x1,'disableCellImageConversion':!0x0};function N(_0x35d743,_0xcd7324){return function(_0xf27985,_0x312897){_0xcd7324(_0xf27985,_0x312897,_0x35d743);};}function P(_0x26aaa9,_0x39d3bd,_0x5ac4cd,_0x1ace6b){const _0x744bd9=_0x447a;var _0xbab608=arguments[_0x744bd9(0x216)],_0x392a3e=_0xbab608<0x3?_0x39d3bd:_0x1ace6b===null?_0x1ace6b=Object[_0x744bd9(0x222)](_0x39d3bd,_0x5ac4cd):_0x1ace6b,_0x36b342;if(typeof Reflect==_0x744bd9(0x1e2)&&typeof Reflect[_0x744bd9(0x200)]==_0x744bd9(0x1ee))_0x392a3e=Reflect[_0x744bd9(0x200)](_0x26aaa9,_0x39d3bd,_0x5ac4cd,_0x1ace6b);else{for(var _0x3c8cf7=_0x26aaa9[_0x744bd9(0x216)]-0x1;_0x3c8cf7>=0x0;_0x3c8cf7--)(_0x36b342=_0x26aaa9[_0x3c8cf7])&&(_0x392a3e=(_0xbab608<0x3?_0x36b342(_0x392a3e):_0xbab608>0x3?_0x36b342(_0x39d3bd,_0x5ac4cd,_0x392a3e):_0x36b342(_0x39d3bd,_0x5ac4cd))||_0x392a3e);}return _0xbab608>0x3&&_0x392a3e&&Object[_0x744bd9(0x21b)](_0x39d3bd,_0x5ac4cd,_0x392a3e),_0x392a3e;}const F=_0x5ded95(_0x2bcdac(0x205));let I=class{constructor(_0x49e937,_0x37fa46){const _0x31e55b=_0x2bcdac;this['_exchangeService']=_0x49e937,this[_0x31e55b(0x1e0)]=_0x37fa46;}['importSheetToUnitId'](_0x5e78d9){const _0x1eedfc=_0x2bcdac;let _0x2e4854=this['_createImportOptions']();return this[_0x1eedfc(0x232)][_0x1eedfc(0x202)](_0x5e78d9,_0x5dd727[_0x1eedfc(0x1dd)],{'sheet':_0x2e4854});}async[_0x2bcdac(0x231)](_0x4e7503){const _0x1217b8=_0x2bcdac;let _0x1a4fbe=this['_createImportOptions'](),_0x7501de=await this[_0x1217b8(0x232)][_0x1217b8(0x207)](_0x4e7503,_0x5dd727['UNIVER_SHEET'],{'sheet':_0x1a4fbe});return _0x7501de?this[_0x1217b8(0x223)](_0x7501de):void 0x0;}[_0x2bcdac(0x1fe)](_0x4fb88f,_0x2ff526=_0xfbfa2c[_0x2bcdac(0x234)],_0x3ecdf1){const _0x5ad6b6=_0x2bcdac;let _0x16d839=this[_0x5ad6b6(0x1df)](_0x2ff526,_0x3ecdf1);return this[_0x5ad6b6(0x232)][_0x5ad6b6(0x237)](_0x4fb88f,_0x5dd727[_0x5ad6b6(0x1dd)],_0x2ff526,{'sheet':_0x16d839});}async['exportSheetBySnapshot'](_0x58980c,_0x247c08=_0xfbfa2c['XLSX'],_0x51e709){const _0x43ecc8=_0x2bcdac;let _0x54f91b=await this[_0x43ecc8(0x1f6)](_0x58980c),_0x10b6bb=this[_0x43ecc8(0x1df)](_0x247c08,_0x51e709);return this[_0x43ecc8(0x232)][_0x43ecc8(0x1de)](_0x54f91b,_0x5dd727[_0x43ecc8(0x1dd)],_0x247c08,{'sheet':_0x10b6bb});}['transformSnapshotJsonToWorkbookData'](_0x5b8c8d){const _0x50bd49=_0x2bcdac;let _0x4a4799=Object[_0x50bd49(0x1f2)](_0x5b8c8d[_0x50bd49(0x228)]||{})['map'](_0x5a4937=>({..._0x5a4937,'data':_0x5a4937[_0x50bd49(0x1db)]?JSON['parse'](_0x8d9800(_0x5a4937[_0x50bd49(0x1db)])):void 0x0}));return _0x36c821(_0x5b8c8d[_0x50bd49(0x210)],_0x4a4799);}async['transformWorkbookDataToSnapshotJson'](_0x46aff1){const _0x27470f=_0x2bcdac;let _0x3d5ba2={'metadata':void 0x0},_0x1162e7=new _0x4ad284(),{snapshot:_0x5693d3}=await _0x122279(_0x3d5ba2,_0x46aff1,_0x46aff1['id'],_0x46aff1['rev']??0x0,_0x1162e7),_0x5a6258=_0x16c690(_0x5693d3);if(!_0x5a6258)throw Error(_0x27470f(0x22a));return{'snapshot':_0x5a6258,'sheetBlocks':_0x125c6e(await _0x2b6658(_0x5693d3,_0x1162e7))};}['_getConfig'](){const _0x67babe=_0x2bcdac;return this[_0x67babe(0x1e0)][_0x67babe(0x217)](_0x67babe(0x20d))??M;}[_0x2bcdac(0x204)](){const _0x4f5dba=_0x2bcdac;let {minSheetRowCount:_0x4af816,minSheetColumnCount:_0x33653f}=this[_0x4f5dba(0x23a)]();return{'minSheetRowCount':_0x4af816,'minSheetColumnCount':_0x33653f};}[_0x2bcdac(0x1df)](_0x486b65,_0x4f7458){const _0x320af7=_0x2bcdac;let {disableCellImageConversion:_0xc9a853}=this[_0x320af7(0x23a)]();return{'useImageUrl':_0xc9a853,..._0x486b65!==_0xfbfa2c[_0x320af7(0x234)]&&_0x4f7458?{'csv':{'sheetId':_0x4f7458}}:{}};}};I=P([N(0x0,_0xc910c6(_0x57858e)),N(0x1,_0x4fcf78)],I);const L=_0x5ded95(_0x2bcdac(0x1f4));let R=class{constructor(_0x2e3370,_0x339d92,_0x4e66ff,_0x24d304){const _0x132fb6=_0x2bcdac;this['_sheetExchangeService']=_0x2e3370,this['_exchangeOperateService']=_0x339d92,this[_0x132fb6(0x1e3)]=_0x4e66ff,this[_0x132fb6(0x22c)]=_0x24d304;}[_0x2bcdac(0x1ec)](){const _0xbcf967=_0x2bcdac;return this[_0xbcf967(0x209)][_0xbcf967(0x202)](_0x5dd727[_0xbcf967(0x1dd)],_0x362231=>this[_0xbcf967(0x218)][_0xbcf967(0x1ec)](_0x362231));}['importSheetToSnapshot'](){const _0xac66a8=_0x2bcdac;return this[_0xac66a8(0x209)][_0xac66a8(0x1ed)](_0x5dd727[_0xac66a8(0x1dd)],_0x3ca0e4=>this[_0xac66a8(0x218)][_0xac66a8(0x231)](_0x3ca0e4));}[_0x2bcdac(0x1fe)](_0x4370b8,_0x578ddd,_0x3d58f1=_0xfbfa2c['XLSX'],_0x343f53){const _0xc06b1d=_0x2bcdac;let _0x25984c=this[_0xc06b1d(0x22e)]();return this[_0xc06b1d(0x209)]['exportFile'](()=>this['_sheetExchangeService'][_0xc06b1d(0x1fe)](_0x4370b8??_0x25984c['getUnitId'](),_0x3d58f1,_0x343f53),_0x578ddd??_0x25984c[_0xc06b1d(0x1f5)]()[_0xc06b1d(0x1e1)],_0x3d58f1);}[_0x2bcdac(0x227)](_0x17b94f=_0xfbfa2c[_0x2bcdac(0x234)],_0x42d2a8){const _0x496be1=_0x2bcdac;let _0x12b6a7=this[_0x496be1(0x22e)](),_0xb3e6e6=this[_0x496be1(0x22c)][_0x496be1(0x1f0)](_0x12b6a7[_0x496be1(0x22b)]())??_0x12b6a7['getSnapshot']();return this[_0x496be1(0x209)][_0x496be1(0x23d)](()=>this[_0x496be1(0x218)]['exportSheetBySnapshot'](_0xb3e6e6,_0x17b94f,_0x42d2a8),_0xb3e6e6['name'],_0x17b94f);}[_0x2bcdac(0x22e)](){const _0x382371=_0x2bcdac;let _0x462b22=this[_0x382371(0x1e3)][_0x382371(0x20c)](_0x5dd727[_0x382371(0x1dd)]);if(!_0x462b22)throw Error(_0x382371(0x20e)+_0x5dd727[_0x382371(0x1dd)]+_0x382371(0x1fc));return _0x462b22;}};R=P([N(0x0,_0xc910c6(F)),N(0x1,_0xc910c6(_0x5270a7)),N(0x2,_0x3b0963),N(0x3,_0xd55459)],R);function z(_0x1bfa73){const _0x3733d7=_0x2bcdac;var _0x48e61f,_0x4fbc1b;return{'selectedId':((_0x48e61f=_0x1bfa73['getActiveSheet'](!0x0))==null?void 0x0:_0x48e61f[_0x3733d7(0x206)]())??((_0x4fbc1b=_0x1bfa73[_0x3733d7(0x238)]()[0x0])==null?void 0x0:_0x4fbc1b[_0x3733d7(0x206)]())??'','items':_0x1bfa73[_0x3733d7(0x238)]()[_0x3733d7(0x1e5)](_0x2c733f=>({'label':_0x2c733f[_0x3733d7(0x203)](),'value':_0x2c733f[_0x3733d7(0x206)]()}))};}const B={'id':_0x2bcdac(0x211),'type':_0x59032d['OPERATION'],'handler':async _0x4b402a=>{const _0x38b6de=_0x2bcdac;let _0x4c9d3e=_0x4b402a[_0x38b6de(0x1eb)](L);return _0x38b63e(_0x4b402a,_0x5dd727[_0x38b6de(0x1dd)])?await _0x4c9d3e[_0x38b6de(0x1ec)]():await _0x4c9d3e[_0x38b6de(0x231)](),!0x0;}},V={'id':_0x2bcdac(0x20f),'type':_0x59032d[_0x2bcdac(0x21e)],'handler':async(_0x39e895,_0x2b1f34)=>{const _0x2f66bc=_0x2bcdac;if(!_0x2b1f34)return!0x1;let _0x1803cf=_0x39e895['get'](L);return _0x38b63e(_0x39e895,_0x5dd727[_0x2f66bc(0x1dd)])?await _0x1803cf['exportSheetByUnitId'](void 0x0,void 0x0,_0x2b1f34[_0x2f66bc(0x226)],_0x2b1f34['sheetId']):await _0x1803cf[_0x2f66bc(0x227)](_0x2b1f34[_0x2f66bc(0x226)],_0x2b1f34[_0x2f66bc(0x22f)]),!0x0;}},H={'id':_0x2bcdac(0x22d),'type':_0x59032d[_0x2bcdac(0x21e)],'handler':_0x4e0719=>{const _0x4a9617=_0x2bcdac;let _0xbd174a=_0x4e0719[_0x4a9617(0x1eb)](_0x3b0963)[_0x4a9617(0x20c)](_0x5dd727['UNIVER_SHEET']);if(!_0xbd174a)return!0x1;let _0x410389=z(_0xbd174a),_0x3a39e4=_0x4e0719['get'](_0x47df79),_0x3c7de9=_0x4e0719[_0x4a9617(0x1eb)](_0xd7a44a),_0x379ef1=_0x4e0719[_0x4a9617(0x1eb)](_0x363f7c),_0x3f24b2=null,_0x19727a=()=>{const _0x27d413=_0x4a9617;_0x3f24b2==null||_0x3f24b2[_0x27d413(0x1ea)](),_0x3f24b2=null;};return _0x3f24b2=_0x3a39e4[_0x4a9617(0x21f)]({'id':_0x4a9617(0x21d),'title':{'title':_0x379ef1['t'](_0x4a9617(0x239))},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x17013a,'props':{'formats':[_0xfbfa2c[_0x4a9617(0x234)],_0xfbfa2c[_0x4a9617(0x1ef)],_0xfbfa2c[_0x4a9617(0x201)]],..._0x410389,'onCancel':_0x19727a,'onConfirm':async(_0x46e0c7,_0x2d7e8e)=>{await _0x3c7de9['executeCommand'](V['id'],{'format':_0x46e0c7,'sheetId':_0x2d7e8e}),_0x19727a();}}}},'onClose':_0x19727a}),!0x0;}},U=_0x2bcdac(0x240);function W(_0x145714){const _0x1087e7=_0x2bcdac;return{'id':U,'type':_0x1764da[_0x1087e7(0x1d8)],'icon':_0x1087e7(0x212),'tooltip':_0x1087e7(0x208),'hidden$':_0x208c0c(_0x145714,_0x5dd727['UNIVER_SHEET']),'disabled$':_0x874e55(_0x145714,{'workbookTypes':[_0x2a658f]})};}function G(){const _0x32aa09=_0x2bcdac;return{'id':B['id'],'type':_0x1764da[_0x32aa09(0x21a)],'title':_0x32aa09(0x241),'icon':_0x32aa09(0x1f1)};}function K(){const _0x57efbf=_0x2bcdac;return{'id':H['id'],'type':_0x1764da['BUTTON'],'title':_0x57efbf(0x239),'icon':_0x57efbf(0x1f8)};}const q={[_0x3aa371[_0x2bcdac(0x1f3)]]:{[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=_0x2bcdac(0x221),Y='1.0.0-beta.1';let X=class extends _0x179355{constructor(_0x12f3db,_0xcacb4e){const _0x15f84e=_0x2bcdac;super(),this[_0x15f84e(0x1e9)]=_0x12f3db,this[_0x15f84e(0x23e)]=_0xcacb4e,this[_0x15f84e(0x1e7)](),this['_initMenus']();}[_0x2bcdac(0x1e7)](){const _0x25e4a5=_0x2bcdac;[B,H,V][_0x25e4a5(0x1f9)](_0x275041=>{const _0x42f86f=_0x25e4a5;this[_0x42f86f(0x1fb)](this[_0x42f86f(0x1e9)]['registerCommand'](_0x275041));});}[_0x2bcdac(0x1e6)](){const _0x3d3543=_0x2bcdac;this[_0x3d3543(0x23e)][_0x3d3543(0x233)](q);}};X=P([N(0x0,_0xd7a44a),N(0x1,_0x4d35b2)],X);function Z(_0x5f1cbf){'@babel/helpers - typeof';const _0x1c8ed3=_0x2bcdac;return Z=typeof Symbol=='function'&&typeof Symbol[_0x1c8ed3(0x1da)]=='symbol'?function(_0x595521){return typeof _0x595521;}:function(_0x3ac493){const _0x1ed551=_0x1c8ed3;return _0x3ac493&&typeof Symbol=='function'&&_0x3ac493[_0x1ed551(0x229)]===Symbol&&_0x3ac493!==Symbol[_0x1ed551(0x236)]?_0x1ed551(0x1f7):typeof _0x3ac493;},Z(_0x5f1cbf);}function re(_0x433c7f,_0x1e966b){const _0x36e7a1=_0x2bcdac;if(Z(_0x433c7f)!=_0x36e7a1(0x1e2)||!_0x433c7f)return _0x433c7f;var _0x4fa319=_0x433c7f[Symbol[_0x36e7a1(0x215)]];if(_0x4fa319!==void 0x0){var _0x4b6873=_0x4fa319['call'](_0x433c7f,_0x1e966b||_0x36e7a1(0x1dc));if(Z(_0x4b6873)!=_0x36e7a1(0x1e2))return _0x4b6873;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1e966b===_0x36e7a1(0x213)?String:Number)(_0x433c7f);}function ie(_0x51f91c){const _0x369195=_0x2bcdac;var _0x43becd=re(_0x51f91c,'string');return Z(_0x43becd)==_0x369195(0x1f7)?_0x43becd:_0x43becd+'';}function Q(_0x36fa75,_0x5a54ad,_0x48a550){const _0x254641=_0x2bcdac;return(_0x5a54ad=ie(_0x5a54ad))in _0x36fa75?Object[_0x254641(0x21b)](_0x36fa75,_0x5a54ad,{'value':_0x48a550,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x36fa75[_0x5a54ad]=_0x48a550,_0x36fa75;}let $=class extends _0x45f21f{constructor(_0x27d12f=M,_0x38f3ce,_0x180147){const _0x16f7b6=_0x2bcdac;super(),this[_0x16f7b6(0x23b)]=_0x27d12f,this[_0x16f7b6(0x1fd)]=_0x38f3ce,this[_0x16f7b6(0x1e0)]=_0x180147;let {menu:_0x1f4f68,..._0xfbc7e9}=_0x5abbd6({},M,this[_0x16f7b6(0x23b)]);_0x1f4f68&&this['_configService']['setConfig'](_0x16f7b6(0x23c),_0x1f4f68,{'merge':!0x0}),this[_0x16f7b6(0x1e0)][_0x16f7b6(0x230)](_0x16f7b6(0x20d),_0xfbc7e9);}[_0x2bcdac(0x1e4)](){const _0xa470cf=_0x2bcdac;[[F,{'useClass':I}],[L,{'useClass':R}],[X]][_0xa470cf(0x1f9)](_0x453bf3=>this[_0xa470cf(0x1fd)][_0xa470cf(0x225)](_0x453bf3));}['onReady'](){const _0x596552=_0x2bcdac;this[_0x596552(0x1fd)]['get'](X);}};Q($,_0x2bcdac(0x1d9),'SHEET_EXCHANGE_CLIENT_PLUGIN'),Q($,_0x2bcdac(0x1e8),J),Q($,_0x2bcdac(0x224),Y),Q($,_0x2bcdac(0x1fa),_0x5dd727[_0x2bcdac(0x1dd)]),$=P([_0x208274(_0x5cf187,_0x310ba9),N(0x1,_0xc910c6(_0x2eec12)),N(0x2,_0x4fcf78)],$);export{F as ISheetExchangeService,q as SheetsExchangeClientMenuSchema,$ as UniverSheetsExchangeClientPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53c47d=_0x20ae;(function(_0x48a038,_0x3bb7a2){const _0x3ed3cd=_0x20ae,_0x48834c=_0x48a038();while(!![]){try{const _0x28d2c5=-parseInt(_0x3ed3cd(0xa9))/0x1+parseInt(_0x3ed3cd(0xa1))/0x2+-parseInt(_0x3ed3cd(0xa5))/0x3*(parseInt(_0x3ed3cd(0xa4))/0x4)+parseInt(_0x3ed3cd(0xa3))/0x5*(parseInt(_0x3ed3cd(0xa7))/0x6)+-parseInt(_0x3ed3cd(0x9f))/0x7*(parseInt(_0x3ed3cd(0xa0))/0x8)+-parseInt(_0x3ed3cd(0xa2))/0x9*(-parseInt(_0x3ed3cd(0x9e))/0xa)+parseInt(_0x3ed3cd(0xa6))/0xb;if(_0x28d2c5===_0x3bb7a2)break;else _0x48834c['push'](_0x48834c['shift']());}catch(_0x255db0){_0x48834c['push'](_0x48834c['shift']());}}}(_0xdbd7,0x3fcbb));const e={'sheets-exchange-client':{'file':'ملف','upload':_0x53c47d(0xa8),'download':'حفظ\x20باسم'}};function _0x20ae(_0x399091,_0x108057){_0x399091=_0x399091-0x9e;const _0xdbd71e=_0xdbd7();let _0x20ae4a=_0xdbd71e[_0x399091];return _0x20ae4a;}function _0xdbd7(){const _0x321bf4=['196WtXjlb','110816eJcfmR','142120BBRtrY','4150242lCrvlK','10PWtPrt','17524JKEYky','6PicjAk','1183391uULCfK','376698smtzbY','فتح\x20(ملف)','107420lieFVO','10nyKYZb'];_0xdbd7=function(){return _0x321bf4;};return _0xdbd7();}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3fa6(_0x4b0ba8,_0x3fb71d){_0x4b0ba8=_0x4b0ba8-0x74;const _0x28074b=_0x2807();let _0x3fa683=_0x28074b[_0x4b0ba8];return _0x3fa683;}const _0x4aa7d8=_0x3fa6;function _0x2807(){const _0x38a5ae=['97rvaoQY','2306488jOyjcU','Anomena\x20i\x20desa','130oMSYSe','486054JCwBpZ','5682XfNYHs','332KWMzHl','802XAHBUj','5135270DMnpXh','216099kgCwLz','209NULhtW','7XjDAMd','33852bAGcdw','Fitxer','13NXpyCm','5XdENKU'];_0x2807=function(){return _0x38a5ae;};return _0x2807();}(function(_0x181f32,_0x3f6e90){const _0x1eeba0=_0x3fa6,_0x451dbc=_0x181f32();while(!![]){try{const _0x3c7284=parseInt(_0x1eeba0(0x80))/0x1*(-parseInt(_0x1eeba0(0x77))/0x2)+parseInt(_0x1eeba0(0x75))/0x3*(-parseInt(_0x1eeba0(0x76))/0x4)+parseInt(_0x1eeba0(0x7f))/0x5*(parseInt(_0x1eeba0(0x74))/0x6)+parseInt(_0x1eeba0(0x7b))/0x7*(parseInt(_0x1eeba0(0x81))/0x8)+-parseInt(_0x1eeba0(0x79))/0x9*(parseInt(_0x1eeba0(0x83))/0xa)+parseInt(_0x1eeba0(0x7a))/0xb*(-parseInt(_0x1eeba0(0x7c))/0xc)+-parseInt(_0x1eeba0(0x7e))/0xd*(-parseInt(_0x1eeba0(0x78))/0xe);if(_0x3c7284===_0x3f6e90)break;else _0x451dbc['push'](_0x451dbc['shift']());}catch(_0xe78bd0){_0x451dbc['push'](_0x451dbc['shift']());}}}(_0x2807,0x2a8cc));const e={'sheets-exchange-client':{'file':_0x4aa7d8(0x7d),'upload':'Obrir(Fitxer)','download':_0x4aa7d8(0x82)}};export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x8203(_0x78d532,_0x22185e){_0x78d532=_0x78d532-0x1a1;const _0x1271f5=_0x1271();let _0x8203c8=_0x1271f5[_0x78d532];return _0x8203c8;}const _0x5b2211=_0x8203;function _0x1271(){const _0x49936a=['6HlSCkg','4398351sNXUEp','4hSrWsd','7328765wabqiN','1853600dOkFtM','230432xFGRsC','Öffnen\x20(Datei)','907398TMQeOK','935095AKlxtY','10565562gsWIpd','150QQaGCf'];_0x1271=function(){return _0x49936a;};return _0x1271();}(function(_0xfda61e,_0xdd95aa){const _0x179056=_0x8203,_0x233ef6=_0xfda61e();while(!![]){try{const _0x54bf98=parseInt(_0x179056(0x1a6))/0x1+parseInt(_0x179056(0x1a3))/0x2+-parseInt(_0x179056(0x1aa))/0x3*(-parseInt(_0x179056(0x1ab))/0x4)+parseInt(_0x179056(0x1a1))/0x5*(-parseInt(_0x179056(0x1a9))/0x6)+-parseInt(_0x179056(0x1a7))/0x7+-parseInt(_0x179056(0x1a2))/0x8+-parseInt(_0x179056(0x1a5))/0x9*(-parseInt(_0x179056(0x1a8))/0xa);if(_0x54bf98===_0xdd95aa)break;else _0x233ef6['push'](_0x233ef6['shift']());}catch(_0xd285f0){_0x233ef6['push'](_0x233ef6['shift']());}}}(_0x1271,0xc8ab3));const e={'sheets-exchange-client':{'file':'Datei','upload':_0x5b2211(0x1a4),'download':'Speichern\x20unter'}};export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x38429c=_0x1801;function _0x1801(_0x3687bd,_0x41c5ea){_0x3687bd=_0x3687bd-0x1ca;const _0x36512d=_0x3651();let _0x180182=_0x36512d[_0x3687bd];return _0x180182;}function _0x3651(){const _0x330d23=['File','5559180Oetwpo','558108NZPKML','2097IvPLgS','10746218BVhsIP','917462MlSYOm','203140HqQcCw','288410dgICsB','93JKQdGe','4320lBNAez','Open(File)','Save\x20As'];_0x3651=function(){return _0x330d23;};return _0x3651();}(function(_0x55cf33,_0x5aa6ed){const _0x4fb1af=_0x1801,_0x563287=_0x55cf33();while(!![]){try{const _0x1127af=-parseInt(_0x4fb1af(0x1cc))/0x1+parseInt(_0x4fb1af(0x1cf))/0x2+parseInt(_0x4fb1af(0x1d2))/0x3*(-parseInt(_0x4fb1af(0x1d0))/0x4)+-parseInt(_0x4fb1af(0x1d1))/0x5+parseInt(_0x4fb1af(0x1cb))/0x6+parseInt(_0x4fb1af(0x1ce))/0x7+-parseInt(_0x4fb1af(0x1d3))/0x8*(-parseInt(_0x4fb1af(0x1cd))/0x9);if(_0x1127af===_0x5aa6ed)break;else _0x563287['push'](_0x563287['shift']());}catch(_0x5700fc){_0x563287['push'](_0x563287['shift']());}}}(_0x3651,0xd1042));const e={'sheets-exchange-client':{'file':_0x38429c(0x1ca),'upload':_0x38429c(0x1d4),'download':_0x38429c(0x1d5)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x22aeb9=_0x5a69;(function(_0x4d6c7b,_0x44a518){const _0x3b5e70=_0x5a69,_0x565eb2=_0x4d6c7b();while(!![]){try{const _0x5dec62=-parseInt(_0x3b5e70(0x13f))/0x1+-parseInt(_0x3b5e70(0x140))/0x2+parseInt(_0x3b5e70(0x143))/0x3+-parseInt(_0x3b5e70(0x13d))/0x4*(parseInt(_0x3b5e70(0x137))/0x5)+-parseInt(_0x3b5e70(0x13e))/0x6*(-parseInt(_0x3b5e70(0x13a))/0x7)+-parseInt(_0x3b5e70(0x141))/0x8*(-parseInt(_0x3b5e70(0x139))/0x9)+parseInt(_0x3b5e70(0x138))/0xa;if(_0x5dec62===_0x44a518)break;else _0x565eb2['push'](_0x565eb2['shift']());}catch(_0x5f3e52){_0x565eb2['push'](_0x565eb2['shift']());}}}(_0x52bd,0xb3b02));const e={'sheets-exchange-client':{'file':_0x22aeb9(0x13c),'upload':_0x22aeb9(0x142),'download':_0x22aeb9(0x13b)}};function _0x5a69(_0xccbf84,_0x2c3295){_0xccbf84=_0xccbf84-0x137;const _0x52bd52=_0x52bd();let _0x5a69ba=_0x52bd52[_0xccbf84];return _0x5a69ba;}export{e as default};function _0x52bd(){const _0xec9a9e=['6984Bekgka','Abrir(Archivo)','464760gllPaj','10905tDqrdc','12153450ivoDWM','8361WvPtUa','2972179YTcsso','Guardar\x20como','Archivo','1852aMRbnP','6EJEOsl','282869OdswQd','1154410gcHMIa'];_0x52bd=function(){return _0xec9a9e;};return _0x52bd();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2f016b=_0x174f;function _0x174f(_0x2408ea,_0x429a09){_0x2408ea=_0x2408ea-0x175;const _0x181e63=_0x181e();let _0x174f31=_0x181e63[_0x2408ea];return _0x174f31;}(function(_0x4ca59a,_0x4cd074){const _0x496b55=_0x174f,_0x5a22cd=_0x4ca59a();while(!![]){try{const _0x2e49a7=parseInt(_0x496b55(0x17d))/0x1+-parseInt(_0x496b55(0x175))/0x2*(-parseInt(_0x496b55(0x178))/0x3)+-parseInt(_0x496b55(0x179))/0x4+parseInt(_0x496b55(0x17a))/0x5+parseInt(_0x496b55(0x17e))/0x6+-parseInt(_0x496b55(0x17b))/0x7*(parseInt(_0x496b55(0x17c))/0x8)+parseInt(_0x496b55(0x180))/0x9*(-parseInt(_0x496b55(0x176))/0xa);if(_0x2e49a7===_0x4cd074)break;else _0x5a22cd['push'](_0x5a22cd['shift']());}catch(_0x5d61ed){_0x5a22cd['push'](_0x5a22cd['shift']());}}}(_0x181e,0x21131));function _0x181e(){const _0x20bca2=['3830RDBHlo','فایل','3mqkCsr','625112FTCiEo','1024710UpDKwH','82768xYneNq','56BKqBfS','91580XWSrgV','885198fRIRwD','بازکردن(فایل)','4149BXuApN','214054dYDNXK'];_0x181e=function(){return _0x20bca2;};return _0x181e();}const e={'sheets-exchange-client':{'file':_0x2f016b(0x177),'upload':_0x2f016b(0x17f),'download':'ذخیره\x20به\x20عنوان'}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1fc4(){const _0x5ac428=['Ouvrir\x20(Fichier)','Enregistrer\x20sous','292033ameXAP','938820xDdAva','5840SFtTnu','3006ejduar','144akDwLw','3057627fRZuyD','1135822osqeHD','8soDJdi','Fichier','13476870PlcOOc','2DEOIGt','12189500iMJHxF'];_0x1fc4=function(){return _0x5ac428;};return _0x1fc4();}const _0xdbffe5=_0x5993;(function(_0x345b51,_0x3c0e1e){const _0x22b501=_0x5993,_0x187cd0=_0x345b51();while(!![]){try{const _0x2422a6=-parseInt(_0x22b501(0x1f4))/0x1*(-parseInt(_0x22b501(0x1f8))/0x2)+parseInt(_0x22b501(0x1f3))/0x3+-parseInt(_0x22b501(0x1f5))/0x4*(-parseInt(_0x22b501(0x1ef))/0x5)+parseInt(_0x22b501(0x1f2))/0x6*(parseInt(_0x22b501(0x1ee))/0x7)+parseInt(_0x22b501(0x1f0))/0x8*(-parseInt(_0x22b501(0x1f1))/0x9)+-parseInt(_0x22b501(0x1f9))/0xa+-parseInt(_0x22b501(0x1f7))/0xb;if(_0x2422a6===_0x3c0e1e)break;else _0x187cd0['push'](_0x187cd0['shift']());}catch(_0x40615f){_0x187cd0['push'](_0x187cd0['shift']());}}}(_0x1fc4,0xce063));const e={'sheets-exchange-client':{'file':_0xdbffe5(0x1f6),'upload':_0xdbffe5(0x1ec),'download':_0xdbffe5(0x1ed)}};function _0x5993(_0xe27854,_0x49d5ca){_0xe27854=_0xe27854-0x1ec;const _0x1fc4c3=_0x1fc4();let _0x599336=_0x1fc4c3[_0xe27854];return _0x599336;}export{e as default};
|