@univerjs-pro/exchange-client 1.0.0-alpha.2 → 1.0.0-alpha.4

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.
Files changed (97) hide show
  1. package/README.md +9 -2
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.css +0 -4
  46. package/lib/index.js +1 -1
  47. package/lib/locale/ar-SA.js +1 -1
  48. package/lib/locale/ca-ES.js +1 -1
  49. package/lib/locale/de-DE.js +1 -1
  50. package/lib/locale/en-US.js +1 -1
  51. package/lib/locale/es-ES.js +1 -1
  52. package/lib/locale/fa-IR.js +1 -1
  53. package/lib/locale/fr-FR.js +1 -1
  54. package/lib/locale/id-ID.js +1 -1
  55. package/lib/locale/it-IT.js +1 -1
  56. package/lib/locale/ja-JP.js +1 -1
  57. package/lib/locale/ko-KR.js +1 -1
  58. package/lib/locale/pl-PL.js +1 -1
  59. package/lib/locale/pt-BR.js +1 -1
  60. package/lib/locale/ru-RU.js +1 -1
  61. package/lib/locale/sk-SK.js +1 -1
  62. package/lib/locale/vi-VN.js +1 -1
  63. package/lib/locale/zh-CN.js +1 -1
  64. package/lib/locale/zh-HK.js +1 -1
  65. package/lib/locale/zh-TW.js +1 -1
  66. package/lib/types/config/config.d.ts +0 -4
  67. package/lib/types/controllers/components.controller.d.ts +7 -0
  68. package/lib/types/controllers/exchange.controller.d.ts +3 -5
  69. package/lib/types/facade/f-univer.d.ts +45 -16
  70. package/lib/types/index.d.ts +5 -10
  71. package/lib/types/services/exchange.service.d.ts +24 -3
  72. package/lib/types/services/request.service.d.ts +0 -2
  73. package/lib/types/services/utils/content-type.d.ts +1 -0
  74. package/lib/types/services/utils/snapshot.d.ts +8 -3
  75. package/lib/types/services/utils/tool.d.ts +1 -0
  76. package/lib/umd/facade.js +1 -1
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/ar-SA.js +1 -1
  79. package/lib/umd/locale/ca-ES.js +1 -1
  80. package/lib/umd/locale/de-DE.js +1 -1
  81. package/lib/umd/locale/en-US.js +1 -1
  82. package/lib/umd/locale/es-ES.js +1 -1
  83. package/lib/umd/locale/fa-IR.js +1 -1
  84. package/lib/umd/locale/fr-FR.js +1 -1
  85. package/lib/umd/locale/id-ID.js +1 -1
  86. package/lib/umd/locale/it-IT.js +1 -1
  87. package/lib/umd/locale/ja-JP.js +1 -1
  88. package/lib/umd/locale/ko-KR.js +1 -1
  89. package/lib/umd/locale/pl-PL.js +1 -1
  90. package/lib/umd/locale/pt-BR.js +1 -1
  91. package/lib/umd/locale/ru-RU.js +1 -1
  92. package/lib/umd/locale/sk-SK.js +1 -1
  93. package/lib/umd/locale/vi-VN.js +1 -1
  94. package/lib/umd/locale/zh-CN.js +1 -1
  95. package/lib/umd/locale/zh-HK.js +1 -1
  96. package/lib/umd/locale/zh-TW.js +1 -1
  97. package/package.json +14 -13
@@ -4,6 +4,7 @@ export declare const XLSX = "application/vnd.openxmlformats-officedocument.sprea
4
4
  export declare const XLSM = "application/vnd.ms-excel.sheet.macroEnabled.12";
5
5
  export declare const XLTX = "application/vnd.openxmlformats-officedocument.spreadsheetml.template";
6
6
  export declare const PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
7
+ export declare const PDF = "application/pdf";
7
8
  export declare const UNIT_CONTENT_TYPE: Record<UniverInstanceType, string[]>;
