@uppy/angular 0.5.2 → 0.6.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/.eslintrc.json +3 -9
- package/esm2022/lib/components/dashboard/dashboard.component.mjs +37 -0
- package/esm2022/lib/components/dashboard/dashboard.module.mjs +17 -0
- package/esm2022/lib/components/dashboard-modal/dashboard-modal.component.mjs +53 -0
- package/esm2022/lib/components/dashboard-modal/dashboard-modal.module.mjs +17 -0
- package/esm2022/lib/components/drag-drop/drag-drop.component.mjs +37 -0
- package/esm2022/lib/components/drag-drop/drag-drop.module.mjs +17 -0
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +37 -0
- package/esm2022/lib/components/progress-bar/progress-bar.module.mjs +17 -0
- package/esm2022/lib/components/status-bar/status-bar.component.mjs +37 -0
- package/esm2022/lib/components/status-bar/status-bar.module.mjs +17 -0
- package/esm2022/lib/utils/wrapper.mjs +26 -0
- package/esm2022/public-api.mjs +14 -0
- package/esm2022/uppy-angular.mjs +5 -0
- package/fesm2022/uppy-angular.mjs +290 -0
- package/fesm2022/uppy-angular.mjs.map +1 -0
- 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 +16 -25
- package/esm2020/lib/components/dashboard/dashboard.component.mjs +0 -37
- package/esm2020/lib/components/dashboard/dashboard.module.mjs +0 -18
- package/esm2020/lib/components/dashboard-modal/dashboard-modal.component.mjs +0 -53
- package/esm2020/lib/components/dashboard-modal/dashboard-modal.module.mjs +0 -18
- package/esm2020/lib/components/drag-drop/drag-drop.component.mjs +0 -37
- package/esm2020/lib/components/drag-drop/drag-drop.module.mjs +0 -18
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +0 -37
- package/esm2020/lib/components/progress-bar/progress-bar.module.mjs +0 -18
- package/esm2020/lib/components/status-bar/status-bar.component.mjs +0 -37
- package/esm2020/lib/components/status-bar/status-bar.module.mjs +0 -18
- package/esm2020/lib/utils/wrapper.mjs +0 -26
- package/esm2020/public-api.mjs +0 -14
- package/esm2020/uppy-angular.mjs +0 -5
- package/fesm2015/uppy-angular.mjs +0 -312
- package/fesm2015/uppy-angular.mjs.map +0 -1
- package/fesm2020/uppy-angular.mjs +0 -295
- package/fesm2020/uppy-angular.mjs.map +0 -1
- /package/{uppy-angular.d.ts → index.d.ts} +0 -0
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import Dashboard from '@uppy/dashboard';
|
|
4
|
-
import { Uppy } from '@uppy/core';
|
|
5
|
-
import ProgressBar from '@uppy/progress-bar';
|
|
6
|
-
import StatusBar from '@uppy/status-bar';
|
|
7
|
-
import DragDrop from '@uppy/drag-drop';
|
|
8
|
-
|
|
9
|
-
class UppyAngularWrapper {
|
|
10
|
-
onMount(defaultOptions, plugin) {
|
|
11
|
-
this.options = {
|
|
12
|
-
...defaultOptions,
|
|
13
|
-
...this.props,
|
|
14
|
-
};
|
|
15
|
-
this.uppy.use(plugin, this.options);
|
|
16
|
-
this.plugin = this.uppy.getPlugin(this.options.id);
|
|
17
|
-
}
|
|
18
|
-
handleChanges(changes, plugin) {
|
|
19
|
-
// Without the last part of this conditional, it tries to uninstall before the plugin is mounted
|
|
20
|
-
if (changes['uppy'] && this.uppy !== changes['uppy'].previousValue && changes['uppy'].previousValue !== undefined) {
|
|
21
|
-
this.uninstall(changes['uppy'].previousValue);
|
|
22
|
-
this.uppy.use(plugin, this.options);
|
|
23
|
-
}
|
|
24
|
-
this.options = { ...this.options, ...this.props };
|
|
25
|
-
this.plugin = this.uppy.getPlugin(this.options.id);
|
|
26
|
-
if (changes['props'] && this.props !== changes['props'].previousValue && changes['props'].previousValue !== undefined) {
|
|
27
|
-
this.plugin.setOptions({ ...this.options });
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
uninstall(uppy = this.uppy) {
|
|
31
|
-
uppy.removePlugin(this.plugin);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
class DashboardComponent extends UppyAngularWrapper {
|
|
36
|
-
constructor(el) {
|
|
37
|
-
super();
|
|
38
|
-
this.el = el;
|
|
39
|
-
this.uppy = new Uppy;
|
|
40
|
-
this.props = {};
|
|
41
|
-
}
|
|
42
|
-
ngOnInit() {
|
|
43
|
-
this.onMount({ id: 'angular:Dashboard', inline: true, target: this.el.nativeElement }, Dashboard);
|
|
44
|
-
}
|
|
45
|
-
ngOnChanges(changes) {
|
|
46
|
-
this.handleChanges(changes, Dashboard);
|
|
47
|
-
}
|
|
48
|
-
ngOnDestroy() {
|
|
49
|
-
this.uninstall();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
DashboardComponent.ɵfac = function DashboardComponent_Factory(t) { return new (t || DashboardComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
53
|
-
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 });
|
|
54
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardComponent, [{
|
|
55
|
-
type: Component,
|
|
56
|
-
args: [{
|
|
57
|
-
selector: 'uppy-dashboard',
|
|
58
|
-
template: '',
|
|
59
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
60
|
-
}]
|
|
61
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], props: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}] }); })();
|
|
66
|
-
|
|
67
|
-
const COMPONENTS$4 = [DashboardComponent];
|
|
68
|
-
class UppyAngularDashboardModule {
|
|
69
|
-
}
|
|
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 () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDashboardModule, [{
|
|
74
|
-
type: NgModule,
|
|
75
|
-
args: [{
|
|
76
|
-
declarations: COMPONENTS$4,
|
|
77
|
-
exports: COMPONENTS$4
|
|
78
|
-
}]
|
|
79
|
-
}], null, null); })();
|
|
80
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDashboardModule, { declarations: [DashboardComponent], exports: [DashboardComponent] }); })();
|
|
81
|
-
|
|
82
|
-
class DashboardModalComponent extends UppyAngularWrapper {
|
|
83
|
-
constructor(el) {
|
|
84
|
-
super();
|
|
85
|
-
this.el = el;
|
|
86
|
-
this.uppy = new Uppy;
|
|
87
|
-
this.props = {};
|
|
88
|
-
this.open = false;
|
|
89
|
-
}
|
|
90
|
-
ngOnInit() {
|
|
91
|
-
this.onMount({
|
|
92
|
-
id: 'angular:DashboardModal',
|
|
93
|
-
inline: false,
|
|
94
|
-
target: this.el.nativeElement
|
|
95
|
-
}, Dashboard);
|
|
96
|
-
}
|
|
97
|
-
ngOnChanges(changes) {
|
|
98
|
-
this.handleChanges(changes, Dashboard);
|
|
99
|
-
// Handle dashboard-modal specific changes
|
|
100
|
-
if (changes['open'] && this.open !== changes['open'].previousValue) {
|
|
101
|
-
if (this.open && !changes['open'].previousValue) {
|
|
102
|
-
this.plugin.openModal();
|
|
103
|
-
}
|
|
104
|
-
if (!this.open && changes['open'].previousValue) {
|
|
105
|
-
this.plugin.closeModal();
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
ngOnDestroy() {
|
|
110
|
-
this.uninstall();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
DashboardModalComponent.ɵfac = function DashboardModalComponent_Factory(t) { return new (t || DashboardModalComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
114
|
-
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 });
|
|
115
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashboardModalComponent, [{
|
|
116
|
-
type: Component,
|
|
117
|
-
args: [{
|
|
118
|
-
selector: 'uppy-dashboard-modal',
|
|
119
|
-
template: '',
|
|
120
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
121
|
-
}]
|
|
122
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], props: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], open: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}] }); })();
|
|
129
|
-
|
|
130
|
-
const COMPONENTS$3 = [DashboardModalComponent];
|
|
131
|
-
class UppyAngularDashboardModalModule {
|
|
132
|
-
}
|
|
133
|
-
UppyAngularDashboardModalModule.ɵfac = function UppyAngularDashboardModalModule_Factory(t) { return new (t || UppyAngularDashboardModalModule)(); };
|
|
134
|
-
UppyAngularDashboardModalModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularDashboardModalModule });
|
|
135
|
-
UppyAngularDashboardModalModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
136
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDashboardModalModule, [{
|
|
137
|
-
type: NgModule,
|
|
138
|
-
args: [{
|
|
139
|
-
declarations: COMPONENTS$3,
|
|
140
|
-
exports: COMPONENTS$3
|
|
141
|
-
}]
|
|
142
|
-
}], null, null); })();
|
|
143
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDashboardModalModule, { declarations: [DashboardModalComponent], exports: [DashboardModalComponent] }); })();
|
|
144
|
-
|
|
145
|
-
class ProgressBarComponent extends UppyAngularWrapper {
|
|
146
|
-
constructor(el) {
|
|
147
|
-
super();
|
|
148
|
-
this.el = el;
|
|
149
|
-
this.uppy = new Uppy;
|
|
150
|
-
this.props = {};
|
|
151
|
-
}
|
|
152
|
-
ngOnInit() {
|
|
153
|
-
this.onMount({ id: 'angular:ProgressBar', target: this.el.nativeElement }, ProgressBar);
|
|
154
|
-
}
|
|
155
|
-
ngOnChanges(changes) {
|
|
156
|
-
this.handleChanges(changes, ProgressBar);
|
|
157
|
-
}
|
|
158
|
-
ngOnDestroy() {
|
|
159
|
-
this.uninstall();
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
ProgressBarComponent.ɵfac = function ProgressBarComponent_Factory(t) { return new (t || ProgressBarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
163
|
-
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 });
|
|
164
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProgressBarComponent, [{
|
|
165
|
-
type: Component,
|
|
166
|
-
args: [{
|
|
167
|
-
selector: 'uppy-progress-bar',
|
|
168
|
-
template: '',
|
|
169
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
170
|
-
}]
|
|
171
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], props: [{
|
|
174
|
-
type: Input
|
|
175
|
-
}] }); })();
|
|
176
|
-
|
|
177
|
-
const COMPONENTS$2 = [ProgressBarComponent];
|
|
178
|
-
class UppyAngularProgressBarModule {
|
|
179
|
-
}
|
|
180
|
-
UppyAngularProgressBarModule.ɵfac = function UppyAngularProgressBarModule_Factory(t) { return new (t || UppyAngularProgressBarModule)(); };
|
|
181
|
-
UppyAngularProgressBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularProgressBarModule });
|
|
182
|
-
UppyAngularProgressBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
183
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularProgressBarModule, [{
|
|
184
|
-
type: NgModule,
|
|
185
|
-
args: [{
|
|
186
|
-
declarations: COMPONENTS$2,
|
|
187
|
-
exports: COMPONENTS$2
|
|
188
|
-
}]
|
|
189
|
-
}], null, null); })();
|
|
190
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularProgressBarModule, { declarations: [ProgressBarComponent], exports: [ProgressBarComponent] }); })();
|
|
191
|
-
|
|
192
|
-
class StatusBarComponent extends UppyAngularWrapper {
|
|
193
|
-
constructor(el) {
|
|
194
|
-
super();
|
|
195
|
-
this.el = el;
|
|
196
|
-
this.uppy = new Uppy;
|
|
197
|
-
this.props = {};
|
|
198
|
-
}
|
|
199
|
-
ngOnInit() {
|
|
200
|
-
this.onMount({ id: 'angular:StatusBar', target: this.el.nativeElement }, StatusBar);
|
|
201
|
-
}
|
|
202
|
-
ngOnChanges(changes) {
|
|
203
|
-
this.handleChanges(changes, StatusBar);
|
|
204
|
-
}
|
|
205
|
-
ngOnDestroy() {
|
|
206
|
-
this.uninstall();
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
StatusBarComponent.ɵfac = function StatusBarComponent_Factory(t) { return new (t || StatusBarComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
210
|
-
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 });
|
|
211
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusBarComponent, [{
|
|
212
|
-
type: Component,
|
|
213
|
-
args: [{
|
|
214
|
-
selector: 'uppy-status-bar',
|
|
215
|
-
template: '',
|
|
216
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
217
|
-
}]
|
|
218
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
219
|
-
type: Input
|
|
220
|
-
}], props: [{
|
|
221
|
-
type: Input
|
|
222
|
-
}] }); })();
|
|
223
|
-
|
|
224
|
-
const COMPONENTS$1 = [StatusBarComponent];
|
|
225
|
-
class UppyAngularStatusBarModule {
|
|
226
|
-
}
|
|
227
|
-
UppyAngularStatusBarModule.ɵfac = function UppyAngularStatusBarModule_Factory(t) { return new (t || UppyAngularStatusBarModule)(); };
|
|
228
|
-
UppyAngularStatusBarModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularStatusBarModule });
|
|
229
|
-
UppyAngularStatusBarModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
230
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularStatusBarModule, [{
|
|
231
|
-
type: NgModule,
|
|
232
|
-
args: [{
|
|
233
|
-
declarations: COMPONENTS$1,
|
|
234
|
-
exports: COMPONENTS$1
|
|
235
|
-
}]
|
|
236
|
-
}], null, null); })();
|
|
237
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularStatusBarModule, { declarations: [StatusBarComponent], exports: [StatusBarComponent] }); })();
|
|
238
|
-
|
|
239
|
-
class DragDropComponent extends UppyAngularWrapper {
|
|
240
|
-
constructor(el) {
|
|
241
|
-
super();
|
|
242
|
-
this.el = el;
|
|
243
|
-
this.uppy = new Uppy;
|
|
244
|
-
this.props = {};
|
|
245
|
-
}
|
|
246
|
-
ngOnInit() {
|
|
247
|
-
this.onMount({ id: 'angular:DragDrop', target: this.el.nativeElement }, DragDrop);
|
|
248
|
-
}
|
|
249
|
-
ngOnChanges(changes) {
|
|
250
|
-
this.handleChanges(changes, DragDrop);
|
|
251
|
-
}
|
|
252
|
-
ngOnDestroy() {
|
|
253
|
-
this.uninstall();
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
DragDropComponent.ɵfac = function DragDropComponent_Factory(t) { return new (t || DragDropComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
257
|
-
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 });
|
|
258
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DragDropComponent, [{
|
|
259
|
-
type: Component,
|
|
260
|
-
args: [{
|
|
261
|
-
selector: 'uppy-drag-drop',
|
|
262
|
-
template: '',
|
|
263
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
264
|
-
}]
|
|
265
|
-
}], function () { return [{ type: i0.ElementRef }]; }, { uppy: [{
|
|
266
|
-
type: Input
|
|
267
|
-
}], props: [{
|
|
268
|
-
type: Input
|
|
269
|
-
}] }); })();
|
|
270
|
-
|
|
271
|
-
const COMPONENTS = [DragDropComponent];
|
|
272
|
-
class UppyAngularDragDropModule {
|
|
273
|
-
}
|
|
274
|
-
UppyAngularDragDropModule.ɵfac = function UppyAngularDragDropModule_Factory(t) { return new (t || UppyAngularDragDropModule)(); };
|
|
275
|
-
UppyAngularDragDropModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UppyAngularDragDropModule });
|
|
276
|
-
UppyAngularDragDropModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
277
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UppyAngularDragDropModule, [{
|
|
278
|
-
type: NgModule,
|
|
279
|
-
args: [{
|
|
280
|
-
declarations: COMPONENTS,
|
|
281
|
-
exports: COMPONENTS
|
|
282
|
-
}]
|
|
283
|
-
}], null, null); })();
|
|
284
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UppyAngularDragDropModule, { declarations: [DragDropComponent], exports: [DragDropComponent] }); })();
|
|
285
|
-
|
|
286
|
-
/*
|
|
287
|
-
* Public API Surface of @uppy/angular
|
|
288
|
-
*/
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Generated bundle index. Do not edit.
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
export { DashboardComponent, DashboardModalComponent, DragDropComponent, ProgressBarComponent, StatusBarComponent, UppyAngularDashboardModalModule, UppyAngularDashboardModule, UppyAngularDragDropModule, UppyAngularProgressBarModule, UppyAngularStatusBarModule };
|
|
295
|
-
//# sourceMappingURL=uppy-angular.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 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'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["COMPONENTS"],"mappings":";;;;;;;;MAMsB,kBAAkB,CAAA;IAOpC,OAAO,CAAC,cAAuC,EAAE,MAAoE,EAAA;QACnH,IAAI,CAAC,OAAO,GAAG;AACb,YAAA,GAAG,cAAc;YACjB,GAAG,IAAI,CAAC,KAAK;SACd,CAAC;QAEF,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;AACpC,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAe,CAAC;KAClE;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