@dsivd/prestations-ng 14.5.12 → 15.5.13-beta1
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/CHANGELOG.md +13 -0
- package/bundles/dsivd-prestations-ng.umd.js +215 -5
- package/bundles/dsivd-prestations-ng.umd.js.map +1 -1
- package/dsivd-prestations-ng-v15.5.13-beta1.tgz +0 -0
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.js +164 -0
- package/esm2015/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.js +42 -0
- package/esm2015/index.js +4 -1
- package/esm2015/sdk-dictionary/default-dictionary.js +9 -2
- package/fesm2015/dsivd-prestations-ng.js +196 -2
- package/fesm2015/dsivd-prestations-ng.js.map +1 -1
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.component.d.ts +39 -0
- package/foehn-upload/foehn-picture-upload/foehn-picture-upload.module.d.ts +13 -0
- package/index.d.ts +2 -0
- package/package.json +2 -1
- package/dsivd-prestations-ng-v14.5.12.tgz +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { FoehnInputComponent } from '../../foehn-input/foehn-input.component';
|
|
4
|
+
import { DocumentReference } from '../../foehn-upload/document-reference';
|
|
5
|
+
import { GrowlBrokerService } from '../../foehn-growl/growl-broker.service';
|
|
6
|
+
import { MultiUploadService } from '../../foehn-upload/foehn-multi-upload/multi-upload.service';
|
|
7
|
+
import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
|
|
8
|
+
import { ImageCroppedEvent } from 'ngx-image-cropper';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class FoehnPictureUploadComponent extends FoehnInputComponent<DocumentReference[]> implements OnInit {
|
|
11
|
+
private growlService;
|
|
12
|
+
private uploadService;
|
|
13
|
+
private dictionaryService;
|
|
14
|
+
name: string;
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
baseUrl: string;
|
|
18
|
+
croppedPictureFilename: string;
|
|
19
|
+
resizeToWidth: number;
|
|
20
|
+
resizeToHeight: number;
|
|
21
|
+
pictureToCrop: Event;
|
|
22
|
+
croppedPictureAsBase64Url: string;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
protected currentLanguageSubscription: Subscription;
|
|
25
|
+
protected currentLanguage: string;
|
|
26
|
+
constructor(growlService: GrowlBrokerService, uploadService: MultiUploadService, dictionaryService: SdkDictionaryService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onPictureSelection(imgEvent: Event): void;
|
|
29
|
+
onPictureSelectionFailed(): void;
|
|
30
|
+
onImageCropped(croppedEvent: ImageCroppedEvent): void;
|
|
31
|
+
resetPictureSelection(): void;
|
|
32
|
+
savePicture(): void;
|
|
33
|
+
deleteFile(): void;
|
|
34
|
+
getDownloadUrl(): string;
|
|
35
|
+
get hasPicture(): boolean;
|
|
36
|
+
refreshErrors(results: any[]): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnPictureUploadComponent, "foehn-picture-upload", never, { "name": "name"; "key": "key"; "label": "label"; "baseUrl": "baseUrl"; "croppedPictureFilename": "croppedPictureFilename"; "resizeToWidth": "resizeToWidth"; "resizeToHeight": "resizeToHeight"; }, {}, never, ["*"]>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./foehn-picture-upload.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../foehn-icons/foehn-icons.module";
|
|
5
|
+
import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
|
|
6
|
+
import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "ngx-image-cropper";
|
|
9
|
+
export declare class FoehnPictureUploadModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnPictureUploadModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnPictureUploadModule, [typeof i1.FoehnPictureUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.ImageCropperModule], [typeof i1.FoehnPictureUploadComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FoehnPictureUploadModule>;
|
|
13
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -129,6 +129,8 @@ export * from './foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.module
|
|
|
129
129
|
export * from './foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component';
|
|
130
130
|
export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service';
|
|
131
131
|
export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type';
|
|
132
|
+
export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.module';
|
|
133
|
+
export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.component';
|
|
132
134
|
export * from './sdk-epayment/sdk-epayment.module';
|
|
133
135
|
export * from './sdk-epayment/sdk-epayment.component';
|
|
134
136
|
export * from './sdk-epayment/sdk-epayment.service';
|
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"rxjs": "~6.6.3",
|
|
27
27
|
"core-js": "~3.15.1",
|
|
28
28
|
"iban": "~0.0.14",
|
|
29
|
+
"ngx-image-cropper": "~5.0.0",
|
|
29
30
|
"dayjs": "~1.10.4"
|
|
30
31
|
},
|
|
31
32
|
"schematics": "./schematics/collection.json",
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"ng-update": {
|
|
36
37
|
"migrations": "./schematics/migration-collection.json"
|
|
37
38
|
},
|
|
38
|
-
"version": "
|
|
39
|
+
"version": "15.5.13-beta1",
|
|
39
40
|
"main": "bundles/dsivd-prestations-ng.umd.js",
|
|
40
41
|
"module": "fesm2015/dsivd-prestations-ng.js",
|
|
41
42
|
"es2015": "fesm2015/dsivd-prestations-ng.js",
|
|
Binary file
|