@dbg-riskit/angular-file 18.0.0 → 20.0.0

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 (36) hide show
  1. package/docs/README.md +5 -6
  2. package/fesm2022/dbg-riskit-angular-file.mjs +124 -157
  3. package/fesm2022/dbg-riskit-angular-file.mjs.map +1 -1
  4. package/index.d.ts +175 -5
  5. package/package.json +11 -14
  6. package/esm2022/dbg-riskit-angular-file.mjs +0 -5
  7. package/esm2022/lib/abstract.file.download.directive.mjs +0 -139
  8. package/esm2022/lib/abstract.file.upload.component.mjs +0 -100
  9. package/esm2022/lib/binary.file.upload.component.mjs +0 -25
  10. package/esm2022/lib/binary.file.upload.service.mjs +0 -41
  11. package/esm2022/lib/csv.file.download.directive.mjs +0 -83
  12. package/esm2022/lib/csv.file.upload.component.mjs +0 -47
  13. package/esm2022/lib/csv.file.upload.service.mjs +0 -109
  14. package/esm2022/lib/download.menu.component.mjs +0 -34
  15. package/esm2022/lib/file.download.directive.mjs +0 -53
  16. package/esm2022/lib/file.module.mjs +0 -76
  17. package/esm2022/lib/file.size.pipe.mjs +0 -34
  18. package/esm2022/lib/file.types.mjs +0 -2
  19. package/esm2022/lib/text.file.upload.component.mjs +0 -26
  20. package/esm2022/lib/text.file.upload.service.mjs +0 -41
  21. package/esm2022/public_api.mjs +0 -15
  22. package/lib/abstract.file.download.directive.d.ts +0 -29
  23. package/lib/abstract.file.upload.component.d.ts +0 -32
  24. package/lib/binary.file.upload.component.d.ts +0 -13
  25. package/lib/binary.file.upload.service.d.ts +0 -8
  26. package/lib/csv.file.download.directive.d.ts +0 -22
  27. package/lib/csv.file.upload.component.d.ts +0 -15
  28. package/lib/csv.file.upload.service.d.ts +0 -9
  29. package/lib/download.menu.component.d.ts +0 -13
  30. package/lib/file.download.directive.d.ts +0 -17
  31. package/lib/file.module.d.ts +0 -16
  32. package/lib/file.size.pipe.d.ts +0 -13
  33. package/lib/file.types.d.ts +0 -32
  34. package/lib/text.file.upload.component.d.ts +0 -13
  35. package/lib/text.file.upload.service.d.ts +0 -8
  36. package/public_api.d.ts +0 -14
