@uppy/angular 0.2.2 → 0.2.6

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 (49) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +3 -4
  3. package/dist/angular/esm2020/lib/components/dashboard/dashboard.component.mjs +34 -0
  4. package/dist/angular/esm2020/lib/components/dashboard/dashboard.module.mjs +17 -0
  5. package/dist/angular/esm2020/lib/components/dashboard-modal/dashboard-modal.component.mjs +49 -0
  6. package/dist/angular/esm2020/lib/components/dashboard-modal/dashboard-modal.module.mjs +17 -0
  7. package/dist/angular/esm2020/lib/components/drag-drop/drag-drop.component.mjs +34 -0
  8. package/dist/angular/esm2020/lib/components/drag-drop/drag-drop.module.mjs +17 -0
  9. package/dist/angular/esm2020/lib/components/progress-bar/progress-bar.component.mjs +34 -0
  10. package/dist/angular/esm2020/lib/components/progress-bar/progress-bar.module.mjs +17 -0
  11. package/dist/angular/esm2020/lib/components/status-bar/status-bar.component.mjs +34 -0
  12. package/dist/angular/esm2020/lib/components/status-bar/status-bar.module.mjs +17 -0
  13. package/dist/angular/esm2020/lib/utils/wrapper.mjs +27 -0
  14. package/dist/angular/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  15. package/dist/angular/esm2020/uppy-angular.mjs +5 -0
  16. package/dist/angular/fesm2015/uppy-angular.mjs +276 -0
  17. package/dist/angular/fesm2015/uppy-angular.mjs.map +1 -0
  18. package/dist/angular/fesm2020/uppy-angular.mjs +279 -0
  19. package/dist/angular/fesm2020/uppy-angular.mjs.map +1 -0
  20. package/dist/angular/lib/components/dashboard/dashboard.component.d.ts +3 -0
  21. package/dist/angular/lib/components/dashboard/dashboard.module.d.ts +5 -0
  22. package/dist/angular/lib/components/dashboard-modal/dashboard-modal.component.d.ts +3 -0
  23. package/dist/angular/lib/components/dashboard-modal/dashboard-modal.module.d.ts +5 -0
  24. package/dist/angular/lib/components/drag-drop/drag-drop.component.d.ts +3 -0
  25. package/dist/angular/lib/components/drag-drop/drag-drop.module.d.ts +5 -0
  26. package/dist/angular/lib/components/progress-bar/progress-bar.component.d.ts +3 -0
  27. package/dist/angular/lib/components/progress-bar/progress-bar.module.d.ts +5 -0
  28. package/dist/angular/lib/components/status-bar/status-bar.component.d.ts +3 -0
  29. package/dist/angular/lib/components/status-bar/status-bar.module.d.ts +5 -0
  30. package/dist/angular/package.json +24 -12
  31. package/dist/angular/uppy-angular.d.ts +1 -6
  32. package/package.json +32 -34
  33. package/dist/angular/bundles/uppy-angular.umd.js +0 -632
  34. package/dist/angular/bundles/uppy-angular.umd.js.map +0 -1
  35. package/dist/angular/esm2015/lib/components/dashboard/dashboard.component.js +0 -33
  36. package/dist/angular/esm2015/lib/components/dashboard/dashboard.module.js +0 -12
  37. package/dist/angular/esm2015/lib/components/dashboard-modal/dashboard-modal.component.js +0 -47
  38. package/dist/angular/esm2015/lib/components/dashboard-modal/dashboard-modal.module.js +0 -12
  39. package/dist/angular/esm2015/lib/components/drag-drop/drag-drop.component.js +0 -33
  40. package/dist/angular/esm2015/lib/components/drag-drop/drag-drop.module.js +0 -12
  41. package/dist/angular/esm2015/lib/components/progress-bar/progress-bar.component.js +0 -33
  42. package/dist/angular/esm2015/lib/components/progress-bar/progress-bar.module.js +0 -12
  43. package/dist/angular/esm2015/lib/components/status-bar/status-bar.component.js +0 -33
  44. package/dist/angular/esm2015/lib/components/status-bar/status-bar.module.js +0 -12
  45. package/dist/angular/esm2015/lib/utils/wrapper.js +0 -24
  46. package/dist/angular/esm2015/uppy-angular.js +0 -11
  47. package/dist/angular/fesm2015/uppy-angular.js +0 -254
  48. package/dist/angular/fesm2015/uppy-angular.js.map +0 -1
  49. package/dist/angular/uppy-angular.metadata.json +0 -1
@@ -1,4 +1,9 @@
1
1
  import { DashboardComponent } from './dashboard.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./dashboard.component";
