@univerjs-pro/exchange-client 0.5.3-nightly.202501121605 → 0.5.4-nightly.202501131606

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 _0x3ffaca=_0x4996;(function(_0x4622d4,_0x4829a8){const _0x164ab4=_0x4996,_0x424305=_0x4622d4();while(!![]){try{const _0x52c38d=parseInt(_0x164ab4(0xf4))/0x1+-parseInt(_0x164ab4(0x106))/0x2*(parseInt(_0x164ab4(0x103))/0x3)+parseInt(_0x164ab4(0xfc))/0x4+-parseInt(_0x164ab4(0x101))/0x5+-parseInt(_0x164ab4(0xef))/0x6+-parseInt(_0x164ab4(0xf2))/0x7*(-parseInt(_0x164ab4(0xe8))/0x8)+parseInt(_0x164ab4(0x105))/0x9;if(_0x52c38d===_0x4829a8)break;else _0x424305['push'](_0x424305['shift']());}catch(_0x4bc0c1){_0x424305['push'](_0x424305['shift']());}}}(_0x5b48,0x9af1d));function _0x5b48(){const _0x477dd8=['FUniver','4007372QHrPse','exportXLSXBySnapshot','UNIVER_SHEET','exportXLSXByUnitId','importXLSXToSnapshot','4815305eECXFy','importDOCXToUnitId','10839vwAUhU','importDOCXToUnitIdAsync','5071653BjcGkh','478XqgOBX','importXLSXToUnitIdAsync','get','8lzhQCe','UNIVER_UNKNOWN','The\x20exchange\x20service\x20is\x20not\x20available','@univerjs/core','UNRECOGNIZED','importDOCXToSnapshotAsync','UNIVER_SLIDE','2572254EHuWNp','UNIVER_DOC','IExchangeService','8592206BKWhPY','importFileToUnitId','97112hwxLDb','UNIVER_PROJECT','importDOCXToSnapshot','importXLSXToSnapshotAsync','_injector','exportXLSXBySnapshotAsync','exportXLSXByUnitIdAsync'];_0x5b48=function(){return _0x477dd8;};return _0x5b48();}function _0x4996(_0x38940a,_0x2dcb6c){const _0x5b482f=_0x5b48();return _0x4996=function(_0x4996fd,_0x311185){_0x4996fd=_0x4996fd-0xe8;let _0x50bbe3=_0x5b482f[_0x4996fd];return _0x50bbe3;},_0x4996(_0x38940a,_0x2dcb6c);}const r=require('@univerjs-pro/exchange-client'),i=require(_0x3ffaca(0xeb));var o=(_0x4e41de=>(_0x4e41de[_0x4e41de[_0x3ffaca(0xe9)]=0x0]=_0x3ffaca(0xe9),_0x4e41de[_0x4e41de['UNIVER_DOC']=0x1]=_0x3ffaca(0xf0),_0x4e41de[_0x4e41de[_0x3ffaca(0xfe)]=0x2]=_0x3ffaca(0xfe),_0x4e41de[_0x4e41de[_0x3ffaca(0xee)]=0x3]=_0x3ffaca(0xee),_0x4e41de[_0x4e41de[_0x3ffaca(0xf5)]=0x4]=_0x3ffaca(0xf5),_0x4e41de[_0x4e41de[_0x3ffaca(0xec)]=-0x1]=_0x3ffaca(0xec),_0x4e41de))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x24450d){const _0x1eb841=_0x3ffaca;return this[_0x1eb841(0x107)](_0x24450d);}async['importXLSXToUnitIdAsync'](_0x51c825){const _0x31c05d=_0x3ffaca,_0x4257ea=this['_injector']['get'](r['IExchangeService']);if(!_0x4257ea)throw new Error(_0x31c05d(0xea));return _0x4257ea[_0x31c05d(0xf3)](_0x51c825,o[_0x31c05d(0xfe)]);}async[_0x3ffaca(0x100)](_0x4ab9d4){return this['importXLSXToSnapshotAsync'](_0x4ab9d4);}async[_0x3ffaca(0xf7)](_0x36f0af){const _0x24b651=_0x3ffaca,_0x140b5d=this['_injector']['get'](r[_0x24b651(0xf1)]);if(!_0x140b5d)throw new Error(_0x24b651(0xea));return _0x140b5d[_0x24b651(0x100)](_0x36f0af);}async['exportXLSXByUnitId'](_0x238d3d){const _0x3ac42b=_0x3ffaca;return this[_0x3ac42b(0xfa)](_0x238d3d);}async[_0x3ffaca(0xfa)](_0x52938c){const _0x182c75=_0x3ffaca,_0x575315=this[_0x182c75(0xf8)][_0x182c75(0x108)](r[_0x182c75(0xf1)]);if(!_0x575315)throw new Error(_0x182c75(0xea));return _0x575315[_0x182c75(0xff)](_0x52938c);}async[_0x3ffaca(0xfd)](_0x89dcb0){const _0x4de883=_0x3ffaca;return this[_0x4de883(0xf9)](_0x89dcb0);}async['exportXLSXBySnapshotAsync'](_0x280f42){const _0x4ed440=_0x3ffaca,_0x52f771=this[_0x4ed440(0xf8)][_0x4ed440(0x108)](r['IExchangeService']);if(!_0x52f771)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x52f771[_0x4ed440(0xfd)](_0x280f42);}async[_0x3ffaca(0x102)](_0x3a7e43){const _0x125449=_0x3ffaca;return this[_0x125449(0x104)](_0x3a7e43);}async[_0x3ffaca(0x104)](_0x2fa687){const _0x2af786=_0x3ffaca,_0x351b27=this['_injector'][_0x2af786(0x108)](r[_0x2af786(0xf1)]);if(!_0x351b27)throw new Error(_0x2af786(0xea));return _0x351b27[_0x2af786(0xf3)](_0x2fa687,o['UNIVER_DOC']);}async[_0x3ffaca(0xf6)](_0x4bc26f){const _0x176bbd=_0x3ffaca;return this[_0x176bbd(0xed)](_0x4bc26f);}async[_0x3ffaca(0xed)](_0x22e8b7){const _0x5afa55=_0x3ffaca,_0x4a181c=this[_0x5afa55(0xf8)][_0x5afa55(0x108)](r['IExchangeService']);if(!_0x4a181c)throw new Error(_0x5afa55(0xea));return _0x4a181c[_0x5afa55(0xf6)](_0x22e8b7);}}i[_0x3ffaca(0xfb)]['extend'](c);
1
+ 'use strict';const _0x606260=_0x2d5f;(function(_0x414499,_0x199062){const _0x1b626b=_0x2d5f,_0xc91dac=_0x414499();while(!![]){try{const _0x9bbf46=-parseInt(_0x1b626b(0x1e8))/0x1+-parseInt(_0x1b626b(0x1d3))/0x2+parseInt(_0x1b626b(0x1ec))/0x3+parseInt(_0x1b626b(0x1ee))/0x4*(parseInt(_0x1b626b(0x1e6))/0x5)+-parseInt(_0x1b626b(0x1e3))/0x6+-parseInt(_0x1b626b(0x1e9))/0x7*(-parseInt(_0x1b626b(0x1ea))/0x8)+parseInt(_0x1b626b(0x1d4))/0x9;if(_0x9bbf46===_0x199062)break;else _0xc91dac['push'](_0xc91dac['shift']());}catch(_0x5e7472){_0xc91dac['push'](_0xc91dac['shift']());}}}(_0x3120,0x1f769));function _0x2d5f(_0x18d3c0,_0x49fe14){const _0x3120c6=_0x3120();return _0x2d5f=function(_0x2d5fa0,_0x2b31dd){_0x2d5fa0=_0x2d5fa0-0x1d3;let _0x82850a=_0x3120c6[_0x2d5fa0];return _0x82850a;},_0x2d5f(_0x18d3c0,_0x49fe14);}function _0x3120(){const _0x5f392f=['230XMxuln','@univerjs-pro/exchange-client','48958JLqOVo','1089179mxoqEC','8BnrthN','exportXLSXBySnapshot','336933bJlKqH','The\x20exchange\x20service\x20is\x20not\x20available','16996mxFNpM','importXLSXToSnapshotAsync','importFileToUnitId','UNIVER_SLIDE','importXLSXToUnitIdAsync','importDOCXToUnitIdAsync','487872roVzfE','120600iyljJF','_injector','UNIVER_UNKNOWN','UNIVER_DOC','get','UNIVER_SHEET','importDOCXToSnapshotAsync','importXLSXToSnapshot','exportXLSXBySnapshotAsync','importDOCXToSnapshot','IExchangeService','UNRECOGNIZED','exportXLSXByUnitIdAsync','exportXLSXByUnitId','UNIVER_PROJECT','329970KvAOyF','extend','FUniver'];_0x3120=function(){return _0x5f392f;};return _0x3120();}const r=require(_0x606260(0x1e7)),i=require('@univerjs/core');var o=(_0x234148=>(_0x234148[_0x234148[_0x606260(0x1d6)]=0x0]=_0x606260(0x1d6),_0x234148[_0x234148['UNIVER_DOC']=0x1]=_0x606260(0x1d7),_0x234148[_0x234148[_0x606260(0x1d9)]=0x2]=_0x606260(0x1d9),_0x234148[_0x234148['UNIVER_SLIDE']=0x3]=_0x606260(0x1f1),_0x234148[_0x234148[_0x606260(0x1e2)]=0x4]=_0x606260(0x1e2),_0x234148[_0x234148[_0x606260(0x1df)]=-0x1]=_0x606260(0x1df),_0x234148))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x42c32d){const _0x47bee0=_0x606260;return this[_0x47bee0(0x1f2)](_0x42c32d);}async['importXLSXToUnitIdAsync'](_0xd439f3){const _0x2655a0=_0x606260,_0x209721=this[_0x2655a0(0x1d5)][_0x2655a0(0x1d8)](r[_0x2655a0(0x1de)]);if(!_0x209721)throw new Error(_0x2655a0(0x1ed));return _0x209721[_0x2655a0(0x1f0)](_0xd439f3,o[_0x2655a0(0x1d9)]);}async[_0x606260(0x1db)](_0x39843e){const _0x466429=_0x606260;return this[_0x466429(0x1ef)](_0x39843e);}async['importXLSXToSnapshotAsync'](_0x2e016e){const _0x254cf9=_0x606260,_0x5ec592=this[_0x254cf9(0x1d5)][_0x254cf9(0x1d8)](r[_0x254cf9(0x1de)]);if(!_0x5ec592)throw new Error(_0x254cf9(0x1ed));return _0x5ec592['importXLSXToSnapshot'](_0x2e016e);}async['exportXLSXByUnitId'](_0x28c859){const _0x23d16d=_0x606260;return this[_0x23d16d(0x1e0)](_0x28c859);}async[_0x606260(0x1e0)](_0xcd951b){const _0xed411d=_0x606260,_0x5d70fe=this[_0xed411d(0x1d5)]['get'](r[_0xed411d(0x1de)]);if(!_0x5d70fe)throw new Error(_0xed411d(0x1ed));return _0x5d70fe[_0xed411d(0x1e1)](_0xcd951b);}async[_0x606260(0x1eb)](_0x1a3004){const _0x55907a=_0x606260;return this[_0x55907a(0x1dc)](_0x1a3004);}async[_0x606260(0x1dc)](_0x286316){const _0x498ce0=_0x606260,_0x3aa25e=this['_injector'][_0x498ce0(0x1d8)](r['IExchangeService']);if(!_0x3aa25e)throw new Error(_0x498ce0(0x1ed));return _0x3aa25e['exportXLSXBySnapshot'](_0x286316);}async['importDOCXToUnitId'](_0x4bad2e){return this['importDOCXToUnitIdAsync'](_0x4bad2e);}async[_0x606260(0x1f3)](_0x48807e){const _0x273a85=_0x606260,_0x2363b3=this[_0x273a85(0x1d5)][_0x273a85(0x1d8)](r['IExchangeService']);if(!_0x2363b3)throw new Error(_0x273a85(0x1ed));return _0x2363b3['importFileToUnitId'](_0x48807e,o[_0x273a85(0x1d7)]);}async[_0x606260(0x1dd)](_0x4f9b52){const _0x273202=_0x606260;return this[_0x273202(0x1da)](_0x4f9b52);}async[_0x606260(0x1da)](_0x29314e){const _0x43a9d2=_0x606260,_0x5a2335=this['_injector']['get'](r[_0x43a9d2(0x1de)]);if(!_0x5a2335)throw new Error(_0x43a9d2(0x1ed));return _0x5a2335[_0x43a9d2(0x1dd)](_0x29314e);}}i[_0x606260(0x1e5)][_0x606260(0x1e4)](c);