@volo/abp.ng.payment 10.5.0 → 10.6.0-rc.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.
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-admin.mjs +78 -78
- package/fesm2022/volo-abp.ng.payment-admin.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-proxy.mjs +21 -21
- package/fesm2022/volo-abp.ng.payment-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment.mjs +125 -85
- package/fesm2022/volo-abp.ng.payment.mjs.map +1 -1
- package/package.json +4 -4
- package/types/volo-abp.ng.payment-admin.d.ts +10 -14
|
@@ -17,10 +17,12 @@ import { of } from 'rxjs';
|
|
|
17
17
|
|
|
18
18
|
class GatewayOptionsComponent {
|
|
19
19
|
constructor() {
|
|
20
|
-
this.paymentType = input(
|
|
20
|
+
this.paymentType = input(/* @ts-ignore */
|
|
21
|
+
...(ngDevMode ? [undefined, { debugName: "paymentType" }] : /* istanbul ignore next */ []));
|
|
21
22
|
this.gatewayService = inject(GatewayService);
|
|
22
23
|
this.destroyRef = inject(DestroyRef);
|
|
23
|
-
this.gateways = signal([],
|
|
24
|
+
this.gateways = signal([], /* @ts-ignore */
|
|
25
|
+
...(ngDevMode ? [{ debugName: "gateways" }] : /* istanbul ignore next */ []));
|
|
24
26
|
this.onChange = () => { };
|
|
25
27
|
this.onTouched = () => { };
|
|
26
28
|
effect(() => {
|
|
@@ -60,8 +62,8 @@ class GatewayOptionsComponent {
|
|
|
60
62
|
this.onChange(value);
|
|
61
63
|
this.onTouched();
|
|
62
64
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: GatewayOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: GatewayOptionsComponent, isStandalone: true, selector: "abp-gateway-options", inputs: { paymentType: { classPropertyName: "paymentType", publicName: "paymentType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
65
67
|
{
|
|
66
68
|
provide: NG_VALUE_ACCESSOR,
|
|
67
69
|
useExisting: forwardRef(() => GatewayOptionsComponent),
|
|
@@ -91,9 +93,9 @@ class GatewayOptionsComponent {
|
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
</div>
|
|
94
|
-
`, isInline: true, styles: [".list-container{min-height:6rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
96
|
+
`, isInline: true, styles: [".list-container{min-height:6rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio]:not([ngNoCva])[formControlName],input[type=radio]:not([ngNoCva])[formControl],input[type=radio]:not([ngNoCva])[ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
95
97
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: GatewayOptionsComponent, decorators: [{
|
|
97
99
|
type: Component,
|
|
98
100
|
args: [{ selector: 'abp-gateway-options', template: `
|
|
99
101
|
<div class="list-container d-flex flex-wrap row-gap-2">
|
|
@@ -133,8 +135,10 @@ class GatewaysSelectionComponent {
|
|
|
133
135
|
this.route = inject(ActivatedRoute);
|
|
134
136
|
this.router = inject(Router);
|
|
135
137
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
136
|
-
this.paymentRequest = signal(null,
|
|
137
|
-
|
|
138
|
+
this.paymentRequest = signal(null, /* @ts-ignore */
|
|
139
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
140
|
+
this.paymentType = signal(null, /* @ts-ignore */
|
|
141
|
+
...(ngDevMode ? [{ debugName: "paymentType" }] : /* istanbul ignore next */ []));
|
|
138
142
|
}
|
|
139
143
|
ngOnInit() {
|
|
140
144
|
const paymentRequestId = this.route.snapshot.queryParams['paymentRequestId'];
|
|
@@ -151,10 +155,10 @@ class GatewaysSelectionComponent {
|
|
|
151
155
|
},
|
|
152
156
|
});
|
|
153
157
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: GatewaysSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
159
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: GatewaysSelectionComponent, isStandalone: true, selector: "abp-gateway-selection", ngImport: i0, template: "<abp-page>\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3\">\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">Select a Payment Gateway</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n <abp-gateway-options [(ngModel)]=\"selectedGateway\" [paymentType]=\"paymentType()\" />\r\n </abp-card-body>\r\n <abp-card-footer>\r\n <div class=\"d-flex flex-column mt-8\">\r\n <button class=\"btn btn-success btn-lg\" [disabled]=\"!selectedGateway || !paymentRequest\" (click)=\"redirectToPrepayment()\">\r\n Continue to Checkout ->\r\n </button>\r\n <p class=\"mt-2 mb-1 text-muted text-center\">\r\n <small><i class=\"fas fa-circle-info\"></i>Next, you will be redirected to the selected payment gateway's website for the transaction\r\n </small>\r\n </p>\r\n </div>\r\n </abp-card-footer>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: GatewayOptionsComponent, selector: "abp-gateway-options", inputs: ["paymentType"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardFooterComponent, selector: "abp-card-footer", inputs: ["cardFooterStyle", "cardFooterClass"] }, { kind: "component", type: CardHeaderComponent, selector: "abp-card-header", inputs: ["cardHeaderClass", "cardHeaderStyle"] }] }); }
|
|
156
160
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: GatewaysSelectionComponent, decorators: [{
|
|
158
162
|
type: Component,
|
|
159
163
|
args: [{ selector: 'abp-gateway-selection', imports: [
|
|
160
164
|
PageComponent,
|
|
@@ -183,9 +187,12 @@ class PostPaymentBaseComponent {
|
|
|
183
187
|
this.route = inject(ActivatedRoute);
|
|
184
188
|
this.router = inject(Router);
|
|
185
189
|
this.destroyRef = inject(DestroyRef);
|
|
186
|
-
this.isCompleting = signal(false,
|
|
187
|
-
|
|
188
|
-
this.
|
|
190
|
+
this.isCompleting = signal(false, /* @ts-ignore */
|
|
191
|
+
...(ngDevMode ? [{ debugName: "isCompleting" }] : /* istanbul ignore next */ []));
|
|
192
|
+
this.paymentRequest = signal(null, /* @ts-ignore */
|
|
193
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
194
|
+
this.errorMessage = signal('', /* @ts-ignore */
|
|
195
|
+
...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
189
196
|
}
|
|
190
197
|
ngOnInit() {
|
|
191
198
|
this.completePayment();
|
|
@@ -249,10 +256,10 @@ class PostPaymentBaseComponent {
|
|
|
249
256
|
},
|
|
250
257
|
});
|
|
251
258
|
}
|
|
252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
253
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
260
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: PostPaymentBaseComponent, isStandalone: true, ngImport: i0 }); }
|
|
254
261
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentBaseComponent, decorators: [{
|
|
256
263
|
type: Directive,
|
|
257
264
|
args: [{}]
|
|
258
265
|
}] });
|
|
@@ -264,10 +271,10 @@ class PostPaymentComponent extends PostPaymentBaseComponent {
|
|
|
264
271
|
shouldSkipCompletion(gateway) {
|
|
265
272
|
return gateway === eGatewaysType.iyzico;
|
|
266
273
|
}
|
|
267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
275
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: PostPaymentComponent, isStandalone: true, selector: "abp-post-payment", usesInheritance: true, ngImport: i0, template: "<abp-page>\r\n <div class=\"row justify-content-center align-items-center\" style=\"min-height: 60vh\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <abp-card>\r\n <abp-card-body class=\"text-center py-5\">\r\n <div class=\"mb-4\">\r\n <i class=\"fa fa-check-circle text-success fa-5x\"></i>\r\n </div>\r\n <h2 class=\"h3 mb-0\">Payment Success</h2>\r\n </abp-card-body>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
269
276
|
}
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentComponent, decorators: [{
|
|
271
278
|
type: Component,
|
|
272
279
|
args: [{ selector: 'abp-post-payment', imports: [PageComponent, CardComponent, CardBodyComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-page>\r\n <div class=\"row justify-content-center align-items-center\" style=\"min-height: 60vh\">\r\n <div class=\"col-12 col-md-6 col-lg-4\">\r\n <abp-card>\r\n <abp-card-body class=\"text-center py-5\">\r\n <div class=\"mb-4\">\r\n <i class=\"fa fa-check-circle text-success fa-5x\"></i>\r\n </div>\r\n <h2 class=\"h3 mb-0\">Payment Success</h2>\r\n </abp-card-body>\r\n </abp-card>\r\n </div>\r\n </div>\r\n</abp-page>\r\n" }]
|
|
273
280
|
}] });
|
|
@@ -425,7 +432,8 @@ class PostPaymentHostComponent {
|
|
|
425
432
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
426
433
|
this.route = inject(ActivatedRoute);
|
|
427
434
|
this.replaceableComponents = inject(ReplaceableComponentsService);
|
|
428
|
-
this.componentRef = signal(undefined,
|
|
435
|
+
this.componentRef = signal(undefined, /* @ts-ignore */
|
|
436
|
+
...(ngDevMode ? [{ debugName: "componentRef" }] : /* istanbul ignore next */ []));
|
|
429
437
|
}
|
|
430
438
|
ngOnInit() {
|
|
431
439
|
this.loadPostPaymentComponent();
|
|
@@ -457,10 +465,10 @@ class PostPaymentHostComponent {
|
|
|
457
465
|
this.componentRef().destroy();
|
|
458
466
|
}
|
|
459
467
|
}
|
|
460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
461
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
469
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: PostPaymentHostComponent, isStandalone: true, selector: "abp-post-payment-router", ngImport: i0, template: '', isInline: true }); }
|
|
462
470
|
}
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PostPaymentHostComponent, decorators: [{
|
|
464
472
|
type: Component,
|
|
465
473
|
args: [{
|
|
466
474
|
selector: 'abp-post-payment-router',
|
|
@@ -470,10 +478,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
470
478
|
|
|
471
479
|
class PrepaymentProgressComponent {
|
|
472
480
|
constructor() {
|
|
473
|
-
this.gateway = input(
|
|
481
|
+
this.gateway = input(/* @ts-ignore */
|
|
482
|
+
...(ngDevMode ? [undefined, { debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
474
483
|
}
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
476
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
484
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrepaymentProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
485
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: PrepaymentProgressComponent, isStandalone: true, selector: "abp-prepayment-progress", inputs: { gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
477
486
|
<div class="row justify-content-center align-items-center" style="min-height: 60vh">
|
|
478
487
|
<div class="col-12">
|
|
479
488
|
<abp-card>
|
|
@@ -490,7 +499,7 @@ class PrepaymentProgressComponent {
|
|
|
490
499
|
</div>
|
|
491
500
|
`, isInline: true, dependencies: [{ kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
492
501
|
}
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrepaymentProgressComponent, decorators: [{
|
|
494
503
|
type: Component,
|
|
495
504
|
args: [{
|
|
496
505
|
selector: 'abp-prepayment-progress',
|
|
@@ -516,8 +525,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
516
525
|
}], propDecorators: { gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
517
526
|
|
|
518
527
|
class PrePaymentLayoutComponent {
|
|
519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
520
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrePaymentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
529
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: PrePaymentLayoutComponent, isStandalone: true, selector: "abp-prepayment-layout", ngImport: i0, template: `
|
|
521
530
|
<abp-page>
|
|
522
531
|
<div class="row">
|
|
523
532
|
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
|
|
@@ -527,7 +536,7 @@ class PrePaymentLayoutComponent {
|
|
|
527
536
|
</abp-page>
|
|
528
537
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }] }); }
|
|
529
538
|
}
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrePaymentLayoutComponent, decorators: [{
|
|
531
540
|
type: Component,
|
|
532
541
|
args: [{
|
|
533
542
|
selector: 'abp-prepayment-layout',
|
|
@@ -547,10 +556,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
547
556
|
|
|
548
557
|
class StripePrepaymentComponent {
|
|
549
558
|
constructor() {
|
|
550
|
-
this.baseUrl = input('',
|
|
551
|
-
|
|
552
|
-
this.
|
|
553
|
-
|
|
559
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
560
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
561
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
562
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
563
|
+
this.gateway = input('', /* @ts-ignore */
|
|
564
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
565
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
566
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
554
567
|
this.document = inject(DOCUMENT);
|
|
555
568
|
this.platformId = inject(PLATFORM_ID);
|
|
556
569
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -612,20 +625,24 @@ class StripePrepaymentComponent {
|
|
|
612
625
|
console.error('Stripe script loaded successfully but window.Stripe object cannot found');
|
|
613
626
|
}
|
|
614
627
|
}
|
|
615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
616
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: StripePrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
629
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: StripePrepaymentComponent, isStandalone: true, selector: "abp-stripe-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
617
630
|
}
|
|
618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: StripePrepaymentComponent, decorators: [{
|
|
619
632
|
type: Component,
|
|
620
633
|
args: [{ selector: 'abp-stripe-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n\r\n" }]
|
|
621
634
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
622
635
|
|
|
623
636
|
class PayPalPrepaymentComponent {
|
|
624
637
|
constructor() {
|
|
625
|
-
this.baseUrl = input('',
|
|
626
|
-
|
|
627
|
-
this.
|
|
628
|
-
|
|
638
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
639
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
640
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
641
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
642
|
+
this.gateway = input('', /* @ts-ignore */
|
|
643
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
644
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
645
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
629
646
|
this.document = inject(DOCUMENT);
|
|
630
647
|
this.platformId = inject(PLATFORM_ID);
|
|
631
648
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -655,20 +672,24 @@ class PayPalPrepaymentComponent {
|
|
|
655
672
|
}
|
|
656
673
|
});
|
|
657
674
|
}
|
|
658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PayPalPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
676
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: PayPalPrepaymentComponent, isStandalone: true, selector: "abp-paypal-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
660
677
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PayPalPrepaymentComponent, decorators: [{
|
|
662
679
|
type: Component,
|
|
663
680
|
args: [{ selector: 'abp-paypal-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
664
681
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
665
682
|
|
|
666
683
|
class PayuPrepaymentComponent {
|
|
667
684
|
constructor() {
|
|
668
|
-
this.baseUrl = input('',
|
|
669
|
-
|
|
670
|
-
this.
|
|
671
|
-
|
|
685
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
686
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
687
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
688
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
689
|
+
this.gateway = input('', /* @ts-ignore */
|
|
690
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
691
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
692
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
672
693
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
673
694
|
this.document = inject(DOCUMENT);
|
|
674
695
|
this.platformId = inject(PLATFORM_ID);
|
|
@@ -713,10 +734,10 @@ class PayuPrepaymentComponent {
|
|
|
713
734
|
form.submit();
|
|
714
735
|
}
|
|
715
736
|
}
|
|
716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
717
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
737
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PayuPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
738
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: PayuPrepaymentComponent, isStandalone: true, selector: "abp-payu-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
718
739
|
}
|
|
719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PayuPrepaymentComponent, decorators: [{
|
|
720
741
|
type: Component,
|
|
721
742
|
args: [{ selector: 'abp-payu-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
722
743
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -724,12 +745,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
724
745
|
class IyzicoPrepaymentComponent {
|
|
725
746
|
#injector;
|
|
726
747
|
constructor() {
|
|
727
|
-
this.baseUrl = input('',
|
|
728
|
-
|
|
729
|
-
this.
|
|
730
|
-
|
|
731
|
-
this.
|
|
732
|
-
|
|
748
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
749
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
750
|
+
this.apiUrl = input('', /* @ts-ignore */
|
|
751
|
+
...(ngDevMode ? [{ debugName: "apiUrl" }] : /* istanbul ignore next */ []));
|
|
752
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
753
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
754
|
+
this.gateway = input('', /* @ts-ignore */
|
|
755
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
756
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
757
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
758
|
+
this.prepaymentForm = signal(null, /* @ts-ignore */
|
|
759
|
+
...(ngDevMode ? [{ debugName: "prepaymentForm" }] : /* istanbul ignore next */ []));
|
|
733
760
|
this.selectedRecord = {};
|
|
734
761
|
this.#injector = inject(Injector);
|
|
735
762
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -780,15 +807,15 @@ class IyzicoPrepaymentComponent {
|
|
|
780
807
|
}
|
|
781
808
|
});
|
|
782
809
|
}
|
|
783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
784
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
810
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: IyzicoPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
811
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: IyzicoPrepaymentComponent, isStandalone: true, selector: "abp-iyzico-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, apiUrl: { classPropertyName: "apiUrl", publicName: "apiUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
785
812
|
{
|
|
786
813
|
provide: EXTENSIONS_IDENTIFIER,
|
|
787
814
|
useValue: "Payment.Iyzico.PrepaymentForm" /* ePaymentComponents.IyzicoPrepaymentForm */,
|
|
788
815
|
},
|
|
789
|
-
], ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">You will pay with Iyzico</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n @if (prepaymentForm(); as form) {\r\n <form [formGroup]=\"form\" (ngSubmit)=\"startPayment()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button
|
|
816
|
+
], ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">You will pay with Iyzico</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n @if (prepaymentForm(); as form) {\r\n <form [formGroup]=\"form\" (ngSubmit)=\"startPayment()\" [validateOnSubmit]=\"true\">\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-success w-100\"\r\n [abpLoading]=\"prePaymentInProgress()\"\r\n [disabled]=\"form.invalid || prePaymentInProgress()\"\r\n >\r\n <span>{{ 'Continue to Checkout' | abpLocalization }}</span>\r\n <i class=\"fas fa-arrow-right ms-1\" aria-hidden=\"true\"></i>\r\n </button>\r\n </abp-card-footer>\r\n </form>\r\n }\r\n </abp-card-body>\r\n </abp-card>\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: CardComponent, selector: "abp-card", inputs: ["cardClass", "cardStyle"] }, { kind: "component", type: CardBodyComponent, selector: "abp-card-body", inputs: ["cardBodyClass", "cardBodyStyle"] }, { kind: "component", type: CardFooterComponent, selector: "abp-card-footer", inputs: ["cardFooterStyle", "cardFooterClass"] }, { kind: "directive", type: CardHeaderDirective, selector: "abp-card-header, [abp-card-header], [abpCardHeader]" }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "directive", type: LoadingDirective, selector: "[abpLoading]", inputs: ["abpLoading", "abpLoadingTargetElement", "abpLoadingDelay"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
790
817
|
}
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: IyzicoPrepaymentComponent, decorators: [{
|
|
792
819
|
type: Component,
|
|
793
820
|
args: [{ selector: 'abp-iyzico-prepayment', imports: [
|
|
794
821
|
ReactiveFormsModule,
|
|
@@ -806,15 +833,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
806
833
|
provide: EXTENSIONS_IDENTIFIER,
|
|
807
834
|
useValue: "Payment.Iyzico.PrepaymentForm" /* ePaymentComponents.IyzicoPrepaymentForm */,
|
|
808
835
|
},
|
|
809
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">You will pay with Iyzico</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n @if (prepaymentForm(); as form) {\r\n <form [formGroup]=\"form\" (ngSubmit)=\"startPayment()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button
|
|
836
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-card>\r\n <abp-card-header>\r\n <h4 class=\"text-center\">You will pay with Iyzico</h4>\r\n </abp-card-header>\r\n <abp-card-body>\r\n @if (prepaymentForm(); as form) {\r\n <form [formGroup]=\"form\" (ngSubmit)=\"startPayment()\" [validateOnSubmit]=\"true\">\r\n <abp-extensible-form [selectedRecord]=\"selectedRecord\" />\r\n <abp-card-footer>\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-success w-100\"\r\n [abpLoading]=\"prePaymentInProgress()\"\r\n [disabled]=\"form.invalid || prePaymentInProgress()\"\r\n >\r\n <span>{{ 'Continue to Checkout' | abpLocalization }}</span>\r\n <i class=\"fas fa-arrow-right ms-1\" aria-hidden=\"true\"></i>\r\n </button>\r\n </abp-card-footer>\r\n </form>\r\n }\r\n </abp-card-body>\r\n </abp-card>\r\n</abp-prepayment-layout>\r\n" }]
|
|
810
837
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], apiUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "apiUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
811
838
|
|
|
812
839
|
class TwocheckoutPrepaymentComponent {
|
|
813
840
|
constructor() {
|
|
814
|
-
this.baseUrl = input('',
|
|
815
|
-
|
|
816
|
-
this.
|
|
817
|
-
|
|
841
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
842
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
843
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
844
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
845
|
+
this.gateway = input('', /* @ts-ignore */
|
|
846
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
847
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
848
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
818
849
|
this.document = inject(DOCUMENT);
|
|
819
850
|
this.platformId = inject(PLATFORM_ID);
|
|
820
851
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -844,20 +875,24 @@ class TwocheckoutPrepaymentComponent {
|
|
|
844
875
|
}
|
|
845
876
|
});
|
|
846
877
|
}
|
|
847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: TwocheckoutPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
879
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: TwocheckoutPrepaymentComponent, isStandalone: true, selector: "abp-twocheckout-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
849
880
|
}
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: TwocheckoutPrepaymentComponent, decorators: [{
|
|
851
882
|
type: Component,
|
|
852
883
|
args: [{ selector: 'abp-twocheckout-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
853
884
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
854
885
|
|
|
855
886
|
class AlipayPrepaymentComponent {
|
|
856
887
|
constructor() {
|
|
857
|
-
this.baseUrl = input('',
|
|
858
|
-
|
|
859
|
-
this.
|
|
860
|
-
|
|
888
|
+
this.baseUrl = input('', /* @ts-ignore */
|
|
889
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
890
|
+
this.paymentRequest = input(null, /* @ts-ignore */
|
|
891
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
892
|
+
this.gateway = input('', /* @ts-ignore */
|
|
893
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
894
|
+
this.prePaymentInProgress = signal(false, /* @ts-ignore */
|
|
895
|
+
...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
861
896
|
this.document = inject(DOCUMENT);
|
|
862
897
|
this.platformId = inject(PLATFORM_ID);
|
|
863
898
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -887,10 +922,10 @@ class AlipayPrepaymentComponent {
|
|
|
887
922
|
}
|
|
888
923
|
});
|
|
889
924
|
}
|
|
890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
891
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
925
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AlipayPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
926
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: AlipayPrepaymentComponent, isStandalone: true, selector: "abp-alipay-prepayment", inputs: { baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, paymentRequest: { classPropertyName: "paymentRequest", publicName: "paymentRequest", isSignal: true, isRequired: false, transformFunction: null }, gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n", dependencies: [{ kind: "component", type: PrepaymentProgressComponent, selector: "abp-prepayment-progress", inputs: ["gateway"] }, { kind: "component", type: PrePaymentLayoutComponent, selector: "abp-prepayment-layout" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
892
927
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AlipayPrepaymentComponent, decorators: [{
|
|
894
929
|
type: Component,
|
|
895
930
|
args: [{ selector: 'abp-alipay-prepayment', imports: [PrepaymentProgressComponent, PrePaymentLayoutComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-prepayment-layout>\r\n <abp-prepayment-progress [gateway]=\"gateway()\" />\r\n</abp-prepayment-layout>\r\n" }]
|
|
896
931
|
}], ctorParameters: () => [], propDecorators: { baseUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseUrl", required: false }] }], paymentRequest: [{ type: i0.Input, args: [{ isSignal: true, alias: "paymentRequest", required: false }] }], gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
@@ -902,11 +937,16 @@ class PrepaymentHostComponent {
|
|
|
902
937
|
this.replaceableComponents = inject(ReplaceableComponentsService);
|
|
903
938
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
904
939
|
this.environmentService = inject(EnvironmentService);
|
|
905
|
-
this.componentRef = signal(undefined,
|
|
906
|
-
|
|
907
|
-
this.
|
|
908
|
-
|
|
909
|
-
this.
|
|
940
|
+
this.componentRef = signal(undefined, /* @ts-ignore */
|
|
941
|
+
...(ngDevMode ? [{ debugName: "componentRef" }] : /* istanbul ignore next */ []));
|
|
942
|
+
this.gateway = signal(null, /* @ts-ignore */
|
|
943
|
+
...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
944
|
+
this.baseUrl = signal(null, /* @ts-ignore */
|
|
945
|
+
...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
946
|
+
this.apiUrl = signal(null, /* @ts-ignore */
|
|
947
|
+
...(ngDevMode ? [{ debugName: "apiUrl" }] : /* istanbul ignore next */ []));
|
|
948
|
+
this.paymentRequest = signal(null, /* @ts-ignore */
|
|
949
|
+
...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
910
950
|
}
|
|
911
951
|
ngOnInit() {
|
|
912
952
|
const gateway = this.route.snapshot.params['gateway'];
|
|
@@ -987,10 +1027,10 @@ class PrepaymentHostComponent {
|
|
|
987
1027
|
this.componentRef().destroy();
|
|
988
1028
|
}
|
|
989
1029
|
}
|
|
990
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
991
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrepaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1031
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: PrepaymentHostComponent, isStandalone: true, selector: "abp-prepayment-host", ngImport: i0, template: '', isInline: true }); }
|
|
992
1032
|
}
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: PrepaymentHostComponent, decorators: [{
|
|
994
1034
|
type: Component,
|
|
995
1035
|
args: [{
|
|
996
1036
|
selector: 'abp-prepayment-host',
|