@volo/abp.ng.file-management 9.2.0 → 9.2.1

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,17 +1,14 @@
1
- import { HttpXsrfTokenExtractor } from '@angular/common/http';
2
1
  import { OnDestroy } from '@angular/core';
3
2
  import { Subscription } from 'rxjs';
4
3
  import { Uppy, UppyFile, UppyOptions } from '@uppy/core';
5
- import { ApiInterceptor, EnvironmentService, LocalizationService, SubscriptionService } from '@abp/ng.core';
6
- import { ConfirmationService } from '@abp/ng.theme.shared';
7
- import { FileDescriptorService } from '@volo/abp.ng.file-management/proxy';
8
- import { UpdateStreamService } from './update-stream.service';
4
+ import { SubscriptionService } from '@abp/ng.core';
9
5
  import * as i0 from "@angular/core";
10
6
  export type ChosenFile = {
11
7
  name: string;
12
8
  size: number;
13
9
  };
14
10
  export declare class UploadService implements OnDestroy {
11
+ protected readonly subscriptionService: SubscriptionService;
15
12
  private localization;
16
13
  private fileService;
17
14
  private confirmation;
@@ -20,7 +17,6 @@ export declare class UploadService implements OnDestroy {
20
17
  private environmentService;
21
18
  private httpXsrfToken;
22
19
  private headerName;
23
- protected readonly subscriptionService: SubscriptionService;
24
20
  uppy: Uppy;
25
21
  resource: {
26
22
  [key: string]: string;
@@ -36,7 +32,6 @@ export declare class UploadService implements OnDestroy {
36
32
  hasInvalidName: boolean;
37
33
  fileName: string;
38
34
  }>;
39
- constructor(localization: LocalizationService, fileService: FileDescriptorService, confirmation: ConfirmationService, updateStream: UpdateStreamService, apiInterceptor: ApiInterceptor, environmentService: EnvironmentService, httpXsrfToken: HttpXsrfTokenExtractor, headerName: string);
40
35
  initUppy(trigger: any, opts?: Partial<UppyOptions<any>>): void;
41
36
  setOptions(opts: Partial<UppyOptions<any>>): void;
42
37
  giveInvalidFileNameWarning(fileName: string): void;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@volo/abp.ng.file-management",
3
- "version": "9.2.0",
3
+ "version": "9.2.1",
4
4
  "dependencies": {
5
- "@abp/ng.components": "~9.2.0",
5
+ "@abp/ng.components": "~9.2.1",
6
6
  "@uppy/core": "^3.0.0",
7
7
  "@uppy/dashboard": "^3.0.0",
8
8
  "@uppy/xhr-upload": "^3.0.0",
9
9
  "tslib": "^2.0.0"
10
10
  },
11
11
  "peerDependencies": {
12
- "@abp/ng.core": ">=9.2.0",
13
- "@abp/ng.theme.shared": ">=9.2.0"
12
+ "@abp/ng.core": ">=9.2.1",
13
+ "@abp/ng.theme.shared": ">=9.2.1"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"