@dsivd/prestations-ng 14.5.15 → 15.0.0-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/bundles/dsivd-prestations-ng.umd.js +18 -49
- package/bundles/dsivd-prestations-ng.umd.js.map +1 -1
- package/dsivd-prestations-ng-v15.0.0-beta1.tgz +0 -0
- package/esm2015/sdk-epayment/sdk-epayment.component.js +10 -39
- package/esm2015/sdk-epayment/sdk-epayment.service.js +12 -7
- package/fesm2015/dsivd-prestations-ng.js +18 -44
- package/fesm2015/dsivd-prestations-ng.js.map +1 -1
- package/package.json +1 -1
- package/sdk-epayment/sdk-epayment.component.d.ts +3 -13
- package/sdk-epayment/sdk-epayment.service.d.ts +2 -5
- package/dsivd-prestations-ng-v14.5.15.tgz +0 -0
- package/esm2015/sdk-epayment/model/EPaymentRequest.js +0 -3
- package/sdk-epayment/model/EPaymentRequest.d.ts +0 -5
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ng-update": {
|
|
37
37
|
"migrations": "./schematics/migration-collection.json"
|
|
38
38
|
},
|
|
39
|
-
"version": "
|
|
39
|
+
"version": "15.0.0-beta1",
|
|
40
40
|
"main": "bundles/dsivd-prestations-ng.umd.js",
|
|
41
41
|
"module": "fesm2015/dsivd-prestations-ng.js",
|
|
42
42
|
"es2015": "fesm2015/dsivd-prestations-ng.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { EPaymentService } from './sdk-epayment.service';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { GesdemHandlerService } from '../gesdem/gesdem-handler.service';
|
|
@@ -13,7 +13,6 @@ export declare class SdkEpaymentComponent implements OnInit {
|
|
|
13
13
|
private readonly route;
|
|
14
14
|
private readonly gesDemService;
|
|
15
15
|
private readonly gesdemEventService;
|
|
16
|
-
ePaymentForm: ElementRef;
|
|
17
16
|
baseUrl: string;
|
|
18
17
|
platformFailureMessage: string;
|
|
19
18
|
modalDisplayed: boolean;
|
|
@@ -25,19 +24,10 @@ export declare class SdkEpaymentComponent implements OnInit {
|
|
|
25
24
|
* Déclenche le processus de paiement électronique. Le paiement est d'abord préparé avec GesDem, puis on navigue
|
|
26
25
|
* vers la plateforme de paiement.
|
|
27
26
|
*
|
|
28
|
-
* @param
|
|
29
|
-
* @param prenom Le prénom du payeur
|
|
30
|
-
* @param nom Le nom de famille du payeur
|
|
31
|
-
* @param adresse L'adresse postale du payeur
|
|
27
|
+
* @param reference La référence de la demande en cours
|
|
32
28
|
*/
|
|
33
|
-
payNow(
|
|
29
|
+
payNow(reference: string): void;
|
|
34
30
|
private handleFailure;
|
|
35
|
-
/**
|
|
36
|
-
* Prépare et soumet le formulaire HTML permettant de naviguer vers la plateforme de paiement électronique.
|
|
37
|
-
*
|
|
38
|
-
* @param param Objet retourné par GesDem contenant tous les paramètres nécessaires à la plateforme.
|
|
39
|
-
*/
|
|
40
|
-
private jumpToPlatform;
|
|
41
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdkEpaymentComponent, never>;
|
|
42
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdkEpaymentComponent, "epayment-form", never, { "baseUrl": "baseUrl"; }, {}, never, never>;
|
|
43
33
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { EPaymentRequest } from './model/EPaymentRequest';
|
|
3
2
|
import { GrowlBrokerService } from '../foehn-growl/growl-broker.service';
|
|
4
|
-
import { EPaymentParameters } from './model/EPaymentParameters';
|
|
5
3
|
import { Observable } from 'rxjs';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class EPaymentService {
|
|
@@ -13,11 +11,10 @@ export declare class EPaymentService {
|
|
|
13
11
|
* en vue du passage sur la plateforme de paiement électronique.
|
|
14
12
|
*
|
|
15
13
|
* @param ref La référence de la demande en cours
|
|
16
|
-
* @param req Les paramètres de préparation
|
|
17
14
|
* @param baseUrl L'url de base (optionnelle)
|
|
18
|
-
* @returns
|
|
15
|
+
* @returns la page de paiement sur laquelle rediriger l'utilisateur
|
|
19
16
|
*/
|
|
20
|
-
createPendingPayment(ref: string,
|
|
17
|
+
createPendingPayment(ref: string, baseUrl: string): Observable<string>;
|
|
21
18
|
cancelPendingPayment(ref: string, baseUrl: string): void;
|
|
22
19
|
private handleError;
|
|
23
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<EPaymentService, never>;
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export class EPaymentRequest {
|
|
2
|
-
}
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVBheW1lbnRSZXF1ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJlc3RhdGlvbnMtbmcvc3JjL3Nkay1lcGF5bWVudC9tb2RlbC9FUGF5bWVudFJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGVBQWU7Q0FJM0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRVBheW1lbnRSZXF1ZXN0IHtcbiAgICBmaXJzdE5hbWU6IHN0cmluZztcbiAgICBsYXN0TmFtZTogc3RyaW5nO1xuICAgIGFkZHJlc3M6IHN0cmluZztcbn1cbiJdfQ==
|