8
9
  export declare const CONTENT_TYPE_EXTNAME: {
9
10
  [key: string]: string;
@@ -18,10 +18,11 @@ export type IExchangeSlideDocumentData = ReturnType<typeof transformSnapshotToSl
18
18
  export interface ISlideMetaJson extends Omit<ISlideMeta, 'originalMeta'> {
19
19
  originalMeta: string;
20
20
  }
21
- export interface ISnapshotJson extends Omit<ISnapshot, 'workbook' | 'doc' | 'slide'> {
21
+ export interface ISnapshotJson extends Omit<ISnapshot, 'workbook' | 'doc' | 'slide' | 'board'> {
22
22
  workbook: Partial<IWorkbookMetaJson>;
23
23
  doc: Partial<IDocumentMetaJson>;
24
24
  slide?: Partial<ISlideMetaJson>;
25
+ board?: undefined;
25
26
  }
26
27
  export interface ISheetBlockData extends Omit<ISheetBlock, 'data'> {
27
28
  data: string;
@@ -60,7 +61,9 @@ export declare function transformSlideSnapshotMetaToString(snapshot: ISnapshot):
60
61
  */
61
62
  export declare function transformSheetBlockMetaToString(sheetBlocks: ISheetBlock[]): ISheetBlockJson;
62
63
  /**
63
- * Convert the workbook data to snapshot data
64
+ * Convert the workbook data to snapshot data.
65
+ *
66
+ * @deprecated Use `univerAPI.transformWorkbookDataToSnapshotJsonAsync(...)` instead. Planned for removal in v1.1.0.
64
67
  */
65
68
  export declare function transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
66
69
  /**
@@ -73,7 +76,9 @@ export declare function transformDocumentDataToSnapshotJson(documentData: IDocum
73
76
  */
74
77
  export declare function transformSlideDataToSnapshotJson(slideData: IExchangeSlideDocumentData): Promise<ISnapshotBlockJson>;
75
78
  /**
76
- * Convert the Snapshot data to workbook data
79
+ * Convert the Snapshot data to workbook data.
80
+ *
81
+ * @deprecated Use `univerAPI.transformSnapshotJsonToWorkbookDataAsync(...)` instead. Planned for removal in v1.1.0.
77
82
  */
78
83
  export declare function transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
79
84
  /**
@@ -4,6 +4,7 @@ export declare function downloadFileByURL(url: string, filename: string, fileExt
4
4
  /**
5
5
  * Triggers a download of a given File object.
6
6
  *
7
+ * @deprecated Use `univerAPI.downloadFile(...)` instead. Planned for removal in v1.1.0.
7
8
  * @param {File} file - The File object to be downloaded.
8
9
  */
9
10
  export declare function downloadFile(file: File | Blob, filename: string, fileExt: string): void;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5465c0,_0x3ab16c){const _0x3acd3f=_0x2bc2,_0x4b818c=_0x5465c0();while(!![]){try{const _0x12b865=-parseInt(_0x3acd3f(0x1da))/0x1+-parseInt(_0x3acd3f(0x1c2))/0x2+parseInt(_0x3acd3f(0x1ba))/0x3+parseInt(_0x3acd3f(0x1d8))/0x4*(parseInt(_0x3acd3f(0x1be))/0x5)+parseInt(_0x3acd3f(0x1bb))/0x6*(parseInt(_0x3acd3f(0x1dd))/0x7)+-parseInt(_0x3acd3f(0x1df))/0x8*(parseInt(_0x3acd3f(0x1d7))/0x9)+-parseInt(_0x3acd3f(0x1c9))/0xa*(-parseInt(_0x3acd3f(0x1d0))/0xb);if(_0x12b865===_0x3ab16c)break;else _0x4b818c['push'](_0x4b818c['shift']());}catch(_0x8d46d2){_0x4b818c['push'](_0x4b818c['shift']());}}}(_0x1429,0x89fe1),function(_0x4fe261,_0x527191){const _0x5ca4bc=_0x2bc2;typeof exports=='object'&&typeof module<'u'?_0x527191(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x5ca4bc(0x1c8)&&define[_0x5ca4bc(0x1bc)]?define([_0x5ca4bc(0x1d1),_0x5ca4bc(0x1dc),_0x5ca4bc(0x1c1)],_0x527191):(_0x4fe261=typeof globalThis<'u'?globalThis:_0x4fe261||self,_0x527191(_0x4fe261[_0x5ca4bc(0x1c0)],_0x4fe261[_0x5ca4bc(0x1b4)],_0x4fe261[_0x5ca4bc(0x1d2)]));}(this,function(_0x359fc6,_0x4bedb0,_0x11ac8e){const _0x4d252b=_0x2bc2;var _0x3d07dd=class extends _0x11ac8e[_0x4d252b(0x1cb)]{async[_0x4d252b(0x1b5)](_0x125c21){const _0x26fdd1=_0x4d252b;let _0x3fa6c4=this[_0x26fdd1(0x1cd)][_0x26fdd1(0x1d9)](_0x359fc6['IExchangeService']);if(!_0x3fa6c4)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3fa6c4[_0x26fdd1(0x1c3)](_0x125c21,_0x4bedb0[_0x26fdd1(0x1ce)][_0x26fdd1(0x1b8)]);}async[_0x4d252b(0x1c7)](_0x16c98f){const _0x30a4cb=_0x4d252b;let _0x1d4f30=this[_0x30a4cb(0x1cd)][_0x30a4cb(0x1d9)](_0x359fc6[_0x30a4cb(0x1d5)]);if(!_0x1d4f30)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x1d4f30['importXLSXToSnapshot'](_0x16c98f);}async[_0x4d252b(0x1db)](_0x175a15){const _0x1f3ed1=_0x4d252b;let _0x30aa42=this['_injector'][_0x1f3ed1(0x1d9)](_0x359fc6[_0x1f3ed1(0x1d5)]);if(!_0x30aa42)throw Error(_0x1f3ed1(0x1cf));return _0x30aa42[_0x1f3ed1(0x1d3)](_0x175a15);}async[_0x4d252b(0x1d6)](_0x2c71db){const _0x2df6b7=_0x4d252b;let _0x27542e=this[_0x2df6b7(0x1cd)][_0x2df6b7(0x1d9)](_0x359fc6[_0x2df6b7(0x1d5)]);if(!_0x27542e)throw Error(_0x2df6b7(0x1cf));return _0x27542e[_0x2df6b7(0x1c4)](_0x2c71db);}async[_0x4d252b(0x1d4)](_0x311fcf){const _0x4a13c7=_0x4d252b;let _0x489349=this[_0x4a13c7(0x1cd)][_0x4a13c7(0x1d9)](_0x359fc6[_0x4a13c7(0x1d5)]);if(!_0x489349)throw Error(_0x4a13c7(0x1cf));return _0x489349[_0x4a13c7(0x1c3)](_0x311fcf,_0x4bedb0['UniverInstanceType'][_0x4a13c7(0x1ca)]);}async[_0x4d252b(0x1de)](_0x48dec6){const _0xd369f9=_0x4d252b;let _0x3e621a=this[_0xd369f9(0x1cd)][_0xd369f9(0x1d9)](_0x359fc6['IExchangeService']);if(!_0x3e621a)throw Error(_0xd369f9(0x1cf));return _0x3e621a[_0xd369f9(0x1c5)](_0x48dec6);}async[_0x4d252b(0x1c6)](_0x30b663){const _0x490c6f=_0x4d252b;let _0xe9daa7=this[_0x490c6f(0x1cd)][_0x490c6f(0x1d9)](_0x359fc6[_0x490c6f(0x1d5)]);if(!_0xe9daa7)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0xe9daa7[_0x490c6f(0x1b2)](_0x30b663);}async['exportDOCXByUnitIdAsync'](_0x9c5e89){const _0xc9f66a=_0x4d252b;let _0x16e96c=this['_injector'][_0xc9f66a(0x1d9)](_0x359fc6[_0xc9f66a(0x1d5)]);if(!_0x16e96c)throw Error(_0xc9f66a(0x1cf));return _0x16e96c['exportDOCXByUnitId'](_0x9c5e89);}async['importPPTXToUnitIdAsync'](_0x2a34e8){const _0x7780c0=_0x4d252b;let _0x50a8ce=this['_injector'][_0x7780c0(0x1d9)](_0x359fc6[_0x7780c0(0x1d5)]);if(!_0x50a8ce)throw Error(_0x7780c0(0x1cf));return _0x50a8ce['importFileToUnitId'](_0x2a34e8,_0x4bedb0[_0x7780c0(0x1ce)][_0x7780c0(0x1e0)]);}async[_0x4d252b(0x1b3)](_0x36fe5d){const _0x5e1fd4=_0x4d252b;let _0x7d3a6c=this[_0x5e1fd4(0x1cd)]['get'](_0x359fc6[_0x5e1fd4(0x1d5)]);if(!_0x7d3a6c)throw Error(_0x5e1fd4(0x1cf));return _0x7d3a6c[_0x5e1fd4(0x1bf)](_0x36fe5d);}async[_0x4d252b(0x1b9)](_0x55579d){const _0x2b577a=_0x4d252b;let _0x3e7fe7=this[_0x2b577a(0x1cd)][_0x2b577a(0x1d9)](_0x359fc6['IExchangeService']);if(!_0x3e7fe7)throw Error(_0x2b577a(0x1cf));return _0x3e7fe7[_0x2b577a(0x1cc)](_0x55579d);}async[_0x4d252b(0x1b7)](_0x4bbc35){const _0x20ea09=_0x4d252b;let _0x3d2584=this['_injector']['get'](_0x359fc6[_0x20ea09(0x1d5)]);if(!_0x3d2584)throw Error(_0x20ea09(0x1cf));return _0x3d2584[_0x20ea09(0x1b6)](_0x4bbc35);}};_0x11ac8e['FUniver'][_0x4d252b(0x1bd)](_0x3d07dd);}));function _0x2bc2(_0x54bf2f,_0x312c45){_0x54bf2f=_0x54bf2f-0x1b2;const _0x142996=_0x1429();let _0x2bc25e=_0x142996[_0x54bf2f];return _0x2bc25e;}function _0x1429(){const _0x7f3ac5=['get','1066605WwlBvN','exportXLSXByUnitIdAsync','@univerjs/core','7CzFTMN','importDOCXToSnapshotAsync','8mDSzzW','UNIVER_SLIDE','exportDOCXBySnapshot','importPPTXToSnapshotAsync','UniverCore','importXLSXToUnitIdAsync','exportPPTXBySnapshot','exportPPTXBySnapshotAsync','UNIVER_SHEET','exportPPTXByUnitIdAsync','3072753GXCEAX','196536UDmyky','amd','extend','4547645wThqps','importPPTXToSnapshot','UniverProExchangeClient','@univerjs/core/facade','1166886ObNviA','importFileToUnitId','exportXLSXBySnapshot','importDOCXToSnapshot','exportDOCXBySnapshotAsync','importXLSXToSnapshotAsync','function','6838130fFFOLo','UNIVER_DOC','FUniver','exportPPTXByUnitId','_injector','UniverInstanceType','The\x20exchange\x20service\x20is\x20not\x20available','22axEXoB','@univerjs-pro/exchange-client','UniverCoreFacade','exportXLSXByUnitId','importDOCXToUnitIdAsync','IExchangeService','exportXLSXBySnapshotAsync','10070073FjRclY','4pXGjMJ'];_0x1429=function(){return _0x7f3ac5;};return _0x1429();}
1
+ function _0x2d60(_0x46a8a0,_0x212e14){_0x46a8a0=_0x46a8a0-0x145;var _0x213fc4=_0x213f();var _0x2d60f2=_0x213fc4[_0x46a8a0];return _0x2d60f2;}function _0x213f(){var _0x2b2404=['UNIVER_SLIDE','importDOCXToUnitIdAsync','importXLSXToUnitIdAsync','importFileToUnitId','UniverCoreFacade','exportXLSXByUnitIdAsync','transformSnapshotJsonToWorkbookData','FUniver','exportPPTXBySnapshotAsync','UniverProExchangeClient','importXLSXToSnapshotAsync','downloadFile','3185duKnJs','exportPPTXBySnapshot','get','object','transformWorkbookDataToSnapshotJson','349230inXyuh','10506cVKGtB','@univerjs/core','UNIVER_DOC','importPPTXToSnapshotAsync','UniverInstanceType','exportXLSXBySnapshotAsync','exportDOCXByUnitId','extend','exportDOCXBySnapshotAsync','3582712pwonqD','importDOCXToSnapshot','importXLSXToSnapshot','7545033kWxfuv','5NwhYHQ','_injector','transformWorkbookDataToSnapshotJsonAsync','UNIVER_SHEET','998804KgxJrb','exportXLSXBySnapshot','333070kEZyHN','1617720JzpEAB','importPPTXToUnitIdAsync','@univerjs-pro/exchange-client','exportXLSXByUnitId','IExchangeService','function'];_0x213f=function(){return _0x2b2404;};return _0x213f();}(function(_0x1c7e0f,_0x1f502b){var _0x37e257=_0x2d60,_0xbda3cf=_0x1c7e0f();while(!![]){try{var _0x457bbb=-parseInt(_0x37e257(0x159))/0x1+parseInt(_0x37e257(0x15a))/0x2+-parseInt(_0x37e257(0x145))/0x3+-parseInt(_0x37e257(0x157))/0x4*(parseInt(_0x37e257(0x153))/0x5)+parseInt(_0x37e257(0x146))/0x6*(parseInt(_0x37e257(0x16c))/0x7)+parseInt(_0x37e257(0x14f))/0x8+-parseInt(_0x37e257(0x152))/0x9;if(_0x457bbb===_0x1f502b)break;else _0xbda3cf['push'](_0xbda3cf['shift']());}catch(_0x3ef843){_0xbda3cf['push'](_0xbda3cf['shift']());}}}(_0x213f,0x7df2e),function(_0x3c56bb,_0x2a4f44){var _0x3c9cbb=_0x2d60;typeof exports==_0x3c9cbb(0x16f)&&typeof module<'u'?_0x2a4f44(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x3c9cbb(0x15f)&&define['amd']?define([_0x3c9cbb(0x15c),_0x3c9cbb(0x147),'@univerjs/core/facade'],_0x2a4f44):(_0x3c56bb=typeof globalThis<'u'?globalThis:_0x3c56bb||self,_0x2a4f44(_0x3c56bb[_0x3c9cbb(0x169)],_0x3c56bb['UniverCore'],_0x3c56bb[_0x3c9cbb(0x164)]));}(this,function(_0x4df775,_0x56ca3c,_0x167bbe){var _0x32b67a=_0x2d60,_0x1789bd=class extends _0x167bbe[_0x32b67a(0x167)]{[_0x32b67a(0x16b)](_0x3ad003,_0x22d131,_0x8eb286){var _0x32c148=_0x32b67a;this[_0x32c148(0x154)][_0x32c148(0x16e)](_0x4df775[_0x32c148(0x15e)])[_0x32c148(0x16b)](_0x3ad003,_0x22d131,_0x8eb286);}async['transformSnapshotJsonToWorkbookDataAsync'](_0x1bcbda){var _0x32a758=_0x32b67a;return this[_0x32a758(0x154)][_0x32a758(0x16e)](_0x4df775[_0x32a758(0x15e)])[_0x32a758(0x166)](_0x1bcbda);}async[_0x32b67a(0x155)](_0x582eee){var _0x3eb14b=_0x32b67a;return this['_injector'][_0x3eb14b(0x16e)](_0x4df775['IExchangeService'])[_0x3eb14b(0x170)](_0x582eee);}async[_0x32b67a(0x162)](_0x1f3ba6){var _0xed08af=_0x32b67a;return this[_0xed08af(0x154)][_0xed08af(0x16e)](_0x4df775[_0xed08af(0x15e)])[_0xed08af(0x163)](_0x1f3ba6,_0x56ca3c[_0xed08af(0x14a)][_0xed08af(0x156)]);}async[_0x32b67a(0x16a)](_0x471267){var _0x1142cc=_0x32b67a;return this[_0x1142cc(0x154)][_0x1142cc(0x16e)](_0x4df775['IExchangeService'])[_0x1142cc(0x151)](_0x471267);}async[_0x32b67a(0x165)](_0x542b94){var _0x14de03=_0x32b67a;return this[_0x14de03(0x154)][_0x14de03(0x16e)](_0x4df775[_0x14de03(0x15e)])[_0x14de03(0x15d)](_0x542b94);}async[_0x32b67a(0x14b)](_0x47647f){var _0x174fd6=_0x32b67a;return this['_injector'][_0x174fd6(0x16e)](_0x4df775[_0x174fd6(0x15e)])[_0x174fd6(0x158)](_0x47647f);}async[_0x32b67a(0x161)](_0x7e8b5d){var _0x4286b8=_0x32b67a;return this[_0x4286b8(0x154)]['get'](_0x4df775[_0x4286b8(0x15e)])['importFileToUnitId'](_0x7e8b5d,_0x56ca3c[_0x4286b8(0x14a)][_0x4286b8(0x148)]);}async['importDOCXToSnapshotAsync'](_0x181515){var _0x1703b8=_0x32b67a;return this['_injector'][_0x1703b8(0x16e)](_0x4df775[_0x1703b8(0x15e)])[_0x1703b8(0x150)](_0x181515);}async[_0x32b67a(0x14e)](_0x1a1706){var _0x2dc9aa=_0x32b67a;return this[_0x2dc9aa(0x154)][_0x2dc9aa(0x16e)](_0x4df775['IExchangeService'])['exportDOCXBySnapshot'](_0x1a1706);}async['exportDOCXByUnitIdAsync'](_0x50c9ac){var _0x2f656c=_0x32b67a;return this['_injector'][_0x2f656c(0x16e)](_0x4df775[_0x2f656c(0x15e)])[_0x2f656c(0x14c)](_0x50c9ac);}async[_0x32b67a(0x15b)](_0x309b50){var _0x143959=_0x32b67a;return this['_injector'][_0x143959(0x16e)](_0x4df775[_0x143959(0x15e)])[_0x143959(0x163)](_0x309b50,_0x56ca3c[_0x143959(0x14a)][_0x143959(0x160)]);}async[_0x32b67a(0x149)](_0xde913){var _0x248de2=_0x32b67a;return this[_0x248de2(0x154)][_0x248de2(0x16e)](_0x4df775[_0x248de2(0x15e)])['importPPTXToSnapshot'](_0xde913);}async['exportPPTXByUnitIdAsync'](_0x1d95ee){var _0x39824b=_0x32b67a;return this[_0x39824b(0x154)]['get'](_0x4df775[_0x39824b(0x15e)])['exportPPTXByUnitId'](_0x1d95ee);}async[_0x32b67a(0x168)](_0xf9b283){var _0x72f373=_0x32b67a;return this[_0x72f373(0x154)][_0x72f373(0x16e)](_0x4df775[_0x72f373(0x15e)])[_0x72f373(0x16d)](_0xf9b283);}};_0x167bbe[_0x32b67a(0x167)][_0x32b67a(0x14d)](_0x1789bd);}));