@univerjs-pro/exchange-client 1.0.0-alpha.7 → 1.0.0-alpha.8

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 (91) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/index.d.ts +2 -3
  65. package/lib/types/services/exchange.service.d.ts +10 -17
  66. package/lib/types/services/operate.service.d.ts +33 -44
  67. package/lib/types/services/utils/collaboration.d.ts +2 -0
  68. package/lib/types/services/utils/snapshot.d.ts +14 -15
  69. package/lib/types/services/utils/tool.d.ts +0 -7
  70. package/lib/umd/facade.js +1 -1
  71. package/lib/umd/index.js +1 -1
  72. package/lib/umd/locale/ar-SA.js +1 -1
  73. package/lib/umd/locale/ca-ES.js +1 -1
  74. package/lib/umd/locale/de-DE.js +1 -1
  75. package/lib/umd/locale/en-US.js +1 -1
  76. package/lib/umd/locale/es-ES.js +1 -1
  77. package/lib/umd/locale/fa-IR.js +1 -1
  78. package/lib/umd/locale/fr-FR.js +1 -1
  79. package/lib/umd/locale/id-ID.js +1 -1
  80. package/lib/umd/locale/it-IT.js +1 -1
  81. package/lib/umd/locale/ja-JP.js +1 -1
  82. package/lib/umd/locale/ko-KR.js +1 -1
  83. package/lib/umd/locale/pl-PL.js +1 -1
  84. package/lib/umd/locale/pt-BR.js +1 -1
  85. package/lib/umd/locale/ru-RU.js +1 -1
  86. package/lib/umd/locale/sk-SK.js +1 -1
  87. package/lib/umd/locale/vi-VN.js +1 -1
  88. package/lib/umd/locale/zh-CN.js +1 -1
  89. package/lib/umd/locale/zh-HK.js +1 -1
  90. package/lib/umd/locale/zh-TW.js +1 -1
  91. package/package.json +11 -10
@@ -1,6 +1,7 @@
1
1
  import type { ILogContext, ISnapshotServerService } from '@univerjs-pro/collaboration';
2
- import type { IDocumentData, IWorkbookData, Nullable } from '@univerjs/core';
3
- import type { ICopyFileMetaResponse, IDocumentMeta, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotResponse, ISheetBlock, ISlideMeta, ISnapshot, IWorkbookMeta, IWorksheetMeta } from '@univerjs/protocol';
2
+ import type { IPdfUnitData } from '@univerjs-pro/pdfs';
3
+ import type { IDocumentData, Nullable } from '@univerjs/core';
4
+ import type { ICopyFileMetaResponse, IDocumentMeta, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevResponse, IPdfMeta, ISaveChangesetResponse, ISaveSheetBlockRequest, ISaveSheetBlockResponse, ISaveSnapshotResponse, ISheetBlock, ISlideMeta, ISnapshot, IWorkbookMeta, IWorksheetMeta } from '@univerjs/protocol';
4
5
  import { transformSnapshotToSlideData } from '@univerjs-pro/collaboration';
