@dbg-riskit/angular-file 9999.9999.9999-rc.6693152 → 9999.9999.9999-rc.6976933
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.
|
@@ -48,10 +48,10 @@ class RiskFileSizePipe {
|
|
|
48
48
|
const suffix = this.powerSuffixes[power];
|
|
49
49
|
return suffix ? `${formatted}${suffix}` : formatted;
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
52
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskFileSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
52
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.35", ngImport: i0, type: RiskFileSizePipe, isStandalone: true, name: "riskFileSize" }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskFileSizePipe, decorators: [{
|
|
55
55
|
type: Pipe,
|
|
56
56
|
args: [{
|
|
57
57
|
name: 'riskFileSize'
|
|
@@ -181,10 +181,10 @@ class AbstractRiskFileDownloadDirective {
|
|
|
181
181
|
createBlob(data, contentType) {
|
|
182
182
|
return new Blob(data, contentType);
|
|
183
183
|
}
|
|
184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
185
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: AbstractRiskFileDownloadDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
185
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.35", type: AbstractRiskFileDownloadDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
186
186
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: AbstractRiskFileDownloadDirective, decorators: [{
|
|
188
188
|
type: Directive
|
|
189
189
|
}], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }] } });
|
|
190
190
|
|
|
@@ -287,10 +287,10 @@ class AbstractRiskFileUploadComponent {
|
|
|
287
287
|
this.fileInputHidden.set(false);
|
|
288
288
|
}, { injector: this.injector });
|
|
289
289
|
}
|
|
290
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
291
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.
|
|
290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: AbstractRiskFileUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
291
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.35", type: AbstractRiskFileUploadComponent, isStandalone: true, inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, raised: { classPropertyName: "raised", publicName: "raised", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { error: "error", filesLoaded: "filesLoaded" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: MatAnchor, descendants: true, read: ElementRef, isSignal: true }, { propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true, isSignal: true }, { propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, isSignal: true }], ngImport: i0 }); }
|
|
292
292
|
}
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: AbstractRiskFileUploadComponent, decorators: [{
|
|
294
294
|
type: Directive
|
|
295
295
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], raised: [{ type: i0.Input, args: [{ isSignal: true, alias: "raised", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], error: [{ type: i0.Output, args: ["error"] }], filesLoaded: [{ type: i0.Output, args: ["filesLoaded"] }], anchor: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatAnchor), { ...{ read: ElementRef }, isSignal: true }] }], fileInput: [{ type: i0.ViewChild, args: ['fileInput', { isSignal: true }] }], wrapper: [{ type: i0.ViewChild, args: ['wrapper', { isSignal: true }] }] } });
|
|
296
296
|
|
|
@@ -324,10 +324,10 @@ class RiskBinaryFileUploadService {
|
|
|
324
324
|
}
|
|
325
325
|
return forkJoin(fileOservables);
|
|
326
326
|
}
|
|
327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskBinaryFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskBinaryFileUploadService, providedIn: 'root' }); }
|
|
329
329
|
}
|
|
330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskBinaryFileUploadService, decorators: [{
|
|
331
331
|
type: Injectable,
|
|
332
332
|
args: [{ providedIn: 'root' }]
|
|
333
333
|
}] });
|
|
@@ -340,10 +340,10 @@ class RiskBinaryFileUploadComponent extends AbstractRiskFileUploadComponent {
|
|
|
340
340
|
readFiles(fileList) {
|
|
341
341
|
return this.fileUploadService.readFiles(fileList);
|
|
342
342
|
}
|
|
343
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
344
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
343
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskBinaryFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
344
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.35", type: RiskBinaryFileUploadComponent, 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 [style.left.px]=\"wrapperLeft()\">\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 [style.left.px]=\"wrapperLeft()\">\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 }); }
|
|
345
345
|
}
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskBinaryFileUploadComponent, decorators: [{
|
|
347
347
|
type: Component,
|
|
348
348
|
args: [{ selector: 'risk-binary-file-upload', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
349
349
|
'[class.risk-binary-file-upload]': 'true'
|
|
@@ -403,12 +403,12 @@ class RiskCSVFileDownloadDirective extends AbstractRiskFileDownloadDirective {
|
|
|
403
403
|
getLineEnding() {
|
|
404
404
|
return this.crlfLineEnding() ? '\r\n' : '\n';
|
|
405
405
|
}
|
|
406
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
407
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
407
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.35", type: RiskCSVFileDownloadDirective, isStandalone: true, selector: "[risk-csv-download]", inputs: { columns: { classPropertyName: "columns", publicName: "risk-csv-download-columns", isSignal: true, isRequired: true, transformFunction: null }, data: { classPropertyName: "data", publicName: "risk-csv-download", isSignal: true, isRequired: true, transformFunction: null }, filename: { classPropertyName: "filename", publicName: "risk-csv-download-filename", isSignal: true, isRequired: false, transformFunction: null }, crlfLineEnding: { classPropertyName: "crlfLineEnding", publicName: "risk-csv-download-crlf", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "download()" }, properties: { "class.risk-csv-download": "true" } }, providers: [
|
|
408
408
|
RiskFileSizePipe
|
|
409
409
|
], usesInheritance: true, ngImport: i0 }); }
|
|
410
410
|
}
|
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileDownloadDirective, decorators: [{
|
|
412
412
|
type: Directive,
|
|
413
413
|
args: [{
|
|
414
414
|
selector: '[risk-csv-download]',
|
|
@@ -520,10 +520,10 @@ class RiskCSVFileUploadService {
|
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
}
|
|
523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileUploadService, providedIn: 'root' }); }
|
|
525
525
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileUploadService, decorators: [{
|
|
527
527
|
type: Injectable,
|
|
528
528
|
args: [{ providedIn: 'root' }]
|
|
529
529
|
}] });
|
|
@@ -555,10 +555,10 @@ class RiskCSVFileUploadComponent extends AbstractRiskFileUploadComponent {
|
|
|
555
555
|
}
|
|
556
556
|
}));
|
|
557
557
|
}
|
|
558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
559
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
559
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.35", type: RiskCSVFileUploadComponent, isStandalone: true, selector: "risk-csv-file-upload", inputs: { validator: { classPropertyName: "validator", publicName: "validator", isSignal: true, isRequired: false, transformFunction: null }, nameMapper: { classPropertyName: "nameMapper", publicName: "nameMapper", isSignal: true, isRequired: false, transformFunction: null } }, 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 [style.left.px]=\"wrapperLeft()\">\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 [style.left.px]=\"wrapperLeft()\">\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 }); }
|
|
560
560
|
}
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVFileUploadComponent, decorators: [{
|
|
562
562
|
type: Component,
|
|
563
563
|
args: [{ selector: 'risk-csv-file-upload', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
564
564
|
'[class.risk-csv-file-upload]': 'true'
|
|
@@ -598,10 +598,10 @@ class RiskTextFileUploadService {
|
|
|
598
598
|
}
|
|
599
599
|
return forkJoin(fileOservables);
|
|
600
600
|
}
|
|
601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
602
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskTextFileUploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
602
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskTextFileUploadService, providedIn: 'root' }); }
|
|
603
603
|
}
|
|
604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskTextFileUploadService, decorators: [{
|
|
605
605
|
type: Injectable,
|
|
606
606
|
args: [{ providedIn: 'root' }]
|
|
607
607
|
}] });
|
|
@@ -614,10 +614,10 @@ class RiskTextFileUploadComponent extends AbstractRiskFileUploadComponent {
|
|
|
614
614
|
readFiles(fileList) {
|
|
615
615
|
return this.fileUploadService.readFiles(fileList);
|
|
616
616
|
}
|
|
617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
618
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskTextFileUploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
618
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.35", type: RiskTextFileUploadComponent, 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 [style.left.px]=\"wrapperLeft()\">\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 [style.left.px]=\"wrapperLeft()\">\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 }); }
|
|
619
619
|
}
|
|
620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskTextFileUploadComponent, decorators: [{
|
|
621
621
|
type: Component,
|
|
622
622
|
args: [{ selector: 'risk-text-file-upload', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
623
623
|
'[class.risk-text-file-upload]': 'true'
|
|
@@ -636,10 +636,10 @@ class RiskCSVDownloadMenuComponent {
|
|
|
636
636
|
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
637
637
|
this.filename = input(...(ngDevMode ? [undefined, { debugName: "filename" }] : []));
|
|
638
638
|
}
|
|
639
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
640
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
639
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVDownloadMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
640
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.35", type: RiskCSVDownloadMenuComponent, isStandalone: true, selector: "risk-download-menu", inputs: { menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: false, transformFunction: null }, menuTooltip: { classPropertyName: "menuTooltip", publicName: "menuTooltip", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, filename: { classPropertyName: "filename", publicName: "filename", isSignal: true, isRequired: false, transformFunction: null } }, 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: 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"] }, { 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: 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: "directive", type: RiskCSVFileDownloadDirective, selector: "[risk-csv-download]", inputs: ["risk-csv-download-columns", "risk-csv-download", "risk-csv-download-filename", "risk-csv-download-crlf"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
641
641
|
}
|
|
642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskCSVDownloadMenuComponent, decorators: [{
|
|
643
643
|
type: Component,
|
|
644
644
|
args: [{ selector: 'risk-download-menu', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
645
645
|
'[class.risk-download-menu]': 'true'
|
|
@@ -687,12 +687,12 @@ class RiskFileDownloadDirective extends AbstractRiskFileDownloadDirective {
|
|
|
687
687
|
filename
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
691
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
691
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.35", type: RiskFileDownloadDirective, isStandalone: true, selector: "[risk-download]", inputs: { data: { classPropertyName: "data", publicName: "risk-download", isSignal: true, isRequired: true, transformFunction: null }, contentType: { classPropertyName: "contentType", publicName: "risk-download-content-type", isSignal: true, isRequired: false, transformFunction: null }, filename: { classPropertyName: "filename", publicName: "risk-download-filename", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "download()" }, properties: { "class.risk-download": "true" } }, providers: [
|
|
692
692
|
RiskFileSizePipe
|
|
693
693
|
], usesInheritance: true, ngImport: i0 }); }
|
|
694
694
|
}
|
|
695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
695
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.35", ngImport: i0, type: RiskFileDownloadDirective, decorators: [{
|
|
696
696
|
type: Directive,
|
|
697
697
|
args: [{
|
|
698
698
|
selector: '[risk-download]',
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbg-riskit/angular-file",
|
|
3
|
-
"version": "9999.9999.9999-rc.
|
|
3
|
+
"version": "9999.9999.9999-rc.6976933",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/core": "^20.3.
|
|
7
|
-
"@angular/platform-browser": "^20.3.
|
|
8
|
-
"@angular/common": "^20.3.
|
|
9
|
-
"@dbg-riskit/common": "~9999.9999.9999-rc.
|
|
10
|
-
"@dbg-riskit/angular-common": "~9999.9999.9999-rc.
|
|
11
|
-
"@dbg-riskit/angular-logging": "~9999.9999.9999-rc.
|
|
12
|
-
"@dbg-riskit/angular-view": "~9999.9999.9999-rc.
|
|
6
|
+
"@angular/core": "^20.3.35",
|
|
7
|
+
"@angular/platform-browser": "^20.3.35",
|
|
8
|
+
"@angular/common": "^20.3.35",
|
|
9
|
+
"@dbg-riskit/common": "~9999.9999.9999-rc.6976933",
|
|
10
|
+
"@dbg-riskit/angular-common": "~9999.9999.9999-rc.6976933",
|
|
11
|
+
"@dbg-riskit/angular-logging": "~9999.9999.9999-rc.6976933",
|
|
12
|
+
"@dbg-riskit/angular-view": "~9999.9999.9999-rc.6976933",
|
|
13
13
|
"rxjs": "~7.8.2",
|
|
14
14
|
"file-saver": "^2.0.5"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"tslib": "^2.
|
|
17
|
+
"tslib": "^2.9.1"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2022/dbg-riskit-angular-file.mjs",
|
|
20
20
|
"typings": "index.d.ts",
|