2
4
  export declare const COMPONENTS: (typeof DashboardComponent)[];
3
5
  export declare class UppyAngularDashboardModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppyAngularDashboardModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UppyAngularDashboardModule, [typeof i1.DashboardComponent], never, [typeof i1.DashboardComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UppyAngularDashboardModule>;
4
9
  }
@@ -3,6 +3,7 @@ import Dashboard from '@uppy/dashboard';
3
3
  import type { DashboardOptions } from '@uppy/dashboard';
4
4
  import { Uppy } from '@uppy/core';
5
5
  import { UppyAngularWrapper } from '../../utils/wrapper';
6
+ import * as i0 from "@angular/core";
6
7
  export declare class DashboardModalComponent extends UppyAngularWrapper<Dashboard> implements OnDestroy, OnChanges {
7
8
  el: ElementRef;
8
9
  uppy: Uppy;
@@ -12,4 +13,6 @@ export declare class DashboardModalComponent extends UppyAngularWrapper<Dashboar
12
13
  ngOnInit(): void;
13
14
  ngOnChanges(changes: SimpleChanges): void;
14
15
  ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardModalComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardModalComponent, "uppy-dashboard-modal", never, { "uppy": "uppy"; "props": "props"; "open": "open"; }, {}, never, never>;
15
18
  }
@@ -1,4 +1,9 @@
1
1
  import { DashboardModalComponent } from './dashboard-modal.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./dashboard-modal.component";
2
4
  export declare const COMPONENTS: (typeof DashboardModalComponent)[];
3
5
  export declare class UppyAngularDashboardModalModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppyAngularDashboardModalModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UppyAngularDashboardModalModule, [typeof i1.DashboardModalComponent], never, [typeof i1.DashboardModalComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UppyAngularDashboardModalModule>;
4
9
  }
@@ -2,6 +2,7 @@ import { OnDestroy, OnChanges, SimpleChanges, ElementRef } from '@angular/core';
2
2
  import { Uppy } from '@uppy/core';
3
3
  import type { DragDropOptions } from '@uppy/drag-drop';
4
4
  import { UppyAngularWrapper } from '../../utils/wrapper';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class DragDropComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {
6
7
  el: ElementRef;
7
8
  uppy: Uppy;
@@ -10,4 +11,6 @@ export declare class DragDropComponent extends UppyAngularWrapper implements OnD
10
11
  ngOnInit(): void;
11
12
  ngOnChanges(changes: SimpleChanges): void;
12
13
  ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragDropComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DragDropComponent, "uppy-drag-drop", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never>;
13
16
  }
@@ -1,4 +1,9 @@
1
1
  import { DragDropComponent } from './drag-drop.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./drag-drop.component";
2
4
  export declare const COMPONENTS: (typeof DragDropComponent)[];
3
5
  export declare class UppyAngularDragDropModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppyAngularDragDropModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UppyAngularDragDropModule, [typeof i1.DragDropComponent], never, [typeof i1.DragDropComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UppyAngularDragDropModule>;
4
9
  }
