vk-payments 0.2.0 → 0.2.1

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
 
@@ -2836,125 +2836,14 @@
2836
2836
  ModalComponent.prototype.codeVerified;
2837
2837
  }
2838
2838
 
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
2839
  /**
2950
2840
  * @fileoverview added by tsickle
2951
2841
  * Generated from: lib/go-cuotas/components/go-cuotas.component.ts
2952
2842
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2953
2843
  */
2954
2844
  var GoCuotasComponent = /** @class */ (function () {
2955
- function GoCuotasComponent(goCuotasApiService, notificationService) {
2845
+ function GoCuotasComponent(goCuotasApiService) {
2956
2846
  this.goCuotasApiService = goCuotasApiService;
2957
- this.notificationService = notificationService;
2958
2847
  this.statusPay = new core.EventEmitter();
2959
2848
  this.sale_token = '';
2960
2849
  this.error_message = '';
@@ -3412,8 +3301,7 @@
3412
3301
  ];
3413
3302
  /** @nocollapse */
3414
3303
  GoCuotasComponent.ctorParameters = function () { return [
3415
- { type: GoCuotasApiService },
3416
- { type: NotificationService }
3304
+ { type: GoCuotasApiService }
3417
3305
  ]; };
3418
3306
  GoCuotasComponent.propDecorators = {
3419
3307
  accessToken: [{ type: core.Input }],
@@ -3480,10 +3368,6 @@
3480
3368
  /** @type {?} */
3481
3369
  GoCuotasComponent.prototype.Opayment;
3482
3370
  /** @type {?} */
3483
- GoCuotasComponent.prototype.verificationCodeRequest;
3484
- /** @type {?} */
3485
- GoCuotasComponent.prototype.cardRequest;
3486
- /** @type {?} */
3487
3371
  GoCuotasComponent.prototype.sale_token;
3488
3372
  /** @type {?} */
3489
3373
  GoCuotasComponent.prototype.error_message;
@@ -3514,11 +3398,6 @@
3514
3398
  * @private
3515
3399
  */
3516
3400
  GoCuotasComponent.prototype.goCuotasApiService;
3517
- /**
3518
- * @type {?}
3519
- * @private
3520
- */
3521
- GoCuotasComponent.prototype.notificationService;
3522
3401
  }
3523
3402
 
3524
3403
  /**
@@ -3550,8 +3429,7 @@
3550
3429
  material.MatSnackBarModule
3551
3430
  ],
3552
3431
  providers: [
3553
- GoCuotasApiService,
3554
- NotificationService
3432
+ GoCuotasApiService
3555
3433
  ]
3556
3434
  },] }
3557
3435
  ];
@@ -3596,7 +3474,6 @@
3596
3474
  exports.ɵk = GoCuotasComponent;
3597
3475
  exports.ɵl = ModalComponent;
3598
3476
  exports.ɵm = GoCuotasApiService;
3599
- exports.ɵn = NotificationService;
3600
3477
 
3601
3478
  Object.defineProperty(exports, '__esModule', { value: true });
3602
3479