@uppy/angular 0.2.5 → 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 +1 -1
  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 +22 -10
  31. package/dist/angular/uppy-angular.d.ts +1 -6
  32. package/package.json +15 -17
  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,254 +0,0 @@
1
- import { Component, ChangeDetectionStrategy, ElementRef, Input, NgModule } from '@angular/core';
2
- import Dashboard from '@uppy/dashboard';
3
- import ProgressBar from '@uppy/progress-bar';
4
- import StatusBar from '@uppy/status-bar';
5
- import DragDrop from '@uppy/drag-drop';
6
-
7
- class UppyAngularWrapper {
8
- onMount(defaultOptions, plugin) {
9
- this.options = Object.assign(Object.assign({}, defaultOptions), this.props);
10
- this.uppy.use(plugin, this.options);
11
- this.plugin = this.uppy.getPlugin(this.options.id);
12
- }
13
- handleChanges(changes, plugin) {
14
- // Without the last part of this conditional, it tries to uninstall before the plugin is mounted
15
- if (changes.uppy && this.uppy !== changes.uppy.previousValue && changes.uppy.previousValue !== undefined) {
16
- this.uninstall(changes.uppy.previousValue);
17
- this.uppy.use(plugin, this.options);
18
- }
19
- this.options = Object.assign(Object.assign({}, this.options), this.props);
20
- this.plugin = this.uppy.getPlugin(this.options.id);
21
- if (changes.props && this.props !== changes.props.previousValue && changes.props.previousValue !== undefined) {
22
- this.plugin.setOptions(Object.assign({}, this.options));
23
- }
24
- }
25
- uninstall(uppy = this.uppy) {
26
- console.log('Uninstalling...');
27
- uppy.removePlugin(this.plugin);
28
- }
29
- }
30
-
31
- class DashboardComponent extends UppyAngularWrapper {
32
- constructor(el) {
33
- super();
34
- this.el = el;
35
- }
36
- ngOnInit() {
37
- this.onMount({ id: 'angular:Dashboard', inline: true, target: this.el.nativeElement }, Dashboard);
38
- }
39
- ngOnChanges(changes) {
40
- this.handleChanges(changes, Dashboard);
41
- }
42
- ngOnDestroy() {
43
- this.uninstall();
44
- }
45
- }
46
- DashboardComponent.decorators = [
47
- { type: Component, args: [{
48
- selector: 'uppy-dashboard',
49
- template: '',
50
- changeDetection: ChangeDetectionStrategy.OnPush
51
- },] }
52
- ];
53
- DashboardComponent.ctorParameters = () => [
54
- { type: ElementRef }
55
- ];
56
- DashboardComponent.propDecorators = {
57
- uppy: [{ type: Input }],
58
- props: [{ type: Input }]
59
- };
60
-
61
- const COMPONENTS$4 = [DashboardComponent];
62
- class UppyAngularDashboardModule {
63
- }
64
- UppyAngularDashboardModule.decorators = [
65
- { type: NgModule, args: [{
66
- declarations: COMPONENTS$4,
67
- exports: COMPONENTS$4
68
- },] }
69
- ];
70
-
71
- class DashboardModalComponent extends UppyAngularWrapper {
72
- constructor(el) {
73
- super();
74
- this.el = el;
75
- }
76
- ngOnInit() {
77
- this.onMount({
78
- id: 'angular:DashboardModal',
79
- inline: false,
80
- target: this.el.nativeElement
81
- }, Dashboard);
82
- }
83
- ngOnChanges(changes) {
84
- this.handleChanges(changes, Dashboard);
85
- // Handle dashboard-modal specific changes
86
- if (changes.open && this.open !== changes.open.previousValue) {
87
- if (this.open && !changes.open.previousValue) {
88
- this.plugin.openModal();
89
- }
90
- if (!this.open && changes.open.previousValue) {
91
- this.plugin.closeModal();
92
- }
93
- }
94
- }
95
- ngOnDestroy() {
96
- this.uninstall();
97
- }
98
- }
99
- DashboardModalComponent.decorators = [
100
- { type: Component, args: [{
101
- selector: 'uppy-dashboard-modal',
102
- template: '',
103
- changeDetection: ChangeDetectionStrategy.OnPush
104
- },] }
105
- ];
106
- DashboardModalComponent.ctorParameters = () => [
107
- { type: ElementRef }
108
- ];
109
- DashboardModalComponent.propDecorators = {
110
- uppy: [{ type: Input }],
111
- props: [{ type: Input }],
112
- open: [{ type: Input }]
113
- };
114
-
115
- const COMPONENTS$3 = [DashboardModalComponent];
116
- class UppyAngularDashboardModalModule {
117
- }
118
- UppyAngularDashboardModalModule.decorators = [
119
- { type: NgModule, args: [{
120
- declarations: COMPONENTS$3,
121
- exports: COMPONENTS$3
122
- },] }
123
- ];
124
-
125
- class ProgressBarComponent extends UppyAngularWrapper {
126
- constructor(el) {
127
- super();
128
- this.el = el;
129
- }
130
- ngOnInit() {
131
- this.onMount({ id: 'angular:ProgressBar', target: this.el.nativeElement }, ProgressBar);
132
- }
133
- ngOnChanges(changes) {
134
- this.handleChanges(changes, ProgressBar);
135
- }
136
- ngOnDestroy() {
137
- this.uninstall();
138
- }
139
- }
140
- ProgressBarComponent.decorators = [
141
- { type: Component, args: [{
142
- selector: 'uppy-progress-bar',
143
- template: '',
144
- changeDetection: ChangeDetectionStrategy.OnPush
145
- },] }
146
- ];
147
- ProgressBarComponent.ctorParameters = () => [
148
- { type: ElementRef }
149
- ];
150
- ProgressBarComponent.propDecorators = {
151
- uppy: [{ type: Input }],
152
- props: [{ type: Input }]
153
- };
154
-
155
- const COMPONENTS$2 = [ProgressBarComponent];
156
- class UppyAngularProgressBarModule {
157
- }
158
- UppyAngularProgressBarModule.decorators = [
159
- { type: NgModule, args: [{
160
- declarations: COMPONENTS$2,
161
- exports: COMPONENTS$2
162
- },] }
163
- ];
164
-
165
- class StatusBarComponent extends UppyAngularWrapper {
166
- constructor(el) {
167
- super();
168
- this.el = el;
169
- }
170
- ngOnInit() {
171
- this.onMount({ id: 'angular:StatusBar', target: this.el.nativeElement }, StatusBar);
172
- }
173
- ngOnChanges(changes) {
174
- this.handleChanges(changes, StatusBar);
175
- }
176
- ngOnDestroy() {
177
- this.uninstall();
178
- }
179
- }
180
- StatusBarComponent.decorators = [
181
- { type: Component, args: [{
182
- selector: 'uppy-status-bar',
183
- template: '',
184
- changeDetection: ChangeDetectionStrategy.OnPush
185
- },] }
186
- ];
187
- StatusBarComponent.ctorParameters = () => [
188
- { type: ElementRef }
189
- ];
190
- StatusBarComponent.propDecorators = {
191
- uppy: [{ type: Input }],
192
- props: [{ type: Input }]
193
- };
194
-
195
- const COMPONENTS$1 = [StatusBarComponent];
196
- class UppyAngularStatusBarModule {
197
- }
198
- UppyAngularStatusBarModule.decorators = [
199
- { type: NgModule, args: [{
200
- declarations: COMPONENTS$1,
201
- exports: COMPONENTS$1
202
- },] }
203
- ];
204
-
205
- class DragDropComponent extends UppyAngularWrapper {
206
- constructor(el) {
207
- super();
208
- this.el = el;
209
- }
210
- ngOnInit() {
211
- this.onMount({ id: 'angular:DragDrop', target: this.el.nativeElement }, DragDrop);
212
- }
213
- ngOnChanges(changes) {
214
- this.handleChanges(changes, DragDrop);
215
- }
216
- ngOnDestroy() {
217
- this.uninstall();
218
- }
219
- }
220
- DragDropComponent.decorators = [
221
- { type: Component, args: [{
222
- selector: 'uppy-drag-drop',
223
- template: '',
224
- changeDetection: ChangeDetectionStrategy.OnPush
225
- },] }
226
- ];
227
- DragDropComponent.ctorParameters = () => [
228
- { type: ElementRef }
229
- ];
230
- DragDropComponent.propDecorators = {
231
- uppy: [{ type: Input }],
232
- props: [{ type: Input }]
233
- };
234
-
235
- const COMPONENTS = [DragDropComponent];
236
- class UppyAngularDragDropModule {
237
- }
238
- UppyAngularDragDropModule.decorators = [
239
- { type: NgModule, args: [{
240
- declarations: COMPONENTS,
241
- exports: COMPONENTS
242
- },] }
243
- ];
244
-
245
- /*
246
- * Public API Surface of @uppy/angular
247
- */
248
-
249
- /**
250
- * Generated bundle index. Do not edit.
251
- */
252
-
253
- export { DashboardComponent, DashboardModalComponent, DragDropComponent, ProgressBarComponent, StatusBarComponent, UppyAngularDashboardModalModule, UppyAngularDashboardModule, UppyAngularDragDropModule, UppyAngularProgressBarModule, UppyAngularStatusBarModule, COMPONENTS$4 as ɵa, COMPONENTS$3 as ɵb, COMPONENTS$2 as ɵc, COMPONENTS$1 as ɵd, COMPONENTS as ɵe, UppyAngularWrapper as ɵf };
254
- //# sourceMappingURL=uppy-angular.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uppy-angular.js","sources":["../../../projects/angular/src/lib/utils/wrapper.ts","../../../projects/angular/src/lib/components/dashboard/dashboard.component.ts","../../../projects/angular/src/lib/components/dashboard/dashboard.module.ts","../../../projects/angular/src/lib/components/dashboard-modal/dashboard-modal.component.ts","../../../projects/angular/src/lib/components/dashboard-modal/dashboard-modal.module.ts","../../../projects/angular/src/lib/components/progress-bar/progress-bar.component.ts","../../../projects/angular/src/lib/components/progress-bar/progress-bar.module.ts","../../../projects/angular/src/lib/components/status-bar/status-bar.component.ts","../../../projects/angular/src/lib/components/status-bar/status-bar.module.ts","../../../projects/angular/src/lib/components/drag-drop/drag-drop.component.ts","../../../projects/angular/src/lib/components/drag-drop/drag-drop.module.ts","../../../projects/angular/src/public-api.ts","../../../projects/angular/src/uppy-angular.ts"],"sourcesContent":["import { Uppy, UIPlugin } from '@uppy/core';\nimport { ElementRef, SimpleChanges } from '@angular/core';\n\nexport abstract class UppyAngularWrapper<PluginType extends UIPlugin = UIPlugin> {\n abstract props;\n abstract el: ElementRef\n abstract uppy: Uppy;\n private options: any;\n plugin: PluginType;\n\n onMount(defaultOptions, plugin) {\n this.options = {\n ...defaultOptions,\n ...this.props,\n };\n\n this.uppy.use(plugin, this.options);\n this.plugin = this.uppy.getPlugin(this.options.id) as PluginType;\n }\n\n handleChanges(changes: SimpleChanges, plugin: any): void {\n // Without the last part of this conditional, it tries to uninstall before the plugin is mounted\n if (changes.uppy && this.uppy !== changes.uppy.previousValue && changes.uppy.previousValue !== undefined) {\n this.uninstall(changes.uppy.previousValue);\n this.uppy.use(plugin, this.options);\n }\n this.options = { ...this.options, ...this.props }\n this.plugin = this.uppy.getPlugin(this.options.id) as PluginType;\n if(changes.props && this.props !== changes.props.previousValue && changes.props.previousValue !== undefined) {\n this.plugin.setOptions({ ...this.options })\n }\n }\n\n uninstall(uppy = this.uppy): void {\n console.log('Uninstalling...')\n uppy.removePlugin(this.plugin);\n }\n\n}\n","import { Component, ChangeDetectionStrategy, ElementRef, Input, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\nimport Dashboard from '@uppy/dashboard';\nimport type { DashboardOptions } from '@uppy/dashboard';\nimport { Uppy } from '@uppy/core';\nimport { UppyAngularWrapper } from '../../utils/wrapper';\n\n@Component({\n selector: 'uppy-dashboard',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DashboardComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {\n @Input() uppy: Uppy;\n @Input() props: DashboardOptions;\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngOnInit() {\n this.onMount({ id: 'angular:Dashboard', inline: true, target: this.el.nativeElement }, Dashboard)\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.handleChanges(changes, Dashboard);\n }\n\n ngOnDestroy(): void {\n this.uninstall();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { DashboardComponent } from './dashboard.component';\n\nexport const COMPONENTS = [DashboardComponent];\n@NgModule({\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class UppyAngularDashboardModule { }\n","import { Component, ChangeDetectionStrategy, ElementRef, Input, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\nimport Dashboard from '@uppy/dashboard';\nimport type { DashboardOptions } from '@uppy/dashboard';\nimport { Uppy } from '@uppy/core';\nimport { UppyAngularWrapper } from '../../utils/wrapper';\n\n@Component({\n selector: 'uppy-dashboard-modal',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DashboardModalComponent extends UppyAngularWrapper<Dashboard> implements OnDestroy, OnChanges {\n @Input() uppy: Uppy;\n @Input() props: DashboardOptions;\n @Input() open: boolean;\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngOnInit() {\n this.onMount({\n id: 'angular:DashboardModal',\n inline: false,\n target: this.el.nativeElement\n }, Dashboard)\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.handleChanges(changes, Dashboard);\n // Handle dashboard-modal specific changes\n if (changes.open && this.open !== changes.open.previousValue) {\n if(this.open && !changes.open.previousValue) {\n this.plugin.openModal()\n }\n if (!this.open && changes.open.previousValue) {\n this.plugin.closeModal()\n }\n }\n }\n\n ngOnDestroy(): void {\n this.uninstall();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { DashboardModalComponent } from './dashboard-modal.component';\n\nexport const COMPONENTS = [DashboardModalComponent];\n@NgModule({\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class UppyAngularDashboardModalModule { }\n","import { Component, ChangeDetectionStrategy, ElementRef, Input, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\nimport { Uppy } from '@uppy/core';\nimport ProgressBar from '@uppy/progress-bar';\nimport type { ProgressBarOptions } from '@uppy/progress-bar';\nimport { UppyAngularWrapper } from '../../utils/wrapper';\n\n@Component({\n selector: 'uppy-progress-bar',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ProgressBarComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {\n @Input() uppy: Uppy;\n @Input() props: ProgressBarOptions;\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngOnInit() {\n this.onMount({ id: 'angular:ProgressBar', target: this.el.nativeElement }, ProgressBar)\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.handleChanges(changes, ProgressBar);\n }\n\n ngOnDestroy(): void {\n this.uninstall();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ProgressBarComponent } from './progress-bar.component';\n\nexport const COMPONENTS = [ProgressBarComponent];\n@NgModule({\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class UppyAngularProgressBarModule { }\n","import { Component, ChangeDetectionStrategy, Input, ElementRef, SimpleChange, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';\nimport { Uppy } from '@uppy/core';\nimport StatusBar from '@uppy/status-bar';\nimport type { StatusBarOptions } from '@uppy/status-bar';\nimport { UppyAngularWrapper } from '../../utils/wrapper';\n\n@Component({\n selector: 'uppy-status-bar',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class StatusBarComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {\n @Input() uppy: Uppy;\n @Input() props: StatusBarOptions;\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngOnInit() {\n this.onMount({ id: 'angular:StatusBar', target: this.el.nativeElement }, StatusBar)\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.handleChanges(changes, StatusBar);\n }\n\n ngOnDestroy(): void {\n this.uninstall();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { StatusBarComponent } from './status-bar.component';\n\nexport const COMPONENTS = [StatusBarComponent];\n@NgModule({\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class UppyAngularStatusBarModule { }\n","import { Component, ChangeDetectionStrategy, Input, OnDestroy, OnChanges, SimpleChanges, ElementRef } from '@angular/core';\nimport { Uppy } from '@uppy/core';\nimport DragDrop from '@uppy/drag-drop';\nimport type { DragDropOptions } from '@uppy/drag-drop';\nimport { UppyAngularWrapper } from '../../utils/wrapper';\n\n@Component({\n selector: 'uppy-drag-drop',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DragDropComponent extends UppyAngularWrapper implements OnDestroy, OnChanges {\n @Input() uppy: Uppy;\n @Input() props: DragDropOptions;\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngOnInit() {\n this.onMount({ id: 'angular:DragDrop', target: this.el.nativeElement }, DragDrop)\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.handleChanges(changes, DragDrop);\n }\n\n ngOnDestroy(): void {\n this.uninstall();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { DragDropComponent } from './drag-drop.component';\n\nexport const COMPONENTS = [DragDropComponent];\n@NgModule({\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class UppyAngularDragDropModule { }\n","/*\n * Public API Surface of @uppy/angular\n */\n\nexport { UppyAngularDashboardModule } from './lib/components/dashboard/dashboard.module'\nexport { UppyAngularDashboardModalModule } from './lib/components/dashboard-modal/dashboard-modal.module'\nexport { UppyAngularProgressBarModule } from './lib/components/progress-bar/progress-bar.module'\nexport { UppyAngularStatusBarModule } from './lib/components/status-bar/status-bar.module'\nexport { UppyAngularDragDropModule } from './lib/components/drag-drop/drag-drop.module'\nexport { StatusBarComponent } from './lib/components/status-bar/status-bar.component'\nexport { ProgressBarComponent } from './lib/components/progress-bar/progress-bar.component'\nexport { DragDropComponent } from './lib/components/drag-drop/drag-drop.component'\nexport { DashboardComponent } from './lib/components/dashboard/dashboard.component'\nexport { DashboardModalComponent } from './lib/components/dashboard-modal/dashboard-modal.component'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n\nexport {COMPONENTS as ɵb} from './lib/components/dashboard-modal/dashboard-modal.module';\nexport {COMPONENTS as ɵa} from './lib/components/dashboard/dashboard.module';\nexport {COMPONENTS as ɵe} from './lib/components/drag-drop/drag-drop.module';\nexport {COMPONENTS as ɵc} from './lib/components/progress-bar/progress-bar.module';\nexport {COMPONENTS as ɵd} from './lib/components/status-bar/status-bar.module';\nexport {UppyAngularWrapper as ɵf} from './lib/utils/wrapper';"],"names":["COMPONENTS"],"mappings":";;;;;;MAGsB,kBAAkB;IAOpC,OAAO,CAAC,cAAc,EAAE,MAAM;QAC5B,IAAI,CAAC,OAAO,mCACP,cAAc,GACd,IAAI,CAAC,KAAK,CACd,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAe,CAAC;KAClE;IAED,aAAa,CAAC,OAAsB,EAAE,MAAW;;QAE/C,IAAI,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,aAAa,KAAK,SAAS,EAAE;YACtG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YAC3C,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SACvC;QACD,IAAI,CAAC,OAAO,mCAAQ,IAAI,CAAC,OAAO,GAAK,IAAI,CAAC,KAAK,CAAE,CAAA;QACjD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAe,CAAC;QACjE,IAAG,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,KAAK,CAAC,aAAa,IAAI,OAAO,CAAC,KAAK,CAAC,a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AI,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,kBAAkB,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,EAAE,QAAQ,CAAC,CAAA;KAClF;IAED,WAAW,CAAC,OAAsB;QAChC,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KACvC;IAED,WAAW;QACT,IAAI,CAAC,SAAS,EAAE,CAAC;KAClB;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,QAAQ,EAAE,EAAE;gBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;YAVwF,UAAU;;;mBAYhG,KAAK;oBACL,KAAK;;;MCVK,UAAU,GAAG,CAAC,iBAAiB,EAAE;MAKjC,yBAAyB;;;YAJrC,QAAQ,SAAC;gBACR,YAAY,EAAE,UAAU;gBACxB,OAAO,EAAE,UAAU;aACpB;;;ACPD;;;;ACAA;;;;;;"}
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"ɵa":[{"__symbolic":"reference","name":"DashboardComponent"}],"UppyAngularDashboardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":{"__symbolic":"reference","name":"ɵa"},"exports":{"__symbolic":"reference","name":"ɵa"}}]}],"members":{}},"ɵb":[{"__symbolic":"reference","name":"DashboardModalComponent"}],"UppyAngularDashboardModalModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":{"__symbolic":"reference","name":"ɵb"},"exports":{"__symbolic":"reference","name":"ɵb"}}]}],"members":{}},"ɵc":[{"__symbolic":"reference","name":"ProgressBarComponent"}],"UppyAngularProgressBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":{"__symbolic":"reference","name":"ɵc"},"exports":{"__symbolic":"reference","name":"ɵc"}}]}],"members":{}},"ɵd":[{"__symbolic":"reference","name":"StatusBarComponent"}],"UppyAngularStatusBarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":{"__symbolic":"reference","name":"ɵd"},"exports":{"__symbolic":"reference","name":"ɵd"}}]}],"members":{}},"ɵe":[{"__symbolic":"reference","name":"DragDropComponent"}],"UppyAngularDragDropModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":{"__symbolic":"reference","name":"ɵe"},"exports":{"__symbolic":"reference","name":"ɵe"}}]}],"members":{}},"StatusBarComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"uppy-status-bar","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":9,"character":19},"member":"OnPush"}}]}],"members":{"uppy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"props":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":15,"character":25}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ProgressBarComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"uppy-progress-bar","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":9,"character":19},"member":"OnPush"}}]}],"members":{"uppy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"props":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":15,"character":25}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DragDropComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"uppy-drag-drop","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":9,"character":19},"member":"OnPush"}}]}],"members":{"uppy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"props":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":15,"character":25}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DashboardComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"uppy-dashboard","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":9,"character":19},"member":"OnPush"}}]}],"members":{"uppy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"props":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":15,"character":25}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DashboardModalComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵf"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"uppy-dashboard-modal","template":"","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":9,"character":19},"member":"OnPush"}}]}],"members":{"uppy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"props":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"open":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":16,"character":25}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","arity":1,"members":{"onMount":[{"__symbolic":"method"}],"handleChanges":[{"__symbolic":"method"}],"uninstall":[{"__symbolic":"method"}]}}},"origins":{"ɵa":"./lib/components/dashboard/dashboard.module","UppyAngularDashboardModule":"./lib/components/dashboard/dashboard.module","ɵb":"./lib/components/dashboard-modal/dashboard-modal.module","UppyAngularDashboardModalModule":"./lib/components/dashboard-modal/dashboard-modal.module","ɵc":"./lib/components/progress-bar/progress-bar.module","UppyAngularProgressBarModule":"./lib/components/progress-bar/progress-bar.module","ɵd":"./lib/components/status-bar/status-bar.module","UppyAngularStatusBarModule":"./lib/components/status-bar/status-bar.module","ɵe":"./lib/components/drag-drop/drag-drop.module","UppyAngularDragDropModule":"./lib/components/drag-drop/drag-drop.module","StatusBarComponent":"./lib/components/status-bar/status-bar.component","ProgressBarComponent":"./lib/components/progress-bar/progress-bar.component","DragDropComponent":"./lib/components/drag-drop/drag-drop.component","DashboardComponent":"./lib/components/dashboard/dashboard.component","DashboardModalComponent":"./lib/components/dashboard-modal/dashboard-modal.component","ɵf":"./lib/utils/wrapper"},"importAs":"@uppy/angular"}