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

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 _0x207181=_0x55f8;function _0x55f8(_0x2581d0,_0x5cfc3d){const _0x408aa9=_0x408a();return _0x55f8=function(_0x55f88e,_0x25dd89){_0x55f88e=_0x55f88e-0x16f;let _0x352a91=_0x408aa9[_0x55f88e];return _0x352a91;},_0x55f8(_0x2581d0,_0x5cfc3d);}(function(_0x4246ed,_0x2e2d15){const _0x472b96=_0x55f8,_0x27239e=_0x4246ed();while(!![]){try{const _0x3d2530=parseInt(_0x472b96(0x171))/0x1+-parseInt(_0x472b96(0x182))/0x2*(parseInt(_0x472b96(0x18c))/0x3)+-parseInt(_0x472b96(0x179))/0x4+-parseInt(_0x472b96(0x183))/0x5*(parseInt(_0x472b96(0x18f))/0x6)+-parseInt(_0x472b96(0x180))/0x7*(parseInt(_0x472b96(0x17a))/0x8)+parseInt(_0x472b96(0x172))/0x9*(-parseInt(_0x472b96(0x18e))/0xa)+parseInt(_0x472b96(0x176))/0xb;if(_0x3d2530===_0x2e2d15)break;else _0x27239e['push'](_0x27239e['shift']());}catch(_0x28382e){_0x27239e['push'](_0x27239e['shift']());}}}(_0x408a,0x9c579));const r=require('@univerjs-pro/exchange-client'),i=require(_0x207181(0x184));var o=(_0x3a8800=>(_0x3a8800[_0x3a8800['UNIVER_UNKNOWN']=0x0]=_0x207181(0x178),_0x3a8800[_0x3a8800[_0x207181(0x189)]=0x1]=_0x207181(0x189),_0x3a8800[_0x3a8800[_0x207181(0x17e)]=0x2]=_0x207181(0x17e),_0x3a8800[_0x3a8800[_0x207181(0x17d)]=0x3]=_0x207181(0x17d),_0x3a8800[_0x3a8800[_0x207181(0x170)]=0x4]=_0x207181(0x170),_0x3a8800[_0x3a8800[_0x207181(0x173)]=-0x1]='UNRECOGNIZED',_0x3a8800))(o||{});class c extends i[_0x207181(0x18d)]{async[_0x207181(0x185)](_0x36cade){const _0x306d35=_0x207181;return this[_0x306d35(0x175)](_0x36cade);}async['importXLSXToUnitIdAsync'](_0x34768d){const _0x186549=_0x207181,_0x4ca04e=this['_injector']['get'](r[_0x186549(0x187)]);if(!_0x4ca04e)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4ca04e[_0x186549(0x17b)](_0x34768d,o[_0x186549(0x17e)]);}async[_0x207181(0x16f)](_0xa20143){return this['importXLSXToSnapshotAsync'](_0xa20143);}async[_0x207181(0x18a)](_0x2de8e0){const _0x5672c8=_0x207181,_0x379bbd=this['_injector'][_0x5672c8(0x177)](r['IExchangeService']);if(!_0x379bbd)throw new Error(_0x5672c8(0x181));return _0x379bbd['importXLSXToSnapshot'](_0x2de8e0);}async[_0x207181(0x17f)](_0x35ae10){return this['exportXLSXByUnitIdAsync'](_0x35ae10);}async['exportXLSXByUnitIdAsync'](_0x38075a){const _0x4b0e74=_0x207181,_0x162b0d=this[_0x4b0e74(0x191)][_0x4b0e74(0x177)](r['IExchangeService']);if(!_0x162b0d)throw new Error(_0x4b0e74(0x181));return _0x162b0d[_0x4b0e74(0x17f)](_0x38075a);}async[_0x207181(0x174)](_0x57d83d){const _0x3b2809=_0x207181;return this[_0x3b2809(0x17c)](_0x57d83d);}async['exportXLSXBySnapshotAsync'](_0x20d136){const _0x1470af=_0x207181,_0x5904d6=this[_0x1470af(0x191)][_0x1470af(0x177)](r[_0x1470af(0x187)]);if(!_0x5904d6)throw new Error(_0x1470af(0x181));return _0x5904d6['exportXLSXBySnapshot'](_0x20d136);}async['importDOCXToUnitId'](_0x9a2ac0){return this['importDOCXToUnitIdAsync'](_0x9a2ac0);}async[_0x207181(0x190)](_0x2f21da){const _0x2eef6f=_0x207181,_0xb7fa0d=this[_0x2eef6f(0x191)][_0x2eef6f(0x177)](r[_0x2eef6f(0x187)]);if(!_0xb7fa0d)throw new Error(_0x2eef6f(0x181));return _0xb7fa0d[_0x2eef6f(0x17b)](_0x2f21da,o[_0x2eef6f(0x189)]);}async[_0x207181(0x188)](_0x3255b3){const _0x2bd6b6=_0x207181;return this[_0x2bd6b6(0x186)](_0x3255b3);}async['importDOCXToSnapshotAsync'](_0x4cdef6){const _0x185b03=_0x207181,_0x471af3=this[_0x185b03(0x191)][_0x185b03(0x177)](r[_0x185b03(0x187)]);if(!_0x471af3)throw new Error(_0x185b03(0x181));return _0x471af3[_0x185b03(0x188)](_0x4cdef6);}}i[_0x207181(0x18d)][_0x207181(0x18b)](c);function _0x408a(){const _0x857008=['UNIVER_SHEET','exportXLSXByUnitId','3098753fzyUqy','The\x20exchange\x20service\x20is\x20not\x20available','5702zSHOaU','1106630vCOrHd','@univerjs/core','importXLSXToUnitId','importDOCXToSnapshotAsync','IExchangeService','importDOCXToSnapshot','UNIVER_DOC','importXLSXToSnapshotAsync','extend','1251wIrkAF','FUniver','50bGRLGZ','6mxpCLU','importDOCXToUnitIdAsync','_injector','importXLSXToSnapshot','UNIVER_PROJECT','403777WHLtJz','539037PfiKCZ','UNRECOGNIZED','exportXLSXBySnapshot','importXLSXToUnitIdAsync','27058328fGEiiY','get','UNIVER_UNKNOWN','283644vvYFqk','8tPsjOm','importFileToUnitId','exportXLSXBySnapshotAsync','UNIVER_SLIDE'];_0x408a=function(){return _0x857008;};return _0x408a();}
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);