5
6
  export interface IWorksheetMetaJson extends Omit<IWorksheetMeta, 'originalMeta'> {
6
7
  originalMeta: string;
@@ -18,11 +19,15 @@ export type IExchangeSlideDocumentData = ReturnType<typeof transformSnapshotToSl
18
19
  export interface ISlideMetaJson extends Omit<ISlideMeta, 'originalMeta'> {
19
20
  originalMeta: string;
20
21
  }
21
- export interface ISnapshotJson extends Omit<ISnapshot, 'workbook' | 'doc' | 'slide' | 'board'> {
22
+ export interface IPdfMetaJson extends Omit<IPdfMeta, 'originalMeta'> {
23
+ originalMeta: string;
24
+ }
25
+ export interface ISnapshotJson extends Omit<ISnapshot, 'workbook' | 'doc' | 'slide' | 'board' | 'pdf'> {
22
26
  workbook: Partial<IWorkbookMetaJson>;
23
27
  doc: Partial<IDocumentMetaJson>;
24
28
  slide?: Partial<ISlideMetaJson>;
25
29
  board?: undefined;
30
+ pdf?: Partial<IPdfMetaJson>;
26
31
  }
27
32
  export interface ISheetBlockData extends Omit<ISheetBlock, 'data'> {
28
33
  data: string;
@@ -54,18 +59,14 @@ export declare function transformDocumentSnapshotMetaToString(snapshot: ISnapsho
54
59
  * Convert the Uint8Array in the slide snapshot to a string for easy transmission to the backend.
55
60
  */
56
61
  export declare function transformSlideSnapshotMetaToString(snapshot: ISnapshot): Nullable<ISnapshotJson>;
62
+ /** Convert the Uint8Array in the PDF snapshot to a string for transmission. */
63
+ export declare function transformPdfSnapshotMetaToString(snapshot: ISnapshot): Nullable<ISnapshotJson>;
57
64
  /**
58
65
  * Convert the Uint8Array in the sheet block to a string for easy transmission to the backend
59
66
  * @param sheetBlocks
60
67
  * @returns
61
68
  */
62
69
  export declare function transformSheetBlockMetaToString(sheetBlocks: ISheetBlock[]): ISheetBlockJson;
63
- /**
64
- * Convert the workbook data to snapshot data.
65
- *
66
- * @deprecated Use `univerAPI.transformWorkbookDataToSnapshotJsonAsync(...)` instead. Planned for removal in v1.1.0.
67
- */
68
- export declare function transformWorkbookDataToSnapshotJson(workbookData: IWorkbookData): Promise<ISnapshotBlockJson>;
69
70
  /**
70
71
  * Convert the document data to snapshot data
71
72
  */
@@ -75,12 +76,8 @@ export declare function transformDocumentDataToSnapshotJson(documentData: IDocum
75
76
  * @returns Snapshot JSON payload with slide meta encoded as a string.
76
77
  */
77
78
  export declare function transformSlideDataToSnapshotJson(slideData: IExchangeSlideDocumentData): Promise<ISnapshotBlockJson>;
78
- /**
79
- * Convert the Snapshot data to workbook data.
80
- *
81
- * @deprecated Use `univerAPI.transformSnapshotJsonToWorkbookDataAsync(...)` instead. Planned for removal in v1.1.0.
82
- */
83
- export declare function transformSnapshotJsonToWorkbookData(json: ISnapshotBlockJsonResponse): Promise<IWorkbookData>;
79
+ /** Convert PDF unit data to snapshot JSON. */
80
+ export declare function transformPdfDataToSnapshotJson(pdfData: IPdfUnitData): Promise<ISnapshotBlockJson>;
84
81
  /**
85
82
  * Convert the Snapshot data to workbook data
86
83
  */
@@ -89,6 +86,8 @@ export declare function transformSnapshotJsonToDocumentData(json: ISnapshotBlock
89
86
  * Convert the Snapshot data to slide data.
90
87
  */
91
88
  export declare function transformSnapshotJsonToSlideData(json: ISnapshotBlockJsonResponse): IExchangeSlideDocumentData;
89
+ /** Convert snapshot JSON to PDF unit data. */
90
+ export declare function transformSnapshotJsonToPdfData(json: ISnapshotBlockJsonResponse | ISnapshotBlockJson): IPdfUnitData;
92
91
  /**
93
92
  * The server needs to fully implement all interfaces, but when used by the client, use saveSheetBlock to cache the sheet block locally, and use getSheetBlock to obtain the sheet block.
94
93
  */
@@ -1,13 +1,6 @@
1
1
  import type { HTTPService } from '@univerjs/network';
2
2
  import { UniverInstanceType } from '@univerjs/core';
3
3
  export declare function downloadFileByURL(url: string, filename: string, fileExt: string): void;
4
- /**
5
- * Triggers a download of a given File object.
6
- *
7
- * @deprecated Use `univerAPI.downloadFile(...)` instead. Planned for removal in v1.1.0.
8
- * @param {File} file - The File object to be downloaded.
9
- */
10
- export declare function downloadFile(file: File | Blob, filename: string, fileExt: string): void;
11
4
  /**
12
5
  * Get the UniverInstanceType of a file based on its content type and extension.
13
6
  * @param file
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4e0b(){var _0x439de9=['UNIVER_SLIDE','transformWorkbookDataToSnapshotJson','UniverProExchangeClient','object','UNIVER_DOC','exportPPTXByUnitId','9wGYOgC','exportPPTXBySnapshotAsync','@univerjs-pro/exchange-client','_injector','importDOCXToUnitIdAsync','exportXLSXBySnapshotAsync','UNIVER_SHEET','357818qsTxrk','7649802UuZbNH','importXLSXToUnitIdAsync','@univerjs/core/facade','importPPTXToSnapshotAsync','transformWorkbookDataToSnapshotJsonAsync','10986910lTjTWC','exportPPTXByUnitIdAsync','FUniver','exportDOCXByUnitId','exportXLSXBySnapshot','importFileToUnitId','3632jYuMhh','amd','514507mauswI','11039iSKTOP','importXLSXToSnapshotAsync','@univerjs/core','UniverCoreFacade','transformSnapshotJsonToWorkbookDataAsync','1012436ygyRTa','extend','importPPTXToUnitIdAsync','5RzNUos','importPPTXToSnapshot','importXLSXToSnapshot','transformSnapshotJsonToWorkbookData','exportDOCXBySnapshotAsync','15xNxlGD','5037770wZUVCm','function','get','IExchangeService','importDOCXToSnapshotAsync','exportXLSXByUnitIdAsync','downloadFile','exportPPTXBySnapshot','UniverInstanceType','UniverCore'];_0x4e0b=function(){return _0x439de9;};return _0x4e0b();}function _0x302b(_0xa96895,_0x28dd79){_0xa96895=_0xa96895-0x92;var _0x4e0bda=_0x4e0b();var _0x302b61=_0x4e0bda[_0xa96895];return _0x302b61;}(function(_0x21e997,_0x5a3be0){var _0x35a865=_0x302b,_0x23efcf=_0x21e997();while(!![]){try{var _0x202ecc=parseInt(_0x35a865(0xbb))/0x1+parseInt(_0x35a865(0xad))/0x2*(parseInt(_0x35a865(0x95))/0x3)+-parseInt(_0x35a865(0xc1))/0x4*(parseInt(_0x35a865(0xc4))/0x5)+-parseInt(_0x35a865(0xae))/0x6+-parseInt(_0x35a865(0xbc))/0x7*(parseInt(_0x35a865(0xb9))/0x8)+parseInt(_0x35a865(0xa6))/0x9*(parseInt(_0x35a865(0x96))/0xa)+parseInt(_0x35a865(0xb3))/0xb;if(_0x202ecc===_0x5a3be0)break;else _0x23efcf['push'](_0x23efcf['shift']());}catch(_0x16f391){_0x23efcf['push'](_0x23efcf['shift']());}}}(_0x4e0b,0xa2fd5),function(_0x4049eb,_0x4f6b3f){var _0x5e2395=_0x302b;typeof exports==_0x5e2395(0xa3)&&typeof module<'u'?_0x4f6b3f(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define==_0x5e2395(0x97)&&define[_0x5e2395(0xba)]?define([_0x5e2395(0xa8),_0x5e2395(0xbe),_0x5e2395(0xb0)],_0x4f6b3f):(_0x4049eb=typeof globalThis<'u'?globalThis:_0x4049eb||self,_0x4f6b3f(_0x4049eb[_0x5e2395(0xa2)],_0x4049eb[_0x5e2395(0x9f)],_0x4049eb[_0x5e2395(0xbf)]));}(this,function(_0x101bd5,_0x21909f,_0x10e97b){var _0x1ec0f9=_0x302b,_0x5feb39=class extends _0x10e97b['FUniver']{[_0x1ec0f9(0x9c)](_0x5e19a6,_0xb9dea1,_0x13cdf6){var _0x405e80=_0x1ec0f9;this[_0x405e80(0xa9)][_0x405e80(0x98)](_0x101bd5[_0x405e80(0x99)])['downloadFile'](_0x5e19a6,_0xb9dea1,_0x13cdf6);}async[_0x1ec0f9(0xc0)](_0x324c51){var _0x2ce06f=_0x1ec0f9;return this[_0x2ce06f(0xa9)][_0x2ce06f(0x98)](_0x101bd5['IExchangeService'])[_0x2ce06f(0x93)](_0x324c51);}async[_0x1ec0f9(0xb2)](_0x576f8d){var _0x39dfe5=_0x1ec0f9;return this['_injector'][_0x39dfe5(0x98)](_0x101bd5[_0x39dfe5(0x99)])[_0x39dfe5(0xa1)](_0x576f8d);}async[_0x1ec0f9(0xaf)](_0x3cf6ab){var _0x445834=_0x1ec0f9;return this['_injector'][_0x445834(0x98)](_0x101bd5[_0x445834(0x99)])[_0x445834(0xb8)](_0x3cf6ab,_0x21909f[_0x445834(0x9e)][_0x445834(0xac)]);}async[_0x1ec0f9(0xbd)](_0x263641){var _0x346bdb=_0x1ec0f9;return this[_0x346bdb(0xa9)][_0x346bdb(0x98)](_0x101bd5['IExchangeService'])[_0x346bdb(0x92)](_0x263641);}async[_0x1ec0f9(0x9b)](_0x16a437){var _0x5aa8c9=_0x1ec0f9;return this['_injector']['get'](_0x101bd5[_0x5aa8c9(0x99)])['exportXLSXByUnitId'](_0x16a437);}async[_0x1ec0f9(0xab)](_0x200037){var _0xb48fdc=_0x1ec0f9;return this[_0xb48fdc(0xa9)][_0xb48fdc(0x98)](_0x101bd5[_0xb48fdc(0x99)])[_0xb48fdc(0xb7)](_0x200037);}async[_0x1ec0f9(0xaa)](_0x423b7c){var _0xffa3b4=_0x1ec0f9;return this[_0xffa3b4(0xa9)][_0xffa3b4(0x98)](_0x101bd5[_0xffa3b4(0x99)])['importFileToUnitId'](_0x423b7c,_0x21909f[_0xffa3b4(0x9e)][_0xffa3b4(0xa4)]);}async[_0x1ec0f9(0x9a)](_0x55bc0d){var _0x3a9ef9=_0x1ec0f9;return this[_0x3a9ef9(0xa9)][_0x3a9ef9(0x98)](_0x101bd5[_0x3a9ef9(0x99)])['importDOCXToSnapshot'](_0x55bc0d);}async[_0x1ec0f9(0x94)](_0x25224e){var _0x2b191b=_0x1ec0f9;return this[_0x2b191b(0xa9)][_0x2b191b(0x98)](_0x101bd5[_0x2b191b(0x99)])['exportDOCXBySnapshot'](_0x25224e);}async['exportDOCXByUnitIdAsync'](_0x319140){var _0x17aca7=_0x1ec0f9;return this[_0x17aca7(0xa9)][_0x17aca7(0x98)](_0x101bd5[_0x17aca7(0x99)])[_0x17aca7(0xb6)](_0x319140);}async[_0x1ec0f9(0xc3)](_0x4a7dad){var _0x104d48=_0x1ec0f9;return this['_injector'][_0x104d48(0x98)](_0x101bd5['IExchangeService'])[_0x104d48(0xb8)](_0x4a7dad,_0x21909f[_0x104d48(0x9e)][_0x104d48(0xa0)]);}async[_0x1ec0f9(0xb1)](_0x210dd1){var _0x5b90a7=_0x1ec0f9;return this[_0x5b90a7(0xa9)][_0x5b90a7(0x98)](_0x101bd5[_0x5b90a7(0x99)])[_0x5b90a7(0xc5)](_0x210dd1);}async[_0x1ec0f9(0xb4)](_0x34ac32){var _0x39156d=_0x1ec0f9;return this[_0x39156d(0xa9)][_0x39156d(0x98)](_0x101bd5[_0x39156d(0x99)])[_0x39156d(0xa5)](_0x34ac32);}async[_0x1ec0f9(0xa7)](_0x31ead0){var _0x28255f=_0x1ec0f9;return this[_0x28255f(0xa9)]['get'](_0x101bd5[_0x28255f(0x99)])[_0x28255f(0x9d)](_0x31ead0);}};_0x10e97b[_0x1ec0f9(0xb5)][_0x1ec0f9(0xc2)](_0x5feb39);}));
1
+ (function(_0x2c2ab1,_0x59d3b5){var _0x20a8b2=_0x5941,_0x543e78=_0x2c2ab1();while(!![]){try{var _0x575897=parseInt(_0x20a8b2(0x104))/0x1*(parseInt(_0x20a8b2(0x10c))/0x2)+-parseInt(_0x20a8b2(0xf0))/0x3+parseInt(_0x20a8b2(0xf3))/0x4+-parseInt(_0x20a8b2(0xf5))/0x5+parseInt(_0x20a8b2(0xff))/0x6+-parseInt(_0x20a8b2(0xfa))/0x7*(parseInt(_0x20a8b2(0x101))/0x8)+-parseInt(_0x20a8b2(0x110))/0x9*(-parseInt(_0x20a8b2(0x10a))/0xa);if(_0x575897===_0x59d3b5)break;else _0x543e78['push'](_0x543e78['shift']());}catch(_0xed170b){_0x543e78['push'](_0x543e78['shift']());}}}(_0x5d08,0x96903),function(_0x1c0690,_0x299b3d){var _0x57b0ba=_0x5941;typeof exports==_0x57b0ba(0x103)&&typeof module<'u'?_0x299b3d(require('@univerjs-pro/exchange-client'),require('@univerjs/core'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x57b0ba(0x11a)]?define([_0x57b0ba(0xf6),_0x57b0ba(0x112),'@univerjs/core/facade'],_0x299b3d):(_0x1c0690=typeof globalThis<'u'?globalThis:_0x1c0690||self,_0x299b3d(_0x1c0690[_0x57b0ba(0x106)],_0x1c0690['UniverCore'],_0x1c0690[_0x57b0ba(0x119)]));}(this,function(_0x34663d,_0xed4bc1,_0xb619cc){var _0x46ccd4=_0x5941,_0x1eefe0=class extends _0xb619cc['FUniver']{['downloadFile'](_0x42c3c7,_0x27f8ef,_0x1df20f){var _0x17d71d=_0x5941;this[_0x17d71d(0x11b)][_0x17d71d(0x114)](_0x34663d['IExchangeService'])['downloadFile'](_0x42c3c7,_0x27f8ef,_0x1df20f);}async['transformSnapshotJsonToWorkbookDataAsync'](_0x2f5edb){var _0x495b6a=_0x5941;return this[_0x495b6a(0x11b)][_0x495b6a(0x114)](_0x34663d[_0x495b6a(0x108)])[_0x495b6a(0xf2)](_0x2f5edb);}async[_0x46ccd4(0xf9)](_0x46a892){var _0x54a687=_0x46ccd4;return this[_0x54a687(0x11b)]['get'](_0x34663d[_0x54a687(0x108)])['transformWorkbookDataToSnapshotJson'](_0x46a892);}async['importXLSXToUnitIdAsync'](_0x1fe7ee){var _0x13d9ad=_0x46ccd4;return this['_injector'][_0x13d9ad(0x114)](_0x34663d[_0x13d9ad(0x108)])[_0x13d9ad(0x113)](_0x1fe7ee,_0xed4bc1[_0x13d9ad(0x105)][_0x13d9ad(0xf4)]);}async[_0x46ccd4(0x118)](_0x540bc5){var _0x1b04ed=_0x46ccd4;return this[_0x1b04ed(0x11b)]['get'](_0x34663d['IExchangeService'])[_0x1b04ed(0xfb)](_0x540bc5);}async[_0x46ccd4(0x116)](_0x4c4d66){var _0x429c45=_0x46ccd4;return this['_injector'][_0x429c45(0x114)](_0x34663d[_0x429c45(0x108)])[_0x429c45(0x10f)](_0x4c4d66);}async[_0x46ccd4(0x10d)](_0xc24654){var _0x532b99=_0x46ccd4;return this[_0x532b99(0x11b)][_0x532b99(0x114)](_0x34663d[_0x532b99(0x108)])['exportXLSXBySnapshot'](_0xc24654);}async[_0x46ccd4(0x10b)](_0x4328ba){var _0x261594=_0x46ccd4;return this[_0x261594(0x11b)][_0x261594(0x114)](_0x34663d[_0x261594(0x108)])[_0x261594(0x113)](_0x4328ba,_0xed4bc1[_0x261594(0x105)][_0x261594(0xfe)]);}async['importDOCXToSnapshotAsync'](_0xdb90d8){var _0x5c6e32=_0x46ccd4;return this[_0x5c6e32(0x11b)][_0x5c6e32(0x114)](_0x34663d[_0x5c6e32(0x108)])[_0x5c6e32(0x109)](_0xdb90d8);}async[_0x46ccd4(0xfd)](_0x31d82f){var _0x1f7a23=_0x46ccd4;return this[_0x1f7a23(0x11b)][_0x1f7a23(0x114)](_0x34663d['IExchangeService'])[_0x1f7a23(0x10e)](_0x31d82f);}async[_0x46ccd4(0x100)](_0xae8373){var _0x50fb1e=_0x46ccd4;return this[_0x50fb1e(0x11b)][_0x50fb1e(0x114)](_0x34663d[_0x50fb1e(0x108)])[_0x50fb1e(0x11c)](_0xae8373);}async['importPPTXToUnitIdAsync'](_0xa4b55b){var _0x55454d=_0x46ccd4;return this[_0x55454d(0x11b)][_0x55454d(0x114)](_0x34663d['IExchangeService'])[_0x55454d(0x113)](_0xa4b55b,_0xed4bc1[_0x55454d(0x105)][_0x55454d(0x107)]);}async[_0x46ccd4(0xfc)](_0x34b9f2){var _0x53a7a7=_0x46ccd4;return this[_0x53a7a7(0x11b)]['get'](_0x34663d[_0x53a7a7(0x108)])[_0x53a7a7(0xf8)](_0x34b9f2);}async[_0x46ccd4(0xf1)](_0x41d8ae){var _0x541aad=_0x46ccd4;return this[_0x541aad(0x11b)][_0x541aad(0x114)](_0x34663d['IExchangeService'])[_0x541aad(0x111)](_0x41d8ae);}async[_0x46ccd4(0xf7)](_0x2a641b){var _0x31a23b=_0x46ccd4;return this[_0x31a23b(0x11b)][_0x31a23b(0x114)](_0x34663d['IExchangeService'])[_0x31a23b(0x115)](_0x2a641b);}};_0xb619cc[_0x46ccd4(0x102)][_0x46ccd4(0x117)](_0x1eefe0);}));function _0x5941(_0x55a600,_0x25c06d){_0x55a600=_0x55a600-0xf0;var _0x5d08b7=_0x5d08();var _0x59418e=_0x5d08b7[_0x55a600];return _0x59418e;}function _0x5d08(){var _0xf29d5c=['UniverCoreFacade','amd','_injector','exportDOCXByUnitId','2476851IKgcAf','exportPPTXByUnitIdAsync','transformSnapshotJsonToWorkbookData','4001464umTaDh','UNIVER_SHEET','1157935vioQNA','@univerjs-pro/exchange-client','exportPPTXBySnapshotAsync','importPPTXToSnapshot','transformWorkbookDataToSnapshotJsonAsync','7vFLAeQ','importXLSXToSnapshot','importPPTXToSnapshotAsync','exportDOCXBySnapshotAsync','UNIVER_DOC','6202878aKmqFf','exportDOCXByUnitIdAsync','8434848TqjNVO','FUniver','object','225hgFBRC','UniverInstanceType','UniverProExchangeClient','UNIVER_SLIDE','IExchangeService','importDOCXToSnapshot','5111630CuZFXN','importDOCXToUnitIdAsync','1626sQEKZZ','exportXLSXBySnapshotAsync','exportDOCXBySnapshot','exportXLSXByUnitId','9zVJcnJ','exportPPTXByUnitId','@univerjs/core','importFileToUnitId','get','exportPPTXBySnapshot','exportXLSXByUnitIdAsync','extend','importXLSXToSnapshotAsync'];_0x5d08=function(){return _0xf29d5c;};return _0x5d08();}