@univerjs-pro/exchange-client 0.8.3-nightly.202507021607 → 0.8.3

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4f4ddb=_0x2e7e;function _0x23be(){const _0x3f9bab=['6nVTySy','6kCbKax','UNRECOGNIZED','extend','4336703oULuXR','12btvhRx','40SMoncF','exportDOCXByUnitIdAsync','exportXLSXByUnitId','importFileToUnitId','UNIVER_SHEET','1230219gykCUh','IExchangeService','UNIVER_SLIDE','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToUnitIdAsync','175822krnXWe','UNIVER_DOC','exportXLSXBySnapshotAsync','get','exportDOCXBySnapshot','importXLSXToSnapshot','exportDOCXByUnitId','167717ijCUGx','_injector','1244492BFOFwy','importXLSXToSnapshotAsync','exportXLSXBySnapshot','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','UNIVER_PROJECT','FUniver','importDOCXToSnapshot','2776595pNWSsL','6982768akmcur','6ZZBYIC','importDOCXToUnitId'];_0x23be=function(){return _0x3f9bab;};return _0x23be();}(function(_0x5f3094,_0x194a89){const _0x21746b=_0x2e7e,_0x554d92=_0x5f3094();while(!![]){try{const _0x4687d9=parseInt(_0x21746b(0x90))/0x1*(-parseInt(_0x21746b(0x7d))/0x2)+parseInt(_0x21746b(0x7f))/0x3*(parseInt(_0x21746b(0x73))/0x4)+-parseInt(_0x21746b(0x7b))/0x5+-parseInt(_0x21746b(0x80))/0x6*(-parseInt(_0x21746b(0x83))/0x7)+parseInt(_0x21746b(0x7c))/0x8+parseInt(_0x21746b(0x8a))/0x9*(-parseInt(_0x21746b(0x85))/0xa)+parseInt(_0x21746b(0x71))/0xb*(-parseInt(_0x21746b(0x84))/0xc);if(_0x4687d9===_0x194a89)break;else _0x554d92['push'](_0x554d92['shift']());}catch(_0x508436){_0x554d92['push'](_0x554d92['shift']());}}}(_0x23be,0x72b41));const r=require('@univerjs-pro/exchange-client'),o=require('@univerjs/core/facade');var i=(_0x3d7680=>(_0x3d7680[_0x3d7680['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x3d7680[_0x3d7680[_0x4f4ddb(0x91)]=0x1]=_0x4f4ddb(0x91),_0x3d7680[_0x3d7680['UNIVER_SHEET']=0x2]=_0x4f4ddb(0x89),_0x3d7680[_0x3d7680['UNIVER_SLIDE']=0x3]=_0x4f4ddb(0x8c),_0x3d7680[_0x3d7680[_0x4f4ddb(0x78)]=0x4]=_0x4f4ddb(0x78),_0x3d7680[_0x3d7680[_0x4f4ddb(0x81)]=-0x1]=_0x4f4ddb(0x81),_0x3d7680))(i||{});function _0x2e7e(_0x2bb40c,_0x118ca9){const _0x23be5f=_0x23be();return _0x2e7e=function(_0x2e7e79,_0x1505cc){_0x2e7e79=_0x2e7e79-0x6d;let _0x5bd4fd=_0x23be5f[_0x2e7e79];return _0x5bd4fd;},_0x2e7e(_0x2bb40c,_0x118ca9);}class c extends o[_0x4f4ddb(0x79)]{async['importXLSXToUnitId'](_0x470afa){const _0x58ea63=_0x4f4ddb;return this[_0x58ea63(0x8d)](_0x470afa);}async[_0x4f4ddb(0x8d)](_0x231cf2){const _0x5e16cc=_0x4f4ddb,_0x232b26=this[_0x5e16cc(0x72)]['get'](r['IExchangeService']);if(!_0x232b26)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x232b26['importFileToUnitId'](_0x231cf2,i[_0x5e16cc(0x89)]);}async[_0x4f4ddb(0x6f)](_0x423ae1){return this['importXLSXToSnapshotAsync'](_0x423ae1);}async[_0x4f4ddb(0x74)](_0x2540d1){const _0x224fe0=_0x4f4ddb,_0xba8f26=this[_0x224fe0(0x72)][_0x224fe0(0x6d)](r[_0x224fe0(0x8b)]);if(!_0xba8f26)throw new Error(_0x224fe0(0x8e));return _0xba8f26[_0x224fe0(0x6f)](_0x2540d1);}async[_0x4f4ddb(0x87)](_0x1dd98d){const _0x1e1564=_0x4f4ddb;return this[_0x1e1564(0x77)](_0x1dd98d);}async[_0x4f4ddb(0x77)](_0x31243b){const _0x3e0690=_0x4f4ddb,_0xf275a6=this[_0x3e0690(0x72)]['get'](r[_0x3e0690(0x8b)]);if(!_0xf275a6)throw new Error(_0x3e0690(0x8e));return _0xf275a6[_0x3e0690(0x87)](_0x31243b);}async[_0x4f4ddb(0x75)](_0x427580){const _0x407b80=_0x4f4ddb;return this[_0x407b80(0x92)](_0x427580);}async['exportXLSXBySnapshotAsync'](_0x5bbd85){const _0x2d36d7=_0x4f4ddb,_0x546892=this['_injector'][_0x2d36d7(0x6d)](r[_0x2d36d7(0x8b)]);if(!_0x546892)throw new Error(_0x2d36d7(0x8e));return _0x546892['exportXLSXBySnapshot'](_0x5bbd85);}async[_0x4f4ddb(0x7e)](_0x31af7c){const _0x319d8d=_0x4f4ddb;return this[_0x319d8d(0x8f)](_0x31af7c);}async['importDOCXToUnitIdAsync'](_0x12d068){const _0x2e3797=_0x4f4ddb,_0x13639d=this['_injector']['get'](r['IExchangeService']);if(!_0x13639d)throw new Error(_0x2e3797(0x8e));return _0x13639d[_0x2e3797(0x88)](_0x12d068,i[_0x2e3797(0x91)]);}async[_0x4f4ddb(0x7a)](_0x2f195d){const _0x226717=_0x4f4ddb;return this[_0x226717(0x76)](_0x2f195d);}async['importDOCXToSnapshotAsync'](_0x3ff83b){const _0x5843e3=_0x4f4ddb,_0x2dbbcd=this[_0x5843e3(0x72)][_0x5843e3(0x6d)](r[_0x5843e3(0x8b)]);if(!_0x2dbbcd)throw new Error(_0x5843e3(0x8e));return _0x2dbbcd[_0x5843e3(0x7a)](_0x3ff83b);}async['exportDOCXBySnapshotAsync'](_0x2f880b){const _0x464309=_0x4f4ddb,_0x226369=this['_injector'][_0x464309(0x6d)](r['IExchangeService']);if(!_0x226369)throw new Error(_0x464309(0x8e));return _0x226369[_0x464309(0x6e)](_0x2f880b);}async[_0x4f4ddb(0x86)](_0x54ca4f){const _0x55931b=_0x4f4ddb,_0x56f68c=this['_injector'][_0x55931b(0x6d)](r[_0x55931b(0x8b)]);if(!_0x56f68c)throw new Error(_0x55931b(0x8e));return _0x56f68c[_0x55931b(0x70)](_0x54ca4f);}}o['FUniver'][_0x4f4ddb(0x82)](c);
1
+ 'use strict';function _0x3605(_0x309904,_0x26a7ec){const _0x1f06a7=_0x1f06();return _0x3605=function(_0x3605b1,_0x462df4){_0x3605b1=_0x3605b1-0x1cf;let _0x16cde3=_0x1f06a7[_0x3605b1];return _0x16cde3;},_0x3605(_0x309904,_0x26a7ec);}const _0x24390d=_0x3605;(function(_0x3f18c9,_0x3a7ad6){const _0x516878=_0x3605,_0x164a9a=_0x3f18c9();while(!![]){try{const _0xe8bb0a=parseInt(_0x516878(0x1d0))/0x1+parseInt(_0x516878(0x1e2))/0x2+-parseInt(_0x516878(0x1cf))/0x3+-parseInt(_0x516878(0x1ed))/0x4+parseInt(_0x516878(0x1dd))/0x5*(-parseInt(_0x516878(0x1f3))/0x6)+-parseInt(_0x516878(0x1dc))/0x7*(parseInt(_0x516878(0x1d3))/0x8)+parseInt(_0x516878(0x1d4))/0x9*(parseInt(_0x516878(0x1d9))/0xa);if(_0xe8bb0a===_0x3a7ad6)break;else _0x164a9a['push'](_0x164a9a['shift']());}catch(_0x57c44a){_0x164a9a['push'](_0x164a9a['shift']());}}}(_0x1f06,0xa20e9));function _0x1f06(){const _0xa26f1f=['UNIVER_DOC','exportXLSXByUnitIdAsync','extend','IExchangeService','exportXLSXBySnapshot','@univerjs/core/facade','694560rTqdxk','importDOCXToSnapshotAsync','FUniver','UNIVER_SHEET','importXLSXToSnapshotAsync','importDOCXToSnapshot','96ZRUKub','UNIVER_SLIDE','2724324UwaRbR','380221DuieHV','importDOCXToUnitIdAsync','UNIVER_PROJECT','17592hlwDhB','126bOFKVx','exportDOCXByUnitIdAsync','get','exportXLSXByUnitId','importXLSXToUnitIdAsync','1542700YbAbBb','importXLSXToUnitId','exportDOCXBySnapshotAsync','2534nZLwpM','256545EaKKqN','importFileToUnitId','importDOCXToUnitId','exportDOCXBySnapshot','_injector','1645028jYosYP','UNRECOGNIZED','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','exportXLSXBySnapshotAsync'];_0x1f06=function(){return _0xa26f1f;};return _0x1f06();}const r=require('@univerjs-pro/exchange-client'),o=require(_0x24390d(0x1ec));var i=(_0x480531=>(_0x480531[_0x480531[_0x24390d(0x1e4)]=0x0]='UNIVER_UNKNOWN',_0x480531[_0x480531[_0x24390d(0x1e7)]=0x1]=_0x24390d(0x1e7),_0x480531[_0x480531['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x480531[_0x480531['UNIVER_SLIDE']=0x3]=_0x24390d(0x1f4),_0x480531[_0x480531[_0x24390d(0x1d2)]=0x4]='UNIVER_PROJECT',_0x480531[_0x480531[_0x24390d(0x1e3)]=-0x1]=_0x24390d(0x1e3),_0x480531))(i||{});class c extends o[_0x24390d(0x1ef)]{async[_0x24390d(0x1da)](_0x43f811){return this['importXLSXToUnitIdAsync'](_0x43f811);}async[_0x24390d(0x1d8)](_0x50e786){const _0x156030=_0x24390d,_0x3fa020=this[_0x156030(0x1e1)][_0x156030(0x1d6)](r[_0x156030(0x1ea)]);if(!_0x3fa020)throw new Error(_0x156030(0x1e5));return _0x3fa020['importFileToUnitId'](_0x50e786,i[_0x156030(0x1f0)]);}async['importXLSXToSnapshot'](_0x130eb4){const _0x1533ae=_0x24390d;return this[_0x1533ae(0x1f1)](_0x130eb4);}async['importXLSXToSnapshotAsync'](_0x124fea){const _0xbf2347=_0x24390d,_0x372b54=this['_injector']['get'](r[_0xbf2347(0x1ea)]);if(!_0x372b54)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x372b54['importXLSXToSnapshot'](_0x124fea);}async[_0x24390d(0x1d7)](_0x1902d0){const _0x3a2e27=_0x24390d;return this[_0x3a2e27(0x1e8)](_0x1902d0);}async['exportXLSXByUnitIdAsync'](_0x5308ae){const _0x15e172=_0x24390d,_0x39a369=this[_0x15e172(0x1e1)][_0x15e172(0x1d6)](r['IExchangeService']);if(!_0x39a369)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x39a369[_0x15e172(0x1d7)](_0x5308ae);}async[_0x24390d(0x1eb)](_0x5e4496){const _0x87f083=_0x24390d;return this[_0x87f083(0x1e6)](_0x5e4496);}async[_0x24390d(0x1e6)](_0x2c2e6c){const _0x438ed9=_0x24390d,_0x57d8a0=this[_0x438ed9(0x1e1)][_0x438ed9(0x1d6)](r[_0x438ed9(0x1ea)]);if(!_0x57d8a0)throw new Error(_0x438ed9(0x1e5));return _0x57d8a0['exportXLSXBySnapshot'](_0x2c2e6c);}async[_0x24390d(0x1df)](_0x206fb0){const _0x2958ec=_0x24390d;return this[_0x2958ec(0x1d1)](_0x206fb0);}async[_0x24390d(0x1d1)](_0x36dc3c){const _0x399ba9=_0x24390d,_0x24de34=this[_0x399ba9(0x1e1)][_0x399ba9(0x1d6)](r['IExchangeService']);if(!_0x24de34)throw new Error(_0x399ba9(0x1e5));return _0x24de34[_0x399ba9(0x1de)](_0x36dc3c,i[_0x399ba9(0x1e7)]);}async[_0x24390d(0x1f2)](_0x1a6d72){const _0x17f16c=_0x24390d;return this[_0x17f16c(0x1ee)](_0x1a6d72);}async[_0x24390d(0x1ee)](_0x1eeb63){const _0x45ae1c=_0x24390d,_0x2f207d=this[_0x45ae1c(0x1e1)][_0x45ae1c(0x1d6)](r[_0x45ae1c(0x1ea)]);if(!_0x2f207d)throw new Error(_0x45ae1c(0x1e5));return _0x2f207d['importDOCXToSnapshot'](_0x1eeb63);}async[_0x24390d(0x1db)](_0x17494e){const _0xfd28f2=_0x24390d,_0x4345e8=this['_injector'][_0xfd28f2(0x1d6)](r[_0xfd28f2(0x1ea)]);if(!_0x4345e8)throw new Error(_0xfd28f2(0x1e5));return _0x4345e8[_0xfd28f2(0x1e0)](_0x17494e);}async[_0x24390d(0x1d5)](_0x1d421c){const _0x160497=_0x24390d,_0x5daace=this[_0x160497(0x1e1)]['get'](r[_0x160497(0x1ea)]);if(!_0x5daace)throw new Error(_0x160497(0x1e5));return _0x5daace['exportDOCXByUnitId'](_0x1d421c);}}o[_0x24390d(0x1ef)][_0x24390d(0x1e9)](c);