package/docs/README.md CHANGED
@@ -1,13 +1,12 @@
1
- ![CI](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/CI/badge.svg?event=push)
2
- ![lint-bash](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-bash/badge.svg?event=push)
3
- ![lint-docker](https://github.deutsche-boerse.de/dev/risk-angular-common/workflows/lint-docker/badge.svg?event=push)
1
+ ![CI](https://github.deutsche-boerse.de/RiskIT/risk-angular-common/workflows/CI/badge.svg?event=push)
2
+ ![lint-bash](https://github.deutsche-boerse.de/RiskIT/risk-angular-common/workflows/lint-bash/badge.svg?event=push)
3
+ ![lint-docker](https://github.deutsche-boerse.de/RiskIT/risk-angular-common/workflows/lint-docker/badge.svg?event=push)
4
4
 
5
5
  # risk-angular-common (Angular 13 and @angular/material based library for RiskIT applications)
6
6
 
7
7
  Used by:
8
- - [dev/DAVe-UI](https://github.deutsche-boerse.de/dev/DAVe-UI)
9
- - [dev/DAVe-MarginEstimator-UI](https://github.deutsche-boerse.de/dev/DAVe-MarginEstimator-UI)
10
- - [dev/MDH-UI](https://github.deutsche-boerse.de/dev/MDH-UI)
8
+ - [RiskIT/CPME-UI](https://github.deutsche-boerse.de/RiskIT/CPME-UI)
9
+ - [RiskIT/MDH-UI](https://github.deutsche-boerse.de/RiskIT/MDH-UI)
11
10
  - [RiskIT/openid-k8s-token-generator](https://github.deutsche-boerse.de/RiskIT/openid-k8s-token-generator)
12
11
 
13
12
  ## Packages
@@ -1,26 +1,34 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Pipe, Directive, Input, EventEmitter, ElementRef, Output, ViewChild, Injectable, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@dbg-riskit/angular-view';
4
- import { BaseComponent, CommonViewModule } from '@dbg-riskit/angular-view';
5
- import * as i3 from '@dbg-riskit/common';
6
- import { isEventObject, ObservableEventType, toString, ErrorType, base64encode, CONTENT_TYPE } from '@dbg-riskit/common';
7
- import { saveAs } from 'file-saver';
2
+ import { inject, LOCALE_ID, Pipe, ElementRef, Input, Directive, Renderer2, EventEmitter, ViewChild, Output, Injectable, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { BaseComponent, DialogService, DateFormatter } from '@dbg-riskit/angular-view';
4
+ import { Logger, isEventObject, ObservableEventType, ErrorType, toString, base64encode, CONTENT_TYPE } from '@dbg-riskit/common';
5
+ import 'file-saver';
8
6
  import { Observable, of, Subject, EMPTY, forkJoin, throwError } from 'rxjs';
9
7
  import { takeUntil, take, map, tap, filter, catchError, finalize, first, switchMap } from 'rxjs/operators';
10
- import * as i2 from '@angular/common';
11
- import { CommonModule } from '@angular/common';
12
- import * as i3$1 from '@angular/material/button';
13
- import { MatAnchor } from '@angular/material/button';
14
- import * as i4 from '@angular/material/icon';
15
- import * as i3$2 from '@angular/material/menu';
16
- import * as i4$1 from '@angular/material/tooltip';
17
- import { LoggingModule } from '@dbg-riskit/angular-logging';
8
+ import { DecimalPipe } from '@angular/common';
9
+ import { MatAnchor, MatButton } from '@angular/material/button';
10
+ import { MatIcon } from '@angular/material/icon';
11
+ import { MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
12
+ import { MatTooltip } from '@angular/material/tooltip';
18
13
 
14
+ // Copyright 2017 The Kubernetes Authors.
15
+ //
16
+ // Licensed under the Apache License, Version 2.0 (the "License");
17
+ // you may not use this file except in compliance with the License.
18
+ // You may obtain a copy of the License at
19
+ //
20
+ // http://www.apache.org/licenses/LICENSE-2.0
21
+ //
22
+ // Unless required by applicable law or agreed to in writing, software
23
+ // distributed under the License is distributed on an "AS IS" BASIS,
24
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
+ // See the License for the specific language governing permissions and
26
+ // limitations under the License.
19
27
  class FileSizePipe {
20
- constructor(decimalPipe) {
21
- this.decimalPipe = decimalPipe;
28
+ constructor() {
22
29
  this.base = 1024;
23
30
  this.powerSuffixes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB'];
31
+ this.decimalPipe = new DecimalPipe(inject(LOCALE_ID));
24
32
  }
25
33
  transform(value) {
26
34
  if (value == null) {
@@ -39,21 +47,23 @@ class FileSizePipe {
39
47
  const suffix = this.powerSuffixes[power];
40
48
  return suffix ? `${formatted}${suffix}` : formatted;
41
49
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileSizePipe, deps: [{ token: i2.DecimalPipe }], target: i0.ɵɵFactoryTarget.Pipe }); }
43
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FileSizePipe, name: "riskFileSize" }); }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: FileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
51
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.12", ngImport: i0, type: FileSizePipe, isStandalone: true, name: "riskFileSize" }); }
44
52
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileSizePipe, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: FileSizePipe, decorators: [{
46
54
  type: Pipe,
47
- args: [{ name: 'riskFileSize' }]
48
- }], ctorParameters: () => [{ type: i2.DecimalPipe }] });
55
+ args: [{
56
+ name: 'riskFileSize'
57
+ }]
58
+ }] });
49
59
 
50
60
  class AbstractFileDownloadDirective extends BaseComponent {
51
- constructor(elementRef, dialogService, fileSizePipe, logger) {
52
- super();
53
- this.elementRef = elementRef;
54
- this.dialogService = dialogService;
55
- this.fileSizePipe = fileSizePipe;
56
- this.logger = logger;
61
+ constructor() {
62
+ super(...arguments);
63
+ this.elementRef = inject(ElementRef);
64
+ this.dialogService = inject(DialogService);
65
+ this.fileSizePipe = inject(FileSizePipe);
66
+ this.logger = inject(Logger);
57
67
  }
58
68
  isDisabled() {
59
69
  if (this.elementRef.nativeElement.disabled === true) {
@@ -82,7 +92,7 @@ class AbstractFileDownloadDirective extends BaseComponent {
82
92
  }
83
93
  store(file) {
84
94
  setTimeout(() => {
85
- saveAs(file.content, file.filename || 'data.txt');
95
+ window.saveAs(file.content, file.filename || 'data.txt');
86
96
  });
87
97
  }
88
98
  getDataObservable(data) {
@@ -167,19 +177,19 @@ class AbstractFileDownloadDirective extends BaseComponent {
167
177
  createBlob(data, contentType) {
168
178
  return new Blob(data, contentType);
169
179
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractFileDownloadDirective, deps: [{ token: i0.ElementRef }, { token: i1.DialogService }, { token: FileSizePipe }, { token: i3.Logger }], target: i0.ɵɵFactoryTarget.Directive }); }
171
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AbstractFileDownloadDirective, inputs: { disabled: "disabled" }, usesInheritance: true, ngImport: i0 }); }
180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AbstractFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
181
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: AbstractFileDownloadDirective, isStandalone: true, inputs: { disabled: "disabled" }, usesInheritance: true, ngImport: i0 }); }
172
182
  }
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractFileDownloadDirective, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AbstractFileDownloadDirective, decorators: [{
174
184
  type: Directive
175
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.DialogService }, { type: FileSizePipe }, { type: i3.Logger }], propDecorators: { disabled: [{
185
+ }], propDecorators: { disabled: [{
176
186
  type: Input
177
187
  }] } });
178
188
 
179
189
  class AbstractFileUploadComponent extends BaseComponent {
180
- constructor(renderer) {
181
- super();
182
- this.renderer = renderer;
190
+ constructor() {
191
+ super(...arguments);
192
+ this.renderer = inject(Renderer2);
183
193
  this.error = new EventEmitter(true);
184
194
  this.multiple = true;
185
195
  this.filesLoaded = new EventEmitter(true);
@@ -236,12 +246,12 @@ class AbstractFileUploadComponent extends BaseComponent {
236
246
  this.fileInputHidden = false;
237
247
  });
238
248
  }
239
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractFileUploadComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
240
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: AbstractFileUploadComponent, inputs: { label: "label", accept: "accept", multiple: "multiple", raised: "raised", color: "color", icon: "icon", disabled: "disabled" }, outputs: { error: "error", filesLoaded: "filesLoaded" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: MatAnchor, descendants: true, read: ElementRef }, { propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }, { propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], usesInheritance: true, ngImport: i0 }); }
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AbstractFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
250
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: AbstractFileUploadComponent, isStandalone: true, inputs: { label: "label", accept: "accept", multiple: "multiple", raised: "raised", color: "color", icon: "icon", disabled: "disabled" }, outputs: { error: "error", filesLoaded: "filesLoaded" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: MatAnchor, descendants: true, read: ElementRef }, { propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }, { propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], usesInheritance: true, ngImport: i0 }); }
241
251
  }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AbstractFileUploadComponent, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AbstractFileUploadComponent, decorators: [{
243
253
  type: Directive
244
- }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { error: [{
254
+ }], propDecorators: { error: [{
245
255
  type: Output
246
256
  }], label: [{
247
257
  type: Input
@@ -300,35 +310,36 @@ class BinaryFileUploadService {
300
310
  }
301
311
  return forkJoin(fileOservables);
302
312
  }
303
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BinaryFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
304
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BinaryFileUploadService }); }
313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BinaryFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
314
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BinaryFileUploadService, providedIn: 'root' }); }
305
315
  }
