@dsivd/prestations-ng 15.4.7 → 15.4.9-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.
Files changed (29) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dsivd-prestations-ng-v15.4.9-beta1.tgz +0 -0
  3. package/esm2020/foehn-decision-electronique/foehn-decision-electronique.component.mjs +4 -3
  4. package/esm2020/foehn-decision-electronique/foehn-decision-electronique.module.mjs +18 -4
  5. package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.component.mjs +7 -6
  6. package/esm2020/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.mjs +8 -4
  7. package/esm2020/foehn-upload/foehn-multi-upload/multi-upload.service.mjs +13 -7
  8. package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.mjs +74 -0
  9. package/esm2020/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.mjs +21 -0
  10. package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.service.mjs +62 -0
  11. package/esm2020/foehn-upload/foehn-upload-progress-bar/upload-progress.type.mjs +3 -0
  12. package/esm2020/global.const.mjs +5 -0
  13. package/esm2020/index.mjs +7 -1
  14. package/esm2020/sdk-dictionary/default-dictionary.mjs +17 -2
  15. package/fesm2015/dsivd-prestations-ng.mjs +201 -19
  16. package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
  17. package/fesm2020/dsivd-prestations-ng.mjs +201 -19
  18. package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
  19. package/foehn-decision-electronique/foehn-decision-electronique.module.d.ts +2 -1
  20. package/foehn-upload/foehn-multi-upload/foehn-multi-upload.module.d.ts +2 -1
  21. package/foehn-upload/foehn-multi-upload/multi-upload.service.d.ts +3 -1
  22. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component.d.ts +19 -0
  23. package/foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module.d.ts +11 -0
  24. package/foehn-upload/foehn-upload-progress-bar/upload-progress.service.d.ts +19 -0
  25. package/foehn-upload/foehn-upload-progress-bar/upload-progress.type.d.ts +4 -0
  26. package/global.const.d.ts +1 -0
  27. package/index.d.ts +5 -0
  28. package/package.json +1 -1
  29. package/dsivd-prestations-ng-v15.4.7.tgz +0 -0
