vk-payments 0.2.32 → 0.2.33

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/bundles/vk-payments.umd.js +322 -7
  2. package/bundles/vk-payments.umd.js.map +1 -1
  3. package/bundles/vk-payments.umd.min.js +1 -1
  4. package/bundles/vk-payments.umd.min.js.map +1 -1
  5. package/esm2015/lib/bank-transfer/bank-transfer.module.js +33 -0
  6. package/esm2015/lib/bank-transfer/components/bank-transfer.component.js +206 -0
  7. package/esm2015/lib/bank-transfer/models/bank-transfer.models.js +54 -0
  8. package/esm2015/lib/bank-transfer/services/bank-transfer.api.service.js +52 -0
  9. package/esm2015/lib/galicia/components/galicia.component.js +1 -2
  10. package/esm2015/lib/vk-payments.module.js +3 -1
  11. package/esm2015/vk-payments.js +10 -7
  12. package/esm5/lib/bank-transfer/bank-transfer.module.js +37 -0
  13. package/esm5/lib/bank-transfer/components/bank-transfer.component.js +234 -0
  14. package/esm5/lib/bank-transfer/models/bank-transfer.models.js +54 -0
  15. package/esm5/lib/bank-transfer/services/bank-transfer.api.service.js +57 -0
  16. package/esm5/lib/galicia/components/galicia.component.js +1 -2
  17. package/esm5/lib/vk-payments.module.js +3 -1
  18. package/esm5/vk-payments.js +10 -7
  19. package/fesm2015/vk-payments.js +281 -3
  20. package/fesm2015/vk-payments.js.map +1 -1
  21. package/fesm5/vk-payments.js +315 -3
  22. package/fesm5/vk-payments.js.map +1 -1
  23. package/lib/bank-transfer/bank-transfer.module.d.ts +2 -0
  24. package/lib/bank-transfer/components/bank-transfer.component.d.ts +30 -0
  25. package/lib/bank-transfer/models/bank-transfer.models.d.ts +20 -0
  26. package/lib/bank-transfer/services/bank-transfer.api.service.d.ts +8 -0
  27. package/package.json +2 -2
  28. package/vk-payments.d.ts +9 -6
  29. package/vk-payments.metadata.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
3
+ import { FormsModule, ReactiveFormsModule, FormGroup, FormControl } from '@angular/forms';
4
4
  import { Router, RouterModule } from '@angular/router';
5
5
  import { __values, __awaiter, __generator } from 'tslib';
6
6
  import { HttpHeaders, HttpClient, HttpClientModule } from '@angular/common/http';
@@ -3714,6 +3714,318 @@ var ModoModule = /** @class */ (function () {
3714
3714
  return ModoModule;
3715
3715
  }());
3716
3716
 
