@univerjs-pro/exchange-client 0.6.6-nightly.202503141606 → 0.6.6-nightly.202503161606

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 _0x69addd=_0x2adf;function _0x1df9(){const _0x4e29a0=['_injector','400503AjFoTB','3033FXDInu','UNIVER_DOC','6fAIdve','17875vXvzLN','importXLSXToSnapshotAsync','6096maUnZf','importDOCXToSnapshotAsync','9205BjrvPO','UNIVER_PROJECT','importDOCXToUnitIdAsync','5604700kIdkAK','639AnXFzY','20IrfJEt','importFileToUnitId','importXLSXToUnitIdAsync','UNIVER_SHEET','get','@univerjs/core/facade','UNIVER_SLIDE','extend','importDOCXToSnapshot','UNRECOGNIZED','UNIVER_UNKNOWN','exportXLSXByUnitIdAsync','FUniver','importDOCXToUnitId','12866217BvvwwO','importXLSXToSnapshot','importXLSXToUnitId','1232rSTSHu','exportXLSXBySnapshot','6872VeaWYF','4350KHIMrF','exportXLSXBySnapshotAsync','IExchangeService','The\x20exchange\x20service\x20is\x20not\x20available'];_0x1df9=function(){return _0x4e29a0;};return _0x1df9();}(function(_0x504c4f,_0x5886e1){const _0x937a19=_0x2adf,_0xa0e1ed=_0x504c4f();while(!![]){try{const _0x38834d=-parseInt(_0x937a19(0x1f9))/0x1*(-parseInt(_0x937a19(0x20b))/0x2)+parseInt(_0x937a19(0x213))/0x3*(parseInt(_0x937a19(0x1fa))/0x4)+-parseInt(_0x937a19(0x1f8))/0x5*(parseInt(_0x937a19(0x216))/0x6)+parseInt(_0x937a19(0x1f5))/0x7*(-parseInt(_0x937a19(0x20d))/0x8)+-parseInt(_0x937a19(0x214))/0x9*(-parseInt(_0x937a19(0x20e))/0xa)+parseInt(_0x937a19(0x1f1))/0xb*(parseInt(_0x937a19(0x1f3))/0xc)+parseInt(_0x937a19(0x208))/0xd;if(_0x38834d===_0x5886e1)break;else _0xa0e1ed['push'](_0xa0e1ed['shift']());}catch(_0x3c10bd){_0xa0e1ed['push'](_0xa0e1ed['shift']());}}}(_0x1df9,0xbc938));function _0x2adf(_0x5c25dd,_0x49effe){const _0x1df984=_0x1df9();return _0x2adf=function(_0x2adf6f,_0x4769c6){_0x2adf6f=_0x2adf6f-0x1f1;let _0x40c959=_0x1df984[_0x2adf6f];return _0x40c959;},_0x2adf(_0x5c25dd,_0x49effe);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x69addd(0x1ff));var o=(_0x451412=>(_0x451412[_0x451412[_0x69addd(0x204)]=0x0]=_0x69addd(0x204),_0x451412[_0x451412[_0x69addd(0x215)]=0x1]='UNIVER_DOC',_0x451412[_0x451412[_0x69addd(0x1fd)]=0x2]=_0x69addd(0x1fd),_0x451412[_0x451412[_0x69addd(0x200)]=0x3]=_0x69addd(0x200),_0x451412[_0x451412[_0x69addd(0x1f6)]=0x4]='UNIVER_PROJECT',_0x451412[_0x451412['UNRECOGNIZED']=-0x1]=_0x69addd(0x203),_0x451412))(o||{});class c extends i[_0x69addd(0x206)]{async[_0x69addd(0x20a)](_0x5c7a71){const _0x1a184b=_0x69addd;return this[_0x1a184b(0x1fc)](_0x5c7a71);}async[_0x69addd(0x1fc)](_0xa14642){const _0x5471f6=_0x69addd,_0x12ee49=this[_0x5471f6(0x212)][_0x5471f6(0x1fe)](r['IExchangeService']);if(!_0x12ee49)throw new Error(_0x5471f6(0x211));return _0x12ee49['importFileToUnitId'](_0xa14642,o[_0x5471f6(0x1fd)]);}async[_0x69addd(0x209)](_0x13b0b8){const _0xf803c9=_0x69addd;return this[_0xf803c9(0x1f2)](_0x13b0b8);}async[_0x69addd(0x1f2)](_0x12fd5e){const _0xc667d3=_0x69addd,_0xb64eb5=this[_0xc667d3(0x212)]['get'](r[_0xc667d3(0x210)]);if(!_0xb64eb5)throw new Error(_0xc667d3(0x211));return _0xb64eb5[_0xc667d3(0x209)](_0x12fd5e);}async['exportXLSXByUnitId'](_0x31c6f5){const _0x1333a6=_0x69addd;return this[_0x1333a6(0x205)](_0x31c6f5);}async[_0x69addd(0x205)](_0x4f460b){const _0x4e2a65=_0x69addd,_0x2eedbe=this[_0x4e2a65(0x212)]['get'](r['IExchangeService']);if(!_0x2eedbe)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2eedbe['exportXLSXByUnitId'](_0x4f460b);}async[_0x69addd(0x20c)](_0x1a92a0){const _0x38bf61=_0x69addd;return this[_0x38bf61(0x20f)](_0x1a92a0);}async[_0x69addd(0x20f)](_0x433005){const _0x552dbf=_0x69addd,_0x491fe8=this['_injector'][_0x552dbf(0x1fe)](r[_0x552dbf(0x210)]);if(!_0x491fe8)throw new Error(_0x552dbf(0x211));return _0x491fe8[_0x552dbf(0x20c)](_0x433005);}async[_0x69addd(0x207)](_0xe84f22){const _0x52c9ec=_0x69addd;return this[_0x52c9ec(0x1f7)](_0xe84f22);}async[_0x69addd(0x1f7)](_0x3a4bd6){const _0x2f7113=_0x69addd,_0x2b009e=this[_0x2f7113(0x212)][_0x2f7113(0x1fe)](r[_0x2f7113(0x210)]);if(!_0x2b009e)throw new Error(_0x2f7113(0x211));return _0x2b009e[_0x2f7113(0x1fb)](_0x3a4bd6,o[_0x2f7113(0x215)]);}async[_0x69addd(0x202)](_0x366527){const _0x9d9e36=_0x69addd;return this[_0x9d9e36(0x1f4)](_0x366527);}async[_0x69addd(0x1f4)](_0x46d18d){const _0x1bfd11=_0x69addd,_0x3de3fd=this[_0x1bfd11(0x212)][_0x1bfd11(0x1fe)](r[_0x1bfd11(0x210)]);if(!_0x3de3fd)throw new Error(_0x1bfd11(0x211));return _0x3de3fd[_0x1bfd11(0x202)](_0x46d18d);}}i[_0x69addd(0x206)][_0x69addd(0x201)](c);
1
+ 'use strict';const _0x1d8425=_0x3142;(function(_0x2814aa,_0x4e0d3c){const _0x89f15b=_0x3142,_0x3067c4=_0x2814aa();while(!![]){try{const _0x3aeb75=parseInt(_0x89f15b(0x1a6))/0x1+parseInt(_0x89f15b(0x1a7))/0x2*(-parseInt(_0x89f15b(0x19f))/0x3)+-parseInt(_0x89f15b(0x19b))/0x4+parseInt(_0x89f15b(0x1a9))/0x5*(-parseInt(_0x89f15b(0x1b5))/0x6)+-parseInt(_0x89f15b(0x1b8))/0x7*(parseInt(_0x89f15b(0x1ac))/0x8)+-parseInt(_0x89f15b(0x1b0))/0x9*(-parseInt(_0x89f15b(0x1a2))/0xa)+parseInt(_0x89f15b(0x1a4))/0xb;if(_0x3aeb75===_0x4e0d3c)break;else _0x3067c4['push'](_0x3067c4['shift']());}catch(_0x3b7903){_0x3067c4['push'](_0x3067c4['shift']());}}}(_0x43ee,0x8819b));function _0x43ee(){const _0x2cf9a2=['exportXLSXByUnitIdAsync','importDOCXToSnapshotAsync','get','2074836CvpsIq','UNIVER_DOC','importDOCXToUnitIdAsync','_injector','77538HwyTFy','importFileToUnitId','UNIVER_SHEET','5089080tHdRVt','FUniver','29521052DoueTM','exportXLSXBySnapshotAsync','345637UJHIWN','60AapPYg','IExchangeService','3769805wPTqpG','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','80cwNmnR','importDOCXToSnapshot','UNIVER_PROJECT','UNIVER_SLIDE','9sZmkvB','@univerjs/core/facade','importXLSXToSnapshot','extend','exportXLSXByUnitId','6mbtVBp','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','652932NNivrI'];_0x43ee=function(){return _0x2cf9a2;};return _0x43ee();}const r=require('@univerjs-pro/exchange-client'),i=require(_0x1d8425(0x1b1));function _0x3142(_0x140bbc,_0x3ef152){const _0x43eeec=_0x43ee();return _0x3142=function(_0x31422b,_0x2a14a6){_0x31422b=_0x31422b-0x19b;let _0x5ae309=_0x43eeec[_0x31422b];return _0x5ae309;},_0x3142(_0x140bbc,_0x3ef152);}var o=(_0x577194=>(_0x577194[_0x577194[_0x1d8425(0x1aa)]=0x0]=_0x1d8425(0x1aa),_0x577194[_0x577194[_0x1d8425(0x19c)]=0x1]=_0x1d8425(0x19c),_0x577194[_0x577194[_0x1d8425(0x1a1)]=0x2]='UNIVER_SHEET',_0x577194[_0x577194[_0x1d8425(0x1af)]=0x3]=_0x1d8425(0x1af),_0x577194[_0x577194[_0x1d8425(0x1ae)]=0x4]=_0x1d8425(0x1ae),_0x577194[_0x577194['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x577194))(o||{});class c extends i[_0x1d8425(0x1a3)]{async['importXLSXToUnitId'](_0x3f4a2e){const _0x2f2f08=_0x1d8425;return this[_0x2f2f08(0x1b7)](_0x3f4a2e);}async[_0x1d8425(0x1b7)](_0x5081ed){const _0x41fbfd=_0x1d8425,_0x13718c=this[_0x41fbfd(0x19e)][_0x41fbfd(0x1bb)](r['IExchangeService']);if(!_0x13718c)throw new Error(_0x41fbfd(0x1ab));return _0x13718c[_0x41fbfd(0x1a0)](_0x5081ed,o['UNIVER_SHEET']);}async[_0x1d8425(0x1b2)](_0x2edeeb){const _0x3ce92a=_0x1d8425;return this[_0x3ce92a(0x1b6)](_0x2edeeb);}async['importXLSXToSnapshotAsync'](_0x112c11){const _0xe9cdf6=_0x1d8425,_0x53ab89=this[_0xe9cdf6(0x19e)][_0xe9cdf6(0x1bb)](r['IExchangeService']);if(!_0x53ab89)throw new Error(_0xe9cdf6(0x1ab));return _0x53ab89[_0xe9cdf6(0x1b2)](_0x112c11);}async[_0x1d8425(0x1b4)](_0x20f23f){const _0x564cb2=_0x1d8425;return this[_0x564cb2(0x1b9)](_0x20f23f);}async[_0x1d8425(0x1b9)](_0x25021d){const _0x57c616=_0x1d8425,_0x287bcf=this[_0x57c616(0x19e)][_0x57c616(0x1bb)](r['IExchangeService']);if(!_0x287bcf)throw new Error(_0x57c616(0x1ab));return _0x287bcf[_0x57c616(0x1b4)](_0x25021d);}async['exportXLSXBySnapshot'](_0x5529b8){const _0x197322=_0x1d8425;return this[_0x197322(0x1a5)](_0x5529b8);}async[_0x1d8425(0x1a5)](_0x116328){const _0x3a330a=_0x1d8425,_0x2433f4=this[_0x3a330a(0x19e)][_0x3a330a(0x1bb)](r[_0x3a330a(0x1a8)]);if(!_0x2433f4)throw new Error(_0x3a330a(0x1ab));return _0x2433f4['exportXLSXBySnapshot'](_0x116328);}async['importDOCXToUnitId'](_0x395123){const _0x312630=_0x1d8425;return this[_0x312630(0x19d)](_0x395123);}async[_0x1d8425(0x19d)](_0x3b818f){const _0x35d3f9=_0x1d8425,_0x265505=this[_0x35d3f9(0x19e)]['get'](r[_0x35d3f9(0x1a8)]);if(!_0x265505)throw new Error(_0x35d3f9(0x1ab));return _0x265505[_0x35d3f9(0x1a0)](_0x3b818f,o[_0x35d3f9(0x19c)]);}async['importDOCXToSnapshot'](_0x2966c0){return this['importDOCXToSnapshotAsync'](_0x2966c0);}async[_0x1d8425(0x1ba)](_0x5d1c98){const _0x3f4707=_0x1d8425,_0x45cbf4=this['_injector']['get'](r[_0x3f4707(0x1a8)]);if(!_0x45cbf4)throw new Error(_0x3f4707(0x1ab));return _0x45cbf4[_0x3f4707(0x1ad)](_0x5d1c98);}}i[_0x1d8425(0x1a3)][_0x1d8425(0x1b3)](c);