@@ -3,8 +3,9 @@ import * as i1 from "./foehn-decision-electronique.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "../foehn-validation-alerts/foehn-validation-alerts.module";
6
+ import * as i5 from "../sdk-dictionary/sdk-dictionary.module";
6
7
  export declare class FoehnDecisionElectroniqueModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnDecisionElectroniqueModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnDecisionElectroniqueModule, [typeof i1.FoehnDecisionElectroniqueComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.FoehnValidationAlertsModule], [typeof i1.FoehnDecisionElectroniqueComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnDecisionElectroniqueModule, [typeof i1.FoehnDecisionElectroniqueComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule], [typeof i1.FoehnDecisionElectroniqueComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<FoehnDecisionElectroniqueModule>;
10
11
  }
@@ -5,8 +5,9 @@ import * as i3 from "../../foehn-icons/foehn-icons.module";
5
5
  import * as i4 from "../../foehn-validation-alerts/foehn-validation-alerts.module";
6
6
  import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
7
  import * as i6 from "@angular/forms";
8
+ import * as i7 from "../foehn-upload-progress-bar/foehn-upload-progress-bar.module";
8
9
  export declare class FoehnMultiUploadModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FoehnMultiUploadModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnMultiUploadModule, [typeof i1.FoehnMultiUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule], [typeof i1.FoehnMultiUploadComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnMultiUploadModule, [typeof i1.FoehnMultiUploadComponent], [typeof i2.CommonModule, typeof i3.FoehnIconsModule, typeof i4.FoehnValidationAlertsModule, typeof i5.SdkDictionaryModule, typeof i6.FormsModule, typeof i7.FoehnUploadProgressBarModule], [typeof i1.FoehnMultiUploadComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<FoehnMultiUploadModule>;
12
13
  }
@@ -7,6 +7,7 @@ import { GesdemHandlerService } from '../../gesdem/gesdem-handler.service';
7
7
  import { DocumentReference } from '../document-reference';
8
8
  import { ApplicationInfoService } from '../../sdk-appinfo/application-info.service';
9
9
  import { SdkDictionaryService } from '../../sdk-dictionary/sdk-dictionary.service';
10
+ import { UploadProgressService } from '../foehn-upload-progress-bar/upload-progress.service';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class MultiUploadService {
12
13
  private httpClient;
@@ -15,11 +16,12 @@ export declare class MultiUploadService {
15
16
  private gesdemHandlerService;
16
17
  private applicationInfoService;
17
18
  private dictionaryService;
19
+ private uploadProgressService;
18
20
  private reference;
19
21
  private globalSequence;
20
22
  private uniqPrefix;
21
23
  private uploaderHelper;
22
- constructor(httpClient: HttpClient, growlService: GrowlBrokerService, gesdemEventService: GesdemEventService, gesdemHandlerService: GesdemHandlerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService);
24
+ constructor(httpClient: HttpClient, growlService: GrowlBrokerService, gesdemEventService: GesdemEventService, gesdemHandlerService: GesdemHandlerService, applicationInfoService: ApplicationInfoService, dictionaryService: SdkDictionaryService, uploadProgressService: UploadProgressService);
23
25
  uploadDocuments(baseUrl: string, formKey: string, label: string, files: File[], key: string, isMultiple: boolean, language: string, shouldDisplayFileSavedConfirmation: boolean): Observable<DocumentsWithErrors>;
24
26
  deleteDocument(baseUrl: string, document: DocumentReference): Observable<DocumentReference>;
25
27
  getDownloadUrl(baseUrl: string, document: DocumentReference): string;
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnDestroy } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { UploadProgressService } from './upload-progress.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class FoehnUploadProgressBarComponent implements OnDestroy {
6
+ private uploadProgressService;
7
+ progressBarTriggerHtmlElement: HTMLElement;
8
+ progressBarPanel: ElementRef;
9
+ showProgress: Observable<boolean>;
10
+ analysisProgress: Observable<boolean>;
11
+ currentUploadPercentage: Observable<number>;
12
+ private readonly progressBarTriggerSubscription;
13
+ constructor(uploadProgressService: UploadProgressService);
14
+ ngOnDestroy(): void;
15
+ private calculateProgressPercentage;
16
+ private focusOnContainer;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<FoehnUploadProgressBarComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<FoehnUploadProgressBarComponent, "foehn-upload-progress-bar", never, { "progressBarTriggerHtmlElement": "progressBarTriggerHtmlElement"; }, {}, never, never>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./foehn-upload-progress-bar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/cdk/a11y";
5
+ import * as i4 from "../../pipes/pipes.module";
6
+ import * as i5 from "../../sdk-dictionary/sdk-dictionary.module";
7
+ export declare class FoehnUploadProgressBarModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<FoehnUploadProgressBarModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FoehnUploadProgressBarModule, [typeof i1.FoehnUploadProgressBarComponent], [typeof i2.CommonModule, typeof i3.A11yModule, typeof i4.PipeModule, typeof i5.SdkDictionaryModule], [typeof i1.FoehnUploadProgressBarComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<FoehnUploadProgressBarModule>;
11
+ }
@@ -0,0 +1,19 @@
1
+ import { Observable, Subject } from 'rxjs';
2
+ import { UploadProgress } from './upload-progress.type';
3
+ import { HttpEvent } from '@angular/common/http';
4
+ import { DocumentsWithErrors } from '../foehn-multi-upload/multi-upload.type';
5
+ import * as i0 from "@angular/core";
6
+ export declare class UploadProgressService {
7
+ private _uploadProgressSubject;
8
+ private _analysisProgressSubject;
9
+ private _showProgress;
10
+ get uploadProgress(): Subject<UploadProgress>;
11
+ get uploadProgressSubject(): Observable<UploadProgress>;
12
+ get analysisProgress(): Subject<boolean>;
13
+ get analysisProgressSubject(): Observable<boolean>;
14
+ get showProgress(): Subject<boolean>;
15
+ get showProgressSubject(): Observable<boolean>;
16
+ manageUploadEventFilter(event: HttpEvent<DocumentsWithErrors>): boolean;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<UploadProgressService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<UploadProgressService>;
19
+ }
@@ -0,0 +1,4 @@
1
+ export declare class UploadProgress {
2
+ loaded: number;
3
+ total: number;
4
+ }
@@ -0,0 +1 @@
1
+ export declare const HTTP_LOADER_FILTERED_URL: string[];
package/index.d.ts CHANGED
@@ -126,6 +126,7 @@ export * from './foehn-form/foehn-form.component';
126
126
  export * from './form-error';
127
127
  export * from './foehn-user-connected-as/foehn-user-connected-as.component';
128
128
  export * from './foehn-user-connected-as/foehn-user-connected-as.module';
129
+ export * from './global.const';
129
130
  export * from './foehn-upload/document-reference';
130
131
  export * from './foehn-upload/pending-upload.type';
131
132
  export * from './foehn-upload/uploader.helper';
@@ -141,6 +142,10 @@ export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.service';
141
142
  export * from './foehn-upload/foehn-bo-multi-upload/bo-multi-upload.type';
142
143
  export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.module';
143
144
  export * from './foehn-upload/foehn-picture-upload/foehn-picture-upload.component';
145
+ export * from './foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.module';
146
+ export * from './foehn-upload/foehn-upload-progress-bar/foehn-upload-progress-bar.component';
147
+ export * from './foehn-upload/foehn-upload-progress-bar/upload-progress.service';
148
+ export * from './foehn-upload/foehn-upload-progress-bar/upload-progress.type';
144
149
  export * from './sdk-epayment/sdk-epayment.module';
145
150
  export * from './sdk-epayment/sdk-epayment.component';
146
151
  export * from './sdk-epayment/sdk-epayment.service';
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "ng-update": {
37
37
  "migrations": "./schematics/migration-collection.json"
38
38
  },
39
- "version": "15.4.7",
39
+ "version": "15.4.9-beta1",
40
40
  "module": "fesm2015/dsivd-prestations-ng.mjs",
41
41
  "es2020": "fesm2020/dsivd-prestations-ng.mjs",
42
42
  "esm2020": "esm2020/dsivd-prestations-ng.mjs",
Binary file