@univerjs-pro/exchange-client 0.2.7 → 0.2.9

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.
@@ -1,6 +1,5 @@
1
1
  import { Disposable, Injector } from '@univerjs/core';
2
2
  import { IUIPartsService } from '@univerjs/ui';
3
-
4
3
  export declare class ExchangeClientController extends Disposable {
5
4
  private readonly _injector;
6
5
  private readonly _uiPartsService;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,4 +1,3 @@
1
1
  import { default as zhCN } from './zh-CN';
2
-
3
2
  declare const locale: typeof zhCN;
4
3
  export default locale;
@@ -1,5 +1,4 @@
1
1
  import { Injector, LocaleService, Plugin } from '@univerjs/core';
2
-
3
2
  export declare class UniverExchangeClientPlugin extends Plugin {
4
3
  private readonly _;
5
4
  readonly _injector: Injector;
@@ -2,7 +2,6 @@ import { IDisposable, IDocumentData, IWorkbookData, Disposable } from '@univerjs
2
2
  import { IError, UniverType } from '@univerjs/protocol';
3
3
  import { Observable } from 'rxjs';
4
4
  import { RequestService } from './request.service';
5
-
6
5
  export declare enum RequestState {
7
6
  UPLOAD = 0,
8
7
  IMPORT = 1,
@@ -3,7 +3,6 @@ import { IProgressService, IMessageService } from '@univerjs/ui';
3
3
  import { UniverType } from '@univerjs/protocol';
4
4
  import { ExchangeService } from './exchange.service';
5
5
  import { UploadNotificationService } from './upload-notification.service';
6
-
7
6
  export interface IExchangeOperateService {
8
7
  interrupt(): void;
9
8
  /**
@@ -2,7 +2,6 @@ import { IConfigService, IDisposable } from '@univerjs/core';
2
2
  import { HTTPService } from '@univerjs/network';
3
3
  import { IError, UniverType } from '@univerjs/protocol';
4
4
  import { ISheetBlockJson, ISnapshotJson } from './utils/snapshot';
5
-
6
5
  export declare const EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY = "EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY";
7
6
  export declare const EXCHANGE_IMPORT_SERVER_URL_KEY = "EXCHANGE_IMPORT_SERVER_URL_KEY";
8
7
  export declare const EXCHANGE_EXPORT_SERVER_URL_KEY = "EXCHANGE_EXPORT_SERVER_URL_KEY";
@@ -1,7 +1,6 @@
1
1
  import { Disposable, IDisposable } from '@univerjs/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { UniverType } from '@univerjs/protocol';
4
-
5
4
  export declare enum UploadNotificationState {
6
5
  UPLOADING = 0,
7
6
  SUCCESS = 1,
@@ -1,5 +1,4 @@
1
1
  import { IProgressService, ProgressService } from '@univerjs/ui';
2
-
3
2
  export declare class UploadProgressService extends ProgressService {
4
3
  }
5
4
  export declare const IUploadProgressService: import('@univerjs/core').IdentifierDecorator<IProgressService>;
@@ -1,6 +1,5 @@
1
1
  import { IWorkbookData, Nullable } from '@univerjs/core';
2
2
  import { IDocumentMeta, ISheetBlock, ISnapshot, IWorkbookMeta, IWorksheetMeta } from '@univerjs/protocol';
3
-
4
3
  export interface IWorksheetMetaJson extends Omit<IWorksheetMeta, 'originalMeta'> {
5
4
  originalMeta: string;
6
5
  }
@@ -1,5 +1,4 @@
1
1
  import { UniverType } from '@univerjs/protocol';
2
-
3
2
  export declare function downloadFileByURL(url: string, filename: string, fileExt: string): void;
4
3
  /**
5
4
  * Triggers a download of a given File object.
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function UploadNotificationContainer(): React.JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { ILinkList } from '../../services/upload-notification.service';
3
-
4
3
  export interface ILinkListProps {
5
4
  list: ILinkList[];
6
5
  }
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function UploadAgain(): React.JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface IUploadButton {
4
3
  children?: React.ReactNode;
5
4
  className?: string;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function UploadError(): React.JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function UploadNotification(): false | React.JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface IUploadSuccessProps {
4
3
  count: number;
5
4
  }
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function Uploading(): React.JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export declare function UploadCancel(): React.JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from 'react';
2
-
3
2
  export interface IUploadProgressProps {
4
3
  barColor: string;
5
4
  }