@uppy/angular 0.3.0 → 0.4.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.
- package/README.md +0 -2
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +15 -15
- package/esm2020/lib/components/dashboard/dashboard.module.mjs +12 -11
- package/esm2020/lib/components/dashboard-modal/dashboard-modal.component.mjs +17 -17
- package/esm2020/lib/components/dashboard-modal/dashboard-modal.module.mjs +12 -11
- package/esm2020/lib/components/drag-drop/drag-drop.component.mjs +15 -15
- package/esm2020/lib/components/drag-drop/drag-drop.module.mjs +12 -11
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +15 -15
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +12 -11
- package/esm2020/lib/components/status-bar/status-bar.component.mjs +15 -15
- package/esm2020/lib/components/status-bar/status-bar.module.mjs +12 -11
- package/fesm2015/uppy-angular.mjs +75 -50
- package/fesm2015/uppy-angular.mjs.map +1 -1
- package/fesm2020/uppy-angular.mjs +127 -122
- package/fesm2020/uppy-angular.mjs.map +1 -1
- package/lib/components/dashboard/dashboard.component.d.ts +1 -1
- package/lib/components/dashboard-modal/dashboard-modal.component.d.ts +1 -1
- package/lib/components/drag-drop/drag-drop.component.d.ts +1 -1
- package/lib/components/progress-bar/progress-bar.component.d.ts +1 -1
- package/lib/components/status-bar/status-bar.component.d.ts +1 -1
- package/package.json +14 -11
|
@@ -47,34 +47,39 @@ class DashboardComponent extends UppyAngularWrapper {
|
|
|
47
47
|
this.uninstall();
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
DashboardComponent.ɵfac =
|
|
51
|
-
DashboardComponent.ɵcmp = i0.ɵɵ
|
|
52
|
-
|
|
50
|
+
DashboardComponent.ɵfac = function DashboardComponent_Factory(t) { return new (t || DashboardComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
51
|
+
DashboardComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardComponent, selectors: [["uppy-dashboard"]], inputs: { uppy: "uppy", props: "props" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function DashboardComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
52
|
+
(function () {
|
|
53
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardComponent, [{
|
|
53
54
|
type: Component,
|
|
54
55
|
args: [{
|
|
55
56
|
selector: 'uppy-dashboard',
|
|
56
57
|
template: '',
|
|
57
58
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
58
59
|
}]
|
|
59
|
-
}],
|
|
60
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
60
61
|
type: Input
|
|
61
62
|
}], props: [{
|
|
62
63
|
type: Input
|
|
63
|
-
}] }
|
|
64
|
+
}] });
|
|
65
|
+
})();
|
|
64
66
|
|
|
65
67
|
const COMPONENTS$4 = [DashboardComponent];
|
|
66
68
|
class UppyAngularDashboardModule {
|
|
67
69
|
}
|
|
68
|
-
UppyAngularDashboardModule.ɵfac =
|
|
69
|
-
UppyAngularDashboardModule.ɵmod = i0.ɵɵ
|
|
70
|
-
UppyAngularDashboardModule.ɵinj = i0.ɵɵ
|
|
71
|
-
|
|
70
|
+
UppyAngularDashboardModule.ɵfac = function UppyAngularDashboardModule_Factory(t) { return new (t || UppyAngularDashboardModule)(); };
|
|
71
|
+
UppyAngularDashboardModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularDashboardModule });
|
|
72
|
+
UppyAngularDashboardModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
73
|
+
(function () {
|
|
74
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDashboardModule, [{
|
|
72
75
|
type: NgModule,
|
|
73
76
|
args: [{
|
|
74
77
|
declarations: COMPONENTS$4,
|
|
75
78
|
exports: COMPONENTS$4
|
|
76
79
|
}]
|
|
77
|
-
}]
|
|
80
|
+
}], null, null);
|
|
81
|
+
})();
|
|
82
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDashboardModule, { declarations: [DashboardComponent], exports: [DashboardComponent] }); })();
|
|
78
83
|
|
|
79
84
|
class DashboardModalComponent extends UppyAngularWrapper {
|
|
80
85
|
constructor(el) {
|
|
@@ -107,36 +112,41 @@ class DashboardModalComponent extends UppyAngularWrapper {
|
|
|
107
112
|
this.uninstall();
|
|
108
113
|
}
|
|
109
114
|
}
|
|
110
|
-
DashboardModalComponent.ɵfac =
|
|
111
|
-
DashboardModalComponent.ɵcmp = i0.ɵɵ
|
|
112
|
-
|
|
115
|
+
DashboardModalComponent.ɵfac = function DashboardModalComponent_Factory(t) { return new (t || DashboardModalComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
116
|
+
DashboardModalComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DashboardModalComponent, selectors: [["uppy-dashboard-modal"]], inputs: { uppy: "uppy", props: "props", open: "open" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function DashboardModalComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
117
|
+
(function () {
|
|
118
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardModalComponent, [{
|
|
113
119
|
type: Component,
|
|
114
120
|
args: [{
|
|
115
121
|
selector: 'uppy-dashboard-modal',
|
|
116
122
|
template: '',
|
|
117
123
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
118
124
|
}]
|
|
119
|
-
}],
|
|
125
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
120
126
|
type: Input
|
|
121
127
|
}], props: [{
|
|
122
128
|
type: Input
|
|
123
129
|
}], open: [{
|
|
124
130
|
type: Input
|
|
125
|
-
}] }
|
|
131
|
+
}] });
|
|
132
|
+
})();
|
|
126
133
|
|
|
127
134
|
const COMPONENTS$3 = [DashboardModalComponent];
|
|
128
135
|
class UppyAngularDashboardModalModule {
|
|
129
136
|
}
|
|
130
|
-
UppyAngularDashboardModalModule.ɵfac =
|
|
131
|
-
UppyAngularDashboardModalModule.ɵmod = i0.ɵɵ
|
|
132
|
-
UppyAngularDashboardModalModule.ɵinj = i0.ɵɵ
|
|
133
|
-
|
|
137
|
+
UppyAngularDashboardModalModule.ɵfac = function UppyAngularDashboardModalModule_Factory(t) { return new (t || UppyAngularDashboardModalModule)(); };
|
|
138
|
+
UppyAngularDashboardModalModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularDashboardModalModule });
|
|
139
|
+
UppyAngularDashboardModalModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
140
|
+
(function () {
|
|
141
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDashboardModalModule, [{
|
|
134
142
|
type: NgModule,
|
|
135
143
|
args: [{
|
|
136
144
|
declarations: COMPONENTS$3,
|
|
137
145
|
exports: COMPONENTS$3
|
|
138
146
|
}]
|
|
139
|
-
}]
|
|
147
|
+
}], null, null);
|
|
148
|
+
})();
|
|
149
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDashboardModalModule, { declarations: [DashboardModalComponent], exports: [DashboardModalComponent] }); })();
|
|
140
150
|
|
|
141
151
|
class ProgressBarComponent extends UppyAngularWrapper {
|
|
142
152
|
constructor(el) {
|
|
@@ -155,34 +165,39 @@ class ProgressBarComponent extends UppyAngularWrapper {
|
|
|
155
165
|
this.uninstall();
|
|
156
166
|
}
|
|
157
167
|
}
|
|
158
|
-
ProgressBarComponent.ɵfac =
|
|
159
|
-
ProgressBarComponent.ɵcmp = i0.ɵɵ
|
|
160
|
-
|
|
168
|
+
ProgressBarComponent.ɵfac = function ProgressBarComponent_Factory(t) { return new (t || ProgressBarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
169
|
+
ProgressBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProgressBarComponent, selectors: [["uppy-progress-bar"]], inputs: { uppy: "uppy", props: "props" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function ProgressBarComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
170
|
+
(function () {
|
|
171
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressBarComponent, [{
|
|
161
172
|
type: Component,
|
|
162
173
|
args: [{
|
|
163
174
|
selector: 'uppy-progress-bar',
|
|
164
175
|
template: '',
|
|
165
176
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
166
177
|
}]
|
|
167
|
-
}],
|
|
178
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
168
179
|
type: Input
|
|
169
180
|
}], props: [{
|
|
170
181
|
type: Input
|
|
171
|
-
}] }
|
|
182
|
+
}] });
|
|
183
|
+
})();
|
|
172
184
|
|
|
173
185
|
const COMPONENTS$2 = [ProgressBarComponent];
|
|
174
186
|
class UppyAngularProgressBarModule {
|
|
175
187
|
}
|
|
176
|
-
UppyAngularProgressBarModule.ɵfac =
|
|
177
|
-
UppyAngularProgressBarModule.ɵmod = i0.ɵɵ
|
|
178
|
-
UppyAngularProgressBarModule.ɵinj = i0.ɵɵ
|
|
179
|
-
|
|
188
|
+
UppyAngularProgressBarModule.ɵfac = function UppyAngularProgressBarModule_Factory(t) { return new (t || UppyAngularProgressBarModule)(); };
|
|
189
|
+
UppyAngularProgressBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularProgressBarModule });
|
|
190
|
+
UppyAngularProgressBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
191
|
+
(function () {
|
|
192
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularProgressBarModule, [{
|
|
180
193
|
type: NgModule,
|
|
181
194
|
args: [{
|
|
182
195
|
declarations: COMPONENTS$2,
|
|
183
196
|
exports: COMPONENTS$2
|
|
184
197
|
}]
|
|
185
|
-
}]
|
|
198
|
+
}], null, null);
|
|
199
|
+
})();
|
|
200
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularProgressBarModule, { declarations: [ProgressBarComponent], exports: [ProgressBarComponent] }); })();
|
|
186
201
|
|
|
187
202
|
class StatusBarComponent extends UppyAngularWrapper {
|
|
188
203
|
constructor(el) {
|
|
@@ -201,34 +216,39 @@ class StatusBarComponent extends UppyAngularWrapper {
|
|
|
201
216
|
this.uninstall();
|
|
202
217
|
}
|
|
203
218
|
}
|
|
204
|
-
StatusBarComponent.ɵfac =
|
|
205
|
-
StatusBarComponent.ɵcmp = i0.ɵɵ
|
|
206
|
-
|
|
219
|
+
StatusBarComponent.ɵfac = function StatusBarComponent_Factory(t) { return new (t || StatusBarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
220
|
+
StatusBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StatusBarComponent, selectors: [["uppy-status-bar"]], inputs: { uppy: "uppy", props: "props" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function StatusBarComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
221
|
+
(function () {
|
|
222
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusBarComponent, [{
|
|
207
223
|
type: Component,
|
|
208
224
|
args: [{
|
|
209
225
|
selector: 'uppy-status-bar',
|
|
210
226
|
template: '',
|
|
211
227
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
212
228
|
}]
|
|
213
|
-
}],
|
|
229
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
214
230
|
type: Input
|
|
215
231
|
}], props: [{
|
|
216
232
|
type: Input
|
|
217
|
-
}] }
|
|
233
|
+
}] });
|
|
234
|
+
})();
|
|
218
235
|
|
|
219
236
|
const COMPONENTS$1 = [StatusBarComponent];
|
|
220
237
|
class UppyAngularStatusBarModule {
|
|
221
238
|
}
|
|
222
|
-
UppyAngularStatusBarModule.ɵfac =
|
|
223
|
-
UppyAngularStatusBarModule.ɵmod = i0.ɵɵ
|
|
224
|
-
UppyAngularStatusBarModule.ɵinj = i0.ɵɵ
|
|
225
|
-
|
|
239
|
+
UppyAngularStatusBarModule.ɵfac = function UppyAngularStatusBarModule_Factory(t) { return new (t || UppyAngularStatusBarModule)(); };
|
|
240
|
+
UppyAngularStatusBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularStatusBarModule });
|
|
241
|
+
UppyAngularStatusBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
242
|
+
(function () {
|
|
243
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularStatusBarModule, [{
|
|
226
244
|
type: NgModule,
|
|
227
245
|
args: [{
|
|
228
246
|
declarations: COMPONENTS$1,
|
|
229
247
|
exports: COMPONENTS$1
|
|
230
248
|
}]
|
|
231
|
-
}]
|
|
249
|
+
}], null, null);
|
|
250
|
+
})();
|
|
251
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularStatusBarModule, { declarations: [StatusBarComponent], exports: [StatusBarComponent] }); })();
|
|
232
252
|
|
|
233
253
|
class DragDropComponent extends UppyAngularWrapper {
|
|
234
254
|
constructor(el) {
|
|
@@ -247,34 +267,39 @@ class DragDropComponent extends UppyAngularWrapper {
|
|
|
247
267
|
this.uninstall();
|
|
248
268
|
}
|
|
249
269
|
}
|
|
250
|
-
DragDropComponent.ɵfac =
|
|
251
|
-
DragDropComponent.ɵcmp = i0.ɵɵ
|
|
252
|
-
|
|
270
|
+
DragDropComponent.ɵfac = function DragDropComponent_Factory(t) { return new (t || DragDropComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
271
|
+
DragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DragDropComponent, selectors: [["uppy-drag-drop"]], inputs: { uppy: "uppy", props: "props" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function DragDropComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
|
|
272
|
+
(function () {
|
|
273
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DragDropComponent, [{
|
|
253
274
|
type: Component,
|
|
254
275
|
args: [{
|
|
255
276
|
selector: 'uppy-drag-drop',
|
|
256
277
|
template: '',
|
|
257
278
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
258
279
|
}]
|
|
259
|
-
}],
|
|
280
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
260
281
|
type: Input
|
|
261
282
|
}], props: [{
|
|
262
283
|
type: Input
|
|
263
|
-
}] }
|
|
284
|
+
}] });
|
|
285
|
+
})();
|
|
264
286
|
|
|
265
287
|
const COMPONENTS = [DragDropComponent];
|
|
266
288
|
class UppyAngularDragDropModule {
|
|
267
289
|
}
|
|
268
|
-
UppyAngularDragDropModule.ɵfac =
|
|
269
|
-
UppyAngularDragDropModule.ɵmod = i0.ɵɵ
|
|
270
|
-
UppyAngularDragDropModule.ɵinj = i0.ɵɵ
|
|
271
|
-
|
|
290
|
+
UppyAngularDragDropModule.ɵfac = function UppyAngularDragDropModule_Factory(t) { return new (t || UppyAngularDragDropModule)(); };
|
|
291
|
+
UppyAngularDragDropModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularDragDropModule });
|
|
292
|
+
UppyAngularDragDropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
293
|
+
(function () {
|
|
294
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDragDropModule, [{
|
|
272
295
|
type: NgModule,
|
|
273
296
|
args: [{
|
|
274
297
|
declarations: COMPONENTS,
|
|
275
298
|
exports: COMPONENTS
|
|
276
299
|
}]
|
|
277
|
-
}]
|
|
300
|
+
}], null, null);
|
|
301
|
+
})();
|
|
302
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDragDropModule, { declarations: [DragDropComponent], exports: [DragDropComponent] }); })();
|
|
278
303
|
|
|
279
304
|
/*
|
|
280
305
|
* Public API Surface of @uppy/angular
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uppy-angular.mjs","sources":["../../../uppy/angular/src/lib/utils/wrapper.ts","../../../uppy/angular/src/lib/components/dashboard/dashboard.component.ts","../../../uppy/angular/src/lib/components/dashboard/dashboard.module.ts","../../../uppy/angular/src/lib/components/dashboard-modal/dashboard-modal.component.ts","../../../uppy/angular/src/lib/components/dashboard-modal/dashboard-modal.module.ts","../../../uppy/angular/src/lib/components/progress-bar/progress-bar.component.ts","../../../uppy/angular/src/lib/components/progress-bar/progress-bar.module.ts","../../../uppy/angular/src/lib/components/status-bar/status-bar.component.ts","../../../uppy/angular/src/lib/components/status-bar/status-bar.module.ts","../../../uppy/angular/src/lib/components/drag-drop/drag-drop.component.ts","../../../uppy/angular/src/lib/components/drag-drop/drag-drop.module.ts","../../../uppy/angular/src/public-api.ts","../../../uppy/angular/src/uppy-angular.ts"],"sourcesContent":["import type { Uppy, UIPlugin } from '@uppy/core';\nimport type { ElementRef, SimpleChanges } from '@angular/core';\nimport type { DragDropOptions } from '@uppy/drag-drop';\nimport type { StatusBarOptions } from '@uppy/status-bar';\nimport type { ProgressBarOptions } from '@uppy/progress-bar';\n\nexport abstract class UppyAngularWrapper<PluginType extends UIPlugin = UIPlugin> {\n abstract props: DragDropOptions|StatusBarOptions|ProgressBarOptions;\n abstract el: ElementRef\n abstract uppy: Uppy;\n private options: any;\n plugin: PluginType | undefined;\n\n onMount(defaultOptions: Record<string, unknown>, plugin: new (uppy: Uppy, opts: Record<string, unknown>) => UIPlugin) {\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 = new 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 = new Uppy;\n @Input() props: DashboardOptions = {};\n @Input() open: boolean = false;\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 = new 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 = new 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 = new 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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AW;QACT,IAAI,CAAC,SAAS,EAAE,CAAC;KAClB;;8GAlBU,iBAAiB;kGAAjB,iBAAiB,4IAHlB,EAAE;2FAGD,iBAAiB;kBAL7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,QAAQ,EAAE,EAAE;oBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;iGAEU,IAAI;sBAAZ,KAAK;gBACG,KAAK;sBAAb,KAAK;;;ACVD,MAAM,UAAU,GAAG,CAAC,iBAAiB,CAAC,CAAC;MAKjC,yBAAyB;;sHAAzB,yBAAyB;uHAAzB,yBAAyB,iBALX,iBAAiB,aAAjB,iBAAiB;uHAK/B,yBAAyB;2FAAzB,yBAAyB;kBAJrC,QAAQ;mBAAC;oBACR,YAAY,EAAE,UAAU;oBACxB,OAAO,EAAE,UAAU;iBACpB;;;ACPD;;;;ACAA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"uppy-angular.mjs","sources":["../../../uppy/angular/src/lib/utils/wrapper.ts","../../../uppy/angular/src/lib/components/dashboard/dashboard.component.ts","../../../uppy/angular/src/lib/components/dashboard/dashboard.module.ts","../../../uppy/angular/src/lib/components/dashboard-modal/dashboard-modal.component.ts","../../../uppy/angular/src/lib/components/dashboard-modal/dashboard-modal.module.ts","../../../uppy/angular/src/lib/components/progress-bar/progress-bar.component.ts","../../../uppy/angular/src/lib/components/progress-bar/progress-bar.module.ts","../../../uppy/angular/src/lib/components/status-bar/status-bar.component.ts","../../../uppy/angular/src/lib/components/status-bar/status-bar.module.ts","../../../uppy/angular/src/lib/components/drag-drop/drag-drop.component.ts","../../../uppy/angular/src/lib/components/drag-drop/drag-drop.module.ts","../../../uppy/angular/src/public-api.ts","../../../uppy/angular/src/uppy-angular.ts"],"sourcesContent":["import type { Uppy, UIPlugin } from '@uppy/core';\nimport type { ElementRef, SimpleChanges } from '@angular/core';\nimport type { DragDropOptions } from '@uppy/drag-drop';\nimport type { StatusBarOptions } from '@uppy/status-bar';\nimport type { ProgressBarOptions } from '@uppy/progress-bar';\n\nexport abstract class UppyAngularWrapper<PluginType extends UIPlugin = UIPlugin> {\n abstract props: DragDropOptions|StatusBarOptions|ProgressBarOptions;\n abstract el: ElementRef\n abstract uppy: Uppy;\n private options: any;\n plugin: PluginType | undefined;\n\n onMount(defaultOptions: Record<string, unknown>, plugin: new (uppy: Uppy, opts: Record<string, unknown>) => UIPlugin) {\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 = new 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 = new Uppy;\n @Input() props: DashboardOptions = {};\n @Input() open: boolean = false;\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 = new 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 = new 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 = new 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.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