3717
+ /**
3718
+ * @fileoverview added by tsickle
3719
+ * Generated from: lib/bank-transfer/services/bank-transfer.api.service.ts
3720
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3721
+ */
3722
+ var BankTransferApiService = /** @class */ (function () {
3723
+ function BankTransferApiService(http) {
3724
+ this.http = http;
3725
+ }
3726
+ /**
3727
+ * @param {?} accessToken
3728
+ * @param {?} request
3729
+ * @param {?} vkApiUrl
3730
+ * @return {?}
3731
+ */
3732
+ BankTransferApiService.prototype.createPayment = /**
3733
+ * @param {?} accessToken
3734
+ * @param {?} request
3735
+ * @param {?} vkApiUrl
3736
+ * @return {?}
3737
+ */
3738
+ function (accessToken, request, vkApiUrl) {
3739
+ /** @type {?} */
3740
+ var headers = new HttpHeaders({
3741
+ 'Content-Type': 'application/json',
3742
+ Authorization: "Bearer " + accessToken
3743
+ });
3744
+ // Construimos la URL agregando la rute del Controller de BankTransfer
3745
+ /** @type {?} */
3746
+ var url = vkApiUrl + "payments/BankTransfer/create-payment";
3747
+ return this.http.post(url, request, { headers: headers });
3748
+ };
3749
+ BankTransferApiService.decorators = [
3750
+ { type: Injectable, args: [{
3751
+ providedIn: 'root'
3752
+ },] }
3753
+ ];
3754
+ /** @nocollapse */
3755
+ BankTransferApiService.ctorParameters = function () { return [
3756
+ { type: HttpClient }
3757
+ ]; };
3758
+ /** @nocollapse */ BankTransferApiService.ngInjectableDef = ɵɵdefineInjectable({ factory: function BankTransferApiService_Factory() { return new BankTransferApiService(ɵɵinject(HttpClient)); }, token: BankTransferApiService, providedIn: "root" });
3759
+ return BankTransferApiService;
3760
+ }());
3761
+ if (false) {
3762
+ /**
3763
+ * @type {?}
3764
+ * @private
3765
+ */
3766
+ BankTransferApiService.prototype.http;
3767
+ }
3768
+
3769
+ /**
3770
+ * @fileoverview added by tsickle
3771
+ * Generated from: lib/bank-transfer/components/bank-transfer.component.ts
3772
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3773
+ */
3774
+ var BankTransferComponent = /** @class */ (function () {
3775
+ function BankTransferComponent(bankTransferApi) {
3776
+ this.bankTransferApi = bankTransferApi;
3777
+ this.discountRate = 0.10; // Tasa de descuento (10% por defecto)
3778
+ // Descuento explícito desde el carrito
3779
+ this.statusPay = new EventEmitter();
3780
+ this.isLoading = false;
3781
+ this.errorMessage = '';
3782
+ this.submittedSuccessfully = false;
3783
+ this.amountCopied = false;
3784
+ // CUIT no se pide al usuario por ahora — se envía valor genérico
3785
+ this.paymentForm = new FormGroup({
3786
+ cuit: new FormControl('00000000000')
3787
+ });
3788
+ }
3789
+ Object.defineProperty(BankTransferComponent.prototype, "subtotalAmount", {
3790
+ // Calculados a partir de `amount` (que ya tiene el descuento aplicado)
3791
+ get:
3792
+ // Calculados a partir de `amount` (que ya tiene el descuento aplicado)
3793
+ /**
3794
+ * @return {?}
3795
+ */
3796
+ function () {
3797
+ if (this.discountAmountValue !== undefined && this.discountAmountValue !== null) {
3798
+ return this.amount + this.discountAmountValue;
3799
+ }
3800
+ return this.amount ? Math.round(this.amount / (1 - this.discountRate)) : 0;
3801
+ },
3802
+ enumerable: true,
3803
+ configurable: true
3804
+ });
3805
+ Object.defineProperty(BankTransferComponent.prototype, "discountAmount", {
3806
+ get: /**
3807
+ * @return {?}
3808
+ */
3809
+ function () {
3810
+ if (this.discountAmountValue !== undefined && this.discountAmountValue !== null) {
3811
+ return this.discountAmountValue;
3812
+ }
3813
+ return this.subtotalAmount - (this.amount || 0);
3814
+ },
3815
+ enumerable: true,
3816
+ configurable: true
3817
+ });
3818
+ /**
3819
+ * @return {?}
3820
+ */
3821
+ BankTransferComponent.prototype.ngOnInit = /**
3822
+ * @return {?}
3823
+ */
3824
+ function () { };
3825
+ /**
3826
+ * @param {?} text
3827
+ * @return {?}
3828
+ */
3829
+ BankTransferComponent.prototype.copyToClipboard = /**
3830
+ * @param {?} text
3831
+ * @return {?}
3832
+ */
3833
+ function (text) {
3834
+ navigator.clipboard.writeText(text).catch((/**
3835
+ * @return {?}
3836
+ */
3837
+ function () {
3838
+ /** @type {?} */
3839
+ var el = document.createElement('textarea');
3840
+ el.value = text;
3841
+ document.body.appendChild(el);
3842
+ el.select();
3843
+ document.execCommand('copy');
3844
+ document.body.removeChild(el);
3845
+ }));
3846
+ };
3847
+ /**
3848
+ * @return {?}
3849
+ */
3850
+ BankTransferComponent.prototype.copyAmount = /**
3851
+ * @return {?}
3852
+ */
3853
+ function () {
3854
+ var _this = this;
3855
+ /** @type {?} */
3856
+ var amountStr = this.amount ? this.amount.toFixed(2) : '0';
3857
+ this.copyToClipboard(amountStr);
3858
+ this.amountCopied = true;
3859
+ setTimeout((/**
3860
+ * @return {?}
3861
+ */
3862
+ function () { return _this.amountCopied = false; }), 2000);
3863
+ };
3864
+ /**
3865
+ * @return {?}
3866
+ */
3867
+ BankTransferComponent.prototype.onSubmit = /**
3868
+ * @return {?}
3869
+ */
3870
+ function () {
3871
+ var _this = this;
3872
+ if (this.submittedSuccessfully || this.isLoading)
3873
+ return;
3874
+ this.isLoading = true;
3875
+ this.errorMessage = '';
3876
+ /** @type {?} */
3877
+ var request = {
3878
+ cuit: '00000000000',
3879
+ // Valor genérico mientras no se pide al usuario
3880
+ checkoutId: this.checkoutId,
3881
+ checkoutAdditionalData: this.checkoutAdditionalData,
3882
+ storeName: this.storeName || 'Tienda VK',
3883
+ storeId: this.storeId
3884
+ };
3885
+ this.bankTransferApi.createPayment(this.accessToken, request, this.vkUrlApi).subscribe((/**
3886
+ * @param {?} response
3887
+ * @return {?}
3888
+ */
3889
+ function (response) {
3890
+ _this.isLoading = false;
3891
+ if (response && response.success) {
3892
+ _this.submittedSuccessfully = true;
3893
+ _this.statusPay.emit({
3894
+ success: true,
3895
+ paymentId: (response.data && response.data.bankTransferEcommId) ? response.data.bankTransferEcommId : '',
3896
+ integrator: 'BANK_TRANSFER'
3897
+ });
3898
+ }
3899
+ else {
3900
+ _this.errorMessage = (response.errorsMessages && response.errorsMessages.length > 0)
3901
+ ? response.errorsMessages[0]
3902
+ : 'Ocurrió un error al registrar la transferencia.';
3903
+ _this.statusPay.emit({
3904
+ success: false,
3905
+ paymentId: '',
3906
+ integrator: 'BANK_TRANSFER'
3907
+ });
3908
+ }
3909
+ }), (/**
3910
+ * @param {?} error
3911
+ * @return {?}
3912
+ */
3913
+ function (error) {
3914
+ _this.isLoading = false;
3915
+ _this.errorMessage = (error && error.error && error.error.errorsMessages && error.error.errorsMessages.length > 0)
3916
+ ? error.error.errorsMessages[0]
3917
+ : 'Ocurrió un error de conexión al registrar la transferencia.';
3918
+ _this.statusPay.emit({
3919
+ success: false,
3920
+ paymentId: '',
3921
+ integrator: 'BANK_TRANSFER'
3922
+ });
3923
+ console.error('Error BankTransferApiService:', error);
3924
+ }));
3925
+ };
3926
+ Object.defineProperty(BankTransferComponent.prototype, "cuitControl", {
3927
+ get: /**
3928
+ * @return {?}
3929
+ */
3930
+ function () {
3931
+ return this.paymentForm.get('cuit');
3932
+ },
3933
+ enumerable: true,
3934
+ configurable: true
3935
+ });
3936
+ BankTransferComponent.decorators = [
3937
+ { type: Component, args: [{
3938
+ selector: 'vk-bank-transfer',
3939
+ template: "<form\n [formGroup]=\"paymentForm\"\n (ngSubmit)=\"onSubmit()\"\n class=\"bt-payment\"\n id=\"formularioBT\"\n autocomplete=\"off\"\n>\n\n <!-- Datos bancarios -->\n <div class=\"bank-info-box\">\n <div class=\"bank-info-header\">\n <i class=\"material-icons\">account_balance</i>\n <span>Datos para la transferencia</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">tag</i>N\u00FAmero de cuenta</span>\n <span class=\"bank-info-value\">2-311972/1</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">qr_code</i>CBU</span>\n <span class=\"bank-info-value bank-info-copy\">\n <span class=\"bank-info-copy-text\">4150002012003119720013</span>\n <button class=\"copy-btn\" type=\"button\" title=\"Copiar CBU\" (click)=\"copyToClipboard('4150002012003119720013')\">\n <i class=\"material-icons\">content_copy</i>\n </button>\n </span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">alternate_email</i>Alias</span>\n <span class=\"bank-info-value bank-info-copy\">\n <span class=\"bank-info-copy-text\">reba.vitnik</span>\n <button class=\"copy-btn\" type=\"button\" title=\"Copiar alias\" (click)=\"copyToClipboard('reba.vitnik')\">\n <i class=\"material-icons\">content_copy</i>\n </button>\n </span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">badge</i>CUIT/CUIL</span>\n <span class=\"bank-info-value\">30708777893</span>\n </div>\n <div class=\"bank-info-row\">\n <span class=\"bank-info-label\"><i class=\"material-icons\">attach_money</i>Moneda</span>\n <span class=\"bank-info-value\">Peso Argentino</span>\n </div>\n </div>\n\n <!-- Resumen con desglose del descuento -->\n <div class=\"summary-box\">\n <div class=\"summary-row\">\n <span class=\"summary-label\">Subtotal</span>\n <span class=\"summary-value\">${{ subtotalAmount | number:'1.2-2' }}</span>\n </div>\n <div class=\"summary-row discount\">\n <span class=\"summary-label\">\n <i class=\"material-icons\">local_offer</i>\n Descuento transferencia ({{ discountRate * 100 | number:'1.0-0' }}%)\n </span>\n <span class=\"summary-value discount-value\">-${{ discountAmount | number:'1.2-2' }}</span>\n </div>\n <div class=\"summary-row total\">\n <span class=\"summary-label\">Total a transferir</span>\n <span class=\"summary-value total-value\">\n ${{ amount | number:'1.2-2' }}\n <button\n class=\"copy-btn copy-amount-btn\"\n type=\"button\"\n [title]=\"amountCopied ? 'Copiado!' : 'Copiar monto'\"\n (click)=\"copyAmount()\"\n >\n <i class=\"material-icons\">{{ amountCopied ? 'check' : 'content_copy' }}</i>\n </button>\n </span>\n </div>\n </div>\n\n <!-- Leyenda de monto exacto -->\n <div class=\"exact-amount-notice\">\n <i class=\"material-icons notice-icon\">info</i>\n <p>\n <strong>\u00A1Ya casi es tuyo!</strong> Para que podamos procesar tu pedido sin demoras,\n asegurate de que el importe de la transferencia sea <strong>id\u00E9ntico</strong> al total indicado arriba.\n </p>\n </div>\n\n <!-- Error devuelto por la API -->\n <div class=\"pay-message error\" *ngIf=\"errorMessage && !isLoading\">\n <i class=\"material-icons\">error</i>\n <p>{{ errorMessage }}</p>\n </div>\n\n <!-- Loading -->\n <div *ngIf=\"isLoading\" class=\"pay-message info\">\n <i class=\"material-icons\">info</i>\n <p>Procesando informaci\u00F3n de transferencia...</p>\n </div>\n\n <!-- Bot\u00F3n confirmar (oculto tras \u00E9xito) -->\n <div *ngIf=\"!submittedSuccessfully\">\n <button type=\"submit\" [disabled]=\"paymentForm.invalid || isLoading\">\n Confirmar Transferencia\n </button>\n </div>\n\n</form>\n",
3940
+ styles: [".bt-payment{background-color:transparent;font-family:inherit,sans-serif;padding:0 12px}.bt-payment p.description{font-size:16px;color:#888;margin-bottom:5px}.bt-payment .bank-info-box{border:1px solid #c8e0f0;border-radius:8px;overflow:hidden;margin-bottom:18px}.bt-payment .bank-info-box .bank-info-header{display:flex;align-items:center;gap:8px;background-color:#009ee3;color:#fff;padding:10px 14px;font-size:18px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.bt-payment .bank-info-box .bank-info-header i.material-icons{font-size:18px}.bt-payment .bank-info-box .bank-info-row{display:flex;justify-content:space-between;align-items:center;font-size:18px;padding:8px 14px;background-color:#fff;border-bottom:1px solid #eef3f7}.bt-payment .bank-info-box .bank-info-row:last-child{border-bottom:none}.bt-payment .bank-info-box .bank-info-label{display:flex;align-items:center;gap:6px;color:#777;flex-shrink:0;margin-right:8px}.bt-payment .bank-info-box .bank-info-label i.material-icons{font-size:15px;color:#009ee3}.bt-payment .bank-info-box .bank-info-value{font-weight:600;color:#1a1a1a;text-align:right}.bt-payment .bank-info-box .bank-info-value.bank-info-copy{display:flex;align-items:center;gap:4px}.bt-payment .bank-info-box .bank-info-value .bank-info-copy-text{font-family:\"Courier New\",monospace;font-size:18px;letter-spacing:.3px}.bt-payment .bank-info-box .copy-btn{background:0 0;border:none;cursor:pointer;padding:2px 4px;border-radius:4px;color:#009ee3;display:flex;align-items:center;margin-top:0;width:auto;min-width:unset}.bt-payment .bank-info-box .copy-btn i.material-icons{font-size:16px}.bt-payment .bank-info-box .copy-btn:hover{background-color:#e8f4fb}.bt-payment .bank-info-box .copy-btn:disabled{background-color:transparent;cursor:default}.bt-payment .summary-box{margin:20px 0;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.bt-payment .summary-box .summary-row{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;font-size:16px;background-color:#fff;border-bottom:1px solid #f0f0f0}.bt-payment .summary-box .summary-row:last-child{border-bottom:none}.bt-payment .summary-box .summary-row .summary-label{display:flex;align-items:center;gap:6px;color:#555}.bt-payment .summary-box .summary-row .summary-label i.material-icons{font-size:14px}.bt-payment .summary-box .summary-row .summary-value{font-weight:600;color:#1a1a1a;display:flex;align-items:center;gap:6px}.bt-payment .summary-box .summary-row.discount{background-color:#f0fdf4}.bt-payment .summary-box .summary-row.discount .summary-label{color:#16a34a;font-weight:500}.bt-payment .summary-box .summary-row.discount .summary-label i.material-icons{color:#16a34a}.bt-payment .summary-box .summary-row.discount .discount-value{color:#16a34a;font-weight:700}.bt-payment .summary-box .summary-row.total{background-color:#f8f9fa;border-top:2px solid #009ee3}.bt-payment .summary-box .summary-row.total .summary-label{font-size:17px;font-weight:700;color:#1a1a1a}.bt-payment .summary-box .summary-row.total .total-value{font-size:20px;font-weight:800;color:#009ee3}.bt-payment .summary-box .copy-amount-btn{background:0 0;border:1px solid #009ee3;border-radius:6px;cursor:pointer;padding:2px 6px;color:#009ee3;display:flex;align-items:center;width:auto;min-width:unset;margin-top:0;transition:background-color .2s}.bt-payment .summary-box .copy-amount-btn i.material-icons{font-size:16px}.bt-payment .summary-box .copy-amount-btn:hover{background-color:#e8f4fb}.bt-payment .exact-amount-notice{display:flex;align-items:flex-start;gap:10px;background-color:#fffbeb;border:1px solid #fcd34d;border-radius:8px;padding:12px 14px;margin-bottom:20px}.bt-payment .exact-amount-notice .notice-icon{font-size:20px;color:#d97706;flex-shrink:0;margin-top:2px}.bt-payment .exact-amount-notice p{font-size:14px;color:#78350f;margin:0;line-height:1.5}.bt-payment .formRow{margin-top:10px;display:none}.bt-payment .formRow label{font-size:16px;color:#888}.bt-payment .formRow span{background-color:#fff;border:.5px solid #707070;border-radius:2px;padding:2px 10px;display:block;margin-top:4px}.bt-payment .formRow span input[type=text]{background:0 0;border:none;color:#000;font-size:16px;height:23px;width:100%;text-transform:uppercase;vertical-align:top;padding:0;margin:0}.bt-payment .formRow span input[type=text]:focus{outline:0}.bt-payment .alert-text{font-size:16px;color:#009ee3;margin-top:7px;margin-bottom:0}.bt-payment button[type=submit]{background-color:#009ee3;color:#fff;font-size:18px;text-align:center;padding:10px 0;width:100%;border:none;border-radius:20px;margin-top:20px;cursor:pointer}.bt-payment button[type=submit]:disabled{background-color:#525252;cursor:not-allowed}.bt-payment .pay-message{margin-top:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;border-radius:8px}.bt-payment .pay-message p{font-size:1.1rem;text-align:center;line-height:130%;margin-bottom:10px}.bt-payment .pay-message i.material-icons{font-size:2rem;margin-bottom:5px}.bt-payment .success{background-color:#dff2bf;color:#4f8a10}.bt-payment .error{color:#d8000c;background-color:#ffd2d2}.bt-payment .info{color:#00529b;background-color:#bde5f8}:focus{outline:0}"]
3941
+ }] }
3942
+ ];
3943
+ /** @nocollapse */
3944
+ BankTransferComponent.ctorParameters = function () { return [
3945
+ { type: BankTransferApiService }
3946
+ ]; };
3947
+ BankTransferComponent.propDecorators = {
3948
+ accessToken: [{ type: Input }],
3949
+ vkUrlApi: [{ type: Input }],
3950
+ amount: [{ type: Input }],
3951
+ storeId: [{ type: Input }],
3952
+ storeName: [{ type: Input }],
3953
+ checkoutId: [{ type: Input }],
3954
+ checkoutAdditionalData: [{ type: Input }],
3955
+ discountRate: [{ type: Input }],
3956
+ discountAmountValue: [{ type: Input }],
3957
+ statusPay: [{ type: Output }]
3958
+ };
3959
+ return BankTransferComponent;
3960
+ }());
3961
+ if (false) {
3962
+ /** @type {?} */
3963
+ BankTransferComponent.prototype.accessToken;
3964
+ /** @type {?} */
3965
+ BankTransferComponent.prototype.vkUrlApi;
3966
+ /** @type {?} */
3967
+ BankTransferComponent.prototype.amount;
3968
+ /** @type {?} */
3969
+ BankTransferComponent.prototype.storeId;
3970
+ /** @type {?} */
3971
+ BankTransferComponent.prototype.storeName;
3972
+ /** @type {?} */
3973
+ BankTransferComponent.prototype.checkoutId;
3974
+ /** @type {?} */
3975
+ BankTransferComponent.prototype.checkoutAdditionalData;
3976
+ /** @type {?} */
3977
+ BankTransferComponent.prototype.discountRate;
3978
+ /** @type {?} */
3979
+ BankTransferComponent.prototype.discountAmountValue;
3980
+ /** @type {?} */
3981
+ BankTransferComponent.prototype.statusPay;
3982
+ /** @type {?} */
3983
+ BankTransferComponent.prototype.paymentForm;
3984
+ /** @type {?} */
3985
+ BankTransferComponent.prototype.isLoading;
3986
+ /** @type {?} */
3987
+ BankTransferComponent.prototype.errorMessage;
3988
+ /** @type {?} */
3989
+ BankTransferComponent.prototype.submittedSuccessfully;
3990
+ /** @type {?} */
3991
+ BankTransferComponent.prototype.amountCopied;
3992
+ /**
3993
+ * @type {?}
3994
+ * @private
3995
+ */
3996
+ BankTransferComponent.prototype.bankTransferApi;
3997
+ }
3998
+
3999
+ /**
4000
+ * @fileoverview added by tsickle
4001
+ * Generated from: lib/bank-transfer/bank-transfer.module.ts
4002
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4003
+ */
4004
+ var BankTransferModule = /** @class */ (function () {
4005
+ function BankTransferModule() {
4006
+ }
4007
+ BankTransferModule.decorators = [
4008
+ { type: NgModule, args: [{
4009
+ declarations: [
4010
+ BankTransferComponent
4011
+ ],
4012
+ imports: [
4013
+ CommonModule,
4014
+ FormsModule,
4015
+ ReactiveFormsModule,
4016
+ HttpClientModule
4017
+ ],
4018
+ exports: [
4019
+ BankTransferComponent
4020
+ ],
4021
+ providers: [
4022
+ BankTransferApiService
4023
+ ]
4024
+ },] }
4025
+ ];
4026
+ return BankTransferModule;
4027
+ }());
4028
+
3717
4029
  /**
3718
4030
  * @fileoverview added by tsickle
3719
4031
  * Generated from: lib/galicia/services/galicia.api.service.ts
@@ -4002,7 +4314,6 @@ var GaliciaComponent = /** @class */ (function () {
4002
4314
  * @return {?}
4003
4315
  */
4004
4316
  function (response) {
4005
- console.log(response);
4006
4317
  if (!response.success) {
4007
4318
  this.isLoading = false;
4008
4319
  this.statusPay.emit(this.paymentResult);
@@ -4196,6 +4507,7 @@ var LIB_MODULES = [
4196
4507
  SpsDecidirModule,
4197
4508
  PaypalModule,
4198
4509
  GoCuotasModule,
4510
+ BankTransferModule,
4199
4511
  ModoModule,
4200
4512
  GaliciaModule
4201
4513
  ];
@@ -4224,5 +4536,5 @@ var VkPaymentsModule = /** @class */ (function () {
4224
4536
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4225
4537
  */
4226
4538
 
4227
- export { VkPaymentsModule, MercadopagoModule as ɵa, MercadoPagoComponent as ɵb, MercadopagoApiService as ɵc, PromotionBankComponent as ɵd, SpsDecidirModule as ɵe, SpsDecidirComponent as ɵf, SpsDecidirApiService as ɵg, PaypalModule as ɵh, PayPalNewComponent as ɵi, GoCuotasModule as ɵj, GoCuotasComponent as ɵk, ModalComponent as ɵl, GoCuotasApiService as ɵm, ModoModule as ɵn, ModoComponent as ɵo, ModoApiService as ɵp, GaliciaModule as ɵq, GaliciaComponent as ɵr, GaliciaApiService as ɵs };
4539
+ export { VkPaymentsModule, MercadopagoModule as ɵa, MercadoPagoComponent as ɵb, MercadopagoApiService as ɵc, PromotionBankComponent as ɵd, SpsDecidirModule as ɵe, SpsDecidirComponent as ɵf, SpsDecidirApiService as ɵg, PaypalModule as ɵh, PayPalNewComponent as ɵi, GoCuotasModule as ɵj, GoCuotasComponent as ɵk, ModalComponent as ɵl, GoCuotasApiService as ɵm, BankTransferModule as ɵn, BankTransferComponent as ɵo, BankTransferApiService as ɵp, ModoModule as ɵq, ModoComponent as ɵr, ModoApiService as ɵs, GaliciaModule as ɵt, GaliciaComponent as ɵu, GaliciaApiService as ɵv };
4228
4540
  //# sourceMappingURL=vk-payments.js.map