@univerjs-pro/exchange-client 0.6.10-experimental.20250424-9e348ed → 0.6.10-experimental.20250427-173dc06

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';function _0x408c(){const _0x34ed25=['The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','UNIVER_SLIDE','721944NnDuYT','_injector','UNIVER_SHEET','70380DGGVJE','importDOCXToUnitIdAsync','IExchangeService','8XDVYAg','get','importXLSXToSnapshot','4469244hSUaWG','300nmqXJQ','exportXLSXByUnitId','UNIVER_UNKNOWN','UNIVER_PROJECT','1025332dSzTkN','UNIVER_DOC','1167986uAnpCW','FUniver','importXLSXToSnapshotAsync','importXLSXToUnitId','5YRWfUc','importXLSXToUnitIdAsync','@univerjs-pro/exchange-client','exportXLSXBySnapshotAsync','@univerjs/core/facade','36yofhIN','importDOCXToSnapshotAsync','importDOCXToSnapshot','10112994tlTARK','1209803LXZddd'];_0x408c=function(){return _0x34ed25;};return _0x408c();}const _0xfdee45=_0x4605;(function(_0x1638b2,_0x2e9ad1){const _0x3ce694=_0x4605,_0x40428f=_0x1638b2();while(!![]){try{const _0x9984ef=parseInt(_0x3ce694(0xa0))/0x1+-parseInt(_0x3ce694(0xb4))/0x2*(-parseInt(_0x3ce694(0xa9))/0x3)+parseInt(_0x3ce694(0xb1))/0x4*(-parseInt(_0x3ce694(0xa4))/0x5)+parseInt(_0x3ce694(0x99))/0x6+parseInt(_0x3ce694(0xad))/0x7+-parseInt(_0x3ce694(0x96))/0x8*(-parseInt(_0x3ce694(0xac))/0x9)+parseInt(_0x3ce694(0x9a))/0xa*(-parseInt(_0x3ce694(0x9e))/0xb);if(_0x9984ef===_0x2e9ad1)break;else _0x40428f['push'](_0x40428f['shift']());}catch(_0x5dd71d){_0x40428f['push'](_0x40428f['shift']());}}}(_0x408c,0x9fdc5));const r=require(_0xfdee45(0xa6)),i=require(_0xfdee45(0xa8));function _0x4605(_0x3ec56d,_0x2481b1){const _0x408c64=_0x408c();return _0x4605=function(_0x460516,_0x4b1e88){_0x460516=_0x460516-0x95;let _0x1bace8=_0x408c64[_0x460516];return _0x1bace8;},_0x4605(_0x3ec56d,_0x2481b1);}var o=(_0x1e14f2=>(_0x1e14f2[_0x1e14f2['UNIVER_UNKNOWN']=0x0]=_0xfdee45(0x9c),_0x1e14f2[_0x1e14f2['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x1e14f2[_0x1e14f2[_0xfdee45(0xb3)]=0x2]=_0xfdee45(0xb3),_0x1e14f2[_0x1e14f2[_0xfdee45(0xb0)]=0x3]=_0xfdee45(0xb0),_0x1e14f2[_0x1e14f2[_0xfdee45(0x9d)]=0x4]='UNIVER_PROJECT',_0x1e14f2[_0x1e14f2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1e14f2))(o||{});class c extends i[_0xfdee45(0xa1)]{async[_0xfdee45(0xa3)](_0x4208be){const _0x140eb5=_0xfdee45;return this[_0x140eb5(0xa5)](_0x4208be);}async[_0xfdee45(0xa5)](_0x4f9e65){const _0x41266f=_0xfdee45,_0x31903d=this['_injector'][_0x41266f(0x97)](r['IExchangeService']);if(!_0x31903d)throw new Error(_0x41266f(0xae));return _0x31903d[_0x41266f(0xaf)](_0x4f9e65,o[_0x41266f(0xb3)]);}async['importXLSXToSnapshot'](_0x7e66c5){const _0x199351=_0xfdee45;return this[_0x199351(0xa2)](_0x7e66c5);}async[_0xfdee45(0xa2)](_0x207c1b){const _0x381f0b=_0xfdee45,_0xb4ff4d=this['_injector'][_0x381f0b(0x97)](r[_0x381f0b(0x95)]);if(!_0xb4ff4d)throw new Error(_0x381f0b(0xae));return _0xb4ff4d[_0x381f0b(0x98)](_0x207c1b);}async['exportXLSXByUnitId'](_0x3e1abf){return this['exportXLSXByUnitIdAsync'](_0x3e1abf);}async['exportXLSXByUnitIdAsync'](_0x40005d){const _0x4328e6=_0xfdee45,_0x4d120a=this['_injector'][_0x4328e6(0x97)](r[_0x4328e6(0x95)]);if(!_0x4d120a)throw new Error(_0x4328e6(0xae));return _0x4d120a[_0x4328e6(0x9b)](_0x40005d);}async['exportXLSXBySnapshot'](_0x5523ea){return this['exportXLSXBySnapshotAsync'](_0x5523ea);}async[_0xfdee45(0xa7)](_0x2b5c74){const _0x12b0e9=_0xfdee45,_0x5987f5=this[_0x12b0e9(0xb2)][_0x12b0e9(0x97)](r[_0x12b0e9(0x95)]);if(!_0x5987f5)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x5987f5['exportXLSXBySnapshot'](_0x2b5c74);}async['importDOCXToUnitId'](_0xe0475a){return this['importDOCXToUnitIdAsync'](_0xe0475a);}async[_0xfdee45(0xb5)](_0x42a9d0){const _0x2399b5=_0xfdee45,_0x3491e3=this[_0x2399b5(0xb2)][_0x2399b5(0x97)](r[_0x2399b5(0x95)]);if(!_0x3491e3)throw new Error(_0x2399b5(0xae));return _0x3491e3[_0x2399b5(0xaf)](_0x42a9d0,o[_0x2399b5(0x9f)]);}async['importDOCXToSnapshot'](_0x548777){return this['importDOCXToSnapshotAsync'](_0x548777);}async[_0xfdee45(0xaa)](_0x5c986d){const _0x207b3c=_0xfdee45,_0x40d09a=this[_0x207b3c(0xb2)][_0x207b3c(0x97)](r[_0x207b3c(0x95)]);if(!_0x40d09a)throw new Error(_0x207b3c(0xae));return _0x40d09a[_0x207b3c(0xab)](_0x5c986d);}}i['FUniver']['extend'](c);
1
+ 'use strict';function _0x41fd(){const _0x5a1eaf=['2306785JZLCGf','The\x20exchange\x20service\x20is\x20not\x20available','IExchangeService','importXLSXToSnapshotAsync','exportXLSXByUnitId','importDOCXToSnapshot','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','UNIVER_UNKNOWN','@univerjs/core/facade','11477824oSxyZy','_injector','exportXLSXBySnapshot','36EJWFhw','10791802ODkLtB','importXLSXToUnitId','973192qgLHeB','717277tCDJHd','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','UNIVER_SLIDE','475692WRLcMK','FUniver','UNIVER_DOC','exportXLSXByUnitIdAsync','UNIVER_PROJECT','importXLSXToSnapshot','UNIVER_SHEET','get','importFileToUnitId','@univerjs-pro/exchange-client','5102868NAVLkt','UNRECOGNIZED'];_0x41fd=function(){return _0x5a1eaf;};return _0x41fd();}const _0x3c025a=_0x5ea4;(function(_0x20e483,_0x589dc8){const _0x1c2ebe=_0x5ea4,_0x557fbf=_0x20e483();while(!![]){try{const _0x863a46=parseInt(_0x1c2ebe(0x82))/0x1+parseInt(_0x1c2ebe(0x81))/0x2+-parseInt(_0x1c2ebe(0x9f))/0x3*(parseInt(_0x1c2ebe(0x86))/0x4)+parseInt(_0x1c2ebe(0x92))/0x5+parseInt(_0x1c2ebe(0x90))/0x6+-parseInt(_0x1c2ebe(0xa0))/0x7+parseInt(_0x1c2ebe(0x9c))/0x8;if(_0x863a46===_0x589dc8)break;else _0x557fbf['push'](_0x557fbf['shift']());}catch(_0x5823e0){_0x557fbf['push'](_0x557fbf['shift']());}}}(_0x41fd,0xefaaa));const r=require(_0x3c025a(0x8f)),i=require(_0x3c025a(0x9b));function _0x5ea4(_0x4027da,_0x190841){const _0x41fdae=_0x41fd();return _0x5ea4=function(_0x5ea4fb,_0x58f2ac){_0x5ea4fb=_0x5ea4fb-0x80;let _0x5768fc=_0x41fdae[_0x5ea4fb];return _0x5768fc;},_0x5ea4(_0x4027da,_0x190841);}var o=(_0x1fe55b=>(_0x1fe55b[_0x1fe55b[_0x3c025a(0x9a)]=0x0]=_0x3c025a(0x9a),_0x1fe55b[_0x1fe55b['UNIVER_DOC']=0x1]=_0x3c025a(0x88),_0x1fe55b[_0x1fe55b[_0x3c025a(0x8c)]=0x2]=_0x3c025a(0x8c),_0x1fe55b[_0x1fe55b[_0x3c025a(0x85)]=0x3]=_0x3c025a(0x85),_0x1fe55b[_0x1fe55b[_0x3c025a(0x8a)]=0x4]=_0x3c025a(0x8a),_0x1fe55b[_0x1fe55b[_0x3c025a(0x91)]=-0x1]='UNRECOGNIZED',_0x1fe55b))(o||{});class c extends i['FUniver']{async[_0x3c025a(0x80)](_0x14dcfe){const _0x260ad6=_0x3c025a;return this[_0x260ad6(0x98)](_0x14dcfe);}async[_0x3c025a(0x98)](_0x50f026){const _0x4bb831=_0x3c025a,_0x3ca5e5=this['_injector'][_0x4bb831(0x8d)](r['IExchangeService']);if(!_0x3ca5e5)throw new Error(_0x4bb831(0x93));return _0x3ca5e5[_0x4bb831(0x8e)](_0x50f026,o[_0x4bb831(0x8c)]);}async[_0x3c025a(0x8b)](_0x4eae4a){const _0x2ab147=_0x3c025a;return this[_0x2ab147(0x95)](_0x4eae4a);}async[_0x3c025a(0x95)](_0x4ffa8f){const _0x53c1f3=_0x3c025a,_0x489bc5=this[_0x53c1f3(0x9d)]['get'](r[_0x53c1f3(0x94)]);if(!_0x489bc5)throw new Error(_0x53c1f3(0x93));return _0x489bc5[_0x53c1f3(0x8b)](_0x4ffa8f);}async[_0x3c025a(0x96)](_0x3311d0){const _0x173b19=_0x3c025a;return this[_0x173b19(0x89)](_0x3311d0);}async['exportXLSXByUnitIdAsync'](_0x4bcbe4){const _0x174519=_0x3c025a,_0x30fad9=this['_injector'][_0x174519(0x8d)](r[_0x174519(0x94)]);if(!_0x30fad9)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x30fad9[_0x174519(0x96)](_0x4bcbe4);}async[_0x3c025a(0x9e)](_0x265043){const _0x351451=_0x3c025a;return this[_0x351451(0x84)](_0x265043);}async[_0x3c025a(0x84)](_0x1dca1e){const _0x375311=_0x3c025a,_0x256cee=this[_0x375311(0x9d)][_0x375311(0x8d)](r[_0x375311(0x94)]);if(!_0x256cee)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x256cee[_0x375311(0x9e)](_0x1dca1e);}async['importDOCXToUnitId'](_0x2fc464){const _0x39ffeb=_0x3c025a;return this[_0x39ffeb(0x99)](_0x2fc464);}async[_0x3c025a(0x99)](_0xbd5863){const _0x207b84=_0x3c025a,_0x4ca5ec=this[_0x207b84(0x9d)][_0x207b84(0x8d)](r[_0x207b84(0x94)]);if(!_0x4ca5ec)throw new Error(_0x207b84(0x93));return _0x4ca5ec[_0x207b84(0x8e)](_0xbd5863,o[_0x207b84(0x88)]);}async[_0x3c025a(0x97)](_0x478708){return this['importDOCXToSnapshotAsync'](_0x478708);}async[_0x3c025a(0x83)](_0x445b57){const _0x57ab7e=_0x3c025a,_0x31f1b5=this['_injector']['get'](r[_0x57ab7e(0x94)]);if(!_0x31f1b5)throw new Error(_0x57ab7e(0x93));return _0x31f1b5[_0x57ab7e(0x97)](_0x445b57);}}i[_0x3c025a(0x87)]['extend'](c);