306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BinaryFileUploadService, decorators: [{
307
- type: Injectable
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BinaryFileUploadService, decorators: [{
317
+ type: Injectable,
318
+ args: [{ providedIn: 'root' }]
308
319
  }] });
309
320
 
310
321
  class BinaryFileUploadComponent extends AbstractFileUploadComponent {
311
- constructor(fileUploadService, renderer) {
312
- super(renderer);
313
- this.fileUploadService = fileUploadService;
322
+ constructor() {
323
+ super(...arguments);
324
+ this.fileUploadService = inject(BinaryFileUploadService);
314
325
  }
315
326
  readFiles(fileList) {
316
327
  return this.fileUploadService.readFiles(fileList);
317
328
  }
318
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BinaryFileUploadComponent, deps: [{ token: BinaryFileUploadService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
319
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: BinaryFileUploadComponent, selector: "risk-binary-file-upload", host: { properties: { "class.risk-binary-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
329
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BinaryFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
330
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: BinaryFileUploadComponent, isStandalone: true, selector: "risk-binary-file-upload", host: { properties: { "class.risk-binary-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
320
331
  }
321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BinaryFileUploadComponent, decorators: [{
332
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: BinaryFileUploadComponent, decorators: [{
322
333
  type: Component,
323
334
  args: [{ selector: 'risk-binary-file-upload', host: {
324
335
  '[class.risk-binary-file-upload]': 'true'
325
- }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
326
- }], ctorParameters: () => [{ type: BinaryFileUploadService }, { type: i0.Renderer2 }] });
336
+ }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, imports: [MatButton, MatIcon], template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
337
+ }] });
327
338
 
328
339
  class CSVFileDownloadDirective extends AbstractFileDownloadDirective {
329
- constructor(dateFormatter, elementRef, dialogService, fileSizePipe, logger) {
330
- super(elementRef, dialogService, fileSizePipe, logger);
331
- this.dateFormatter = dateFormatter;
340
+ constructor() {
341
+ super(...arguments);
342
+ this.dateFormatter = inject(DateFormatter);
332
343
  this.filename = 'data.csv';
333
344
  this.crlfLineEnding = false;
334
345
  }
@@ -375,19 +386,24 @@ class CSVFileDownloadDirective extends AbstractFileDownloadDirective {
375
386
  }
376
387
  return '\n';
377
388
  }
378
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileDownloadDirective, deps: [{ token: i1.DateFormatter }, { token: i0.ElementRef }, { token: i1.DialogService }, { token: FileSizePipe }, { token: i3.Logger }], target: i0.ɵɵFactoryTarget.Directive }); }
379
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CSVFileDownloadDirective, selector: "[risk-csv-download]", inputs: { columns: ["risk-csv-download-columns", "columns"], data: ["risk-csv-download", "data"], filename: ["risk-csv-download-filename", "filename"], crlfLineEnding: ["risk-csv-download-crlf", "crlfLineEnding"] }, host: { listeners: { "click": "download()" }, properties: { "class.risk-csv-download": "true" } }, usesInheritance: true, ngImport: i0 }); }
389
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
390
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: CSVFileDownloadDirective, isStandalone: true, selector: "[risk-csv-download]", inputs: { columns: ["risk-csv-download-columns", "columns"], data: ["risk-csv-download", "data"], filename: ["risk-csv-download-filename", "filename"], crlfLineEnding: ["risk-csv-download-crlf", "crlfLineEnding"] }, host: { listeners: { "click": "download()" }, properties: { "class.risk-csv-download": "true" } }, providers: [
391
+ FileSizePipe
392
+ ], usesInheritance: true, ngImport: i0 }); }
380
393
  }
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileDownloadDirective, decorators: [{
394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileDownloadDirective, decorators: [{
382
395
  type: Directive,
383
396
  args: [{
384
397
  selector: '[risk-csv-download]',
385
398
  host: {
386
399
  '[class.risk-csv-download]': 'true',
387
400
  '(click)': 'download()'
388
- }
401
+ },
402
+ providers: [
403
+ FileSizePipe
404
+ ]
389
405
  }]
390
- }], ctorParameters: () => [{ type: i1.DateFormatter }, { type: i0.ElementRef }, { type: i1.DialogService }, { type: FileSizePipe }, { type: i3.Logger }], propDecorators: { columns: [{
406
+ }], propDecorators: { columns: [{
391
407
  type: Input,
392
408
  args: ['risk-csv-download-columns']
393
409
  }], data: [{
@@ -499,17 +515,18 @@ class CSVFileUploadService {
499
515
  }
500
516
  };
501
517
  }
502
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
503
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileUploadService }); }
518
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
519
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileUploadService, providedIn: 'root' }); }
504
520
  }