@@ -2,6 +2,7 @@ import { ElementRef, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { Uppy } from '@uppy/core';
3
3
  import type { ProgressBarOptions } from '@uppy/progress-bar';
4
4
  import { UppyAngularWrapper } from '../../utils/wrapper';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class ProgressBarComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {
6
7
  el: ElementRef;
7
8
  uppy: Uppy;
@@ -10,4 +11,6 @@ export declare class ProgressBarComponent extends UppyAngularWrapper implements
10
11
  ngOnInit(): void;
11
12
  ngOnChanges(changes: SimpleChanges): void;
12
13
  ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "uppy-progress-bar", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never>;
13
16
  }
@@ -1,4 +1,9 @@
1
1
  import { ProgressBarComponent } from './progress-bar.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./progress-bar.component";
2
4
  export declare const COMPONENTS: (typeof ProgressBarComponent)[];
3
5
  export declare class UppyAngularProgressBarModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppyAngularProgressBarModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UppyAngularProgressBarModule, [typeof i1.ProgressBarComponent], never, [typeof i1.ProgressBarComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UppyAngularProgressBarModule>;
4
9
  }
@@ -2,6 +2,7 @@ import { ElementRef, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { Uppy } from '@uppy/core';
3
3
  import type { StatusBarOptions } from '@uppy/status-bar';
4
4
  import { UppyAngularWrapper } from '../../utils/wrapper';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class StatusBarComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {
6
7
  el: ElementRef;
7
8
  uppy: Uppy;
@@ -10,4 +11,6 @@ export declare class StatusBarComponent extends UppyAngularWrapper implements On
10
11
  ngOnInit(): void;
11
12
  ngOnChanges(changes: SimpleChanges): void;
12
13
  ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "uppy-status-bar", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never>;
13
16
  }
@@ -1,4 +1,9 @@
1
1
  import { StatusBarComponent } from './status-bar.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./status-bar.component";
2
4
  export declare const COMPONENTS: (typeof StatusBarComponent)[];
3
5
  export declare class UppyAngularStatusBarModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<UppyAngularStatusBarModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UppyAngularStatusBarModule, [typeof i1.StatusBarComponent], never, [typeof i1.StatusBarComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<UppyAngularStatusBarModule>;
4
9
  }
@@ -19,22 +19,34 @@
19
19
  "url": "git+https://github.com/transloadit/uppy.git"
20
20
  },
21
21
  "peerDependencies": {
22
- "@angular/common": "~12.1.0",
23
- "@angular/core": "~12.1.0",
22
+ "@angular/common": ">= 11",
23
+ "@angular/core": ">= 11",
24
24
  "@uppy/core": ">=1",
25
- "@uppy/dashboard": "^1.11.0",
26
- "@uppy/drag-drop": "^1.4.16",
27
- "@uppy/progress-bar": "^1.3.16",
28
- "@uppy/status-bar": "^1.7.1",
25
+ "@uppy/dashboard": "workspace:^",
26
+ "@uppy/drag-drop": "workspace:^",
27
+ "@uppy/progress-bar": "workspace:^",
28
+ "@uppy/status-bar": "workspace:^",
29
29
  "@uppy/utils": ">=3"
30
30
  },
31
- "main": "bundles/uppy-angular.umd.js",
32
- "module": "fesm2015/uppy-angular.js",
33
- "es2015": "fesm2015/uppy-angular.js",
34
- "esm2015": "esm2015/uppy-angular.js",
35
- "fesm2015": "fesm2015/uppy-angular.js",
31
+ "module": "fesm2015/uppy-angular.mjs",
32
+ "es2020": "fesm2020/uppy-angular.mjs",
33
+ "esm2020": "esm2020/uppy-angular.mjs",
34
+ "fesm2020": "fesm2020/uppy-angular.mjs",
35
+ "fesm2015": "fesm2015/uppy-angular.mjs",
36
36
  "typings": "uppy-angular.d.ts",
37
- "metadata": "uppy-angular.metadata.json",
37
+ "exports": {
38
+ "./package.json": {
39
+ "default": "./package.json"
40
+ },
41
+ ".": {
42
+ "types": "./uppy-angular.d.ts",
43
+ "esm2020": "./esm2020/uppy-angular.mjs",
44
+ "es2020": "./fesm2020/uppy-angular.mjs",
45
+ "es2015": "./fesm2015/uppy-angular.mjs",
46
+ "node": "./fesm2015/uppy-angular.mjs",
47
+ "default": "./fesm2020/uppy-angular.mjs"
48
+ }
49
+ },
38
50
  "sideEffects": false,
39
51
  "dependencies": {
40
52
  "tslib": "^2.0.0"
@@ -1,10 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@uppy/angular" />
4
5
  export * from './public-api';
5
- export { COMPONENTS as ɵb } from './lib/components/dashboard-modal/dashboard-modal.module';
6
- export { COMPONENTS as ɵa } from './lib/components/dashboard/dashboard.module';
7
- export { COMPONENTS as ɵe } from './lib/components/drag-drop/drag-drop.module';
8
- export { COMPONENTS as ɵc } from './lib/components/progress-bar/progress-bar.module';
9
- export { COMPONENTS as ɵd } from './lib/components/status-bar/status-bar.module';
10
- export { UppyAngularWrapper as ɵf } from './lib/utils/wrapper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uppy/angular",
3
- "version": "0.2.2",
3
+ "version": "0.2.6",
4
4
  "module": "dist/angular/esm2015/public-api.js",
5
5
  "types": "dist/angular/uppy-angular.d.ts",
6
6
  "scripts": {
@@ -13,20 +13,19 @@
13
13
  "e2e": "ng e2e",
14
14
  "build-storybook": "build-storybook"
15
15
  },
16
- "private": false,
17
16
  "dependencies": {
18
- "@angular/animations": "~12.1.0",
19
- "@angular/common": "~12.1.0",
20
- "@angular/compiler": "~12.1.0",
21
- "@angular/core": "~12.1.0",
22
- "@angular/forms": "~12.1.0",
23
- "@angular/platform-browser": "~12.1.0",
24
- "@angular/platform-browser-dynamic": "~12.1.0",
25
- "@angular/router": "~12.1.0",
26
- "@uppy/dashboard": "^2.0.2",
27
- "@uppy/drag-drop": "^2.0.1",
28
- "@uppy/progress-bar": "^2.0.1",
29
- "@uppy/status-bar": "^2.0.1",
17
+ "@angular/animations": ">= 11",
18
+ "@angular/common": ">= 11",
19
+ "@angular/compiler": ">= 11",
20
+ "@angular/core": ">= 11",
21
+ "@angular/forms": ">= 11",
22
+ "@angular/platform-browser": ">= 11",
23
+ "@angular/platform-browser-dynamic": ">= 11",
24
+ "@angular/router": ">= 11",
25
+ "@uppy/dashboard": "^2.1.2",
26
+ "@uppy/drag-drop": "^2.0.5",
27
+ "@uppy/progress-bar": "^2.0.4",
28
+ "@uppy/status-bar": "^2.1.2",
30
29
  "prop-types": "^15.7.2",
31
30
  "rxjs": "^6.5.3",
32
31
  "tslib": "^2.0.0",
@@ -36,14 +35,14 @@
36
35
  "@uppy/core": ">=1"
37
36
  },
38
37
  "devDependencies": {
39
- "@angular-devkit/build-angular": "~12.1.0",
40
- "@angular-eslint/builder": "12.2.0",
41
- "@angular-eslint/eslint-plugin": "12.2.0",
42
- "@angular-eslint/eslint-plugin-template": "12.2.0",
43
- "@angular-eslint/schematics": "12.2.0",
44
- "@angular-eslint/template-parser": "12.2.0",
45
- "@angular/cli": "~12.1.0",
46
- "@angular/compiler-cli": "~12.1.0",
38
+ "@angular-devkit/build-angular": ">= 11",
39
+ "@angular-eslint/builder": ">= 11",
40
+ "@angular-eslint/eslint-plugin": ">= 11",
41
+ "@angular-eslint/eslint-plugin-template": ">= 11",
42
+ "@angular-eslint/schematics": ">= 11",
43
+ "@angular-eslint/template-parser": ">= 11",
44
+ "@angular/cli": ">= 11",
45
+ "@angular/compiler-cli": ">= 11",
47
46
  "@babel/core": "^7.10.5",
48
47
  "@storybook/addon-actions": "^6.2.7",
49
48
  "@storybook/addon-links": "^6.2.7",
@@ -53,31 +52,30 @@
53
52
  "@types/jasmine": "~3.6.0",
54
53
  "@types/jasminewd2": "~2.0.3",
55
54
  "@types/node": "^12.11.1",
56
- "@typescript-eslint/eslint-plugin": "^4.28.2",
57
- "@typescript-eslint/parser": "^4.28.2",
55
+ "@typescript-eslint/eslint-plugin": "^5.0.0",
56
+ "@typescript-eslint/parser": "^5.0.0",
58
57
  "babel-loader": "^8.1.0",
59
- "eslint": "^7.22.0",
58
+ "eslint": "^8.0.0",
60
59
  "eslint-plugin-import": "^2.22.1",
61
- "eslint-plugin-jsdoc": "^35.4.1",
62
- "eslint-plugin-prefer-arrow": "latest",
60
+ "eslint-plugin-jsdoc": "^37.0.0",
61
+ "eslint-plugin-prefer-arrow": "^1.2.3",
63
62
  "jasmine-core": "~3.6.0",
64
- "jasmine-spec-reporter": "~5.0.0",
65
- "karma": "~6.1.0",
63
+ "jasmine-spec-reporter": "~7.0.0",
64
+ "karma": "~6.3.9",
66
65
  "karma-chrome-launcher": "~3.1.0",
67
66
  "karma-coverage-istanbul-reporter": "~3.0.2",
68
67
  "karma-jasmine": "~4.0.0",
69
68
  "karma-jasmine-html-reporter": "^1.5.0",
70
- "ng-packagr": "^12.1.0",
69
+ "ng-packagr": "^13.0.0",
71
70
  "protractor": "~7.0.0",
72
71
  "redux": "^4.0.5",
73
72
  "ts-node": "~8.3.0",
74
- "typescript": "~4.3"
73
+ "typescript": "~4.4"
75
74
  },
76
75
  "publishConfig": {
77
76
  "access": "public"
78
77
  },
79
78
  "files": [
80
79
  "/dist"
81
- ],
82
- "gitHead": "246eafc51a7ed6a1f534629454e1f78cd6f507c1"
83
- }
80
+ ]
81
+ }