@dsivd/prestations-ng 16.1.0-beta.2 → 16.1.0-beta.3
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 +32 -2
- package/dsivd-prestations-ng-v16.1.0-beta.3.tgz +0 -0
- package/esm2020/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.mjs +64 -23
- package/esm2020/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.mjs +9 -9
- package/esm2020/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +65 -26
- package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +14 -7
- package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +8 -4
- package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.type.mjs +5 -1
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery-registration/gesdem-action-recovery-registration.component.mjs +14 -7
- package/esm2020/gesdem-action-recovery/gesdem-action-recovery.module.mjs +12 -4
- package/esm2020/sdk-dictionary/default-dictionary.mjs +20 -1
- package/fesm2015/dsivd-prestations-ng.mjs +202 -76
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
- package/fesm2020/dsivd-prestations-ng.mjs +200 -76
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service.d.ts +3 -0
- package/foehn-upload/foehn-bo-multi-upload/foehn-bo-multi-upload.component.d.ts +1 -1
- package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +3 -0
- package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +3 -0
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +5 -5
- package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +2 -0
- package/gesdem-action-recovery/gesdem-action-recovery.module.d.ts +3 -1
- package/package.json +1 -1
- package/dsivd-prestations-ng-v16.1.0-beta.2.tgz +0 -0
|
@@ -15,10 +15,13 @@ export declare class BoMultiUploadService {
|
|
|
15
15
|
private uploadProgressService;
|
|
16
16
|
private globalSequence;
|
|
17
17
|
private uploaderHelper;
|
|
18
|
+
private readonly NB_CONCURRENT_FILES_TO_UPLOAD;
|
|
18
19
|
constructor(httpClient: HttpClient, growlService: GrowlBrokerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService, uploadProgressService: UploadProgressService);
|
|
19
20
|
uploadDocuments(url: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, language: string, shouldDisplayFileSavedConfirmation: boolean): Observable<BoDocumentsWithErrors>;
|
|
20
21
|
deleteDocument(baseUrl: string, document: DocumentReference): Observable<DocumentReference>;
|
|
21
22
|
getDownloadUrl(baseUrl: string, document: DocumentReference): string;
|
|
23
|
+
private getDocumentsWithErrorsObservable;
|
|
24
|
+
private mergeDocumentsWithErrors;
|
|
22
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BoMultiUploadService, never>;
|
|
23
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<BoMultiUploadService>;
|
|
24
27
|
}
|
|
@@ -25,8 +25,8 @@ export declare class FoehnBoMultiUploadComponent extends AbstractFoehnUploaderCo
|
|
|
25
25
|
onDrop(event: any): void;
|
|
26
26
|
private populateFileItemList;
|
|
27
27
|
private displayResultFromServer;
|
|
28
|
-
private displayErrorsFromServer;
|
|
29
28
|
private removeDocumentFromModel;
|
|
29
|
+
private displayErrorsFromServer;
|
|
30
30
|
private manageSingleFile;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<FoehnBoMultiUploadComponent, never>;
|
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<FoehnBoMultiUploadComponent, "foehn-bo-multi-upload", never, { "uploadUrl": "uploadUrl"; "deleteUrl": "deleteUrl"; "downloadUrl": "downloadUrl"; "shouldDisplayFileSavedConfirmation": "shouldDisplayFileSavedConfirmation"; }, { "documentDeleted": "documentDeleted"; }, never, ["*"], false, never>;
|
|
@@ -17,10 +17,13 @@ export declare class MultiUploadService {
|
|
|
17
17
|
private uploadProgressService;
|
|
18
18
|
private globalSequence;
|
|
19
19
|
private uploaderHelper;
|
|
20
|
+
private readonly NB_CONCURRENT_FILES_TO_UPLOAD;
|
|
20
21
|
constructor(httpClient: HttpClient, growlService: GrowlBrokerService, gesdemHandlerService: GesdemHandlerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService, uploadProgressService: UploadProgressService);
|
|
21
22
|
uploadDocuments(baseUrl: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, language: string, shouldDisplayFileSavedConfirmation: boolean): Observable<DocumentsWithErrors>;
|
|
22
23
|
deleteDocument(baseUrl: string, document: DocumentReference): Observable<DocumentReference>;
|
|
23
24
|
getDownloadUrl(baseUrl: string, document: DocumentReference): string;
|
|
25
|
+
private getDocumentsWithErrorsObservable;
|
|
26
|
+
private mergeDocumentsWithErrors;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiUploadService, never>;
|
|
25
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<MultiUploadService>;
|
|
26
29
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { UploadProgressService } from './upload-progress.service';
|
|
4
|
+
import { UploadProgress } from './upload-progress.type';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FoehnUploadProgressBarComponent implements OnDestroy {
|
|
6
7
|
private uploadProgressService;
|
|
@@ -9,6 +10,8 @@ export declare class FoehnUploadProgressBarComponent implements OnDestroy {
|
|
|
9
10
|
showProgress: Observable<boolean>;
|
|
10
11
|
analysisProgress: Observable<boolean>;
|
|
11
12
|
currentUploadPercentage: Observable<number>;
|
|
13
|
+
hasUploadPackages: Observable<boolean>;
|
|
14
|
+
uploadPackage: Observable<UploadProgress>;
|
|
12
15
|
private readonly progressBarTriggerSubscription;
|
|
13
16
|
constructor(uploadProgressService: UploadProgressService);
|
|
14
17
|
ngOnDestroy(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpEvent } from '@angular/common/http';
|
|
2
|
-
import {
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { DocumentsWithErrors } from '../foehn-multi-upload/multi-upload.type';
|
|
4
4
|
import { UploadProgress } from './upload-progress.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,13 +7,13 @@ export declare class UploadProgressService {
|
|
|
7
7
|
private _uploadProgressSubject;
|
|
8
8
|
private _analysisProgressSubject;
|
|
9
9
|
private _showProgress;
|
|
10
|
-
get uploadProgress():
|
|
10
|
+
get uploadProgress(): BehaviorSubject<UploadProgress>;
|
|
11
11
|
get uploadProgressSubject(): Observable<UploadProgress>;
|
|
12
|
-
get analysisProgress():
|
|
12
|
+
get analysisProgress(): BehaviorSubject<boolean>;
|
|
13
13
|
get analysisProgressSubject(): Observable<boolean>;
|
|
14
|
-
get showProgress():
|
|
14
|
+
get showProgress(): BehaviorSubject<boolean>;
|
|
15
15
|
get showProgressSubject(): Observable<boolean>;
|
|
16
|
-
manageUploadEventFilter(event: HttpEvent<DocumentsWithErrors
|
|
16
|
+
manageUploadEventFilter(event: HttpEvent<DocumentsWithErrors>, packageIndex?: number, nbPackages?: number): boolean;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadProgressService, never>;
|
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<UploadProgressService>;
|
|
19
19
|
}
|
|
@@ -7,8 +7,10 @@ import * as i5 from "../foehn-input/foehn-input.module";
|
|
|
7
7
|
import * as i6 from "../foehn-icons/foehn-icons.module";
|
|
8
8
|
import * as i7 from "../foehn-form/foehn-form.module";
|
|
9
9
|
import * as i8 from "../foehn-modal/foehn-modal.module";
|
|
10
|
+
import * as i9 from "../sdk-dictionary/sdk-dictionary.module";
|
|
11
|
+
import * as i10 from "../pipes/pipes.module";
|
|
10
12
|
export declare class GesdemActionRecoveryModule {
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<GesdemActionRecoveryModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GesdemActionRecoveryModule, [typeof i1.GesdemActionRecoveryLoginComponent, typeof i2.GesdemActionRecoveryRegistrationComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.FoehnInputModule, typeof i6.FoehnIconsModule, typeof i7.FoehnFormModule, typeof i8.FoehnModalModule], [typeof i1.GesdemActionRecoveryLoginComponent, typeof i2.GesdemActionRecoveryRegistrationComponent]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GesdemActionRecoveryModule, [typeof i1.GesdemActionRecoveryLoginComponent, typeof i2.GesdemActionRecoveryRegistrationComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.FoehnInputModule, typeof i6.FoehnIconsModule, typeof i7.FoehnFormModule, typeof i8.FoehnModalModule, typeof i9.SdkDictionaryModule, typeof i10.PipeModule], [typeof i1.GesdemActionRecoveryLoginComponent, typeof i2.GesdemActionRecoveryRegistrationComponent]>;
|
|
13
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<GesdemActionRecoveryModule>;
|
|
14
16
|
}
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ng-update": {
|
|
41
41
|
"migrations": "./schematics/migration-collection.json"
|
|
42
42
|
},
|
|
43
|
-
"version": "16.1.0-beta.
|
|
43
|
+
"version": "16.1.0-beta.3",
|
|
44
44
|
"module": "fesm2015/dsivd-prestations-ng.mjs",
|
|
45
45
|
"es2020": "fesm2020/dsivd-prestations-ng.mjs",
|
|
46
46
|
"esm2020": "esm2020/dsivd-prestations-ng.mjs",
|
|
Binary file
|