505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileUploadService, decorators: [{
506
- type: Injectable
521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileUploadService, decorators: [{
522
+ type: Injectable,
523
+ args: [{ providedIn: 'root' }]
507
524
  }] });
508
525
 
509
526
  class CSVFileUploadComponent extends AbstractFileUploadComponent {
510
- constructor(fileUploadService, renderer) {
511
- super(renderer);
512
- this.fileUploadService = fileUploadService;
527
+ constructor() {
528
+ super(...arguments);
529
+ this.fileUploadService = inject(CSVFileUploadService);
513
530
  }
514
531
  readFiles(fileList) {
515
532
  return this.fileUploadService.readFiles(fileList, this.nameMapper).pipe(switchMap((files) => {
@@ -530,15 +547,15 @@ class CSVFileUploadComponent extends AbstractFileUploadComponent {
530
547
  }
531
548
  }));
532
549
  }
533
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileUploadComponent, deps: [{ token: CSVFileUploadService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
534
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CSVFileUploadComponent, selector: "risk-csv-file-upload", inputs: { validator: "validator", nameMapper: "nameMapper" }, host: { properties: { "class.risk-csv-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
550
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
551
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: CSVFileUploadComponent, isStandalone: true, selector: "risk-csv-file-upload", inputs: { validator: "validator", nameMapper: "nameMapper" }, host: { properties: { "class.risk-csv-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
535
552
  }
536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVFileUploadComponent, decorators: [{
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVFileUploadComponent, decorators: [{
537
554
  type: Component,
538
555
  args: [{ selector: 'risk-csv-file-upload', host: {
539
556
  '[class.risk-csv-file-upload]': 'true'
540
- }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
541
- }], ctorParameters: () => [{ type: CSVFileUploadService }, { type: i0.Renderer2 }], propDecorators: { validator: [{
557
+ }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, imports: [MatButton, MatIcon], template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
558
+ }], propDecorators: { validator: [{
542
559
  type: Input
543
560
  }], nameMapper: [{
544
561
  type: Input
@@ -574,45 +591,54 @@ class TextFileUploadService {
574
591
  }
575
592
  return forkJoin(fileOservables);
576
593
  }
577
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
578
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextFileUploadService }); }
594
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TextFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
595
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TextFileUploadService, providedIn: 'root' }); }
579
596
  }
580
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextFileUploadService, decorators: [{
581
- type: Injectable
597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TextFileUploadService, decorators: [{
598
+ type: Injectable,
599
+ args: [{ providedIn: 'root' }]
582
600
  }] });
583
601
 
584
602
  class TextFileUploadComponent extends AbstractFileUploadComponent {
585
- constructor(fileUploadService, renderer) {
586
- super(renderer);
587
- this.fileUploadService = fileUploadService;
603
+ constructor() {
604
+ super(...arguments);
605
+ this.fileUploadService = inject(TextFileUploadService);
588
606
  }
589
607
  readFiles(fileList) {
590
608
  return this.fileUploadService
591
609
  .readFiles(fileList);
592
610
  }
593
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextFileUploadComponent, deps: [{ token: TextFileUploadService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
594
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TextFileUploadComponent, selector: "risk-text-file-upload", host: { properties: { "class.risk-text-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
611
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TextFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
612
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: TextFileUploadComponent, isStandalone: true, selector: "risk-text-file-upload", host: { properties: { "class.risk-text-file-upload": "true" } }, usesInheritance: true, ngImport: i0, template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"], dependencies: [{ kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
595
613
  }
596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextFileUploadComponent, decorators: [{
614
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: TextFileUploadComponent, decorators: [{
597
615
  type: Component,
598
616
  args: [{ selector: 'risk-text-file-upload', host: {
599
617
  '[class.risk-text-file-upload]': 'true'
600
- }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<a *ngIf=\"raised; else notRaised\"\n mat-raised-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n</a>\n<ng-template #notRaised>\n <a mat-button\n [disabled]=\"disabled\"\n [color]=\"color\"\n (mousemove)=\"move($event)\">\n <mat-icon *ngIf=\"icon\">{{icon}}</mat-icon>\n {{label}}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n <input *ngIf=\"!fileInputHidden\" type=\"file\"\n id=\"fileInput\"\n #fileInput\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n title=\"\"\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\">\n </div>\n </a>\n</ng-template>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
601
- }], ctorParameters: () => [{ type: TextFileUploadService }, { type: i0.Renderer2 }] });
618
+ }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, imports: [MatButton, MatIcon], template: "@if (raised) {\n <a\n (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-raised-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n} @else {\n <a (mousemove)=\"move($event)\"\n [color]=\"color\"\n [disabled]=\"disabled\"\n mat-button>\n @if (icon) {\n <mat-icon>{{ icon }}</mat-icon>\n }\n {{ label }}\n <div #wrapper\n class=\"risk-file-upload-input-wrapper\">\n @if (!fileInputHidden) {\n <input #fileInput\n (change)=\"handleFiles($event.target.files)\"\n [accept]=\"accept\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n id=\"fileInput\"\n title=\"\"\n type=\"file\">\n }\n </div>\n </a>\n}\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}a{overflow:hidden}a .risk-file-upload-input-wrapper{width:30px;height:36px;margin-left:-15px;top:0;left:0;position:absolute;overflow:hidden;cursor:pointer;z-index:1}a .risk-file-upload-input-wrapper input{position:absolute;display:block;cursor:pointer;height:36px;font-size:36px;top:0;right:0;outline:0 none;opacity:0}\n"] }]
619
+ }] });
602
620
 
603
621
  class CSVDownloadMenuComponent {
604
622
  constructor() {
605
623
  this.menuLabel = 'Download';
606
624
  this.disabled = false;
607
625
  }
608
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVDownloadMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
609
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CSVDownloadMenuComponent, selector: "risk-download-menu", inputs: { menuLabel: "menuLabel", menuTooltip: "menuTooltip", columns: "columns", data: "data", disabled: "disabled", filename: "filename" }, host: { properties: { "class.risk-download-menu": "true" } }, ngImport: i0, template: "<mat-menu #downloadMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\"\n [risk-csv-download-crlf]=\"true\">\n As CSV file (Windows)\n </a>\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\">\n As CSV file (Unix)\n </a>\n</mat-menu>\n\n<button mat-button\n #menu=\"matMenuTrigger\"\n [disabled]=\"disabled\"\n [matMenuTriggerFor]=\"downloadMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n [matTooltip]=\"menuTooltip\">\n <mat-icon>file_download</mat-icon>\n {{ menuLabel }}\n</button>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: i3$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i3$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i3$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i4$1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: CSVFileDownloadDirective, selector: "[risk-csv-download]", inputs: ["risk-csv-download-columns", "risk-csv-download", "risk-csv-download-filename", "risk-csv-download-crlf"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
626
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVDownloadMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
627
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.12", type: CSVDownloadMenuComponent, isStandalone: true, selector: "risk-download-menu", inputs: { menuLabel: "menuLabel", menuTooltip: "menuTooltip", columns: "columns", data: "data", disabled: "disabled", filename: "filename" }, host: { properties: { "class.risk-download-menu": "true" } }, ngImport: i0, template: "<mat-menu #downloadMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\"\n [risk-csv-download-crlf]=\"true\">\n As CSV file (Windows)\n </a>\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\">\n As CSV file (Unix)\n </a>\n</mat-menu>\n\n<button mat-button\n #menu=\"matMenuTrigger\"\n [disabled]=\"disabled\"\n [matMenuTriggerFor]=\"downloadMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n [matTooltip]=\"menuTooltip\">\n <mat-icon>file_download</mat-icon>\n {{ menuLabel }}\n</button>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: CSVFileDownloadDirective, selector: "[risk-csv-download]", inputs: ["risk-csv-download-columns", "risk-csv-download", "risk-csv-download-filename", "risk-csv-download-crlf"] }, { kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
610
628
  }
611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CSVDownloadMenuComponent, decorators: [{
629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: CSVDownloadMenuComponent, decorators: [{
612
630
  type: Component,
613
631
  args: [{ selector: 'risk-download-menu', host: {
614
632
  '[class.risk-download-menu]': 'true'
615
- }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<mat-menu #downloadMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\"\n [risk-csv-download-crlf]=\"true\">\n As CSV file (Windows)\n </a>\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\">\n As CSV file (Unix)\n </a>\n</mat-menu>\n\n<button mat-button\n #menu=\"matMenuTrigger\"\n [disabled]=\"disabled\"\n [matMenuTriggerFor]=\"downloadMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n [matTooltip]=\"menuTooltip\">\n <mat-icon>file_download</mat-icon>\n {{ menuLabel }}\n</button>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}\n"] }]
633
+ }, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, imports: [
634
+ MatMenu,
635
+ MatMenuItem,
636
+ CSVFileDownloadDirective,
637
+ MatButton,
638
+ MatMenuTrigger,
639
+ MatTooltip,
640
+ MatIcon
641
+ ], template: "<mat-menu #downloadMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\"\n [risk-csv-download-crlf]=\"true\">\n As CSV file (Windows)\n </a>\n <a mat-menu-item\n [risk-csv-download]=\"data\"\n [risk-csv-download-columns]=\"columns\"\n [risk-csv-download-filename]=\"filename\">\n As CSV file (Unix)\n </a>\n</mat-menu>\n\n<button mat-button\n #menu=\"matMenuTrigger\"\n [disabled]=\"disabled\"\n [matMenuTriggerFor]=\"downloadMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n [matTooltip]=\"menuTooltip\">\n <mat-icon>file_download</mat-icon>\n {{ menuLabel }}\n</button>\n", styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}\n", ":host{display:inline-block}\n"] }]
616
642
  }], propDecorators: { menuLabel: [{
617
643
  type: Input
618
644
  }], menuTooltip: [{
@@ -628,9 +654,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
628
654
  }] } });
629
655
 
630
656
  class FileDownloadDirective extends AbstractFileDownloadDirective {
631
- constructor(elementRef, dialogService, fileSizePipe, logger) {
632
- super(elementRef, dialogService, fileSizePipe, logger);
633
- }
634
657
  mapToFile(data) {
635
658
  const filename = this.filename || 'data.txt';
636
659
  if (data instanceof Blob) {
@@ -651,19 +674,24 @@ class FileDownloadDirective extends AbstractFileDownloadDirective {
651
674
  filename
652
675
  };
653
676
  }
654
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileDownloadDirective, deps: [{ token: i0.ElementRef }, { token: i1.DialogService }, { token: FileSizePipe }, { token: i3.Logger }], target: i0.ɵɵFactoryTarget.Directive }); }
655
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: FileDownloadDirective, selector: "[risk-download]", inputs: { data: ["risk-download", "data"], contentType: ["risk-download-content-type", "contentType"], filename: ["risk-download-filename", "filename"] }, host: { listeners: { "click": "download()" }, properties: { "class.risk-download": "true" } }, usesInheritance: true, ngImport: i0 }); }
677
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: FileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
678
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.12", type: FileDownloadDirective, isStandalone: true, selector: "[risk-download]", inputs: { data: ["risk-download", "data"], contentType: ["risk-download-content-type", "contentType"], filename: ["risk-download-filename", "filename"] }, host: { listeners: { "click": "download()" }, properties: { "class.risk-download": "true" } }, providers: [
679
+ FileSizePipe
680
+ ], usesInheritance: true, ngImport: i0 }); }
656
681
  }
