vk-payments 0.2.0 → 0.2.2

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@angular/common/http'), require('sha256'), require('@angular/material/snack-bar'), require('@angular/material')) :
3
- typeof define === 'function' && define.amd ? define('vk-payments', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router', '@angular/common/http', 'sha256', '@angular/material/snack-bar', '@angular/material'], factory) :
4
- (global = global || self, factory(global['vk-payments'] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.ng.common.http, global.sha256, global.ng.material['snack-bar'], global.ng.material));
5
- }(this, function (exports, core, common, forms, router, http, sha256, snackBar, material) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@angular/common/http'), require('sha256'), require('@angular/material')) :
3
+ typeof define === 'function' && define.amd ? define('vk-payments', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router', '@angular/common/http', 'sha256', '@angular/material'], factory) :
4
+ (global = global || self, factory(global['vk-payments'] = {}, global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.ng.common.http, global.sha256, global.ng.material));
5
+ }(this, function (exports, core, common, forms, router, http, sha256, material) { 'use strict';
6
6
 
7
7
  sha256 = sha256 && sha256.hasOwnProperty('default') ? sha256['default'] : sha256;
8
8
 
@@ -2651,6 +2651,7 @@
2651
2651
  documentNumber: initPayment.documentNumber,
2652
2652
  areaCode: initPayment.areaCode,
2653
2653
  phoneNumber: initPayment.phoneNumber,
2654
+ email: initPayment.email,
2654
2655
  idVen: initPayment.idVen,
2655
2656
  storeId: initPayment.storeId,
2656
2657
  data: initPayment.data
@@ -2836,125 +2837,14 @@
2836
2837
  ModalComponent.prototype.codeVerified;
2837
2838
  }
2838
2839
 
2839
- /**
2840
- * @fileoverview added by tsickle
2841
- * Generated from: lib/go-cuotas/services/notification.service.ts
2842
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2843
- */
2844
- var NotificationService = /** @class */ (function () {
2845
- function NotificationService(snackbar) {
2846
- this.snackbar = snackbar;
2847
- }
2848
- /**
2849
- * @return {?}
2850
- */
2851
- NotificationService.prototype.hideNotification = /**
2852
- * @return {?}
2853
- */
2854
- function () {
2855
- this.snackbar.dismiss();
2856
- };
2857
- /**
2858
- * @param {?} message
2859
- * @param {?=} duration
2860
- * @return {?}
2861
- */
2862
- NotificationService.prototype.showSnackBarMessage = /**
2863
- * @param {?} message
2864
- * @param {?=} duration
2865
- * @return {?}
2866
- */
2867
- function (message, duration) {
2868
- this.snackbar.open(message, undefined, {
2869
- duration: duration
2870
- });
2871
- };
2872
- /**
2873
- * @param {?} message
2874
- * @param {?} title
2875
- * @return {?}
2876
- */
2877
- NotificationService.prototype.showSuccess = /**
2878
- * @param {?} message
2879
- * @param {?} title
2880
- * @return {?}
2881
- */
2882
- function (message, title) {
2883
- this.snackbar.open(title + ' ' + message, undefined, {
2884
- duration: 6000, panelClass: ['success-snackbar']
2885
- });
2886
- };
2887
- /**
2888
- * @param {?} message
2889
- * @param {?} title
2890
- * @return {?}
2891
- */
2892
- NotificationService.prototype.showError = /**
2893
- * @param {?} message
2894
- * @param {?} title
2895
- * @return {?}
2896
- */
2897
- function (message, title) {
2898
- this.snackbar.open(title + ' ' + message, undefined, {
2899
- duration: 6000, panelClass: ['error-snackbar']
2900
- });
2901
- };
2902
- /**
2903
- * @param {?} message
2904
- * @param {?} title
2905
- * @return {?}
2906
- */
2907
- NotificationService.prototype.showWarning = /**
2908
- * @param {?} message
2909
- * @param {?} title
2910
- * @return {?}
2911
- */
2912
- function (message, title) {
2913
- this.snackbar.open(title + ' ' + message, undefined, {
2914
- duration: 6000, panelClass: ['warning-snackbar']
2915
- });
2916
- };
2917
- /**
2918
- * @param {?} message
2919
- * @param {?} title
2920
- * @return {?}
2921
- */
2922
- NotificationService.prototype.showInfo = /**
2923
- * @param {?} message
2924
- * @param {?} title
2925
- * @return {?}
2926
- */
2927
- function (message, title) {
2928
- this.snackbar.open(title + ' ' + message, undefined, {
2929
- duration: 6000, panelClass: ['info-snackbar']
2930
- });
2931
- };
2932
- NotificationService.decorators = [
2933
- { type: core.Injectable }
2934
- ];
2935
- /** @nocollapse */
2936
- NotificationService.ctorParameters = function () { return [
2937
- { type: snackBar.MatSnackBar }
2938
- ]; };
2939
- return NotificationService;
2940
- }());
2941
- if (false) {
2942
- /**
2943
- * @type {?}
2944
- * @private
2945
- */
2946
- NotificationService.prototype.snackbar;
2947
- }
2948
-
2949
2840
  /**
2950
2841
  * @fileoverview added by tsickle
2951
2842
  * Generated from: lib/go-cuotas/components/go-cuotas.component.ts
2952
2843
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2953
2844
  */
2954
2845
  var GoCuotasComponent = /** @class */ (function () {
2955
- function GoCuotasComponent(goCuotasApiService, notificationService) {
2846
+ function GoCuotasComponent(goCuotasApiService) {
2956
2847
  this.goCuotasApiService = goCuotasApiService;
2957
- this.notificationService = notificationService;
2958
2848
  this.statusPay = new core.EventEmitter();
2959
2849
  this.sale_token = '';
2960
2850
  this.error_message = '';
@@ -3010,6 +2900,7 @@
3010
2900
  installments: this.installments,
3011
2901
  documentNumber: this.dniText,
3012
2902
  phoneNumber: this.telText,
2903
+ email: this.mailText,
3013
2904
  cardholder: this.defaultName,
3014
2905
  creditCardHash: this.cardText,
3015
2906
  idVen: this.idVen,
@@ -3412,8 +3303,7 @@
3412
3303
  ];
3413
3304
  /** @nocollapse */
3414
3305
  GoCuotasComponent.ctorParameters = function () { return [
3415
- { type: GoCuotasApiService },
3416
- { type: NotificationService }
3306
+ { type: GoCuotasApiService }
3417
3307
  ]; };
3418
3308
  GoCuotasComponent.propDecorators = {
3419
3309
  accessToken: [{ type: core.Input }],
@@ -3480,10 +3370,6 @@
3480
3370
  /** @type {?} */
3481
3371
  GoCuotasComponent.prototype.Opayment;
3482
3372
  /** @type {?} */
3483
- GoCuotasComponent.prototype.verificationCodeRequest;
3484
- /** @type {?} */
3485
- GoCuotasComponent.prototype.cardRequest;
3486
- /** @type {?} */
3487
3373
  GoCuotasComponent.prototype.sale_token;
3488
3374
  /** @type {?} */
3489
3375
  GoCuotasComponent.prototype.error_message;
@@ -3514,11 +3400,6 @@
3514
3400
  * @private
3515
3401
  */
3516
3402
  GoCuotasComponent.prototype.goCuotasApiService;
3517
- /**
3518
- * @type {?}
3519
- * @private
3520
- */
3521
- GoCuotasComponent.prototype.notificationService;
3522
3403
  }
3523
3404
 
3524
3405
  /**
@@ -3550,8 +3431,7 @@
3550
3431
  material.MatSnackBarModule
3551
3432
  ],
3552
3433
  providers: [
3553
- GoCuotasApiService,
3554
- NotificationService
3434
+ GoCuotasApiService
3555
3435
  ]
3556
3436
  },] }
3557
3437
  ];
@@ -3596,7 +3476,6 @@
3596
3476
  exports.ɵk = GoCuotasComponent;
3597
3477
  exports.ɵl = ModalComponent;
3598
3478
  exports.ɵm = GoCuotasApiService;
3599
- exports.ɵn = NotificationService;
3600
3479
 
3601
3480
  Object.defineProperty(exports, '__esModule', { value: true });
3602
3481