@volo/abp.ng.payment 10.2.0 → 10.3.0-rc.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.
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.payment-admin.mjs +50 -50
- 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.mjs +82 -82
- package/fesm2022/volo-abp.ng.payment.mjs.map +1 -1
- package/package.json +6 -5
|
@@ -17,10 +17,10 @@ import { of } from 'rxjs';
|
|
|
17
17
|
|
|
18
18
|
class GatewayOptionsComponent {
|
|
19
19
|
constructor() {
|
|
20
|
-
this.paymentType = input(...(ngDevMode ? [undefined, { debugName: "paymentType" }] : []));
|
|
20
|
+
this.paymentType = input(...(ngDevMode ? [undefined, { debugName: "paymentType" }] : /* istanbul ignore next */ []));
|
|
21
21
|
this.gatewayService = inject(GatewayService);
|
|
22
22
|
this.destroyRef = inject(DestroyRef);
|
|
23
|
-
this.gateways = signal([], ...(ngDevMode ? [{ debugName: "gateways" }] : []));
|
|
23
|
+
this.gateways = signal([], ...(ngDevMode ? [{ debugName: "gateways" }] : /* istanbul ignore next */ []));
|
|
24
24
|
this.onChange = () => { };
|
|
25
25
|
this.onTouched = () => { };
|
|
26
26
|
effect(() => {
|
|
@@ -60,8 +60,8 @@ class GatewayOptionsComponent {
|
|
|
60
60
|
this.onChange(value);
|
|
61
61
|
this.onTouched();
|
|
62
62
|
}
|
|
63
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
63
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GatewayOptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GatewayOptionsComponent, isStandalone: true, selector: "abp-gateway-options", inputs: { paymentType: { classPropertyName: "paymentType", publicName: "paymentType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
65
65
|
{
|
|
66
66
|
provide: NG_VALUE_ACCESSOR,
|
|
67
67
|
useExisting: forwardRef(() => GatewayOptionsComponent),
|
|
@@ -93,7 +93,7 @@ class GatewayOptionsComponent {
|
|
|
93
93
|
</div>
|
|
94
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" }] }); }
|
|
95
95
|
}
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GatewayOptionsComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
98
|
args: [{ selector: 'abp-gateway-options', template: `
|
|
99
99
|
<div class="list-container d-flex flex-wrap row-gap-2">
|
|
@@ -133,8 +133,8 @@ class GatewaysSelectionComponent {
|
|
|
133
133
|
this.route = inject(ActivatedRoute);
|
|
134
134
|
this.router = inject(Router);
|
|
135
135
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
136
|
-
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
137
|
-
this.paymentType = signal(null, ...(ngDevMode ? [{ debugName: "paymentType" }] : []));
|
|
136
|
+
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
137
|
+
this.paymentType = signal(null, ...(ngDevMode ? [{ debugName: "paymentType" }] : /* istanbul ignore next */ []));
|
|
138
138
|
}
|
|
139
139
|
ngOnInit() {
|
|
140
140
|
const paymentRequestId = this.route.snapshot.queryParams['paymentRequestId'];
|
|
@@ -151,10 +151,10 @@ class GatewaysSelectionComponent {
|
|
|
151
151
|
},
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
155
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GatewaysSelectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", 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
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GatewaysSelectionComponent, decorators: [{
|
|
158
158
|
type: Component,
|
|
159
159
|
args: [{ selector: 'abp-gateway-selection', imports: [
|
|
160
160
|
PageComponent,
|
|
@@ -183,9 +183,9 @@ class PostPaymentBaseComponent {
|
|
|
183
183
|
this.route = inject(ActivatedRoute);
|
|
184
184
|
this.router = inject(Router);
|
|
185
185
|
this.destroyRef = inject(DestroyRef);
|
|
186
|
-
this.isCompleting = signal(false, ...(ngDevMode ? [{ debugName: "isCompleting" }] : []));
|
|
187
|
-
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
188
|
-
this.errorMessage = signal('', ...(ngDevMode ? [{ debugName: "errorMessage" }] : []));
|
|
186
|
+
this.isCompleting = signal(false, ...(ngDevMode ? [{ debugName: "isCompleting" }] : /* istanbul ignore next */ []));
|
|
187
|
+
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
188
|
+
this.errorMessage = signal('', ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
|
|
189
189
|
}
|
|
190
190
|
ngOnInit() {
|
|
191
191
|
this.completePayment();
|
|
@@ -249,10 +249,10 @@ class PostPaymentBaseComponent {
|
|
|
249
249
|
},
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
253
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.
|
|
252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
253
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: PostPaymentBaseComponent, isStandalone: true, ngImport: i0 }); }
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentBaseComponent, decorators: [{
|
|
256
256
|
type: Directive,
|
|
257
257
|
args: [{}]
|
|
258
258
|
}] });
|
|
@@ -264,10 +264,10 @@ class PostPaymentComponent extends PostPaymentBaseComponent {
|
|
|
264
264
|
shouldSkipCompletion(gateway) {
|
|
265
265
|
return gateway === eGatewaysType.iyzico;
|
|
266
266
|
}
|
|
267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", 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
269
|
}
|
|
270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentComponent, decorators: [{
|
|
271
271
|
type: Component,
|
|
272
272
|
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
273
|
}] });
|
|
@@ -425,7 +425,7 @@ class PostPaymentHostComponent {
|
|
|
425
425
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
426
426
|
this.route = inject(ActivatedRoute);
|
|
427
427
|
this.replaceableComponents = inject(ReplaceableComponentsService);
|
|
428
|
-
this.componentRef = signal(undefined, ...(ngDevMode ? [{ debugName: "componentRef" }] : []));
|
|
428
|
+
this.componentRef = signal(undefined, ...(ngDevMode ? [{ debugName: "componentRef" }] : /* istanbul ignore next */ []));
|
|
429
429
|
}
|
|
430
430
|
ngOnInit() {
|
|
431
431
|
this.loadPostPaymentComponent();
|
|
@@ -457,10 +457,10 @@ class PostPaymentHostComponent {
|
|
|
457
457
|
this.componentRef().destroy();
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
461
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
461
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: PostPaymentHostComponent, isStandalone: true, selector: "abp-post-payment-router", ngImport: i0, template: '', isInline: true }); }
|
|
462
462
|
}
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PostPaymentHostComponent, decorators: [{
|
|
464
464
|
type: Component,
|
|
465
465
|
args: [{
|
|
466
466
|
selector: 'abp-post-payment-router',
|
|
@@ -470,10 +470,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
470
470
|
|
|
471
471
|
class PrepaymentProgressComponent {
|
|
472
472
|
constructor() {
|
|
473
|
-
this.gateway = input(...(ngDevMode ? [undefined, { debugName: "gateway" }] : []));
|
|
473
|
+
this.gateway = input(...(ngDevMode ? [undefined, { debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
474
474
|
}
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
476
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrepaymentProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: PrepaymentProgressComponent, isStandalone: true, selector: "abp-prepayment-progress", inputs: { gateway: { classPropertyName: "gateway", publicName: "gateway", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
477
477
|
<div class="row justify-content-center align-items-center" style="min-height: 60vh">
|
|
478
478
|
<div class="col-12">
|
|
479
479
|
<abp-card>
|
|
@@ -490,7 +490,7 @@ class PrepaymentProgressComponent {
|
|
|
490
490
|
</div>
|
|
491
491
|
`, 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
492
|
}
|
|
493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrepaymentProgressComponent, decorators: [{
|
|
494
494
|
type: Component,
|
|
495
495
|
args: [{
|
|
496
496
|
selector: 'abp-prepayment-progress',
|
|
@@ -516,8 +516,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
516
516
|
}], propDecorators: { gateway: [{ type: i0.Input, args: [{ isSignal: true, alias: "gateway", required: false }] }] } });
|
|
517
517
|
|
|
518
518
|
class PrePaymentLayoutComponent {
|
|
519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
520
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrePaymentLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
520
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: PrePaymentLayoutComponent, isStandalone: true, selector: "abp-prepayment-layout", ngImport: i0, template: `
|
|
521
521
|
<abp-page>
|
|
522
522
|
<div class="row">
|
|
523
523
|
<div class="col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
|
|
@@ -527,7 +527,7 @@ class PrePaymentLayoutComponent {
|
|
|
527
527
|
</abp-page>
|
|
528
528
|
`, isInline: true, dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }] }); }
|
|
529
529
|
}
|
|
530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrePaymentLayoutComponent, decorators: [{
|
|
531
531
|
type: Component,
|
|
532
532
|
args: [{
|
|
533
533
|
selector: 'abp-prepayment-layout',
|
|
@@ -547,10 +547,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
547
547
|
|
|
548
548
|
class StripePrepaymentComponent {
|
|
549
549
|
constructor() {
|
|
550
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
551
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
552
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
553
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
550
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
551
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
552
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
553
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
554
554
|
this.document = inject(DOCUMENT);
|
|
555
555
|
this.platformId = inject(PLATFORM_ID);
|
|
556
556
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -612,20 +612,20 @@ class StripePrepaymentComponent {
|
|
|
612
612
|
console.error('Stripe script loaded successfully but window.Stripe object cannot found');
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
616
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StripePrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", 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
617
|
}
|
|
618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StripePrepaymentComponent, decorators: [{
|
|
619
619
|
type: Component,
|
|
620
620
|
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
621
|
}], 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
622
|
|
|
623
623
|
class PayPalPrepaymentComponent {
|
|
624
624
|
constructor() {
|
|
625
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
626
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
627
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
628
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
625
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
626
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
627
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
628
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
629
629
|
this.document = inject(DOCUMENT);
|
|
630
630
|
this.platformId = inject(PLATFORM_ID);
|
|
631
631
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -655,20 +655,20 @@ class PayPalPrepaymentComponent {
|
|
|
655
655
|
}
|
|
656
656
|
});
|
|
657
657
|
}
|
|
658
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
659
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PayPalPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
659
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", 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
660
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PayPalPrepaymentComponent, decorators: [{
|
|
662
662
|
type: Component,
|
|
663
663
|
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
664
|
}], 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
665
|
|
|
666
666
|
class PayuPrepaymentComponent {
|
|
667
667
|
constructor() {
|
|
668
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
669
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
670
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
671
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
668
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
669
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
670
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
671
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
672
672
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
673
673
|
this.document = inject(DOCUMENT);
|
|
674
674
|
this.platformId = inject(PLATFORM_ID);
|
|
@@ -713,10 +713,10 @@ class PayuPrepaymentComponent {
|
|
|
713
713
|
form.submit();
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
717
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
716
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PayuPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
717
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", 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
718
|
}
|
|
719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PayuPrepaymentComponent, decorators: [{
|
|
720
720
|
type: Component,
|
|
721
721
|
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
722
|
}], 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 +724,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
724
724
|
class IyzicoPrepaymentComponent {
|
|
725
725
|
#injector;
|
|
726
726
|
constructor() {
|
|
727
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
728
|
-
this.apiUrl = input('', ...(ngDevMode ? [{ debugName: "apiUrl" }] : []));
|
|
729
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
730
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
731
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
732
|
-
this.prepaymentForm = signal(null, ...(ngDevMode ? [{ debugName: "prepaymentForm" }] : []));
|
|
727
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
728
|
+
this.apiUrl = input('', ...(ngDevMode ? [{ debugName: "apiUrl" }] : /* istanbul ignore next */ []));
|
|
729
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
730
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
731
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
732
|
+
this.prepaymentForm = signal(null, ...(ngDevMode ? [{ debugName: "prepaymentForm" }] : /* istanbul ignore next */ []));
|
|
733
733
|
this.selectedRecord = {};
|
|
734
734
|
this.#injector = inject(Injector);
|
|
735
735
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -780,15 +780,15 @@ class IyzicoPrepaymentComponent {
|
|
|
780
780
|
}
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
784
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.
|
|
783
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IyzicoPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
784
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", 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
785
|
{
|
|
786
786
|
provide: EXTENSIONS_IDENTIFIER,
|
|
787
787
|
useValue: "Payment.Iyzico.PrepaymentForm" /* ePaymentComponents.IyzicoPrepaymentForm */,
|
|
788
788
|
},
|
|
789
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 type=\"submit\" class=\"btn btn-success w-100\"\r\n [abpLoading]=\"prePaymentInProgress()\"\r\n [disabled]=\"form.invalid || prePaymentInProgress()\">\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\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
790
|
}
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: IyzicoPrepaymentComponent, decorators: [{
|
|
792
792
|
type: Component,
|
|
793
793
|
args: [{ selector: 'abp-iyzico-prepayment', imports: [
|
|
794
794
|
ReactiveFormsModule,
|
|
@@ -811,10 +811,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
811
811
|
|
|
812
812
|
class TwocheckoutPrepaymentComponent {
|
|
813
813
|
constructor() {
|
|
814
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
815
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
816
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
817
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
814
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
815
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
816
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
817
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
818
818
|
this.document = inject(DOCUMENT);
|
|
819
819
|
this.platformId = inject(PLATFORM_ID);
|
|
820
820
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -844,20 +844,20 @@ class TwocheckoutPrepaymentComponent {
|
|
|
844
844
|
}
|
|
845
845
|
});
|
|
846
846
|
}
|
|
847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: TwocheckoutPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", 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
849
|
}
|
|
850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: TwocheckoutPrepaymentComponent, decorators: [{
|
|
851
851
|
type: Component,
|
|
852
852
|
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
853
|
}], 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
854
|
|
|
855
855
|
class AlipayPrepaymentComponent {
|
|
856
856
|
constructor() {
|
|
857
|
-
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
858
|
-
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
859
|
-
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
860
|
-
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : []));
|
|
857
|
+
this.baseUrl = input('', ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
858
|
+
this.paymentRequest = input(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
859
|
+
this.gateway = input('', ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
860
|
+
this.prePaymentInProgress = signal(false, ...(ngDevMode ? [{ debugName: "prePaymentInProgress" }] : /* istanbul ignore next */ []));
|
|
861
861
|
this.document = inject(DOCUMENT);
|
|
862
862
|
this.platformId = inject(PLATFORM_ID);
|
|
863
863
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
@@ -887,10 +887,10 @@ class AlipayPrepaymentComponent {
|
|
|
887
887
|
}
|
|
888
888
|
});
|
|
889
889
|
}
|
|
890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
891
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.
|
|
890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AlipayPrepaymentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
891
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", 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
892
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AlipayPrepaymentComponent, decorators: [{
|
|
894
894
|
type: Component,
|
|
895
895
|
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
896
|
}], 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 +902,11 @@ class PrepaymentHostComponent {
|
|
|
902
902
|
this.replaceableComponents = inject(ReplaceableComponentsService);
|
|
903
903
|
this.paymentRequestService = inject(PaymentRequestService);
|
|
904
904
|
this.environmentService = inject(EnvironmentService);
|
|
905
|
-
this.componentRef = signal(undefined, ...(ngDevMode ? [{ debugName: "componentRef" }] : []));
|
|
906
|
-
this.gateway = signal(null, ...(ngDevMode ? [{ debugName: "gateway" }] : []));
|
|
907
|
-
this.baseUrl = signal(null, ...(ngDevMode ? [{ debugName: "baseUrl" }] : []));
|
|
908
|
-
this.apiUrl = signal(null, ...(ngDevMode ? [{ debugName: "apiUrl" }] : []));
|
|
909
|
-
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : []));
|
|
905
|
+
this.componentRef = signal(undefined, ...(ngDevMode ? [{ debugName: "componentRef" }] : /* istanbul ignore next */ []));
|
|
906
|
+
this.gateway = signal(null, ...(ngDevMode ? [{ debugName: "gateway" }] : /* istanbul ignore next */ []));
|
|
907
|
+
this.baseUrl = signal(null, ...(ngDevMode ? [{ debugName: "baseUrl" }] : /* istanbul ignore next */ []));
|
|
908
|
+
this.apiUrl = signal(null, ...(ngDevMode ? [{ debugName: "apiUrl" }] : /* istanbul ignore next */ []));
|
|
909
|
+
this.paymentRequest = signal(null, ...(ngDevMode ? [{ debugName: "paymentRequest" }] : /* istanbul ignore next */ []));
|
|
910
910
|
}
|
|
911
911
|
ngOnInit() {
|
|
912
912
|
const gateway = this.route.snapshot.params['gateway'];
|
|
@@ -987,10 +987,10 @@ class PrepaymentHostComponent {
|
|
|
987
987
|
this.componentRef().destroy();
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.
|
|
991
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.
|
|
990
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrepaymentHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
991
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: PrepaymentHostComponent, isStandalone: true, selector: "abp-prepayment-host", ngImport: i0, template: '', isInline: true }); }
|
|
992
992
|
}
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.
|
|
993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: PrepaymentHostComponent, decorators: [{
|
|
994
994
|
type: Component,
|
|
995
995
|
args: [{
|
|
996
996
|
selector: 'abp-prepayment-host',
|