657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileDownloadDirective, decorators: [{
682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: FileDownloadDirective, decorators: [{
658
683
  type: Directive,
659
684
  args: [{
660
685
  selector: '[risk-download]',
661
686
  host: {
662
687
  '[class.risk-download]': 'true',
663
688
  '(click)': 'download()'
664
- }
689
+ },
690
+ providers: [
691
+ FileSizePipe
692
+ ]
665
693
  }]
666
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.DialogService }, { type: FileSizePipe }, { type: i3.Logger }], propDecorators: { data: [{
694
+ }], propDecorators: { data: [{
667
695
  type: Input,
668
696
  args: ['risk-download']
669
697
  }], contentType: [{
@@ -674,70 +702,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
674
702
  args: ['risk-download-filename']
675
703
  }] } });
676
704
 
677
- class FileModule {
678
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
679
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FileModule, declarations: [BinaryFileUploadComponent,
680
- CSVFileUploadComponent,
681
- TextFileUploadComponent,
682
- CSVFileDownloadDirective,
683
- CSVDownloadMenuComponent,
684
- FileDownloadDirective,
685
- FileSizePipe], imports: [CommonModule,
686
- CommonViewModule,
687
- LoggingModule], exports: [BinaryFileUploadComponent,
688
- CSVFileUploadComponent,
689
- TextFileUploadComponent,
690
- CSVFileDownloadDirective,
691
- CSVDownloadMenuComponent,
692
- FileDownloadDirective,
693
- FileSizePipe] }); }
694
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileModule, providers: [
695
- BinaryFileUploadService,
696
- CSVFileUploadService,
697
- TextFileUploadService,
698
- FileSizePipe
699
- ], imports: [CommonModule,
700
- CommonViewModule,
701
- LoggingModule] }); }
702
- }
703
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileModule, decorators: [{
704
- type: NgModule,
705
- args: [{
706
- imports: [
707
- CommonModule,
708
- CommonViewModule,
709
- LoggingModule
710
- ],
711
- declarations: [
712
- BinaryFileUploadComponent,
713
- CSVFileUploadComponent,
714
- TextFileUploadComponent,
715
- CSVFileDownloadDirective,
716
- CSVDownloadMenuComponent,
717
- FileDownloadDirective,
718
- FileSizePipe
719
- ],
720
- exports: [
721
- BinaryFileUploadComponent,
722
- CSVFileUploadComponent,
723
- TextFileUploadComponent,
724
- CSVFileDownloadDirective,
725
- CSVDownloadMenuComponent,
726
- FileDownloadDirective,
727
- FileSizePipe
728
- ],
729
- providers: [
730
- BinaryFileUploadService,
731
- CSVFileUploadService,
732
- TextFileUploadService,
733
- FileSizePipe
734
- ]
735
- }]
736
- }] });
737
-
738
705
  /**
739
706
  * Generated bundle index. Do not edit.
740
707
  */
741
708
 
742
- export { AbstractFileDownloadDirective, AbstractFileUploadComponent, BinaryFileUploadComponent, BinaryFileUploadService, CSVDownloadMenuComponent, CSVFileDownloadDirective, CSVFileUploadComponent, CSVFileUploadService, FileDownloadDirective, FileModule, FileSizePipe, TextFileUploadComponent, TextFileUploadService };
709
+ export { AbstractFileDownloadDirective, AbstractFileUploadComponent, BinaryFileUploadComponent, BinaryFileUploadService, CSVDownloadMenuComponent, CSVFileDownloadDirective, CSVFileUploadComponent, CSVFileUploadService, FileDownloadDirective, FileSizePipe, TextFileUploadComponent, TextFileUploadService };
743
710
  //# sourceMappingURL=dbg-riskit-angular-file.mjs.map