@volo/abp.ng.payment 8.1.2 → 8.2.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/admin/components/gateway-plans/gateway-plans.component.d.ts +12 -11
- package/admin/components/plans/plans.component.d.ts +14 -13
- package/esm2022/admin/components/gateway-plans/gateway-plans.component.mjs +34 -29
- package/esm2022/admin/components/gateway-plans/gateway-plans.module.mjs +4 -4
- package/esm2022/admin/components/plans/plans.component.mjs +32 -26
- package/esm2022/admin/components/plans/plans.module.mjs +4 -4
- package/esm2022/admin/components/products/products.component.mjs +3 -3
- package/esm2022/admin/components/products/products.module.mjs +4 -4
- package/esm2022/admin/components/requests/requests-search-form/requests-search-form.component.mjs +8 -9
- package/esm2022/admin/components/requests/requests.component.mjs +11 -11
- package/esm2022/admin/components/requests/requests.module.mjs +4 -4
- package/esm2022/admin/components/subscription-tooltip/subscription-tooltip.component.mjs +7 -7
- package/esm2022/admin/components/subscription-tooltip/subscription-tooltip.module.mjs +4 -4
- package/esm2022/admin/config/payment-admin-config.module.mjs +4 -4
- package/esm2022/admin/payment-admin-routing.module.mjs +4 -4
- package/esm2022/admin/payment-admin.module.mjs +4 -4
- package/esm2022/admin/payment.initializer.mjs +3 -3
- package/esm2022/proxy/lib/proxy/admin/plans/plan-admin.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/admin/requests/payment-request-admin.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/gateways/gateway.service.mjs +3 -3
- package/esm2022/proxy/lib/proxy/plans/plan.service.mjs +3 -3
- package/fesm2022/volo-abp.ng.payment-admin-config.mjs +4 -4
- package/fesm2022/volo-abp.ng.payment-admin.mjs +107 -93
- package/fesm2022/volo-abp.ng.payment-admin.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.payment-proxy.mjs +12 -12
- package/package.json +4 -4
|
@@ -1,44 +1,47 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, EventEmitter, Input, Output, Inject, InjectionToken, Injectable, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
2
|
+
import { inject, Injector, Component, ViewEncapsulation, EventEmitter, Input, Output, Inject, InjectionToken, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import * as i3 from '@abp/ng.core';
|
|
4
4
|
import { ListService, ConfigStateService, RouterOutletComponent, AuthGuard, PermissionGuard, ReplaceableRouteContainerComponent, CoreModule, LazyModuleFactory } from '@abp/ng.core';
|
|
5
5
|
import * as i3$1 from '@angular/router';
|
|
6
|
-
import { RouterModule } from '@angular/router';
|
|
7
|
-
import * as
|
|
8
|
-
import { Confirmation, DateAdapter, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
9
|
-
import * as
|
|
6
|
+
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
|
|
7
|
+
import * as i6 from '@abp/ng.theme.shared';
|
|
8
|
+
import { ConfirmationService, ToasterService, Confirmation, DateAdapter, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
9
|
+
import * as i4$1 from '@abp/ng.components/extensible';
|
|
10
10
|
import { FormPropData, generateFormFromProps, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, FormProp, ToolbarAction, PROP_DATA_STREAM, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, ExtensibleModule } from '@abp/ng.components/extensible';
|
|
11
11
|
import * as i2 from '@volo/abp.ng.payment/proxy';
|
|
12
|
-
import { PlanAdminService, paymentTypeOptions, paymentRequestStateOptions, GatewayService, PaymentType } from '@volo/abp.ng.payment/proxy';
|
|
12
|
+
import { PlanService, PlanAdminService, paymentTypeOptions, paymentRequestStateOptions, GatewayService, PaymentType } from '@volo/abp.ng.payment/proxy';
|
|
13
13
|
import { take, finalize, map, tap, mapTo } from 'rxjs/operators';
|
|
14
|
-
import * as i4 from '@
|
|
15
|
-
import { CommonModule } from '@angular/common';
|
|
16
|
-
import * as i4$1 from '@abp/ng.components/page';
|
|
14
|
+
import * as i4 from '@abp/ng.components/page';
|
|
17
15
|
import { PageModule } from '@abp/ng.components/page';
|
|
18
|
-
import * as
|
|
16
|
+
import * as i1 from '@angular/forms';
|
|
19
17
|
import { Validators, ReactiveFormsModule } from '@angular/forms';
|
|
20
|
-
import * as
|
|
18
|
+
import * as i5 from '@ngx-validate/core';
|
|
21
19
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
22
20
|
import * as i7 from '@volo/abp.commercial.ng.ui';
|
|
23
21
|
import { AdvancedEntityFiltersModule } from '@volo/abp.commercial.ng.ui';
|
|
24
|
-
import * as
|
|
22
|
+
import * as i8 from '@angular/common';
|
|
23
|
+
import { CommonModule } from '@angular/common';
|
|
24
|
+
import * as i2$1 from '@ng-bootstrap/ng-bootstrap';
|
|
25
25
|
import { NgbDateAdapter, NgbTooltipModule, NgbDatepickerModule } from '@ng-bootstrap/ng-bootstrap';
|
|
26
26
|
import * as i4$2 from 'rxjs';
|
|
27
27
|
import { of } from 'rxjs';
|
|
28
28
|
|
|
29
29
|
class GatewayPlansComponent {
|
|
30
|
+
constructor() {
|
|
31
|
+
this.isModalVisible = false;
|
|
32
|
+
this.modalBusy = false;
|
|
33
|
+
this.planService = inject(PlanService);
|
|
34
|
+
this.list = inject((ListService));
|
|
35
|
+
this.confirmationService = inject(ConfirmationService);
|
|
36
|
+
this.toasterService = inject(ToasterService);
|
|
37
|
+
this.activatedRoute = inject(ActivatedRoute);
|
|
38
|
+
this.service = inject(PlanAdminService);
|
|
39
|
+
this.injector = inject(Injector);
|
|
40
|
+
}
|
|
30
41
|
get planId() {
|
|
31
42
|
return this.activatedRoute.snapshot.params.planId;
|
|
32
43
|
}
|
|
33
|
-
|
|
34
|
-
this.planService = planService;
|
|
35
|
-
this.list = list;
|
|
36
|
-
this.injector = injector;
|
|
37
|
-
this.confirmationService = confirmationService;
|
|
38
|
-
this.activatedRoute = activatedRoute;
|
|
39
|
-
this.isModalVisible = false;
|
|
40
|
-
this.modalBusy = false;
|
|
41
|
-
this.service = injector.get(PlanAdminService);
|
|
44
|
+
ngOnInit() {
|
|
42
45
|
this.data$ = this.list.hookToQuery(input => this.service.getGatewayPlans(this.planId, input));
|
|
43
46
|
}
|
|
44
47
|
onEdit(id) {
|
|
@@ -57,7 +60,10 @@ class GatewayPlansComponent {
|
|
|
57
60
|
})
|
|
58
61
|
.subscribe((status) => {
|
|
59
62
|
if (status === Confirmation.Status.confirm) {
|
|
60
|
-
this.service.deleteGatewayPlan(this.planId, gateway).subscribe(() =>
|
|
63
|
+
this.service.deleteGatewayPlan(this.planId, gateway).subscribe(() => {
|
|
64
|
+
this.list.get();
|
|
65
|
+
this.toasterService.info('AbpUi::DeletedSuccessfully');
|
|
66
|
+
});
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
}
|
|
@@ -83,22 +89,23 @@ class GatewayPlansComponent {
|
|
|
83
89
|
stream.pipe(finalize(() => (this.modalBusy = false))).subscribe(() => {
|
|
84
90
|
this.list.get();
|
|
85
91
|
this.isModalVisible = false;
|
|
92
|
+
this.toasterService.success('AbpUi::SavedSuccessfully');
|
|
86
93
|
});
|
|
87
94
|
}
|
|
88
95
|
createForm() {
|
|
89
96
|
const data = new FormPropData(this.injector, this.selected);
|
|
90
97
|
this.form = generateFormFromProps(data);
|
|
91
98
|
}
|
|
92
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
93
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: GatewayPlansComponent, selector: "abp-gateway-plans", providers: [
|
|
94
101
|
ListService,
|
|
95
102
|
{
|
|
96
103
|
provide: EXTENSIONS_IDENTIFIER,
|
|
97
104
|
useValue: "Payment.GatewayPlans" /* ePaymentComponents.GatewayPlans */,
|
|
98
105
|
},
|
|
99
|
-
], ngImport: i0, template: "
|
|
106
|
+
], ngImport: i0, template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n\r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n", dependencies: [{ kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i4$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i4$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i6.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i7.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
100
107
|
}
|
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansComponent, decorators: [{
|
|
102
109
|
type: Component,
|
|
103
110
|
args: [{ selector: 'abp-gateway-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
104
111
|
ListService,
|
|
@@ -106,19 +113,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
106
113
|
provide: EXTENSIONS_IDENTIFIER,
|
|
107
114
|
useValue: "Payment.GatewayPlans" /* ePaymentComponents.GatewayPlans */,
|
|
108
115
|
},
|
|
109
|
-
], template: "
|
|
110
|
-
}]
|
|
116
|
+
], template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::GatewayPlans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n\r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>\r\n {{ (selected?.gateway ? 'Payment::Edit' : 'Payment::NewGatewayPlan') | abpLocalization }}\r\n </h3>\r\n </ng-template>\r\n\r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n\r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n" }]
|
|
117
|
+
}] });
|
|
111
118
|
|
|
112
119
|
class PaymentPlansComponent {
|
|
113
|
-
constructor(
|
|
114
|
-
this.list = list;
|
|
115
|
-
this.injector = injector;
|
|
116
|
-
this.confirmationService = confirmationService;
|
|
117
|
-
this.router = router;
|
|
118
|
-
this.activatedRoute = activatedRoute;
|
|
120
|
+
constructor() {
|
|
119
121
|
this.isModalVisible = false;
|
|
120
122
|
this.modalBusy = false;
|
|
121
|
-
this.
|
|
123
|
+
this.list = inject((ListService));
|
|
124
|
+
this.confirmationService = inject(ConfirmationService);
|
|
125
|
+
this.toasterService = inject(ToasterService);
|
|
126
|
+
this.activatedRoute = inject(ActivatedRoute);
|
|
127
|
+
this.injector = inject(Injector);
|
|
128
|
+
this.router = inject(Router);
|
|
129
|
+
this.service = inject(PlanAdminService);
|
|
130
|
+
}
|
|
131
|
+
ngOnInit() {
|
|
122
132
|
this.data$ = this.list.hookToQuery(this.service.getList);
|
|
123
133
|
}
|
|
124
134
|
onEdit(id) {
|
|
@@ -140,7 +150,10 @@ class PaymentPlansComponent {
|
|
|
140
150
|
})
|
|
141
151
|
.subscribe((status) => {
|
|
142
152
|
if (status === Confirmation.Status.confirm) {
|
|
143
|
-
this.service.delete(id).subscribe(() =>
|
|
153
|
+
this.service.delete(id).subscribe(() => {
|
|
154
|
+
this.list.get();
|
|
155
|
+
this.toasterService.info('AbpUi::DeletedSuccessfully');
|
|
156
|
+
});
|
|
144
157
|
}
|
|
145
158
|
});
|
|
146
159
|
}
|
|
@@ -166,22 +179,23 @@ class PaymentPlansComponent {
|
|
|
166
179
|
stream.pipe(finalize(() => (this.modalBusy = false))).subscribe(() => {
|
|
167
180
|
this.list.get();
|
|
168
181
|
this.isModalVisible = false;
|
|
182
|
+
this.toasterService.success('AbpUi::SavedSuccessfully');
|
|
169
183
|
});
|
|
170
184
|
}
|
|
171
185
|
createForm() {
|
|
172
186
|
const data = new FormPropData(this.injector, this.selected);
|
|
173
187
|
this.form = generateFormFromProps(data);
|
|
174
188
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: PaymentPlansComponent, selector: "abp-payment-plans", providers: [
|
|
177
191
|
ListService,
|
|
178
192
|
{
|
|
179
193
|
provide: EXTENSIONS_IDENTIFIER,
|
|
180
194
|
useValue: "Payment.Plans" /* ePaymentComponents.Plans */,
|
|
181
195
|
},
|
|
182
|
-
], ngImport: i0, template: "
|
|
196
|
+
], ngImport: i0, template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n \r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n \r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'Payment::Edit' : 'Payment::NewPlan') | abpLocalization }}</h3>\r\n </ng-template>\r\n \r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n \r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n", dependencies: [{ kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i4$1.ExtensibleFormComponent, selector: "abp-extensible-form", inputs: ["selectedRecord"], exportAs: ["abpExtensibleForm"] }, { kind: "component", type: i4$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "directive", type: i5.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "component", type: i6.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i7.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
183
197
|
}
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansComponent, decorators: [{
|
|
185
199
|
type: Component,
|
|
186
200
|
args: [{ selector: 'abp-payment-plans', encapsulation: ViewEncapsulation.None, providers: [
|
|
187
201
|
ListService,
|
|
@@ -189,8 +203,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
189
203
|
provide: EXTENSIONS_IDENTIFIER,
|
|
190
204
|
useValue: "Payment.Plans" /* ePaymentComponents.Plans */,
|
|
191
205
|
},
|
|
192
|
-
], template: "
|
|
193
|
-
}]
|
|
206
|
+
], template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters\r\n localizationSourceName=\"Payment\"\r\n [list]=\"list\"\r\n ></abp-advanced-entity-filters>\r\n \r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n \r\n <abp-modal [(visible)]=\"isModalVisible\" [busy]=\"modalBusy\">\r\n <ng-template #abpHeader>\r\n <h3>{{ (selected?.id ? 'Payment::Edit' : 'Payment::NewPlan') | abpLocalization }}</h3>\r\n </ng-template>\r\n \r\n <ng-template #abpBody>\r\n <form [formGroup]=\"form\" (ngSubmit)=\"save()\" validateOnSubmit>\r\n <abp-extensible-form [selectedRecord]=\"selected\"></abp-extensible-form>\r\n </form>\r\n </ng-template>\r\n \r\n <ng-template #abpFooter>\r\n <button type=\"button\" class=\"btn btn-outline-primary\" abpClose>\r\n {{ 'AbpUi::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button iconClass=\"fa fa-check\" [disabled]=\"form?.invalid\" (click)=\"save()\">{{\r\n 'AbpUi::Save' | abpLocalization\r\n }}</abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n" }]
|
|
207
|
+
}] });
|
|
194
208
|
|
|
195
209
|
class ProductsComponent {
|
|
196
210
|
get requestId() {
|
|
@@ -218,16 +232,16 @@ class ProductsComponent {
|
|
|
218
232
|
];
|
|
219
233
|
list.hookToQuery(() => this.service.get(this.requestId).pipe(map(request => request.products))).subscribe((data) => (this.data = data));
|
|
220
234
|
}
|
|
221
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
222
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ProductsComponent, deps: [{ token: i3$1.ActivatedRoute }, { token: i2.PaymentRequestAdminService }, { token: i3.ListService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
236
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ProductsComponent, selector: "abp-products", providers: [
|
|
223
237
|
ListService,
|
|
224
238
|
{
|
|
225
239
|
provide: EXTENSIONS_IDENTIFIER,
|
|
226
240
|
useValue: "Payment.Products" /* ePaymentComponents.Products */,
|
|
227
241
|
},
|
|
228
|
-
], ngImport: i0, template: "<ng-container>\r\n <abp-page [title]=\"'Payment::Products' | abpLocalization\" [toolbar]=\"data\">\r\n <abp-page-breadcrumb-container>\r\n <abp-breadcrumb-items [items]=\"breadCrumbItems\"></abp-breadcrumb-items>\r\n </abp-page-breadcrumb-container>\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data\" [recordsTotal]=\"data.length\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</ng-container>\r\n", dependencies: [{ kind: "component", type: i4
|
|
242
|
+
], ngImport: i0, template: "<ng-container>\r\n <abp-page [title]=\"'Payment::Products' | abpLocalization\" [toolbar]=\"data\">\r\n <abp-page-breadcrumb-container>\r\n <abp-breadcrumb-items [items]=\"breadCrumbItems\"></abp-breadcrumb-items>\r\n </abp-page-breadcrumb-container>\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data\" [recordsTotal]=\"data.length\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</ng-container>\r\n", dependencies: [{ kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i4.PageBreadcrumbContainerComponent, selector: "abp-page-breadcrumb-container" }, { kind: "component", type: i4$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.BreadcrumbItemsComponent, selector: "abp-breadcrumb-items", inputs: ["items"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
229
243
|
}
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ProductsComponent, decorators: [{
|
|
231
245
|
type: Component,
|
|
232
246
|
args: [{ selector: 'abp-products', providers: [
|
|
233
247
|
ListService,
|
|
@@ -236,7 +250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
236
250
|
useValue: "Payment.Products" /* ePaymentComponents.Products */,
|
|
237
251
|
},
|
|
238
252
|
], template: "<ng-container>\r\n <abp-page [title]=\"'Payment::Products' | abpLocalization\" [toolbar]=\"data\">\r\n <abp-page-breadcrumb-container>\r\n <abp-breadcrumb-items [items]=\"breadCrumbItems\"></abp-breadcrumb-items>\r\n </abp-page-breadcrumb-container>\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data\" [recordsTotal]=\"data.length\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</ng-container>\r\n" }]
|
|
239
|
-
}], ctorParameters: () => [{ type: i3$1.ActivatedRoute }, { type: i2.PaymentRequestAdminService }, { type:
|
|
253
|
+
}], ctorParameters: () => [{ type: i3$1.ActivatedRoute }, { type: i2.PaymentRequestAdminService }, { type: i3.ListService }] });
|
|
240
254
|
|
|
241
255
|
class RequestsSearchFormComponent {
|
|
242
256
|
constructor() {
|
|
@@ -247,12 +261,12 @@ class RequestsSearchFormComponent {
|
|
|
247
261
|
emit() {
|
|
248
262
|
this.pageQueryChange.emit(this.pageQuery);
|
|
249
263
|
}
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
251
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsSearchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: RequestsSearchFormComponent, selector: "abp-payment-requests-search-form", inputs: { list: "list", pageQuery: "pageQuery" }, outputs: { pageQueryChange: "pageQueryChange" }, providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], ngImport: i0, template: "<form id=\"FilterFormId\" (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMin\">{{\r\n 'Payment::PaymentRequests:CreationDateMin' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMin=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMin\"\r\n name=\"CreationDateMin\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMin\"\r\n ngbDatepicker\r\n (click)=\"dateMin.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMax\">{{\r\n 'Payment::PaymentRequests:CreationDateMax' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMax=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMax\"\r\n name=\"CreationDateMax\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMax\"\r\n ngbDatepicker\r\n (click)=\"dateMax.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"PaymentType\">{{\r\n 'Payment::PaymentRequests:PaymentType' | abpLocalization\r\n }}</label>\r\n <!-- TODO: BS5 custom select class replace -->\r\n <select\r\n class=\"custom-select form-control\"\r\n id=\"PaymentType\"\r\n name=\"PaymentType\"\r\n [(ngModel)]=\"pageQuery.paymentType\"\r\n (change)=\"list.get()\"\r\n (ngModelChange)=\"emit()\"\r\n >\r\n <option [ngValue]=\"undefined\"></option>\r\n @for (paymentType of paymentTypes; track $index) {\r\n <option [ngValue]=\"paymentType.value\">\r\n {{ paymentType.key }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"PaymentType\">{{ 'Payment::PaymentRequests:Status' | abpLocalization }}</label>\r\n <!-- TODO: BS5 custom select class replace -->\r\n <select\r\n class=\"custom-select form-control\"\r\n id=\"Status\"\r\n name=\"Status\"\r\n [(ngModel)]=\"pageQuery.status\"\r\n (change)=\"list.get()\"\r\n (ngModelChange)=\"emit()\"\r\n >\r\n <option [ngValue]=\"undefined\"></option>\r\n @for (state of states; track $index) {\r\n <option [ngValue]=\"state.value\">\r\n {{ state.key }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n", dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { 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.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "contentTemplate", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "popperOptions", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
252
266
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsSearchFormComponent, decorators: [{
|
|
254
268
|
type: Component,
|
|
255
|
-
args: [{ selector: 'abp-payment-requests-search-form', providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], template: "<form id=\"FilterFormId\" (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMin\">{{\r\n 'Payment::PaymentRequests:CreationDateMin' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMin=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMin\"\r\n name=\"CreationDateMin\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMin\"\r\n ngbDatepicker\r\n (click)=\"dateMin.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMax\">{{\r\n 'Payment::PaymentRequests:CreationDateMax' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMax=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMax\"\r\n name=\"CreationDateMax\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMax\"\r\n ngbDatepicker\r\n (click)=\"dateMax.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"PaymentType\">{{\r\n 'Payment::PaymentRequests:PaymentType' | abpLocalization\r\n }}</label>\r\n <!-- TODO: BS5 custom select class replace -->\r\n <select\r\n class=\"custom-select form-control\"\r\n id=\"PaymentType\"\r\n name=\"PaymentType\"\r\n [(ngModel)]=\"pageQuery.paymentType\"\r\n (change)=\"list.get()\"\r\n (ngModelChange)=\"emit()\"\r\n >\r\n <option [ngValue]=\"undefined\"></option>\r\n
|
|
269
|
+
args: [{ selector: 'abp-payment-requests-search-form', providers: [{ provide: NgbDateAdapter, useClass: DateAdapter }], template: "<form id=\"FilterFormId\" (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMin\">{{\r\n 'Payment::PaymentRequests:CreationDateMin' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMin=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMin\"\r\n name=\"CreationDateMin\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMin\"\r\n ngbDatepicker\r\n (click)=\"dateMin.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"CreationDateMax\">{{\r\n 'Payment::PaymentRequests:CreationDateMax' | abpLocalization\r\n }}</label>\r\n <input\r\n #dateMax=\"ngbDatepicker\"\r\n class=\"form-control\"\r\n id=\"CreationDateMax\"\r\n name=\"CreationDateMax\"\r\n readonly\r\n [(ngModel)]=\"pageQuery.creationDateMax\"\r\n ngbDatepicker\r\n (click)=\"dateMax.toggle()\"\r\n (ngModelChange)=\"emit()\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"PaymentType\">{{\r\n 'Payment::PaymentRequests:PaymentType' | abpLocalization\r\n }}</label>\r\n <!-- TODO: BS5 custom select class replace -->\r\n <select\r\n class=\"custom-select form-control\"\r\n id=\"PaymentType\"\r\n name=\"PaymentType\"\r\n [(ngModel)]=\"pageQuery.paymentType\"\r\n (change)=\"list.get()\"\r\n (ngModelChange)=\"emit()\"\r\n >\r\n <option [ngValue]=\"undefined\"></option>\r\n @for (paymentType of paymentTypes; track $index) {\r\n <option [ngValue]=\"paymentType.value\">\r\n {{ paymentType.key }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-3\">\r\n <div class=\"form-group\">\r\n <label for=\"PaymentType\">{{ 'Payment::PaymentRequests:Status' | abpLocalization }}</label>\r\n <!-- TODO: BS5 custom select class replace -->\r\n <select\r\n class=\"custom-select form-control\"\r\n id=\"Status\"\r\n name=\"Status\"\r\n [(ngModel)]=\"pageQuery.status\"\r\n (change)=\"list.get()\"\r\n (ngModelChange)=\"emit()\"\r\n >\r\n <option [ngValue]=\"undefined\"></option>\r\n @for (state of states; track $index) {\r\n <option [ngValue]=\"state.value\">\r\n {{ state.key }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
|
|
256
270
|
}], propDecorators: { list: [{
|
|
257
271
|
type: Input
|
|
258
272
|
}], pageQuery: [{
|
|
@@ -273,16 +287,16 @@ class RequestsComponent {
|
|
|
273
287
|
goToProducts(id) {
|
|
274
288
|
this.router.navigate([id, 'products'], { relativeTo: this.route });
|
|
275
289
|
}
|
|
276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
277
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsComponent, deps: [{ token: i3.ListService }, { token: i2.PaymentRequestAdminService }, { token: i3$1.Router }, { token: i3$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
291
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: RequestsComponent, selector: "abp-payment-requests", providers: [
|
|
278
292
|
ListService,
|
|
279
293
|
{
|
|
280
294
|
provide: EXTENSIONS_IDENTIFIER,
|
|
281
295
|
useValue: "Payment.Requests" /* ePaymentComponents.Requests */,
|
|
282
296
|
},
|
|
283
|
-
], ngImport: i0, template: "
|
|
297
|
+
], ngImport: i0, template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters localizationSourceName=\"Payment\" [list]=\"list\">\r\n <abp-advanced-entity-filters-above-search>\r\n <abp-payment-requests-search-form\r\n [(pageQuery)]=\"pageQuery\"\r\n ></abp-payment-requests-search-form>\r\n </abp-advanced-entity-filters-above-search>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n}\r\n", dependencies: [{ kind: "component", type: i4.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i4$1.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i7.AdvancedEntityFiltersComponent, selector: "abp-advanced-entity-filters", inputs: ["list", "localizationSourceName", "entityFilterPlaceholder"] }, { kind: "component", type: i7.AdvancedEntityFiltersAboveSearchComponent, selector: "abp-advanced-entity-filters-above-search" }, { kind: "component", type: RequestsSearchFormComponent, selector: "abp-payment-requests-search-form", inputs: ["list", "pageQuery"], outputs: ["pageQueryChange"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
284
298
|
}
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsComponent, decorators: [{
|
|
286
300
|
type: Component,
|
|
287
301
|
args: [{ selector: 'abp-payment-requests', providers: [
|
|
288
302
|
ListService,
|
|
@@ -290,8 +304,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
290
304
|
provide: EXTENSIONS_IDENTIFIER,
|
|
291
305
|
useValue: "Payment.Requests" /* ePaymentComponents.Requests */,
|
|
292
306
|
},
|
|
293
|
-
], template: "
|
|
294
|
-
}], ctorParameters: () => [{ type:
|
|
307
|
+
], template: "@if (data$ | async; as data) {\r\n <abp-page [title]=\"'Payment::Plans' | abpLocalization\" [toolbar]=\"data.items\">\r\n <abp-advanced-entity-filters localizationSourceName=\"Payment\" [list]=\"list\">\r\n <abp-advanced-entity-filters-above-search>\r\n <abp-payment-requests-search-form\r\n [(pageQuery)]=\"pageQuery\"\r\n ></abp-payment-requests-search-form>\r\n </abp-advanced-entity-filters-above-search>\r\n </abp-advanced-entity-filters>\r\n\r\n <div class=\"card\">\r\n <div class=\"card-body\">\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n </div>\r\n </div>\r\n </abp-page>\r\n}\r\n" }]
|
|
308
|
+
}], ctorParameters: () => [{ type: i3.ListService }, { type: i2.PaymentRequestAdminService }, { type: i3$1.Router }, { type: i3$1.ActivatedRoute }] });
|
|
295
309
|
|
|
296
310
|
const DEFAULT_GATEWAY_PLANS_ENTITY_ACTIONS = EntityAction.createMany([
|
|
297
311
|
{
|
|
@@ -438,12 +452,12 @@ class SubscriptionTooltipComponent {
|
|
|
438
452
|
constructor(value$) {
|
|
439
453
|
this.value$ = value$;
|
|
440
454
|
}
|
|
441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
442
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipComponent, deps: [{ token: PROP_DATA_STREAM }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
456
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: SubscriptionTooltipComponent, selector: "abp-subscription-tooltip", ngImport: i0, template: "@if (value$ | async; as value) {\r\n @if (value.isSubscription) {\r\n <i\r\n class=\"fa fa-info-circle text-warning\"\r\n placement=\"top\"\r\n container=\"body\"\r\n [ngbTooltip]=\"'Payment::PriceSubscriptionTooltip' | abpLocalization\"\r\n ></i>\r\n } @else {\r\n <ng-template #valueTmp>\r\n {{ value.defaultValue }}\r\n </ng-template>\r\n }\r\n}\r\n", dependencies: [{ kind: "directive", type: i2$1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: i8.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
443
457
|
}
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipComponent, decorators: [{
|
|
445
459
|
type: Component,
|
|
446
|
-
args: [{ selector: 'abp-subscription-tooltip', template: "
|
|
460
|
+
args: [{ selector: 'abp-subscription-tooltip', template: "@if (value$ | async; as value) {\r\n @if (value.isSubscription) {\r\n <i\r\n class=\"fa fa-info-circle text-warning\"\r\n placement=\"top\"\r\n container=\"body\"\r\n [ngbTooltip]=\"'Payment::PriceSubscriptionTooltip' | abpLocalization\"\r\n ></i>\r\n } @else {\r\n <ng-template #valueTmp>\r\n {{ value.defaultValue }}\r\n </ng-template>\r\n }\r\n}\r\n" }]
|
|
447
461
|
}], ctorParameters: () => [{ type: i4$2.Observable, decorators: [{
|
|
448
462
|
type: Inject,
|
|
449
463
|
args: [PROP_DATA_STREAM]
|
|
@@ -595,10 +609,10 @@ class PaymentInitializer {
|
|
|
595
609
|
mergeWithDefaultProps(extensions.editFormProps, DEFAULT_PAYMENT_EDIT_FORM_PROPS, objectExtensionContributors.editForm, editFormContributors);
|
|
596
610
|
}), mapTo(true));
|
|
597
611
|
}
|
|
598
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
599
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
612
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentInitializer, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
613
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentInitializer }); }
|
|
600
614
|
}
|
|
601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentInitializer, decorators: [{
|
|
602
616
|
type: Injectable
|
|
603
617
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
604
618
|
|
|
@@ -661,11 +675,11 @@ const routes = [
|
|
|
661
675
|
},
|
|
662
676
|
];
|
|
663
677
|
class PaymentAdminRoutingModule {
|
|
664
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
665
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
666
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
679
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminRoutingModule, imports: [i3$1.RouterModule] }); }
|
|
680
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminRoutingModule, imports: [RouterModule.forChild(routes)] }); }
|
|
667
681
|
}
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminRoutingModule, decorators: [{
|
|
669
683
|
type: NgModule,
|
|
670
684
|
args: [{
|
|
671
685
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -673,8 +687,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
673
687
|
}] });
|
|
674
688
|
|
|
675
689
|
class PaymentPlansModule {
|
|
676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
677
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
691
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansModule, declarations: [PaymentPlansComponent], imports: [CommonModule,
|
|
678
692
|
PageModule,
|
|
679
693
|
CoreModule,
|
|
680
694
|
ExtensibleModule,
|
|
@@ -682,7 +696,7 @@ class PaymentPlansModule {
|
|
|
682
696
|
ReactiveFormsModule,
|
|
683
697
|
NgxValidateCoreModule,
|
|
684
698
|
AdvancedEntityFiltersModule] }); }
|
|
685
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
699
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansModule, imports: [CommonModule,
|
|
686
700
|
PageModule,
|
|
687
701
|
CoreModule,
|
|
688
702
|
ExtensibleModule,
|
|
@@ -691,7 +705,7 @@ class PaymentPlansModule {
|
|
|
691
705
|
NgxValidateCoreModule,
|
|
692
706
|
AdvancedEntityFiltersModule] }); }
|
|
693
707
|
}
|
|
694
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentPlansModule, decorators: [{
|
|
695
709
|
type: NgModule,
|
|
696
710
|
args: [{
|
|
697
711
|
imports: [
|
|
@@ -711,8 +725,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
711
725
|
}] });
|
|
712
726
|
|
|
713
727
|
class GatewayPlansModule {
|
|
714
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
715
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
729
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansModule, declarations: [GatewayPlansComponent], imports: [CommonModule,
|
|
716
730
|
PageModule,
|
|
717
731
|
CoreModule,
|
|
718
732
|
ExtensibleModule,
|
|
@@ -720,7 +734,7 @@ class GatewayPlansModule {
|
|
|
720
734
|
ReactiveFormsModule,
|
|
721
735
|
NgxValidateCoreModule,
|
|
722
736
|
AdvancedEntityFiltersModule] }); }
|
|
723
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
737
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansModule, imports: [CommonModule,
|
|
724
738
|
PageModule,
|
|
725
739
|
CoreModule,
|
|
726
740
|
ExtensibleModule,
|
|
@@ -729,7 +743,7 @@ class GatewayPlansModule {
|
|
|
729
743
|
NgxValidateCoreModule,
|
|
730
744
|
AdvancedEntityFiltersModule] }); }
|
|
731
745
|
}
|
|
732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
746
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: GatewayPlansModule, decorators: [{
|
|
733
747
|
type: NgModule,
|
|
734
748
|
args: [{
|
|
735
749
|
imports: [
|
|
@@ -749,11 +763,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
749
763
|
}] });
|
|
750
764
|
|
|
751
765
|
class SubscriptionTooltipModule {
|
|
752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
753
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
754
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
767
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipModule, declarations: [SubscriptionTooltipComponent], imports: [CommonModule, CoreModule, NgbTooltipModule], exports: [SubscriptionTooltipComponent] }); }
|
|
768
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipModule, imports: [CommonModule, CoreModule, NgbTooltipModule] }); }
|
|
755
769
|
}
|
|
756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: SubscriptionTooltipModule, decorators: [{
|
|
757
771
|
type: NgModule,
|
|
758
772
|
args: [{
|
|
759
773
|
declarations: [SubscriptionTooltipComponent],
|
|
@@ -763,8 +777,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
763
777
|
}] });
|
|
764
778
|
|
|
765
779
|
class RequestsModule {
|
|
766
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
767
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
781
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: RequestsModule, declarations: [RequestsComponent, RequestsSearchFormComponent], imports: [CommonModule,
|
|
768
782
|
PageModule,
|
|
769
783
|
CoreModule,
|
|
770
784
|
ExtensibleModule,
|
|
@@ -773,7 +787,7 @@ class RequestsModule {
|
|
|
773
787
|
AdvancedEntityFiltersModule,
|
|
774
788
|
NgbDatepickerModule,
|
|
775
789
|
SubscriptionTooltipModule] }); }
|
|
776
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
790
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsModule, imports: [CommonModule,
|
|
777
791
|
PageModule,
|
|
778
792
|
CoreModule,
|
|
779
793
|
ExtensibleModule,
|
|
@@ -783,7 +797,7 @@ class RequestsModule {
|
|
|
783
797
|
NgbDatepickerModule,
|
|
784
798
|
SubscriptionTooltipModule] }); }
|
|
785
799
|
}
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: RequestsModule, decorators: [{
|
|
787
801
|
type: NgModule,
|
|
788
802
|
args: [{
|
|
789
803
|
declarations: [RequestsComponent, RequestsSearchFormComponent],
|
|
@@ -802,21 +816,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImpor
|
|
|
802
816
|
}] });
|
|
803
817
|
|
|
804
818
|
class ProductsModule {
|
|
805
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
806
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ProductsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
820
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: ProductsModule, declarations: [ProductsComponent], imports: [CommonModule,
|
|
807
821
|
PageModule,
|
|
808
822
|
CoreModule,
|
|
809
823
|
ExtensibleModule,
|
|
810
824
|
ThemeSharedModule,
|
|
811
825
|
SubscriptionTooltipModule] }); }
|
|
812
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
826
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ProductsModule, imports: [CommonModule,
|
|
813
827
|
PageModule,
|
|
814
828
|
CoreModule,
|
|
815
829
|
ExtensibleModule,
|
|
816
830
|
ThemeSharedModule,
|
|
817
831
|
SubscriptionTooltipModule] }); }
|
|
818
832
|
}
|
|
819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ProductsModule, decorators: [{
|
|
820
834
|
type: NgModule,
|
|
821
835
|
args: [{
|
|
822
836
|
declarations: [ProductsComponent],
|
|
@@ -863,19 +877,19 @@ class PaymentAdminModule {
|
|
|
863
877
|
static forLazy(options = {}) {
|
|
864
878
|
return new LazyModuleFactory(PaymentAdminModule.forChild(options));
|
|
865
879
|
}
|
|
866
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
867
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
880
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
881
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminModule, imports: [PaymentAdminRoutingModule,
|
|
868
882
|
PaymentPlansModule,
|
|
869
883
|
GatewayPlansModule,
|
|
870
884
|
RequestsModule,
|
|
871
885
|
ProductsModule] }); }
|
|
872
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
886
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminModule, imports: [PaymentAdminRoutingModule,
|
|
873
887
|
PaymentPlansModule,
|
|
874
888
|
GatewayPlansModule,
|
|
875
889
|
RequestsModule,
|
|
876
890
|
ProductsModule] }); }
|
|
877
891
|
}
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: PaymentAdminModule, decorators: [{
|
|
879
893
|
type: NgModule,
|
|
880
894
|
args: [{
|
|
881
895
|
imports: [
|