@univerjs-pro/exchange-client 0.5.0-nightly.202411121606 → 0.5.0-nightly.202411131606
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 +1 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +2 -2
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +16 -0
- package/lib/types/controllers/exchange.controller.d.ts +8 -0
- package/lib/types/facade/f-univer.d.ts +36 -0
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/index.d.ts +10 -483
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +21 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/plugin.d.ts +11 -0
- package/lib/types/services/__tests__/snapshot.spec.d.ts +1 -0
- package/lib/types/services/exchange.service.d.ts +87 -0
- package/lib/types/services/operate.service.d.ts +121 -0
- package/lib/types/services/request.service.d.ts +107 -0
- package/lib/types/services/upload-notification.service.d.ts +52 -0
- package/lib/types/services/utils/snapshot.d.ts +76 -0
- package/lib/types/services/utils/tool.d.ts +19 -0
- package/lib/types/views/UploadNotificationContainer.d.ts +2 -0
- package/lib/types/views/link-list/LinkList.d.ts +6 -0
- package/lib/types/views/upload-again/UploadAgain.d.ts +2 -0
- package/lib/types/views/upload-button/UploadButton.d.ts +7 -0
- package/lib/types/views/upload-error/UploadError.d.ts +2 -0
- package/lib/types/views/upload-notification/UploadNotification.d.ts +2 -0
- package/lib/types/views/upload-success/UploadSuccess.d.ts +5 -0
- package/lib/types/views/uploading/Uploading.d.ts +2 -0
- package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +2 -0
- package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +5 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +2 -2
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const _0x391c7f=_0x1a2f;(function(_0x1ac93e,_0x547cc6){const _0x50b1a9=_0x1a2f,_0x3e6c7c=_0x1ac93e();while(!![]){try{const _0x40e95c=parseInt(_0x50b1a9(0x7d))/0x1*(parseInt(_0x50b1a9(0x8d))/0x2)+-parseInt(_0x50b1a9(0x86))/0x3*(parseInt(_0x50b1a9(0x9a))/0x4)+-parseInt(_0x50b1a9(0x7f))/0x5+parseInt(_0x50b1a9(0x95))/0x6*(parseInt(_0x50b1a9(0x92))/0x7)+-parseInt(_0x50b1a9(0x90))/0x8+-parseInt(_0x50b1a9(0x80))/0x9+-parseInt(_0x50b1a9(0x88))/0xa*(-parseInt(_0x50b1a9(0x98))/0xb);if(_0x40e95c===_0x547cc6)break;else _0x3e6c7c['push'](_0x3e6c7c['shift']());}catch(_0x11d388){_0x3e6c7c['push'](_0x3e6c7c['shift']());}}}(_0x33d4,0x4506e));function _0x1a2f(_0x29a5ad,_0x369264){const _0x33d4f8=_0x33d4();return _0x1a2f=function(_0x1a2f47,_0x201cae){_0x1a2f47=_0x1a2f47-0x7c;let _0x46445d=_0x33d4f8[_0x1a2f47];return _0x46445d;},_0x1a2f(_0x29a5ad,_0x369264);}const c=require(_0x391c7f(0x91)),n=require(_0x391c7f(0x81));var i=(_0x5351b5=>(_0x5351b5[_0x5351b5[_0x391c7f(0x7e)]=0x0]=_0x391c7f(0x7e),_0x5351b5[_0x5351b5['UNIVER_DOC']=0x1]=_0x391c7f(0x8a),_0x5351b5[_0x5351b5[_0x391c7f(0x99)]=0x2]=_0x391c7f(0x99),_0x5351b5[_0x5351b5[_0x391c7f(0x7c)]=0x3]=_0x391c7f(0x7c),_0x5351b5[_0x5351b5['UNIVER_PROJECT']=0x4]=_0x391c7f(0x87),_0x5351b5[_0x5351b5[_0x391c7f(0x82)]=-0x1]=_0x391c7f(0x82),_0x5351b5))(i||{});function _0x33d4(){const _0xd51472=['UNIVER_SLIDE','5RlovwR','UNIVER_UNKNOWN','689155UrenXa','4123485OcPXhF','@univerjs-pro/exchange-client','UNRECOGNIZED','importFileToUnitId','IExchangeService','importXLSXToSnapshot','25926kolzul','UNIVER_PROJECT','5260QSYeLy','importDOCXToSnapshot','UNIVER_DOC','exportXLSXByUnitId','importDOCXToUnitId','45742DkBUyK','get','_injector','1348472OnhezP','@univerjs/core','42cRUnwN','FUniver','exportXLSXBySnapshot','219378MvXIUc','extend','The\x20exchange\x20service\x20is\x20not\x20available','15103OEAvcf','UNIVER_SHEET','4tGhchi'];_0x33d4=function(){return _0xd51472;};return _0x33d4();}class o extends c[_0x391c7f(0x93)]{async['importXLSXToUnitId'](_0x3186b6){const _0x23f42b=_0x391c7f,_0x1ed2c1=this[_0x23f42b(0x8f)][_0x23f42b(0x8e)](n['IExchangeService']);if(!_0x1ed2c1)throw new Error(_0x23f42b(0x97));return _0x1ed2c1[_0x23f42b(0x83)](_0x3186b6,i[_0x23f42b(0x99)]);}async[_0x391c7f(0x85)](_0x3d2558){const _0xac1837=_0x391c7f,_0x3f3903=this[_0xac1837(0x8f)]['get'](n[_0xac1837(0x84)]);if(!_0x3f3903)throw new Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3f3903[_0xac1837(0x85)](_0x3d2558);}async[_0x391c7f(0x8b)](_0x4d4cd3){const _0x59d83a=_0x391c7f,_0x350ce1=this['_injector'][_0x59d83a(0x8e)](n[_0x59d83a(0x84)]);if(!_0x350ce1)throw new Error(_0x59d83a(0x97));return _0x350ce1['exportXLSXByUnitId'](_0x4d4cd3);}async[_0x391c7f(0x94)](_0x352a7b){const _0x3720b1=_0x391c7f,_0x3bb4ee=this[_0x3720b1(0x8f)][_0x3720b1(0x8e)](n[_0x3720b1(0x84)]);if(!_0x3bb4ee)throw new Error(_0x3720b1(0x97));return _0x3bb4ee[_0x3720b1(0x94)](_0x352a7b);}async[_0x391c7f(0x8c)](_0x2b736b){const _0x4e1113=_0x391c7f,_0x2be969=this[_0x4e1113(0x8f)][_0x4e1113(0x8e)](n['IExchangeService']);if(!_0x2be969)throw new Error(_0x4e1113(0x97));return _0x2be969[_0x4e1113(0x83)](_0x2b736b,i[_0x4e1113(0x8a)]);}async['importDOCXToSnapshot'](_0x550722){const _0x1ca152=_0x391c7f,_0x4b2ba6=this[_0x1ca152(0x8f)]['get'](n[_0x1ca152(0x84)]);if(!_0x4b2ba6)throw new Error(_0x1ca152(0x97));return _0x4b2ba6[_0x1ca152(0x89)](_0x550722);}}c[_0x391c7f(0x93)][_0x391c7f(0x96)](o);
|