@univerjs-pro/exchange-client 0.5.3-nightly.202501121605 → 0.5.4-experimental.20250114-7c09c35

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 _0x1aef67=_0xcfe5;function _0x1fac(){const _0x1c71df=['importXLSXToSnapshot','16ZhuyCm','8jAeIKq','@univerjs/core','UNIVER_DOC','598956zBTiZE','12749520OaDjse','32600NnIhsY','exportXLSXByUnitId','The\x20exchange\x20service\x20is\x20not\x20available','1034772jGNQQK','_injector','get','UNIVER_SLIDE','UNIVER_SHEET','importDOCXToUnitIdAsync','UNRECOGNIZED','4754538yGzXMG','importFileToUnitId','IExchangeService','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','@univerjs-pro/exchange-client','7JOCFXI','3542298WqqQoB','importDOCXToSnapshot','exportXLSXBySnapshot','importXLSXToSnapshotAsync','FUniver','UNIVER_UNKNOWN','UNIVER_PROJECT','exportXLSXByUnitIdAsync','1434865fPqALA'];_0x1fac=function(){return _0x1c71df;};return _0x1fac();}(function(_0x8f9372,_0x416ad4){const _0x3d2a83=_0xcfe5,_0x4f8065=_0x8f9372();while(!![]){try{const _0x494c38=parseInt(_0x3d2a83(0x82))/0x1*(parseInt(_0x3d2a83(0x7c))/0x2)+parseInt(_0x3d2a83(0x85))/0x3+-parseInt(_0x3d2a83(0x80))/0x4+-parseInt(_0x3d2a83(0x7a))/0x5+parseInt(_0x3d2a83(0x93))/0x6*(-parseInt(_0x3d2a83(0x92))/0x7)+-parseInt(_0x3d2a83(0x7d))/0x8*(parseInt(_0x3d2a83(0x8c))/0x9)+parseInt(_0x3d2a83(0x81))/0xa;if(_0x494c38===_0x416ad4)break;else _0x4f8065['push'](_0x4f8065['shift']());}catch(_0xa26ae){_0x4f8065['push'](_0x4f8065['shift']());}}}(_0x1fac,0x4f6b3));function _0xcfe5(_0x284c52,_0x35e3c7){const _0x1faccc=_0x1fac();return _0xcfe5=function(_0xcfe5f3,_0xd0d127){_0xcfe5f3=_0xcfe5f3-0x76;let _0xc80bc1=_0x1faccc[_0xcfe5f3];return _0xc80bc1;},_0xcfe5(_0x284c52,_0x35e3c7);}const r=require(_0x1aef67(0x91)),i=require(_0x1aef67(0x7e));var o=(_0x4bee19=>(_0x4bee19[_0x4bee19[_0x1aef67(0x77)]=0x0]=_0x1aef67(0x77),_0x4bee19[_0x4bee19[_0x1aef67(0x7f)]=0x1]=_0x1aef67(0x7f),_0x4bee19[_0x4bee19['UNIVER_SHEET']=0x2]=_0x1aef67(0x89),_0x4bee19[_0x4bee19[_0x1aef67(0x88)]=0x3]=_0x1aef67(0x88),_0x4bee19[_0x4bee19['UNIVER_PROJECT']=0x4]=_0x1aef67(0x78),_0x4bee19[_0x4bee19[_0x1aef67(0x8b)]=-0x1]=_0x1aef67(0x8b),_0x4bee19))(o||{});class c extends i['FUniver']{async['importXLSXToUnitId'](_0x489f10){return this['importXLSXToUnitIdAsync'](_0x489f10);}async['importXLSXToUnitIdAsync'](_0xa11f61){const _0x134681=_0x1aef67,_0x500447=this['_injector'][_0x134681(0x87)](r[_0x134681(0x8e)]);if(!_0x500447)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x500447[_0x134681(0x8d)](_0xa11f61,o[_0x134681(0x89)]);}async[_0x1aef67(0x7b)](_0x218009){return this['importXLSXToSnapshotAsync'](_0x218009);}async[_0x1aef67(0x96)](_0x3b97df){const _0x2d88eb=_0x1aef67,_0x58b6fc=this[_0x2d88eb(0x86)]['get'](r[_0x2d88eb(0x8e)]);if(!_0x58b6fc)throw new Error(_0x2d88eb(0x84));return _0x58b6fc[_0x2d88eb(0x7b)](_0x3b97df);}async[_0x1aef67(0x83)](_0x30843c){const _0x382529=_0x1aef67;return this[_0x382529(0x79)](_0x30843c);}async['exportXLSXByUnitIdAsync'](_0x8cb91b){const _0x317453=_0x1aef67,_0x289d18=this[_0x317453(0x86)][_0x317453(0x87)](r[_0x317453(0x8e)]);if(!_0x289d18)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x289d18['exportXLSXByUnitId'](_0x8cb91b);}async[_0x1aef67(0x95)](_0x229acf){const _0xcf8e6f=_0x1aef67;return this[_0xcf8e6f(0x90)](_0x229acf);}async['exportXLSXBySnapshotAsync'](_0x1fb41a){const _0x496f30=_0x1aef67,_0xfdf18f=this[_0x496f30(0x86)][_0x496f30(0x87)](r[_0x496f30(0x8e)]);if(!_0xfdf18f)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xfdf18f[_0x496f30(0x95)](_0x1fb41a);}async['importDOCXToUnitId'](_0x5baa75){return this['importDOCXToUnitIdAsync'](_0x5baa75);}async[_0x1aef67(0x8a)](_0x53e443){const _0x213f0b=_0x1aef67,_0x3aadf1=this[_0x213f0b(0x86)][_0x213f0b(0x87)](r[_0x213f0b(0x8e)]);if(!_0x3aadf1)throw new Error(_0x213f0b(0x84));return _0x3aadf1['importFileToUnitId'](_0x53e443,o[_0x213f0b(0x7f)]);}async[_0x1aef67(0x94)](_0x47e5a0){const _0x2d816d=_0x1aef67;return this[_0x2d816d(0x8f)](_0x47e5a0);}async[_0x1aef67(0x8f)](_0x21b9a5){const _0x4d331e=_0x1aef67,_0x32fe0d=this['_injector'][_0x4d331e(0x87)](r[_0x4d331e(0x8e)]);if(!_0x32fe0d)throw new Error(_0x4d331e(0x84));return _0x32fe0d[_0x4d331e(0x94)](_0x21b9a5);}}i[_0x1aef67(0x76)]['extend'](c);